@para-ui/core 4.0.53 → 4.0.55

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 (160) hide show
  1. package/Argv/index.js +5 -4
  2. package/AutoButton/index.d.ts +3 -0
  3. package/AutoButton/index.js +19 -6
  4. package/Button/SplitButton.d.ts +3 -0
  5. package/Button/index.d.ts +4 -0
  6. package/Button/index.js +17 -352
  7. package/ButtonGroup/index.js +5 -1
  8. package/Cascader/Cascader.d.ts +3 -0
  9. package/Cascader/index.js +11 -7
  10. package/ComboSelect/index.js +10 -10
  11. package/CycleSelector/index.js +7 -2
  12. package/DatePicker/index.js +10 -4
  13. package/Descriptions/index.js +5 -1
  14. package/Desktop/index.js +4 -1
  15. package/Drawer/index.js +5 -1
  16. package/DynamicMultiBox/index.js +11 -11
  17. package/DynamicMultiBox/interface.d.ts +1 -1
  18. package/FieldForm/ErrorList.d.ts +16 -0
  19. package/FieldForm/FieldFormItem/ItemHolder.d.ts +18 -0
  20. package/FieldForm/FieldFormItem/MemoInput.d.ts +14 -0
  21. package/FieldForm/FieldFormItem/StatusProvider.d.ts +20 -0
  22. package/FieldForm/FieldFormItem/index.d.ts +58 -0
  23. package/FieldForm/Form.d.ts +36 -0
  24. package/FieldForm/FormItemInput.d.ts +21 -0
  25. package/FieldForm/FormItemLabel.d.ts +21 -0
  26. package/FieldForm/FormList.d.ts +23 -0
  27. package/FieldForm/context.d.ts +33 -0
  28. package/FieldForm/hooks/useChildren.d.ts +2 -0
  29. package/FieldForm/hooks/useDebounce.d.ts +1 -0
  30. package/FieldForm/hooks/useForm.d.ts +6 -0
  31. package/FieldForm/hooks/useFormInstance.d.ts +2 -0
  32. package/FieldForm/hooks/useFormItemStatus.d.ts +9 -0
  33. package/FieldForm/hooks/useFrameState.d.ts +3 -0
  34. package/FieldForm/hooks/useItemRef.d.ts +3 -0
  35. package/FieldForm/index.d.ts +30 -0
  36. package/FieldForm/index.js +5326 -0
  37. package/FieldForm/interface.d.ts +2 -0
  38. package/FieldForm/lang/en_US.d.ts +51 -0
  39. package/FieldForm/lang/index.d.ts +105 -0
  40. package/FieldForm/lang/zh_CN.d.ts +51 -0
  41. package/FieldForm/util.d.ts +21 -0
  42. package/Form/index.js +10 -10
  43. package/FormItem/index.js +10 -10
  44. package/FunctionModal/index.js +7 -6
  45. package/Image/index.js +7 -56
  46. package/InputCode/index.js +4 -1
  47. package/Modal/index.js +2 -1
  48. package/OperateBtn/index.js +5 -6
  49. package/PageHeader/index.js +5 -1
  50. package/Pagination/index.js +4 -1
  51. package/PopConfirm/index.js +14 -213
  52. package/PopMenu/index.js +2 -2
  53. package/QuickReply/index.js +6 -7
  54. package/README.md +17 -0
  55. package/Result/index.js +2 -2
  56. package/Selector/index.js +1 -1
  57. package/SelectorPicker/index.js +1 -1
  58. package/Stepper/index.js +1 -1
  59. package/Switch/index.d.ts +4 -0
  60. package/Switch/index.js +5 -4
  61. package/Table/index.js +4 -5
  62. package/Tabs/index.js +8 -9
  63. package/Tag/index.js +87 -55
  64. package/TextEditor/index.d.ts +2 -0
  65. package/TextEditor/index.js +27 -6
  66. package/TimePicker/index.js +9 -3
  67. package/Timeline/index.js +2 -1
  68. package/ToggleButton/index.js +7 -2
  69. package/Transfer/index.d.ts +1 -0
  70. package/Transfer/index.js +125 -121
  71. package/Tree/index.js +6 -5
  72. package/Upload/index.js +13 -11
  73. package/_verture/{Portal-42560ff0.js → Portal-502bb85e.js} +30 -481
  74. package/_verture/{defineProperty-f0e15205.js → defineProperty-6f62bb2a.js} +2 -10
  75. package/_verture/{index-063009f8.js → index-0a300edb.js} +388 -700
  76. package/_verture/{index-f30ae73e.js → index-0e866545.js} +2 -2
  77. package/_verture/index-1856bbeb.js +480 -0
  78. package/_verture/{index-d728b0ce.js → index-320d67c4.js} +4 -3
  79. package/_verture/index-7e60b72c.js +593 -0
  80. package/_verture/isEqual-30b6f859.js +56 -0
  81. package/_verture/{slicedToArray-75fa4188.js → slicedToArray-61604a6c.js} +1 -1
  82. package/_verture/{toConsumableArray-c7a8028f.js → toConsumableArray-599cd94a.js} +1 -1
  83. package/_verture/typeof-adeedc13.js +11 -0
  84. package/_verture/useState-f2419d68.js +353 -0
  85. package/index.d.ts +2 -0
  86. package/index.js +21 -17
  87. package/locale/en-US.d.ts +46 -0
  88. package/locale/index.d.ts +92 -0
  89. package/locale/index.js +92 -0
  90. package/locale/zh-CN.d.ts +46 -0
  91. package/package.json +3 -1
  92. package/umd/Anchor.js +5 -5
  93. package/umd/Argv.js +6 -6
  94. package/umd/AutoBox.js +5 -5
  95. package/umd/AutoButton.js +7 -7
  96. package/umd/AutoTips.js +5 -5
  97. package/umd/Breadcrumbs.js +4 -4
  98. package/umd/Button.js +7 -7
  99. package/umd/ButtonGroup.js +7 -7
  100. package/umd/Cascader.js +5 -5
  101. package/umd/Checkbox.js +4 -4
  102. package/umd/CheckboxGroup.js +4 -4
  103. package/umd/Collapse.js +1 -1
  104. package/umd/ComboSelect.js +4 -4
  105. package/umd/CopyText.js +5 -5
  106. package/umd/CycleSelector.js +7 -7
  107. package/umd/DatePicker.js +7 -7
  108. package/umd/Descriptions.js +6 -6
  109. package/umd/Desktop.js +7 -7
  110. package/umd/Drawer.js +7 -7
  111. package/umd/Dropdown.js +4 -4
  112. package/umd/DynamicMultiBox.js +4 -4
  113. package/umd/FieldForm.js +43 -0
  114. package/umd/Form.js +4 -4
  115. package/umd/FormItem.js +4 -4
  116. package/umd/FunctionModal.js +7 -7
  117. package/umd/Help.js +5 -5
  118. package/umd/Image.js +3 -3
  119. package/umd/InputCode.js +7 -7
  120. package/umd/InputLang.js +5 -5
  121. package/umd/InputNumber.js +4 -4
  122. package/umd/Label.js +4 -4
  123. package/umd/Menu.js +4 -4
  124. package/umd/Modal.js +6 -6
  125. package/umd/MultiBox.js +6 -6
  126. package/umd/Notification.js +3 -3
  127. package/umd/OperateBtn.js +6 -6
  128. package/umd/PageHeader.js +7 -7
  129. package/umd/Pagination.js +7 -7
  130. package/umd/PopConfirm.js +5 -5
  131. package/umd/PopMenu.js +5 -5
  132. package/umd/Popover.js +5 -5
  133. package/umd/QuickReply.js +5 -5
  134. package/umd/Radio.js +4 -4
  135. package/umd/RadioGroup.js +4 -4
  136. package/umd/RangeInput.js +5 -5
  137. package/umd/Result.js +4 -4
  138. package/umd/Search.js +5 -5
  139. package/umd/Select.js +5 -5
  140. package/umd/SelectInput.js +5 -5
  141. package/umd/Selector.js +5 -5
  142. package/umd/SelectorPicker.js +5 -5
  143. package/umd/SingleBox.js +5 -5
  144. package/umd/Slider.js +4 -4
  145. package/umd/Stepper.js +4 -4
  146. package/umd/Switch.js +4 -4
  147. package/umd/Table.js +5 -5
  148. package/umd/Tabs.js +4 -4
  149. package/umd/Tag.js +5 -5
  150. package/umd/TextEditor.js +6 -6
  151. package/umd/TextField.js +5 -5
  152. package/umd/TimePicker.js +7 -7
  153. package/umd/Title.js +3 -3
  154. package/umd/ToggleButton.js +7 -7
  155. package/umd/Tooltip.js +4 -4
  156. package/umd/Transfer.js +8 -8
  157. package/umd/Tree.js +3 -3
  158. package/umd/Upload.js +5 -5
  159. package/umd/locale.js +1 -1
  160. /package/_verture/{modalContext-8a48c400.js → modalContext-3ed7e7f6.js} +0 -0
