@luck-design-biz/luckda 0.0.25-2 → 0.0.25-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/es/lowcode/engine/factory/panel-item-factory/StringStrategy.js +1 -1
  2. package/es/lowcode/painter/panel-section/StylePanel/StyleContext.js +1 -1
  3. package/es/lowcode/view/lc-components/Box/FunctionLive.js +1 -0
  4. package/es/lowcode/view/lc-components/Box/FunctionPreview.js +1 -0
  5. package/es/lowcode/view/lc-components/CardList/FunctionDesign.js +1 -0
  6. package/es/lowcode/view/lc-components/CardList/FunctionLive.js +1 -0
  7. package/es/lowcode/view/lc-components/CardList/FunctionPreview.js +1 -0
  8. package/es/lowcode/view/lc-components/Dialog/FunctionLive.js +1 -0
  9. package/es/lowcode/view/lc-components/Dialog/FunctionPreview.js +1 -0
  10. package/es/lowcode/view/lc-components/Drawer/FunctionDesign.js +1 -0
  11. package/es/lowcode/view/lc-components/Drawer/FunctionLive.js +1 -0
  12. package/es/lowcode/view/lc-components/Drawer/FunctionPreview.js +1 -0
  13. package/es/lowcode/view/lc-components/Form/FunctionLive.js +1 -0
  14. package/es/lowcode/view/lc-components/Form/FunctionPreview.js +1 -0
  15. package/es/lowcode/view/lc-components/Iframe/FunctionDesign.js +1 -0
  16. package/es/lowcode/view/lc-components/Iframe/FunctionLive.js +1 -0
  17. package/es/lowcode/view/lc-components/Iframe/FunctionPreview.js +1 -0
  18. package/es/lowcode/view/lc-components/ImEx/FunctionDesign.js +1 -0
  19. package/es/lowcode/view/lc-components/ImEx/FunctionLive.js +1 -0
  20. package/es/lowcode/view/lc-components/ImEx/FunctionPreview.js +1 -0
  21. package/es/lowcode/view/lc-components/Image/FunctionDesign.js +1 -0
  22. package/es/lowcode/view/lc-components/Image/FunctionLive.js +1 -0
  23. package/es/lowcode/view/lc-components/Image/FunctionPreview.js +1 -0
  24. package/es/lowcode/view/lc-components/JSX/FunctionDesign.js +1 -0
  25. package/es/lowcode/view/lc-components/JSX/FunctionLive.js +1 -0
  26. package/es/lowcode/view/lc-components/JSX/FunctionPreview.js +1 -0
  27. package/es/lowcode/view/lc-components/Layout/FunctionPreview.js +1 -0
  28. package/es/lowcode/view/lc-components/Link/FunctionDesign.js +1 -0
  29. package/es/lowcode/view/lc-components/Link/FunctionLive.js +1 -0
  30. package/es/lowcode/view/lc-components/Link/FunctionPreview.js +1 -0
  31. package/es/lowcode/view/lc-components/Section/FunctionLive.js +1 -0
  32. package/es/lowcode/view/lc-components/Section/FunctionPreview.js +1 -0
  33. package/es/lowcode/view/lc-components/Split/FunctionLive.js +1 -0
  34. package/es/lowcode/view/lc-components/Split/FunctionPreview.js +1 -0
  35. package/es/lowcode/view/lc-components/Table/FunctionLive.js +1 -0
  36. package/es/lowcode/view/lc-components/Table/FunctionPreview.js +1 -0
  37. package/es/lowcode/view/lc-components/Text/FunctionDesign.js +1 -0
  38. package/es/lowcode/view/lc-components/Text/FunctionLive.js +1 -0
  39. package/es/lowcode/view/lc-components/Text/FunctionPreview.js +1 -0
  40. package/es/lowcode/view/lc-components/Tree/FunctionLive.js +1 -0
  41. package/es/lowcode/view/lc-components/Wrapper.js +1 -1
  42. package/lib/lowcode/engine/factory/panel-item-factory/StringStrategy.js +3 -2
  43. package/lib/lowcode/painter/panel-section/StylePanel/StyleContext.js +5 -4
  44. package/lib/lowcode/view/lc-components/Box/FunctionLive.js +2 -1
  45. package/lib/lowcode/view/lc-components/Box/FunctionPreview.js +2 -1
  46. package/lib/lowcode/view/lc-components/CardList/FunctionDesign.js +2 -1
  47. package/lib/lowcode/view/lc-components/CardList/FunctionLive.js +2 -1
  48. package/lib/lowcode/view/lc-components/CardList/FunctionPreview.js +2 -1
  49. package/lib/lowcode/view/lc-components/Dialog/FunctionLive.js +2 -1
  50. package/lib/lowcode/view/lc-components/Dialog/FunctionPreview.js +2 -1
  51. package/lib/lowcode/view/lc-components/Drawer/FunctionDesign.js +2 -1
  52. package/lib/lowcode/view/lc-components/Drawer/FunctionLive.js +2 -1
  53. package/lib/lowcode/view/lc-components/Drawer/FunctionPreview.js +2 -1
  54. package/lib/lowcode/view/lc-components/Form/FunctionLive.js +2 -1
  55. package/lib/lowcode/view/lc-components/Form/FunctionPreview.js +2 -1
  56. package/lib/lowcode/view/lc-components/Iframe/FunctionDesign.js +2 -1
  57. package/lib/lowcode/view/lc-components/Iframe/FunctionLive.js +2 -1
  58. package/lib/lowcode/view/lc-components/Iframe/FunctionPreview.js +2 -1
  59. package/lib/lowcode/view/lc-components/ImEx/FunctionDesign.js +2 -1
  60. package/lib/lowcode/view/lc-components/ImEx/FunctionLive.js +2 -1
  61. package/lib/lowcode/view/lc-components/ImEx/FunctionPreview.js +2 -1
  62. package/lib/lowcode/view/lc-components/Image/FunctionDesign.js +2 -1
  63. package/lib/lowcode/view/lc-components/Image/FunctionLive.js +2 -1
  64. package/lib/lowcode/view/lc-components/Image/FunctionPreview.js +2 -1
  65. package/lib/lowcode/view/lc-components/JSX/FunctionDesign.js +2 -1
  66. package/lib/lowcode/view/lc-components/JSX/FunctionLive.js +2 -1
  67. package/lib/lowcode/view/lc-components/JSX/FunctionPreview.js +2 -1
  68. package/lib/lowcode/view/lc-components/Layout/FunctionPreview.js +2 -1
  69. package/lib/lowcode/view/lc-components/Link/FunctionDesign.js +2 -1
  70. package/lib/lowcode/view/lc-components/Link/FunctionLive.js +2 -1
  71. package/lib/lowcode/view/lc-components/Link/FunctionPreview.js +2 -1
  72. package/lib/lowcode/view/lc-components/Section/FunctionLive.js +2 -1
  73. package/lib/lowcode/view/lc-components/Section/FunctionPreview.js +2 -1
  74. package/lib/lowcode/view/lc-components/Split/FunctionLive.js +2 -1
  75. package/lib/lowcode/view/lc-components/Split/FunctionPreview.js +2 -1
  76. package/lib/lowcode/view/lc-components/Table/FunctionLive.js +2 -1
  77. package/lib/lowcode/view/lc-components/Table/FunctionPreview.js +2 -1
  78. package/lib/lowcode/view/lc-components/Text/FunctionDesign.js +2 -1
  79. package/lib/lowcode/view/lc-components/Text/FunctionLive.js +2 -1
  80. package/lib/lowcode/view/lc-components/Text/FunctionPreview.js +2 -1
  81. package/lib/lowcode/view/lc-components/Tree/FunctionLive.js +2 -1
  82. package/lib/lowcode/view/lc-components/Wrapper.js +3 -2
  83. package/package.json +1 -1
