@para-ui/core 4.0.41 → 4.0.43

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 (58) hide show
  1. package/Cascader/index.js +4 -5
  2. package/ComboSelect/index.js +5 -6
  3. package/CycleSelector/index.js +3 -6
  4. package/DatePicker/index.js +1 -4
  5. package/DragVerify/index.js +2 -2
  6. package/DynamicMultiBox/index.js +2 -3
  7. package/Form/index.js +3 -4
  8. package/FormItem/index.js +3 -4
  9. package/FunctionModal/index.js +2 -2
  10. package/Image/index.js +2 -3
  11. package/Message/index.js +2 -2
  12. package/Modal/index.js +3 -3
  13. package/Notification/index.js +3 -3
  14. package/Pagination/index.d.ts +4 -0
  15. package/Pagination/index.js +3 -2
  16. package/Progress/index.js +2 -2
  17. package/Prompt/index.js +2 -2
  18. package/README.md +10 -1
  19. package/Result/index.d.ts +25 -0
  20. package/Result/index.js +94 -0
  21. package/Select/index.js +5 -5
  22. package/Selector/index.js +3 -3
  23. package/SelectorPicker/index.js +3 -3
  24. package/Stepper/index.js +3 -3
  25. package/Table/index.js +43 -6
  26. package/Table/lang/en_US.d.ts +2 -0
  27. package/Table/lang/index.d.ts +4 -0
  28. package/Table/lang/zh_CN.d.ts +2 -0
  29. package/Tabs/index.js +4 -4
  30. package/Tag/index.js +55 -84
  31. package/TextEditor/index.js +3 -3
  32. package/TimePicker/index.js +1 -4
  33. package/Timeline/index.js +13 -20
  34. package/ToggleButton/index.js +1 -2
  35. package/Tree/index.js +3 -4
  36. package/Upload/index.js +4 -5
  37. package/_verture/{Portal-f9bedb3a.js → Portal-42560ff0.js} +1 -2
  38. package/_verture/{defineProperty-6f62bb2a.js → defineProperty-f0e15205.js} +10 -2
  39. package/_verture/{index-6016a7ed.js → index-3fcb421f.js} +2 -3
  40. package/_verture/{index-5b4ff3b2.js → index-5f0bfdcf.js} +1 -2
  41. package/index.d.ts +2 -0
  42. package/index.js +8 -8
  43. package/locale/en-US.d.ts +2 -0
  44. package/locale/index.d.ts +4 -0
  45. package/locale/index.js +6 -2
  46. package/locale/zh-CN.d.ts +2 -0
  47. package/package.json +1 -1
  48. package/umd/ComboSelect.js +1 -1
  49. package/umd/DynamicMultiBox.js +1 -1
  50. package/umd/Form.js +1 -1
  51. package/umd/FormItem.js +1 -1
  52. package/umd/Pagination.js +1 -1
  53. package/umd/Result.js +43 -0
  54. package/umd/Table.js +2 -2
  55. package/umd/locale.js +1 -1
  56. package/_verture/typeof-adeedc13.js +0 -11
  57. /package/_verture/{index-8a431cd6.js → index-4b1025fa.js} +0 -0
  58. /package/_verture/{modalContext-efa83b5c.js → modalContext-369509dd.js} +0 -0
package/Cascader/index.js CHANGED
@@ -1,14 +1,13 @@
1
- import { C as Cascader } from '../_verture/index-6016a7ed.js';
2
- export { C as default } from '../_verture/index-6016a7ed.js';
1
+ import { C as Cascader } from '../_verture/index-3fcb421f.js';
2
+ export { C as default } from '../_verture/index-3fcb421f.js';
3
3
  import '../_verture/tslib.es6-f43aa41d.js';
4
4
  import 'react/jsx-runtime';
5
- import '../_verture/Portal-f9bedb3a.js';
5
+ import '../_verture/Portal-42560ff0.js';
6
6
  import '../_verture/slicedToArray-75fa4188.js';
7
7
  import 'react';
8
8
  import 'react-dom';
9
- import '../_verture/typeof-adeedc13.js';
9
+ import '../_verture/defineProperty-f0e15205.js';
10
10
  import '../_verture/toConsumableArray-c7a8028f.js';