@@ -0,0 +1,11 @@
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
+ }
10
+
11
+ export { _typeof as _ };
@@ -0,0 +1,353 @@
1
+ import React__default from 'react';
2
+ import { r as reactIs } from './index-1856bbeb.js';
3
+ import { t as toPropertyKey } from './defineProperty-6f62bb2a.js';
4
+ import { _ as _typeof } from './typeof-adeedc13.js';
5
+ import { c as _arrayWithHoles, b as _unsupportedIterableToArray, d as _nonIterableRest } from './slicedToArray-61604a6c.js';
6
+ import { a as _iterableToArray } from './toConsumableArray-599cd94a.js';
7
+ import { _ as _typeof$1 } from './typeof-6ec38efd.js';
8
+
9
+ function toArray(children) {
10
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
11
+ var ret = [];
12
+ React__default.Children.forEach(children, function (child) {
13
+ if ((child === undefined || child === null) && !option.keepEmpty) {
14
+ return;
15
+ }
16
+ if (Array.isArray(child)) {
17
+ ret = ret.concat(toArray(child));
18
+ } else if (reactIs.exports.isFragment(child) && child.props) {
19
+ ret = ret.concat(toArray(child.props.children, option));
20
+ } else {
21
+ ret.push(child);
22
+ }
23
+ });
24
+ return ret;
25
+ }
26
+
27
+ function _classCallCheck(instance, Constructor) {
28
+ if (!(instance instanceof Constructor)) {
29
+ throw new TypeError("Cannot call a class as a function");
30
+ }
31
+ }
32
+
33
+ function _defineProperties(target, props) {
34
+ for (var i = 0; i < props.length; i++) {
35
+ var descriptor = props[i];
36
+ descriptor.enumerable = descriptor.enumerable || false;
37
+ descriptor.configurable = true;
38
+ if ("value" in descriptor) descriptor.writable = true;
39
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
40
+ }
41
+ }
42
+ function _createClass(Constructor, protoProps, staticProps) {
43
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
44
+ if (staticProps) _defineProperties(Constructor, staticProps);
45
+ Object.defineProperty(Constructor, "prototype", {
46
+ writable: false
47
+ });
48
+ return Constructor;
49
+ }
50
+
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
53
+ o.__proto__ = p;
54
+ return o;
55
+ };
56
+ return _setPrototypeOf(o, p);
57
+ }
58
+
59
+ function _inherits(subClass, superClass) {
60
+ if (typeof superClass !== "function" && superClass !== null) {
61
+ throw new TypeError("Super expression must either be null or a function");
62
+ }
63
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
64
+ constructor: {
65
+ value: subClass,
66
+ writable: true,
67
+ configurable: true
68
+ }
69
+ });
70
+ Object.defineProperty(subClass, "prototype", {
71
+ writable: false
72
+ });
73
+ if (superClass) _setPrototypeOf(subClass, superClass);
74
+ }
75
+
76
+ function _getPrototypeOf(o) {
77
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
78
+ return o.__proto__ || Object.getPrototypeOf(o);
79
+ };
80
+ return _getPrototypeOf(o);
81
+ }
82
+
83
+ function _isNativeReflectConstruct() {
84
+ try {
85
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
86
+ } catch (t) {}
87
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
88
+ return !!t;
89
+ })();
90
+ }
91
+
92
+ function _assertThisInitialized(self) {
93
+ if (self === void 0) {
94
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95
+ }
96
+ return self;
97
+ }
98
+
99
+ function _possibleConstructorReturn(self, call) {
100
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
101
+ return call;
102
+ } else if (call !== void 0) {
103
+ throw new TypeError("Derived constructors may only return object or undefined");
104
+ }
105
+ return _assertThisInitialized(self);
106
+ }
107
+
108
+ function _createSuper(Derived) {
109
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
110
+ return function _createSuperInternal() {
111
+ var Super = _getPrototypeOf(Derived),
112
+ result;
113
+ if (hasNativeReflectConstruct) {
114
+ var NewTarget = _getPrototypeOf(this).constructor;
115
+ result = Reflect.construct(Super, arguments, NewTarget);
116
+ } else {
117
+ result = Super.apply(this, arguments);
118
+ }
119
+ return _possibleConstructorReturn(this, result);
120
+ };
121
+ }
122
+
123
+ function _toArray(arr) {
124
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
125
+ }
126
+
127
+ var interopRequireDefault = {exports: {}};
128
+
129
+ (function (module) {
130
+ function _interopRequireDefault(obj) {
131
+ return obj && obj.__esModule ? obj : {
132
+ "default": obj
133
+ };
134
+ }
135
+ module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
136
+ } (interopRequireDefault));
137
+
138
+ var slicedToArray = {exports: {}};
139
+
140
+ var arrayWithHoles = {exports: {}};
141
+
142
+ (function (module) {
143
+ function _arrayWithHoles(arr) {
144
+ if (Array.isArray(arr)) return arr;
145
+ }
146
+ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
147
+ } (arrayWithHoles));
148
+
149
+ var iterableToArrayLimit = {exports: {}};
150
+
151
+ (function (module) {
152
+ function _iterableToArrayLimit(r, l) {
153
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
154
+ if (null != t) {
155
+ var e,
156
+ n,
157
+ i,
158
+ u,
159
+ a = [],
160
+ f = !0,
161
+ o = !1;
162
+ try {
163
+ if (i = (t = t.call(r)).next, 0 === l) {
164
+ if (Object(t) !== t) return;
165
+ f = !1;
166
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
167
+ } catch (r) {
168
+ o = !0, n = r;
169
+ } finally {
170
+ try {
171
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
172
+ } finally {
173
+ if (o) throw n;
174
+ }
175
+ }
176
+ return a;
177
+ }
178
+ }
179
+ module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
180
+ } (iterableToArrayLimit));
181
+
182
+ var unsupportedIterableToArray = {exports: {}};
183
+
184
+ var arrayLikeToArray = {exports: {}};
185
+
186
+ (function (module) {
187
+ function _arrayLikeToArray(arr, len) {
188
+ if (len == null || len > arr.length) len = arr.length;
189
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
190
+ return arr2;
191
+ }
192
+ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
193
+ } (arrayLikeToArray));
194
+
195
+ (function (module) {
196
+ var arrayLikeToArray$1 = arrayLikeToArray.exports;
197
+ function _unsupportedIterableToArray(o, minLen) {
198
+ if (!o) return;
199
+ if (typeof o === "string") return arrayLikeToArray$1(o, minLen);
200
+ var n = Object.prototype.toString.call(o).slice(8, -1);
201
+ if (n === "Object" && o.constructor) n = o.constructor.name;
202
+ if (n === "Map" || n === "Set") return Array.from(o);
203
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray$1(o, minLen);
204
+ }
205
+ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
206
+ } (unsupportedIterableToArray));
207
+
208
+ var nonIterableRest = {exports: {}};
209
+
210
+ (function (module) {
211
+ function _nonIterableRest() {
212
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
213
+ }
214
+ module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
215
+ } (nonIterableRest));
216
+
217
+ (function (module) {
218
+ var arrayWithHoles$1 = arrayWithHoles.exports;
219
+ var iterableToArrayLimit$1 = iterableToArrayLimit.exports;
220
+ var unsupportedIterableToArray$1 = unsupportedIterableToArray.exports;
221
+ var nonIterableRest$1 = nonIterableRest.exports;
222
+ function _slicedToArray(arr, i) {
223
+ return arrayWithHoles$1(arr) || iterableToArrayLimit$1(arr, i) || unsupportedIterableToArray$1(arr, i) || nonIterableRest$1();
224
+ }
225
+ module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
226
+ } (slicedToArray));
227
+
228
+ var canUseDom = {};
229
+
230
+ var hasRequiredCanUseDom;
231
+
232
+ function requireCanUseDom () {
233
+ if (hasRequiredCanUseDom) return canUseDom;
234
+ hasRequiredCanUseDom = 1;
235
+
236
+ Object.defineProperty(canUseDom, "__esModule", {
237
+ value: true
238
+ });
239
+ canUseDom.default = canUseDom$1;
240
+ function canUseDom$1() {
241
+ return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
242
+ }
243
+ return canUseDom;
244
+ }
245
+
246
+ var interopRequireWildcard = {exports: {}};
247
+
248
+ (function (module) {
249
+ var _typeof = _typeof$1.exports["default"];
250
+ function _getRequireWildcardCache(e) {
251
+ if ("function" != typeof WeakMap) return null;
252
+ var r = new WeakMap(),
253
+ t = new WeakMap();
254
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
255
+ return e ? t : r;
256
+ })(e);
257
+ }
258
+ function _interopRequireWildcard(e, r) {
259
+ if (!r && e && e.__esModule) return e;
260
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
261
+ "default": e
262
+ };
263
+ var t = _getRequireWildcardCache(r);
264
+ if (t && t.has(e)) return t.get(e);
265
+ var n = {
266
+ __proto__: null
267
+ },
268
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
269
+ for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
270
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
271
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
272
+ }
273
+ return n["default"] = e, t && t.set(e, n), n;
274
+ }
275
+ module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;
276
+ } (interopRequireWildcard));
277
+
278
+ var useLayoutEffect$1 = {};
279
+
280
+ var default_1;
281
+
282
+ var _interopRequireDefault$1 = interopRequireDefault.exports.default;
283
+ var _interopRequireWildcard$1 = interopRequireWildcard.exports.default;
284
+ Object.defineProperty(useLayoutEffect$1, "__esModule", {
285
+ value: true
286
+ });
287
+ useLayoutEffect$1.useLayoutUpdateEffect = default_1 = useLayoutEffect$1.default = void 0;
288
+ var React$1 = _interopRequireWildcard$1(React__default);
289
+ var _canUseDom = _interopRequireDefault$1(requireCanUseDom());
290
+ /**
291
+ * Wrap `React.useLayoutEffect` which will not throw warning message in test env
292
+ */
293
+ var useInternalLayoutEffect = process.env.NODE_ENV !== 'test' && (0, _canUseDom.default)() ? React$1.useLayoutEffect : React$1.useEffect;
294
+ var useLayoutEffect = function useLayoutEffect(callback, deps) {
295
+ var firstMountRef = React$1.useRef(true);
296
+ useInternalLayoutEffect(function () {
297
+ return callback(firstMountRef.current);
298
+ }, deps);
299
+
300
+ // We tell react that first mount has passed
301
+ useInternalLayoutEffect(function () {
302
+ firstMountRef.current = false;
303
+ return function () {
304
+ firstMountRef.current = true;
305
+ };
306
+ }, []);
307
+ };
308
+ useLayoutEffect$1.useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {
309
+ useLayoutEffect(function (firstMount) {
310
+ if (!firstMount) {
311
+ return callback();
312
+ }
313
+ }, deps);
314
+ };
315
+ default_1 = useLayoutEffect$1.default = useLayoutEffect;
316
+
317
+ var useState = {};
318
+
319
+ var _interopRequireWildcard = interopRequireWildcard.exports.default;
320
+ var _interopRequireDefault = interopRequireDefault.exports.default;
321
+ Object.defineProperty(useState, "__esModule", {
322
+ value: true
323
+ });
324
+ var _default = useState.default = useSafeState;
325
+ var _slicedToArray2 = _interopRequireDefault(slicedToArray.exports);
326
+ var React = _interopRequireWildcard(React__default);
327
+ /**
328
+ * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.
329
+ * We do not make this auto is to avoid real memory leak.
330
+ * Developer should confirm it's safe to ignore themselves.
331
+ */
332
+ function useSafeState(defaultValue) {
333
+ var destroyRef = React.useRef(false);
334
+ var _React$useState = React.useState(defaultValue),
335
+ _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
336
+ value = _React$useState2[0],
337
+ setValue = _React$useState2[1];
338
+ React.useEffect(function () {
339
+ destroyRef.current = false;
340
+ return function () {
341
+ destroyRef.current = true;
342
+ };
343
+ }, []);
344
+ function safeSetState(updater, ignoreDestroy) {
345
+ if (ignoreDestroy && destroyRef.current) {
346
+ return;
347
+ }
348
+ setValue(updater);
349
+ }
350
+ return [value, safeSetState];
351
+ }
352
+
353
+ export { _inherits as _, _createSuper as a, _classCallCheck as b, _createClass as c, _toArray as d, interopRequireWildcard as e, useLayoutEffect$1 as f, _isNativeReflectConstruct as g, _setPrototypeOf as h, interopRequireDefault as i, _getPrototypeOf as j, _assertThisInitialized as k, default_1 as l, _default as m, requireCanUseDom as r, slicedToArray as s, toArray as t, useState as u };
package/index.d.ts CHANGED
@@ -64,6 +64,8 @@ export { default as DynamicMultiBox } from './DynamicMultiBox';
64
64
  export * from './DynamicMultiBox';
