@para-ui/core 3.0.28 → 3.0.29

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 (132) hide show
  1. package/AutoBox/index.js +48 -88
  2. package/AutoTips/index.js +25 -32
  3. package/Breadcrumbs/index.js +43 -63
  4. package/Button/SplitButton.d.ts +1 -1
  5. package/Button/index.d.ts +1 -1
  6. package/Button/index.js +88 -118
  7. package/ButtonGroup/index.js +27 -36
  8. package/Carousel/index.d.ts +2 -2
  9. package/Carousel/index.js +27 -28
  10. package/Cascader/index.js +52 -64
  11. package/Checkbox/index.js +23 -39
  12. package/CheckboxGroup/index.js +31 -48
  13. package/Collapse/collapsePanel.d.ts +1 -1
  14. package/Collapse/index.d.ts +1 -1
  15. package/Collapse/index.js +9 -29
  16. package/Collapse/util.d.ts +2 -2
  17. package/CollapseBox/index.js +45 -56
  18. package/CollapseLayout/index.js +35 -54
  19. package/ComboSelect/index.js +222 -349
  20. package/ComboSelect/interface.d.ts +3 -3
  21. package/Container/index.js +17 -20
  22. package/DatePicker/generatePicker/index.d.ts +17 -17
  23. package/DatePicker/index.d.ts +4 -4
  24. package/DatePicker/index.js +111 -167
  25. package/Desktop/index.js +62 -173
  26. package/Drawer/index.js +65 -58
  27. package/Drawer/interface.d.ts +7 -3
  28. package/Dropdown/index.d.ts +1 -1
  29. package/Dropdown/index.js +3 -3
  30. package/Empty/index.js +17 -22
  31. package/Form/index.d.ts +1 -1
  32. package/Form/index.js +38 -80
  33. package/FormItem/index.d.ts +1 -1
  34. package/FormItem/index.js +11 -11
  35. package/FormItem/validateFunction.d.ts +1 -1
  36. package/FunctionModal/index.js +11 -11
  37. package/GlobalContext/index.js +3 -3
  38. package/GlobalContext/usePopupContainer.d.ts +1 -1
  39. package/Help/index.js +11 -11
  40. package/HelperText/index.js +11 -12
  41. package/InputLang/index.js +47 -80
  42. package/InputNumber/index.js +65 -100
  43. package/Label/index.js +15 -16
  44. package/Loading/index.js +6 -7
  45. package/Menu/index.js +148 -328
  46. package/Menu/interface.d.ts +2 -2
  47. package/Menu/verticalMenuList.d.ts +1 -1
  48. package/Message/index.d.ts +1 -1
  49. package/Message/index.js +45 -64
  50. package/Modal/Confirm/index.d.ts +2 -2
  51. package/Modal/index.d.ts +1 -1
  52. package/Modal/index.js +119 -152
  53. package/MultiBox/index.js +43 -75
  54. package/Notification/index.d.ts +2 -2
  55. package/Notification/index.js +51 -72
  56. package/OperateBtn/index.js +42 -70
  57. package/PageHeader/index.js +120 -286
  58. package/PageHeader/interface.d.ts +1 -1
  59. package/Pagination/index.d.ts +2 -2
  60. package/Pagination/index.js +79 -131
  61. package/ParauiProvider/index.js +2 -3
  62. package/PasswordRules/index.js +12 -30
  63. package/PopConfirm/index.d.ts +1 -1
  64. package/PopConfirm/index.js +52 -59
  65. package/Popover/index.js +8 -9
  66. package/Progress/index.d.ts +6 -6
  67. package/Progress/index.js +50 -89
  68. package/Querying/index.js +14 -17
  69. package/README.md +6 -0
  70. package/Radio/index.js +21 -33
  71. package/RadioGroup/index.js +32 -47
  72. package/Search/index.js +44 -66
  73. package/Select/index.js +176 -343
  74. package/SelectInput/index.js +8 -9
  75. package/Selector/index.js +285 -681
  76. package/SelectorPicker/index.js +62 -97
  77. package/SingleBox/index.js +29 -54
  78. package/Slider/index.d.ts +1 -1
  79. package/Slider/index.js +29 -41
  80. package/Slider/interface.d.ts +2 -2
  81. package/Split/index.js +10 -23
  82. package/Status/index.js +8 -7
  83. package/Stepper/index.d.ts +1 -1
  84. package/Stepper/index.js +20 -25
  85. package/Switch/index.d.ts +2 -2
  86. package/Switch/index.js +19 -20
  87. package/Table/index.js +568 -1019
  88. package/Table/interface.d.ts +5 -5
  89. package/Tabs/index.d.ts +3 -3
  90. package/Tabs/index.js +47 -65
  91. package/Tag/TagGroup.d.ts +1 -1
  92. package/Tag/index.d.ts +2 -2
  93. package/Tag/index.js +72 -107
  94. package/TextEditor/index.d.ts +2 -2
  95. package/TextEditor/index.js +81 -105
  96. package/TextField/index.js +141 -220
  97. package/TimePicker/index.d.ts +1 -1
  98. package/TimePicker/index.js +12 -15
  99. package/Timeline/index.js +42 -52
  100. package/Title/index.js +10 -9
  101. package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  102. package/ToggleButton/index.js +50 -70
  103. package/Tooltip/index.js +64 -98
  104. package/Tooltip/interface.d.ts +1 -1
  105. package/Transfer/index.d.ts +1 -1
  106. package/Transfer/index.js +77 -106
  107. package/Transfer/useClick.d.ts +1 -1
  108. package/Tree/index.js +10 -10
  109. package/Tree/interface.d.ts +6 -6
  110. package/Upload/Dragger/index.d.ts +1 -1
  111. package/Upload/ImageUpload/index.d.ts +1 -1
  112. package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
  113. package/Upload/index.d.ts +1 -1
  114. package/Upload/index.js +283 -475
  115. package/Upload/interface.d.ts +2 -2
  116. package/_verture/{constant-bf34e6fa.js → constant-66aa48a1.js} +0 -1
  117. package/_verture/defineProperty-62acccfc.js +34 -0
  118. package/_verture/{index-342379c6.js → index-06fea29b.js} +79 -124
  119. package/_verture/{index-48875ffd.js → index-131f8fe5.js} +80 -181
  120. package/_verture/{index-31ce5a11.js → index-92144ad3.js} +238 -445
  121. package/_verture/{index-bbed73a3.js → index-be4faaee.js} +19 -61
  122. package/_verture/{intl-336570e4.js → intl-5cbb940c.js} +4 -12
  123. package/_verture/{modalContext-d646d9db.js → modalContext-c749e1c6.js} +18 -43
  124. package/_verture/{slicedToArray-d7722f4b.js → slicedToArray-77980792.js} +23 -25
  125. package/_verture/{toConsumableArray-f8047a75.js → toConsumableArray-87c7d895.js} +1 -1
  126. package/_verture/{useFormatMessage-f4452258.js → useFormatMessage-703f8b20.js} +1 -3
  127. package/_verture/{useGlobalProps-af9a2af6.js → useGlobalProps-1b846a65.js} +1 -2
  128. package/_verture/{usePopupContainer-b8ab7cab.js → usePopupContainer-87febeb9.js} +10 -25
  129. package/_verture/{util-a77b261e.js → util-7e1fb1e2.js} +2 -3
  130. package/index.js +14 -14
  131. package/package.json +4 -5
  132. package/_verture/defineProperty-0590dc61.js +0 -16
