@para-ui/core 4.0.15 → 4.0.16

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 (95) hide show
  1. package/Cascader/index.js +7 -6
  2. package/ComboSelect/index.js +7 -3
  3. package/CycleSelector/index.js +1 -2
  4. package/DatePicker/index.js +1 -2
  5. package/DynamicMultiBox/index.js +8 -5
  6. package/Form/index.js +8 -4
  7. package/FormItem/index.js +8 -4
  8. package/FunctionModal/index.js +2 -2
  9. package/PopMenu/context.d.ts +33 -0
  10. package/PopMenu/hooks.d.ts +5 -0
  11. package/PopMenu/index.d.ts +5 -0
  12. package/PopMenu/index.js +288 -0
  13. package/PopMenu/interface.d.ts +61 -0
  14. package/PopMenu/item.d.ts +4 -0
  15. package/PopMenu/list.d.ts +4 -0
  16. package/Popover/index.js +10 -1
  17. package/QuickReply/index.js +1 -1
  18. package/README.md +4 -0
  19. package/Selector/index.js +4 -326
  20. package/SelectorPicker/index.js +4 -2
  21. package/TimePicker/index.js +1 -2
  22. package/Tooltip/index.js +7 -3
  23. package/Tooltip/interface.d.ts +2 -0
  24. package/Tree/index.js +8 -4
  25. package/Upload/index.js +2 -1
  26. package/_verture/{defineProperty-1d116156.js → defineProperty-51493dbe.js} +10 -2
  27. package/_verture/{index-79cebfc8.js → index-06069532.js} +1 -1
  28. package/_verture/{index-767e63dd.js → index-0ad6af26.js} +394 -313
  29. package/_verture/index-287ae1b3.js +327 -0
  30. package/_verture/{index-9784b09c.js → index-782e05bf.js} +5 -20
  31. package/_verture/{slicedToArray-8223a2ef.js → slicedToArray-a8206399.js} +2 -15
  32. package/_verture/toConsumableArray-8f4c9589.js +19 -0
  33. package/_verture/unsupportedIterableToArray-cb478f24.js +16 -0
  34. package/index.d.ts +2 -0
  35. package/index.js +12 -9
  36. package/package.json +1 -1
  37. package/umd/AutoBox.js +1 -1
  38. package/umd/AutoTips.js +1 -1
  39. package/umd/Breadcrumbs.js +1 -1
  40. package/umd/Button.js +1 -1
  41. package/umd/ButtonGroup.js +1 -1
  42. package/umd/Cascader.js +1 -1
  43. package/umd/Checkbox.js +1 -1
  44. package/umd/CheckboxGroup.js +1 -1
  45. package/umd/ComboSelect.js +1 -1
  46. package/umd/CopyText.js +1 -1
  47. package/umd/CycleSelector.js +1 -1
  48. package/umd/DatePicker.js +1 -1
  49. package/umd/Descriptions.js +1 -1
  50. package/umd/Desktop.js +1 -1
  51. package/umd/Drawer.js +1 -1
  52. package/umd/DynamicMultiBox.js +1 -1
  53. package/umd/Form.js +1 -1
  54. package/umd/FormItem.js +1 -1
  55. package/umd/FunctionModal.js +1 -1
  56. package/umd/Help.js +1 -1
  57. package/umd/InputLang.js +1 -1
  58. package/umd/InputNumber.js +1 -1
  59. package/umd/Label.js +1 -1
  60. package/umd/Menu.js +1 -1
  61. package/umd/Modal.js +1 -1
  62. package/umd/MultiBox.js +1 -1
  63. package/umd/OperateBtn.js +1 -1
  64. package/umd/PageHeader.js +1 -1
  65. package/umd/Pagination.js +1 -1
  66. package/umd/PopConfirm.js +1 -1
  67. package/umd/PopMenu.js +43 -0
  68. package/umd/Popover.js +1 -1
  69. package/umd/QuickReply.js +1 -1
  70. package/umd/Radio.js +1 -1
  71. package/umd/RadioGroup.js +1 -1
  72. package/umd/Search.js +1 -1
  73. package/umd/Select.js +1 -1
  74. package/umd/SelectInput.js +1 -1
  75. package/umd/Selector.js +1 -1
  76. package/umd/SelectorPicker.js +1 -1
  77. package/umd/SingleBox.js +1 -1
  78. package/umd/Stepper.js +1 -1
  79. package/umd/Switch.js +1 -1
  80. package/umd/Table.js +1 -1
  81. package/umd/Tabs.js +1 -1
  82. package/umd/Tag.js +1 -1
  83. package/umd/TextEditor.js +1 -1
  84. package/umd/TextField.js +1 -1
  85. package/umd/TimePicker.js +1 -1
  86. package/umd/Title.js +1 -1
  87. package/umd/ToggleButton.js +1 -1
  88. package/umd/Tooltip.js +1 -1
  89. package/umd/Transfer.js +1 -1
  90. package/umd/Tree.js +1 -1
  91. package/umd/Upload.js +1 -1
  92. package/_verture/typeof-adeedc13.js +0 -11
  93. /package/_verture/{index-28a6bc3a.js → index-9bef932a.js} +0 -0
  94. /package/_verture/{modalContext-7380ea41.js → modalContext-b101ffaa.js} +0 -0
  95. /package/_verture/{typeof-c310ee4a.js → typeof-6ec38efd.js} +0 -0