65
65
  export { default as Empty } from './Empty';
66
66
  export * from './Empty';
67
+ export { default as FieldForm } from './FieldForm';
68
+ export * from './FieldForm';
67
69
  export { default as Form } from './Form';
68
70
  export * from './Form';
69
71
  export { default as FormItem } from './FormItem';
package/index.js CHANGED
@@ -6,11 +6,11 @@ export { AutoButton } from './AutoButton/index.js';
6
6
  export { default as AutoTips, AutoTipsMultiline } from './AutoTips/index.js';
7
7
  export { Badge } from './Badge/index.js';
8
8
  export { Breadcrumbs } from './Breadcrumbs/index.js';
9
- export { Button } from './Button/index.js';
9
+ export { B as Button, P as PopConfirm } from './_verture/index-7e60b72c.js';
10
10
  export { ButtonGroup } from './ButtonGroup/index.js';
11
11
  export { Card } from './Card/index.js';
12
12
  export { Carousel } from './Carousel/index.js';
13
- export { C as Cascader } from './_verture/index-063009f8.js';
13
+ export { C as Cascader } from './_verture/index-0a300edb.js';
14
14
  export { Checkbox } from './Checkbox/index.js';
15
15
  export { CheckboxGroup } from './CheckboxGroup/index.js';
