@para-ui/core 4.0.19-aplha5 → 4.0.19-aplha6

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 (128) hide show
  1. package/AutoBox/index.js +1 -1
  2. package/AutoTips/index.js +1 -1
  3. package/Breadcrumbs/index.js +1 -1
  4. package/Button/index.js +1 -1
  5. package/ButtonGroup/index.js +1 -1
  6. package/Carousel/index.js +1 -1
  7. package/Cascader/index.js +3 -3
  8. package/Checkbox/index.js +1 -1
  9. package/CheckboxGroup/index.js +1 -1
  10. package/ComboSelect/index.js +2 -2
  11. package/CopyText/index.js +1 -1
  12. package/CycleSelector/index.js +2 -3
  13. package/DatePicker/index.js +1 -1
  14. package/Descriptions/index.js +1 -1
  15. package/Desktop/index.js +1 -1
  16. package/DragVerify/index.js +1 -1
  17. package/Drawer/index.js +1 -1
  18. package/DynamicMultiBox/index.js +2 -2
  19. package/Form/index.js +3 -3
  20. package/FormItem/index.js +3 -3
  21. package/FunctionModal/index.js +3 -3
  22. package/Help/index.js +1 -1
  23. package/InputLang/index.js +1 -1
  24. package/InputNumber/index.js +1 -1
  25. package/Label/index.js +1 -1
  26. package/Menu/index.js +1 -1
  27. package/Modal/index.js +1 -1
  28. package/MultiBox/index.js +1 -1
  29. package/OperateBtn/index.js +1 -1
  30. package/PageHeader/index.js +1 -1
  31. package/Pagination/index.js +1 -1
  32. package/PopConfirm/index.js +1 -1
  33. package/PopMenu/index.js +1 -1
  34. package/Popover/index.js +1 -1
  35. package/Progress/index.js +1 -1
  36. package/QuickReply/index.js +1 -1
  37. package/Radio/index.js +1 -1
  38. package/RadioGroup/index.js +1 -1
  39. package/Search/index.js +1 -1
  40. package/Select/index.js +1 -1
  41. package/SelectInput/index.js +1 -1
  42. package/Selector/index.js +326 -3
  43. package/SelectorPicker/index.js +1 -2
  44. package/SingleBox/index.js +1 -1
  45. package/Slider/index.js +1 -1
  46. package/Stepper/index.js +1 -1
  47. package/Switch/index.js +1 -1
  48. package/Table/index.js +1 -1
  49. package/Tabs/index.js +1 -1
  50. package/Tag/index.js +1 -1
  51. package/TextEditor/index.js +1 -1
  52. package/TextField/index.js +1 -1
  53. package/TimePicker/index.js +1 -1
  54. package/Timeline/index.js +1 -1
  55. package/Title/index.js +1 -1
  56. package/ToggleButton/index.js +1 -1
  57. package/Tooltip/index.js +1 -1
  58. package/Transfer/index.js +1 -1
  59. package/Tree/index.js +3 -3
  60. package/Upload/index.js +409 -626
  61. package/_verture/{index-42bdcb41.js → index-c77ccb98.js} +1 -1
  62. package/_verture/{index-4e2bdd78.js → index-f59b0bc0.js} +1 -1
  63. package/_verture/{modalContext-00cfd490.js → modalContext-c8cc3107.js} +1 -1
  64. package/_verture/tslib.es6-55ed4bd2.js +38 -0
  65. package/index.js +5 -7
  66. package/package.json +1 -2
  67. package/umd/AutoBox.js +3 -3
  68. package/umd/AutoTips.js +3 -3
  69. package/umd/Breadcrumbs.js +3 -3
  70. package/umd/Button.js +4 -4
  71. package/umd/ButtonGroup.js +4 -4
  72. package/umd/Cascader.js +4 -4
  73. package/umd/Checkbox.js +3 -3
  74. package/umd/CheckboxGroup.js +3 -3
  75. package/umd/Collapse.js +3 -3
  76. package/umd/ComboSelect.js +4 -4
  77. package/umd/CopyText.js +4 -4
  78. package/umd/CycleSelector.js +5 -5
  79. package/umd/DatePicker.js +5 -5
  80. package/umd/Descriptions.js +4 -4
  81. package/umd/Desktop.js +4 -4
  82. package/umd/Drawer.js +4 -4
  83. package/umd/Dropdown.js +4 -4
  84. package/umd/DynamicMultiBox.js +4 -4
  85. package/umd/Form.js +4 -4
  86. package/umd/FormItem.js +4 -4
  87. package/umd/FunctionModal.js +4 -4
  88. package/umd/Help.js +3 -3
  89. package/umd/InputLang.js +4 -4
  90. package/umd/InputNumber.js +3 -3
  91. package/umd/Label.js +3 -3
  92. package/umd/Menu.js +3 -3
  93. package/umd/Modal.js +4 -4
  94. package/umd/MultiBox.js +4 -4
  95. package/umd/Notification.js +3 -3
  96. package/umd/OperateBtn.js +4 -4
  97. package/umd/PageHeader.js +4 -4
  98. package/umd/Pagination.js +4 -4
  99. package/umd/PopConfirm.js +4 -4
  100. package/umd/PopMenu.js +3 -3
  101. package/umd/Popover.js +3 -3
  102. package/umd/QuickReply.js +4 -4
  103. package/umd/Radio.js +3 -3
  104. package/umd/RadioGroup.js +3 -3
  105. package/umd/Search.js +4 -4
  106. package/umd/Select.js +4 -4
  107. package/umd/SelectInput.js +4 -4
  108. package/umd/Selector.js +4 -4
  109. package/umd/SelectorPicker.js +4 -4
  110. package/umd/SingleBox.js +4 -4
  111. package/umd/Slider.js +3 -3
  112. package/umd/Stepper.js +4 -4
  113. package/umd/Switch.js +3 -3
  114. package/umd/Table.js +4 -4
  115. package/umd/Tabs.js +5 -5
  116. package/umd/Tag.js +3 -3
  117. package/umd/TextEditor.js +3 -3
  118. package/umd/TextField.js +4 -4
  119. package/umd/TimePicker.js +4 -4
  120. package/umd/Title.js +4 -4
  121. package/umd/ToggleButton.js +4 -4
  122. package/umd/Tooltip.js +3 -3
  123. package/umd/Transfer.js +4 -4
  124. package/umd/Tree.js +4 -4
  125. package/umd/Upload.js +4 -4
  126. package/_verture/index-8ac46bd9.js +0 -327
  127. package/_verture/tslib.es6-fe0d4b4e.js +0 -43
  128. /package/_verture/{index-96ca38ae.js → index-543781c9.js} +0 -0
