@para-ui/core 3.0.109 → 3.0.111-rc

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 (184) hide show
  1. package/AutoBox/index.js +5 -9
  2. package/AutoTips/index.js +17 -24
  3. package/Breadcrumbs/index.js +7 -11
  4. package/Button/index.js +8 -12
  5. package/ButtonGroup/index.js +8 -12
  6. package/Carousel/index.js +4 -8
  7. package/Cascader/index.js +7 -11
  8. package/Checkbox/index.js +4 -8
  9. package/CheckboxGroup/index.js +4 -8
  10. package/Collapse/index.js +1 -5
  11. package/CollapseBox/index.js +4 -8
  12. package/CollapseLayout/index.js +6 -10
  13. package/ColorPicker/index.js +0 -2
  14. package/ComboSelect/index.js +14 -18
  15. package/Container/index.js +1 -5
  16. package/DatePicker/index.js +10 -14
  17. package/Desktop/index.js +10 -14
  18. package/DragVerify/index.js +6 -10
  19. package/Drawer/index.js +8 -12
  20. package/Dropdown/index.js +3 -4
  21. package/DynamicMultiBox/index.js +15 -19
  22. package/Empty/index.js +3 -7
  23. package/Form/index.js +15 -16
  24. package/FormItem/index.js +15 -16
  25. package/FunctionModal/index.js +14 -15
  26. package/GlobalContext/index.js +3 -3
  27. package/Help/index.js +4 -8
  28. package/HelperText/index.js +1 -5
  29. package/InputLang/index.js +11 -15
  30. package/InputNumber/index.js +4 -8
  31. package/Label/index.js +4 -8
  32. package/Loading/index.js +1 -5
  33. package/Menu/index.js +5 -9
  34. package/Message/index.js +4 -8
  35. package/Modal/index.js +10 -17
  36. package/MultiBox/index.js +10 -14
  37. package/Notification/index.js +3 -7
  38. package/OperateBtn/index.js +9 -13
  39. package/PageHeader/index.js +9 -13
  40. package/Pagination/index.js +11 -15
  41. package/ParauiProvider/index.js +3 -7
  42. package/PasswordRules/index.js +3 -7
  43. package/PopConfirm/index.js +8 -12
  44. package/Popover/index.js +5 -9
  45. package/Progress/index.js +2 -6
  46. package/Querying/index.js +3 -7
  47. package/README.md +10 -0
  48. package/Radio/index.js +4 -8
  49. package/RadioGroup/index.js +4 -8
  50. package/Search/index.js +9 -13
  51. package/Select/index.js +11 -15
  52. package/SelectInput/index.js +11 -12
  53. package/Selector/index.js +11 -24
  54. package/SelectorPicker/index.js +12 -16
  55. package/SingleBox/index.js +10 -14
  56. package/Slider/index.js +6 -10
  57. package/Split/index.js +4 -8
  58. package/Status/index.js +1 -5
  59. package/Stepper/index.js +3 -7
  60. package/Styles/theme/theme-api.scss +75 -0
  61. package/Styles/theme/theme-default.scss +74 -0
  62. package/Styles/theme/theme-shrcb.scss +80 -0
  63. package/Styles/theme.scss +1 -69
  64. package/Switch/index.js +6 -10
  65. package/Table/index.js +12 -37
  66. package/Tabs/index.js +9 -13
  67. package/Tag/index.js +7 -11
  68. package/TextEditor/index.js +5 -12
  69. package/TextField/index.js +8 -12
  70. package/TimePicker/index.js +10 -11
  71. package/Timeline/index.js +4 -8
  72. package/Title/index.js +1 -5
  73. package/ToggleButton/index.js +9 -13
  74. package/Tooltip/index.js +4 -8
  75. package/Transfer/index.js +13 -17
  76. package/Tree/index.js +12 -13
  77. package/Upload/index.js +57 -53
  78. package/Upload/interface.d.ts +3 -0
  79. package/_verture/{index-efa2ef9a.js → closestPolyfill-0ea0e7a5.js} +8 -15
  80. package/_verture/closestPolyfill-230b7b1c.js +1354 -0
  81. package/_verture/constant-d26faf32.js +10 -0
  82. package/_verture/{defineProperty-62acccfc.js → defineProperty-a3595bb4.js} +1 -1
  83. package/_verture/defineProperty-d7016ad3.js +34 -0
  84. package/_verture/{index-faea6d44.js → index-1e744dcd.js} +4 -11
  85. package/_verture/{index-77f9e0fb.js → index-4ee4e41a.js} +2 -6
  86. package/_verture/index-59046762.js +232 -0
  87. package/_verture/index-66004ebf.js +757 -0
  88. package/_verture/index-eefd3ff1.js +18 -0
  89. package/_verture/index-fe55d90e.js +340 -0
  90. package/_verture/{intl-4a9f1b44.js → intl-638e7f5e.js} +1 -1
  91. package/_verture/intl-e0637ffc.js +81 -0
  92. package/_verture/{modalContext-7833df3b.js → modalContext-7312fb44.js} +4 -8
  93. package/_verture/modalContext-762c9eb8.js +197 -0
  94. package/_verture/{slicedToArray-76060636.js → slicedToArray-cf682b7d.js} +1 -1
  95. package/_verture/slicedToArray-e838a33c.js +43 -0
  96. package/_verture/sortable.esm-d3f0b100.js +3791 -0
  97. package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-037466a3.js} +1 -1
  98. package/_verture/toConsumableArray-2f4549d3.js +19 -0
  99. package/_verture/tslib.es6-9e8a62ad.js +38 -0
  100. package/_verture/typeof-ef74f13b.js +11 -0
  101. package/_verture/unsupportedIterableToArray-bd7e0e01.js +16 -0
  102. package/_verture/useFormatMessage-e3507273.js +20 -0
  103. package/_verture/useGlobalProps-c2be96c7.js +11 -0
  104. package/_verture/usePopupContainer-dde75227.js +68 -0
  105. package/_verture/util-9d3101fc.js +18 -0
  106. package/_verture/{utils-1ffeadec.js → utils-1b82eac1.js} +1 -1
  107. package/_verture/utils-cc6f5f94.js +92 -0
  108. package/index.d.ts +0 -2
  109. package/index.js +20 -23
  110. package/package.json +4 -1
  111. package/theme/theme-shrcb.css +14622 -0
  112. package/theme/theme.css +15018 -0
  113. package/umd/AutoTips.js +1 -1
  114. package/umd/Breadcrumbs.js +2 -2
  115. package/umd/Button.js +1 -1
  116. package/umd/ButtonGroup.js +1 -1
  117. package/umd/Checkbox.js +1 -1
  118. package/umd/CheckboxGroup.js +1 -1
  119. package/umd/CollapseLayout.js +3 -3
  120. package/umd/ComboSelect.js +2 -2
  121. package/umd/DatePicker.js +2 -2
  122. package/umd/Desktop.js +2 -2
  123. package/umd/DragVerify.js +1 -1
  124. package/umd/Drawer.js +2 -2
  125. package/umd/DynamicMultiBox.js +2 -2
  126. package/umd/Empty.js +1 -1
  127. package/umd/Form.js +2 -2
  128. package/umd/FormItem.js +2 -2
  129. package/umd/FunctionModal.js +2 -2
  130. package/umd/Help.js +1 -1
  131. package/umd/InputLang.js +2 -2
  132. package/umd/InputNumber.js +1 -1
  133. package/umd/Label.js +1 -1
  134. package/umd/Menu.js +3 -3
  135. package/umd/Message.js +1 -1
  136. package/umd/Modal.js +2 -2
  137. package/umd/MultiBox.js +2 -2
  138. package/umd/Notification.js +1 -1
  139. package/umd/OperateBtn.js +2 -2
  140. package/umd/PageHeader.js +7 -7
  141. package/umd/Pagination.js +4 -4
  142. package/umd/PopConfirm.js +1 -1
  143. package/umd/Progress.js +1 -1
  144. package/umd/Radio.js +1 -1
  145. package/umd/RadioGroup.js +1 -1
  146. package/umd/Search.js +2 -2
  147. package/umd/Select.js +2 -2
  148. package/umd/SelectInput.js +2 -2
  149. package/umd/Selector.js +2 -2
  150. package/umd/SelectorPicker.js +2 -2
  151. package/umd/SingleBox.js +2 -2
  152. package/umd/Slider.js +1 -1
  153. package/umd/Stepper.js +4 -4
  154. package/umd/Switch.js +4 -4
  155. package/umd/Table.js +2 -2
  156. package/umd/Tabs.js +1 -1
  157. package/umd/Tag.js +2 -2
  158. package/umd/TextEditor.js +1 -1
  159. package/umd/TextField.js +2 -2
  160. package/umd/TimePicker.js +2 -2
  161. package/umd/Timeline.js +1 -1
  162. package/umd/Title.js +1 -1
  163. package/umd/ToggleButton.js +2 -2
  164. package/umd/Transfer.js +2 -2
  165. package/umd/Tree.js +2 -2
  166. package/umd/Upload.js +4 -4
  167. package/_verture/index-a369ca3f.js +0 -4
  168. package/_verture/style-inject.es-300983ab.js +0 -28
  169. package/locale/en-US.d.ts +0 -165
  170. package/locale/index.d.ts +0 -331
  171. package/locale/index.js +0 -336
  172. package/locale/zh-CN.d.ts +0 -165
  173. package/umd/locale.js +0 -1
  174. /package/_verture/{constant-66aa48a1.js → constant-ce36e642.js} +0 -0
  175. /package/_verture/{index-beef914f.js → index-67a00291.js} +0 -0
  176. /package/_verture/{index-65bbd1e4.js → index-a055cc71.js} +0 -0
  177. /package/_verture/{sortable.esm-49896035.js → sortable.esm-5dbbc690.js} +0 -0
  178. /package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-44149323.js} +0 -0
  179. /package/_verture/{typeof-498dd2b1.js → typeof-c4ef74bc.js} +0 -0
  180. /package/_verture/{unsupportedIterableToArray-cb478f24.js → unsupportedIterableToArray-6655197b.js} +0 -0
  181. /package/_verture/{useFormatMessage-703f8b20.js → useFormatMessage-8394ec71.js} +0 -0
  182. /package/_verture/{useGlobalProps-1b846a65.js → useGlobalProps-929e5233.js} +0 -0
  183. /package/_verture/{usePopupContainer-87febeb9.js → usePopupContainer-6fa1cc58.js} +0 -0
  184. /package/_verture/{util-7e1fb1e2.js → util-8a7a5c8d.js} +0 -0