16
16
  export { default as CodeEditor, CompletionItemKind } from './CodeEditor/index.js';
@@ -31,9 +31,10 @@ export { Drawer } from './Drawer/index.js';
31
31
  export { D as Dropdown } from './_verture/index-bde7aabe.js';
32
32
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
33
33
  export { default as Empty } from './Empty/index.js';
34
+ export { default as FieldForm } from './FieldForm/index.js';
34
35
  export { default as Form } from './Form/index.js';
35
- export { F as FormItem } from './_verture/index-f30ae73e.js';
36
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-8a48c400.js';
36
+ export { F as FormItem } from './_verture/index-0e866545.js';
37
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-3ed7e7f6.js';
37
38
  export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
38
39
  export { default as Help } from './Help/index.js';
39
40
  export { default as HelperText } from './HelperText/index.js';
@@ -53,7 +54,6 @@ export { PageHeader } from './PageHeader/index.js';
53
54
  export { Pagination } from './Pagination/index.js';
54
55
  export { ParauiProvider } from './ParauiProvider/index.js';
55
56
  export { default as PasswordRules } from './PasswordRules/index.js';
56
- export { PopConfirm } from './PopConfirm/index.js';
57
57
  export { PopMenu } from './PopMenu/index.js';
58
58
  export { Popover } from './Popover/index.js';
