@para-ui/core 4.0.30 → 4.0.32

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 (70) 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 +5 -6
  14. package/ComboSelect/index.js +4 -5
  15. package/DragVerify/index.js +7 -2
  16. package/DynamicMultiBox/index.js +4 -5
  17. package/Form/index.js +5 -6
  18. package/FormItem/index.js +5 -6
  19. package/FunctionModal/index.js +2 -2
  20. package/Image/index.js +3 -4
  21. package/InputCode/index.d.ts +82 -0
  22. package/InputCode/index.js +392 -0
  23. package/InputCode/inputCodeCard/index.d.ts +10 -0
  24. package/InputCode/inputCodeInput/index.d.ts +10 -0
  25. package/InputCode/lang/en_US.d.ts +7 -0
  26. package/InputCode/lang/index.d.ts +15 -0
  27. package/InputCode/lang/zh_CN.d.ts +7 -0
  28. package/PopMenu/index.js +16 -5
  29. package/README.md +15 -0
  30. package/RangeInput/index.d.ts +4 -0
  31. package/RangeInput/index.js +32 -8
  32. package/Selector/index.js +1 -2
  33. package/SelectorPicker/index.js +1 -2
  34. package/SortBox/index.d.ts +29 -0
  35. package/SortBox/index.js +84 -0
  36. package/Table/index.js +470 -409
  37. package/Timeline/index.js +13 -20
  38. package/Tooltip/index.js +26 -27
  39. package/Transfer/index.js +1 -2
  40. package/Tree/index.js +4 -5
  41. package/Upload/ImageUpload/index.d.ts +2 -7
  42. package/Upload/index.js +110 -34
  43. package/Upload/interface.d.ts +18 -0
  44. package/_verture/{Portal-5bf66fed.js → Portal-42560ff0.js} +2 -2
  45. package/_verture/{index-28edf318.js → index-44152845.js} +2 -2
  46. package/_verture/{index-8ec857b4.js → index-519d0a1f.js} +3 -4
  47. package/_verture/{index-33866394.js → index-b037486c.js} +1 -1
  48. package/_verture/{slicedToArray-a8206399.js → slicedToArray-75fa4188.js} +15 -2
  49. package/_verture/{toConsumableArray-8f4c9589.js → toConsumableArray-c7a8028f.js} +1 -1
  50. package/index.d.ts +8 -0
  51. package/index.js +14 -10
  52. package/locale/en-US.d.ts +13 -0
  53. package/locale/index.d.ts +26 -0
  54. package/locale/index.js +26 -0
  55. package/locale/zh-CN.d.ts +13 -0
  56. package/package.json +1 -1
  57. package/umd/AutoButton.js +43 -0
  58. package/umd/Badge.js +1 -1
  59. package/umd/Card.js +1 -0
  60. package/umd/DragVerify.js +1 -1
  61. package/umd/FunctionModal.js +3 -3
  62. package/umd/InputCode.js +43 -0
  63. package/umd/Modal.js +2 -2
  64. package/umd/PopMenu.js +2 -2
  65. package/umd/RangeInput.js +2 -2
  66. package/umd/SortBox.js +41 -0
  67. package/umd/Upload.js +4 -4
  68. package/umd/locale.js +1 -1
  69. package/_verture/unsupportedIterableToArray-cb478f24.js +0 -16
  70. /package/_verture/{modalContext-c57b51b7.js → modalContext-10f0c5aa.js} +0 -0
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';
@@ -66,6 +70,8 @@ export { default as HelperText } from './HelperText';
66
70
  export * from './HelperText';
67
71
  export { default as Image } from './Image';
68
72
  export * from './Image';
73
+ export { default as InputCode } from './InputCode';
74
+ export * from './InputCode';
69
75
  export { default as InputLang } from './InputLang';
70
76
  export * from './InputLang';
71
77
  export { default as InputNumber } from './InputNumber';
