ronds-metadata 1.3.55 → 1.3.56

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 (121) hide show
  1. package/README.md +25 -25
  2. package/es/api/index.js +6 -4
  3. package/es/comps/CodeEdit/index.d.ts +2 -1
  4. package/es/comps/DataMine/Line.d.ts +2 -1
  5. package/es/comps/DataMine/Line.js +0 -1
  6. package/es/comps/DataMine/index.d.ts +2 -1
  7. package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
  8. package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
  9. package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
  10. package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +2 -1
  11. package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +2 -1
  12. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
  13. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
  14. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +2 -1
  15. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
  16. package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
  17. package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
  18. package/es/comps/DynamicPorts/comps/shape/node.js +8 -9
  19. package/es/comps/DynamicPorts/graph.js +5 -4
  20. package/es/comps/DynamicPorts/index.d.ts +2 -1
  21. package/es/comps/DynamicPorts/index.less +307 -307
  22. package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
  23. package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
  24. package/es/comps/Editable/DataCell/Input.d.ts +1 -1
  25. package/es/comps/Editable/DataCell/Number.d.ts +1 -1
  26. package/es/comps/Editable/DataCell/Select.d.ts +1 -1
  27. package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
  28. package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
  29. package/es/comps/Editable/comps/EditableAction.d.ts +2 -1
  30. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  31. package/es/comps/Editable/comps/Texty.js +5 -4
  32. package/es/comps/Editable/comps/Texty.less +43 -43
  33. package/es/comps/Editable/comps/index.less +38 -38
  34. package/es/comps/Editable/index.d.ts +2 -1
  35. package/es/comps/Editable/index.less +97 -97
  36. package/es/comps/Editable/utils.d.ts +2 -1
  37. package/es/comps/FileView/index.d.ts +2 -1
  38. package/es/comps/FileView/index.js +2 -3
  39. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +2 -1
  40. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +2 -1
  41. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  42. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  43. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  44. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +2 -1
  45. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +2 -1
  46. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  47. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  48. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +2 -1
  49. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  50. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +2 -1
  51. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +2 -1
  52. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  53. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +2 -1
  54. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  55. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  56. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +2 -1
  57. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +2 -1
  58. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  59. package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
  60. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +2 -1
  61. package/es/comps/FormGenerator/comps/Settings/index.d.ts +2 -1
  62. package/es/comps/FormGenerator/comps/Settings/index.js +1 -2
  63. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  64. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  65. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +2 -1
  66. package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
  67. package/es/comps/FormGenerator/index.d.ts +2 -1
  68. package/es/comps/FormGenerator/index.less +20 -20
  69. package/es/comps/JsonEdit/index.d.ts +2 -1
  70. package/es/comps/JsonEdit/index.js +0 -1
  71. package/es/comps/JsonEdit/index.less +64 -64
  72. package/es/comps/JsonView/index.d.ts +2 -1
  73. package/es/comps/MdEdit/index.d.ts +2 -1
  74. package/es/comps/MdEditPro/index.d.ts +2 -1
  75. package/es/comps/MdEditPro/index.less +166 -166
  76. package/es/comps/MdEditPro/index2.d.ts +1 -1
  77. package/es/comps/MdNavbar/index.d.ts +2 -1
  78. package/es/comps/MdNavbar/index.less +77 -77
  79. package/es/comps/MdView/index.d.ts +1 -1
  80. package/es/comps/MdView/index.less +376 -376
  81. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +2 -1
  82. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +2 -1
  83. package/es/comps/MetadataEdit/constant/index.js +0 -2
  84. package/es/comps/MetadataEdit/index.d.ts +2 -1
  85. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  86. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  87. package/es/comps/MetadataForm/DataCell/Input.js +15 -4
  88. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  89. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  90. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  91. package/es/comps/MetadataForm/DataCell/Select.js +6 -4
  92. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  93. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +2 -1
  94. package/es/comps/MetadataForm/DataCell/plugin/IconButton.d.ts +8 -0
  95. package/es/comps/MetadataForm/DataCell/plugin/IconButton.js +16 -0
  96. package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +12 -0
  97. package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +116 -0
  98. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +2 -1
  99. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +1 -2
  100. package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +2 -1
  101. package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.js +3 -2
  102. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +11 -0
  103. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +249 -0
  104. package/es/comps/MetadataForm/HOC/index.d.ts +2 -1
  105. package/es/comps/MetadataForm/index.d.ts +2 -1
  106. package/es/comps/MetadataForm/index.less +26 -26
  107. package/es/comps/MetadataForm/utils.d.ts +3 -2
  108. package/es/comps/Split/index.d.ts +1 -1
  109. package/es/comps/Split/index.less +29 -29
  110. package/es/framework/RxStore/demo/index.d.ts +2 -1
  111. package/es/framework/graph/index.less +15 -15
  112. package/es/framework/http/msgpack5/lib/helpers.js +0 -1
  113. package/es/framework/libs/iconfont/iconfont.css +323 -323
  114. package/es/framework/libs/iconfont/iconfont.json +548 -548
  115. package/es/framework/libs/jquery.min.js +4 -4
  116. package/es/framework/locale/dil8/di18n.js +5 -3
  117. package/es/framework/metadata/MetadataService.js +14 -14
  118. package/es/framework/metadata/index.js +14 -15
  119. package/es/framework/metadata/types.d.ts +103 -103
  120. package/es/theme.less +81 -81
  121. package/package.json +1 -1