59
59
  export { Progress } from './Progress/index.js';
@@ -87,7 +87,7 @@ export { Title } from './Title/index.js';
87
87
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
88
88
  export { Tooltip } from './Tooltip/index.js';
89
89
  export { SSortablejs, Transfer } from './Transfer/index.js';
90
- export { T as Tree } from './_verture/index-d728b0ce.js';
90
+ export { T as Tree } from './_verture/index-320d67c4.js';
91
91
  export { default as Upload } from './Upload/index.js';
92
92
  export { default as Utils, getDateYYYYMMddHHMM, isObject, pixelReplacement } from './Utils/index.js';
93
93
  export { default as locale } from './locale/index.js';
@@ -111,18 +111,25 @@ import '@para-ui/icons/More';
111
111
  import '@para-ui/icons/MoreVert';
112
112
  import '@para-ui/icons/Return';
113
113
  import '@para-ui/icons/LoadingF';
114
+ import '@para-ui/icons/CheckCircleF';
115
+ import '@para-ui/icons/WarningCircle';
116
+ import '@para-ui/icons/CloseCircleF';
117
+ import '@para-ui/icons/WarningCircleF';
118
+ import './_verture/usePopupContainer-635f66f4.js';
114
119
  import 'react-slick';
115
120
  import '@para-ui/icons/RightCircleF';
