not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
5.5 KiB

  1. var GUI =
  2. (window["webpackJsonpGUI"] = window["webpackJsonpGUI"] || []).push([["blocksonly"],{
  3. /***/ "./node_modules/css-loader/index.js?!./node_modules/postcss-loader/src/index.js?!./src/playground/blocks-only.css":
  4. /*!***********************************************************************************************************************!*\
  5. !*** ./node_modules/css-loader??ref--5-1!./node_modules/postcss-loader/src??postcss!./src/playground/blocks-only.css ***!
  6. \***********************************************************************************************************************/
  7. /*! no static exports found */
  8. /***/ (function(module, exports, __webpack_require__) {
  9. exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ "./node_modules/css-loader/lib/css-base.js")(false);
  10. // imports
  11. // module
  12. exports.push([module.i, ".blocks-only_controls_2GEvs {\n position: absolute;\n z-index: 2;\n top: 10px;\n right: 15px;\n}\n", ""]);
  13. // exports
  14. exports.locals = {
  15. "controls": "blocks-only_controls_2GEvs"
  16. };
  17. /***/ }),
  18. /***/ "./src/playground/blocks-only.css":
  19. /*!****************************************!*\
  20. !*** ./src/playground/blocks-only.css ***!
  21. \****************************************/
  22. /*! no static exports found */
  23. /***/ (function(module, exports, __webpack_require__) {
  24. var content = __webpack_require__(/*! !../../node_modules/css-loader??ref--5-1!../../node_modules/postcss-loader/src??postcss!./blocks-only.css */ "./node_modules/css-loader/index.js?!./node_modules/postcss-loader/src/index.js?!./src/playground/blocks-only.css");
  25. if(typeof content === 'string') content = [[module.i, content, '']];
  26. var transform;
  27. var insertInto;
  28. var options = {"hmr":true}
  29. options.transform = transform
  30. options.insertInto = undefined;
  31. var update = __webpack_require__(/*! ../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
  32. if(content.locals) module.exports = content.locals;
  33. if(false) {}
  34. /***/ }),
  35. /***/ "./src/playground/blocks-only.jsx":
  36. /*!****************************************!*\
  37. !*** ./src/playground/blocks-only.jsx ***!
  38. \****************************************/
  39. /*! no exports provided */
  40. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  41. "use strict";
  42. __webpack_require__.r(__webpack_exports__);
  43. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  44. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  45. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
  46. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);
  47. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-redux */ "./node_modules/react-redux/es/index.js");
  48. /* harmony import */ var _containers_controls_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../containers/controls.jsx */ "./src/containers/controls.jsx");
  49. /* harmony import */ var _containers_blocks_jsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../containers/blocks.jsx */ "./src/containers/blocks.jsx");
  50. /* harmony import */ var _containers_gui_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../containers/gui.jsx */ "./src/containers/gui.jsx");
  51. /* harmony import */ var _lib_hash_parser_hoc_jsx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../lib/hash-parser-hoc.jsx */ "./src/lib/hash-parser-hoc.jsx");
  52. /* harmony import */ var _lib_app_state_hoc_jsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../lib/app-state-hoc.jsx */ "./src/lib/app-state-hoc.jsx");
  53. /* harmony import */ var _blocks_only_css__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./blocks-only.css */ "./src/playground/blocks-only.css");
  54. /* harmony import */ var _blocks_only_css__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_blocks_only_css__WEBPACK_IMPORTED_MODULE_8__);
  55. var mapStateToProps = function mapStateToProps(state) {
  56. return {
  57. vm: state.scratchGui.vm
  58. };
  59. };
  60. var VMBlocks = Object(react_redux__WEBPACK_IMPORTED_MODULE_2__["connect"])(mapStateToProps)(_containers_blocks_jsx__WEBPACK_IMPORTED_MODULE_4__["default"]);
  61. var VMControls = Object(react_redux__WEBPACK_IMPORTED_MODULE_2__["connect"])(mapStateToProps)(_containers_controls_jsx__WEBPACK_IMPORTED_MODULE_3__["default"]);
  62. var BlocksOnly = function BlocksOnly(props) {
  63. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_containers_gui_jsx__WEBPACK_IMPORTED_MODULE_5__["default"], props, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(VMBlocks, {
  64. grow: 1,
  65. options: {
  66. media: "static/blocks-media/"
  67. }
  68. }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(VMControls, {
  69. className: _blocks_only_css__WEBPACK_IMPORTED_MODULE_8___default.a.controls
  70. }));
  71. };
  72. var App = Object(_lib_app_state_hoc_jsx__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_lib_hash_parser_hoc_jsx__WEBPACK_IMPORTED_MODULE_6__["default"])(BlocksOnly));
  73. var appTarget = document.createElement('div');
  74. document.body.appendChild(appTarget);
  75. react_dom__WEBPACK_IMPORTED_MODULE_1___default.a.render(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(App, null), appTarget);
  76. /***/ })
  77. },[["./src/playground/blocks-only.jsx","lib.min"]]]);
  78. //# sourceMappingURL=blocksonly.js.map