@para-ui/core 4.0.39 → 4.0.41
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/Cascader/index.js +4 -4
- package/ComboSelect/index.js +7 -7
- package/Drawer/index.js +4 -4
- package/DynamicMultiBox/index.js +7 -7
- package/Form/index.js +7 -7
- package/FormItem/index.js +7 -7
- package/FunctionModal/index.js +2 -2
- package/Image/index.js +1 -1
- package/Modal/index.js +28 -5
- package/Pagination/index.js +2 -2
- package/PopConfirm/index.js +2 -2
- package/Progress/index.js +41 -40
- package/Querying/index.js +4 -4
- package/QuickReply/index.js +1 -1
- package/README.md +11 -0
- package/Select/index.js +2 -2
- package/Selector/index.js +2 -2
- package/SelectorPicker/index.js +4 -4
- package/SingleBox/index.js +2 -2
- package/SortBox/index.js +1 -1
- package/Switch/index.js +2 -2
- package/Table/index.js +423 -488
- package/TextEditor/index.js +3 -3
- package/Timeline/index.js +20 -14
- package/Tree/index.js +4 -4
- package/Upload/index.js +3 -3
- package/_verture/{index-77fff5bd.js → index-5b4ff3b2.js} +1 -1
- package/_verture/{index-63345bd4.js → index-6016a7ed.js} +3 -3
- package/_verture/{index-94e24006.js → index-8ac46bd9.js} +1 -1
- package/index.js +8 -8
- package/package.json +3 -2
- package/umd/Argv.js +2 -2
- package/umd/Cascader.js +1 -1
- package/umd/FunctionModal.js +6 -6
- package/umd/Modal.js +2 -2
- package/umd/Upload.js +2 -2
- /package/_verture/{Portal-edd94cac.js → Portal-f9bedb3a.js} +0 -0
- /package/_verture/{index-c8cb6751.js → index-0f5ee6f7.js} +0 -0
- /package/_verture/{index-182d41ee.js → index-8a431cd6.js} +0 -0
- /package/_verture/{modalContext-205db1f4.js → modalContext-efa83b5c.js} +0 -0
- /package/_verture/{typeof-4646b22c.js → typeof-6ec38efd.js} +0 -0
package/Cascader/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as Cascader } from '../_verture/index-
|
|
2
|
-
export { C as default } from '../_verture/index-
|
|
1
|
+
import { C as Cascader } from '../_verture/index-6016a7ed.js';
|
|
2
|
+
export { C as default } from '../_verture/index-6016a7ed.js';
|
|
3
3
|
import '../_verture/tslib.es6-f43aa41d.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
|
-
import '../_verture/Portal-
|
|
5
|
+
import '../_verture/Portal-f9bedb3a.js';
|
|
6
6
|
import '../_verture/slicedToArray-75fa4188.js';
|
|
7
7
|
import 'react';
|
|
8
8
|
import 'react-dom';
|
|
@@ -11,7 +11,7 @@ import '../_verture/toConsumableArray-c7a8028f.js';
|
|
|
11
11
|
import '../_verture/defineProperty-6f62bb2a.js';
|
|
12
12
|
import 'rc-motion';
|
|
13
13
|
import 'clsx';
|
|
14
|
-
import '../_verture/typeof-
|
|
14
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
15
15
|
import 'rc-tree/lib/utils/conductUtil';
|
|
16
16
|
import '@para-ui/icons/Right';
|
|
17
17
|
import '@para-ui/icons/Down';
|
package/ComboSelect/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import SearchIcon from '@para-ui/icons/Search';
|
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import Table from '../Table/index.js';
|
|
9
|
-
import { T as Tree } from '../_verture/index-
|
|
9
|
+
import { T as Tree } from '../_verture/index-5b4ff3b2.js';
|
|
10
10
|
import { Button } from '../Button/index.js';
|
|
11
11
|
import { D as Dropdown } from '../_verture/index-bde7aabe.js';
|
|
12
12
|
import { Popover } from '../Popover/index.js';
|
|
@@ -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-75fa4188.js';
|
|
29
27
|
import '../Checkbox/index.js';
|
|
30
28
|
import '../Help/index.js';
|
|
31
29
|
import '@para-ui/icons/Help';
|
|
@@ -37,8 +35,7 @@ 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/
|
|
41
|
-
import '../_verture/index-c8cb6751.js';
|
|
38
|
+
import '../_verture/index-0f5ee6f7.js';
|
|
42
39
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
43
40
|
import '../Radio/index.js';
|
|
44
41
|
import '../OperateBtn/index.js';
|
|
@@ -63,8 +60,11 @@ import '@para-ui/icons/Right';
|
|
|
63
60
|
import '@para-ui/icons/DoubleLeft';
|
|
64
61
|
import '@para-ui/icons/DoubleRight';
|
|
65
62
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
66
|
-
import '../_verture/
|
|
67
|
-
import '../_verture/
|
|
63
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
64
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
65
|
+
import '../_verture/typeof-adeedc13.js';
|
|
66
|
+
import '../_verture/index-8ac46bd9.js';
|
|
67
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
68
68
|
import 'rc-tree';
|
|
69
69
|
import '@para-ui/icons/Document';
|
|
70
70
|
import 'react-dom';
|
package/Drawer/index.js
CHANGED
|
@@ -32,8 +32,8 @@ var zh = {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
var localeJson = {
|
|
35
|
-
zh
|
|
36
|
-
en
|
|
35
|
+
zh,
|
|
36
|
+
en
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -41,8 +41,8 @@ var localeJson = {
|
|
|
41
41
|
* @param el 当前元素
|
|
42
42
|
* @param selector 查找元素class
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
const closest = (el, selector) => {
|
|
45
|
+
const matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
|
|
46
46
|
while (el) {
|
|
47
47
|
if (matchesSelector.call(el, selector)) {
|
|
48
48
|
break;
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { ComboSelect } from '../ComboSelect/index.js';
|
|
|
17
17
|
import DatePicker from '../DatePicker/index.js';
|
|
18
18
|
import AutoTips from '../AutoTips/index.js';
|
|
19
19
|
import { UUID } from '@paraview/lib';
|
|
20
|
-
import { d as dist } from '../_verture/index-
|
|
20
|
+
import { d as dist } from '../_verture/index-0f5ee6f7.js';
|
|
21
21
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
22
22
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
23
23
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
@@ -52,13 +52,10 @@ 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-75fa4188.js';
|
|
57
55
|
import '../Button/index.js';
|
|
58
56
|
import '@para-ui/icons/ScreenF';
|
|
59
57
|
import '@para-ui/icons/UpTriangleF';
|
|
60
58
|
import '@para-ui/icons/DownTriangleF';
|
|
61
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
62
59
|
import '../Radio/index.js';
|
|
63
60
|
import '../OperateBtn/index.js';
|
|
64
61
|
import '@para-ui/icons/More';
|
|
@@ -73,10 +70,13 @@ import 'rc-pagination';
|
|
|
73
70
|
import '@para-ui/icons/Right';
|
|
74
71
|
import '@para-ui/icons/DoubleLeft';
|
|
75
72
|
import '@para-ui/icons/DoubleRight';
|
|
76
|
-
import '../_verture/index-
|
|
73
|
+
import '../_verture/index-5b4ff3b2.js';
|
|
77
74
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
78
|
-
import '../_verture/
|
|
79
|
-
import '../_verture/
|
|
75
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
76
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
77
|
+
import '../_verture/typeof-adeedc13.js';
|
|
78
|
+
import '../_verture/index-8ac46bd9.js';
|
|
79
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
80
80
|
import 'rc-tree';
|
|
81
81
|
import '@para-ui/icons/Document';
|
|
82
82
|
import 'react-dom';
|
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-8a431cd6.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';
|
|
@@ -51,13 +51,11 @@ import 'rc-input-number';
|
|
|
51
51
|
import '@para-ui/icons/Up';
|
|
52
52
|
import '../ComboSelect/index.js';
|
|
53
53
|
import '../Table/index.js';
|
|
54
|
-
import '../_verture/typeof-adeedc13.js';
|
|
55
54
|
import '@para-ui/icons/ScreenF';
|
|
56
55
|
import '@para-ui/icons/UpTriangleF';
|
|
57
56
|
import '@para-ui/icons/DownTriangleF';
|
|
58
57
|
import '@para-ui/icons/Panel';
|
|
59
|
-
import '../_verture/
|
|
60
|
-
import '../_verture/index-c8cb6751.js';
|
|
58
|
+
import '../_verture/index-0f5ee6f7.js';
|
|
61
59
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
62
60
|
import '../OperateBtn/index.js';
|
|
63
61
|
import '@para-ui/icons/More';
|
|
@@ -73,10 +71,12 @@ import 'rc-pagination';
|
|
|
73
71
|
import '@para-ui/icons/Right';
|
|
74
72
|
import '@para-ui/icons/DoubleLeft';
|
|
75
73
|
import '@para-ui/icons/DoubleRight';
|
|
76
|
-
import '../_verture/index-
|
|
74
|
+
import '../_verture/index-5b4ff3b2.js';
|
|
77
75
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
78
|
-
import '../_verture/
|
|
79
|
-
import '../_verture/typeof-
|
|
76
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
77
|
+
import '../_verture/typeof-adeedc13.js';
|
|
78
|
+
import '../_verture/index-8ac46bd9.js';
|
|
79
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
80
80
|
import 'rc-tree';
|
|
81
81
|
import '@para-ui/icons/Document';
|
|
82
82
|
import 'react-dom';
|
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-8a431cd6.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -51,13 +51,11 @@ import 'rc-input-number';
|
|
|
51
51
|
import '@para-ui/icons/Up';
|
|
52
52
|
import '../ComboSelect/index.js';
|
|
53
53
|
import '../Table/index.js';
|
|
54
|
-
import '../_verture/typeof-adeedc13.js';
|
|
55
54
|
import '@para-ui/icons/ScreenF';
|
|
56
55
|
import '@para-ui/icons/UpTriangleF';
|
|
57
56
|
import '@para-ui/icons/DownTriangleF';
|
|
58
57
|
import '@para-ui/icons/Panel';
|
|
59
|
-
import '../_verture/
|
|
60
|
-
import '../_verture/index-c8cb6751.js';
|
|
58
|
+
import '../_verture/index-0f5ee6f7.js';
|
|
61
59
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
62
60
|
import '../OperateBtn/index.js';
|
|
63
61
|
import '@para-ui/icons/More';
|
|
@@ -73,10 +71,12 @@ import 'rc-pagination';
|
|
|
73
71
|
import '@para-ui/icons/Right';
|
|
74
72
|
import '@para-ui/icons/DoubleLeft';
|
|
75
73
|
import '@para-ui/icons/DoubleRight';
|
|
76
|
-
import '../_verture/index-
|
|
74
|
+
import '../_verture/index-5b4ff3b2.js';
|
|
77
75
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
78
|
-
import '../_verture/
|
|
79
|
-
import '../_verture/typeof-
|
|
76
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
77
|
+
import '../_verture/typeof-adeedc13.js';
|
|
78
|
+
import '../_verture/index-8ac46bd9.js';
|
|
79
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
80
80
|
import 'rc-tree';
|
|
81
81
|
import '@para-ui/icons/Document';
|
|
82
82
|
import 'react-dom';
|
package/FunctionModal/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-efa83b5c.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-efa83b5c.js';
|
|
3
3
|
import '../_verture/tslib.es6-f43aa41d.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/Image/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useState, useRef, useEffect, useContext, useMemo } from 'react';
|
|
5
|
-
import { i as warningOnce, d as wrapperRaf, _ as _objectSpread2, w as warning, c as clsx, P as Portal, K as KeyCode, b as _objectWithoutProperties, a as _extends, j as useMergedState } from '../_verture/Portal-
|
|
5
|
+
import { i as warningOnce, d as wrapperRaf, _ as _objectSpread2, w as warning, c as clsx, P as Portal, K as KeyCode, b as _objectWithoutProperties, a as _extends, j as useMergedState } from '../_verture/Portal-f9bedb3a.js';
|
|
6
6
|
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
7
7
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
8
8
|
import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
|
package/Modal/index.js
CHANGED
|
@@ -215,7 +215,7 @@ const Confirm = {
|
|
|
215
215
|
destroyAll: destroyAllConfirm
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/13 下午6:54\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-modal-close {\n color: rgb(92, 101, 115);\n}\n\n.paraui-v4-modal {\n position: relative;\n top: 100px;\n width: auto;\n max-width: calc(100vw - 32px);\n padding-bottom: 24px;\n margin: 0 auto;\n font-size: 14px;\n line-height: 1.5715;\n color: rgb(29, 33, 38);\n pointer-events: none;\n}\n.paraui-v4-modal.paraui-v4-modal-
|
|
218
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/13 下午6:54\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-modal-close {\n color: rgb(92, 101, 115);\n}\n\n.paraui-v4-modal {\n position: relative;\n top: 100px;\n width: auto;\n max-width: calc(100vw - 32px);\n padding-bottom: 24px;\n margin: 0 auto;\n font-size: 14px;\n line-height: 1.5715;\n color: rgb(29, 33, 38);\n pointer-events: none;\n}\n.paraui-v4-modal.paraui-v4-modal-fullscreen {\n width: 100%;\n max-width: 100%;\n height: 100%;\n}\n.paraui-v4-modal.paraui-v4-modal-zoom-enter, .paraui-v4-modal.paraui-v4-modal-zoom-appear {\n user-select: none;\n opacity: 0;\n transform: none;\n animation-duration: 0.3s;\n}\n.paraui-v4-modal-mask {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1500;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n}\n.paraui-v4-modal-mask-hidden {\n display: none;\n}\n.paraui-v4-modal-wrap {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1500;\n overflow: auto;\n outline: 0;\n -webkit-overflow-scrolling: touch;\n}\n.paraui-v4-modal .paraui-v4-modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow-y: auto;\n pointer-events: auto;\n background-color: white;\n border-radius: 4px;\n}\n.paraui-v4-modal.paraui-v4-modal-without-mask .paraui-v4-modal-content {\n box-shadow: 0 2px 8px 0 rgb(234, 236, 241);\n}\n.paraui-v4-modal .paraui-v4-modal-title {\n position: relative;\n height: 50px;\n padding: 15px 20px;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n color: rgb(29, 33, 38);\n overflow-wrap: break-word;\n}\n.paraui-v4-modal .paraui-v4-modal-title .paraui-v4-modal-close {\n position: absolute;\n top: 11px;\n right: 15px;\n z-index: 10;\n border: 0;\n}\n.paraui-v4-modal .paraui-v4-modal-title .paraui-v4-modal-close .paraui-v4-modal-close-icon {\n font-size: 18px;\n}\n.paraui-v4-modal .paraui-v4-modal-title .paraui-v4-modal-title-text {\n width: calc(100% - 28px);\n}\n.paraui-v4-modal .paraui-v4-modal-body {\n flex: auto;\n padding: 0 20px;\n overflow-y: auto;\n overflow-wrap: break-word;\n}\n.paraui-v4-modal .paraui-v4-modal-footer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n height: 72px;\n min-height: 72px;\n padding: 0 20px;\n text-align: right;\n}\n.paraui-v4-modal .paraui-v4-modal-footer > button + button {\n margin-left: 16px;\n}\n.paraui-v4-modal-open {\n overflow: hidden;\n}\n.paraui-v4-modal-centered {\n text-align: center;\n}\n.paraui-v4-modal-centered::before {\n display: inline-block;\n width: 0;\n height: 100%;\n vertical-align: middle;\n content: \"\";\n}\n.paraui-v4-modal-centered .paraui-v4-modal {\n top: 0;\n display: inline-block;\n padding-bottom: 0;\n text-align: left;\n vertical-align: middle;\n}\n@media (max-width: 767px) {\n .paraui-v4-modal .paraui-v4-modal {\n max-width: calc(100vw - 16px);\n margin: 8px auto;\n }\n .paraui-v4-modal .paraui-v4-modal-centered .paraui-v4-modal {\n flex: 1;\n }\n}\n\n.paraui-v4-modal-zoom-enter,\n.paraui-v4-modal-zoom-appear {\n opacity: 0;\n transform: scale(0);\n animation-duration: 0.2s;\n animation-play-state: paused;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n animation-fill-mode: both;\n}\n\n.paraui-v4-modal-zoom-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n.paraui-v4-modal-zoom-enter.paraui-v4-modal-zoom-enter-active,\n.paraui-v4-modal-zoom-appear.paraui-v4-modal-zoom-appear-active {\n animation-name: paraui-v4ModalZoomIn;\n animation-play-state: running;\n}\n\n.paraui-v4-modal-zoom-leave.paraui-v4-modal-zoom-leave-active {\n pointer-events: none;\n animation-name: paraui-v4ModalZoomOut;\n animation-play-state: running;\n}\n\n.paraui-v4-modal-zoom-enter-prepare,\n.paraui-v4-modal-zoom-appear-prepare {\n transform: none;\n}\n\n.paraui-v4-modal-fade-enter,\n.paraui-v4-modal-fade-appear {\n opacity: 0;\n animation-duration: 0.2s;\n animation-play-state: paused;\n animation-timing-function: linear;\n animation-fill-mode: both;\n}\n\n.paraui-v4-modal-fade-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n animation-timing-function: linear;\n}\n\n.paraui-v4-modal-fade-enter.paraui-v4-modal-fade-enter-active,\n.paraui-v4-modal-fade-appear.paraui-v4-modal-fade-appear-active {\n animation-name: paraui-v4ModalFadeIn;\n animation-play-state: running;\n}\n\n.paraui-v4-modal-fade-leave.paraui-v4-modal-fade-leave-active {\n pointer-events: none;\n animation-name: paraui-v4ModalFadeOut;\n animation-play-state: running;\n}\n\n@keyframes paraui-v4ModalZoomIn {\n 0% {\n opacity: 0;\n transform: scale(0.2);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes paraui-v4ModalZoomOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.2);\n }\n}\n@keyframes paraui-v4ModalFadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes paraui-v4ModalFadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}";
|
|
219
219
|
styleInject(css_248z);
|
|
220
220
|
|
|
221
221
|
//鼠标位置内部使用
|
|
@@ -287,10 +287,29 @@ const Modal = props => {
|
|
|
287
287
|
auto: "".concat(prefixCls, "-auto"),
|
|
288
288
|
fullScreen: "".concat(prefixCls, "-fullscreen")
|
|
289
289
|
};
|
|
290
|
-
if (
|
|
290
|
+
if (contentStyle) return;
|
|
291
291
|
if (isFullScreen) return sizeMap['fullScreen'];
|
|
292
292
|
return sizeMap[size];
|
|
293
293
|
};
|
|
294
|
+
const makeSizeStyle = () => {
|
|
295
|
+
if (!size) return;
|
|
296
|
+
if (size === 'fullScreen' || size === 'auto') return;
|
|
297
|
+
const sizeMap = {
|
|
298
|
+
sm: {
|
|
299
|
+
width: 430,
|
|
300
|
+
maxHeight: 118
|
|
301
|
+
},
|
|
302
|
+
md: {
|
|
303
|
+
width: 486,
|
|
304
|
+
maxHeight: 478
|
|
305
|
+
},
|
|
306
|
+
lg: {
|
|
307
|
+
width: 948,
|
|
308
|
+
maxHeight: 478
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
return sizeMap[size];
|
|
312
|
+
};
|
|
294
313
|
const getModalCls = () => {
|
|
295
314
|
if (mask) return "".concat(prefixCls, "-with-mask");
|
|
296
315
|
return "".concat(prefixCls, "-without-mask");
|
|
@@ -301,10 +320,14 @@ const Modal = props => {
|
|
|
301
320
|
};
|
|
302
321
|
//自定义内容样式
|
|
303
322
|
const getContentStyle = () => {
|
|
323
|
+
const {
|
|
324
|
+
maxHeight,
|
|
325
|
+
width
|
|
326
|
+
} = makeSizeStyle() || {};
|
|
304
327
|
return Object.assign(Object.assign({
|
|
305
|
-
//
|
|
306
|
-
|
|
307
|
-
width: contentWidth,
|
|
328
|
+
// contentWidth 和 contentHeight 优先级总是最高
|
|
329
|
+
maxHeight: contentHeight || maxHeight || 'calc(100vh - 142px)',
|
|
330
|
+
width: contentWidth || width,
|
|
308
331
|
height: contentHeight
|
|
309
332
|
}, bodyStyle), contentStyle);
|
|
310
333
|
};
|
package/Pagination/index.js
CHANGED
|
@@ -60,8 +60,8 @@ var zh = {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
var localeJson = {
|
|
63
|
-
zh
|
|
64
|
-
en
|
|
63
|
+
zh,
|
|
64
|
+
en
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-pagination {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n color: rgb(29, 33, 38);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-v4-pagination.paraui-v4-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-left-arrow > .pagination-content {\n padding-left: 0;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-right-arrow > .pagination-content {\n padding-right: 0;\n}\n.paraui-v4-pagination > .pagination-space {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .pagination-space:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content {\n display: flex;\n border-radius: 4px;\n height: 32px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page, .paraui-v4-pagination > .pagination-content > .right-page {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div, .paraui-v4-pagination > .pagination-content > .right-page > div {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 32px;\n height: 32px;\n border-radius: 4px;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn {\n cursor: not-allowed;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:last-child, .paraui-v4-pagination > .pagination-content > .right-page > div:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover, .paraui-v4-pagination > .pagination-content > .right-page > div:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div > svg, .paraui-v4-pagination > .pagination-content > .right-page > div > svg {\n font-size: 16px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination {\n height: 100%;\n display: inline-block;\n box-shadow: none;\n vertical-align: top;\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li {\n min-width: 32px;\n height: 32px;\n line-height: 32px;\n display: inline-block;\n text-align: center;\n cursor: pointer;\n border-radius: 4px;\n margin-right: 6px;\n padding: 0 6px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:first-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li:last-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-next {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-next, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-prev {\n padding: 0;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon svg {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon span {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover svg {\n display: inline-block;\n vertical-align: middle;\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover span {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:hover {\n background-color: rgb(247, 248, 250);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active {\n color: rgb(46, 101, 230);\n border: 1px solid;\n border-color: rgb(46, 101, 230);\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active:hover {\n background: rgb(255, 255, 255);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-btn-content button:first-child {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .page-line-memo .page-line-select {\n width: 110px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .skip-page-memo {\n display: flex;\n align-items: center;\n}\n.paraui-v4-pagination > .skip-page-memo > span {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field {\n width: 50px;\n margin: 0 4px;\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field .right-icon {\n margin-right: 8px;\n}";
|
package/PopConfirm/index.js
CHANGED
|
@@ -35,8 +35,8 @@ var zh = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
var localeJson = {
|
|
38
|
-
zh
|
|
39
|
-
en
|
|
38
|
+
zh,
|
|
39
|
+
en
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-popconfirm.paraui-v4-tooltip {\n position: absolute;\n width: 440px;\n padding: 0;\n font-size: 14px;\n color: initial;\n background-color: rgb(255, 255, 255);\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border-radius: 8px;\n border: 1px solid rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-popconfirm.component-tooltip-hidden.paraui-v4-tooltip {\n border: none;\n}\n.paraui-v4-popconfirm.paraui-v4-tooltip .component-tooltip-inner {\n padding: 0;\n color: initial;\n background-color: transparent;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper {\n padding: 16px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message {\n position: relative;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon {\n position: absolute;\n top: 1px;\n color: rgb(255, 147, 38);\n line-height: 0;\n font-size: 18px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-body {\n padding-left: 24px;\n line-height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-title {\n font-weight: 600;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-content {\n font-weight: 400;\n margin-top: 8px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-content.without-title {\n margin-top: 0;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-description {\n margin-top: 4px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-description.without-title-or-content {\n margin-top: 0;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns {\n margin-top: 12px;\n text-align: right;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns > button + button {\n margin-left: 12px;\n}\n.paraui-v4-popconfirm .paraui-v4-popconfirm-btn {\n min-width: 54px;\n}";
|
package/Progress/index.js
CHANGED
|
@@ -8,19 +8,19 @@ import CloseIcon from '@para-ui/icons/Close';
|
|
|
8
8
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
percent =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
const Steps = props => {
|
|
12
|
+
const {
|
|
13
|
+
steps,
|
|
14
|
+
percent = 0,
|
|
15
|
+
strokeWidth = 8,
|
|
16
|
+
strokeColor,
|
|
17
|
+
trailColor,
|
|
18
|
+
children
|
|
19
|
+
} = props;
|
|
20
20
|
/** 计算出应该高亮多少步 **/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
for (
|
|
21
|
+
const current = typeof percent === 'number' ? Math.round(steps * (percent / 100)) : 1;
|
|
22
|
+
const styledSteps = [];
|
|
23
|
+
for (let i = 0; i < steps; i += 1) {
|
|
24
24
|
styledSteps.push(jsx("div", {
|
|
25
25
|
className: i <= current - 1 ? 'steps-item steps-item-active' : 'steps-item',
|
|
26
26
|
style: {
|
|
@@ -64,11 +64,11 @@ function validProgress(progress) {
|
|
|
64
64
|
* @param gradients 渐变的参数
|
|
65
65
|
* @return {string} 样式值
|
|
66
66
|
*/
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Object.keys(gradients).forEach(
|
|
67
|
+
const sortGradient = gradients => {
|
|
68
|
+
let tempArr = [];
|
|
69
|
+
Object.keys(gradients).forEach(key => {
|
|
70
70
|
// 拿到百分比的数字
|
|
71
|
-
|
|
71
|
+
const formattedKey = parseFloat(key.replace(/%/g, ''));
|
|
72
72
|
// 进行序列化
|
|
73
73
|
if (!isNaN(formattedKey)) {
|
|
74
74
|
tempArr.push({
|
|
@@ -78,12 +78,12 @@ var sortGradient = function sortGradient(gradients) {
|
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
// 排序 从小到大
|
|
81
|
-
tempArr = tempArr.sort(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
tempArr = tempArr.sort((a, b) => a.key - b.key);
|
|
82
|
+
return tempArr.map(_ref => {
|
|
83
|
+
let {
|
|
84
|
+
key,
|
|
85
|
+
value
|
|
86
|
+
} = _ref;
|
|
87
87
|
return "".concat(value, " ").concat(key, "%");
|
|
88
88
|
}).join(', ');
|
|
89
89
|
};
|
|
@@ -105,17 +105,16 @@ var sortGradient = function sortGradient(gradients) {
|
|
|
105
105
|
* @param {string} strokeColor 颜色值
|
|
106
106
|
* @return 返回 backgroundImage 的样式值
|
|
107
107
|
*/
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
direction = _strokeColor$directio === void 0 ? directionConfig === 'rtl' ? 'to left' : 'to right' : _strokeColor$directio,
|
|
108
|
+
const handleGradient = (strokeColor, directionConfig) => {
|
|
109
|
+
const {
|
|
110
|
+
from = '#3D66F8',
|
|
111
|
+
to = '#4F93F0',
|
|
112
|
+
direction = directionConfig === 'rtl' ? 'to left' : 'to right'
|
|
113
|
+
} = strokeColor,
|
|
115
114
|
rest = __rest(strokeColor, ["from", "to", "direction"]);
|
|
116
115
|
// 剩余参数有值说明除了from to direction 还传了 另外的参数
|
|
117
116
|
if (Object.keys(rest).length !== 0) {
|
|
118
|
-
|
|
117
|
+
const sortedGradients = sortGradient(rest);
|
|
119
118
|
return {
|
|
120
119
|
backgroundImage: "linear-gradient(".concat(direction, ", ").concat(sortedGradients, ")")
|
|
121
120
|
};
|
|
@@ -124,23 +123,25 @@ var handleGradient = function handleGradient(strokeColor, directionConfig) {
|
|
|
124
123
|
backgroundImage: "linear-gradient(".concat(direction, ", ").concat(from, ", ").concat(to, ")")
|
|
125
124
|
};
|
|
126
125
|
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
126
|
+
const Line = props => {
|
|
127
|
+
const {
|
|
128
|
+
direction: directionConfig,
|
|
129
|
+
percent,
|
|
130
|
+
strokeWidth,
|
|
131
|
+
strokeColor,
|
|
132
|
+
strokeLinecap,
|
|
133
|
+
trailColor
|
|
134
|
+
} = props;
|
|
134
135
|
/** 进度条高亮部分的颜色样式 **/
|
|
135
|
-
|
|
136
|
+
const backgroundProps = strokeColor && typeof strokeColor !== 'string' ? handleGradient(strokeColor, directionConfig) : {
|
|
136
137
|
background: strokeColor
|
|
137
138
|
};
|
|
138
139
|
/** 进度条轨道部分的颜色样式 **/
|
|
139
|
-
|
|
140
|
+
const trailStyle = trailColor ? {
|
|
140
141
|
backgroundColor: trailColor
|
|
141
142
|
} : undefined;
|
|
142
143
|
/** 进度条百分比的样式 **/
|
|
143
|
-
|
|
144
|
+
const percentStyle = Object.assign({
|
|
144
145
|
width: "".concat(validProgress(percent), "%"),
|
|
145
146
|
height: strokeWidth || 8,
|
|
146
147
|
borderRadius: strokeLinecap === 'square' ? 0 : ''
|
package/Querying/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import 'react';
|
|
|
8
8
|
import '../_verture/index-ca413216.js';
|
|
9
9
|
import '@paraview/lib';
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const LargeSearch = () => {
|
|
12
12
|
return jsx("svg", Object.assign({
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
width: "100%",
|
|
@@ -445,7 +445,7 @@ var LargeSearch = function LargeSearch() {
|
|
|
445
445
|
}))
|
|
446
446
|
}));
|
|
447
447
|
};
|
|
448
|
-
|
|
448
|
+
const SmallSearch = () => {
|
|
449
449
|
return jsx("svg", Object.assign({
|
|
450
450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
451
451
|
width: "100%",
|
|
@@ -684,8 +684,8 @@ var zh = {
|
|
|
684
684
|
};
|
|
685
685
|
|
|
686
686
|
var localeJson = {
|
|
687
|
-
zh
|
|
688
|
-
en
|
|
687
|
+
zh,
|
|
688
|
+
en
|
|
689
689
|
};
|
|
690
690
|
|
|
691
691
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-querying {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n}\n.paraui-v4-querying > .querying-image {\n line-height: 0;\n overflow: hidden;\n}\n.paraui-v4-querying > .querying-image img {\n width: 100%;\n}\n.paraui-v4-querying .querying-image-large {\n width: 334px;\n height: 238px;\n}\n.paraui-v4-querying .querying-image-small {\n width: 120px;\n height: 80px;\n}\n.paraui-v4-querying > .querying-description {\n line-height: 17px;\n font-size: 14px;\n font-weight: 400;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-querying.paraui-v4-querying-large > .querying-description {\n margin-top: 20px;\n}\n.paraui-v4-querying.paraui-v4-querying-small > .querying-description {\n margin-top: 10px;\n font-size: 14px;\n}";
|
package/QuickReply/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
|
-
import { d as dist } from '../_verture/index-
|
|
5
|
+
import { d as dist } from '../_verture/index-0f5ee6f7.js';
|
|
6
6
|
import { Button } from '../Button/index.js';
|
|
7
7
|
import { Checkbox } from '../Checkbox/index.js';
|
|
8
8
|
import { TextField } from '../TextField/index.js';
|
package/README.md
CHANGED
package/Select/index.js
CHANGED
|
@@ -42,8 +42,8 @@ var zh = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
var localeJson = {
|
|
45
|
-
zh
|
|
46
|
-
en
|
|
45
|
+
zh,
|
|
46
|
+
en
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-select {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n display: inline-block;\n vertical-align: top;\n width: 100%;\n}\n.paraui-v4-select > .select-content {\n line-height: 0;\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n padding-right: 10px;\n position: relative;\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-select > .select-content:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-select > .select-content:hover > .select-svg > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select > .select-content > .select-label-placeholder {\n width: 100%;\n height: 100%;\n padding: 0 10px;\n color: rgb(161, 168, 179);\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 1;\n}\n.paraui-v4-select > .select-content > .select-label-placeholder > .select-required {\n margin-left: 2px;\n color: rgb(244, 66, 66);\n}\n.paraui-v4-select > .select-content > .select-svg {\n position: absolute;\n right: 10px;\n top: 0;\n z-index: 2;\n}\n.paraui-v4-select > .select-content > .select-svg > svg {\n font-size: 18px;\n transition: all 0.3s;\n color: rgb(92, 101, 115);\n opacity: 0;\n}\n.paraui-v4-select > .select-content > .select-svg > .clean-up-icon {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n}\n.paraui-v4-select > .select-content > .select-svg > .clean-up-icon > svg {\n font-size: 16px;\n transition: all 0.3s;\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select > .select-content > .select-svg > .clean-up-icon:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select > .select-content > .radio-select-content {\n padding-left: 10px;\n font-size: 14px;\n line-height: 1.43;\n color: rgb(29, 33, 38);\n word-break: break-all;\n}\n.paraui-v4-select > .select-content > .radio-search-outside {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n line-height: 1.43;\n padding: 0 10px 0 10px;\n font-size: 14px;\n cursor: pointer;\n color: rgb(29, 33, 38);\n border: 0;\n border-radius: 4px;\n background: transparent;\n z-index: 10;\n}\n.paraui-v4-select > .select-content > .check-select-content {\n padding-left: 10px;\n overflow: hidden;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item {\n display: inline-block;\n background-color: rgb(234, 236, 241);\n border-radius: 2px;\n padding: 0 30px 0 10px;\n color: rgb(29, 33, 38);\n margin-right: 4px;\n vertical-align: top;\n max-width: 100%;\n white-space: nowrap;\n position: relative;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item.check-select-content-item-more {\n cursor: pointer;\n color: rgb(29, 33, 38);\n padding-right: 10px;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item.check-select-content-item-more > span {\n max-width: none;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item.check-select-content-item-more:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item > span {\n display: inline-block;\n height: 100%;\n vertical-align: top;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item > svg {\n cursor: pointer;\n color: rgb(29, 33, 38);\n font-size: 16px;\n position: absolute;\n z-index: 10;\n right: 10px;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item > svg:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item.check-select-content-item-noclose {\n padding-right: 10px;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-select-content-item.check-select-content-item-noclose > span {\n max-width: none;\n}\n.paraui-v4-select > .select-content > .check-select-content > .check-search-outside {\n width: 10px;\n max-width: 100% !important;\n display: none;\n border: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n cursor: pointer;\n}\n.paraui-v4-select.paraui-v4-select-allow-clear > .select-content {\n padding-right: 38px;\n}\n.paraui-v4-select.paraui-v4-select-allow-clear > .select-content .select-label-placeholder {\n padding-right: 38px;\n}\n.paraui-v4-select.paraui-v4-select-allow-clear.paraui-v4-select-value > .select-content:hover > .select-svg > svg {\n opacity: 0;\n transition: all 0s;\n}\n.paraui-v4-select.paraui-v4-select-allow-clear.paraui-v4-select-value > .select-content:hover > .select-svg > .clean-up-icon {\n opacity: 1;\n transition: all 0.3s;\n}\n.paraui-v4-select.paraui-v4-select-allow-clear.paraui-v4-select-value.paraui-v4-select-disabled > .select-content:hover > .select-svg > svg {\n opacity: 1;\n}\n.paraui-v4-select.paraui-v4-select-over-line > .select-content > .check-select-content {\n display: flex;\n flex-wrap: wrap;\n}\n.paraui-v4-select.paraui-v4-select-over-line > .select-content > .check-select-content input {\n flex: 1;\n z-index: 10;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-small > .select-content {\n height: inherit;\n min-height: 28px;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-small > .select-content > .check-select-content {\n height: 100%;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-medium > .select-content {\n height: inherit;\n min-height: 28px;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-medium > .select-content > .check-select-content {\n height: 100%;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-large > .select-content {\n height: inherit;\n min-height: 32px;\n}\n.paraui-v4-select.paraui-v4-select-over-line.paraui-v4-select-large > .select-content > .check-select-content {\n height: 100%;\n}\n.paraui-v4-select.paraui-v4-select-show-select > .select-content {\n padding-right: 38px;\n}\n.paraui-v4-select.paraui-v4-select-show-select > .select-content .select-label-placeholder {\n padding-right: 38px;\n}\n.paraui-v4-select.paraui-v4-select-show-select > .select-content > .select-svg > svg {\n opacity: 1;\n}\n.paraui-v4-select.paraui-v4-select-show-select > .select-content > .radio-search-outside {\n padding: 0 38px 0 10px;\n}\n.paraui-v4-select.paraui-v4-select-disabled > .select-content {\n background-color: rgb(247, 248, 250);\n cursor: not-allowed;\n}\n.paraui-v4-select.paraui-v4-select-disabled > .select-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-select.paraui-v4-select-disabled > .select-content:hover > .select-svg > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-select.paraui-v4-select-disabled > .select-content > .radio-select-content {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-select.paraui-v4-select-disabled > .select-content > .check-select-content > .check-select-content-item > span {\n max-width: 100%;\n}\n.paraui-v4-select.paraui-v4-select-error > .select-content {\n border-color: rgb(244, 66, 66) !important;\n}\n.paraui-v4-select.paraui-v4-select-open > .select-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-select.paraui-v4-select-open > .select-content > .select-svg > svg {\n transform: rotate(180deg);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select.paraui-v4-select-open > .select-content > .check-select-content > .check-search-outside {\n display: inline-block;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content {\n height: 28px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .select-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .select-svg {\n top: 4px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .radio-select-content {\n padding-bottom: 3px;\n padding-top: 3px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .check-select-content {\n padding-bottom: 3px;\n height: 26px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .check-select-content > .check-select-content-item {\n margin-top: 3px;\n height: 20px;\n line-height: 20px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .check-select-content > .check-select-content-item > svg {\n top: 2px;\n}\n.paraui-v4-select.paraui-v4-select-small > .select-content > .check-select-content > .check-search-outside {\n margin-top: 3px;\n height: 20px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content {\n height: 28px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .select-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .select-svg {\n top: 4px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .radio-select-content {\n padding-bottom: 3px;\n padding-top: 3px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .check-select-content {\n padding-bottom: 3px;\n height: 26px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .check-select-content > .check-select-content-item {\n margin-top: 3px;\n height: 20px;\n line-height: 20px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .check-select-content > .check-select-content-item > svg {\n top: 2px;\n}\n.paraui-v4-select.paraui-v4-select-medium > .select-content > .check-select-content > .check-search-outside {\n margin-top: 3px;\n height: 20px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content {\n height: 32px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .select-label-placeholder {\n line-height: 30px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .select-svg {\n top: 6px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .radio-select-content {\n padding-bottom: 5px;\n padding-top: 5px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .check-select-content {\n padding-bottom: 3px;\n height: 30px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .check-select-content > .check-select-content-item {\n margin-top: 3px;\n height: 24px;\n line-height: 24px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .check-select-content > .check-select-content-item > svg {\n top: 4px;\n}\n.paraui-v4-select.paraui-v4-select-large > .select-content > .check-select-content > .check-search-outside {\n margin-top: 4px;\n height: 22px;\n}\n\n.paraui-v4-select-popover.paraui-v4-select-popover-hide {\n display: none !important;\n}\n.paraui-v4-select-popover.component-dropdown {\n /*&.paraui-v4-select-popover-small {\n & > .select-popover-content {\n & > .select-popover-search {\n height: 30px;\n }\n\n & > .select-popover-list {\n & .select-popover-list-item {\n height: 30px;\n line-height: 30px;\n }\n\n & > .select-popover-list-group {\n & .select-popover-list-group-label {\n height: 30px;\n line-height: 30px;\n }\n }\n }\n }\n }\n\n // 中\n &.paraui-v4-select-popover-medium {\n & > .select-popover-content {\n & > .select-popover-search {\n height: 30px;\n }\n\n & > .select-popover-list {\n & .select-popover-list-item {\n height: 30px;\n line-height: 30px;\n }\n\n & > .select-popover-list-group {\n & .select-popover-list-group-label {\n height: 30px;\n line-height: 30px;\n }\n }\n }\n }\n }\n\n // 大\n &.paraui-v4-select-popover-large {\n & > .select-popover-content {\n & > .select-popover-search {\n height: 30px;\n }\n\n & > .select-popover-list {\n & .select-popover-list-item {\n height: 30px;\n line-height: 30px;\n }\n\n & > .select-popover-list-group {\n & .select-popover-list-group-label {\n height: 30px;\n line-height: 30px;\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content {\n padding: 4px 0;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content.select-popover-content-search > .select-popover-list {\n padding-top: 0px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content.select-popover-content-search > .select-popover-list > .select-nodata {\n margin-top: 20px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search {\n display: flex;\n align-items: center;\n padding: 0 10px;\n border-bottom: 1px solid;\n border-color: rgb(234, 236, 241);\n height: 30px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input {\n border: 0;\n outline: none;\n font-size: 14px;\n color: rgb(29, 33, 38);\n width: 100%;\n height: 100%;\n line-height: 1.43;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input::placeholder {\n font-size: 14px;\n opacity: 1;\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input::-ms-clear {\n display: none;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input::-ms-reveal {\n display: none;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input:-moz-placeholder {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input::-moz-placeholder {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input:-ms-input-placeholder { /* Internet Explorer 10-11 */\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > input::-ms-input-placeholder { /* Microsoft Edge */\n color: rgb(161, 168, 179);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-search > svg {\n color: rgb(92, 101, 115);\n font-size: 18px;\n cursor: pointer;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list {\n max-height: 320px;\n overflow: auto;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list.select-popover-list-loading {\n height: 100px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item {\n display: flex;\n cursor: pointer;\n padding: 0 10px;\n align-items: center;\n height: 30px;\n line-height: 30px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item > .select-popover-list-item-label {\n flex: 1;\n overflow: hidden;\n color: rgb(29, 33, 38);\n font-size: 14px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item > .select-popover-list-item-svg {\n line-height: 0;\n display: none;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item > .select-popover-list-item-svg > svg {\n font-size: 18px;\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-select > .select-popover-list-item-label {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-select > .select-popover-list-item-svg {\n display: inline-block;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-keydown {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-disabled {\n cursor: not-allowed;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list .select-popover-list-item.select-popover-list-item-disabled > .select-popover-list-item-label {\n color: rgb(161, 168, 179) !important;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list > .select-popover-list-group .select-popover-list-group-label {\n display: inline-block;\n width: 100%;\n padding: 0 10px;\n color: rgb(161, 168, 179);\n font-size: 12px;\n height: 30px;\n line-height: 30px;\n}\n.paraui-v4-select-popover.component-dropdown .select-popover-content > .select-popover-list > .select-nodata {\n text-align: center;\n font-size: 14px;\n color: rgb(29, 33, 38);\n margin-top: 16px;\n margin-bottom: 29px;\n}\n.paraui-v4-select-more-popover {\n /*// 小\n &.paraui-v4-select-more-popover-small {\n & .select-more {\n & > .select-more-title {\n line-height: 28px;\n }\n\n & > .select-more-content {\n & > .select-more-content-item {\n line-height: 28px;\n }\n }\n }\n }\n\n // 中\n &.paraui-v4-select-more-popover-medium {\n & .select-more {\n & > .select-more-title {\n line-height: 32px;\n }\n\n & > .select-more-content {\n & > .select-more-content-item {\n line-height: 32px;\n }\n }\n }\n }\n\n // 大\n &.paraui-v4-select-more-popover-large {\n & .select-more {\n & > .select-more-title {\n line-height: 36px;\n }\n\n & > .select-more-content {\n & > .select-more-content-item {\n line-height: 36px;\n }\n }\n }\n }*/\n}\n.paraui-v4-select-more-popover .select-more {\n width: 290px;\n padding: 4px 0;\n}\n.paraui-v4-select-more-popover .select-more > .select-more-title {\n font-size: 12px;\n padding: 0 10px;\n color: rgb(161, 168, 179);\n line-height: 30px;\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content {\n max-height: 320px;\n overflow: auto;\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content > .select-more-content-item {\n padding: 0 10px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n line-height: 30px;\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content > .select-more-content-item:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content > .select-more-content-item > span {\n flex: 1;\n overflow: hidden;\n display: inline-block;\n font-size: 14px;\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content > .select-more-content-item > svg {\n font-size: 18px;\n position: relative;\n cursor: pointer;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-select-more-popover .select-more > .select-more-content > .select-more-content-item > svg:hover {\n color: rgb(46, 101, 230);\n border-radius: 2px;\n}";
|
package/Selector/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __awaiter, a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
5
|
-
import { r as regenerator } from '../_verture/index-
|
|
5
|
+
import { r as regenerator } from '../_verture/index-8ac46bd9.js';
|
|
6
6
|
import { Radio } from '../Radio/index.js';
|
|
7
7
|
import { Checkbox } from '../Checkbox/index.js';
|
|
8
8
|
import { Popover } from '../Popover/index.js';
|
|
@@ -20,7 +20,7 @@ import Refresh from '@para-ui/icons/Refresh';
|
|
|
20
20
|
import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
|
|
21
21
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
|
|
22
22
|
import HelperText from '../HelperText/index.js';
|
|
23
|
-
import '../_verture/typeof-
|
|
23
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
24
24
|
import '../Label/index.js';
|
|
25
25
|
import '../Help/index.js';
|
|
26
26
|
import '../Tooltip/index.js';
|