@@ -128,6 +134,8 @@ export { default as SingleBox } from './SingleBox';
128
134
  export * from './SingleBox';
129
135
  export { default as Slider } from './Slider';
130
136
  export * from './Slider';
137
+ export { default as SortBox } from './SortBox';
138
+ export * from './SortBox';
131
139
  export { default as Status } from './Status';
132
140
  export * from './Status';
133
141
  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-8ec857b4.js';
10
+ export { C as Cascader } from './_verture/index-519d0a1f.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,12 +28,13 @@ 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-33866394.js';
30
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-c57b51b7.js';
31
+ export { F as FormItem } from './_verture/index-b037486c.js';
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';
33
35
  export { default as HelperText } from './HelperText/index.js';
34
36
  export { default as Image } from './Image/index.js';
37
+ export { InputCode } from './InputCode/index.js';
35
38
  export { InputLang } from './InputLang/index.js';
36
39
  export { InputNumber } from './InputNumber/index.js';
37
40
  export { default as Label } from './Label/index.js';
@@ -63,6 +66,7 @@ export { default as Selector, handFieldConfig } from './Selector/index.js';
63
66
  export { default as SelectorPicker } from './SelectorPicker/index.js';
64
67
  export { SingleBox } from './SingleBox/index.js';
65
68
  export { Slider } from './Slider/index.js';
69
+ export { SortBox } from './SortBox/index.js';
66
70
  export { Status } from './Status/index.js';
67
71
  export { Stepper } from './Stepper/index.js';
68
72
  export { Switch } from './Switch/index.js';
@@ -77,7 +81,7 @@ export { Title } from './Title/index.js';
77
81
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
78
82
  export { Tooltip } from './Tooltip/index.js';
79
83
  export { SSortablejs, Transfer } from './Transfer/index.js';
80
- export { T as Tree } from './_verture/index-28edf318.js';
84
+ export { T as Tree } from './_verture/index-44152845.js';
81
85
  export { default as Upload } from './Upload/index.js';
82
86
  export { default as Utils, getDateYYYYMMddHHMM, pixelReplacement } from './Utils/index.js';
83
87
  export { default as locale } from './locale/index.js';
@@ -88,21 +92,21 @@ import '@paraview/lib';
88
92
  import './_verture/constant-5317fc89.js';
89
93
  import '@para-ui/icons/More';
90
94
  import './_verture/style-inject.es-300983ab.js';
95
+ import './_verture/tslib.es6-55ed4bd2.js';
96
+ import '@para-ui/icons/MoreVert';
91
97
  import 'clsx';
92
- import '@para-ui/icons/Return';
93
98
  import './_verture/useFormatMessage-1fc7c957.js';
94
- import './_verture/tslib.es6-55ed4bd2.js';
99
+ import '@para-ui/icons/Return';
95
100
  import '@para-ui/icons/LoadingF';
96
101
  import '@para-ui/icons/Down';
97
102
  import '@para-ui/icons/Forbid';
98
103
  import 'react-slick';
99
104
  import '@para-ui/icons/RightCircleF';
100
105
  import '@para-ui/icons/LeftCircleF';
101
- import './_verture/Portal-5bf66fed.js';
102
- import './_verture/slicedToArray-a8206399.js';
103
- import './_verture/unsupportedIterableToArray-cb478f24.js';
106
+ import './_verture/Portal-42560ff0.js';
107
+ import './_verture/slicedToArray-75fa4188.js';
104
108
  import './_verture/defineProperty-f0e15205.js';
105
- import './_verture/toConsumableArray-8f4c9589.js';
109
+ import './_verture/toConsumableArray-c7a8028f.js';
106
110
  import 'rc-motion';
107
111
  import './_verture/typeof-6ec38efd.js';
108
112
  import 'rc-tree/lib/utils/conductUtil';
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;
@@ -166,6 +173,12 @@ declare const _default: {
166
173
  minValue: string;
167
174
  maxValue: string;
168
175
  };
