@pisell/materials 1.0.606 → 1.0.607

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 (107) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +154 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +37 -23
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +38 -24
  11. package/es/components/Pagination/index.d.ts +1 -1
  12. package/es/components/appVersionControl/index.less +3 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  14. package/es/components/dataSourceComponents/fields/index.d.ts +1 -1
  15. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +3 -0
  16. package/es/components/pisellDraggable/components/Action/Action.d.ts +10 -0
  17. package/es/components/pisellDraggable/components/Action/Action.js +31 -0
  18. package/es/components/pisellDraggable/components/Action/Action.less +50 -0
  19. package/es/components/pisellDraggable/components/Action/index.d.ts +2 -0
  20. package/es/components/pisellDraggable/components/Action/index.js +1 -0
  21. package/es/components/pisellDraggable/components/Handle/Handle.d.ts +3 -0
  22. package/es/components/pisellDraggable/components/Handle/Handle.js +15 -0
  23. package/es/components/pisellDraggable/components/Handle/index.d.ts +1 -0
  24. package/es/components/pisellDraggable/components/Handle/index.js +1 -0
  25. package/es/components/pisellDraggable/components/Remove/Remove.d.ts +3 -0
  26. package/es/components/pisellDraggable/components/Remove/Remove.js +17 -0
  27. package/es/components/pisellDraggable/components/Remove/index.d.ts +1 -0
  28. package/es/components/pisellDraggable/components/Remove/index.js +1 -0
  29. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +8 -0
  30. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +51 -0
  31. package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +21 -0
  32. package/es/components/pisellDraggable/components/TreeItem/TreeItem.js +57 -0
  33. package/es/components/pisellDraggable/components/TreeItem/TreeItem.less +128 -0
  34. package/es/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  35. package/es/components/pisellDraggable/components/TreeItem/index.js +2 -0
  36. package/es/components/pisellDraggable/components/index.d.ts +4 -0
  37. package/es/components/pisellDraggable/components/index.js +4 -0
  38. package/es/components/pisellDraggable/index.d.ts +27 -3
  39. package/es/components/pisellDraggable/index.js +380 -2
  40. package/es/components/pisellDraggable/types.d.ts +15 -99
  41. package/es/components/pisellDraggable/utilities.d.ts +17 -0
  42. package/es/components/pisellDraggable/utilities.js +230 -0
  43. package/es/components/pisellModal/components/Information/index.js +0 -1
  44. package/es/components/table/Table/utils.d.ts +1 -1
  45. package/es/components/versionModal/index.js +3 -1
  46. package/es/components/versionModal/index.less +9 -2
  47. package/es/locales/en-US.d.ts +6 -6
  48. package/es/locales/en-US.js +16 -22
  49. package/es/locales/zh-CN.d.ts +6 -6
  50. package/es/locales/zh-CN.js +15 -21
  51. package/es/locales/zh-TW.d.ts +6 -6
  52. package/es/locales/zh-TW.js +17 -23
  53. package/lib/components/Pagination/index.d.ts +1 -1
  54. package/lib/components/appVersionControl/index.less +3 -0
  55. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  56. package/lib/components/dataSourceComponents/fields/index.d.ts +1 -1
  57. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +3 -0
  58. package/lib/components/pisellDraggable/components/Action/Action.d.ts +10 -0
  59. package/lib/components/pisellDraggable/components/Action/Action.js +60 -0
  60. package/lib/components/pisellDraggable/components/Action/Action.less +50 -0
  61. package/lib/components/pisellDraggable/components/Action/index.d.ts +2 -0
  62. package/lib/components/pisellDraggable/components/Action/index.js +29 -0
  63. package/lib/components/pisellDraggable/components/Handle/Handle.d.ts +3 -0
  64. package/lib/components/pisellDraggable/components/Handle/Handle.js +54 -0
  65. package/lib/components/pisellDraggable/components/Handle/index.d.ts +1 -0
  66. package/lib/components/pisellDraggable/components/Handle/index.js +29 -0
  67. package/lib/components/pisellDraggable/components/Remove/Remove.d.ts +3 -0
  68. package/lib/components/pisellDraggable/components/Remove/Remove.js +53 -0
  69. package/lib/components/pisellDraggable/components/Remove/index.d.ts +1 -0
  70. package/lib/components/pisellDraggable/components/Remove/index.js +29 -0
  71. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +8 -0
  72. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +83 -0
  73. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +21 -0
  74. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.js +93 -0
  75. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.less +128 -0
  76. package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  77. package/lib/components/pisellDraggable/components/TreeItem/index.js +32 -0
  78. package/lib/components/pisellDraggable/components/index.d.ts +4 -0
  79. package/lib/components/pisellDraggable/components/index.js +40 -0
  80. package/lib/components/pisellDraggable/index.d.ts +27 -3
  81. package/lib/components/pisellDraggable/index.js +237 -2
  82. package/lib/components/pisellDraggable/types.d.ts +15 -99
  83. package/lib/components/pisellDraggable/utilities.d.ts +17 -0
  84. package/lib/components/pisellDraggable/utilities.js +190 -0
  85. package/lib/components/pisellModal/components/Information/index.js +0 -1
  86. package/lib/components/table/Table/utils.d.ts +1 -1
  87. package/lib/components/versionModal/index.js +1 -1
  88. package/lib/components/versionModal/index.less +9 -2
  89. package/lib/locales/en-US.d.ts +6 -6
  90. package/lib/locales/en-US.js +8 -0
  91. package/lib/locales/zh-CN.d.ts +6 -6
  92. package/lib/locales/zh-CN.js +7 -0
  93. package/lib/locales/zh-TW.d.ts +6 -6
  94. package/lib/locales/zh-TW.js +7 -0
  95. package/lowcode/custom-select/meta.ts +11 -15
  96. package/lowcode/form-item-translation/meta.ts +59 -1
  97. package/package.json +2 -2
  98. package/es/components/pisellDraggable/PisellDraggable.d.ts +0 -18
  99. package/es/components/pisellDraggable/PisellDraggable.js +0 -190
  100. package/es/components/pisellDraggable/PisellDraggable.less +0 -154
  101. package/es/components/pisellDraggable/SortableItem.d.ts +0 -41
  102. package/es/components/pisellDraggable/SortableItem.js +0 -115
  103. package/lib/components/pisellDraggable/PisellDraggable.d.ts +0 -18
  104. package/lib/components/pisellDraggable/PisellDraggable.js +0 -175
  105. package/lib/components/pisellDraggable/PisellDraggable.less +0 -154
  106. package/lib/components/pisellDraggable/SortableItem.d.ts +0 -41
  107. package/lib/components/pisellDraggable/SortableItem.js +0 -127