@@ -3,7 +3,7 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
3
  import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
4
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
5
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
- import { useRef } from 'react';
6
+ import React, { useRef } from 'react';
7
7
  import { Input } from 'luck-design/antd';
8
8
  import { debounce } from 'lodash';
9
9
  import Strategy from "./Strategy";
@@ -1,7 +1,7 @@
1
1
  import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
- import { createContext, useContext, useReducer, useRef } from 'react';
4
+ import React, { createContext, useContext, useReducer, useRef } from 'react';
5
5
  import postcss from 'postcss';
6
6
  import { isNil } from 'lodash';
7
7
  import { useUpdateEffect } from 'ahooks';
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  var _excluded = ["children", "className", "show"];
5
+ import React from 'react';
5
6
  import Index from "./index";
6
7
  import classNames from 'classnames';
7
8
  import styles from "./index.less";
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var LayoutFunctionPreview = function LayoutFunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionDesign = function FunctionDesign(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionPreview = function FunctionPreview(_ref) {
5
6
  var children = _ref.children,
@@ -1,5 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  var _excluded = ["children"];
3
+ import React from 'react';
3
4
  import Index from "./index";
4
5
  var FunctionLive = function FunctionLive(_ref) {
5
6
  var children = _ref.children,
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
- import { useEffect } from 'react';
3
+ import React, { useEffect } from 'react';
4
4
  import { useLatest, useCreation } from 'ahooks';
5
5
  import { omit } from 'lodash';
6
6
  import { useContext, usePageData } from "../../engine/provider/ContextProvider";
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
@@ -10,7 +11,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
10
11
  var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
11
12
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
12
13
  var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
13
- var _react = require("react");
14
+ var _react = _interopRequireWildcard(require("react"));
14
15
  var _antd = require("luck-design/antd");
15
16
  var _lodash = require("lodash");
16
17
  var _Strategy2 = _interopRequireDefault(require("./Strategy"));
@@ -23,7 +24,7 @@ var StringComp = function StringComp(_ref) {
23
24
  var handleChange = (0, _react.useRef)((0, _lodash.debounce)(function (newValue) {
24
25
  onChange(newValue);
25
26
  }, 400));
26
- return /*#__PURE__*/React.createElement(_antd.Input, {
27
+ return /*#__PURE__*/_react.default.createElement(_antd.Input, {
27
28
  onChange: function onChange(e) {
28
29
  return handleChange.current(e.target.value);
29
30
  },
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
@@ -12,7 +13,7 @@ exports.useStyleDispatch = useStyleDispatch;
12
13
  var _createForOfIteratorHelper2 = _interopRequireDefault(require("@babel/runtime/helpers/createForOfIteratorHelper"));
13
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
15
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
15
- var _react = require("react");
16
+ var _react = _interopRequireWildcard(require("react"));
16
17
  var _postcss = _interopRequireDefault(require("postcss"));
17
18
  var _lodash = require("lodash");
18
19
  var _ahooks = require("ahooks");
@@ -66,11 +67,11 @@ function StyleProvider(_ref) {
66
67
  if (onChange) onChange(style, removeRootBrackets(css));
67
68
  }
68
69
  }, [style]);
69
- return /*#__PURE__*/React.createElement(StyleContext.Provider, {
70
+ return /*#__PURE__*/_react.default.createElement(StyleContext.Provider, {
70
71
  value: style
71
- }, /*#__PURE__*/React.createElement(EditorContext.Provider, {
72
+ }, /*#__PURE__*/_react.default.createElement(EditorContext.Provider, {
72
73
  value: editorRef
73
- }, /*#__PURE__*/React.createElement(StyleDispatchContext.Provider, {
74
+ }, /*#__PURE__*/_react.default.createElement(StyleDispatchContext.Provider, {
74
75
  value: dispatch
75
76
  }, children)));
76
77
  }
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -8,6 +8,7 @@ exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _react = _interopRequireDefault(require("react"));
11
12
  var _index = _interopRequireDefault(require("./index"));
12
13
  var _classnames = _interopRequireDefault(require("classnames"));
13
14
  var _index2 = _interopRequireDefault(require("./index.less"));
@@ -17,7 +18,7 @@ var FunctionDesign = function FunctionDesign(_ref) {
17
18
  className = _ref.className,
18
19
  show = _ref.show,
19
20
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
20
- return /*#__PURE__*/React.createElement(_index.default, (0, _extends2.default)({
21
+ return /*#__PURE__*/_react.default.createElement(_index.default, (0, _extends2.default)({
21
22
  className: (0, _classnames.default)(_index2.default['runtime-design'], (0, _defineProperty2.default)((0, _defineProperty2.default)({}, className, !!className), "hidden", !show)),
22
23
  getContainer: false,
23
24
  show: show,
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var LayoutFunctionPreview = function LayoutFunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = LayoutFunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionDesign = function FunctionDesign(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionDesign;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionPreview = function FunctionPreview(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionPreview;
@@ -6,11 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _react = _interopRequireDefault(require("react"));
9
10
  var _index = _interopRequireDefault(require("./index"));
10
11
  var _excluded = ["children"];
11
12
  var FunctionLive = function FunctionLive(_ref) {
12
13
  var children = _ref.children,
13
14
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
14
- return /*#__PURE__*/React.createElement(_index.default, props, children);
15
+ return /*#__PURE__*/_react.default.createElement(_index.default, props, children);
15
16
  };
16
17
  var _default = exports.default = FunctionLive;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
@@ -7,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
7
8
  exports.default = void 0;
8
9
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
- var _react = require("react");
11
+ var _react = _interopRequireWildcard(require("react"));
11
12
  var _ahooks = require("ahooks");
12
13
  var _lodash = require("lodash");
13
14
  var _ContextProvider = require("../../engine/provider/ContextProvider");
@@ -68,7 +69,7 @@ var LCWrapper = function LCWrapper(_ref) {
68
69
  };
69
70
  }, []);
70
71
  if (ctx.runtime === _constants.RUNTIME.DESIGN) {
71
- return /*#__PURE__*/React.createElement(_DragDropWrapper.default, {
72
+ return /*#__PURE__*/_react.default.createElement(_DragDropWrapper.default, {
72
73
  id: id,
73
74
  getTargetDom: getTargetDom
74
75
  }, children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "0.0.25-2",
3
+ "version": "0.0.25-4",
4
4
  "description": "前端配置管理中心业务组件库",
5
5
  "scripts": {
6
6
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",