@@ -1,327 +0,0 @@
1
- import { _ as _typeof } from './typeof-6ec38efd.js';
2
-
3
- var regeneratorRuntime$1 = {exports: {}};
4
-
5
- (function (module) {
6
- var _typeof$1 = _typeof.exports["default"];
7
- function _regeneratorRuntime() {
8
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
9
- return e;
10
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
11
- var t,
12
- e = {},
13
- r = Object.prototype,
14
- n = r.hasOwnProperty,
15
- o = Object.defineProperty || function (t, e, r) {
16
- t[e] = r.value;
17
- },
18
- i = "function" == typeof Symbol ? Symbol : {},
19
- a = i.iterator || "@@iterator",
20
- c = i.asyncIterator || "@@asyncIterator",
21
- u = i.toStringTag || "@@toStringTag";
22
- function define(t, e, r) {
23
- return Object.defineProperty(t, e, {
24
- value: r,
25
- enumerable: !0,
26
- configurable: !0,
27
- writable: !0
28
- }), t[e];
29
- }
30
- try {
31
- define({}, "");
32
- } catch (t) {
33
- define = function define(t, e, r) {
34
- return t[e] = r;
35
- };
36
- }
37
- function wrap(t, e, r, n) {
38
- var i = e && e.prototype instanceof Generator ? e : Generator,
39
- a = Object.create(i.prototype),
40
- c = new Context(n || []);
41
- return o(a, "_invoke", {
42
- value: makeInvokeMethod(t, r, c)
43
- }), a;
44
- }
45
- function tryCatch(t, e, r) {
46
- try {
47
- return {
48
- type: "normal",
49
- arg: t.call(e, r)
50
- };
51
- } catch (t) {
52
- return {
53
- type: "throw",
54
- arg: t
55
- };
56
- }
57
- }
58
- e.wrap = wrap;
59
- var h = "suspendedStart",
60
- l = "suspendedYield",
61
- f = "executing",
62
- s = "completed",
63
- y = {};
64
- function Generator() {}
65
- function GeneratorFunction() {}
66
- function GeneratorFunctionPrototype() {}
67
- var p = {};
68
- define(p, a, function () {
69
- return this;
70
- });
71
- var d = Object.getPrototypeOf,
72
- v = d && d(d(values([])));
73
- v && v !== r && n.call(v, a) && (p = v);
74
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
75
- function defineIteratorMethods(t) {
76
- ["next", "throw", "return"].forEach(function (e) {
77
- define(t, e, function (t) {
78
- return this._invoke(e, t);
79
- });
80
- });
81
- }
82
- function AsyncIterator(t, e) {
83
- function invoke(r, o, i, a) {
84
- var c = tryCatch(t[r], t, o);
85
- if ("throw" !== c.type) {
86
- var u = c.arg,
87
- h = u.value;
88
- return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
89
- invoke("next", t, i, a);
90
- }, function (t) {
91
- invoke("throw", t, i, a);
92
- }) : e.resolve(h).then(function (t) {
93
- u.value = t, i(u);
94
- }, function (t) {
95
- return invoke("throw", t, i, a);
96
- });
97
- }
98
- a(c.arg);
99
- }
100
- var r;
101
- o(this, "_invoke", {
102
- value: function value(t, n) {
103
- function callInvokeWithMethodAndArg() {
104
- return new e(function (e, r) {
105
- invoke(t, n, e, r);
106
- });
107
- }
108
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
109
- }
110
- });
111
- }
112
- function makeInvokeMethod(e, r, n) {
113
- var o = h;
114
- return function (i, a) {
115
- if (o === f) throw Error("Generator is already running");
116
- if (o === s) {
117
- if ("throw" === i) throw a;
118
- return {
119
- value: t,
120
- done: !0
121
- };
122
- }
123
- for (n.method = i, n.arg = a;;) {
124
- var c = n.delegate;
125
- if (c) {
126
- var u = maybeInvokeDelegate(c, n);
127
- if (u) {
128
- if (u === y) continue;
129
- return u;
130
- }
131
- }
132
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
133
- if (o === h) throw o = s, n.arg;
134
- n.dispatchException(n.arg);
135
- } else "return" === n.method && n.abrupt("return", n.arg);
136
- o = f;
137
- var p = tryCatch(e, r, n);
138
- if ("normal" === p.type) {
139
- if (o = n.done ? s : l, p.arg === y) continue;
140
- return {
141
- value: p.arg,
142
- done: n.done
143
- };
144
- }
145
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
146
- }
147
- };
148
- }
149
- function maybeInvokeDelegate(e, r) {
150
- var n = r.method,
151
- o = e.iterator[n];
152
- 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;
153
- var i = tryCatch(o, e.iterator, r.arg);
154
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
155
- var a = i.arg;
156
- 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);
157
- }
158
- function pushTryEntry(t) {
159
- var e = {
160
- tryLoc: t[0]
161
- };
162
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
163
- }
164
- function resetTryEntry(t) {
165
- var e = t.completion || {};
166
- e.type = "normal", delete e.arg, t.completion = e;
167
- }
168
- function Context(t) {
169
- this.tryEntries = [{
170
- tryLoc: "root"
171
- }], t.forEach(pushTryEntry, this), this.reset(!0);
172
- }
173
- function values(e) {
174
- if (e || "" === e) {
175
- var r = e[a];
176
- if (r) return r.call(e);
177
- if ("function" == typeof e.next) return e;
178
- if (!isNaN(e.length)) {
179
- var o = -1,
180
- i = function next() {
181
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
182
- return next.value = t, next.done = !0, next;
183
- };
184
- return i.next = i;
185
- }
186
- }
187
- throw new TypeError(_typeof$1(e) + " is not iterable");
188
- }
189
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
190
- value: GeneratorFunctionPrototype,
191
- configurable: !0
192
- }), o(GeneratorFunctionPrototype, "constructor", {
193
- value: GeneratorFunction,
194
- configurable: !0
195
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
196
- var e = "function" == typeof t && t.constructor;
197
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
198
- }, e.mark = function (t) {
199
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
200
- }, e.awrap = function (t) {
201
- return {
202
- __await: t
203
- };
204
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
205
- return this;
206
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
207
- void 0 === i && (i = Promise);
208
- var a = new AsyncIterator(wrap(t, r, n, o), i);
209
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
210
- return t.done ? t.value : a.next();
211
- });
212
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
213
- return this;
214
- }), define(g, "toString", function () {
215
- return "[object Generator]";
216
- }), e.keys = function (t) {
217
- var e = Object(t),
218
- r = [];
219
- for (var n in e) r.push(n);
220
- return r.reverse(), function next() {
221
- for (; r.length;) {
222
- var t = r.pop();
223
- if (t in e) return next.value = t, next.done = !1, next;
224
- }
225
- return next.done = !0, next;
226
- };
227
- }, e.values = values, Context.prototype = {
228
- constructor: Context,
229
- reset: function reset(e) {
230
- 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);
231
- },
232
- stop: function stop() {
233
- this.done = !0;
234
- var t = this.tryEntries[0].completion;
235
- if ("throw" === t.type) throw t.arg;
236
- return this.rval;
237
- },
238
- dispatchException: function dispatchException(e) {
239
- if (this.done) throw e;
240
- var r = this;
241
- function handle(n, o) {
242
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
243
- }
244
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
245
- var i = this.tryEntries[o],
246
- a = i.completion;
247
- if ("root" === i.tryLoc) return handle("end");
248
- if (i.tryLoc <= this.prev) {
249
- var c = n.call(i, "catchLoc"),
250
- u = n.call(i, "finallyLoc");
251
- if (c && u) {
252
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
253
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
254
- } else if (c) {
255
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
256
- } else {
257
- if (!u) throw Error("try statement without catch or finally");
258
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
259
- }
260
- }
261
- }
262
- },
263
- abrupt: function abrupt(t, e) {
264
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
265
- var o = this.tryEntries[r];
266
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
267
- var i = o;
268
- break;
269
- }
270
- }
271
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
272
- var a = i ? i.completion : {};
273
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
274
- },
275
- complete: function complete(t, e) {
276
- if ("throw" === t.type) throw t.arg;
277
- 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;
278
- },
279
- finish: function finish(t) {
280
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
281
- var r = this.tryEntries[e];
282
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
283
- }
284
- },
285
- "catch": function _catch(t) {
286
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
287
- var r = this.tryEntries[e];
288
- if (r.tryLoc === t) {
289
- var n = r.completion;
290
- if ("throw" === n.type) {
291
- var o = n.arg;
292
- resetTryEntry(r);
293
- }
294
- return o;
295
- }
296
- }
297
- throw Error("illegal catch attempt");
298
- },
299
- delegateYield: function delegateYield(e, r, n) {
300
- return this.delegate = {
301
- iterator: values(e),
302
- resultName: r,
303
- nextLoc: n
304
- }, "next" === this.method && (this.arg = t), y;
305
- }
306
- }, e;
307
- }
308
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
309
- } (regeneratorRuntime$1));
310
-
311
- // TODO(Babel 8): Remove this file.
312
-
313
- var runtime = regeneratorRuntime$1.exports();
314
- var regenerator = runtime;
315
-
316
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
317
- try {
318
- regeneratorRuntime = runtime;
319
- } catch (accidentalStrictMode) {
320
- if (typeof globalThis === "object") {
321
- globalThis.regeneratorRuntime = runtime;
322
- } else {
323
- Function("r", "regeneratorRuntime = r")(runtime);
324
- }
325
- }
326
-
327
- export { regenerator as r };
@@ -1,43 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
-
16
- function __rest(s, e) {
17
- var t = {};
18
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
- t[p] = s[p];
20
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
- t[p[i]] = s[p[i]];
24
- }
25
- return t;
26
- }
27
-
28
- function __awaiter(thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- }
37
-
38
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
39
- var e = new Error(message);
40
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
41
- };
42
-
43
- export { __rest as _, __awaiter as a };