@@ -3,9 +3,12 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
4
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
5
5
  import _createClass from "@babel/runtime/helpers/esm/createClass";
6
+ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
7
+ import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
8
+ import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
6
9
  import _inherits from "@babel/runtime/helpers/esm/inherits";
7
- import _createSuper from "@babel/runtime/helpers/esm/createSuper";
8
10
  var _excluded = ["tagName", "children", "placement", "innerRef", "showDelay", "hideDelay", "tooltip", "tooltipClassName", "tooltipStyle", "tooltipMaxWidth", "hideArrow", "container"];
11
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
9
12
  import React from 'react';
10
13
  import ReactDom from 'react-dom';
11
14
  import { Popper } from 'react-popper';
@@ -22,14 +25,13 @@ var modifiers = [{
22
25
  */
23
26
  var Texty = /*#__PURE__*/function (_React$PureComponent) {
24
27
  _inherits(Texty, _React$PureComponent);
25
- var _super = _createSuper(Texty);
26
28
  function Texty() {
27
29
  var _this;
28
30
  _classCallCheck(this, Texty);
29
31
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
30
32
  args[_key] = arguments[_key];
31
33
  }
32
- _this = _super.call.apply(_super, [this].concat(args));
34
+ _this = _callSuper(this, Texty, [].concat(args));
33
35
  _this.state = {
34
36
  isHovered: false
35
37
  };
@@ -188,7 +190,6 @@ var Texty = /*#__PURE__*/function (_React$PureComponent) {
188
190
  return null;
189
191
  // return <Tag { ...rest } ref={ this.setTargetRef } data-texty={ false } />;
190
192
  }
191
-
192
193
  var target = this.targetNode;
193
194
  var isTruncated = !!target && target.scrollWidth > target.offsetWidth;
194
195
  var showTooltip = this.state.isHovered && isTruncated;
@@ -1,43 +1,43 @@
1
- [data-texty] {
2
- width: 100%;
3
- display: block;
4
- overflow: hidden;
5
- text-overflow: ellipsis;
6
- white-space: nowrap;
7
- }
8
-
9
- [data-texty-tooltip] {
10
- padding: 4px 10px;
11
- border-radius: 4px;
12
- background-color: #222;
13
- color: #fff;
14
- z-index: 99999;
15
- }
16
-
17
- [data-texty-arrow] {
18
- position: absolute;
19
- bottom: -6px;
20
- width: 0;
21
- height: 0;
22
- border-style: solid;
23
- border-width: 6px 6px 0;
24
- border-color: #222 transparent transparent;
25
- }
26
-
27
- [data-texty-arrow*='bottom'] {
28
- top: -6px;
29
- bottom: inherit;
30
- transform: rotate(180deg);
31
- }
32
-
33
- /* disable the builtin tooltip for truncated text on Safari */
34
- @media screen and (-webkit-min-device-pixel-ratio: 0) {
35
- @supports (not (-ms-ime-align: auto)) {
36
- .EllipsisText::before {
37
- content: '';
38
- display: block;
39
- width: 0;
40
- height: 0;
41
- }
42
- }
43
- }
1
+ [data-texty] {
2
+ width: 100%;
3
+ display: block;
4
+ overflow: hidden;
5
+ text-overflow: ellipsis;
6
+ white-space: nowrap;
7
+ }
8
+
9
+ [data-texty-tooltip] {
10
+ padding: 4px 10px;
11
+ border-radius: 4px;
12
+ background-color: #222;
13
+ color: #fff;
14
+ z-index: 99999;
15
+ }
16
+
17
+ [data-texty-arrow] {
18
+ position: absolute;
19
+ bottom: -6px;
20
+ width: 0;
21
+ height: 0;
22
+ border-style: solid;
23
+ border-width: 6px 6px 0;
24
+ border-color: #222 transparent transparent;
25
+ }
26
+
27
+ [data-texty-arrow*='bottom'] {
28
+ top: -6px;
29
+ bottom: inherit;
30
+ transform: rotate(180deg);
31
+ }
32
+
33
+ /* disable the builtin tooltip for truncated text on Safari */
34
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
35
+ @supports (not (-ms-ime-align: auto)) {
36
+ .EllipsisText::before {
37
+ content: '';
38
+ display: block;
39
+ width: 0;
40
+ height: 0;
41
+ }
42
+ }
43
+ }
@@ -1,38 +1,38 @@
1
- .ant-table-th {
2
- position: relative;
3
- }
4
-
5
- .editable-th-hover-add {
6
- position: absolute;
7
- right: -3px;
8
- top: -8px;
9
- }
10
- .editable-th-hover-delete {
11
- position: absolute;
12
- right: 15px;
13
- top: -8px;
14
- }
15
-
16
- .display-none {
17
- display: none;
18
- }
19
-
20
- .border-right {
21
- border-right: 1px solid var(--antd-wave-shadow-color) !important;
22
- }
23
-
24
- .border-top {
25
- border-top: 1px solid var(--antd-wave-shadow-color) !important;
26
- }
27
-
28
- .font-bold {
29
- font-weight: bold;
30
- }
31
-
32
- .drop-over-downward td {
33
- border-bottom: 2px dashed #1890ff !important;
34
- }
35
-
36
- .drop-over-upward td {
37
- border-top: 2px dashed #1890ff !important;
38
- }
1
+ .ant-table-th {
2
+ position: relative;
3
+ }
4
+
5
+ .editable-th-hover-add {
6
+ position: absolute;
7
+ right: -3px;
8
+ top: -8px;
9
+ }
10
+ .editable-th-hover-delete {
11
+ position: absolute;
12
+ right: 15px;
13
+ top: -8px;
14
+ }
15
+
16
+ .display-none {
17
+ display: none;
18
+ }
19
+
20
+ .border-right {
21
+ border-right: 1px solid var(--antd-wave-shadow-color) !important;
22
+ }
23
+
24
+ .border-top {
25
+ border-top: 1px solid var(--antd-wave-shadow-color) !important;
26
+ }
27
+
28
+ .font-bold {
29
+ font-weight: bold;
30
+ }
31
+
32
+ .drop-over-downward td {
33
+ border-bottom: 2px dashed #1890ff !important;
34
+ }
35
+
36
+ .drop-over-upward td {
37
+ border-top: 2px dashed #1890ff !important;
38
+ }
@@ -1,4 +1,5 @@
1
1
  import { TableProps } from 'antd';
2
+ import React from 'react';
2
3
  import { BehaviorSubject } from 'rxjs';
3
4
  import { EditColumnsType, IEditableStream } from './interface';
4
5
  import './index.less';
@@ -74,5 +75,5 @@ interface IEditableProps<R = any> {
74
75
  */
75
76
  getStreamInstance?: (subject: BehaviorSubject<IEditableStream | undefined>) => void;
76
77
  }
77
- declare const Editable: (props: IEditableProps) => JSX.Element;
78
+ declare const Editable: (props: IEditableProps) => React.JSX.Element;
78
79
  export default Editable;
@@ -1,97 +1,97 @@
1
- .ronds-edit-table {
2
- // table {
3
- // border-collapse: collapse !important;
4
- // }
5
- width: 100%;
6
- height: 100%;
7
-
8
- .ant-table-body {
9
- overflow: auto !important;
10
- }
11
-
12
- //解决固定列底部预留的空隙
13
- .ant-table-fixed-left,
14
- .ant-table-fixed-right {
15
- .ant-table-body-outer {
16
- margin-bottom: 0 !important;
17
- }
18
- .ant-table-cell-scrollbar {
19
- margin: 0 !important;
20
- padding: 0 !important;
21
- }
22
- }
23
-
24
- .ant-spin-nested-loading,
25
- .ant-spin-container,
26
- .ant-table,
27
- .ant-table-container,
28
- .ant-table-content {
29
- width: 100%;
30
- height: 100%;
31
- }
32
-
33
- .ant-table-cell,
34
- .ant-table-row {
35
- height: 30px;
36
- padding: 0px 8px !important;
37
- }
38
-
39
- .ant-table-body {
40
- height: 100%;
41
- overflow-y: auto !important;
42
- }
43
-
44
- .ant-table.ant-table-small .ant-table-thead > tr > th {
45
- padding: 8px !important;
46
- background-color: #ebebeb;
47
- border-right: 1px solid #f2f2f2;
48
- }
49
-
50
- .ant-table-fixed {
51
- table-layout: fixed;
52
- }
53
-
54
- .ant-table-tbody > tr > td {
55
- word-wrap: break-word;
56
- word-break: break-all;
57
- }
58
-
59
- .ant-table.ant-table-bordered > .ant-table-container {
60
- border-bottom: 1px solid #f0f0f0;
61
- }
62
-
63
- .ant-table .ant-table-expanded-row-fixed {
64
- padding: 0% !important;
65
- margin: 0% !important;
66
- }
67
-
68
- .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {
69
- border-right: 0 !important;
70
- }
71
- }
72
-
73
- .ronds-metadata-normal {
74
- .ant-table {
75
- border-right: 1px solid #f0f0f0 !important;
76
-
77
- .ant-table-row--odd {
78
- background-color: #ebebeb !important;
79
- .ant-table-cell {
80
- background-color: #ebebeb !important;
81
- }
82
- }
83
-
84
- .ant-table-expanded-row-fixed::after {
85
- border: 0 !important;
86
- }
87
-
88
- .ant-table-placeholder {
89
- pointer-events: none;
90
- background-color: #fff !important;
91
- .ant-table-cell {
92
- padding: 0 !important;
93
- background-color: #fff !important;
94
- }
95
- }
96
- }
97
- }
1
+ .ronds-edit-table {
2
+ // table {
3
+ // border-collapse: collapse !important;
4
+ // }
5
+ width: 100%;
6
+ height: 100%;
7
+
8
+ .ant-table-body {
9
+ overflow: auto !important;
10
+ }
11
+
12
+ //解决固定列底部预留的空隙
13
+ .ant-table-fixed-left,
14
+ .ant-table-fixed-right {
15
+ .ant-table-body-outer {
16
+ margin-bottom: 0 !important;
17
+ }
18
+ .ant-table-cell-scrollbar {
19
+ margin: 0 !important;
20
+ padding: 0 !important;
21
+ }
22
+ }
23
+
24
+ .ant-spin-nested-loading,
25
+ .ant-spin-container,
26
+ .ant-table,
27
+ .ant-table-container,
28
+ .ant-table-content {
29
+ width: 100%;
30
+ height: 100%;
31
+ }
32
+
33
+ .ant-table-cell,
34
+ .ant-table-row {
35
+ height: 30px;
36
+ padding: 0px 8px !important;
37
+ }
38
+
39
+ .ant-table-body {
40
+ height: 100%;
41
+ overflow-y: auto !important;
42
+ }
43
+
44
+ .ant-table.ant-table-small .ant-table-thead > tr > th {
45
+ padding: 8px !important;
46
+ background-color: #ebebeb;
47
+ border-right: 1px solid #f2f2f2;
48
+ }
49
+
50
+ .ant-table-fixed {
51
+ table-layout: fixed;
52
+ }
53
+
54
+ .ant-table-tbody > tr > td {
55
+ word-wrap: break-word;
56
+ word-break: break-all;
57
+ }
58
+
59
+ .ant-table.ant-table-bordered > .ant-table-container {
60
+ border-bottom: 1px solid #f0f0f0;
61
+ }
62
+
63
+ .ant-table .ant-table-expanded-row-fixed {
64
+ padding: 0% !important;
65
+ margin: 0% !important;
66
+ }
67
+
68
+ .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {
69
+ border-right: 0 !important;
70
+ }
71
+ }
72
+
73
+ .ronds-metadata-normal {
74
+ .ant-table {
75
+ border-right: 1px solid #f0f0f0 !important;
76
+
77
+ .ant-table-row--odd {
78
+ background-color: #ebebeb !important;
79
+ .ant-table-cell {
80
+ background-color: #ebebeb !important;
81
+ }
82
+ }
83
+
84
+ .ant-table-expanded-row-fixed::after {
85
+ border: 0 !important;
86
+ }
87
+
88
+ .ant-table-placeholder {
89
+ pointer-events: none;
90
+ background-color: #fff !important;
91
+ .ant-table-cell {
92
+ padding: 0 !important;
93
+ background-color: #fff !important;
94
+ }
95
+ }
96
+ }
97
+ }
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { EditableCellProps } from './interface';
2
- export declare function getDataCell(item: EditableCellProps): JSX.Element;
3
+ export declare function getDataCell(item: EditableCellProps): React.JSX.Element;
3
4
  export declare function isFreeEditRow(curRow: any, rowIndex: number): boolean;
4
5
  export declare function isFreeEditCell(editCellKey: any, dataIndex: string, rowIndex: number): boolean;
5
6
  export declare function isCellDisabled(record: any, cellDisabled?: string): boolean;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface IFileViewProps {
2
3
  /**
3
4
  * 文件远程链接
@@ -16,5 +17,5 @@ interface IFileViewProps {
16
17
  */
17
18
  limit?: number;
18
19
  }
19
- declare const FileView: (props: IFileViewProps) => JSX.Element;
20
+ declare const FileView: (props: IFileViewProps) => React.JSX.Element;
20
21
  export default FileView;
@@ -40,11 +40,10 @@ var FileView = function FileView(props) {
40
40
  return data[i][it];
41
41
  });
42
42
  _value.push(arr);
43
- if (i === limit - 1) return "break";
43
+ if (i === limit - 1) return 1; // break
44
44
  };
