@para-ui/core 4.0.37 → 4.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/Cascader/index.js +6 -5
  2. package/ComboSelect/index.js +7 -6
  3. package/CycleSelector/index.js +4 -1
  4. package/DatePicker/index.js +4 -1
  5. package/Drawer/index.js +4 -4
  6. package/DynamicMultiBox/index.js +31 -28
  7. package/Form/index.js +7 -6
  8. package/FormItem/index.js +7 -6
  9. package/Image/index.js +3 -2
  10. package/Pagination/index.js +2 -2
  11. package/PopConfirm/index.js +2 -2
  12. package/Progress/index.js +40 -41
  13. package/Querying/index.js +4 -4
  14. package/QuickReply/index.js +1 -1
  15. package/README.md +18 -2
  16. package/Select/index.js +3 -3
  17. package/Selector/index.js +2 -2
  18. package/SelectorPicker/index.js +4 -4
  19. package/SingleBox/index.js +2 -2
  20. package/SortBox/index.js +1 -1
  21. package/Switch/index.js +2 -2
  22. package/Table/index.js +493 -425
  23. package/Tag/index.js +82 -53
  24. package/TimePicker/index.js +4 -1
  25. package/Timeline/index.js +14 -20
  26. package/ToggleButton/index.js +2 -1
  27. package/Tree/index.js +6 -5
  28. package/Upload/index.js +5 -4
  29. package/_verture/{Portal-42560ff0.js → Portal-edd94cac.js} +2 -1
  30. package/_verture/{defineProperty-f0e15205.js → defineProperty-6f62bb2a.js} +2 -10
  31. package/_verture/{index-086e9a6d.js → index-63345bd4.js} +4 -3
  32. package/_verture/{index-5f0bfdcf.js → index-77fff5bd.js} +3 -2
  33. package/_verture/{index-8ac46bd9.js → index-94e24006.js} +1 -1
  34. package/_verture/typeof-adeedc13.js +11 -0
  35. package/index.js +9 -8
  36. package/package.json +3 -4
  37. package/umd/Argv.js +1 -1
  38. package/umd/ComboSelect.js +1 -1
  39. package/umd/CycleSelector.js +1 -1
  40. package/umd/DynamicMultiBox.js +2 -2
  41. package/umd/Form.js +1 -1
  42. package/umd/FormItem.js +1 -1
  43. package/umd/Pagination.js +1 -1
  44. package/umd/Select.js +1 -1
  45. package/umd/SelectInput.js +1 -1
  46. package/umd/Table.js +2 -2
  47. /package/_verture/{index-4c5d6cd7.js → index-182d41ee.js} +0 -0
  48. /package/_verture/{index-0f5ee6f7.js → index-c8cb6751.js} +0 -0
  49. /package/_verture/{typeof-6ec38efd.js → typeof-4646b22c.js} +0 -0
package/Cascader/index.js CHANGED
@@ -1,16 +1,17 @@
1
- import { C as Cascader } from '../_verture/index-086e9a6d.js';
2
- export { C as default } from '../_verture/index-086e9a6d.js';
1
+ import { C as Cascader } from '../_verture/index-63345bd4.js';
2
+ export { C as default } from '../_verture/index-63345bd4.js';
3
3
  import '../_verture/tslib.es6-f43aa41d.js';
4
4
  import 'react/jsx-runtime';
5
- import '../_verture/Portal-42560ff0.js';
5
+ import '../_verture/Portal-edd94cac.js';
6
6
  import '../_verture/slicedToArray-75fa4188.js';
7
7
  import 'react';
8
8
  import 'react-dom';
9
- import '../_verture/defineProperty-f0e15205.js';
9
+ import '../_verture/typeof-adeedc13.js';
10
10
  import '../_verture/toConsumableArray-c7a8028f.js';
11
+ import '../_verture/defineProperty-6f62bb2a.js';
11
12
  import 'rc-motion';
12
13
  import 'clsx';
13
- import '../_verture/typeof-6ec38efd.js';
14
+ import '../_verture/typeof-4646b22c.js';
14
15
  import 'rc-tree/lib/utils/conductUtil';
15
16
  import '@para-ui/icons/Right';
16
17
  import '@para-ui/icons/Down';