116
121
  import '@para-ui/icons/LeftCircleF';
117
- import './_verture/Portal-42560ff0.js';
118
- import './_verture/slicedToArray-75fa4188.js';
119
- import './_verture/defineProperty-f0e15205.js';
120
- import './_verture/toConsumableArray-c7a8028f.js';
121
- import 'rc-motion';
122
+ import './_verture/index-1856bbeb.js';
123
+ import './_verture/defineProperty-6f62bb2a.js';
124
+ import './_verture/typeof-adeedc13.js';
125
+ import './_verture/toConsumableArray-599cd94a.js';
126
+ import './_verture/slicedToArray-61604a6c.js';
127
+ import './_verture/Portal-502bb85e.js';
128
+ import './_verture/useState-f2419d68.js';
122
129
  import './_verture/typeof-6ec38efd.js';
130
+ import 'rc-motion';
123
131
  import 'rc-tree/lib/utils/conductUtil';
124
132
  import '@para-ui/icons/Right';
125
- import '@para-ui/icons/CloseCircleF';
126
133
  import 'rc-tree/lib/utils/treeUtil';
127
134
  import '@para-ui/icons';
128
135
  import 'rc-collapse';
@@ -138,7 +145,6 @@ import './_verture/useGlobalProps-4ae1a007.js';
138
145
  import '@para-ui/icons/Copy';
