@para-ui/core 4.0.29 → 4.0.31

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 (75) hide show
  1. package/AutoButton/index.d.ts +41 -0
  2. package/AutoButton/index.js +213 -0
  3. package/AutoButton/lang/en_US.d.ts +4 -0
  4. package/AutoButton/lang/index.d.ts +9 -0
  5. package/AutoButton/lang/zh_CN.d.ts +4 -0
  6. package/Badge/index.d.ts +3 -1
  7. package/Badge/index.js +15 -5
  8. package/Card/index.d.ts +53 -0
  9. package/Card/index.js +218 -0
  10. package/Card/lang/en_US.d.ts +5 -0
  11. package/Card/lang/index.d.ts +11 -0
  12. package/Card/lang/zh_CN.d.ts +5 -0
  13. package/Cascader/index.js +6 -7
  14. package/ComboSelect/index.js +7 -4
  15. package/CycleSelector/index.js +3 -1
  16. package/DatePicker/index.js +3 -1
  17. package/DragVerify/index.js +7 -2
  18. package/DynamicMultiBox/index.js +8 -6
  19. package/Form/index.js +8 -5
  20. package/FormItem/index.js +8 -5
  21. package/Image/index.js +3 -4
  22. package/PopConfirm/index.js +2 -2
  23. package/PopMenu/index.js +16 -5
  24. package/QuickReply/index.js +1 -1
  25. package/README.md +14 -0
  26. package/RangeInput/index.d.ts +59 -0
  27. package/RangeInput/index.js +193 -0
  28. package/Select/index.js +2 -2
  29. package/Selector/index.js +282 -548
  30. package/SelectorPicker/index.js +5 -5
  31. package/SingleBox/index.js +2 -2
  32. package/SortBox/index.d.ts +27 -0
  33. package/SortBox/index.js +64 -0
  34. package/Stepper/index.js +1 -1
  35. package/Switch/index.js +2 -2
  36. package/Table/index.js +471 -409
  37. package/Tabs/index.js +2 -2
  38. package/Tag/index.js +82 -53
  39. package/TextEditor/index.js +3 -3
  40. package/TimePicker/index.js +3 -1
  41. package/Timeline/index.js +14 -20
  42. package/ToggleButton/index.js +25 -26
  43. package/Transfer/index.js +48 -43
  44. package/Tree/index.js +8 -5
  45. package/Upload/ImageUpload/index.d.ts +2 -7
  46. package/Upload/index.js +848 -495
  47. package/Upload/interface.d.ts +18 -0
  48. package/_verture/{Portal-5bd49559.js → Portal-edd94cac.js} +2 -2
  49. package/_verture/{index-15a0b6a6.js → index-3795d730.js} +1 -1
  50. package/_verture/{index-e9405e35.js → index-567b5779.js} +395 -313
  51. package/_verture/{index-68f0506c.js → index-8752ccab.js} +4 -5
  52. package/_verture/index-94e24006.js +327 -0
  53. package/_verture/{slicedToArray-a8206399.js → slicedToArray-75fa4188.js} +15 -2
  54. package/_verture/{toConsumableArray-8f4c9589.js → toConsumableArray-c7a8028f.js} +1 -1
  55. package/index.d.ts +8 -0
  56. package/index.js +16 -11
  57. package/locale/en-US.d.ts +7 -0
  58. package/locale/index.d.ts +14 -0
  59. package/locale/index.js +14 -0
  60. package/locale/zh-CN.d.ts +7 -0
  61. package/package.json +2 -4
  62. package/umd/AutoButton.js +43 -0
  63. package/umd/Badge.js +1 -1
  64. package/umd/Card.js +1 -0
  65. package/umd/DragVerify.js +1 -1
  66. package/umd/FunctionModal.js +3 -3
  67. package/umd/Modal.js +2 -2
  68. package/umd/PopMenu.js +2 -2
  69. package/umd/RangeInput.js +43 -0
  70. package/umd/SortBox.js +41 -0
  71. package/umd/Upload.js +4 -4
  72. package/umd/locale.js +1 -1
  73. package/_verture/unsupportedIterableToArray-cb478f24.js +0 -16
  74. /package/_verture/{index-0f5ee6f7.js → index-c8cb6751.js} +0 -0
  75. /package/_verture/{typeof-6ec38efd.js → typeof-4646b22c.js} +0 -0
