@para-ui/core 4.0.30 → 4.0.31
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.d.ts +41 -0
- package/AutoButton/index.js +213 -0
- package/AutoButton/lang/en_US.d.ts +4 -0
- package/AutoButton/lang/index.d.ts +9 -0
- package/AutoButton/lang/zh_CN.d.ts +4 -0
- package/Badge/index.d.ts +3 -1
- package/Badge/index.js +15 -5
- package/Card/index.d.ts +53 -0
- package/Card/index.js +218 -0
- package/Card/lang/en_US.d.ts +5 -0
- package/Card/lang/index.d.ts +11 -0
- package/Card/lang/zh_CN.d.ts +5 -0
- package/Cascader/index.js +8 -8
- package/ComboSelect/index.js +7 -7
- package/CycleSelector/index.js +4 -1
- package/DatePicker/index.js +4 -1
- package/DragVerify/index.js +7 -2
- package/DynamicMultiBox/index.js +8 -8
- package/Form/index.js +8 -8
- package/FormItem/index.js +8 -8
- package/FunctionModal/index.js +2 -2
- package/Image/index.js +5 -5
- package/PopConfirm/index.js +2 -2
- package/PopMenu/index.js +16 -5
- package/QuickReply/index.js +1 -1
- package/README.md +10 -0
- package/RangeInput/index.d.ts +4 -0
- package/RangeInput/index.js +32 -8
- package/Select/index.js +2 -2
- package/Selector/index.js +282 -225
- package/SelectorPicker/index.js +5 -6
- package/SingleBox/index.js +2 -2
- package/SortBox/index.d.ts +27 -0
- package/SortBox/index.js +64 -0
- package/Stepper/index.js +1 -1
- package/Switch/index.js +2 -2
- package/Table/index.js +471 -409
- package/Tabs/index.js +2 -2
- package/Tag/index.js +82 -53
- package/TextEditor/index.js +3 -3
- package/TimePicker/index.js +4 -1
- package/Timeline/index.js +14 -20
- package/ToggleButton/index.js +25 -26
- package/Tooltip/index.js +26 -27
- package/Transfer/index.js +1 -2
- package/Tree/index.js +8 -8
- package/Upload/ImageUpload/index.d.ts +2 -7
- package/Upload/index.js +114 -37
- package/Upload/interface.d.ts +18 -0
- package/_verture/{Portal-5bf66fed.js → Portal-edd94cac.js} +4 -3
- package/_verture/{defineProperty-f0e15205.js → defineProperty-6f62bb2a.js} +2 -10
- package/_verture/{index-33866394.js → index-3795d730.js} +1 -1
- package/_verture/{index-28edf318.js → index-567b5779.js} +5 -4
- package/_verture/{index-8ec857b4.js → index-8752ccab.js} +6 -6
- package/_verture/{index-8ac46bd9.js → index-94e24006.js} +1 -1
- package/_verture/{slicedToArray-a8206399.js → slicedToArray-75fa4188.js} +15 -2
- package/_verture/{toConsumableArray-8f4c9589.js → toConsumableArray-c7a8028f.js} +1 -1
- package/_verture/typeof-adeedc13.js +11 -0
- package/index.d.ts +6 -0
- package/index.js +18 -14
- package/locale/en-US.d.ts +7 -0
- package/locale/index.d.ts +14 -0
- package/locale/index.js +14 -0
- package/locale/zh-CN.d.ts +7 -0
- package/package.json +2 -3
- package/umd/AutoButton.js +43 -0
- package/umd/Badge.js +1 -1
- package/umd/Card.js +1 -0
- package/umd/DragVerify.js +1 -1
- package/umd/FunctionModal.js +3 -3
- package/umd/Modal.js +2 -2
- package/umd/PopMenu.js +2 -2
- package/umd/RangeInput.js +2 -2
- package/umd/SortBox.js +41 -0
- package/umd/Upload.js +4 -4
- package/umd/locale.js +1 -1
- package/_verture/unsupportedIterableToArray-cb478f24.js +0 -16
- /package/_verture/{index-0f5ee6f7.js → index-c8cb6751.js} +0 -0
- /package/_verture/{modalContext-c57b51b7.js → modalContext-10f0c5aa.js} +0 -0
- /package/_verture/{typeof-6ec38efd.js → typeof-4646b22c.js} +0 -0
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-567b5779.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,6 +24,8 @@ 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';
|
|
27
29
|
import '../Checkbox/index.js';
|
|
28
30
|
import '../Help/index.js';
|
|
29
31
|
import '@para-ui/icons/Help';
|
|
@@ -35,6 +37,7 @@ import '@para-ui/icons/UpTriangleF';
|
|
|
35
37
|
import '@para-ui/icons/DownTriangleF';
|
|
36
38
|
import '@para-ui/icons/Panel';
|
|
37
39
|
import '../Empty/index.js';
|
|
40
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
38
41
|
import '../Radio/index.js';
|
|
39
42
|
import '../OperateBtn/index.js';
|
|
40
43
|
import '@para-ui/icons/More';
|
|
@@ -56,12 +59,9 @@ import 'rc-pagination';
|
|
|
56
59
|
import '@para-ui/icons/Right';
|
|
57
60
|
import '@para-ui/icons/DoubleLeft';
|
|
58
61
|
import '@para-ui/icons/DoubleRight';
|
|
59
|
-
import '../_verture/toConsumableArray-
|
|
60
|
-
import '../_verture/
|
|
61
|
-
import '../_verture/
|
|
62
|
-
import '../_verture/slicedToArray-a8206399.js';
|
|
63
|
-
import '../_verture/index-8ac46bd9.js';
|
|
64
|
-
import '../_verture/typeof-6ec38efd.js';
|
|
62
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
63
|
+
import '../_verture/index-94e24006.js';
|
|
64
|
+
import '../_verture/typeof-4646b22c.js';
|
|
65
65
|
import 'rc-tree';
|
|
66
66
|
import '@para-ui/icons/Document';
|
|
67
67
|
import 'react-dom';
|
package/CycleSelector/index.js
CHANGED
|
@@ -19,6 +19,9 @@ import 'rc-picker/es/generate/dayjs';
|
|
|
19
19
|
import '../Tag/index.js';
|
|
20
20
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
21
21
|
import '@para-ui/icons/EditOutline';
|
|
22
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
23
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
24
|
+
import '../_verture/typeof-adeedc13.js';
|
|
22
25
|
import '../AutoTips/index.js';
|
|
23
26
|
import '../Tooltip/index.js';
|
|
24
27
|
import 'rc-tooltip';
|
|
@@ -27,7 +30,7 @@ import '@para-ui/icons/Forbid';
|
|
|
27
30
|
import '@paraview/lib';
|
|
28
31
|
import '../_verture/tinycolor-ece3542d.js';
|
|
29
32
|
import '@para-ui/icons/Plus';
|
|
30
|
-
import '../_verture/defineProperty-
|
|
33
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
31
34
|
import 'rc-picker';
|
|
32
35
|
import '@para-ui/icons/CloseCircleF';
|
|
33
36
|
import '@para-ui/icons/Calendar';
|
package/DatePicker/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import dayjsGenerateConfig from 'rc-picker/es/generate/dayjs';
|
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { Button } from '../Button/index.js';
|
|
4
4
|
import { Tag } from '../Tag/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
6
6
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
7
7
|
import React__default, { forwardRef, useImperativeHandle } from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -33,6 +33,9 @@ import '../_verture/usePopupContainer-635f66f4.js';
|
|
|
33
33
|
import 'dayjs';
|
|
34
34
|
import '@para-ui/icons/Close';
|
|
35
35
|
import '@para-ui/icons/EditOutline';
|
|
36
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
37
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
38
|
+
import '../_verture/typeof-adeedc13.js';
|
|
36
39
|
import '../_verture/tinycolor-ece3542d.js';
|
|
37
40
|
import '@para-ui/icons/Plus';
|
|
38
41
|
import '../Help/index.js';
|
package/DragVerify/index.js
CHANGED
|
@@ -185,13 +185,16 @@ const DragVerify = props => {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
moveDom.ontouchstart = touchE => {
|
|
188
|
-
|
|
188
|
+
touchE.preventDefault();
|
|
189
|
+
if (constData.current.padding) return false;
|
|
189
190
|
const e = touchE.touches[0];
|
|
190
191
|
sliderBox.classList.add("".concat(prefixCls, "-move"));
|
|
191
192
|
// 鼠标移动
|
|
192
193
|
document.ontouchmove = touchEvent => {
|
|
194
|
+
touchEvent.preventDefault();
|
|
193
195
|
const event = touchEvent.touches[0];
|
|
194
196
|
moveFunc(event, e);
|
|
197
|
+
return false;
|
|
195
198
|
};
|
|
196
199
|
// 鼠标抬起
|
|
197
200
|
document.ontouchend = () => {
|
|
@@ -199,6 +202,7 @@ const DragVerify = props => {
|
|
|
199
202
|
document.ontouchend = null;
|
|
200
203
|
endFunc();
|
|
201
204
|
};
|
|
205
|
+
return false;
|
|
202
206
|
};
|
|
203
207
|
};
|
|
204
208
|
/** 复位 */
|
|
@@ -259,7 +263,8 @@ const DragVerify = props => {
|
|
|
259
263
|
className: "slider-move-mask"
|
|
260
264
|
}, {
|
|
261
265
|
children: jsxs("div", Object.assign({
|
|
262
|
-
className: "slider-move-box"
|
|
266
|
+
className: "slider-move-box",
|
|
267
|
+
draggable: false
|
|
263
268
|
}, {
|
|
264
269
|
children: [jsx(DoubleRight, {
|
|
265
270
|
className: 'svg-right'
|
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-c8cb6751.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,10 +52,13 @@ 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';
|
|
55
57
|
import '../Button/index.js';
|
|
56
58
|
import '@para-ui/icons/ScreenF';
|
|
57
59
|
import '@para-ui/icons/UpTriangleF';
|
|
58
60
|
import '@para-ui/icons/DownTriangleF';
|
|
61
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
59
62
|
import '../Radio/index.js';
|
|
60
63
|
import '../OperateBtn/index.js';
|
|
61
64
|
import '@para-ui/icons/More';
|
|
@@ -70,13 +73,10 @@ import 'rc-pagination';
|
|
|
70
73
|
import '@para-ui/icons/Right';
|
|
71
74
|
import '@para-ui/icons/DoubleLeft';
|
|
72
75
|
import '@para-ui/icons/DoubleRight';
|
|
73
|
-
import '../_verture/index-
|
|
74
|
-
import '../_verture/toConsumableArray-
|
|
75
|
-
import '../_verture/
|
|
76
|
-
import '../_verture/
|
|
77
|
-
import '../_verture/slicedToArray-a8206399.js';
|
|
78
|
-
import '../_verture/index-8ac46bd9.js';
|
|
79
|
-
import '../_verture/typeof-6ec38efd.js';
|
|
76
|
+
import '../_verture/index-567b5779.js';
|
|
77
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
78
|
+
import '../_verture/index-94e24006.js';
|
|
79
|
+
import '../_verture/typeof-4646b22c.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-3795d730.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';
|
|
@@ -28,8 +28,7 @@ import '../_verture/index-bde7aabe.js';
|
|
|
28
28
|
import 'rc-dropdown';
|
|
29
29
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
30
30
|
import 'dayjs';
|
|
31
|
-
import '../_verture/slicedToArray-
|
|
32
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
31
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
33
32
|
import '../RadioGroup/index.js';
|
|
34
33
|
import '../Radio/index.js';
|
|
35
34
|
import '../Select/index.js';
|
|
@@ -52,10 +51,12 @@ import 'rc-input-number';
|
|
|
52
51
|
import '@para-ui/icons/Up';
|
|
53
52
|
import '../ComboSelect/index.js';
|
|
54
53
|
import '../Table/index.js';
|
|
54
|
+
import '../_verture/typeof-adeedc13.js';
|
|
55
55
|
import '@para-ui/icons/ScreenF';
|
|
56
56
|
import '@para-ui/icons/UpTriangleF';
|
|
57
57
|
import '@para-ui/icons/DownTriangleF';
|
|
58
58
|
import '@para-ui/icons/Panel';
|
|
59
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
59
60
|
import '../OperateBtn/index.js';
|
|
60
61
|
import '@para-ui/icons/More';
|
|
61
62
|
import '../PopConfirm/index.js';
|
|
@@ -69,11 +70,10 @@ import 'rc-pagination';
|
|
|
69
70
|
import '@para-ui/icons/Right';
|
|
70
71
|
import '@para-ui/icons/DoubleLeft';
|
|
71
72
|
import '@para-ui/icons/DoubleRight';
|
|
72
|
-
import '../_verture/index-
|
|
73
|
-
import '../_verture/toConsumableArray-
|
|
74
|
-
import '../_verture/
|
|
75
|
-
import '../_verture/
|
|
76
|
-
import '../_verture/typeof-6ec38efd.js';
|
|
73
|
+
import '../_verture/index-567b5779.js';
|
|
74
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
75
|
+
import '../_verture/index-94e24006.js';
|
|
76
|
+
import '../_verture/typeof-4646b22c.js';
|
|
77
77
|
import 'rc-tree';
|
|
78
78
|
import '@para-ui/icons/Document';
|
|
79
79
|
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-3795d730.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -27,8 +27,7 @@ import '../_verture/usePopupContainer-635f66f4.js';
|
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '../Help/index.js';
|
|
29
29
|
import '@para-ui/icons/Help';
|
|
30
|
-
import '../_verture/slicedToArray-
|
|
31
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
30
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
32
31
|
import '../RadioGroup/index.js';
|
|
33
32
|
import '../Radio/index.js';
|
|
34
33
|
import '../Select/index.js';
|
|
@@ -52,10 +51,12 @@ import 'rc-input-number';
|
|
|
52
51
|
import '@para-ui/icons/Up';
|
|
53
52
|
import '../ComboSelect/index.js';
|
|
54
53
|
import '../Table/index.js';
|
|
54
|
+
import '../_verture/typeof-adeedc13.js';
|
|
55
55
|
import '@para-ui/icons/ScreenF';
|
|
56
56
|
import '@para-ui/icons/UpTriangleF';
|
|
57
57
|
import '@para-ui/icons/DownTriangleF';
|
|
58
58
|
import '@para-ui/icons/Panel';
|
|
59
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
59
60
|
import '../OperateBtn/index.js';
|
|
60
61
|
import '@para-ui/icons/More';
|
|
61
62
|
import '../PopConfirm/index.js';
|
|
@@ -69,11 +70,10 @@ import 'rc-pagination';
|
|
|
69
70
|
import '@para-ui/icons/Right';
|
|
70
71
|
import '@para-ui/icons/DoubleLeft';
|
|
71
72
|
import '@para-ui/icons/DoubleRight';
|
|
72
|
-
import '../_verture/index-
|
|
73
|
-
import '../_verture/toConsumableArray-
|
|
74
|
-
import '../_verture/
|
|
75
|
-
import '../_verture/
|
|
76
|
-
import '../_verture/typeof-6ec38efd.js';
|
|
73
|
+
import '../_verture/index-567b5779.js';
|
|
74
|
+
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
75
|
+
import '../_verture/index-94e24006.js';
|
|
76
|
+
import '../_verture/typeof-4646b22c.js';
|
|
77
77
|
import 'rc-tree';
|
|
78
78
|
import '@para-ui/icons/Document';
|
|
79
79
|
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-10f0c5aa.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-10f0c5aa.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/Image/index.js
CHANGED
|
@@ -2,13 +2,14 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.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-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
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-edd94cac.js';
|
|
6
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
7
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
8
|
+
import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
|
|
8
9
|
import Dialog from 'rc-dialog';
|
|
9
10
|
import ReactDOM from 'react-dom';
|
|
10
11
|
import CSSMotion from 'rc-motion';
|
|
11
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
12
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
|
|
12
13
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
13
14
|
import Sort from '@para-ui/icons/Sort';
|
|
14
15
|
import Switch from '@para-ui/icons/Switch';
|
|
@@ -21,7 +22,6 @@ import RightCircleF from '@para-ui/icons/RightCircleF';
|
|
|
21
22
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
22
23
|
import PreviewOpen from '@para-ui/icons/PreviewOpen';
|
|
23
24
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
24
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
25
25
|
|
|
26
26
|
/* eslint-disable no-nested-ternary */
|
|
27
27
|
function getClientSize() {
|
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: zh,
|
|
39
|
+
en: 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/PopMenu/index.js
CHANGED
|
@@ -5,13 +5,13 @@ import React__default, { useState, useRef, useEffect } from 'react';
|
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { Popover } from '../Popover/index.js';
|
|
7
7
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
8
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
8
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
|
|
9
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
9
10
|
import Right from '@para-ui/icons/Right';
|
|
10
11
|
import AutoTips from '../AutoTips/index.js';
|
|
11
12
|
import { Tooltip } from '../Tooltip/index.js';
|
|
12
13
|
import Help from '../Help/index.js';
|
|
13
14
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
14
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
15
15
|
import '@paraview/lib';
|
|
16
16
|
import 'rc-tooltip';
|
|
17
17
|
import 'rc-tooltip/lib/placements';
|
|
@@ -66,7 +66,7 @@ const useComponentWidth = efts => {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-pop-menu-content {\n display: inline-block;\n}\n.paraui-v4-pop-menu-item-content {\n display: flex;\n width: 100%;\n}\n.paraui-v4-pop-menu .pop-menu-separator:after {\n content: \"\";\n position: absolute;\n height: 1px;\n background: rgb(234, 236, 241);\n left: 10px;\n right: 10px;\n bottom: 0;\n}\n.paraui-v4-pop-menu .pop-menu-list {\n padding: 4px 0;\n overflow: hidden;\n position: relative;\n max-width: 500px;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item {\n display: flex;\n width: 100%;\n align-items: center;\n height: 30px;\n cursor: pointer;\n padding: 0 10px;\n overflow: hidden;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-help {\n margin-left: 4px;\n display: flex;\n align-items: center;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-help:
|
|
69
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-pop-menu-content {\n display: inline-block;\n}\n.paraui-v4-pop-menu-item-content {\n display: flex;\n width: 100%;\n}\n.paraui-v4-pop-menu .pop-menu-separator:after {\n content: \"\";\n position: absolute;\n height: 1px;\n background: rgb(234, 236, 241);\n left: 10px;\n right: 10px;\n bottom: 0;\n}\n.paraui-v4-pop-menu .pop-menu-list {\n padding: 4px 0;\n overflow: hidden;\n position: relative;\n max-width: 500px;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item {\n display: flex;\n width: 100%;\n align-items: center;\n height: 30px;\n cursor: pointer;\n padding: 0 10px;\n overflow: hidden;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-help {\n margin-left: 4px;\n display: flex;\n align-items: center;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-help svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-help svg:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-arrow {\n margin-left: auto;\n padding-left: 10px;\n display: flex;\n align-items: center;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item .item-arrow svg {\n width: 16px;\n height: 16px;\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item:hover {\n background: rgb(247, 248, 250);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item-hover {\n background: rgb(247, 248, 250);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item-select {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item-select .item-arrow svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item-disabled {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pop-menu .pop-menu-list .pop-menu-item-disabled svg {\n color: rgb(161, 168, 179);\n}";
|
|
70
70
|
styleInject(css_248z);
|
|
71
71
|
|
|
72
72
|
var PopMenuItem = function PopMenuItem(p) {
|
|
@@ -82,6 +82,10 @@ var PopMenuItem = function PopMenuItem(p) {
|
|
|
82
82
|
onChange = _usePopMenuContext.onChange,
|
|
83
83
|
path = _usePopMenuContext.path,
|
|
84
84
|
onClick = _usePopMenuContext.onClick;
|
|
85
|
+
var _React$useState = React__default.useState(false),
|
|
86
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
87
|
+
childVisible = _React$useState2[0],
|
|
88
|
+
setChildVisible = _React$useState2[1];
|
|
85
89
|
var getArrow = function getArrow() {
|
|
86
90
|
return jsx("div", Object.assign({
|
|
87
91
|
className: 'item-arrow'
|
|
@@ -133,6 +137,8 @@ var PopMenuItem = function PopMenuItem(p) {
|
|
|
133
137
|
return jsx("div", Object.assign({
|
|
134
138
|
className: clsx('pop-menu-item', {
|
|
135
139
|
'pop-menu-item-select': currentValue === item.name
|
|
140
|
+
}, {
|
|
141
|
+
'pop-menu-item-hover': childVisible
|
|
136
142
|
}),
|
|
137
143
|
onClick: function onClick() {
|
|
138
144
|
return clickItem(item, close);
|
|
@@ -151,8 +157,13 @@ var PopMenuItem = function PopMenuItem(p) {
|
|
|
151
157
|
minWidth: 'auto'
|
|
152
158
|
}, props.overlayInnerStyle),
|
|
153
159
|
contentClassName: 'item-content',
|
|
154
|
-
offset: [direction === 'right' ? 4 : -4,
|
|
155
|
-
path: [].concat(_toConsumableArray(path), [p.name])
|
|
160
|
+
offset: [direction === 'right' ? 4 : -4, -5],
|
|
161
|
+
path: [].concat(_toConsumableArray(path), [p.name]),
|
|
162
|
+
onVisibleChange: function onVisibleChange(visible) {
|
|
163
|
+
var _a;
|
|
164
|
+
(_a = props.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(props, visible);
|
|
165
|
+
setChildVisible(visible);
|
|
166
|
+
}
|
|
156
167
|
}, {
|
|
157
168
|
children: getItem(p, false)
|
|
158
169
|
}));
|
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-c8cb6751.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
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 版本: 4.0.31
|
|
2
|
+
para-ui/core@4.0.31 发布
|
|
3
|
+
【滑块验证码-DragVerify】阻止移动端滑块触发屏幕滑动事件
|
|
4
|
+
【上传-Upload】更换头像增加头像属性,可配置圆角、是否展示重置按钮、默认图片(地址、名称)、是否展示图片名称功能
|
|
5
|
+
【范围输入框-RangeInput】新增组件范围输入框
|
|
6
|
+
【排序容器-SortBox】新增排序组件
|
|
7
|
+
【卡片-Card】新增卡片组件
|
|
8
|
+
【自动按钮-AutoButton】新增自动按钮组件
|
|
9
|
+
【消息角标-Badge】新增偏移量offset参数,sign传null为不显示角标
|
|
10
|
+
|
|
1
11
|
## 版本: 4.0.30
|
|
2
12
|
para-ui/core@4.0.30 发布
|
|
3
13
|
【范围输入框-RangeInput】新增组件范围输入框
|
package/RangeInput/index.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ export interface RangeInputProps extends HelperTextDetailProps {
|
|
|
38
38
|
unit?: ReactNode;
|
|
39
39
|
/** 提示语 */
|
|
40
40
|
placeholder?: ReactNode | [ReactNode, ReactNode];
|
|
41
|
+
/** 警告提示语 */
|
|
42
|
+
warningMessage?: ReactNode;
|
|
43
|
+
/** 警告提示语消失时间 */
|
|
44
|
+
warnTime?: number;
|
|
41
45
|
/** 输入框其他参数 */
|
|
42
46
|
otherProps?: [InputNumberProps, InputNumberProps];
|
|
43
47
|
/**
|
package/RangeInput/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useState, useEffect } from 'react';
|
|
2
|
+
import { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
4
4
|
import Label from '../Label/index.js';
|
|
5
5
|
import { InputNumber } from '../InputNumber/index.js';
|
|
@@ -18,7 +18,7 @@ import 'rc-input-number';
|
|
|
18
18
|
import '@para-ui/icons/Up';
|
|
19
19
|
import '@para-ui/icons/Down';
|
|
20
20
|
|
|
21
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-range-input {\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 width: 100%;\n}\n.paraui-v4-range-input > .range-input-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-range-input > .range-input-content:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-range-input > .range-input-content > .paraui-v4-input-number > .input-number-content {\n border: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-range-input > .range-input-content > .separator {\n color: rgb(29, 33, 38);\n font-size: 14px;\n padding-left: 10px;\n height: 100%;\n display: flex;\n align-items: center;\n line-height: 1;\n}\n.paraui-v4-range-input > .range-input-content > .unit {\n color: rgb(29, 33, 38);\n font-size: 14px;\n padding: 0 10px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-focus > .range-input-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content {\n cursor: not-allowed;\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content > .paraui-v4-input-number > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-range-input.paraui-v4-range-input-error > .range-input-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-range-input.paraui-v4-range-input-error > .range-input-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-range-input.paraui-v4-range-input-small > .range-input-content {\n height: 28px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-small > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 26px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-medium > .range-input-content {\n height: 28px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-medium > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 26px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-large > .range-input-content {\n height: 32px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-large > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 30px;\n}";
|
|
21
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-range-input {\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 width: 100%;\n}\n.paraui-v4-range-input > .range-input-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n align-items: center;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-range-input > .range-input-content:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-range-input > .range-input-content > .paraui-v4-input-number > .input-number-content {\n border: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-range-input > .range-input-content > .separator {\n color: rgb(29, 33, 38);\n font-size: 14px;\n padding-left: 10px;\n height: 100%;\n display: flex;\n align-items: center;\n line-height: 1;\n}\n.paraui-v4-range-input > .range-input-content > .unit {\n color: rgb(29, 33, 38);\n font-size: 14px;\n padding: 0 10px;\n}\n.paraui-v4-range-input > .range-input-warning-text {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-range-input.paraui-v4-range-input-focus > .range-input-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content {\n cursor: not-allowed;\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-range-input.paraui-v4-range-input-disabled > .range-input-content > .paraui-v4-input-number > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-range-input.paraui-v4-range-input-error > .range-input-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-range-input.paraui-v4-range-input-error > .range-input-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-range-input.paraui-v4-range-input-small > .range-input-content {\n height: 28px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-small > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 26px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-medium > .range-input-content {\n height: 28px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-medium > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 26px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-large > .range-input-content {\n height: 32px;\n}\n.paraui-v4-range-input.paraui-v4-range-input-large > .range-input-content > .paraui-v4-input-number .input-number-content {\n height: 30px;\n}";
|
|
22
22
|
styleInject(css_248z);
|
|
23
23
|
|
|
24
24
|
const RangeInput = props => {
|
|
@@ -31,6 +31,8 @@ const RangeInput = props => {
|
|
|
31
31
|
required = false,
|
|
32
32
|
disabled = false,
|
|
33
33
|
disabledTooltip,
|
|
34
|
+
warningMessage,
|
|
35
|
+
warnTime = 2000,
|
|
34
36
|
defaultValue,
|
|
35
37
|
value,
|
|
36
38
|
error = false,
|
|
@@ -47,6 +49,10 @@ const RangeInput = props => {
|
|
|
47
49
|
} = props;
|
|
48
50
|
const [valueCom, setValueCom] = useState([null, null]);
|
|
49
51
|
const [focus, setFocus] = useState(false); // 是否获取焦点
|
|
52
|
+
const [showWarning, setShowWarning] = useState(false);
|
|
53
|
+
const constData = useRef({
|
|
54
|
+
timer: null
|
|
55
|
+
});
|
|
50
56
|
useEffect(() => {
|
|
51
57
|
if (props.defaultValue !== undefined) setValueCom(props.defaultValue);
|
|
52
58
|
}, []);
|
|
@@ -82,9 +88,17 @@ const RangeInput = props => {
|
|
|
82
88
|
if (valueCom[0] !== null && valueCom[1] !== null) {
|
|
83
89
|
if (valueCom[0] > valueCom[1]) {
|
|
84
90
|
onChangeCom(index)(null);
|
|
91
|
+
if (warningMessage) handleWarn();
|
|
85
92
|
}
|
|
86
93
|
}
|
|
87
94
|
};
|
|
95
|
+
const handleWarn = () => {
|
|
96
|
+
clearTimeout(constData.current.timer);
|
|
97
|
+
setShowWarning(true);
|
|
98
|
+
constData.current.timer = setTimeout(() => {
|
|
99
|
+
setShowWarning(false);
|
|
100
|
+
}, warnTime);
|
|
101
|
+
};
|
|
88
102
|
/** 回车事件 */
|
|
89
103
|
const onEnterCom = index => event => {
|
|
90
104
|
onEnter && onEnter(event, index);
|
|
@@ -146,6 +160,21 @@ const RangeInput = props => {
|
|
|
146
160
|
}
|
|
147
161
|
return contentRender();
|
|
148
162
|
};
|
|
163
|
+
const handleError = () => {
|
|
164
|
+
if (showWarning) {
|
|
165
|
+
return jsx(HelperText, {
|
|
166
|
+
className: "range-input-warning-text",
|
|
167
|
+
helperText: warningMessage,
|
|
168
|
+
hideErrorDom: hideErrorDom
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
return jsx(HelperText, {
|
|
172
|
+
className: "range-input-error-text",
|
|
173
|
+
error: error,
|
|
174
|
+
helperText: helperText,
|
|
175
|
+
hideErrorDom: hideErrorDom
|
|
176
|
+
});
|
|
177
|
+
};
|
|
149
178
|
return jsxs("div", Object.assign({
|
|
150
179
|
className: clsx(className, "".concat($prefixCls, "-range-input"), "".concat($prefixCls, "-range-input-").concat(size), {
|
|
151
180
|
["".concat($prefixCls, "-range-input-focus")]: focus,
|
|
@@ -157,12 +186,7 @@ const RangeInput = props => {
|
|
|
157
186
|
children: [jsx(Label, Object.assign({
|
|
158
187
|
label: label,
|
|
159
188
|
required: required
|
|
160
|
-
}, labelTooltip)), handleContent(),
|
|
161
|
-
className: "range-input-error-text",
|
|
162
|
-
error: error,
|
|
163
|
-
helperText: helperText,
|
|
164
|
-
hideErrorDom: hideErrorDom
|
|
165
|
-
})]
|
|
189
|
+
}, labelTooltip)), handleContent(), handleError()]
|
|
166
190
|
}));
|
|
167
191
|
};
|
|
168
192
|
|
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: zh,
|
|
46
|
+
en: 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}";
|