@para-ui/core 4.0.58 → 4.0.59
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/AutoButton/index.js +2 -1
- package/Breadcrumbs/index.js +7 -1
- package/ComboSelect/index.js +3 -3
- package/DynamicMultiBox/index.js +3 -3
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/Message/index.js +1 -1
- package/README.md +7 -0
- package/Stepper/index.js +1 -1
- package/Table/index.js +432 -497
- package/index.js +1 -1
- package/package.json +1 -1
- package/umd/Argv.js +1 -1
- package/umd/AutoButton.js +2 -2
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Message.js +1 -1
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +1 -1
- /package/_verture/{index-7558fb61.js → index-605a20c6.js} +0 -0
package/AutoButton/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var localeJson = {
|
|
|
39
39
|
en
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-auto-button {\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content {\n border-radius: 4px;\n overflow: hidden;\n padding: 4px 0;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn {\n width: 100%;\n height: 30px;\n line-height: 30px;\n color: rgb(29, 33, 38);\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n text-align: right;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .button-label {\n justify-content: flex-start;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .paraui-v4-auto-tips {\n padding: 0 10px;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn.item-btn-disabled {\n background-color: rgb(255, 255, 255);\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}";
|
|
42
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-auto-button {\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content {\n border-radius: 4px;\n overflow: hidden;\n padding: 4px 0;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn {\n width: 100%;\n height: 30px;\n line-height: 30px;\n color: rgb(29, 33, 38);\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n text-align: right;\n margin: 0;\n padding: 0 10px;\n border-radius: 0;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .button-label {\n justify-content: flex-start;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .paraui-v4-auto-tips {\n padding: 0 10px;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn.item-btn-disabled {\n background-color: rgb(255, 255, 255);\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}";
|
|
43
43
|
styleInject(css_248z);
|
|
44
44
|
|
|
45
45
|
const AutoButton = props => {
|
|
@@ -100,6 +100,7 @@ const AutoButton = props => {
|
|
|
100
100
|
return jsx(Button, Object.assign({
|
|
101
101
|
variant: "text",
|
|
102
102
|
disabled: item.disabled,
|
|
103
|
+
loading: item.loading,
|
|
103
104
|
className: clsx('item-btn', {
|
|
104
105
|
'item-btn-disabled': item.disabled
|
|
105
106
|
}),
|
package/Breadcrumbs/index.js
CHANGED
|
@@ -74,6 +74,11 @@ const Breadcrumbs = props => {
|
|
|
74
74
|
dom: boxRef.current,
|
|
75
75
|
cb: () => changeSize()
|
|
76
76
|
});
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
return () => {
|
|
79
|
+
clearTimeout(constData.current.timer);
|
|
80
|
+
};
|
|
81
|
+
}, []);
|
|
77
82
|
useEffect(() => {
|
|
78
83
|
const arr = new Array(constData.current.list.length).fill(false);
|
|
79
84
|
constData.current.hideArr = arr;
|
|
@@ -94,7 +99,8 @@ const Breadcrumbs = props => {
|
|
|
94
99
|
};
|
|
95
100
|
/** 去除遮罩 */
|
|
96
101
|
const hideMask = () => {
|
|
97
|
-
|
|
102
|
+
var _a, _b;
|
|
103
|
+
(_b = (_a = boxRef.current) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.remove("".concat($prefixCls, "-breadcrumbs-calculation"));
|
|
98
104
|
};
|
|
99
105
|
const changeSize = bol => {
|
|
100
106
|
if (!constData.current.isShrink) return hideMask();
|
package/ComboSelect/index.js
CHANGED
|
@@ -24,8 +24,6 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
24
24
|
import { Search } from '../Search/index.js';
|
|
25
25
|
import LoadingOutlined from '@para-ui/icons/LoadingF';
|
|
26
26
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
27
|
-
import '../_verture/typeof-adeedc13.js';
|
|
28
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
29
27
|
import '../Checkbox/index.js';
|
|
30
28
|
import '../Help/index.js';
|
|
31
29
|
import '@para-ui/icons/Help';
|
|
@@ -37,7 +35,6 @@ import '@para-ui/icons/UpTriangleF';
|
|
|
37
35
|
import '@para-ui/icons/DownTriangleF';
|
|
38
36
|
import '@para-ui/icons/Panel';
|
|
39
37
|
import '../Empty/index.js';
|
|
40
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
41
38
|
import '../_verture/index-0f5ee6f7.js';
|
|
42
39
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
43
40
|
import '../Radio/index.js';
|
|
@@ -60,6 +57,9 @@ import '@para-ui/icons/DoubleRight';
|
|
|
60
57
|
import '../ScrollBar/index.js';
|
|
61
58
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
62
59
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
60
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
61
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
62
|
+
import '../_verture/typeof-adeedc13.js';
|
|
63
63
|
import '../_verture/index-8ac46bd9.js';
|
|
64
64
|
import '../_verture/typeof-6ec38efd.js';
|
|
65
65
|
import 'rc-tree';
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -52,8 +52,6 @@ import '@para-ui/icons/Up';
|
|
|
52
52
|
import '../MultiBox/index.js';
|
|
53
53
|
import '@para-ui/icons/Internet';
|
|
54
54
|
import '../Table/index.js';
|
|
55
|
-
import '../_verture/typeof-adeedc13.js';
|
|
56
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
57
55
|
import '../_verture/index-cd9ede02.js';
|
|
58
56
|
import '@para-ui/icons/CheckCircleF';
|
|
59
57
|
import '@para-ui/icons/WarningCircle';
|
|
@@ -61,7 +59,6 @@ import '@para-ui/icons/WarningCircleF';
|
|
|
61
59
|
import '@para-ui/icons/ScreenF';
|
|
62
60
|
import '@para-ui/icons/UpTriangleF';
|
|
63
61
|
import '@para-ui/icons/DownTriangleF';
|
|
64
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
65
62
|
import '../Radio/index.js';
|
|
66
63
|
import '../OperateBtn/index.js';
|
|
67
64
|
import '@para-ui/icons/More';
|
|
@@ -76,6 +73,9 @@ import '../ScrollBar/index.js';
|
|
|
76
73
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
77
74
|
import '../_verture/index-320d67c4.js';
|
|
78
75
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
76
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
77
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
+
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/Form/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-605a20c6.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
@@ -54,12 +54,10 @@ import 'rc-input-number';
|
|
|
54
54
|
import '@para-ui/icons/Up';
|
|
55
55
|
import '../ComboSelect/index.js';
|
|
56
56
|
import '../Table/index.js';
|
|
57
|
-
import '../_verture/typeof-adeedc13.js';
|
|
58
57
|
import '@para-ui/icons/ScreenF';
|
|
59
58
|
import '@para-ui/icons/UpTriangleF';
|
|
60
59
|
import '@para-ui/icons/DownTriangleF';
|
|
61
60
|
import '@para-ui/icons/Panel';
|
|
62
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
63
61
|
import '../_verture/index-0f5ee6f7.js';
|
|
64
62
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
65
63
|
import '../OperateBtn/index.js';
|
|
@@ -76,6 +74,8 @@ import '../ScrollBar/index.js';
|
|
|
76
74
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
77
75
|
import '../_verture/index-320d67c4.js';
|
|
78
76
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
77
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
+
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/FormItem/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-605a20c6.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -54,12 +54,10 @@ import 'rc-input-number';
|
|
|
54
54
|
import '@para-ui/icons/Up';
|
|
55
55
|
import '../ComboSelect/index.js';
|
|
56
56
|
import '../Table/index.js';
|
|
57
|
-
import '../_verture/typeof-adeedc13.js';
|
|
58
57
|
import '@para-ui/icons/ScreenF';
|
|
59
58
|
import '@para-ui/icons/UpTriangleF';
|
|
60
59
|
import '@para-ui/icons/DownTriangleF';
|
|
61
60
|
import '@para-ui/icons/Panel';
|
|
62
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
63
61
|
import '../_verture/index-0f5ee6f7.js';
|
|
64
62
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
65
63
|
import '../OperateBtn/index.js';
|
|
@@ -76,6 +74,8 @@ import '../ScrollBar/index.js';
|
|
|
76
74
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
77
75
|
import '../_verture/index-320d67c4.js';
|
|
78
76
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
77
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
+
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/Message/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
|
|
11
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/1 下午5:48\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-message-box {\n /*从上到下进入*/\n /*从上到下*/\n}\n.paraui-v4-message-box--message-float {\n position: fixed;\n top: 3%;\n left: 0;\n z-index: 9999;\n text-align: center;\n width: 100%;\n pointer-events: none;\n}\n.paraui-v4-message-box .message-no-close .msg-text {\n max-width: 384px;\n margin-right: 0;\n}\n.paraui-v4-message-box .msg-icon {\n position: absolute;\n top: 11px;\n left: 16px;\n line-height: 0;\n}\n.paraui-v4-message-box .msg-icon svg {\n font-size: 18px;\n color: currentColor;\n}\n.paraui-v4-message-box .msg-text {\n display: inline-block;\n max-width: 352px;\n word-wrap: break-word;\n margin-right: 32px;\n margin-left: 24px;\n line-height: 20px;\n
|
|
11
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/1 下午5:48\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-message-box {\n /*从上到下进入*/\n /*从上到下*/\n}\n.paraui-v4-message-box--message-float {\n position: fixed;\n top: 3%;\n left: 0;\n z-index: 9999;\n text-align: center;\n width: 100%;\n pointer-events: none;\n}\n.paraui-v4-message-box .message-no-close .msg-text {\n max-width: 384px;\n margin-right: 0;\n}\n.paraui-v4-message-box .msg-icon {\n position: absolute;\n top: 11px;\n left: 16px;\n line-height: 0;\n}\n.paraui-v4-message-box .msg-icon svg {\n font-size: 18px;\n color: currentColor;\n}\n.paraui-v4-message-box .msg-text {\n display: inline-block;\n max-width: 352px;\n word-wrap: break-word;\n margin-right: 32px;\n margin-left: 24px;\n line-height: 20px;\n}\n.paraui-v4-message-box .msg-text--title {\n font-weight: 700;\n}\n.paraui-v4-message-box .msg-text--noicon {\n margin-left: 0;\n}\n.paraui-v4-message-box .msg-text .msg-desc {\n display: block;\n margin-top: 8px;\n font-weight: 400;\n word-wrap: break-word;\n}\n.paraui-v4-message-box .msg-close {\n width: 18px;\n height: 18px;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 16px;\n top: 11px;\n cursor: pointer;\n line-height: 0;\n pointer-events: auto;\n}\n.paraui-v4-message-box .msg-close svg {\n font-size: 18px;\n color: currentColor;\n}\n.paraui-v4-message-box .msg-item-fill .msg-wrapper {\n width: 100%;\n}\n.paraui-v4-message-box .msg-wrapper {\n position: relative;\n display: inline-block;\n margin: 10px auto;\n min-height: 40px;\n padding: 10px 16px;\n border-radius: 4px;\n font-size: 14px;\n text-align: left;\n}\n.paraui-v4-message-box .msg-wrapper.msg-wrapper-title {\n padding: 16px 16px;\n}\n.paraui-v4-message-box .msg-wrapper.msg-wrapper-title .msg-icon {\n top: 17px;\n}\n.paraui-v4-message-box .msg-wrapper.msg-wrapper-title .msg-close {\n top: 17px;\n}\n.paraui-v4-message-box .msg-info {\n background-color: rgb(240, 245, 255);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-message-box .msg-info .msg-close {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-message-box .msg-info .msg-close:hover {\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-message-box .msg-warn {\n background-color: rgb(255, 246, 235);\n color: rgb(255, 147, 38);\n}\n.paraui-v4-message-box .msg-warn .msg-close {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-message-box .msg-warn .msg-close:hover {\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-message-box .msg-error {\n background-color: rgb(255, 235, 235);\n color: rgb(244, 66, 66);\n}\n.paraui-v4-message-box .msg-error .msg-close {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-message-box .msg-error .msg-close:hover {\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-message-box .msg-success {\n background-color: rgb(232, 252, 239);\n color: rgb(19, 191, 76);\n}\n.paraui-v4-message-box .msg-success .msg-close {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-message-box .msg-success .msg-close:hover {\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-message-box .message-fadeInDown {\n animation-duration: 0.5s;\n animation-name: messageFadeInDown;\n}\n@keyframes messageFadeInDown {\n from {\n opacity: 0;\n transform: translate(0, -50px); /* 标准语法 */\n }\n to {\n opacity: 1;\n transform: translate(0, 0); /* 标准语法 */\n }\n}";
|
|
12
12
|
styleInject(css_248z);
|
|
13
13
|
|
|
14
14
|
//图标map
|
package/README.md
CHANGED