@@ -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-5f0bfdcf.js';
9
+ import { T as Tree } from '../_verture/index-77fff5bd.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,7 +37,8 @@ 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';
38
- import '../_verture/index-0f5ee6f7.js';
40
+ import '../_verture/defineProperty-6f62bb2a.js';
41
+ import '../_verture/index-c8cb6751.js';
39
42
  import '../_verture/sortable.esm-76fe46a4.js';
40
43
  import '../Radio/index.js';
41
44
  import '../OperateBtn/index.js';
@@ -60,10 +63,8 @@ import '@para-ui/icons/Right';
60
63
  import '@para-ui/icons/DoubleLeft';
61
64
  import '@para-ui/icons/DoubleRight';
62
65
  import '../_verture/toConsumableArray-c7a8028f.js';
63
- import '../_verture/slicedToArray-75fa4188.js';
64
- import '../_verture/defineProperty-f0e15205.js';
65
- import '../_verture/index-8ac46bd9.js';
66
- import '../_verture/typeof-6ec38efd.js';
66
+ import '../_verture/index-94e24006.js';
67
+ import '../_verture/typeof-4646b22c.js';
67
68
  import 'rc-tree';
68
69
  import '@para-ui/icons/Document';
69
70
  import 'react-dom';
@@ -19,6 +19,9 @@ import 'rc-picker/es/generate/dayjs';
19
19
  import '../Tag/index.js';
20
20
  import '../_verture/tslib.es6-f43aa41d.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-f0e15205.js';
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';
@@ -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 { a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
5
+ import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
6
6
  import { a as __rest } from '../_verture/tslib.es6-f43aa41d.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/Drawer/index.js CHANGED
@@ -32,8 +32,8 @@ var zh = {
32
32
  };
33
33
 
34
34
  var localeJson = {
35
- zh,
36
- en
35
+ zh: zh,
36
+ en: 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
- const closest = (el, selector) => {
45
- const matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
44
+ var closest = function closest(el, selector) {
45
+ var matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
46
46
  while (el) {
47
47
  if (matchesSelector.call(el, selector)) {
48
48
  break;
@@ -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-0f5ee6f7.js';
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,12 +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-5f0bfdcf.js';
76
+ import '../_verture/index-77fff5bd.js';
74
77
  import '../_verture/toConsumableArray-c7a8028f.js';
75
- import '../_verture/slicedToArray-75fa4188.js';
76
- import '../_verture/defineProperty-f0e15205.js';
77
- import '../_verture/index-8ac46bd9.js';
78
- import '../_verture/typeof-6ec38efd.js';
78
+ import '../_verture/index-94e24006.js';
79
+ import '../_verture/typeof-4646b22c.js';
79
80
  import 'rc-tree';
80
81
  import '@para-ui/icons/Document';
81
82
  import 'react-dom';
@@ -592,12 +593,33 @@ const DynamicMultiBox = props => {
592
593
  if (popoverClassName) str += " ".concat(popoverClassName);
593
594
  return str;
594
595
  };
596
+ /**
597
+ * 判断是否全部隐藏删除
598
+ * 默认全部隐藏
599
+ * */
600
+ const isAllHideDelete = () => {
601
+ var _a;
602
+ let bol = true;
603
+ if (valueList.length > deleteDisable.length) {
604
+ return false;
605
+ }
606
+ for (let i = 0, l = valueList === null || valueList === void 0 ? void 0 : valueList.length; i < l; i++) {
607
+ const id = (_a = valueList[i]) === null || _a === void 0 ? void 0 : _a[rowKey];
608
+ if (id && deleteDisable.indexOf(id) === -1) {
609
+ bol = false;
610
+ break;
611
+ }
612
+ }
613
+ return bol;
614
+ };
595
615
  /**
596
616
  * 渲染表头
597
617
  * */
598
618
  const renderTitle = useMemo(() => {
599
619
  const config = [...fixedConfig, ...selectedConfig];
600
620
  if (!(config === null || config === void 0 ? void 0 : config.length)) return null;
621
+ const showDeleteIcon = keepLastItem ? valueList.length > 1 : true;
622
+ const isAllHideDelBol = isAllHideDelete();
601
623
  return jsxs("div", Object.assign({
602
624
  className: 'title-config'
603
625
  }, {
@@ -632,7 +654,7 @@ const DynamicMultiBox = props => {
632
654
  required: singleTitle === null || singleTitle === void 0 ? void 0 : singleTitle.required,
633
655
  label: singleTitle === null || singleTitle === void 0 ? void 0 : singleTitle.label
634
656
  }) : null, jsxs("div", Object.assign({
635
- className: "operator-column-40 ".concat(isSort && (valueList === null || valueList === void 0 ? void 0 : valueList.length) > 1 ? 'operator-column-80' : '')
657
+ className: "operator-column-40 ".concat(isSort && showDeleteIcon && !isAllHideDelBol ? 'operator-column-80' : '')
636
658
  }, {
637
659
  children: [isSort && jsx("div", {
638
660
  className: 'blank-block'
@@ -655,26 +677,7 @@ const DynamicMultiBox = props => {
655
677
  }))]
656
678
  }))]
657
679
  }));
658
- }, [titleMode, fixedConfig, selectedConfig, isSort, isFilter, checked, onCheckChange, onRestoreDefault, rowKey]);
659
- /**
660
- * 判断是否全部隐藏删除
661
- * 默认全部隐藏
662
- * */
663
- const isAllHideDelete = () => {
664
- var _a;
665
- let bol = true;
666
- if (valueList.length > deleteDisable.length) {
667
- return false;
668
- }
669
- for (let i = 0, l = valueList === null || valueList === void 0 ? void 0 : valueList.length; i < l; i++) {
670
- const id = (_a = valueList[i]) === null || _a === void 0 ? void 0 : _a[rowKey];
671
- if (id && deleteDisable.indexOf(id) === -1) {
672
- bol = false;
673
- break;
674
- }
675
- }
676
- return bol;
677
- };
680
+ }, [titleMode, fixedConfig, selectedConfig, isSort, isFilter, checked, onCheckChange, onRestoreDefault, rowKey, keepLastItem, valueList, deleteDisable]);
678
681
  /**
679
682
  *@desc 渲染内容
680
683
  * */
@@ -723,7 +726,7 @@ const DynamicMultiBox = props => {
723
726
  })
724
727
  });