@@ -1,17 +1,16 @@
1
1
  import { _ as __rest } from './tslib.es6-55ed4bd2.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-5bd49559.js';
4
- import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-8f4c9589.js';
3
+ import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-edd94cac.js';
4
+ import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
5
5
  import { t as toPropertyKey, _ as _defineProperty } from './defineProperty-6f62bb2a.js';
6
- import { _ as _slicedToArray, a as _arrayWithHoles, b as _nonIterableRest } from './slicedToArray-a8206399.js';
6
+ import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
7
7
  import { _ as _typeof$1 } from './typeof-adeedc13.js';
8
8
  import * as React$4 from 'react';
9
9
  import React__default, { useState as useState$1, useMemo, useCallback, useRef, useEffect } from 'react';
10
10
  import ReactDOM, { unstable_batchedUpdates, flushSync } from 'react-dom';
11
11
  import CSSMotion from 'rc-motion';
12
- import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
13
12
  import clsx$1 from 'clsx';
14
- import { _ as _typeof$2 } from './typeof-6ec38efd.js';
13
+ import { _ as _typeof$2 } from './typeof-4646b22c.js';
15
14
  import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
16
15
  import Right from '@para-ui/icons/Right';
17
16
  import Down from '@para-ui/icons/Down';
@@ -0,0 +1,327 @@
1
+ import { _ as _typeof } from './typeof-4646b22c.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,4 +1,17 @@
1
- import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
1
+ function _arrayLikeToArray(arr, len) {
2
+ if (len == null || len > arr.length) len = arr.length;
3
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
4
+ return arr2;
5
+ }
6
+
7
+ function _unsupportedIterableToArray(o, minLen) {
8
+ if (!o) return;
9
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
10
+ var n = Object.prototype.toString.call(o).slice(8, -1);
11
+ if (n === "Object" && o.constructor) n = o.constructor.name;
12
+ if (n === "Map" || n === "Set") return Array.from(o);
13
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
14
+ }
2
15
 
