@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.
- package/AutoBox/index.js +48 -88
- package/AutoTips/index.js +25 -32
- package/Breadcrumbs/index.js +43 -63
- package/Button/SplitButton.d.ts +1 -1
- package/Button/index.d.ts +1 -1
- package/Button/index.js +88 -118
- package/ButtonGroup/index.js +27 -36
- package/Carousel/index.d.ts +2 -2
- package/Carousel/index.js +27 -28
- package/Cascader/index.js +52 -64
- package/Checkbox/index.js +23 -39
- package/CheckboxGroup/index.js +31 -48
- package/Collapse/collapsePanel.d.ts +1 -1
- package/Collapse/index.d.ts +1 -1
- package/Collapse/index.js +9 -29
- package/Collapse/util.d.ts +2 -2
- package/CollapseBox/index.js +45 -56
- package/CollapseLayout/index.js +35 -54
- package/ComboSelect/index.js +222 -349
- package/ComboSelect/interface.d.ts +3 -3
- package/Container/index.js +17 -20
- package/DatePicker/generatePicker/index.d.ts +17 -17
- package/DatePicker/index.d.ts +4 -4
- package/DatePicker/index.js +111 -167
- package/Desktop/index.js +62 -173
- package/Drawer/index.js +65 -58
- package/Drawer/interface.d.ts +7 -3
- package/Dropdown/index.d.ts +1 -1
- package/Dropdown/index.js +3 -3
- package/Empty/index.js +17 -22
- package/Form/index.d.ts +1 -1
- package/Form/index.js +38 -80
- package/FormItem/index.d.ts +1 -1
- package/FormItem/index.js +11 -11
- package/FormItem/validateFunction.d.ts +1 -1
- package/FunctionModal/index.js +11 -11
- package/GlobalContext/index.js +3 -3
- package/GlobalContext/usePopupContainer.d.ts +1 -1
- package/Help/index.js +11 -11
- package/HelperText/index.js +11 -12
- package/InputLang/index.js +47 -80
- package/InputNumber/index.js +65 -100
- package/Label/index.js +15 -16
- package/Loading/index.js +6 -7
- package/Menu/index.js +148 -328
- package/Menu/interface.d.ts +2 -2
- package/Menu/verticalMenuList.d.ts +1 -1
- package/Message/index.d.ts +1 -1
- package/Message/index.js +45 -64
- package/Modal/Confirm/index.d.ts +2 -2
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +119 -152
- package/MultiBox/index.js +43 -75
- package/Notification/index.d.ts +2 -2
- package/Notification/index.js +51 -72
- package/OperateBtn/index.js +42 -70
- package/PageHeader/index.js +120 -286
- package/PageHeader/interface.d.ts +1 -1
- package/Pagination/index.d.ts +2 -2
- package/Pagination/index.js +79 -131
- package/ParauiProvider/index.js +2 -3
- package/PasswordRules/index.js +12 -30
- package/PopConfirm/index.d.ts +1 -1
- package/PopConfirm/index.js +52 -59
- package/Popover/index.js +8 -9
- package/Progress/index.d.ts +6 -6
- package/Progress/index.js +50 -89
- package/Querying/index.js +14 -17
- package/README.md +6 -0
- package/Radio/index.js +21 -33
- package/RadioGroup/index.js +32 -47
- package/Search/index.js +44 -66
- package/Select/index.js +176 -343
- package/SelectInput/index.js +8 -9
- package/Selector/index.js +285 -681
- package/SelectorPicker/index.js +62 -97
- package/SingleBox/index.js +29 -54
- package/Slider/index.d.ts +1 -1
- package/Slider/index.js +29 -41
- package/Slider/interface.d.ts +2 -2
- package/Split/index.js +10 -23
- package/Status/index.js +8 -7
- package/Stepper/index.d.ts +1 -1
- package/Stepper/index.js +20 -25
- package/Switch/index.d.ts +2 -2
- package/Switch/index.js +19 -20
- package/Table/index.js +568 -1019
- package/Table/interface.d.ts +5 -5
- package/Tabs/index.d.ts +3 -3
- package/Tabs/index.js +47 -65
- package/Tag/TagGroup.d.ts +1 -1
- package/Tag/index.d.ts +2 -2
- package/Tag/index.js +72 -107
- package/TextEditor/index.d.ts +2 -2
- package/TextEditor/index.js +81 -105
- package/TextField/index.js +141 -220
- package/TimePicker/index.d.ts +1 -1
- package/TimePicker/index.js +12 -15
- package/Timeline/index.js +42 -52
- package/Title/index.js +10 -9
- package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
- package/ToggleButton/index.js +50 -70
- package/Tooltip/index.js +64 -98
- package/Tooltip/interface.d.ts +1 -1
- package/Transfer/index.d.ts +1 -1
- package/Transfer/index.js +77 -106
- package/Transfer/useClick.d.ts +1 -1
- package/Tree/index.js +10 -10
- package/Tree/interface.d.ts +6 -6
- package/Upload/Dragger/index.d.ts +1 -1
- package/Upload/ImageUpload/index.d.ts +1 -1
- package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
- package/Upload/index.d.ts +1 -1
- package/Upload/index.js +283 -475
- package/Upload/interface.d.ts +2 -2
- package/_verture/{constant-bf34e6fa.js → constant-66aa48a1.js} +0 -1
- package/_verture/defineProperty-62acccfc.js +34 -0
- package/_verture/{index-342379c6.js → index-06fea29b.js} +79 -124
- package/_verture/{index-48875ffd.js → index-131f8fe5.js} +80 -181
- package/_verture/{index-31ce5a11.js → index-92144ad3.js} +238 -445
- package/_verture/{index-bbed73a3.js → index-be4faaee.js} +19 -61
- package/_verture/{intl-336570e4.js → intl-5cbb940c.js} +4 -12
- package/_verture/{modalContext-d646d9db.js → modalContext-c749e1c6.js} +18 -43
- package/_verture/{slicedToArray-d7722f4b.js → slicedToArray-77980792.js} +23 -25
- package/_verture/{toConsumableArray-f8047a75.js → toConsumableArray-87c7d895.js} +1 -1
- package/_verture/{useFormatMessage-f4452258.js → useFormatMessage-703f8b20.js} +1 -3
- package/_verture/{useGlobalProps-af9a2af6.js → useGlobalProps-1b846a65.js} +1 -2
- package/_verture/{usePopupContainer-b8ab7cab.js → usePopupContainer-87febeb9.js} +10 -25
- package/_verture/{util-a77b261e.js → util-7e1fb1e2.js} +2 -3
- package/index.js +14 -14
- package/package.json +4 -5
- package/_verture/defineProperty-0590dc61.js +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function getTransitionProps(props, options) {
|
|
2
2
|
var timeout = props.timeout,
|
|
3
|
-
|
|
4
|
-
|
|
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-
|
|
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-
|
|
24
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
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-
|
|
71
|
+
export { T as Tree } from './_verture/index-92144ad3.js';
|
|
72
72
|
export { default as Upload } from './Upload/index.js';
|
|
73
|
-
import './_verture/slicedToArray-
|
|
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-
|
|
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-
|
|
81
|
+
import './_verture/toConsumableArray-87c7d895.js';
|
|
82
82
|
import '@para-ui/icons/Return';
|
|
83
|
-
import './_verture/useFormatMessage-
|
|
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-
|
|
91
|
+
import './_verture/defineProperty-62acccfc.js';
|
|
92
92
|
import 'react-slick';
|
|
93
|
-
import './_verture/index-
|
|
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-
|
|
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-
|
|
114
|
+
import './_verture/usePopupContainer-87febeb9.js';
|
|
115
115
|
import 'dayjs';
|
|
116
|
-
import './_verture/useGlobalProps-
|
|
116
|
+
import './_verture/useGlobalProps-1b846a65.js';
|
|
117
117
|
import '@para-ui/icons/Delete';
|
|
118
118
|
import '@para-ui/icons/LinkGroup';
|
|
119
|
-
import './_verture/intl-
|
|
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.
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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 _ };
|