package/Selector/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
3
  import { useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
4
- import { b as _slicedToArray } from '../_verture/slicedToArray-8223a2ef.js';
5
- import { _ as _typeof } from '../_verture/typeof-c310ee4a.js';
4
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
5
+ import { r as regenerator } from '../_verture/index-287ae1b3.js';
6
6
  import { Radio } from '../Radio/index.js';
7
7
  import { Checkbox } from '../Checkbox/index.js';
8
8
  import { Popover } from '../Popover/index.js';
@@ -19,6 +19,8 @@ import SearchIcon from '@para-ui/icons/Search';
19
19
  import Refresh from '@para-ui/icons/Refresh';
20
20
  import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
21
21
  import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
22
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
23
+ import '../_verture/typeof-6ec38efd.js';
22
24
  import '../Label/index.js';
23
25
  import '../Help/index.js';
24
26
  import '../Tooltip/index.js';
@@ -41,330 +43,6 @@ import 'dayjs';
41
43
  import '@para-ui/icons/More';
42
44
  import '@para-ui/icons/Return';
43
45
 
44
- var regeneratorRuntime$1 = {exports: {}};
45
-
46
- (function (module) {
47
- var _typeof$1 = _typeof.exports["default"];
48
- function _regeneratorRuntime() {
49
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
50
- return e;
51
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
52
- var t,
53
- e = {},
54
- r = Object.prototype,
55
- n = r.hasOwnProperty,
56
- o = Object.defineProperty || function (t, e, r) {
57
- t[e] = r.value;
58
- },
59
- i = "function" == typeof Symbol ? Symbol : {},
60
- a = i.iterator || "@@iterator",
61
- c = i.asyncIterator || "@@asyncIterator",
62
- u = i.toStringTag || "@@toStringTag";
63
- function define(t, e, r) {
64
- return Object.defineProperty(t, e, {
65
- value: r,
66
- enumerable: !0,
67
- configurable: !0,
68
- writable: !0
69
- }), t[e];
70
- }
71
- try {
72
- define({}, "");
73
- } catch (t) {
74
- define = function define(t, e, r) {
75
- return t[e] = r;
76
- };
77
- }
78
- function wrap(t, e, r, n) {
79
- var i = e && e.prototype instanceof Generator ? e : Generator,
80
- a = Object.create(i.prototype),
81
- c = new Context(n || []);
82
- return o(a, "_invoke", {
83
- value: makeInvokeMethod(t, r, c)
84
- }), a;
85
- }
86
- function tryCatch(t, e, r) {
87
- try {
88
- return {
89
- type: "normal",
90
- arg: t.call(e, r)
91
- };
92
- } catch (t) {
93
- return {
94
- type: "throw",
95
- arg: t
96
- };
97
- }
98
- }
99
- e.wrap = wrap;
100
- var h = "suspendedStart",
101
- l = "suspendedYield",
102
- f = "executing",
103
- s = "completed",
104
- y = {};
105
- function Generator() {}
106
- function GeneratorFunction() {}
107
- function GeneratorFunctionPrototype() {}
108
- var p = {};
109
- define(p, a, function () {
110
- return this;
111
- });
112
- var d = Object.getPrototypeOf,
113
- v = d && d(d(values([])));
114
- v && v !== r && n.call(v, a) && (p = v);
115
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
116
- function defineIteratorMethods(t) {
117
- ["next", "throw", "return"].forEach(function (e) {
118
- define(t, e, function (t) {
119
- return this._invoke(e, t);
120
- });
121
- });
122
- }
123
- function AsyncIterator(t, e) {
124
- function invoke(r, o, i, a) {
125
- var c = tryCatch(t[r], t, o);
126
- if ("throw" !== c.type) {
127
- var u = c.arg,
128
- h = u.value;
129
- return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
130
- invoke("next", t, i, a);
131
- }, function (t) {
132
- invoke("throw", t, i, a);
133
- }) : e.resolve(h).then(function (t) {
134
- u.value = t, i(u);
135
- }, function (t) {
136
- return invoke("throw", t, i, a);
137
- });
138
- }
139
- a(c.arg);
140
- }
141
- var r;
142
- o(this, "_invoke", {
143
- value: function value(t, n) {
144
- function callInvokeWithMethodAndArg() {
145
- return new e(function (e, r) {
146
- invoke(t, n, e, r);
147
- });
148
- }
149
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
150
- }
151
- });
152
- }
153
- function makeInvokeMethod(e, r, n) {
154
- var o = h;
155
- return function (i, a) {
156
- if (o === f) throw new Error("Generator is already running");
157
- if (o === s) {
158
- if ("throw" === i) throw a;
159
- return {
160
- value: t,
161
- done: !0
162
- };
163
- }
164
- for (n.method = i, n.arg = a;;) {
165
- var c = n.delegate;
166
- if (c) {
167
- var u = maybeInvokeDelegate(c, n);
168
- if (u) {
169
- if (u === y) continue;
170
- return u;
171
- }
172
- }
173
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
174
- if (o === h) throw o = s, n.arg;
175
- n.dispatchException(n.arg);
176
- } else "return" === n.method && n.abrupt("return", n.arg);
177
- o = f;
178
- var p = tryCatch(e, r, n);
179
- if ("normal" === p.type) {
180
- if (o = n.done ? s : l, p.arg === y) continue;
181
- return {
182
- value: p.arg,
183
- done: n.done
184
- };
185
- }
186
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
187
- }
188
- };
189
- }
190
- function maybeInvokeDelegate(e, r) {
191
- var n = r.method,
192
- o = e.iterator[n];
193
- if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
194
- var i = tryCatch(o, e.iterator, r.arg);
195
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
196
- var a = i.arg;
197
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
198
- }
199
- function pushTryEntry(t) {
200
- var e = {
201
- tryLoc: t[0]
202
- };
203
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
204
- }
205
- function resetTryEntry(t) {
206
- var e = t.completion || {};
207
- e.type = "normal", delete e.arg, t.completion = e;
208
- }
209
- function Context(t) {
210
- this.tryEntries = [{
211
- tryLoc: "root"
212
- }], t.forEach(pushTryEntry, this), this.reset(!0);
213
- }
214
- function values(e) {
215
- if (e || "" === e) {
216
- var r = e[a];
217
- if (r) return r.call(e);
218
- if ("function" == typeof e.next) return e;
219
- if (!isNaN(e.length)) {
220
- var o = -1,
221
- i = function next() {
222
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
223
- return next.value = t, next.done = !0, next;
224
- };
225
- return i.next = i;
226
- }
227
- }
228
- throw new TypeError(_typeof$1(e) + " is not iterable");
229
- }
230
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
231
- value: GeneratorFunctionPrototype,
232
- configurable: !0
233
- }), o(GeneratorFunctionPrototype, "constructor", {
234
- value: GeneratorFunction,
235
- configurable: !0
236
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
237
- var e = "function" == typeof t && t.constructor;
238
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
239
- }, e.mark = function (t) {
240
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
241
- }, e.awrap = function (t) {
242
- return {
243
- __await: t
244
- };
245
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
246
- return this;
247
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
248
- void 0 === i && (i = Promise);
249
- var a = new AsyncIterator(wrap(t, r, n, o), i);
250
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
251
- return t.done ? t.value : a.next();
252
- });
253
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
254
- return this;
255
- }), define(g, "toString", function () {
256
- return "[object Generator]";
257
- }), e.keys = function (t) {
258
- var e = Object(t),
259
- r = [];
260
- for (var n in e) r.push(n);
261
- return r.reverse(), function next() {
262
- for (; r.length;) {
263
- var t = r.pop();
264
- if (t in e) return next.value = t, next.done = !1, next;
265
- }
266
- return next.done = !0, next;
267
- };
268
- }, e.values = values, Context.prototype = {
269
- constructor: Context,
270
- reset: function reset(e) {
271
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
272
- },
273
- stop: function stop() {
274
- this.done = !0;
275
- var t = this.tryEntries[0].completion;
276
- if ("throw" === t.type) throw t.arg;
277
- return this.rval;
278
- },
279
- dispatchException: function dispatchException(e) {
280
- if (this.done) throw e;
281
- var r = this;
282
- function handle(n, o) {
283
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
284
- }
285
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
286
- var i = this.tryEntries[o],
287
- a = i.completion;
288
- if ("root" === i.tryLoc) return handle("end");
289
- if (i.tryLoc <= this.prev) {
290
- var c = n.call(i, "catchLoc"),
291
- u = n.call(i, "finallyLoc");
292
- if (c && u) {
293
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
294
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
295
- } else if (c) {
296
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
297
- } else {
298
- if (!u) throw new Error("try statement without catch or finally");
299
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
300
- }
301
- }
302
- }
303
- },
304
- abrupt: function abrupt(t, e) {
305
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
306
- var o = this.tryEntries[r];
307
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
308
- var i = o;
309
- break;
310
- }
311
- }
312
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
313
- var a = i ? i.completion : {};
314
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
315
- },
316
- complete: function complete(t, e) {
317
- if ("throw" === t.type) throw t.arg;
318
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
319
- },
320
- finish: function finish(t) {
321
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
322
- var r = this.tryEntries[e];
323
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
324
- }
325
- },
326
- "catch": function _catch(t) {
327
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
328
- var r = this.tryEntries[e];
329
- if (r.tryLoc === t) {
330
- var n = r.completion;
331
- if ("throw" === n.type) {
332
- var o = n.arg;
333
- resetTryEntry(r);
334
- }
335
- return o;
336
- }
337
- }
338
- throw new Error("illegal catch attempt");
339
- },
340
- delegateYield: function delegateYield(e, r, n) {
341
- return this.delegate = {
342
- iterator: values(e),
343
- resultName: r,
344
- nextLoc: n
345
- }, "next" === this.method && (this.arg = t), y;
346
- }
347
- }, e;
348
- }
349
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
350
- } (regeneratorRuntime$1));
351
-
352
- // TODO(Babel 8): Remove this file.
353
-
354
- var runtime = regeneratorRuntime$1.exports();
355
- var regenerator = runtime;
356
-
357
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
358
- try {
359
- regeneratorRuntime = runtime;
360
- } catch (accidentalStrictMode) {
361
- if (typeof globalThis === "object") {
362
- globalThis.regeneratorRuntime = runtime;
363
- } else {
364
- Function("r", "regeneratorRuntime = r")(runtime);
365
- }
366
- }
367
-
368
46
  var en = {
369
47
  root: 'root',
370
48
  selectAll: 'Select all',
@@ -24,8 +24,10 @@ import 'rc-dropdown';
24
24
  import '../_verture/usePopupContainer-635f66f4.js';
25
25
  import 'dayjs';
26
26
  import '@paraview/lib';
27
- import '../_verture/slicedToArray-8223a2ef.js';
28
- import '../_verture/typeof-c310ee4a.js';
27
+ import '../_verture/slicedToArray-a8206399.js';
28
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
29
+ import '../_verture/index-287ae1b3.js';
30
+ import '../_verture/typeof-6ec38efd.js';
29
31
  import '../Radio/index.js';
30
32
  import '../Checkbox/index.js';
31
33
  import '../Loading/index.js';
@@ -26,8 +26,7 @@ import '@para-ui/icons/Close';
26
26
  import '@para-ui/icons/EditOutline';
27
27
  import '../_verture/tinycolor-ece3542d.js';
28
28
  import '@para-ui/icons/Plus';
29
- import '../_verture/defineProperty-1d116156.js';
30
- import '../_verture/typeof-adeedc13.js';
29
+ import '../_verture/defineProperty-51493dbe.js';
31
30
  import 'rc-picker';
32
31
  import '@para-ui/icons/CloseCircleF';
33
32
  import '@para-ui/icons/Calendar';
package/Tooltip/index.js CHANGED
@@ -308,6 +308,12 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((props, ref) => {
308
308
  if (maxWidth) {
309
309
  mergeOverlayStyle.maxWidth = maxWidth;
310
310
  }
311
+ const align = {
312
+ targetOffset
313
+ };
314
+ if (props.offset) {
315
+ align.offset = props.offset;
316
+ }
311
317
  return jsx(RcTooltip, Object.assign({}, restProps, {
312
318
  prefixCls: prefixCls,
313
319
  placement: followCursor ? 'top' : mapLegacyPlacement(placement),
@@ -321,9 +327,7 @@ const Tooltip = /*#__PURE__*/React__default.forwardRef((props, ref) => {
321
327
  }), title]
322
328
  }),
323
329
  visible: tempVisible,
324
- align: {
325
- targetOffset
326
- },
330
+ align: align,
327
331
  onVisibleChange: onVisibleChange,
328
332
  onPopupAlign: onPopupAlign,
329
333
  overlayStyle: mergeOverlayStyle,
@@ -25,5 +25,7 @@ export interface TooltipProps extends Partial<Omit<RcTooltipProps, 'children'>>
25
25
  maxWidth?: number | string;
26
26
  /** 禁用标志 */
27
27
  disabled?: boolean;
28
+ /** 偏移 */
29
+ offset?: [number, number];
28
30
  [name: string]: any;
29
31
  }
package/Tree/index.js CHANGED
@@ -1,11 +1,16 @@
1
- import { T as Tree } from '../_verture/index-767e63dd.js';
2
- export { T as default } from '../_verture/index-767e63dd.js';
1
+ import { T as Tree } from '../_verture/index-0ad6af26.js';
2
+ export { T as default } from '../_verture/index-0ad6af26.js';
3
+ import '../_verture/toConsumableArray-8f4c9589.js';
4
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
5
+ import '../_verture/defineProperty-51493dbe.js';
6
+ import '../_verture/slicedToArray-a8206399.js';
7
+ import '../_verture/index-287ae1b3.js';
8
+ import '../_verture/typeof-6ec38efd.js';
3
9
  import '../_verture/tslib.es6-55ed4bd2.js';
4
10
  import 'react/jsx-runtime';
5
11
  import 'react';
6
12
  import 'rc-tree';
7
13
  import 'clsx';
8
- import '../_verture/typeof-adeedc13.js';
9
14
  import '@para-ui/icons/LoadingF';
10
15
  import '@para-ui/icons/Document';
11
16
  import '@para-ui/icons/DownTriangleF';
@@ -19,7 +24,6 @@ import '../_verture/constant-5317fc89.js';
19
24
  import '@para-ui/icons/Forbid';
20
25
  import '../_verture/style-inject.es-300983ab.js';
21
26
  import '@para-ui/icons/Help';
22
- import '../_verture/slicedToArray-8223a2ef.js';
23
27
  import 'react-dom';
24
28
  import '@para-ui/icons/EditFile';
25
29
  import '@para-ui/icons/PlusCircle';
package/Upload/index.js CHANGED
@@ -14,7 +14,7 @@ import Forbid from '@para-ui/icons/Forbid';
14
14
  import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
15
15
  import EditOutline from '@para-ui/icons/EditOutline';
16
16
  import { Button } from '../Button/index.js';
17
- import { b as _slicedToArray } from '../_verture/slicedToArray-8223a2ef.js';
17
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
18
18
  import { Slider } from '../Slider/index.js';
19
19
  import Cropper from 'react-easy-crop';
20
20
  import { Modal } from '../Modal/index.js';
@@ -30,6 +30,7 @@ import '../_verture/usePopupContainer-635f66f4.js';
30
30
  import 'dayjs';
31
31
  import '@paraview/lib';
32
32
  import '../AutoTips/index.js';
33
+ import '../_verture/unsupportedIterableToArray-cb478f24.js';
33
34
  import 'rc-slider';
34
35
  import 'rc-dialog';
35
36
  import '@para-ui/icons/Close';
@@ -1,4 +1,12 @@
1
- import { _ as _typeof } from './typeof-adeedc13.js';
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
+ }
2
10
 
3
11
  function _toPrimitive(input, hint) {
4
12
  if (_typeof(input) !== "object" || input === null) return input;
@@ -31,4 +39,4 @@ function _defineProperty(obj, key, value) {
31
39
  return obj;
32
40
  }
33
41
 
34
- export { _defineProperty as _, _toPropertyKey as a };
42
+ export { _defineProperty as _, _typeof as a, _toPropertyKey as b };
@@ -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 { b as _slicedToArray } from './slicedToArray-8223a2ef.js';
4
+ import { _ as _slicedToArray } from './slicedToArray-a8206399.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';