3
16
  function _arrayWithHoles(arr) {
4
17
  if (Array.isArray(arr)) return arr;
@@ -40,4 +53,4 @@ function _slicedToArray(arr, i) {
40
53
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
41
54
  }
42
55
 
43
- export { _slicedToArray as _, _arrayWithHoles as a, _nonIterableRest as b };
56
+ export { _slicedToArray as _, _arrayWithHoles as a, _unsupportedIterableToArray as b, _nonIterableRest as c, _arrayLikeToArray as d };
@@ -1,4 +1,4 @@
1
- import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
1
+ import { d as _arrayLikeToArray, b as _unsupportedIterableToArray } from './slicedToArray-75fa4188.js';
2
2
 
3
3
  function _arrayWithoutHoles(arr) {
4
4
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
package/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export { default as AutoBox } from './AutoBox';
2
2
  export * from './AutoBox';
3
+ export { default as AutoButton } from './AutoButton';
4
+ export * from './AutoButton';
3
5
  export { default as AutoTips } from './AutoTips';
4
6
  export * from './AutoTips';
5
7
  export { default as Badge } from './Badge';
@@ -10,6 +12,8 @@ export { default as Button } from './Button';
10
12
  export * from './Button';
11
13
  export { default as ButtonGroup } from './ButtonGroup';
12
14
  export * from './ButtonGroup';
15
+ export { default as Card } from './Card';
16
+ export * from './Card';
13
17
  export { default as Carousel } from './Carousel';
14
18
  export * from './Carousel';
15
19
  export { default as Cascader } from './Cascader';
@@ -112,6 +116,8 @@ export { default as Radio } from './Radio';
112
116
  export * from './Radio';
113
117
  export { default as RadioGroup } from './RadioGroup';
114
118
  export * from './RadioGroup';
119
+ export { default as RangeInput } from './RangeInput';
120
+ export * from './RangeInput';
115
121
  export { default as Search } from './Search';
116
122
  export * from './Search';
117
123
  export { default as Select } from './Select';
@@ -126,6 +132,8 @@ export { default as SingleBox } from './SingleBox';
126
132
  export * from './SingleBox';
127
133
  export { default as Slider } from './Slider';
128
134
  export * from './Slider';
135
+ export { default as SortBox } from './SortBox';
136
+ export * from './SortBox';
129
137
  export { default as Status } from './Status';
130
138
  export * from './Status';
131
139
  export { default as Stepper } from './Stepper';
package/index.js CHANGED
@@ -1,11 +1,13 @@
1
1
  export { AutoBox } from './AutoBox/index.js';
2
+ export { AutoButton } from './AutoButton/index.js';
2
3
  export { default as AutoTips, AutoTipsMultiline } from './AutoTips/index.js';
3
4
  export { Badge } from './Badge/index.js';
4
5
  export { Breadcrumbs } from './Breadcrumbs/index.js';
5
6
  export { Button } from './Button/index.js';
6
7
  export { ButtonGroup } from './ButtonGroup/index.js';
8
+ export { Card } from './Card/index.js';
7
9
  export { Carousel } from './Carousel/index.js';
8
- export { C as Cascader } from './_verture/index-68f0506c.js';
10
+ export { C as Cascader } from './_verture/index-8752ccab.js';
9
11
  export { Checkbox } from './Checkbox/index.js';
10
12
  export { CheckboxGroup } from './CheckboxGroup/index.js';
11
13
  export { Collapse } from './Collapse/index.js';
@@ -26,7 +28,7 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
26
28
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
27
29
  export { default as Empty } from './Empty/index.js';
28
30
  export { default as Form } from './Form/index.js';
29
- export { F as FormItem } from './_verture/index-15a0b6a6.js';
31
+ export { F as FormItem } from './_verture/index-3795d730.js';
30
32
  export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-10f0c5aa.js';
31
33
  export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
32
34
  export { default as Help } from './Help/index.js';
@@ -55,6 +57,7 @@ export { default as Querying } from './Querying/index.js';
55
57
  export { QuickReply, QuickReplyCode } from './QuickReply/index.js';
56
58
  export { Radio } from './Radio/index.js';
57
59
  export { RadioGroup } from './RadioGroup/index.js';
60
+ export { RangeInput } from './RangeInput/index.js';
58
61
  export { Search } from './Search/index.js';
59
62
  export { default as Select } from './Select/index.js';
60
63
  export { SelectInput } from './SelectInput/index.js';
@@ -62,6 +65,7 @@ export { default as Selector, handFieldConfig } from './Selector/index.js';
62
65
  export { default as SelectorPicker } from './SelectorPicker/index.js';
63
66
  export { SingleBox } from './SingleBox/index.js';
64
67
  export { Slider } from './Slider/index.js';
68
+ export { SortBox } from './SortBox/index.js';
65
69
  export { Status } from './Status/index.js';
66
70
  export { Stepper } from './Stepper/index.js';
67
71
  export { Switch } from './Switch/index.js';
@@ -76,7 +80,7 @@ export { Title } from './Title/index.js';
76
80
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
77
81
  export { Tooltip } from './Tooltip/index.js';
78
82
  export { SSortablejs, Transfer } from './Transfer/index.js';
79
- export { T as Tree } from './_verture/index-e9405e35.js';
83
+ export { T as Tree } from './_verture/index-567b5779.js';
80
84
  export { default as Upload } from './Upload/index.js';
81
85
  export { default as Utils, getDateYYYYMMddHHMM, pixelReplacement } from './Utils/index.js';
82
86
  export { default as locale } from './locale/index.js';
@@ -87,24 +91,24 @@ import '@paraview/lib';
87
91
  import './_verture/constant-5317fc89.js';
88
92
  import '@para-ui/icons/More';
89
93
  import './_verture/style-inject.es-300983ab.js';
94
+ import './_verture/tslib.es6-55ed4bd2.js';
95
+ import '@para-ui/icons/MoreVert';
90
96
  import 'clsx';
91
- import '@para-ui/icons/Return';
92
97
  import './_verture/useFormatMessage-1fc7c957.js';
93
- import './_verture/tslib.es6-55ed4bd2.js';
98
+ import '@para-ui/icons/Return';
94
99
  import '@para-ui/icons/LoadingF';
95
100
  import '@para-ui/icons/Down';
96
101
  import '@para-ui/icons/Forbid';
97
102
  import 'react-slick';
98
103
  import '@para-ui/icons/RightCircleF';
99
104
  import '@para-ui/icons/LeftCircleF';
100
- import './_verture/Portal-5bd49559.js';
101
- import './_verture/slicedToArray-a8206399.js';
102
- import './_verture/unsupportedIterableToArray-cb478f24.js';
105
+ import './_verture/Portal-edd94cac.js';
106
+ import './_verture/slicedToArray-75fa4188.js';
103
107
  import './_verture/typeof-adeedc13.js';
104
- import './_verture/toConsumableArray-8f4c9589.js';
108
+ import './_verture/toConsumableArray-c7a8028f.js';
105
109
  import './_verture/defineProperty-6f62bb2a.js';
106
110
  import 'rc-motion';
107
- import './_verture/typeof-6ec38efd.js';
111
+ import './_verture/typeof-4646b22c.js';
108
112
  import 'rc-tree/lib/utils/conductUtil';
109
113
  import '@para-ui/icons/Right';
110
114
  import '@para-ui/icons/CloseCircleF';
@@ -142,7 +146,7 @@ import '@para-ui/icons/Panel';
142
146
  import '@para-ui/icons/PlusCircleF';
143
147
  import '@para-ui/icons/Delete';
144
148
  import '@para-ui/icons/Drag';
145
- import './_verture/index-0f5ee6f7.js';
149
+ import './_verture/index-c8cb6751.js';
146
150
  import './_verture/sortable.esm-76fe46a4.js';
147
151
  import '@para-ui/icons/LinkGroup';
148
152
  import '@para-ui/icons/UploadFile';
@@ -170,6 +174,7 @@ import '@para-ui/icons/Plus';
170
174
  import '@para-ui/icons/EditOutline';
171
175
  import '@para-ui/icons/Message';
172
176
  import '@para-ui/icons/Set';
177
+ import './_verture/index-94e24006.js';
173
178
  import 'rc-slider';
174
179
  import './_verture/tinycolor-ece3542d.js';
175
180
  import 'rc-steps';
package/locale/en-US.d.ts CHANGED
@@ -1,10 +1,17 @@
1
1
  declare const _default: {
2
+ AutoButton: {
3
+ more: string;
4
+ };
2
5
  Breadcrumbs: {
3
6
  back: string;
4
7
  };
5
8
  Button: {
6
9
  moreActions: string;
7
10
  };
11
+ Card: {
12
+ more: string;
13
+ loadingMore: string;
14
+ };
8
15
  Cascader: {
9
16
  placeholder: string;
10
17
  disableTilte: string;
package/locale/index.d.ts CHANGED
@@ -1,11 +1,18 @@
1
1
  declare const _default: {
2
2
  enUS: {
3
+ AutoButton: {
4
+ more: string;
5
+ };
3
6
  Breadcrumbs: {
4
7
  back: string;
5
8
  };
6
9
  Button: {
7
10
  moreActions: string;
8
11
  };
12
+ Card: {
13
+ more: string;
14
+ loadingMore: string;
15
+ };
9
16
  Cascader: {
10
17
  placeholder: string;
11
18
  disableTilte: string;
@@ -275,12 +282,19 @@ declare const _default: {
275
282
  };
276
283
  };
277
284
  zhCN: {
285
+ AutoButton: {
286
+ more: string;
287
+ };
278
288
  Breadcrumbs: {
279
289
  back: string;
280
290
  };
281
291
  Button: {
282
292
  moreActions: string;
283
293
  };
294
+ Card: {
295
+ more: string;
296
+ loadingMore: string;
297
+ };
284
298
  Cascader: {
285
299
  placeholder: string;
286
300
  disableTilte: string;
package/locale/index.js CHANGED
@@ -1,10 +1,17 @@
1
1
  var enUS = {
2
+ "AutoButton": {
3
+ "more": "More"
4
+ },
2
5
  "Breadcrumbs": {
3
6
  "back": "Back"
4
7
  },
5
8
  "Button": {
6
9
  "moreActions": "More actions"
7
10
  },
11
+ "Card": {
12
+ "more": "Mouse scrolling to load more data",
13
+ "loadingMore": "Loading..."
14
+ },
8
15
  "Cascader": {
9
16
  "placeholder": "Please Choose",
10
17
  "disableTilte": "Disable"
@@ -275,12 +282,19 @@ var enUS = {
275
282
  };
276
283
 
277
284
  var zhCN = {
285
+ "AutoButton": {
286
+ "more": "更多"
287
+ },
278
288
  "Breadcrumbs": {
279
289
  "back": "返回"
280
290
  },
281
291
  "Button": {
282
292
  "moreActions": "更多操作"
283
293
  },
294
+ "Card": {
295
+ "more": "鼠标滚动,加载更多数据",
296
+ "loadingMore": "数据正在加载中…"
297
+ },
284
298
  "Cascader": {
285
299
  "placeholder": "请选择",
286
300
  "disableTilte": "禁用"
package/locale/zh-CN.d.ts CHANGED
@@ -1,10 +1,17 @@
1
1
  declare const _default: {
2
+ AutoButton: {
3
+ more: string;
4
+ };
2
5
  Breadcrumbs: {
3
6
  back: string;
4
7
  };
5
8
  Button: {
6
9
  moreActions: string;
7
10
  };
11
+ Card: {
12
+ more: string;
13
+ loadingMore: string;
14
+ };
8
15
  Cascader: {
9
16
  placeholder: string;
10
17
  disableTilte: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.29",
4
+ "version": "4.0.31",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -17,15 +17,13 @@
17
17
  "npm:publish": "./publish.sh",
18
18
  "test": "jest",
19
19
  "test:hnj": "jest __tests__/component/Switch/switch.test.tsx",
20
- "test:contentbox": "jest __tests__/component/ContentBox/ContentBox.test.tsx",
21
20
  "coverage": "jest --coverage",
22
21
  "lint:script": "git diff --name-only --diff-filter=d | grep -E '(.ts$|.tsx$|.jsx$)' | xargs eslint --fix",
23
22
  "lint:style": "git diff --name-only --diff-filter=d | grep -E '(.css$|.scss$)' | xargs stylelint --fix",
24
23
  "lint": "npm run lint:script && npm run lint:style",
25
24
  "lint:script-all": "eslint --ext .js,.jsx,.ts,.tsx --fix src",
26
25
  "lint:style-all": "stylelint 'src/**/*.{css,scss}' --fix",
27
- "lint:all": "npm run lint:script-all && npm run lint:style-all",
28
- "prepare": "if [ \"$CI\" != \"true\" ]; then npx husky install; fi"
26
+ "lint:all": "npm run lint:script-all && npm run lint:style-all"
29
27
  },
30
28
  "dependencies": {
31
29
  "@monaco-editor/react": "^4.6.0",