@@ -1,7 +1,7 @@
1
1
  function getTransitionProps(props, options) {
2
2
  var timeout = props.timeout,
3
- _props$style = props.style,
4
- style = _props$style === void 0 ? {} : _props$style;
3
+ _props$style = props.style,
4
+ style = _props$style === void 0 ? {} : _props$style;
5
5
  return {
6
6
  duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,
7
7
  delay: style.transitionDelay
@@ -11,7 +11,6 @@ function getAutoHeightDuration(height) {
11
11
  if (!height) {
12
12
  return 0;
13
13
  }
14
-
15
14
  var constant = height / 36;
16
15
  return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
17
16
  }
package/index.js CHANGED
@@ -17,11 +17,11 @@ export { Container } from './Container/index.js';
17
17
  export { default as DatePicker } from './DatePicker/index.js';
18
18
  export { Desktop } from './Desktop/index.js';
19
19
  export { Drawer } from './Drawer/index.js';
20
- export { D as Dropdown } from './_verture/index-bbed73a3.js';
20
+ export { D as Dropdown } from './_verture/index-be4faaee.js';
21
21
  export { default as Empty } from './Empty/index.js';
22
22
  export { default as Form } from './Form/index.js';
23
- export { F as FormItem } from './_verture/index-48875ffd.js';
24
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-d646d9db.js';
23
+ export { F as FormItem } from './_verture/index-131f8fe5.js';
24
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-c749e1c6.js';
25
25
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
26
26
  export { default as Help } from './Help/index.js';
27
27
  export { default as HelperText } from './HelperText/index.js';
@@ -68,19 +68,19 @@ export { Title } from './Title/index.js';
68
68
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
69
69
  export { Tooltip } from './Tooltip/index.js';
70
70
  export { SSortablejs, Transfer } from './Transfer/index.js';
71
- export { T as Tree } from './_verture/index-31ce5a11.js';
71
+ export { T as Tree } from './_verture/index-92144ad3.js';
72
72
  export { default as Upload } from './Upload/index.js';
73
- import './_verture/slicedToArray-d7722f4b.js';
73
+ import './_verture/slicedToArray-77980792.js';
74
74
  import 'react/jsx-runtime';
75
75
  import 'react';
76
76
  import 'react-dom';
77
77
  import '@paraview/lib';
78
- import './_verture/constant-bf34e6fa.js';
78
+ import './_verture/constant-66aa48a1.js';
79
79
  import '@para-ui/icons/More';
80
80
  import './_verture/style-inject.es-300983ab.js';
81
- import './_verture/toConsumableArray-f8047a75.js';
81
+ import './_verture/toConsumableArray-87c7d895.js';
82
82
  import '@para-ui/icons/Return';
83
- import './_verture/useFormatMessage-f4452258.js';
83
+ import './_verture/useFormatMessage-703f8b20.js';
84
84
  import '@para-ui/core/GlobalContext';
85
85
  import './_verture/typeof-498dd2b1.js';
86
86
  import './_verture/tslib.es6-55ed4bd2.js';
@@ -88,15 +88,15 @@ import 'clsx';
88
88
  import '@para-ui/icons/LoadingF';
89
89
  import '@para-ui/icons/Forbid';
90
90
  import '@para-ui/icons/Down';
91
- import './_verture/defineProperty-0590dc61.js';
91
+ import './_verture/defineProperty-62acccfc.js';
92
92
  import 'react-slick';
93
- import './_verture/index-342379c6.js';
93
+ import './_verture/index-06fea29b.js';
94
94
  import 'rc-cascader';
95
95
  import '@para-ui/icons/Right';
96
96
  import '@para-ui/icons/Loading';
97
97
  import 'rc-collapse';
98
98
  import 'react-transition-group';
99
- import './_verture/util-a77b261e.js';
99
+ import './_verture/util-7e1fb1e2.js';
100
100
  import '@para-ui/icons/DoubleLeft';
101
101
  import '@para-ui/icons/DoubleRight';
102
102
  import '@para-ui/icons/Search';
@@ -111,12 +111,12 @@ import 'rc-picker/lib/locale/zh_CN';
111
111
  import '@para-ui/icons/SortRight';
112
112
  import 'rc-drawer';
113
113
  import 'rc-dropdown';
114
- import './_verture/usePopupContainer-b8ab7cab.js';
114
+ import './_verture/usePopupContainer-87febeb9.js';
115
115
  import 'dayjs';
116
- import './_verture/useGlobalProps-af9a2af6.js';
116
+ import './_verture/useGlobalProps-1b846a65.js';
117
117
  import '@para-ui/icons/Delete';
118
118
  import '@para-ui/icons/LinkGroup';
119
- import './_verture/intl-336570e4.js';
119
+ import './_verture/intl-5cbb940c.js';
120
120
  import './_verture/index-e2881a53.js';
121
121
  import '@para-ui/icons/Help';
122
122
  import '@para-ui/icons/Application';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.28",
4
+ "version": "3.0.29",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -22,11 +22,11 @@
22
22
  "@wangeditor/editor-for-react": "^1.0.5",
23
23
  "clsx": "1.1.1",
24
24
  "dayjs": "^1.11.3",
25
- "rc-cascader": "2.1.2",
25
+ "rc-cascader": "^3.8.0",
26
26
  "rc-collapse": "3.1.2",
27
27
  "rc-cropping": "1.0.1",
28
28
  "rc-dialog": "8.9.0",
29
- "rc-drawer": "4.4.2",
29
+ "rc-drawer": "^6.1.0",
30
30
  "rc-dropdown": "3.6.2",
31
31
  "rc-input-number": "7.3.4",
32
32
  "rc-motion": "2.4.4",
@@ -115,11 +115,10 @@
115
115
  "@types/react-dom": "^16.8.6 || ^17.0.0",
116
116
  "clsx": "1.1.1",
117
117
  "dayjs": "^1.11.3",
118
- "rc-cascader": "2.1.2",
119
118
  "rc-collapse": "3.1.2",
120
119
  "rc-cropping": "1.0.1",
121
120
  "rc-dialog": "8.9.0",
122
- "rc-drawer": "4.4.2",
121
+ "rc-drawer": "^6.1.0",
123
122
  "rc-dropdown": "3.6.2",
124
123
  "rc-input-number": "7.3.4",
125
124
  "rc-motion": "2.4.4",
@@ -1,16 +0,0 @@
1
- function _defineProperty(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
-
13
- return obj;
14
- }
15
-
16
- export { _defineProperty as _ };