725
728
  }
726
- }, [valueList, isSort, isFilter, errors, fixedConfig, selectedConfig, keepLastItem, deleteRender, rowKey]);
729
+ }, [valueList, isSort, isFilter, errors, fixedConfig, selectedConfig, keepLastItem, deleteRender, rowKey, deleteDisable]);
727
730
  /**
728
731
  * @desc 删除事件
729
732
  * */
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-4c5d6cd7.js';
4
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-182d41ee.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,11 +51,13 @@ 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';
54
55
  import '@para-ui/icons/ScreenF';
55
56
  import '@para-ui/icons/UpTriangleF';
56
57
  import '@para-ui/icons/DownTriangleF';
57
58
  import '@para-ui/icons/Panel';
58
- import '../_verture/index-0f5ee6f7.js';
59
+ import '../_verture/defineProperty-6f62bb2a.js';
60
+ import '../_verture/index-c8cb6751.js';
59
61
  import '../_verture/sortable.esm-76fe46a4.js';
60
62
  import '../OperateBtn/index.js';
61
63
  import '@para-ui/icons/More';
@@ -71,11 +73,10 @@ import 'rc-pagination';
71
73
  import '@para-ui/icons/Right';
72
74
  import '@para-ui/icons/DoubleLeft';
73
75
  import '@para-ui/icons/DoubleRight';
74
- import '../_verture/index-5f0bfdcf.js';
76
+ import '../_verture/index-77fff5bd.js';
75
77
  import '../_verture/toConsumableArray-c7a8028f.js';
76
- import '../_verture/defineProperty-f0e15205.js';
77
- import '../_verture/index-8ac46bd9.js';
78
- import '../_verture/typeof-6ec38efd.js';
78
+ import '../_verture/index-94e24006.js';
79
+ import '../_verture/typeof-4646b22c.js';
79
80
  import 'rc-tree';
80
81
  import '@para-ui/icons/Document';
81
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-4c5d6cd7.js';
3
+ export { F as default } from '../_verture/index-182d41ee.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-5317fc89.js';
@@ -51,11 +51,13 @@ 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';
54
55
  import '@para-ui/icons/ScreenF';
55
56
  import '@para-ui/icons/UpTriangleF';
56
57
  import '@para-ui/icons/DownTriangleF';
57
58
  import '@para-ui/icons/Panel';
58
- import '../_verture/index-0f5ee6f7.js';
59
+ import '../_verture/defineProperty-6f62bb2a.js';
60
+ import '../_verture/index-c8cb6751.js';
59
61
  import '../_verture/sortable.esm-76fe46a4.js';
60
62
  import '../OperateBtn/index.js';