@@ -0,0 +1,230 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
9
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
12
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
13
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
+ import { arrayMove } from '@dnd-kit/sortable';
15
+ export var iOS = /iPad|iPhone|iPod/.test(navigator.platform);
16
+ function getDragDepth(offset, indentationWidth) {
17
+ return Math.round(offset / indentationWidth);
18
+ }
19
+ export function getProjection(items, activeId, overId, dragOffset, indentationWidth) {
20
+ var overItemIndex = items.findIndex(function (_ref) {
21
+ var id = _ref.id;
22
+ return id === overId;
23
+ });
24
+ var activeItemIndex = items.findIndex(function (_ref2) {
25
+ var id = _ref2.id;
26
+ return id === activeId;
27
+ });
28
+ var activeItem = items[activeItemIndex];
29
+ var newItems = arrayMove(items, activeItemIndex, overItemIndex);
30
+ var previousItem = newItems[overItemIndex - 1];
31
+ var nextItem = newItems[overItemIndex + 1];
32
+ var dragDepth = getDragDepth(dragOffset, indentationWidth);
33
+ var projectedDepth = activeItem.depth + dragDepth;
34
+ var maxDepth = getMaxDepth({
35
+ previousItem: previousItem
36
+ });
37
+ var minDepth = getMinDepth({
38
+ nextItem: nextItem
39
+ });
40
+ var depth = projectedDepth;
41
+ if (projectedDepth >= maxDepth) {
42
+ depth = maxDepth;
43
+ } else if (projectedDepth < minDepth) {
44
+ depth = minDepth;
45
+ }
46
+ return {
47
+ depth: depth,
48
+ maxDepth: maxDepth,
49
+ minDepth: minDepth,
50
+ parentId: getParentId()
51
+ };
52
+ function getParentId() {
53
+ var _newItems$slice$rever;
54
+ if (depth === 0 || !previousItem) {
55
+ return null;
56
+ }
57
+ if (depth === previousItem.depth) {
58
+ return previousItem.parentId;
59
+ }
60
+ if (depth > previousItem.depth) {
61
+ return previousItem.id;
62
+ }
63
+ var newParent = (_newItems$slice$rever = newItems.slice(0, overItemIndex).reverse().find(function (item) {
64
+ return item.depth === depth;
65
+ })) === null || _newItems$slice$rever === void 0 ? void 0 : _newItems$slice$rever.parentId;
66
+ return newParent !== null && newParent !== void 0 ? newParent : null;
67
+ }
68
+ }
69
+ function getMaxDepth(_ref3) {
70
+ var previousItem = _ref3.previousItem;
71
+ if (previousItem) {
72
+ return previousItem.depth + 1;
73
+ }
74
+ return 0;
75
+ }
76
+ function getMinDepth(_ref4) {
77
+ var nextItem = _ref4.nextItem;
78
+ if (nextItem) {
79
+ return nextItem.depth;
80
+ }
81
+ return 0;
82
+ }
83
+ function flatten(items) {
84
+ var parentId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
85
+ var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
86
+ return items.reduce(function (acc, item, index) {
87
+ return [].concat(_toConsumableArray(acc), [_objectSpread(_objectSpread({}, item), {}, {
88
+ parentId: parentId,
89
+ depth: depth,
90
+ index: index
91
+ })], _toConsumableArray(flatten(item.children, item.id, depth + 1)));
92
+ }, []);
93
+ }
94
+ export function flattenTree(items) {
95
+ return flatten(items);
96
+ }
97
+ export function buildTree(flattenedItems) {
98
+ var root = {
99
+ id: 'root',
100
+ children: []
101
+ };
102
+ var nodes = _defineProperty({}, root.id, root);
103
+ var items = flattenedItems.map(function (item) {
104
+ return _objectSpread(_objectSpread({}, item), {}, {
105
+ children: []
106
+ });
107
+ });
108
+ var _iterator = _createForOfIteratorHelper(items),
109
+ _step;
110
+ try {
111
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
112
+ var _item$parentId, _nodes$parentId;
113
+ var item = _step.value;
114
+ var id = item.id,
115
+ children = item.children;
116
+ var parentId = (_item$parentId = item.parentId) !== null && _item$parentId !== void 0 ? _item$parentId : root.id;
117
+ var parent = (_nodes$parentId = nodes[parentId]) !== null && _nodes$parentId !== void 0 ? _nodes$parentId : findItem(items, parentId);
118
+ nodes[id] = {
119
+ id: id,
120
+ children: children
121
+ };
122
+ parent.children.push(item);
123
+ }
124
+ } catch (err) {
125
+ _iterator.e(err);
126
+ } finally {
127
+ _iterator.f();
128
+ }
129
+ return root.children;
130
+ }
131
+ export function findItem(items, itemId) {
132
+ return items.find(function (_ref5) {
133
+ var id = _ref5.id;
134
+ return id === itemId;
135
+ });
136
+ }
137
+ export function findItemDeep(items, itemId) {
138
+ var _iterator2 = _createForOfIteratorHelper(items),
139
+ _step2;
140
+ try {
141
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
142
+ var item = _step2.value;
143
+ var id = item.id,
144
+ children = item.children;
145
+ if (id === itemId) {
146
+ return item;
147
+ }
148
+ if (children.length) {
149
+ var child = findItemDeep(children, itemId);
150
+ if (child) {
151
+ return child;
152
+ }
153
+ }
154
+ }
155
+ } catch (err) {
156
+ _iterator2.e(err);
157
+ } finally {
158
+ _iterator2.f();
159
+ }
160
+ return undefined;
161
+ }
162
+ export function removeItem(items, id) {
163
+ var newItems = [];
164
+ var _iterator3 = _createForOfIteratorHelper(items),
165
+ _step3;
166
+ try {
167
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
168
+ var item = _step3.value;
169
+ if (item.id === id) {
170
+ continue;
171
+ }
172
+ if (item.children.length) {
173
+ item.children = removeItem(item.children, id);
174
+ }
175
+ newItems.push(item);
176
+ }
177
+ } catch (err) {
178
+ _iterator3.e(err);
179
+ } finally {
180
+ _iterator3.f();
181
+ }
182
+ return newItems;
183
+ }
184
+ export function setProperty(items, id, property, setter) {
185
+ var _iterator4 = _createForOfIteratorHelper(items),
186
+ _step4;
187
+ try {
188
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
189
+ var item = _step4.value;
190
+ if (item.id === id) {
191
+ item[property] = setter(item[property]);
192
+ continue;
193
+ }
194
+ if (item.children.length) {
195
+ item.children = setProperty(item.children, id, property, setter);
196
+ }
197
+ }
198
+ } catch (err) {
199
+ _iterator4.e(err);
200
+ } finally {
201
+ _iterator4.f();
202
+ }
203
+ return _toConsumableArray(items);
204
+ }
205
+ function countChildren(items) {
206
+ var count = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
207
+ return items.reduce(function (acc, _ref6) {
208
+ var children = _ref6.children;
209
+ if (children.length) {
210
+ return countChildren(children, acc + 1);
211
+ }
212
+ return acc + 1;
213
+ }, count);
214
+ }
215
+ export function getChildCount(items, id) {
216
+ var item = findItemDeep(items, id);
217
+ return item ? countChildren(item.children) : 0;
218
+ }
219
+ export function removeChildrenOf(items, ids) {
220
+ var excludeParentIds = _toConsumableArray(ids);
221
+ return items.filter(function (item) {
222
+ if (item.parentId && excludeParentIds.includes(item.parentId)) {
223
+ if (item.children.length) {
224
+ excludeParentIds.push(item.id);
225
+ }
226
+ return false;
227
+ }
228
+ return true;
229
+ });
230
+ }
@@ -14,7 +14,6 @@ var Information = function Information(props) {
14
14
  mobileModalHeight: "auto",
15
15
  headerDivider: false,
16
16
  footerDivider: footerDivider,
17
- size: "small",
18
17
  transitionName: "pisell-move-down"
19
18
  }), /*#__PURE__*/React.createElement("div", {
20
19
  className: "pisell-modal-information-title"
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
167
167
  sort?: SortType | undefined;
168
168
  mode: "" | "localStorage" | "remote";
169
169
  currentViewMode: ModeType;
170
- }) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
170
+ }) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
171
171
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
172
172
  export declare const stringify: (obj: Record<string, any>) => string;
