@para-ui/core 4.0.0-rc.7 → 4.0.0

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 (67) hide show
  1. package/Cascader/index.js +4 -5
  2. package/ComboSelect/index.js +13 -15
  3. package/ComboSelect/lang/en_US.d.ts +1 -0
  4. package/ComboSelect/lang/index.d.ts +2 -0
  5. package/ComboSelect/lang/zh_CN.d.ts +1 -0
  6. package/CopyText/index.js +7 -5
  7. package/DatePicker/index.js +1 -3
  8. package/DynamicMultiBox/index.js +5 -8
  9. package/Form/index.js +4 -8
  10. package/FormItem/index.js +4 -8
  11. package/FunctionModal/index.js +2 -2
  12. package/QuickReply/index.js +1 -1
  13. package/README.md +2 -106
  14. package/Select/index.js +2 -1
  15. package/SelectInput/index.js +1 -1
  16. package/Selector/index.js +326 -3
  17. package/SelectorPicker/index.js +2 -3
  18. package/Switch/index.js +8 -8
  19. package/Table/index.js +409 -471
  20. package/Tabs/index.js +2 -2
  21. package/Tag/index.js +53 -82
  22. package/TextEditor/index.js +3 -3
  23. package/TextField/index.js +1 -1
  24. package/TimePicker/index.js +1 -3
  25. package/Timeline/index.js +20 -14
  26. package/ToggleButton/index.js +26 -25
  27. package/Tooltip/index.js +27 -26
  28. package/Transfer/index.js +44 -49
  29. package/Tree/index.js +4 -8
  30. package/Upload/index.js +408 -625
  31. package/_verture/{index-466a3496.js → index-9784b09c.js} +18 -3
  32. package/_verture/{index-f518e244.js → index-bd14bb50.js} +1 -1
  33. package/_verture/{index-3156e3ef.js → index-e3011376.js} +312 -394
  34. package/_verture/{slicedToArray-75fa4188.js → slicedToArray-8223a2ef.js} +1 -1
  35. package/index.js +7 -9
  36. package/locale/en-US.d.ts +1 -0
  37. package/locale/index.d.ts +2 -0
  38. package/locale/index.js +4 -2
  39. package/locale/zh-CN.d.ts +1 -0
  40. package/package.json +3 -2
  41. package/umd/ComboSelect.js +2 -2
  42. package/umd/CopyText.js +2 -2
  43. package/umd/Desktop.js +1 -1
  44. package/umd/DynamicMultiBox.js +2 -2
  45. package/umd/Form.js +2 -2
  46. package/umd/FormItem.js +2 -2
  47. package/umd/InputLang.js +1 -1
  48. package/umd/MultiBox.js +1 -1
  49. package/umd/Pagination.js +2 -2
  50. package/umd/QuickReply.js +1 -1
  51. package/umd/Search.js +1 -1
  52. package/umd/Select.js +2 -2
  53. package/umd/SelectInput.js +2 -2
  54. package/umd/Selector.js +1 -1
  55. package/umd/SelectorPicker.js +1 -1
  56. package/umd/SingleBox.js +1 -1
  57. package/umd/Switch.js +1 -1
  58. package/umd/Table.js +2 -2
  59. package/umd/TextField.js +1 -1
  60. package/umd/Transfer.js +1 -1
  61. package/umd/Upload.js +1 -1
  62. package/umd/locale.js +1 -1
  63. package/_verture/index-d63bd287.js +0 -327
  64. package/_verture/toConsumableArray-c7a8028f.js +0 -19
  65. /package/_verture/{index-d6093d1c.js → index-28a6bc3a.js} +0 -0
  66. /package/_verture/{modalContext-7b512b0c.js → modalContext-e4361800.js} +0 -0
  67. /package/_verture/{typeof-b240b062.js → typeof-c310ee4a.js} +0 -0
@@ -1,15 +1,14 @@
1
1
  import { _ as __rest } from './tslib.es6-55ed4bd2.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
3
+ import { _ as _arrayLikeToArray, a as _unsupportedIterableToArray, b as _slicedToArray, c as _arrayWithHoles, d as _nonIterableRest } from './slicedToArray-8223a2ef.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';
6
5
  import { _ as _typeof$1 } from './typeof-adeedc13.js';
7
6
  import * as React$4 from 'react';
8
7
  import React__default, { useState as useState$1, useMemo as useMemo$1, useCallback, useRef, useEffect } from 'react';
9
8
  import ReactDOM, { unstable_batchedUpdates, createPortal, flushSync } from 'react-dom';
10
9
  import CSSMotion from 'rc-motion';
11
10
  import clsx from 'clsx';
12
- import { _ as _typeof$2 } from './typeof-b240b062.js';
11
+ import { _ as _typeof$2 } from './typeof-c310ee4a.js';
13
12
  import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
14
13
  import Right from '@para-ui/icons/Right';
15
14
  import Down from '@para-ui/icons/Down';
@@ -39,6 +38,22 @@ function _extends() {
39
38
  return _extends.apply(this, arguments);
40
39
  }
41
40
 
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
+
42
57
  function ownKeys(e, r) {
43
58
  var t = Object.keys(e);
44
59
  if (Object.getOwnPropertySymbols) {
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import { TextField } from '../TextField/index.js';
4
- import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
4
+ import { b as _slicedToArray } from './slicedToArray-8223a2ef.js';
5
5
  import { RadioGroup } from '../RadioGroup/index.js';
6
6
  import Select from '../Select/index.js';
7
7
  import { CheckboxGroup } from '../CheckboxGroup/index.js';