176
+ InputCode: {
177
+ retrievedAgain: string;
178
+ reset: string;
179
+ getCode: string;
180
+ secondCountdown: string;
181
+ };
169
182
  Modal: {
170
183
  cancel: string;
171
184
  ok: 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;
@@ -167,6 +174,12 @@ declare const _default: {
167
174
  minValue: string;
168
175
  maxValue: string;
169
176
  };
177
+ InputCode: {
178
+ retrievedAgain: string;
179
+ reset: string;
180
+ getCode: string;
181
+ secondCountdown: string;
182
+ };
170
183
  Modal: {
171
184
  cancel: string;
172
185
  ok: string;
@@ -275,12 +288,19 @@ declare const _default: {
275
288
  };
276
289
  };
277
290
  zhCN: {
291
+ AutoButton: {
292
+ more: string;
293
+ };
278
294
  Breadcrumbs: {
279
295
  back: string;
280
296
  };
281
297
  Button: {
282
298
  moreActions: string;
283
299
  };
300
+ Card: {
301
+ more: string;
302
+ loadingMore: string;
303
+ };
284
304
  Cascader: {
285
305
  placeholder: string;
286
306
  disableTilte: string;
@@ -442,6 +462,12 @@ declare const _default: {
442
462
  minValue: string;
443
463
  maxValue: string;
444
464
  };
465
+ InputCode: {
466
+ retrievedAgain: string;
467
+ reset: string;
468
+ getCode: string;
469
+ secondCountdown: string;
470
+ };
445
471
  Modal: {
446
472
  cancel: string;
447
473
  ok: 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"
@@ -166,6 +173,12 @@ var enUS = {
166
173
  "minValue": "The minimum value is {val}",
167
174
  "maxValue": "The maximum value is {val}"
168
175
  },
176
+ "InputCode": {
177
+ "retrievedAgain": "{second} seconds to retrieve again",
178
+ "reset": "resend",
179
+ "getCode": "Get Code",
180
+ "secondCountdown": "{second}s"
181
+ },
169
182
  "Modal": {
170
183
  "cancel": "Cancel",
171
184
  "ok": "Ok"
@@ -275,12 +288,19 @@ var enUS = {
275
288
  };
276
289
 
277
290
  var zhCN = {
291
+ "AutoButton": {
292
+ "more": "更多"
293
+ },
278
294
  "Breadcrumbs": {
279
295
  "back": "返回"
280
296
  },
281
297
  "Button": {
282
298
  "moreActions": "更多操作"
283
299
  },
300
+ "Card": {
301
+ "more": "鼠标滚动,加载更多数据",
302
+ "loadingMore": "数据正在加载中…"
303
+ },
284
304
  "Cascader": {
285
305
  "placeholder": "请选择",
286
306
  "disableTilte": "禁用"
@@ -442,6 +462,12 @@ var zhCN = {
442
462
  "minValue": "最小值为{val}",
443
463
  "maxValue": "最大值为{val}"
444
464
  },
465
+ "InputCode": {
466
+ "retrievedAgain": "{second}秒后可重新获取",
467
+ "reset": "重新发送",
468
+ "getCode": "获取验证码",
469
+ "secondCountdown": "{second}秒"
470
+ },
445
471
  "Modal": {
446
472
  "cancel": "取 消",
447
473
  "ok": "确 定"
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;
@@ -166,6 +173,12 @@ declare const _default: {
166
173
  minValue: string;
167
174
  maxValue: string;
168
175
  };
176
+ InputCode: {
177
+ retrievedAgain: string;
178
+ reset: string;
179
+ getCode: string;
180
+ secondCountdown: string;
181
+ };
169
182
  Modal: {
170
183
  cancel: string;
171
184
  ok: 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.30",
4
+ "version": "4.0.32",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",