173
173
  export {};
@@ -130,7 +130,9 @@ var PublishVersionModal = function PublishVersionModal(_ref) {
130
130
  layout: "vertical",
131
131
  preserve: false,
132
132
  className: "pisell-lowcode-version-modal-form"
133
- }, isShowCurrentVersion && /*#__PURE__*/React.createElement("p", null, getText('pisell-version-modal-current-version'), ": ", currentVersion), isShowBasedOn && /*#__PURE__*/React.createElement(Form.Item, {
133
+ }, isShowCurrentVersion && /*#__PURE__*/React.createElement("p", {
134
+ className: "pisell-lowcode-version-modal-current-version"
135
+ }, getText('pisell-version-modal-current-version'), ": ", currentVersion), isShowBasedOn && /*#__PURE__*/React.createElement(Form.Item, {
134
136
  label: getText('pisell-version-modal-based-on-version'),
135
137
  name: "baseVersion",
136
138
  initialValue: currentVersion,
@@ -1,3 +1,10 @@
1
1
  .pisell-lowcode-version-modal-form {
2
- padding: 24px 0 0 !important;
3
- }
2
+ padding: 16px 0 0 !important;
3
+ }
4
+
5
+ .pisell-lowcode-version-modal-current-version {
6
+ color: var(--Gray-500, #667085);
7
+ font-size: 16px;
8
+ font-weight: 400;
9
+ line-height: 24px; /* 150% */
10
+ }
@@ -190,12 +190,6 @@ declare const _default: {
190
190
  'pisell-version-modal-version-error': string;
191
191
  'pisell-version-modal-version-required': string;
192
192
  'pisell-version-modal-based-on-version': string;
193
- 'pisell-icon-select-outlined': string;
194
- 'pisell-icon-select-filled': string;
195
- 'pisell-icon-select-two-tone': string;
196
- 'pisell-icon-select-iconfont': string;
197
- 'pisell-icon-select-search': string;
198
- 'pisell-icon-select-select': string;
199
193
  'subdomain-error-too-short': string;
200
194
  'subdomain-error-too-long': string;
201
195
  'subdomain-error-pattern': string;
@@ -203,6 +197,12 @@ declare const _default: {
203
197
  'subdomain-error-hyphen-ends': string;
204
198
  'subdomain-error-consecutive-hyphens': string;
205
199
  'subdomain-error-required': string;
200
+ 'pisell-icon-select-outlined': string;
201
+ 'pisell-icon-select-filled': string;
202
+ 'pisell-icon-select-two-tone': string;
203
+ 'pisell-icon-select-iconfont': string;
204
+ 'pisell-icon-select-search': string;
205
+ 'pisell-icon-select-select': string;
206
206
  'pisell-lowcode-app-version-control-live': string;
207
207
  'pisell-lowcode-app-version-control-draft': string;
208
208
  'pisell-lowcode-app-version-control-deprecated': string;
@@ -1,4 +1,9 @@
1
- export default {
1
+ var _tableFilterSearch$;
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ export default (_tableFilterSearch$ = {
2
7
  "table-filter-search": "Search",
3
8
  "table-filter-clear": "Clear",
4
9
  "table-filter-filter": "Filter",
@@ -242,13 +247,6 @@ export default {
242
247
  'pisell-version-modal-version-error': 'Version number must be greater than the current version',
243
248
  'pisell-version-modal-version-required': 'Version number is required',
244
249
  'pisell-version-modal-based-on-version': 'Based on version',
245
- // 图标选择组件
246
- 'pisell-icon-select-outlined': 'Outlined',
247
- 'pisell-icon-select-filled': 'Filled',
248
- 'pisell-icon-select-two-tone': 'Two-tone',
249
- 'pisell-icon-select-iconfont': 'Iconfont',
250
- 'pisell-icon-select-search': 'Search icon',
251
- 'pisell-icon-select-select': 'Select icon',
252
250
  // 子域名校验错误
253
251
  'subdomain-error-too-short': 'Subdomain must be at least 2 characters long',
254
252
  'subdomain-error-too-long': 'Subdomain cannot exceed 60 characters',
@@ -257,17 +255,13 @@ export default {
257
255
  'subdomain-error-hyphen-ends': 'Subdomain cannot start or end with a hyphen',
258
256
  'subdomain-error-consecutive-hyphens': 'Subdomain cannot contain consecutive hyphens',
259
257
  'subdomain-error-required': 'Please enter subdomain',
260
- // 应用版本控制组件
261
- 'pisell-lowcode-app-version-control-live': 'Live',
262
- 'pisell-lowcode-app-version-control-draft': 'Draft',
263
- 'pisell-lowcode-app-version-control-deprecated': 'Deprecated',
264
- 'pisell-lowcode-app-version-control-new-version': 'New version',
265
- 'pisell-lowcode-app-version-control-promote-to-live': 'Promote to live',
266
- 'pisell-lowcode-app-version-control-promote-version': function pisellLowcodeAppVersionControlPromoteVersion(version) {
267
- return "Promote version ".concat(version || "", "?");
268
- },
269
- 'pisell-lowcode-app-version-control-promote-version-describe': 'Promoting this version will lock it further changes',
270
- 'pisell-lowcode-app-version-control-promote-version-ok': 'Promote',
271
- 'pisell-lowcode-app-version-control-promote-version-cancel': 'Cancel',
272
- 'pisell-lowcode-app-version-control-version-exists': 'Version already exists'
273
- };
258
+ // 图标选择组件
259
+ 'pisell-icon-select-outlined': 'Outlined',
260
+ 'pisell-icon-select-filled': 'Filled',
261
+ 'pisell-icon-select-two-tone': 'Two-tone',
262
+ 'pisell-icon-select-iconfont': 'Iconfont',
263
+ 'pisell-icon-select-search': 'Search icon',
264
+ 'pisell-icon-select-select': 'Select icon'
265
+ }, _defineProperty(_tableFilterSearch$, "subdomain-error-too-short", 'Subdomain must be at least 2 characters long'), _defineProperty(_tableFilterSearch$, "subdomain-error-too-long", 'Subdomain cannot exceed 60 characters'), _defineProperty(_tableFilterSearch$, "subdomain-error-pattern", 'Subdomain can only contain lowercase letters, numbers and hyphens'), _defineProperty(_tableFilterSearch$, "subdomain-error-numbers-only", 'Subdomain cannot contain only numbers'), _defineProperty(_tableFilterSearch$, "subdomain-error-hyphen-ends", 'Subdomain cannot start or end with a hyphen'), _defineProperty(_tableFilterSearch$, "subdomain-error-consecutive-hyphens", 'Subdomain cannot contain consecutive hyphens'), _defineProperty(_tableFilterSearch$, "subdomain-error-required", 'Please enter subdomain'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-live', 'Live'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-draft', 'Draft'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-deprecated', 'Deprecated'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', 'New version'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', 'Promote to live'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
266
+ return "Promote version ".concat(version || "", "?");
267
+ }), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-describe', 'Promoting this version will lock it further changes'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-ok', 'Promote'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-cancel', 'Cancel'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-version-exists', 'Version already exists'), _tableFilterSearch$);
@@ -190,18 +190,18 @@ declare const _default: {
190
190
  'pisell-version-modal-version-error': string;
191
191
  'pisell-version-modal-version-required': string;
192
192
  'pisell-version-modal-based-on-version': string;
193
- 'pisell-icon-select-outlined': string;
194
- 'pisell-icon-select-filled': string;
195
- 'pisell-icon-select-two-tone': string;
196
- 'pisell-icon-select-iconfont': string;
197
- 'pisell-icon-select-search': string;
198
- 'pisell-icon-select-select': string;
199
193
  'subdomain-error-too-short': string;
200
194
  'subdomain-error-too-long': string;
201
195
  'subdomain-error-pattern': string;
202
196
  'subdomain-error-numbers-only': string;
203
197
  'subdomain-error-hyphen-ends': string;
204
198
  'subdomain-error-consecutive-hyphens': string;
199
+ 'pisell-icon-select-outlined': string;
200
+ 'pisell-icon-select-filled': string;
201
+ 'pisell-icon-select-two-tone': string;
202
+ 'pisell-icon-select-iconfont': string;
203
+ 'pisell-icon-select-search': string;
204
+ 'pisell-icon-select-select': string;
205
205
  'pisell-lowcode-app-version-control-live': string;
206
206
  'pisell-lowcode-app-version-control-draft': string;
207
207
  'pisell-lowcode-app-version-control-deprecated': string;
@@ -1,4 +1,9 @@
1
- export default {
1
+ var _tableFilterSearch$;
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ export default (_tableFilterSearch$ = {
2
7
  "table-filter-search": "搜索",
3
8
  "table-filter-clear": "清除",
4
9
  "table-filter-filter": "筛选",
@@ -241,12 +246,6 @@ export default {
241
246
  'pisell-version-modal-version-error': '版本号必须大于当前版本',
242
247
  'pisell-version-modal-version-required': '版本号为必填项',
243
248
  'pisell-version-modal-based-on-version': '基于版本',
244
- 'pisell-icon-select-outlined': '线框风格',
245
- 'pisell-icon-select-filled': '实底风格',
246
- 'pisell-icon-select-two-tone': '双色风格',
247
- 'pisell-icon-select-iconfont': 'Iconfont',
248
- 'pisell-icon-select-search': '搜索图标',
249
- 'pisell-icon-select-select': '选择图标',
250
249
  // 子域名校验错误
251
250
  'subdomain-error-too-short': '子域名长度不能小于2个字符',
252
251
  'subdomain-error-too-long': '子域名长度不能超过60个字符',
@@ -254,17 +253,12 @@ export default {
254
253
  'subdomain-error-numbers-only': '子域名不能全为数字',
255
254
  'subdomain-error-hyphen-ends': '子域名不能以连字符开头或结尾',
256
255
  'subdomain-error-consecutive-hyphens': '子域名不能包含连续的连字符',
257
- // 应用版本控制组件
258
- 'pisell-lowcode-app-version-control-live': '正式版',
259
- 'pisell-lowcode-app-version-control-draft': '草稿',
260
- 'pisell-lowcode-app-version-control-deprecated': '已废弃',
261
- 'pisell-lowcode-app-version-control-new-version': '新版本',
262
- 'pisell-lowcode-app-version-control-promote-to-live': '发布正式版',
263
- 'pisell-lowcode-app-version-control-promote-version': function pisellLowcodeAppVersionControlPromoteVersion(version) {
264
- return "\u53D1\u5E03\u7248\u672C ".concat(version || "", "?");
265
- },
266
- 'pisell-lowcode-app-version-control-promote-version-describe': '发布版本后,该版本将无法再进行修改',
267
- 'pisell-lowcode-app-version-control-promote-version-ok': '发布',
268
- 'pisell-lowcode-app-version-control-promote-version-cancel': '取消',
269
- 'pisell-lowcode-app-version-control-version-exists': '版本已存在'
270
- };
256
+ 'pisell-icon-select-outlined': '线框风格',
257
+ 'pisell-icon-select-filled': '实底风格',
258
+ 'pisell-icon-select-two-tone': '双色风格',
259
+ 'pisell-icon-select-iconfont': 'Iconfont',
260
+ 'pisell-icon-select-search': '搜索图标',
261
+ 'pisell-icon-select-select': '选择图标'
262
+ }, _defineProperty(_tableFilterSearch$, "subdomain-error-too-short", '子域名长度不能小于2个字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-too-long", '子域名长度不能超过60个字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-pattern", '子域名只能包含小写字母、数字和连字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-numbers-only", '子域名不能全为数字'), _defineProperty(_tableFilterSearch$, "subdomain-error-hyphen-ends", '子域名不能以连字符开头或结尾'), _defineProperty(_tableFilterSearch$, "subdomain-error-consecutive-hyphens", '子域名不能包含连续的连字符'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-live', '正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-draft', '草稿'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-deprecated', '已废弃'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', '新版本'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', '发布正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
263
+ return "\u53D1\u5E03\u7248\u672C ".concat(version || "", "?");
264
+ }), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-describe', '发布版本后,该版本将无法再进行修改'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-ok', '发布'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), _tableFilterSearch$);
@@ -189,6 +189,12 @@ declare const _default: {
189
189
  'pisell-version-modal-version-error': string;
190
190
  'pisell-version-modal-version-required': string;
191
191
  'pisell-version-modal-based-on-version': string;
192
+ 'subdomain-error-too-short': string;
193
+ 'subdomain-error-too-long': string;
194
+ 'subdomain-error-pattern': string;
195
+ 'subdomain-error-numbers-only': string;
196
+ 'subdomain-error-hyphen-ends': string;
197
+ 'subdomain-error-consecutive-hyphens': string;
192
198
  'pisell-icon-select-placeholder': string;
193
199
  'pisell-icon-select-outlined': string;
194
200
  'pisell-icon-select-filled': string;
@@ -196,12 +202,6 @@ declare const _default: {
196
202
  'pisell-icon-select-iconfont': string;
197
203
  'pisell-icon-select-search': string;
198
204
  'pisell-icon-select-select': string;
199
- 'subdomain-error-too-short': string;
200
- 'subdomain-error-too-long': string;
201
- 'subdomain-error-pattern': string;
202
- 'subdomain-error-numbers-only': string;
203
- 'subdomain-error-hyphen-ends': string;
204
- 'subdomain-error-consecutive-hyphens': string;
205
205
  'pisell-lowcode-app-version-control-live': string;
206
206
  'pisell-lowcode-app-version-control-draft': string;
207
207
  'pisell-lowcode-app-version-control-deprecated': string;
@@ -1,4 +1,9 @@
1
- export default {
1
+ var _tableFilterSearch$;
2
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
5
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ export default (_tableFilterSearch$ = {
2
7
  "table-filter-search": "搜索",
3
8
  "table-filter-clear": "清除",
4
9
  "table-filter-filter": "篩選",
@@ -241,14 +246,6 @@ export default {
241
246
  'pisell-version-modal-version-error': '版本號必須大於當前版本',
242
247
  'pisell-version-modal-version-required': '版本號為必填項',
243
248
  'pisell-version-modal-based-on-version': '基於版本',
244
- // 图标选择组件
245
- 'pisell-icon-select-placeholder': '選擇圖標',
246
- 'pisell-icon-select-outlined': '線框風格',
247
- 'pisell-icon-select-filled': '實底風格',
248
- 'pisell-icon-select-two-tone': '雙色風格',
249
- 'pisell-icon-select-iconfont': 'Iconfont',
250
- 'pisell-icon-select-search': '搜索圖標',
251
- 'pisell-icon-select-select': '選擇圖標',
252
249
  // 子域名校验错误
253
250
  'subdomain-error-too-short': '子域名長度不能小於2個字符',
254
251
  'subdomain-error-too-long': '子域名長度不能超過60個字符',
@@ -256,17 +253,14 @@ export default {
256
253
  'subdomain-error-numbers-only': '子域名不能全為數字',
257
254
  'subdomain-error-hyphen-ends': '子域名不能以連字符開頭或結尾',
258
255
  'subdomain-error-consecutive-hyphens': '子域名不能包含連續的連字符',
259
- // 应用版本控制组件
260
- 'pisell-lowcode-app-version-control-live': '正式版',
261
- 'pisell-lowcode-app-version-control-draft': '草稿',
262
- 'pisell-lowcode-app-version-control-deprecated': '已廢棄',
263
- 'pisell-lowcode-app-version-control-new-version': '新版本',
264
- 'pisell-lowcode-app-version-control-promote-to-live': '發布正式版',
265
- 'pisell-lowcode-app-version-control-promote-version': function pisellLowcodeAppVersionControlPromoteVersion(version) {
266
- return "\u767C\u5E03\u7248\u672C ".concat(version || "", "?");
267
- },
268
- 'pisell-lowcode-app-version-control-promote-version-describe': '發布版本後,該版本將無法再進行修改',
269
- 'pisell-lowcode-app-version-control-promote-version-ok': '發布',
270
- 'pisell-lowcode-app-version-control-promote-version-cancel': '取消',
271
- 'pisell-lowcode-app-version-control-version-exists': '版本已存在'
272
- };
256
+ // 图标选择组件
257
+ 'pisell-icon-select-placeholder': '選擇圖標',
258
+ 'pisell-icon-select-outlined': '線框風格',
259
+ 'pisell-icon-select-filled': '實底風格',
260
+ 'pisell-icon-select-two-tone': '雙色風格',
261
+ 'pisell-icon-select-iconfont': 'Iconfont',
262
+ 'pisell-icon-select-search': '搜索圖標',
263
+ 'pisell-icon-select-select': '選擇圖標'
264
+ }, _defineProperty(_tableFilterSearch$, "subdomain-error-too-short", '子域名長度不能小於2個字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-too-long", '子域名長度不能超過60個字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-pattern", '子域名只能包含小寫字母、數字和連字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-numbers-only", '子域名不能全為數字'), _defineProperty(_tableFilterSearch$, "subdomain-error-hyphen-ends", '子域名不能以連字符開頭或結尾'), _defineProperty(_tableFilterSearch$, "subdomain-error-consecutive-hyphens", '子域名不能包含連續的連字符'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-live', '正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-draft', '草稿'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-deprecated', '已廢棄'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', '新版本'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', '發布正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
265
+ return "\u767C\u5E03\u7248\u672C ".concat(version || "", "?");
266
+ }), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-describe', '發布版本後,該版本將無法再進行修改'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-ok', '發布'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), _tableFilterSearch$);
@@ -5,7 +5,7 @@ export declare const paginationConfig: {
5
5
  className: string;
6
6
  defaultCurrent: number;
7
7
  showTotal: (total: number, range: [number, number]) => string;
8
- itemRender: (page: number, type: "next" | "page" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
8
+ itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
9
9
  responsive: boolean;
10
10
  size: string;
11
11
  };
@@ -8,6 +8,9 @@
8
8
  justify-content: center;
9
9
  gap: 12px;
10
10
  padding: 12px !important;
11
+ &::after {
12
+ display: none;
13
+ }
11
14
  .pisell-lowcode-app-version-control-avatar {
12
15
  display: flex;
13
16
  .pisell-lowcode-avatar-string {
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: React.JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -47,7 +47,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
47
47
  width: number;
48
48
  align: "center" | "left" | "right";
49
49
  fixed: false | "left" | "right";
50
- type: "link" | "button";
50
+ type: "button" | "link";
51
51
  items: OperationItem[];
52
52
  } | undefined;
53
53
  operationContent?: {
@@ -65,7 +65,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
65
65
  useCustomAction: boolean;
66
66
  actionType: string;
67
67
  openMode: "modal" | "drawer";
68
- openContentSize: "small" | "large" | "middle";
68
+ openContentSize: "small" | "middle" | "large";
69
69
  openTitle: string;
70
70
  key: string;
71
71
  } | undefined;
@@ -59,7 +59,7 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<any> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
64
  } & {
65
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -69,6 +69,9 @@ var VariablesProvider = (props) => {
69
69
  variables,
70
70
  {
71
71
  global: {
72
+ value: {
73
+ query: initialQuery
74
+ },
72
75
  query: initialQuery
73
76
  }
74
77
  },
@@ -0,0 +1,10 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import './Action.less';
3
+ export interface Props extends React.HTMLAttributes<HTMLButtonElement> {
4
+ active?: {
5
+ fill: string;
6
+ background: string;
7
+ };
8
+ cursor?: CSSProperties['cursor'];
9
+ }
10
+ export declare const Action: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;