61
63
  import '@para-ui/icons/More';
@@ -71,11 +73,10 @@ import 'rc-pagination';
71
73
  import '@para-ui/icons/Right';
72
74
  import '@para-ui/icons/DoubleLeft';
73
75
  import '@para-ui/icons/DoubleRight';
74
- import '../_verture/index-5f0bfdcf.js';
76
+ import '../_verture/index-77fff5bd.js';
75
77
  import '../_verture/toConsumableArray-c7a8028f.js';
76
- import '../_verture/defineProperty-f0e15205.js';
77
- import '../_verture/index-8ac46bd9.js';
78
- import '../_verture/typeof-6ec38efd.js';
78
+ import '../_verture/index-94e24006.js';
79
+ import '../_verture/typeof-4646b22c.js';
79
80
  import 'rc-tree';
80
81
  import '@para-ui/icons/Document';
81
82
  import 'react-dom';
package/Image/index.js CHANGED
@@ -2,9 +2,10 @@ 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-42560ff0.js';
6
- import { _ as _typeof, a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
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
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';
@@ -60,8 +60,8 @@ var zh = {
60
60
  };
61
61
 
62
62
  var localeJson = {
63
- zh,
64
- en
63
+ zh: zh,
64
+ en: 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}";
@@ -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/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
- const Steps = props => {
12
- const {
13
- steps,
14
- percent = 0,
15
- strokeWidth = 8,
16
- strokeColor,
17
- trailColor,
18
- children
19
- } = props;
11
+ var Steps = function Steps(props) {
12
+ var steps = props.steps,
13
+ _props$percent = props.percent,
14
+ percent = _props$percent === void 0 ? 0 : _props$percent,
15
+ _props$strokeWidth = props.strokeWidth,
16
+ strokeWidth = _props$strokeWidth === void 0 ? 8 : _props$strokeWidth,
17
+ strokeColor = props.strokeColor,
18
+ trailColor = props.trailColor,
19
+ children = props.children;
20
20
  /** 计算出应该高亮多少步 **/
21
- const current = typeof percent === 'number' ? Math.round(steps * (percent / 100)) : 1;
22
- const styledSteps = [];
23
- for (let i = 0; i < steps; i += 1) {
21
+ var current = typeof percent === 'number' ? Math.round(steps * (percent / 100)) : 1;
22
+ var styledSteps = [];
23
+ for (var 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
- const sortGradient = gradients => {
68
- let tempArr = [];
69
- Object.keys(gradients).forEach(key => {
67
+ var sortGradient = function sortGradient(gradients) {
68
+ var tempArr = [];
69
+ Object.keys(gradients).forEach(function (key) {
70
70
  // 拿到百分比的数字
71
- const formattedKey = parseFloat(key.replace(/%/g, ''));
71
+ var formattedKey = parseFloat(key.replace(/%/g, ''));
72
72
  // 进行序列化
73
73
  if (!isNaN(formattedKey)) {
74
74
  tempArr.push({
@@ -78,12 +78,12 @@ const sortGradient = gradients => {
78
78
  }
79
79
  });
80
80
  // 排序 从小到大
81
- tempArr = tempArr.sort((a, b) => a.key - b.key);
82
- return tempArr.map(_ref => {
83
- let {
84
- key,
85
- value
86
- } = _ref;
81
+ tempArr = tempArr.sort(function (a, b) {
82
+ return a.key - b.key;
83
+ });
84
+ return tempArr.map(function (_ref) {
85
+ var key = _ref.key,
86
+ value = _ref.value;
87
87
  return "".concat(value, " ").concat(key, "%");
88
88
  }).join(', ');
89
89
  };
@@ -105,16 +105,17 @@ const sortGradient = gradients => {
105
105
  * @param {string} strokeColor 颜色值
106
106
  * @return 返回 backgroundImage 的样式值
107
107
  */
108
- const handleGradient = (strokeColor, directionConfig) => {
109
- const {
110
- from = '#3D66F8',
111
- to = '#4F93F0',
112
- direction = directionConfig === 'rtl' ? 'to left' : 'to right'
113
- } = strokeColor,
108
+ var handleGradient = function handleGradient(strokeColor, directionConfig) {
109
+ var _strokeColor$from = strokeColor.from,
110
+ from = _strokeColor$from === void 0 ? '#3D66F8' : _strokeColor$from,
111
+ _strokeColor$to = strokeColor.to,
112
+ to = _strokeColor$to === void 0 ? '#4F93F0' : _strokeColor$to,
113
+ _strokeColor$directio = strokeColor.direction,
114
+ direction = _strokeColor$directio === void 0 ? directionConfig === 'rtl' ? 'to left' : 'to right' : _strokeColor$directio,
114
115
  rest = __rest(strokeColor, ["from", "to", "direction"]);
115
116
  // 剩余参数有值说明除了from to direction 还传了 另外的参数
116
117
  if (Object.keys(rest).length !== 0) {
117
- const sortedGradients = sortGradient(rest);
118
+ var sortedGradients = sortGradient(rest);
118
119
  return {
119
120
  backgroundImage: "linear-gradient(".concat(direction, ", ").concat(sortedGradients, ")")
120
121
  };
@@ -123,25 +124,23 @@ const handleGradient = (strokeColor, directionConfig) => {
123
124
  backgroundImage: "linear-gradient(".concat(direction, ", ").concat(from, ", ").concat(to, ")")
124
125
  };
125
126
  };
126
- const Line = props => {
127
- const {
128
- direction: directionConfig,
129
- percent,
130
- strokeWidth,
131
- strokeColor,
132
- strokeLinecap,
133
- trailColor
134
- } = props;
127
+ var Line = function Line(props) {
128
+ var directionConfig = props.direction,
129
+ percent = props.percent,
130
+ strokeWidth = props.strokeWidth,
131
+ strokeColor = props.strokeColor,
132
+ strokeLinecap = props.strokeLinecap,
133
+ trailColor = props.trailColor;
135
134
  /** 进度条高亮部分的颜色样式 **/
136
- const backgroundProps = strokeColor && typeof strokeColor !== 'string' ? handleGradient(strokeColor, directionConfig) : {
135
+ var backgroundProps = strokeColor && typeof strokeColor !== 'string' ? handleGradient(strokeColor, directionConfig) : {
137
136
  background: strokeColor
138
137
  };
139
138
  /** 进度条轨道部分的颜色样式 **/
140
- const trailStyle = trailColor ? {
139
+ var trailStyle = trailColor ? {
141
140
  backgroundColor: trailColor
142
141
  } : undefined;
143
142
  /** 进度条百分比的样式 **/
144
- const percentStyle = Object.assign({
143
+ var percentStyle = Object.assign({
145
144
  width: "".concat(validProgress(percent), "%"),
146
145
  height: strokeWidth || 8,
147
146
  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
- const LargeSearch = () => {
11
+ var LargeSearch = function 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 @@ const LargeSearch = () => {
445
445
  }))
446
446
  }));
447
447
  };
448
- const SmallSearch = () => {
448
+ var SmallSearch = function 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: zh,
688
+ en: 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}";
@@ -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-0f5ee6f7.js';
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,4 +1,21 @@
1
- ## 🎉 para-ui/core@4.0.37 发布
1
+ ## 🎉 para-ui/core@4.0.39 发布
2
+
3
+ 🔧【Bugfix】
4
+ - 【动态多值框-DynamicMultiBox】修复keepLastItem为false,标题错位
5
+ - 【下拉框-Select】修复分组下拉框搜索数据丢失
6
+
7
+
8
+ ## 🎉 para-ui/core@4.0.38 发布
9
+
10
+ 🎁【Feature】
11
+ - 【changelog】样式调整
12
+
13
+ 🔧【Bugfix】
14
+ - 【表格-Table】修复自定义filter,多次渲染,导致自定义filter组件重复渲染
15
+
16
+
17
+
18
+ ## 🎉 4.0.37 发布
2
19
 
3
20
  🎁【Feature】
4
21
 
@@ -11,7 +28,6 @@
11
28
  【环境变量-Argv】新增环境变量组件
12
29
 
13
30
 
14
-
15
31
  ## 版本: 4.0.35
16
32
  para-ui/core@4.0.35 发布
17
33
  【锚点-Anchor】新增锚点组件
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}";
@@ -352,7 +352,7 @@ const Select = props => {
352
352
  const arr = [];
353
353
  const listDeep = [...listData];
354
354
  for (let i = 0, l = listDeep.length; i < l; i++) {
355
- const item = listDeep[i];
355
+ const item = Object.assign({}, listDeep[i]);
356
356
  if (item[childrenName] && item[childrenName].length > 0) {
357
357
  const childArr = item[childrenName];
358
358
  const handChildArr = [];