@para-ui/core 4.0.53 → 4.0.54

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 (142) hide show
  1. package/Button/index.js +2 -2
  2. package/Cascader/Cascader.d.ts +3 -0
  3. package/Cascader/index.js +11 -7
  4. package/ComboSelect/index.js +5 -4
  5. package/CycleSelector/index.js +4 -1
  6. package/DatePicker/index.js +4 -1
  7. package/DynamicMultiBox/index.js +7 -6
  8. package/DynamicMultiBox/interface.d.ts +1 -1
  9. package/FieldForm/ErrorList.d.ts +16 -0
  10. package/FieldForm/FieldFormItem/ItemHolder.d.ts +18 -0
  11. package/FieldForm/FieldFormItem/MemoInput.d.ts +14 -0
  12. package/FieldForm/FieldFormItem/StatusProvider.d.ts +20 -0
  13. package/FieldForm/FieldFormItem/index.d.ts +58 -0
  14. package/FieldForm/Form.d.ts +36 -0
  15. package/FieldForm/FormItemInput.d.ts +21 -0
  16. package/FieldForm/FormItemLabel.d.ts +21 -0
  17. package/FieldForm/FormList.d.ts +23 -0
  18. package/FieldForm/context.d.ts +33 -0
  19. package/FieldForm/hooks/useChildren.d.ts +2 -0
  20. package/FieldForm/hooks/useDebounce.d.ts +1 -0
  21. package/FieldForm/hooks/useForm.d.ts +6 -0
  22. package/FieldForm/hooks/useFormInstance.d.ts +2 -0
  23. package/FieldForm/hooks/useFormItemStatus.d.ts +9 -0
  24. package/FieldForm/hooks/useFrameState.d.ts +3 -0
  25. package/FieldForm/hooks/useItemRef.d.ts +3 -0
  26. package/FieldForm/index.d.ts +30 -0
  27. package/FieldForm/index.js +5326 -0
  28. package/FieldForm/interface.d.ts +2 -0
  29. package/FieldForm/lang/en_US.d.ts +51 -0
  30. package/FieldForm/lang/index.d.ts +105 -0
  31. package/FieldForm/lang/zh_CN.d.ts +51 -0
  32. package/FieldForm/util.d.ts +21 -0
  33. package/Form/index.js +6 -5
  34. package/FormItem/index.js +6 -5
  35. package/FunctionModal/index.js +2 -2
  36. package/Image/index.js +7 -56
  37. package/PopMenu/index.js +2 -2
  38. package/README.md +10 -0
  39. package/Result/index.js +2 -2
  40. package/Selector/index.js +1 -1
  41. package/SelectorPicker/index.js +1 -1
  42. package/Stepper/index.js +1 -1
  43. package/Switch/index.d.ts +4 -0
  44. package/Switch/index.js +3 -2
  45. package/Tabs/index.js +2 -2
  46. package/Tag/index.js +87 -55
  47. package/TextEditor/index.d.ts +2 -0
  48. package/TextEditor/index.js +27 -6
  49. package/TimePicker/index.js +4 -1
  50. package/Timeline/index.js +2 -1
  51. package/ToggleButton/index.js +2 -1
  52. package/Transfer/index.d.ts +1 -0
  53. package/Transfer/index.js +120 -119
  54. package/Tree/index.js +6 -5
  55. package/Upload/index.js +10 -7
  56. package/_verture/{Portal-42560ff0.js → Portal-502bb85e.js} +30 -481
  57. package/_verture/{defineProperty-f0e15205.js → defineProperty-6f62bb2a.js} +2 -10
  58. package/_verture/{index-063009f8.js → index-0a300edb.js} +388 -700
  59. package/_verture/index-1856bbeb.js +480 -0
  60. package/_verture/{index-d728b0ce.js → index-320d67c4.js} +4 -3
  61. package/_verture/{index-f30ae73e.js → index-43c653bb.js} +1 -1
  62. package/_verture/isEqual-30b6f859.js +56 -0
  63. package/_verture/{slicedToArray-75fa4188.js → slicedToArray-61604a6c.js} +1 -1
  64. package/_verture/{toConsumableArray-c7a8028f.js → toConsumableArray-599cd94a.js} +1 -1
  65. package/_verture/typeof-adeedc13.js +11 -0
  66. package/_verture/useState-f2419d68.js +353 -0
  67. package/index.d.ts +2 -0
  68. package/index.js +16 -11
  69. package/locale/en-US.d.ts +46 -0
  70. package/locale/index.d.ts +92 -0
  71. package/locale/index.js +92 -0
  72. package/locale/zh-CN.d.ts +46 -0
  73. package/package.json +3 -1
  74. package/umd/Anchor.js +5 -5
  75. package/umd/Argv.js +5 -5
  76. package/umd/AutoBox.js +5 -5
  77. package/umd/AutoButton.js +6 -6
  78. package/umd/AutoTips.js +5 -5
  79. package/umd/Breadcrumbs.js +4 -4
  80. package/umd/Button.js +5 -5
  81. package/umd/ButtonGroup.js +6 -6
  82. package/umd/Cascader.js +5 -5
  83. package/umd/Checkbox.js +4 -4
  84. package/umd/CheckboxGroup.js +4 -4
  85. package/umd/Collapse.js +1 -1
  86. package/umd/ComboSelect.js +4 -4
  87. package/umd/CopyText.js +5 -5
  88. package/umd/CycleSelector.js +5 -5
  89. package/umd/DatePicker.js +5 -5
  90. package/umd/Descriptions.js +6 -6
  91. package/umd/Desktop.js +5 -5
  92. package/umd/Drawer.js +5 -5
  93. package/umd/Dropdown.js +4 -4
  94. package/umd/DynamicMultiBox.js +4 -4
  95. package/umd/FieldForm.js +43 -0
  96. package/umd/Form.js +4 -4
  97. package/umd/FormItem.js +4 -4
  98. package/umd/FunctionModal.js +5 -5
  99. package/umd/Help.js +5 -5
  100. package/umd/Image.js +3 -3
  101. package/umd/InputCode.js +5 -5
  102. package/umd/InputLang.js +5 -5
  103. package/umd/InputNumber.js +4 -4
  104. package/umd/Label.js +4 -4
  105. package/umd/Menu.js +4 -4
  106. package/umd/Modal.js +5 -5
  107. package/umd/MultiBox.js +6 -6
  108. package/umd/Notification.js +3 -3
  109. package/umd/OperateBtn.js +5 -5
  110. package/umd/PageHeader.js +5 -5
  111. package/umd/Pagination.js +5 -5
  112. package/umd/PopConfirm.js +5 -5
  113. package/umd/PopMenu.js +5 -5
  114. package/umd/Popover.js +5 -5
  115. package/umd/QuickReply.js +5 -5
  116. package/umd/Radio.js +4 -4
  117. package/umd/RadioGroup.js +4 -4
  118. package/umd/RangeInput.js +5 -5
  119. package/umd/Result.js +4 -4
  120. package/umd/Search.js +5 -5
  121. package/umd/Select.js +5 -5
  122. package/umd/SelectInput.js +5 -5
  123. package/umd/Selector.js +5 -5
  124. package/umd/SelectorPicker.js +5 -5
  125. package/umd/SingleBox.js +5 -5
  126. package/umd/Slider.js +4 -4
  127. package/umd/Stepper.js +4 -4
  128. package/umd/Switch.js +4 -4
  129. package/umd/Table.js +5 -5
  130. package/umd/Tabs.js +4 -4
  131. package/umd/Tag.js +5 -5
  132. package/umd/TextEditor.js +6 -6
  133. package/umd/TextField.js +5 -5
  134. package/umd/TimePicker.js +5 -5
  135. package/umd/Title.js +3 -3
  136. package/umd/ToggleButton.js +5 -5
  137. package/umd/Tooltip.js +4 -4
  138. package/umd/Transfer.js +7 -7
  139. package/umd/Tree.js +3 -3
  140. package/umd/Upload.js +5 -5
  141. package/umd/locale.js +1 -1
  142. /package/_verture/{modalContext-8a48c400.js → modalContext-6ac2e323.js} +0 -0
