@para-ui/core 4.0.0-rc.5 → 4.0.0-rc.6

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 (64) hide show
  1. package/Button/index.js +1 -1
  2. package/Cascader/index.js +5 -4
  3. package/ComboSelect/index.js +27 -16
  4. package/ComboSelect/lang/en_US.d.ts +1 -0
  5. package/ComboSelect/lang/index.d.ts +2 -0
  6. package/ComboSelect/lang/zh_CN.d.ts +1 -0
  7. package/ComboSelect/utils.d.ts +6 -0
  8. package/DatePicker/index.js +3 -1
  9. package/DynamicMultiBox/index.js +8 -5
  10. package/Form/index.js +9 -5
  11. package/FormItem/index.js +9 -5
  12. package/FunctionModal/index.js +2 -2
  13. package/Selector/index.js +3 -326
  14. package/SelectorPicker/index.js +3 -2
  15. package/Stepper/index.js +1 -1
  16. package/Table/index.js +471 -409
  17. package/Tabs/index.js +2 -2
  18. package/Tag/index.js +82 -53
  19. package/TextEditor/index.js +3 -3
  20. package/TimePicker/index.js +3 -1
  21. package/Timeline/index.js +14 -20
  22. package/ToggleButton/index.js +25 -26
  23. package/Tooltip/index.js +26 -27
  24. package/Transfer/index.js +49 -44
  25. package/Tree/index.js +8 -4
  26. package/Upload/index.js +624 -407
  27. package/_verture/{index-0ced30f7.js → index-3cdaba96.js} +3 -18
  28. package/_verture/{index-f186b5e8.js → index-4fafd0a0.js} +394 -312
  29. package/_verture/index-d63bd287.js +327 -0
  30. package/_verture/{index-ef1235fb.js → index-e0f9064d.js} +1 -1
  31. package/_verture/{slicedToArray-8223a2ef.js → slicedToArray-75fa4188.js} +1 -1
  32. package/_verture/toConsumableArray-c7a8028f.js +19 -0
  33. package/_verture/{utils-46e99c9a.js → utils-c17b5265.js} +16 -1
  34. package/index.js +9 -7
  35. package/locale/en-US.d.ts +1 -0
  36. package/locale/index.d.ts +2 -0
  37. package/locale/index.js +4 -2
  38. package/locale/zh-CN.d.ts +1 -0
  39. package/package.json +11 -10
  40. package/umd/Button.js +7 -7
  41. package/umd/ButtonGroup.js +1 -1
  42. package/umd/ComboSelect.js +2 -2
  43. package/umd/DatePicker.js +1 -1
  44. package/umd/Descriptions.js +1 -1
  45. package/umd/Desktop.js +6 -6
  46. package/umd/Drawer.js +1 -1
  47. package/umd/DynamicMultiBox.js +2 -2
  48. package/umd/Form.js +4 -4
  49. package/umd/FormItem.js +2 -2
  50. package/umd/FunctionModal.js +1 -1
  51. package/umd/Modal.js +7 -7
  52. package/umd/OperateBtn.js +1 -1
  53. package/umd/PageHeader.js +6 -6
  54. package/umd/Pagination.js +1 -1
  55. package/umd/PopConfirm.js +1 -1
  56. package/umd/Table.js +1 -1
  57. package/umd/Tabs.js +1 -1
  58. package/umd/TimePicker.js +7 -7
  59. package/umd/ToggleButton.js +5 -5
  60. package/umd/Transfer.js +1 -1
  61. package/umd/Upload.js +1 -1
  62. package/umd/locale.js +1 -1
  63. /package/_verture/{modalContext-5df08980.js → modalContext-8534f23d.js} +0 -0
  64. /package/_verture/{typeof-c310ee4a.js → typeof-b240b062.js} +0 -0
@@ -1,14 +1,15 @@
1
1
  import { _ as __rest } from './tslib.es6-55ed4bd2.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { _ as _arrayLikeToArray, a as _unsupportedIterableToArray, b as _slicedToArray, c as _arrayWithHoles, d as _nonIterableRest } from './slicedToArray-8223a2ef.js';
3
+ import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
4
4
  import { _ as _defineProperty, a as _toPropertyKey } from './defineProperty-1d116156.js';
5
+ import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
5
6
  import { _ as _typeof$1 } from './typeof-adeedc13.js';
6
7
  import * as React$4 from 'react';
7
8
  import React__default, { useState as useState$1, useMemo as useMemo$1, useCallback, useRef, useEffect } from 'react';
8
9
  import ReactDOM, { unstable_batchedUpdates, createPortal, flushSync } from 'react-dom';
9
10
  import CSSMotion from 'rc-motion';
10
11
  import clsx from 'clsx';
11
- import { _ as _typeof$2 } from './typeof-c310ee4a.js';
12
+ import { _ as _typeof$2 } from './typeof-b240b062.js';
12
13
  import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
13
14
  import Right from '@para-ui/icons/Right';
14
15
  import Down from '@para-ui/icons/Down';
@@ -38,22 +39,6 @@ function _extends() {
38
39
  return _extends.apply(this, arguments);
39
40
  }
40
41
 
41
- function _arrayWithoutHoles(arr) {
42
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
43
- }
44
-
45
- function _iterableToArray(iter) {
46
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
47
- }
48
-
49
- function _nonIterableSpread() {
50
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
51
- }
52
-
53
- function _toConsumableArray(arr) {
54
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
55
- }
56
-
57
42
  function ownKeys(e, r) {
58
43
  var t = Object.keys(e);
59
44
  if (Object.getOwnPropertySymbols) {