45
45
  for (var i = 0; i < data.length; i++) {
46
- var _ret = _loop(i);
47
- if (_ret === "break") break;
46
+ if (_loop(i)) break;
48
47
  }
49
48
  setValue([].concat(_value));
50
49
  firstLoadRef.current = false;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  interface IPreviewProps {
2
3
  schema: any[];
3
4
  }
4
- declare const Preview: (props: IPreviewProps) => JSX.Element;
5
+ declare const Preview: (props: IPreviewProps) => React.JSX.Element;
5
6
  export default Preview;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const _default: (props: any) => React.JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props: any) => JSX.Element;
1
+ declare const _default: (props: any) => import("react").JSX.Element;
2
2
  export default _default;
@@ -1 +1,2 @@
1
- export declare function withFieldCellWrapper(WrappedComponent: any): (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare function withFieldCellWrapper(WrappedComponent: any): (props: any) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { FG } from '../../../../interface';
2
+ import React from 'react';
2
3
  interface IRenderFieldProps {
3
4
  data: FG.Node;
4
5
  /**
@@ -7,5 +8,5 @@ interface IRenderFieldProps {
7
8
  refId?: string;
8
9
  isShowAction?: boolean;
9
10
  }
10
- declare const RenderField: (props: IRenderFieldProps) => JSX.Element;
11
+ declare const RenderField: (props: IRenderFieldProps) => React.JSX.Element;
11
12
  export default RenderField;
@@ -17,5 +17,5 @@ interface ICanvasCoreProps {
17
17
  */
18
18
  onChange?: (nodes: FG.Node[]) => void;
19
19
  }
20
- declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => JSX.Element>;
20
+ declare const _default: React.MemoExoticComponent<(props: ICanvasCoreProps) => React.JSX.Element>;
21
21
  export default _default;
@@ -1,23 +1,23 @@
1
- .canvas-wrapper {
2
- .drag-item {
3
- position: relative;
4
- border: 1px dashed var(--ronds-metadata-color-border-1);
5
- background: var(--ronds-metadata-color-bg-2);
6
- margin-bottom: 8px;
7
- }
8
-
9
- .drag-item-selected {
10
- border: 1px solid var(--ronds-metadata-color-border-2);
11
- }
12
-
13
- .ant-form-item {
14
- margin-bottom: '4px' !important;
15
- }
16
- .ant-form-item-label {
17
- padding: 0 0 2px !important;
18
- }
19
- .ant-input-number,
20
- .ant-picker {
21
- width: 100%;
22
- }
23
- }
1
+ .canvas-wrapper {
2
+ .drag-item {
3
+ position: relative;
4
+ border: 1px dashed var(--ronds-metadata-color-border-1);
5
+ background: var(--ronds-metadata-color-bg-2);
6
+ margin-bottom: 8px;
7
+ }
8
+
9
+ .drag-item-selected {
10
+ border: 1px solid var(--ronds-metadata-color-border-2);
11
+ }
12
+
13
+ .ant-form-item {
14
+ margin-bottom: '4px' !important;
15
+ }
16
+ .ant-form-item-label {
17
+ padding: 0 0 2px !important;
18
+ }
19
+ .ant-input-number,
20
+ .ant-picker {
21
+ width: 100%;
22
+ }
23
+ }
@@ -1,2 +1,3 @@
1
- declare const Canvas: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const Canvas: () => React.JSX.Element;
2
3
  export default Canvas;
@@ -1,2 +1,3 @@
1
- declare const Settings: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const Settings: () => React.JSX.Element;
2
3
  export default Settings;
@@ -84,7 +84,6 @@ var Settings = function Settings() {
84
84
  setCurTab(key);
85
85
  };
86
86
  var _onValuesChange = function onValuesChange(id, val, allVals) {
87
- var _payload;
88
87
  var _settingValue = settingValueRef.current;
89
88
  if (refIdRef.current && id !== formSetting.id) {
90
89
  var _key = "".concat(refIdRef.current, "_ref");
@@ -96,7 +95,7 @@ var Settings = function Settings() {
96
95
  settingValueRef.current = _settingValue;
97
96
  fGCtx.fgStream && fGCtx.fgStream.next({
98
97
  type: streamEventType.onSettingValueChange,
99
- payload: (_payload = {}, _defineProperty(_payload, id, allVals), _defineProperty(_payload, "allSetting", settingValueRef.current), _defineProperty(_payload, "refId", refIdRef.current), _payload)
98
+ payload: _defineProperty(_defineProperty(_defineProperty({}, id, allVals), "allSetting", settingValueRef.current), "refId", refIdRef.current)
100
99
  });
101
100
  };
102
101
  return /*#__PURE__*/React.createElement("div", {