@@ -0,0 +1,480 @@
1
+ import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
2
+
3
+ function _extends() {
4
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
5
+ for (var i = 1; i < arguments.length; i++) {
6
+ var source = arguments[i];
7
+ for (var key in source) {
8
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
9
+ target[key] = source[key];
10
+ }
11
+ }
12
+ }
13
+ return target;
14
+ };
15
+ return _extends.apply(this, arguments);
16
+ }
17
+
18
+ function ownKeys(e, r) {
19
+ var t = Object.keys(e);
20
+ if (Object.getOwnPropertySymbols) {
21
+ var o = Object.getOwnPropertySymbols(e);
22
+ r && (o = o.filter(function (r) {
23
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
24
+ })), t.push.apply(t, o);
25
+ }
26
+ return t;
27
+ }
28
+ function _objectSpread2(e) {
29
+ for (var r = 1; r < arguments.length; r++) {
30
+ var t = null != arguments[r] ? arguments[r] : {};
31
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
32
+ _defineProperty(e, r, t[r]);
33
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
34
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
35
+ });
36
+ }
37
+ return e;
38
+ }
39
+
40
+ function _objectWithoutPropertiesLoose(source, excluded) {
41
+ if (source == null) return {};
42
+ var target = {};
43
+ for (var key in source) {
44
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
45
+ if (excluded.indexOf(key) >= 0) continue;
46
+ target[key] = source[key];
47
+ }
48
+ }
49
+ return target;
50
+ }
51
+
52
+ function _objectWithoutProperties(source, excluded) {
53
+ if (source == null) return {};
54
+ var target = _objectWithoutPropertiesLoose(source, excluded);
55
+ var key, i;
56
+ if (Object.getOwnPropertySymbols) {
57
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
58
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
59
+ key = sourceSymbolKeys[i];
60
+ if (excluded.indexOf(key) >= 0) continue;
61
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
62
+ target[key] = source[key];
63
+ }
64
+ }
65
+ return target;
66
+ }
67
+
68
+ /* eslint-disable no-console */
69
+ var warned = {};
70
+ var preWarningFns = [];
71
+
72
+ /**
73
+ * Pre warning enable you to parse content before console.error.
74
+ * Modify to null will prevent warning.
75
+ */
76
+ var preMessage = function preMessage(fn) {
77
+ preWarningFns.push(fn);
78
+ };
79
+
80
+ /**
81
+ * Warning if condition not match.
82
+ * @param valid Condition
83
+ * @param message Warning message
84
+ * @example
85
+ * ```js
86
+ * warning(false, 'some error'); // print some error
87
+ * warning(true, 'some error'); // print nothing
88
+ * warning(1 === 2, 'some error'); // print some error
89
+ * ```
90
+ */
91
+ function warning(valid, message) {
92
+ if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
93
+ var finalMessage = preWarningFns.reduce(function (msg, preMessageFn) {
94
+ return preMessageFn(msg !== null && msg !== void 0 ? msg : '', 'warning');
95
+ }, message);
96
+ if (finalMessage) {
97
+ console.error("Warning: ".concat(finalMessage));
98
+ }
99
+ }
100
+ }
101
+
102
+ /** @see Similar to {@link warning} */
103
+ function note(valid, message) {
104
+ if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
105
+ var finalMessage = preWarningFns.reduce(function (msg, preMessageFn) {
106
+ return preMessageFn(msg !== null && msg !== void 0 ? msg : '', 'note');
107
+ }, message);
108
+ if (finalMessage) {
109
+ console.warn("Note: ".concat(finalMessage));
110
+ }
111
+ }
112
+ }
113
+ function resetWarned() {
114
+ warned = {};
115
+ }
116
+ function call(method, valid, message) {
117
+ if (!valid && !warned[message]) {
118
+ method(false, message);
119
+ warned[message] = true;
120
+ }
121
+ }
122
+
123
+ /** @see Same as {@link warning}, but only warn once for the same message */
124
+ function warningOnce(valid, message) {
125
+ call(warning, valid, message);
126
+ }
127
+
128
+ /** @see Same as {@link warning}, but only warn once for the same message */
129
+ function noteOnce(valid, message) {
130
+ call(note, valid, message);
131
+ }
132
+ warningOnce.preMessage = preMessage;
133
+ warningOnce.resetWarned = resetWarned;
134
+ warningOnce.noteOnce = noteOnce;
135
+
136
+ var classnames = {exports: {}};
137
+
138
+ /*!
139
+ Copyright (c) 2018 Jed Watson.
140
+ Licensed under the MIT License (MIT), see
141
+ http://jedwatson.github.io/classnames
142
+ */
143
+
144
+ (function (module) {
145
+ /* global define */
146
+
147
+ (function () {
148
+
149
+ var hasOwn = {}.hasOwnProperty;
150
+
151
+ function classNames () {
152
+ var classes = '';
153
+
154
+ for (var i = 0; i < arguments.length; i++) {
155
+ var arg = arguments[i];
156
+ if (arg) {
157
+ classes = appendClass(classes, parseValue(arg));
158
+ }
159
+ }
160
+
161
+ return classes;
162
+ }
163
+
164
+ function parseValue (arg) {
165
+ if (typeof arg === 'string' || typeof arg === 'number') {
166
+ return arg;
167
+ }
168
+
169
+ if (typeof arg !== 'object') {
170
+ return '';
171
+ }
172
+
173
+ if (Array.isArray(arg)) {
174
+ return classNames.apply(null, arg);
175
+ }
176
+
177
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
178
+ return arg.toString();
179
+ }
180
+
181
+ var classes = '';
182
+
183
+ for (var key in arg) {
184
+ if (hasOwn.call(arg, key) && arg[key]) {
185
+ classes = appendClass(classes, key);
186
+ }
187
+ }
188
+
189
+ return classes;
190
+ }
191
+
192
+ function appendClass (value, newClass) {
193
+ if (!newClass) {
194
+ return value;
195
+ }
196
+
197
+ if (value) {
198
+ return value + ' ' + newClass;
199
+ }
200
+
201
+ return value + newClass;
202
+ }
203
+
204
+ if (module.exports) {
205
+ classNames.default = classNames;
206
+ module.exports = classNames;
207
+ } else {
208
+ window.classNames = classNames;
209
+ }
210
+ }());
211
+ } (classnames));
212
+
213
+ var clsx = classnames.exports;
214
+
215
+ var reactIs = {exports: {}};
216
+
217
+ var reactIs_production_min = {};
218
+
219
+ /**
220
+ * @license React
221
+ * react-is.production.min.js
222
+ *
223
+ * Copyright (c) Facebook, Inc. and its affiliates.
224
+ *
225
+ * This source code is licensed under the MIT license found in the
226
+ * LICENSE file in the root directory of this source tree.
227
+ */
228
+
229
+ var hasRequiredReactIs_production_min;
230
+
231
+ function requireReactIs_production_min () {
232
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
233
+ hasRequiredReactIs_production_min = 1;
234
+ var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
235
+ function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
236
+ reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
237
+ reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
238
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
239
+ return reactIs_production_min;
240
+ }
241
+
242
+ var reactIs_development = {};
243
+
244
+ /**
245
+ * @license React
246
+ * react-is.development.js
247
+ *
248
+ * Copyright (c) Facebook, Inc. and its affiliates.
249
+ *
250
+ * This source code is licensed under the MIT license found in the
251
+ * LICENSE file in the root directory of this source tree.
252
+ */
253
+
254
+ var hasRequiredReactIs_development;
255
+
256
+ function requireReactIs_development () {
257
+ if (hasRequiredReactIs_development) return reactIs_development;
258
+ hasRequiredReactIs_development = 1;
259
+
260
+ if (process.env.NODE_ENV !== "production") {
261
+ (function() {
262
+
263
+ // ATTENTION
264
+ // When adding new symbols to this file,
265
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
266
+ // The Symbol used to tag the ReactElement-like types.
267
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
268
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
269
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
270
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
271
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
272
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
273
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
274
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
275
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
276
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
277
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
278
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
279
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
280
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
281
+
282
+ // -----------------------------------------------------------------------------
283
+
284
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
285
+ var enableCacheElement = false;
286
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
287
+
288
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
289
+ // stuff. Intended to enable React core members to more easily debug scheduling
290
+ // issues in DEV builds.
291
+
292
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
293
+
294
+ var REACT_MODULE_REFERENCE;
295
+
296
+ {
297
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
298
+ }
299
+
300
+ function isValidElementType(type) {
301
+ if (typeof type === 'string' || typeof type === 'function') {
302
+ return true;
303
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
304
+
305
+
306
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
307
+ return true;
308
+ }
309
+
310
+ if (typeof type === 'object' && type !== null) {
311
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
312
+ // types supported by any Flight configuration anywhere since
313
+ // we don't know which Flight build this will end up being used
314
+ // with.
315
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
316
+ return true;
317
+ }
318
+ }
319
+
320
+ return false;
321
+ }
322
+
323
+ function typeOf(object) {
324
+ if (typeof object === 'object' && object !== null) {
325
+ var $$typeof = object.$$typeof;
326
+
327
+ switch ($$typeof) {
328
+ case REACT_ELEMENT_TYPE:
329
+ var type = object.type;
330
+
331
+ switch (type) {
332
+ case REACT_FRAGMENT_TYPE:
333
+ case REACT_PROFILER_TYPE:
334
+ case REACT_STRICT_MODE_TYPE:
335
+ case REACT_SUSPENSE_TYPE:
336
+ case REACT_SUSPENSE_LIST_TYPE:
337
+ return type;
338
+
339
+ default:
340
+ var $$typeofType = type && type.$$typeof;
341
+
342
+ switch ($$typeofType) {
343
+ case REACT_SERVER_CONTEXT_TYPE:
344
+ case REACT_CONTEXT_TYPE:
345
+ case REACT_FORWARD_REF_TYPE:
346
+ case REACT_LAZY_TYPE:
347
+ case REACT_MEMO_TYPE:
348
+ case REACT_PROVIDER_TYPE:
349
+ return $$typeofType;
350
+
351
+ default:
352
+ return $$typeof;
353
+ }
354
+
355
+ }
356
+
357
+ case REACT_PORTAL_TYPE:
358
+ return $$typeof;
359
+ }
360
+ }
361
+
362
+ return undefined;
363
+ }
364
+ var ContextConsumer = REACT_CONTEXT_TYPE;
365
+ var ContextProvider = REACT_PROVIDER_TYPE;
366
+ var Element = REACT_ELEMENT_TYPE;
367
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
368
+ var Fragment = REACT_FRAGMENT_TYPE;
369
+ var Lazy = REACT_LAZY_TYPE;
370
+ var Memo = REACT_MEMO_TYPE;
371
+ var Portal = REACT_PORTAL_TYPE;
372
+ var Profiler = REACT_PROFILER_TYPE;
373
+ var StrictMode = REACT_STRICT_MODE_TYPE;
374
+ var Suspense = REACT_SUSPENSE_TYPE;
375
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
376
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
377
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
378
+
379
+ function isAsyncMode(object) {
380
+ {
381
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
382
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
383
+
384
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
385
+ }
386
+ }
387
+
388
+ return false;
389
+ }
390
+ function isConcurrentMode(object) {
391
+ {
392
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
393
+ hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
394
+
395
+ console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
396
+ }
397
+ }
398
+
399
+ return false;
400
+ }
401
+ function isContextConsumer(object) {
402
+ return typeOf(object) === REACT_CONTEXT_TYPE;
403
+ }
404
+ function isContextProvider(object) {
405
+ return typeOf(object) === REACT_PROVIDER_TYPE;
406
+ }
407
+ function isElement(object) {
408
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
409
+ }
410
+ function isForwardRef(object) {
411
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
412
+ }
413
+ function isFragment(object) {
414
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
415
+ }
416
+ function isLazy(object) {
417
+ return typeOf(object) === REACT_LAZY_TYPE;
418
+ }
419
+ function isMemo(object) {
420
+ return typeOf(object) === REACT_MEMO_TYPE;
421
+ }
422
+ function isPortal(object) {
423
+ return typeOf(object) === REACT_PORTAL_TYPE;
424
+ }
425
+ function isProfiler(object) {
426
+ return typeOf(object) === REACT_PROFILER_TYPE;
427
+ }
428
+ function isStrictMode(object) {
429
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
430
+ }
431
+ function isSuspense(object) {
432
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
433
+ }
434
+ function isSuspenseList(object) {
435
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
436
+ }
437
+
438
+ reactIs_development.ContextConsumer = ContextConsumer;
439
+ reactIs_development.ContextProvider = ContextProvider;
440
+ reactIs_development.Element = Element;
441
+ reactIs_development.ForwardRef = ForwardRef;
442
+ reactIs_development.Fragment = Fragment;
443
+ reactIs_development.Lazy = Lazy;
444
+ reactIs_development.Memo = Memo;
445
+ reactIs_development.Portal = Portal;
446
+ reactIs_development.Profiler = Profiler;
447
+ reactIs_development.StrictMode = StrictMode;
448
+ reactIs_development.Suspense = Suspense;
449
+ reactIs_development.SuspenseList = SuspenseList;
450
+ reactIs_development.isAsyncMode = isAsyncMode;
451
+ reactIs_development.isConcurrentMode = isConcurrentMode;
452
+ reactIs_development.isContextConsumer = isContextConsumer;
453
+ reactIs_development.isContextProvider = isContextProvider;
454
+ reactIs_development.isElement = isElement;
455
+ reactIs_development.isForwardRef = isForwardRef;
456
+ reactIs_development.isFragment = isFragment;
457
+ reactIs_development.isLazy = isLazy;
458
+ reactIs_development.isMemo = isMemo;
459
+ reactIs_development.isPortal = isPortal;
460
+ reactIs_development.isProfiler = isProfiler;
461
+ reactIs_development.isStrictMode = isStrictMode;
462
+ reactIs_development.isSuspense = isSuspense;
463
+ reactIs_development.isSuspenseList = isSuspenseList;
464
+ reactIs_development.isValidElementType = isValidElementType;
465
+ reactIs_development.typeOf = typeOf;
466
+ })();
467
+ }
468
+ return reactIs_development;
469
+ }
470
+
471
+ (function (module) {
472
+
473
+ if (process.env.NODE_ENV === 'production') {
474
+ module.exports = requireReactIs_production_min();
475
+ } else {
476
+ module.exports = requireReactIs_development();
477
+ }
478
+ } (reactIs));
479
+
480
+ export { _objectSpread2 as _, _extends as a, _objectWithoutProperties as b, clsx as c, warningOnce as d, noteOnce as n, reactIs as r, warning as w };
@@ -1,12 +1,13 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
2
- import { _ as _typeof, a as _defineProperty } from './defineProperty-f0e15205.js';
3
- import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-599cd94a.js';
2
+ import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
3
+ import { _ as _slicedToArray } from './slicedToArray-61604a6c.js';
4
4
  import { r as regenerator } from './index-8ac46bd9.js';