139
146
  import '@para-ui/icons/CheckS';
140
147
  import 'dayjs';
141
- import '@para-ui/icons/WarningCircleF';
142
148
  import 'rc-picker/es/generate/dayjs';
143
149
  import 'rc-picker';
144
150
  import '@para-ui/icons/Calendar';
@@ -152,11 +158,12 @@ import '@para-ui/icons/Check';
152
158
  import '@para-ui/icons/Refresh';
153
159
  import 'rc-drawer';
154
160
  import 'rc-dropdown';
155
- import './_verture/usePopupContainer-635f66f4.js';
156
161
  import '@para-ui/icons/Panel';
157
162
  import '@para-ui/icons/Drag';
158
163
  import './_verture/index-0f5ee6f7.js';
159
164
  import './_verture/sortable.esm-76fe46a4.js';
165
+ import './_verture/isEqual-30b6f859.js';
166
+ import '@para-ui/icons/Loading';
160
167
  import '@para-ui/icons/LinkGroup';
161
168
  import '@para-ui/icons/UploadFile';
162
169
  import '@para-ui/icons/Help';
@@ -172,17 +179,14 @@ import 'rc-input-number';
172
179
  import '@para-ui/icons/Up';
173
180
  import '@para-ui/icons/IndentRightFill';
174
181
  import '@para-ui/icons/IndentLeftFill';
175
- import '@para-ui/icons/CheckCircleF';
176
182
  import 'rc-notification';
177
183
  import 'rc-pagination';
178
184
  import '@para-ui/icons/DoubleLeft';
179
- import '@para-ui/icons/WarningCircle';
180
185
  import 'rc-progress';
181
186
  import '@para-ui/icons/Plus';
182
187
  import '@para-ui/icons/EditOutline';
183
188
  import '@para-ui/icons/Message';
184
189
  import '@para-ui/icons/Set';
185
- import '@para-ui/icons/Loading';
186
190
  import './_verture/index-8ac46bd9.js';