@@ -1,4 +0,0 @@
1
- import { s as styleInject } from './style-inject.es-300983ab.js';
2
-
3
- var css_248z = ".sketch-picker, .chrome-picker,\n.swatches-picker, .compact-picker {\n box-sizing: content-box !important;\n}\n.sketch-picker *, .chrome-picker *,\n.swatches-picker *, .compact-picker * {\n box-sizing: content-box !important;\n}";
4
- styleInject(css_248z);
@@ -1,28 +0,0 @@
1
- function styleInject(css, ref) {
2
- if ( ref === void 0 ) ref = {};
3
- var insertAt = ref.insertAt;
4
-
5
- if (!css || typeof document === 'undefined') { return; }
6
-
7
- var head = document.head || document.getElementsByTagName('head')[0];
8
- var style = document.createElement('style');
9
- style.type = 'text/css';
10
-
11
- if (insertAt === 'top') {
12
- if (head.firstChild) {
13
- head.insertBefore(style, head.firstChild);
14
- } else {
15
- head.appendChild(style);
16
- }
17
- } else {
18
- head.appendChild(style);
19
- }
20
-
21
- if (style.styleSheet) {
22
- style.styleSheet.cssText = css;
23
- } else {
24
- style.appendChild(document.createTextNode(css));
25
- }
26
- }
27
-
28
- export { styleInject as s };
package/locale/en-US.d.ts DELETED
@@ -1,165 +0,0 @@
1
- declare const _default: {
2
- Breadcrumbs: {
3
- back: string;
4
- };
5
- Button: {
6
- moreActions: string;
7
- };
8
- Cascader: {
9
- placeholder: string;
10
- };
11
- ComboSelect: {
12
- searchPlaceholder: string;
13
- cancel: string;
14
- ok: string;
15
- fullPath: string;
16
- pleaseSelect: string;
17
- selected: string;
18
- };
19
- DatePicker: {
20
- lang: {
21
- placeholder: string;
22
- yearPlaceholder: string;
23
- quarterPlaceholder: string;
24
- monthPlaceholder: string;
25
- weekPlaceholder: string;
26
- rangePlaceholder: string;
27
- rangeYearPlaceholder: string;
28
- rangeMonthPlaceholder: string;
29
- rangeWeekPlaceholder: string;
30
- today: string;
31
- now: string;
32
- ok: string;
33
- };
34
- timePickerLocale: {};
35
- placeholder: string;
36
- yearPlaceholder: string;
37
- quarterPlaceholder: string;
38
- monthPlaceholder: string;
39
- weekPlaceholder: string;
40
- rangePlaceholder: string;
41
- rangeYearPlaceholder: string;
42
- rangeMonthPlaceholder: string;
43
- rangeWeekPlaceholder: string;
44
- today: string;
45
- now: string;
46
- ok: string;
47
- };
48
- DragVerify: {
49
- tryAgain: string;
50
- swipe: string;
51
- };
52
- Drawer: {
53
- cancel: string;
54
- ok: string;
55
- };
56
- DynamicMultiBox: {
57
- add: string;
58
- titleForm: string;
59
- default: string;
60
- noData: string;
61
- };
62
- Empty: {
63
- noData: string;
64
- click: string;
65
- refresh: string;
66
- };
67
- FormItem: {
68
- choseFile: string;
69
- unEmpty: string;
70
- maxLength: string;
71
- minLength: string;
72
- unRule: string;
73
- minValue: string;
74
- maxValue: string;
75
- };
76
- Modal: {
77
- cancel: string;
78
- ok: string;
79
- };
80
- MultiBox: {
81
- add: string;
82
- };
83
- OperateBtn: {
84
- more: string;
85
- };
86
- Pagination: {
87
- total: string;
88
- linePerPage: string;
89
- currentPage: string;
90
- jumpTo: string;
91
- page: string;
92
- };
93
- PopConfirm: {
94
- cancel: string;
95
- ok: string;
96
- };
97
- Querying: {
98
- querying: string;
99
- };
100
- Select: {
101
- searchPlaceholder: string;
102
- selected: string;
103
- };
104
- Selector: {
105
- root: string;
106
- selectAll: string;
107
- seeMore: string;
108
- selected: string;
109
- pleaseEnter: string;
110
- searchResult: string;
111
- detail: string;
112
- child: string;
113
- };
114
- SelectorPicker: {
115
- selected: string;
116
- select: string;
117
- };
118
- SingleBox: {
119
- add: string;
120
- };
121
- Table: {
122
- empty: string;
123
- determine: string;
124
- restoreDefault: string;
125
- serial: string;
126
- loadMore: string;
127
- refresh: string;
128
- selectNum: string;
129
- selectAll: string;
130
- };
131
- Tabs: {
132
- confirmDelete: string;
133
- };
134
- TextEditor: {
135
- please: string;
136
- };
137
- Transfer: {
138
- left: string;
139
- right: string;
140
- allCheck: string;
141
- inVertCheck: string;
142
- searchPlaceholder: string;
143
- leftBtnTips: string;
144
- rightBtnTips: string;
145
- };
146
- Tree: {
147
- loadMore: string;
148
- add: string;
149
- edit: string;
150
- disabled: string;
151
- delete: string;
152
- };
153
- Upload: {
154
- uploadError: string;
155
- uploading: string;
156
- clickUploadFile: string;
157
- dragFileUpload: string;
158
- add: string;
159
- edit: string;
160
- disabled: string;
161
- delete: string;
162
- editImage: string;
163
- };
164
- };
165
- export default _default;
package/locale/index.d.ts DELETED
@@ -1,331 +0,0 @@
1
- declare const _default: {
2
- enUS: {
3
- Breadcrumbs: {
4
- back: string;
5
- };
6
- Button: {
7
- moreActions: string;
8
- };
9
- Cascader: {
10
- placeholder: string;
11
- };
12
- ComboSelect: {
13
- searchPlaceholder: string;
14
- cancel: string;
15
- ok: string;
16
- fullPath: string;
17
- pleaseSelect: string;
18
- selected: string;
19
- };
20
- DatePicker: {
21
- lang: {
22
- placeholder: string;
23
- yearPlaceholder: string;
24
- quarterPlaceholder: string;
25
- monthPlaceholder: string;
26
- weekPlaceholder: string;
27
- rangePlaceholder: string;
28
- rangeYearPlaceholder: string;
29
- rangeMonthPlaceholder: string;
30
- rangeWeekPlaceholder: string;
31
- today: string;
32
- now: string;
33
- ok: string;
34
- };
35
- timePickerLocale: {};
36
- placeholder: string;
37
- yearPlaceholder: string;
38
- quarterPlaceholder: string;
39
- monthPlaceholder: string;
40
- weekPlaceholder: string;
41
- rangePlaceholder: string;
42
- rangeYearPlaceholder: string;
43
- rangeMonthPlaceholder: string;
44
- rangeWeekPlaceholder: string;
45
- today: string;
46
- now: string;
47
- ok: string;
48
- };
49
- DragVerify: {
50
- tryAgain: string;
51
- swipe: string;
52
- };
53
- Drawer: {
54
- cancel: string;
55
- ok: string;
56
- };
57
- DynamicMultiBox: {
58
- add: string;
59
- titleForm: string;
60
- default: string;
61
- noData: string;
62
- };
63
- Empty: {
64
- noData: string;
65
- click: string;
66
- refresh: string;
67
- };
68
- FormItem: {
69
- choseFile: string;
70
- unEmpty: string;
71
- maxLength: string;
72
- minLength: string;
73
- unRule: string;
74
- minValue: string;
75
- maxValue: string;
76
- };
77
- Modal: {
78
- cancel: string;
79
- ok: string;
80
- };
81
- MultiBox: {
82
- add: string;
83
- };
84
- OperateBtn: {
85
- more: string;
86
- };
87
- Pagination: {
88
- total: string;
89
- linePerPage: string;
90
- currentPage: string;
91
- jumpTo: string;
92
- page: string;
93
- };
94
- PopConfirm: {
95
- cancel: string;
96
- ok: string;
97
- };
98
- Querying: {
99
- querying: string;
100
- };
101
- Select: {
102
- searchPlaceholder: string;
103
- selected: string;
104
- };
105
- Selector: {
106
- root: string;
107
- selectAll: string;
108
- seeMore: string;
109
- selected: string;
110
- pleaseEnter: string;
111
- searchResult: string;
112
- detail: string;
113
- child: string;
114
- };
115
- SelectorPicker: {
116
- selected: string;
117
- select: string;
118
- };
119
- SingleBox: {
120
- add: string;
121
- };
122
- Table: {
123
- empty: string;
124
- determine: string;
125
- restoreDefault: string;
126
- serial: string;
127
- loadMore: string;
128
- refresh: string;
129
- selectNum: string;
130
- selectAll: string;
131
- };
132
- Tabs: {
133
- confirmDelete: string;
134
- };
135
- TextEditor: {
136
- please: string;
137
- };
138
- Transfer: {
139
- left: string;
140
- right: string;
141
- allCheck: string;
142
- inVertCheck: string;
143
- searchPlaceholder: string;
144
- leftBtnTips: string;
145
- rightBtnTips: string;
146
- };
147
- Tree: {
148
- loadMore: string;
149
- add: string;
150
- edit: string;
151
- disabled: string;
152
- delete: string;
153
- };
154
- Upload: {
155
- uploadError: string;
156
- uploading: string;
157
- clickUploadFile: string;
158
- dragFileUpload: string;
159
- add: string;
160
- edit: string;
161
- disabled: string;
162
- delete: string;
163
- editImage: string;
164
- };
165
- };
166
- zhCN: {
167
- Breadcrumbs: {
168
- back: string;
169
- };
170
- Button: {
171
- moreActions: string;
172
- };
173
- Cascader: {
174
- placeholder: string;
175
- };
176
- ComboSelect: {
177
- searchPlaceholder: string;
178
- cancel: string;
179
- ok: string;
180
- fullPath: string;
181
- pleaseSelect: string;
182
- selected: string;
183
- };
184
- DatePicker: {
185
- lang: {
186
- placeholder: string;
187
- yearPlaceholder: string;
188
- quarterPlaceholder: string;
189
- monthPlaceholder: string;
190
- weekPlaceholder: string;
191
- rangePlaceholder: string;
192
- rangeYearPlaceholder: string;
193
- rangeMonthPlaceholder: string;
194
- rangeWeekPlaceholder: string;
195
- today: string;
196
- now: string;
197
- ok: string;
198
- };
199
- timePickerLocale: {};
200
- placeholder: string;
201
- yearPlaceholder: string;
202
- quarterPlaceholder: string;
203
- monthPlaceholder: string;
204
- weekPlaceholder: string;
205
- rangePlaceholder: string;
206
- rangeYearPlaceholder: string;
207
- rangeMonthPlaceholder: string;
208
- rangeWeekPlaceholder: string;
209
- today: string;
210
- now: string;
211
- ok: string;
212
- };
213
- DragVerify: {
214
- tryAgain: string;
215
- swipe: string;
216
- };
217
- Drawer: {
218
- cancel: string;
219
- ok: string;
220
- };
221
- DynamicMultiBox: {
222
- add: string;
223
- titleForm: string;
224
- default: string;
225
- noData: string;
226
- };
227
- Empty: {
228
- noData: string;
229
- click: string;
230
- refresh: string;
231
- };
232
- FormItem: {
233
- choseFile: string;
234
- unEmpty: string;
235
- maxLength: string;
236
- minLength: string;
237
- unRule: string;
238
- minValue: string;
239
- maxValue: string;
240
- };
241
- Modal: {
242
- cancel: string;
243
- ok: string;
244
- };
245
- MultiBox: {
246
- add: string;
247
- };
248
- OperateBtn: {
249
- more: string;
250
- };
251
- Pagination: {
252
- total: string;
253
- linePerPage: string;
254
- currentPage: string;
255
- jumpTo: string;
256
- page: string;
257
- };
258
- PopConfirm: {
259
- cancel: string;
260
- ok: string;
261
- };
262
- Querying: {
263
- querying: string;
264
- };
265
- Select: {
266
- searchPlaceholder: string;
267
- selected: string;
268
- };
269
- Selector: {
270
- root: string;
271
- selectAll: string;
272
- seeMore: string;
273
- selected: string;
274
- pleaseEnter: string;
275
- searchResult: string;
276
- detail: string;
277
- child: string;
278
- };
279
- SelectorPicker: {
280
- selected: string;
281
- select: string;
282
- };
283
- SingleBox: {
284
- add: string;
285
- };
286
- Table: {
287
- empty: string;
288
- determine: string;
289
- restoreDefault: string;
290
- serial: string;
291
- loadMore: string;
292
- refresh: string;
293
- selectNum: string;
294
- selectAll: string;
295
- };
296
- Tabs: {
297
- confirmDelete: string;
298
- };
299
- TextEditor: {
300
- please: string;
301
- };
302
- Transfer: {
303
- left: string;
304
- right: string;
305
- allCheck: string;
306
- inVertCheck: string;
307
- searchPlaceholder: string;
308
- leftBtnTips: string;
309
- rightBtnTips: string;
310
- };
311
- Tree: {
312
- loadMore: string;
313
- add: string;
314
- edit: string;
315
- disabled: string;
316
- delete: string;
317
- };
318
- Upload: {
319
- uploadError: string;
320
- uploading: string;
321
- clickUploadFile: string;
322
- dragFileUpload: string;
323
- add: string;
324
- edit: string;
325
- disabled: string;
326
- delete: string;
327
- editImage: string;
328
- };
329
- };
330
- };
331
- export default _default;