5
5
  import { _ as __rest, a as __awaiter } from './tslib.es6-55ed4bd2.js';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
+ import { _ as _typeof } from './typeof-adeedc13.js';
10
11
  import LoadingOutlined from '@para-ui/icons/LoadingF';
11
12
  import FileOutlined from '@para-ui/icons/Document';
12
13
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import { TextField } from '../TextField/index.js';
4
- import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
4
+ import { _ as _slicedToArray } from './slicedToArray-61604a6c.js';
5
5
  import { RadioGroup } from '../RadioGroup/index.js';
6
6
  import Select from '../Select/index.js';
7
7
  import { CheckboxGroup } from '../CheckboxGroup/index.js';
@@ -0,0 +1,56 @@
1
+ import { _ as _typeof } from './typeof-adeedc13.js';
2
+ import { d as warningOnce } from './index-1856bbeb.js';
3
+
4
+ /**
5
+ * Deeply compares two object literals.
6
+ * @param obj1 object 1
7
+ * @param obj2 object 2
8
+ * @param shallow shallow compare
9
+ * @returns
10
+ */
11
+ function isEqual(obj1, obj2) {
12
+ var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
13
+ // https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f
14
+ var refSet = new Set();
15
+ function deepEqual(a, b) {
16
+ var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
17
+ var circular = refSet.has(a);
18
+ warningOnce(!circular, 'Warning: There may be circular references');
19
+ if (circular) {
20
+ return false;
21
+ }
22
+ if (a === b) {
23
+ return true;
24
+ }
25
+ if (shallow && level > 1) {
26
+ return false;
27
+ }
28
+ refSet.add(a);
29
+ var newLevel = level + 1;
30
+ if (Array.isArray(a)) {
31
+ if (!Array.isArray(b) || a.length !== b.length) {
32
+ return false;
33
+ }
34
+ for (var i = 0; i < a.length; i++) {
35
+ if (!deepEqual(a[i], b[i], newLevel)) {
36
+ return false;
37
+ }
38
+ }
39
+ return true;
40
+ }
41
+ if (a && b && _typeof(a) === 'object' && _typeof(b) === 'object') {
42
+ var keys = Object.keys(a);
43
+ if (keys.length !== Object.keys(b).length) {
44
+ return false;
45
+ }
46
+ return keys.every(function (key) {
47
+ return deepEqual(a[key], b[key], newLevel);
48
+ });
49
+ }
50
+ // other
51
+ return false;
52
+ }
53
+ return deepEqual(obj1, obj2);
54
+ }
55
+
56
+ export { isEqual as i };
@@ -53,4 +53,4 @@ function _slicedToArray(arr, i) {
53
53
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
54
54
  }
55
55
 
56
- export { _slicedToArray as _, _arrayWithHoles as a, _unsupportedIterableToArray as b, _nonIterableRest as c, _arrayLikeToArray as d };
56
+ export { _slicedToArray as _, _arrayLikeToArray as a, _unsupportedIterableToArray as b, _arrayWithHoles as c, _nonIterableRest as d };
@@ -1,4 +1,4 @@
1
- import { d as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-75fa4188.js';
1
+ import { a as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-61604a6c.js';
2
2
 
3
3
  function _arrayWithoutHoles(arr) {
4
4
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
@@ -0,0 +1,11 @@
1
+ function _typeof(o) {
2
+ "@babel/helpers - typeof";
3
+
4
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
5
+ return typeof o;
6
+ } : function (o) {
7
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
+ }, _typeof(o);
9
+ }
10
+
11
+ export { _typeof as _ };