187
191
  import 'rc-slider';
188
192
  import './_verture/tinycolor-ece3542d.js';
package/locale/en-US.d.ts CHANGED
@@ -187,6 +187,52 @@ declare const _default: {
187
187
  click: string;
188
188
  refresh: string;
189
189
  };
190
+ FieldForm: {
191
+ default: string;
192
+ required: string;
193
+ enum: string;
194
+ whitespace: string;
195
+ date: string;
196
+ types: {
197
+ string: string;
198
+ method: string;
199
+ array: string;
200
+ object: string;
201
+ number: string;
202
+ date: string;
203
+ boolean: string;
204
+ integer: string;
205
+ float: string;
206
+ regexp: string;
207
+ email: string;
208
+ url: string;
209
+ hex: string;
210
+ };
211
+ string: string;
212
+ number: string;
213
+ array: string;
214
+ pattern: {
215
+ mismatch: string;
216
+ };
217
+ format: string;
218
+ parse: string;
219
+ invalid: string;
220
+ method: string;
221
+ object: string;
222
+ boolean: string;
223
+ integer: string;
224
+ float: string;
225
+ regexp: string;
226
+ email: string;
227
+ url: string;
228
+ hex: string;
229
+ len: string;
230
+ min: string;
231
+ max: string;
232
+ range: string;
233
+ mismatch: string;
234
+ colon: string;
235
+ };
190
236
  FormItem: {
191
237
  choseFile: string;
192
238
  unEmpty: string;
package/locale/index.d.ts CHANGED
@@ -188,6 +188,52 @@ declare const _default: {
188
188
  click: string;
189
189
  refresh: string;
190
190
  };
191
+ FieldForm: {
192
+ default: string;
193
+ required: string;
194
+ enum: string;
195
+ whitespace: string;
196
+ date: string;
197
+ types: {
198
+ string: string;
199
+ method: string;
200
+ array: string;
201
+ object: string;
202
+ number: string;
203
+ date: string;
204
+ boolean: string;
205
+ integer: string;
206
+ float: string;
207
+ regexp: string;
208
+ email: string;
209
+ url: string;
210
+ hex: string;
211
+ };
212
+ string: string;
213
+ number: string;
214
+ array: string;
215
+ pattern: {
216
+ mismatch: string;
217
+ };
218
+ format: string;
219
+ parse: string;
220
+ invalid: string;
221
+ method: string;
222
+ object: string;
223
+ boolean: string;
224
+ integer: string;
225
+ float: string;
226
+ regexp: string;
227
+ email: string;
228
+ url: string;
229
+ hex: string;
230
+ len: string;
231
+ min: string;
232
+ max: string;
233
+ range: string;
234
+ mismatch: string;
235
+ colon: string;
236
+ };
191
237
  FormItem: {
192
238
  choseFile: string;
193
239
  unEmpty: string;
@@ -502,6 +548,52 @@ declare const _default: {
502
548
  click: string;
503
549
  refresh: string;
504
550
  };
551
+ FieldForm: {
552
+ default: string;
553
+ required: string;
554
+ enum: string;
555
+ whitespace: string;
556
+ date: string;
557
+ types: {
558
+ string: string;
559
+ method: string;
560
+ array: string;
561
+ object: string;
562
+ number: string;
563
+ date: string;
564
+ boolean: string;
565
+ integer: string;
566
+ float: string;
567
+ regexp: string;
568
+ email: string;
569
+ url: string;
570
+ hex: string;
571
+ };
572
+ string: string;
573
+ number: string;
574
+ array: string;
575
+ pattern: {
576
+ mismatch: string;
577
+ };
578
+ format: string;
579
+ parse: string;
580
+ invalid: string;
581
+ method: string;
582
+ object: string;
583
+ boolean: string;
584
+ integer: string;
585
+ float: string;
586
+ regexp: string;
587
+ email: string;
588
+ url: string;
589
+ hex: string;
590
+ len: string;
591
+ min: string;
592
+ max: string;
593
+ range: string;
594
+ mismatch: string;
595
+ colon: string;
596
+ };
505
597
  FormItem: {
506
598
  choseFile: string;
507
599
  unEmpty: string;