11
- import '../_verture/defineProperty-6f62bb2a.js';
12
11
  import 'rc-motion';
13
12
  import 'clsx';
14
13
  import '../_verture/typeof-6ec38efd.js';
@@ -3,10 +3,10 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import React__default, { useRef, useState, useEffect, useMemo, useImperativeHandle } from 'react';
4
4
  import Down from '@para-ui/icons/Down';
5
5
  import SearchIcon from '@para-ui/icons/Search';
6
- import CloseIcon from '@para-ui/icons/Close';
6
+ import Close 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-5b4ff3b2.js';
9
+ import { T as Tree } from '../_verture/index-5f0bfdcf.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';
@@ -61,8 +61,7 @@ import '@para-ui/icons/DoubleLeft';
61
61
  import '@para-ui/icons/DoubleRight';
62
62
  import '../_verture/toConsumableArray-c7a8028f.js';
63
63
  import '../_verture/slicedToArray-75fa4188.js';
64
- import '../_verture/defineProperty-6f62bb2a.js';
65
- import '../_verture/typeof-adeedc13.js';
64
+ import '../_verture/defineProperty-f0e15205.js';
66
65
  import '../_verture/index-8ac46bd9.js';
67
66
  import '../_verture/typeof-6ec38efd.js';
68
67
  import 'rc-tree';
@@ -679,7 +678,7 @@ const ComboSelect = props => {
679
678
  onClick: evt => handleRemoveTagClick(evt, item),
680
679
  onMouseDown: e => e.stopPropagation()
681
680
  }, {
682
- children: jsx(CloseIcon, {})
681
+ children: jsx(Close, {})
683
682
  }))]
684
683
  }));
685
684
  };
@@ -941,7 +940,7 @@ const ComboSelect = props => {
941
940
  className: 'comboselect-more-item-remove',
942
941
  onClick: e => handleRemoveTagClick(e, item)
943
942
  }, {
944
- children: jsx(CloseIcon, {})
943
+ children: jsx(Close, {})
945
944
  }))]
946
945
  }), idx);
947
946
  });
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import React__default, { useState, useRef, useEffect, useImperativeHandle } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import dayjs from 'dayjs';
5
- import CloseIcon from '@para-ui/icons/Close';
5
+ import Close from '@para-ui/icons/Close';
6
6
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
7
7
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
8
8
  import DatePicker from '../DatePicker/index.js';
@@ -19,9 +19,6 @@ 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';
25
22
  import '../AutoTips/index.js';
26
23
  import '../Tooltip/index.js';
27
24
  import 'rc-tooltip';
@@ -30,7 +27,7 @@ import '@para-ui/icons/Forbid';
30
27
  import '@paraview/lib';
31
28
  import '../_verture/tinycolor-ece3542d.js';
32
29
  import '@para-ui/icons/Plus';
33
- import '../_verture/defineProperty-6f62bb2a.js';
30
+ import '../_verture/defineProperty-f0e15205.js';
34
31
  import 'rc-picker';
35
32
  import '@para-ui/icons/CloseCircleF';
36
33
  import '@para-ui/icons/Calendar';
@@ -755,7 +752,7 @@ const CycleSelector = props => {
755
752
  className: 'label'
756
753
  }, {
757
754
  children: intl('customCycle')
758
- })), jsx(CloseIcon, {
755
+ })), jsx(Close, {
759
756
  onClick: cancelPopover
760
757
  })]
761
758
  })), jsx("div", Object.assign({
@@ -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 { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
5
+ import { a as _defineProperty } from '../_verture/defineProperty-f0e15205.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,9 +33,6 @@ 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';
39
36
  import '../_verture/tinycolor-ece3542d.js';
40
37
  import '@para-ui/icons/Plus';
41
38
  import '../Help/index.js';
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useState, useRef, useEffect } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import DoubleRight from '@para-ui/icons/DoubleRight';
6
- import CloseIcon from '@para-ui/icons/Close';
6
+ import Close from '@para-ui/icons/Close';
7
7
  import Check from '@para-ui/icons/Check';
8
8
  import Refresh from '@para-ui/icons/Refresh';
9
9
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
@@ -268,7 +268,7 @@ const DragVerify = props => {
268
268
  }, {
269
269
  children: [jsx(DoubleRight, {
270
270
  className: 'svg-right'
271
- }), jsx(CloseIcon, {
271
+ }), jsx(Close, {
272
272
  className: 'svg-close'
273
273
  }), jsx(Check, {
274
274
  className: 'svg-check'
@@ -70,11 +70,10 @@ import 'rc-pagination';
70
70
  import '@para-ui/icons/Right';
71
71
  import '@para-ui/icons/DoubleLeft';
72
72
  import '@para-ui/icons/DoubleRight';
73
- import '../_verture/index-5b4ff3b2.js';
73
+ import '../_verture/index-5f0bfdcf.js';
74
74
  import '../_verture/toConsumableArray-c7a8028f.js';
75
75
  import '../_verture/slicedToArray-75fa4188.js';
76
- import '../_verture/defineProperty-6f62bb2a.js';
77
- import '../_verture/typeof-adeedc13.js';
76
+ import '../_verture/defineProperty-f0e15205.js';
78
77
  import '../_verture/index-8ac46bd9.js';
79
78
  import '../_verture/typeof-6ec38efd.js';
80
79
  import 'rc-tree';
package/Form/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DeepClone } from '@paraview/lib';
3
3
  import React__default from 'react';
4
- import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-8a431cd6.js';
4
+ import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-4b1025fa.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';
@@ -71,10 +71,9 @@ import 'rc-pagination';
71
71
  import '@para-ui/icons/Right';
72
72
  import '@para-ui/icons/DoubleLeft';
73
73
  import '@para-ui/icons/DoubleRight';
74
- import '../_verture/index-5b4ff3b2.js';
74
+ import '../_verture/index-5f0bfdcf.js';
75
75
  import '../_verture/toConsumableArray-c7a8028f.js';
76
- import '../_verture/defineProperty-6f62bb2a.js';
77
- import '../_verture/typeof-adeedc13.js';
76
+ import '../_verture/defineProperty-f0e15205.js';
78
77
  import '../_verture/index-8ac46bd9.js';
79
78
  import '../_verture/typeof-6ec38efd.js';
80
79
  import 'rc-tree';
package/FormItem/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
- export { F as default } from '../_verture/index-8a431cd6.js';
3
+ export { F as default } from '../_verture/index-4b1025fa.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-5317fc89.js';
@@ -71,10 +71,9 @@ import 'rc-pagination';
71
71
  import '@para-ui/icons/Right';
72
72
  import '@para-ui/icons/DoubleLeft';
73
73
  import '@para-ui/icons/DoubleRight';
74
- import '../_verture/index-5b4ff3b2.js';
74
+ import '../_verture/index-5f0bfdcf.js';
75
75
  import '../_verture/toConsumableArray-c7a8028f.js';
76
- import '../_verture/defineProperty-6f62bb2a.js';
77
- import '../_verture/typeof-adeedc13.js';
76
+ import '../_verture/defineProperty-f0e15205.js';
78
77
  import '../_verture/index-8ac46bd9.js';
79
78
  import '../_verture/typeof-6ec38efd.js';
80
79
  import 'rc-tree';
@@ -1,5 +1,5 @@
1
- import { u as useModal } from '../_verture/modalContext-efa83b5c.js';
2
- export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-efa83b5c.js';
1
+ import { u as useModal } from '../_verture/modalContext-369509dd.js';
2
+ export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-369509dd.js';
3
3
  import '../_verture/tslib.es6-f43aa41d.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
package/Image/index.js CHANGED
@@ -2,10 +2,9 @@ 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-f9bedb3a.js';
6
- import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.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-42560ff0.js';
6
+ import { _ as _typeof, a as _defineProperty } from '../_verture/defineProperty-f0e15205.js';
7
7
  import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
8
- import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
9
8
  import Dialog from 'rc-dialog';
10
9
  import ReactDOM from 'react-dom';
11
10
  import CSSMotion from 'rc-motion';
package/Message/index.js CHANGED
@@ -3,7 +3,7 @@ import { useEffect } from 'react';
3
3
  import ReactDOM from 'react-dom';
4
4
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
5
5
  import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
- import CloseIcon from '@para-ui/icons/Close';
6
+ import Close from '@para-ui/icons/Close';
7
7
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
8
8
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
9
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
@@ -131,7 +131,7 @@ const renderContent = (box, _ref2, removeTime, autoClose, fill) => {
131
131
  const iconDom = document.querySelector("#".concat(id, " .msg-icon"));
132
132
  if (iconDom && icon && !hideIcon) ReactDOM.render(icon, iconDom);
133
133
  const closeDom = document.querySelector("#".concat(id, " .msg-close"));
134
- if (closeDom) ReactDOM.render(jsx(CloseIcon, {}), closeDom);
134
+ if (closeDom) ReactDOM.render(jsx(Close, {}), closeDom);
135
135
  if (!autoClose) return;
136
136
  setTimeout(() => {
137
137
  const hasNode = document.querySelector("#".concat(item.id));
package/Modal/index.js CHANGED
@@ -3,7 +3,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import Dialog from 'rc-dialog';
5
5
  import { Button } from '../Button/index.js';
6
- import CloseIcon from '@para-ui/icons/Close';
6
+ import Close from '@para-ui/icons/Close';
7
7
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
8
8
  import { g as getConfirmLocale, l as localeJson } from '../_verture/index-ca413216.js';
9
9
  import ReactDOM from 'react-dom';
@@ -128,7 +128,7 @@ const ConfirmDialog = props => {
128
128
  className: 'confirm-content-close',
129
129
  onClick: handleCancel
130
130
  }, {
131
- children: jsx(CloseIcon, {})
131
+ children: jsx(Close, {})
132
132
  })), jsx("span", Object.assign({
133
133
  className: clsx('confirm-content-icon', "confirm-content-icon--".concat(type))
134
134
  }, {
@@ -342,7 +342,7 @@ const Modal = props => {
342
342
  variant: 'outlined',
343
343
  size: 'small'
344
344
  }, {
345
- children: closeIcon || jsx(CloseIcon, {
345
+ children: closeIcon || jsx(Close, {
346
346
  className: "".concat(prefixCls, "-close-icon")
347
347
  })
348
348
  }));
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import Notification from 'rc-notification';
4
4
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
5
5
  import CheckCircleF from '@para-ui/icons/CheckCircleF';
6
- import CloseIcon from '@para-ui/icons/Close';
6
+ import Close from '@para-ui/icons/Close';
7
7
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
8
8
  import clsx from 'clsx';
9
9
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
@@ -23,7 +23,7 @@ let defaultRight = 20;
23
23
  let defaultPlacement = 'topRight';
24
24
  let defaultGetContainer;
25
25
  const prefixCls = "".concat($prefixCls, "-notification");
26
- let defaultCloseIcon = jsx(CloseIcon, {
26
+ let defaultCloseIcon = jsx(Close, {
27
27
  className: "".concat(prefixCls, "-close-icon")
28
28
  });
29
29
  const rtl = false;
@@ -134,7 +134,7 @@ function getNotificationInstance(args, callback) {
134
134
  const closeIconToRender = jsx("span", Object.assign({
135
135
  className: "".concat(prefixCls, "-close-x")
136
136
  }, {
137
- children: closeIcon || jsx(CloseIcon, {
137
+ children: closeIcon || jsx(Close, {
138
138
  className: "".concat(prefixCls, "-close-icon")
139
139
  })
140
140
  }));
@@ -34,6 +34,10 @@ export interface PaginationProps {
34
34
  currentRowsPerPage?: number;
35
35
  /** 当前页数 */
36
36
  page?: number;
37
+ /** 当前页数最大限制,
38
+ * true 默认限制,不超过总页数
39
+ * */
40
+ pageMaxLimit?: boolean;
37
41
  /** 跳转页数 */
38
42
  skipFunc?: (num?: number, skipValue?: number) => void;
39
43
  /** 下拉框弹窗内容 */
@@ -79,6 +79,7 @@ const Pagination = props => {
79
79
  flippingArrow = ['prev', 'next'],
80
80
  currentRowsPerPage = 10,
81
81
  page = 1,
82
+ pageMaxLimit = true,
82
83
  skipFunc,
83
84
  changePage,
84
85
  changeRowsPerPage,
@@ -134,10 +135,10 @@ const Pagination = props => {
134
135
  }, [props.rowsPerPage, locale]);
135
136
  useEffect(() => {
136
137
  const num = Number(totalPage);
137
- if (pageCom > num && num !== pageCom) {
138
+ if (pageMaxLimit && pageCom > num && num !== pageCom) {
138
139
  setPageCom(num);
139
140
  }
140
- }, [pageCom, totalPage]);
141
+ }, [pageCom, totalPage, pageMaxLimit]);
141
142
  useEffect(() => {
142
143
  const num = Math.ceil(total / currentRowsPerPageCom);
143
144
  // props.page 防止外部传入自定义页面,设置无效(表格分页)
package/Progress/index.js CHANGED
@@ -4,7 +4,7 @@ import { Circle } from 'rc-progress';
4
4
  import CheckCircleF from '@para-ui/icons/CheckCircleF';
5
5
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
6
6
  import Check from '@para-ui/icons/Check';
7
- import CloseIcon from '@para-ui/icons/Close';
7
+ import Close 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
 
@@ -255,7 +255,7 @@ const Progress = props => {
255
255
  }) : jsx(CheckCircleF, {
256
256
  className: "success"
257
257
  });
258
- if (status === 'exception') return type === 'circle' ? jsx(CloseIcon, {
258
+ if (status === 'exception') return type === 'circle' ? jsx(Close, {
259
259
  className: "error"
260
260
  }) : jsx(CloseCircleF, {
261
261
  className: "error"
package/Prompt/index.js CHANGED
@@ -5,7 +5,7 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
5
5
  import WarningCircleF from '@para-ui/icons/WarningCircleF';
6
6
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
7
7
  import CheckCircleF from '@para-ui/icons/CheckCircleF';
8
- import CloseIcon from '@para-ui/icons/Close';
8
+ import Close from '@para-ui/icons/Close';
9
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
10
10
 
11
11
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-prompt {\n width: 100%;\n border-radius: 4px;\n padding: 10px 16px 10px 40px;\n position: relative;\n box-sizing: border-box;\n}\n.paraui-v4-prompt.prompt-outline {\n border-width: 1px;\n border-style: solid;\n}\n.paraui-v4-prompt.prompt-status-feedback-close {\n padding-right: 44px;\n}\n.paraui-v4-prompt .prompt-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n left: 16px;\n z-index: 2;\n}\n.paraui-v4-prompt .prompt-icon svg {\n width: 16px;\n height: 16px;\n}\n.paraui-v4-prompt .prompt-btn-close {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 2;\n margin-left: auto;\n cursor: pointer;\n}\n.paraui-v4-prompt .prompt-btn-close svg {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-prompt .prompt-title {\n width: 100%;\n font-weight: 600;\n height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n margin-bottom: 4px;\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item {\n margin-top: 4px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item:first-child {\n margin-top: 0;\n}\n.paraui-v4-prompt .prompt-content-item {\n width: 100%;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-content-item {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-content-item {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-content-item {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-content-item {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-info {\n background: rgb(240, 245, 255);\n}\n.paraui-v4-prompt.prompt-type-info svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-type-info.prompt-outline {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-prompt.prompt-type-error {\n background: rgb(255, 235, 235);\n}\n.paraui-v4-prompt.prompt-type-error svg {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-type-error.prompt-outline {\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-prompt.prompt-type-success {\n background: rgb(232, 252, 239);\n}\n.paraui-v4-prompt.prompt-type-success svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-success.prompt-outline {\n border-color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-warn {\n background: rgb(255, 246, 235);\n}\n.paraui-v4-prompt.prompt-type-warn svg {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-warn.prompt-outline {\n border-color: rgb(255, 147, 38);\n}";
@@ -85,7 +85,7 @@ const Prompt = props => {
85
85
  className: 'prompt-btn-close',
86
86
  onClick: closePanel
87
87
  }, {
88
- children: jsx(CloseIcon, {})
88
+ children: jsx(Close, {})
89
89
  })), title && jsx("div", Object.assign({
90
90
  className: "prompt-title"
91
91
  }, {
package/README.md CHANGED
@@ -1,8 +1,17 @@
1
- ## 🎉 para-ui/core@4.0.41 发布
1
+ ## 🎉 para-ui/core@4.0.43 发布
2
+
3
+ 🔧【Bugfix】
4
+ - 【分页-Pagination】增加pageMaxLimit参数
5
+ - 【表格-Table】增加非首页空状态展示
6
+
7
+ ## 🎉 para-ui/core@4.0.42 发布
2
8
 
3
9
  🔧【Bugfix】
4
10
  - 【对话框-Modal】修复同时存在size和contentHeight时,size失效问题
5
11
 
12
+ 🎁【Feature】
13
+ - 【结果-Result】新增组件-结果
14
+
6
15
  ## 🎉 para-ui/core@4.0.40 发布
7
16
 
8
17
  🔧【Bugfix】
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @author linhd
3
+ * @date 2024/9/11 10:46
4
+ * @description 结果
5
+ */
6
+ import React, { FunctionComponent, ReactNode } from 'react';
7
+ import './index.scss';
8
+ interface ResultProps {
9
+ /** 样式class */
10
+ className?: string;
11
+ /** style */
12
+ style?: React.CSSProperties;
13
+ /** 状态 */
14
+ status?: 'success' | 'error' | 'loading';
15
+ /** 插画 */
16
+ icon?: ReactNode;
17
+ /** 标题 */
18
+ title?: ReactNode;
19
+ /** 副标题 */
20
+ subTitle?: ReactNode;
21
+ /** 底部 */
22
+ footer?: ReactNode;
23
+ }
24
+ export declare const Result: FunctionComponent<ResultProps>;
25
+ export default Result;
@@ -0,0 +1,94 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+ import AutoTips from '../AutoTips/index.js';
4
+ import Check from '@para-ui/icons/Check';
5
+ import Close from '@para-ui/icons/Close';
6
+ import LoadingIcon from '@para-ui/icons/Loading';
7
+ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
8
+ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
9
+ import 'react';
10
+ import '../Tooltip/index.js';
11
+ import '../_verture/tslib.es6-f43aa41d.js';
12
+ import 'rc-tooltip';
13
+ import 'rc-tooltip/lib/placements';
14
+ import '@para-ui/icons/Forbid';
15
+ import '@paraview/lib';
16
+
17
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-result {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n@keyframes rotateLoading {\n 0% {\n transformOrigin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-result > .icon-box {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 30px;\n}\n.paraui-v4-result > .icon-box > .icon-bg {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n}\n.paraui-v4-result > .icon-box > .icon-bg > svg {\n font-size: 40px;\n}\n.paraui-v4-result > .title {\n color: rgb(29, 33, 38);\n font-size: 18px;\n font-weight: 700;\n max-width: 100%;\n margin-bottom: 4px;\n}\n.paraui-v4-result > .sub-title {\n max-width: 100%;\n font-size: 14px;\n color: rgb(92, 101, 115);\n text-align: center;\n}\n.paraui-v4-result > .footer {\n margin-top: 40px;\n}\n.paraui-v4-result.paraui-v4-result-success > .icon-box > .icon-bg {\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-success > .icon-box > .icon-bg > svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-result.paraui-v4-result-error > .icon-box > .icon-bg {\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-error > .icon-box > .icon-bg > svg {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-result.paraui-v4-result-loading > .icon-box > .icon-bg {\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-loading > .icon-box > .icon-bg > svg {\n transition: all 0.3s ease-in-out;\n animation: rotateLoading 1s infinite linear;\n color: rgb(46, 101, 230);\n}";
18
+ styleInject(css_248z);
19
+
20
+ const iconMapping = {
21
+ success: jsx(Check, {}),
22
+ error: jsx(Close, {}),
23
+ loading: jsx(LoadingIcon, {})
24
+ };
25
+ const Result = props => {
26
+ const {
27
+ className,
28
+ style,
29
+ status,
30
+ icon,
31
+ title,
32
+ subTitle,
33
+ footer
34
+ } = props;
35
+ const handleIcon = () => {
36
+ if (icon) {
37
+ return jsx("div", Object.assign({
38
+ className: 'icon-box'
39
+ }, {
40
+ children: icon
41
+ }));
42
+ }
43
+ if (status) {
44
+ return jsx("div", Object.assign({
45
+ className: 'icon-box'
46
+ }, {
47
+ children: jsx("div", Object.assign({
48
+ className: 'icon-bg'
49
+ }, {
50
+ children: iconMapping[status]
51
+ }))
52
+ }));
53
+ }
54
+ };
55
+ const handleTitle = () => {
56
+ if (title) {
57
+ return jsx("div", Object.assign({
58
+ className: 'title'
59
+ }, {
60
+ children: jsx(AutoTips, {
61
+ children: title
62
+ })
63
+ }));
64
+ }
65
+ };
66
+ const handleSubTitle = () => {
67
+ if (subTitle) {
68
+ return jsx("div", Object.assign({
69
+ className: 'sub-title'
70
+ }, {
71
+ children: subTitle
72
+ }));
73
+ }
74
+ };
75
+ const handleFooter = () => {
76
+ if (footer) {
77
+ return jsx("div", Object.assign({
78
+ className: 'footer'
79
+ }, {
80
+ children: footer
81
+ }));
82
+ }
83
+ };
84
+ return jsxs("div", Object.assign({
85
+ className: clsx(className, "".concat($prefixCls, "-result"), {
86
+ ["".concat($prefixCls, "-result-").concat(status)]: status
87
+ }),
88
+ style: style
89
+ }, {
90
+ children: [handleIcon(), handleTitle(), handleSubTitle(), handleFooter()]
91
+ }));
92
+ };
93
+
94
+ export { Result, Result as default };
package/Select/index.js CHANGED
@@ -5,7 +5,7 @@ import Label from '../Label/index.js';
5
5
  import { D as Dropdown } from '../_verture/index-bde7aabe.js';
6
6
  import { UUID, DeepClone } from '@paraview/lib';
7
7
  import { G as GlobalContext } from '../_verture/index-ca413216.js';
8
- import CloseIcon from '@para-ui/icons/Close';
8
+ import Close from '@para-ui/icons/Close';
9
9
  import CloseCircleF from '@para-ui/icons/CloseCircleF';
10
10
  import Down from '@para-ui/icons/Down';
11
11
  import Check from '@para-ui/icons/Check';
@@ -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}";
@@ -869,7 +869,7 @@ const Select = props => {
869
869
  }, {
870
870
  children: handContent(index)
871
871
  }))
872
- }), isClose && jsx(CloseIcon, {
872
+ }), isClose && jsx(Close, {
873
873
  onClick: delItem(listJson[valueCom[index]], valueCom[index])
874
874
  })]
875
875
  }), index);
@@ -958,7 +958,7 @@ const Select = props => {
958
958
  }, {
959
959
  children: handContent(index)
960
960
  }))
961
- }), isClose && jsx(CloseIcon, {
961
+ }), isClose && jsx(Close, {
962
962
  onClick: delItem(listJson[valueCom[index]], valueCom[index])
963
963
  })]
964
964
  }), index);
package/Selector/index.js CHANGED
@@ -8,7 +8,7 @@ import { Checkbox } from '../Checkbox/index.js';
8
8
  import { Popover } from '../Popover/index.js';
9
9
  import AutoTips from '../AutoTips/index.js';
10
10
  import { Loading } from '../Loading/index.js';
11
- import CloseIcon from '@para-ui/icons/Close';
11
+ import Close from '@para-ui/icons/Close';
12
12
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
13
13
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
14
14
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
@@ -320,7 +320,7 @@ var SelectorNode = function SelectorNode(props) {
320
320
  className: "close",
321
321
  onClick: onCloseCom
322
322
  }, {
323
- children: jsx(CloseIcon, {})
323
+ children: jsx(Close, {})
324
324
  }))]
325
325
  }))]
326
326
  }));
@@ -1030,7 +1030,7 @@ const SelectorData = props => {
1030
1030
  children: selectRenderItem ? selectRenderItem(item) : jsx(AutoTips, {
1031
1031
  children: item[(backDataFieldConfig === null || backDataFieldConfig === void 0 ? void 0 : backDataFieldConfig.mainTitle) || ''] || item[(backDataFieldConfig === null || backDataFieldConfig === void 0 ? void 0 : backDataFieldConfig.key) || '']
1032
1032
  })
1033
- }), !disabledItem && jsx(CloseIcon, {
1033
+ }), !disabledItem && jsx(Close, {
1034
1034
  onClick: () => onClose && onClose(item, index)
1035
1035
  })]
1036
1036
  }), index);