@para-ui/core 3.0.86 → 4.0.0-alpha

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 (263) hide show
  1. package/AutoBox/index.js +18 -19
  2. package/AutoTips/index.js +5 -4
  3. package/Breadcrumbs/index.js +5 -4
  4. package/Button/SplitButton.d.ts +13 -0
  5. package/Button/index.d.ts +1 -1
  6. package/Button/index.js +54 -12
  7. package/ButtonGroup/index.js +6 -5
  8. package/Carousel/index.d.ts +5 -5
  9. package/Carousel/index.js +21 -9
  10. package/Cascader/Cascader.d.ts +99 -0
  11. package/Cascader/OptionList/CacheContent.d.ts +7 -0
  12. package/Cascader/OptionList/Column.d.ts +21 -0
  13. package/Cascader/OptionList/index.d.ts +4 -0
  14. package/Cascader/OptionList/useActive.d.ts +6 -0
  15. package/Cascader/context.d.ts +23 -0
  16. package/Cascader/hooks/useDisplayValues.d.ts +10 -0
  17. package/Cascader/hooks/useEntities.d.ts +10 -0
  18. package/Cascader/hooks/useMissingValues.d.ts +3 -0
  19. package/Cascader/index.d.ts +3 -58
  20. package/Cascader/index.js +28 -177
  21. package/Cascader/utils/commonUtil.d.ts +18 -0
  22. package/Cascader/utils/treeUtil.d.ts +55 -0
  23. package/Checkbox/index.d.ts +7 -0
  24. package/Checkbox/index.js +50 -29
  25. package/CheckboxGroup/index.d.ts +3 -1
  26. package/CheckboxGroup/index.js +48 -18
  27. package/Collapse/index.js +2 -2
  28. package/Collapse/motion.d.ts +0 -2
  29. package/CollapseBox/index.js +3 -3
  30. package/CollapseLayout/index.d.ts +5 -0
  31. package/CollapseLayout/index.js +144 -22
  32. package/ColorPicker/chromePicker/index.d.ts +9 -0
  33. package/ColorPicker/compactPicker/index.d.ts +9 -0
  34. package/ColorPicker/config.d.ts +5 -0
  35. package/ColorPicker/index.d.ts +4 -1
  36. package/ColorPicker/index.js +7 -3
  37. package/ColorPicker/sketchPicker/index.d.ts +11 -0
  38. package/ColorPicker/swatchesPicker/index.d.ts +9 -0
  39. package/ComboSelect/index.js +14 -12
  40. package/Container/index.js +2 -2
  41. package/CopyText/index.d.ts +33 -0
  42. package/CopyText/index.js +180 -0
  43. package/DatePicker/generatePicker/generateRangePicker.d.ts +9 -2
  44. package/DatePicker/generatePicker/generateSinglePicker.d.ts +8 -8
  45. package/DatePicker/generatePicker/index.d.ts +32 -26
  46. package/DatePicker/generatePicker/interface.d.ts +12 -0
  47. package/DatePicker/index.d.ts +12 -8
  48. package/DatePicker/index.js +367 -454
  49. package/DatePicker/util.d.ts +40 -4
  50. package/Desktop/index.d.ts +16 -3
  51. package/Desktop/index.js +177 -68
  52. package/Desktop/lang/en_US.d.ts +6 -0
  53. package/Desktop/lang/index.d.ts +13 -0
  54. package/Desktop/lang/zh_CN.d.ts +6 -0
  55. package/DragVerify/index.js +9 -100
  56. package/Drawer/index.js +8 -8
  57. package/Drawer/interface.d.ts +2 -2
  58. package/Dropdown/index.js +2 -2
  59. package/DynamicMultiBox/index.js +57 -41
  60. package/DynamicMultiBox/interface.d.ts +4 -4
  61. package/Empty/index.js +2 -2
  62. package/Form/index.d.ts +20 -26
  63. package/Form/index.js +48 -69
  64. package/FormItem/index.js +15 -15
  65. package/FunctionModal/index.js +11 -9
  66. package/GlobalContext/constant.d.ts +1 -1
  67. package/GlobalContext/index.js +2 -2
  68. package/Help/index.js +4 -3
  69. package/HelperText/index.js +2 -2
  70. package/InputLang/index.d.ts +5 -0
  71. package/InputLang/index.js +35 -29
  72. package/InputNumber/index.d.ts +5 -0
  73. package/InputNumber/index.js +95 -80
  74. package/Label/index.js +4 -3
  75. package/Loading/index.js +2 -2
  76. package/Menu/index.js +114 -39
  77. package/Menu/interface.d.ts +8 -0
  78. package/Message/index.d.ts +4 -4
  79. package/Message/index.js +13 -11
  80. package/Modal/index.js +29 -15
  81. package/MultiBox/index.js +9 -8
  82. package/Notification/index.d.ts +9 -1
  83. package/Notification/index.js +29 -15
  84. package/OperateBtn/index.js +28 -11
  85. package/PageHeader/index.js +270 -74
  86. package/PageHeader/interface.d.ts +17 -0
  87. package/Pagination/index.d.ts +4 -3
  88. package/Pagination/index.js +117 -95
  89. package/Pagination/lang/en_US.d.ts +3 -2
  90. package/Pagination/lang/index.d.ts +6 -4
  91. package/Pagination/lang/zh_CN.d.ts +3 -2
  92. package/ParauiProvider/index.js +4 -4
  93. package/PasswordRules/index.js +5 -5
  94. package/PopConfirm/index.d.ts +15 -5
  95. package/PopConfirm/index.js +62 -16
  96. package/Popover/index.js +4 -3
  97. package/Progress/index.js +10 -9
  98. package/Querying/index.js +7 -7
  99. package/README.md +40 -1120
  100. package/Radio/index.d.ts +7 -0
  101. package/Radio/index.js +49 -27
  102. package/RadioGroup/index.d.ts +3 -1
  103. package/RadioGroup/index.js +48 -21
  104. package/Search/index.d.ts +3 -15
  105. package/Search/index.js +21 -83
  106. package/Select/index.d.ts +7 -2
  107. package/Select/index.js +114 -91
  108. package/Select/lang/en_US.d.ts +1 -1
  109. package/Select/lang/index.d.ts +2 -2
  110. package/Select/lang/zh_CN.d.ts +1 -1
  111. package/SelectInput/index.js +8 -7
  112. package/Selector/index.js +30 -22
  113. package/SelectorPicker/index.d.ts +5 -0
  114. package/SelectorPicker/index.js +47 -32
  115. package/SelectorPicker/lang/en_US.d.ts +1 -0
  116. package/SelectorPicker/lang/index.d.ts +2 -0
  117. package/SelectorPicker/lang/zh_CN.d.ts +1 -0
  118. package/SingleBox/index.js +8 -7
  119. package/Slider/index.js +5 -5
  120. package/Status/index.d.ts +6 -5
  121. package/Status/index.js +27 -4
  122. package/Stepper/index.d.ts +9 -10
  123. package/Stepper/index.js +69 -29
  124. package/Styles/index.scss +4 -0
  125. package/Styles/scrollbar.scss +24 -24
  126. package/Styles/theme.scss +104 -57
  127. package/Switch/index.d.ts +34 -14
  128. package/Switch/index.js +97 -30
  129. package/Table/index.js +33 -27
  130. package/Table/interface.d.ts +3 -1
  131. package/Table/tableHeadInterface.d.ts +1 -1
  132. package/Table/tablePaginationInterface.d.ts +5 -5
  133. package/Tabs/index.d.ts +11 -1
  134. package/Tabs/index.js +49 -16
  135. package/Tag/TagGroup.d.ts +11 -7
  136. package/Tag/index.d.ts +22 -7
  137. package/Tag/index.js +1382 -53
  138. package/TextEditor/index.js +4 -3
  139. package/TextField/index.d.ts +5 -0
  140. package/TextField/index.js +50 -32
  141. package/TimePicker/index.d.ts +5 -0
  142. package/TimePicker/index.js +39 -23
  143. package/Timeline/TimelineItem.d.ts +1 -1
  144. package/Timeline/index.d.ts +5 -5
  145. package/Timeline/index.js +21 -18
  146. package/Title/index.d.ts +15 -3
  147. package/Title/index.js +95 -29
  148. package/ToggleButton/ToggleButtonGroup.d.ts +1 -0
  149. package/ToggleButton/index.d.ts +4 -0
  150. package/ToggleButton/index.js +14 -52
  151. package/Tooltip/index.js +28 -34
  152. package/Tooltip/interface.d.ts +4 -10
  153. package/Tooltip/utils.d.ts +1 -3
  154. package/Transfer/index.d.ts +3 -3
  155. package/Transfer/index.js +72 -68
  156. package/Tree/Tree.d.ts +2 -2
  157. package/Tree/index.js +10 -9
  158. package/Tree/utils/treeUtil.d.ts +0 -7
  159. package/Upload/index.js +16 -14
  160. package/_verture/{constant-66aa48a1.js → constant-0d9802f7.js} +1 -1
  161. package/_verture/{defineProperty-62acccfc.js → defineProperty-1d116156.js} +1 -1
  162. package/_verture/index-5c77417d.js +150 -0
  163. package/_verture/index-68db2bc3.js +10530 -0
  164. package/_verture/{index-9738004e.js → index-7ec72724.js} +44 -38
  165. package/_verture/index-d63bd287.js +327 -0
  166. package/_verture/{index-fa8a0124.js → index-e6f85fd5.js} +7 -8
  167. package/_verture/{index-77f9e0fb.js → index-e9007d6a.js} +6 -6
  168. package/_verture/{intl-4a9f1b44.js → intl-5c1ec055.js} +1 -1
  169. package/_verture/{modalContext-20780c9a.js → modalContext-c12ca3e8.js} +3 -3
  170. package/_verture/slicedToArray-a8206399.js +43 -0
  171. package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-8f4c9589.js} +1 -1
  172. package/_verture/typeof-adeedc13.js +11 -0
  173. package/_verture/typeof-b240b062.js +16 -0
  174. package/_verture/{utils-c9b9a157.js → utils-f0e81540.js} +8 -8
  175. package/index.d.ts +2 -2
  176. package/index.js +32 -27
  177. package/locale/en-US.d.ts +10 -6
  178. package/locale/index.d.ts +20 -12
  179. package/locale/index.js +33 -25
  180. package/locale/zh-CN.d.ts +10 -6
  181. package/package.json +25 -11
  182. package/umd/AutoBox.js +20 -21
  183. package/umd/AutoTips.js +31 -4
  184. package/umd/Breadcrumbs.js +7 -7
  185. package/umd/Button.js +7 -8
  186. package/umd/ButtonGroup.js +7 -8
  187. package/umd/Carousel.js +29 -1
  188. package/umd/Cascader.js +20 -21
  189. package/umd/Checkbox.js +7 -7
  190. package/umd/CheckboxGroup.js +7 -7
  191. package/umd/Collapse.js +19 -21
  192. package/umd/CollapseBox.js +1 -1
  193. package/umd/CollapseLayout.js +4 -4
  194. package/umd/ColorPicker.js +1 -1
  195. package/umd/ComboSelect.js +7 -7
  196. package/umd/Container.js +1 -1
  197. package/umd/CopyText.js +42 -0
  198. package/umd/DatePicker.js +7 -7
  199. package/umd/Desktop.js +7 -7
  200. package/umd/DragVerify.js +4 -4
  201. package/umd/Drawer.js +7 -8
  202. package/umd/Dropdown.js +3 -3
  203. package/umd/DynamicMultiBox.js +7 -7
  204. package/umd/Empty.js +1 -1
  205. package/umd/Form.js +6 -6
  206. package/umd/FormItem.js +6 -6
  207. package/umd/FunctionModal.js +7 -7
  208. package/umd/Help.js +7 -7
  209. package/umd/HelperText.js +1 -1
  210. package/umd/InputLang.js +7 -7
  211. package/umd/InputNumber.js +7 -7
  212. package/umd/Label.js +7 -7
  213. package/umd/Loading.js +4 -5
  214. package/umd/Menu.js +4 -4
  215. package/umd/Message.js +3 -4
  216. package/umd/Modal.js +7 -7
  217. package/umd/MultiBox.js +7 -7
  218. package/umd/Notification.js +5 -6
  219. package/umd/OperateBtn.js +7 -7
  220. package/umd/PageHeader.js +7 -7
  221. package/umd/Pagination.js +7 -7
  222. package/umd/ParauiProvider.js +1 -1
  223. package/umd/PasswordRules.js +3 -4
  224. package/umd/PopConfirm.js +7 -7
  225. package/umd/Popover.js +31 -4
  226. package/umd/Progress.js +4 -5
  227. package/umd/Querying.js +1 -1
  228. package/umd/Radio.js +7 -7
  229. package/umd/RadioGroup.js +7 -7
  230. package/umd/Search.js +7 -7
  231. package/umd/Select.js +7 -7
  232. package/umd/SelectInput.js +7 -7
  233. package/umd/Selector.js +7 -7
  234. package/umd/SelectorPicker.js +7 -7
  235. package/umd/SingleBox.js +7 -7
  236. package/umd/Slider.js +3 -3
  237. package/umd/Status.js +29 -1
  238. package/umd/Stepper.js +20 -20
  239. package/umd/Switch.js +7 -7
  240. package/umd/Table.js +7 -7
  241. package/umd/Tabs.js +7 -7
  242. package/umd/Tag.js +7 -8
  243. package/umd/TextEditor.js +19 -19
  244. package/umd/TextField.js +7 -7
  245. package/umd/TimePicker.js +7 -7
  246. package/umd/Timeline.js +1 -1
  247. package/umd/Title.js +42 -1
  248. package/umd/ToggleButton.js +7 -8
  249. package/umd/Tooltip.js +31 -4
  250. package/umd/Transfer.js +8 -8
  251. package/umd/Tree.js +7 -7
  252. package/umd/Upload.js +8 -8
  253. package/umd/locale.js +1 -1
  254. package/Cascader/lang/en_US.d.ts +0 -4
  255. package/Cascader/lang/index.d.ts +0 -9
  256. package/Cascader/lang/zh_CN.d.ts +0 -4
  257. package/Split/index.d.ts +0 -7
  258. package/Split/index.js +0 -123
  259. package/_verture/index-a369ca3f.js +0 -4
  260. package/_verture/index-beef914f.js +0 -340
  261. package/_verture/slicedToArray-76060636.js +0 -43
  262. package/_verture/typeof-498dd2b1.js +0 -11
  263. package/umd/Split.js +0 -1
@@ -1,19 +1,20 @@
1
- import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
1
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React__default, { useState, useRef, useEffect, useMemo } from 'react';
4
4
  import GlobalContext from '@para-ui/core/GlobalContext';
5
- import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-66aa48a1.js';
5
+ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-0d9802f7.js';
6
6
  import { TextField } from '../TextField/index.js';
7
7
  import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
8
8
  import Select from '../Select/index.js';
9
- import DoubleLeft from '@para-ui/icons/DoubleLeft';
9
+ import { Button } from '../Button/index.js';
10
10
  import NavigateBefore from '@para-ui/icons/Left';
11
11
  import PaginationCom from 'rc-pagination';
12
12
  import Right from '@para-ui/icons/Right';
13
+ import DoubleLeft from '@para-ui/icons/DoubleLeft';
13
14
  import DoubleRight from '@para-ui/icons/DoubleRight';
14
15
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
15
16
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
16
- import '../_verture/typeof-498dd2b1.js';
17
+ import '../_verture/typeof-adeedc13.js';
17
18
  import '../_verture/tslib.es6-55ed4bd2.js';
18
19
  import '../Label/index.js';
19
20
  import '../Help/index.js';
@@ -21,22 +22,23 @@ import '../Tooltip/index.js';
21
22
  import 'rc-tooltip';
22
23
  import 'rc-tooltip/lib/placements';
23
24
  import 'clsx';
25
+ import '@para-ui/icons/Forbid';
24
26
  import '@para-ui/icons/Help';
25
27
  import '@paraview/lib';
26
28
  import '@para-ui/icons/PreviewClose';
27
29
  import '@para-ui/icons/PreviewOpen';
28
- import '@para-ui/icons/CloseCircle';
30
+ import '@para-ui/icons/CloseCircleF';
29
31
  import '../AutoTips/index.js';
30
32
  import '../Loading/index.js';
31
33
  import '@para-ui/icons/LoadingF';
32
34
  import '../HelperText/index.js';
33
35
  import '../_verture/useGlobalProps-1b846a65.js';
34
- import '../_verture/index-77f9e0fb.js';
36
+ import '../_verture/index-e9007d6a.js';
35
37
  import 'rc-dropdown';
36
38
  import '../_verture/usePopupContainer-87febeb9.js';
37
39
  import 'dayjs';
38
- import '../_verture/defineProperty-62acccfc.js';
39
- import '../_verture/toConsumableArray-81040c9e.js';
40
+ import '../_verture/defineProperty-1d116156.js';
41
+ import '../_verture/toConsumableArray-8f4c9589.js';
40
42
  import '../Empty/index.js';
41
43
  import '@para-ui/icons/Close';
42
44
  import '@para-ui/icons/Down';
@@ -46,17 +48,19 @@ import '../Popover/index.js';
46
48
 
47
49
  var en = {
48
50
  total: 'Total {total}',
49
- linePerPage: 'Lines per page',
50
- currentPage: 'Current page {currentPage}',
51
- jumpTo: 'Jump to',
52
- page: 'page'
51
+ barPage: 'Bar/Page',
52
+ prevPage: 'Prev',
53
+ nextPage: 'Next',
54
+ jumpTo: 'Go to',
55
+ page: ' Page'
53
56
  };
54
57
 
55
58
  var zh = {
56
59
  total: '共{total}条',
57
- linePerPage: '每页行数',
58
- currentPage: '当前第{currentPage}页',
59
- jumpTo: '跳转到',
60
+ barPage: '条/页',
61
+ prevPage: '上一页',
62
+ nextPage: '下一页',
63
+ jumpTo: '前往',
60
64
  page: '页'
61
65
  };
62
66
 
@@ -65,7 +69,7 @@ var localeJson = {
65
69
  en: en
66
70
  };
67
71
 
68
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-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: rgba(46, 55, 67, 0.7);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-v3-pagination.paraui-v3-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v3-pagination.paraui-v3-pagination-no-left-arrow > .pagination-content {\n padding-left: 0;\n}\n.paraui-v3-pagination.paraui-v3-pagination-no-right-arrow > .pagination-content {\n padding-right: 0;\n}\n.paraui-v3-pagination > .pagination-space {\n margin-right: 24px;\n}\n.paraui-v3-pagination > .pagination-space:last-child {\n margin-right: 0;\n}\n.paraui-v3-pagination > .current-page > .current-page-num {\n color: rgb(46, 55, 67);\n margin-right: 4px;\n margin-left: 4px;\n}\n.paraui-v3-pagination > .current-page > .current-page-sign {\n margin-right: 3px;\n}\n.paraui-v3-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-v3-pagination > .page-line-memo .page-line-select {\n min-width: 80px;\n width: inherit;\n vertical-align: middle;\n}\n.paraui-v3-pagination > .pagination-content {\n border: 1px solid rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n height: 32px;\n line-height: 30px;\n padding: 0 12px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v3-pagination > .pagination-content > .left-page, .paraui-v3-pagination > .pagination-content > .right-page {\n display: inline-block;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div, .paraui-v3-pagination > .pagination-content > .right-page > div {\n display: inline-block;\n line-height: 0;\n vertical-align: top;\n cursor: pointer;\n width: 20px;\n height: 20px;\n border-radius: 2px;\n margin-right: 8px;\n position: relative;\n top: 5px;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn {\n cursor: not-allowed;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn > svg, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn:hover, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn:hover {\n background-color: white;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn:hover > svg, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:last-child, .paraui-v3-pagination > .pagination-content > .right-page > div:last-child {\n margin-right: 0;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:hover, .paraui-v3-pagination > .pagination-content > .right-page > div:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:hover > svg, .paraui-v3-pagination > .pagination-content > .right-page > div:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div > svg, .paraui-v3-pagination > .pagination-content > .right-page > div > svg {\n font-size: 16px;\n position: relative;\n top: 2px;\n left: 2px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-pagination > .pagination-content > .left-page {\n margin-right: 8px;\n}\n.paraui-v3-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-v3-pagination > .pagination-content > .component-pagination > li {\n min-width: 20px;\n height: 20px;\n line-height: 20px;\n display: inline-block;\n text-align: center;\n cursor: pointer;\n border-radius: 2px;\n padding: 0 5px;\n margin: 0 3px;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li:first-child, .paraui-v3-pagination > .pagination-content > .component-pagination > li:last-child, .paraui-v3-pagination > .pagination-content > .component-pagination > li.component-pagination-next {\n display: none;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li:hover {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .right-page {\n margin-left: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo {\n display: flex;\n align-items: center;\n}\n.paraui-v3-pagination > .skip-page-memo > span {\n margin-right: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field {\n width: 65px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .right-icon {\n margin-right: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .text-field-content .text-field-content-within .text-field-content-within-input input {\n padding-left: 8px;\n padding-right: 4px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .text-field-content .text-field-content-within .text-field-content-within-input .text-field-label-placeholder {\n padding: 0 8px;\n}";
72
+ 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 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(87, 131, 235);\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(87, 131, 235);\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(87, 131, 235);\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(87, 131, 235);\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}";
69
73
  styleInject(css_248z);
70
74
 
71
75
  var Pagination = function Pagination(props) {
@@ -73,14 +77,16 @@ var Pagination = function Pagination(props) {
73
77
  style = props.style,
74
78
  _props$type = props.type,
75
79
  type = _props$type === void 0 ? 'simple' : _props$type,
80
+ _props$pagerType = props.pagerType,
81
+ pagerType = _props$pagerType === void 0 ? 'num' : _props$pagerType,
76
82
  _props$autoType = props.autoType,
77
83
  autoType = _props$autoType === void 0 ? true : _props$autoType,
78
84
  _props$total = props.total,
79
85
  total = _props$total === void 0 ? 0 : _props$total,
80
86
  _props$rowsPerPage = props.rowsPerPage,
81
- rowsPerPage = _props$rowsPerPage === void 0 ? [10, 20, 30] : _props$rowsPerPage,
87
+ rowsPerPage = _props$rowsPerPage === void 0 ? [10, 20, 50, 100] : _props$rowsPerPage,
82
88
  _props$flippingArrow = props.flippingArrow,
83
- flippingArrow = _props$flippingArrow === void 0 ? ['first', 'prev', 'last', 'next'] : _props$flippingArrow,
89
+ flippingArrow = _props$flippingArrow === void 0 ? ['prev', 'next'] : _props$flippingArrow,
84
90
  _props$currentRowsPer = props.currentRowsPerPage,
85
91
  currentRowsPerPage = _props$currentRowsPer === void 0 ? 10 : _props$currentRowsPer,
86
92
  _props$page = props.page,
@@ -145,13 +151,15 @@ var Pagination = function Pagination(props) {
145
151
  for (var i = 0, l = rowsPerPage.length; i < l; i++) {
146
152
  var item = rowsPerPage[i];
147
153
  var arrItem = {
148
- label: item.toString(),
154
+ label: item.toString() + intl({
155
+ id: 'barPage'
156
+ }),
149
157
  value: item
150
158
  };
151
159
  arr.push(arrItem);
152
160
  }
153
161
  setRowsPerPageCom(arr);
154
- }, [props.rowsPerPage]);
162
+ }, [props.rowsPerPage, locale]);
155
163
  useEffect(function () {
156
164
  var num = Number(totalPage);
157
165
  if (pageCom > num && num !== pageCom) {
@@ -236,18 +244,18 @@ var Pagination = function Pagination(props) {
236
244
  return function (value) {
237
245
  var num = pageCom;
238
246
  switch (type) {
239
- case "first":
240
- if (pageCom === 1) return;
241
- num = 1;
242
- break;
247
+ /*case "first":
248
+ if (pageCom === 1) return;
249
+ num = 1;
250
+ break;*/
243
251
  case "prev":
244
252
  if (pageCom === 1) return;
245
253
  num--;
246
254
  break;
247
- case "last":
248
- if (pageCom === totalPage) return;
249
- num = totalPage;
250
- break;
255
+ /*case "last":
256
+ if (pageCom === totalPage) return;
257
+ num = totalPage;
258
+ break;*/
251
259
  case "next":
252
260
  if (pageCom === totalPage) return;
253
261
  num++;
@@ -295,19 +303,24 @@ var Pagination = function Pagination(props) {
295
303
  var changeSkipValue = function changeSkipValue(event) {
296
304
  setSkipValue(event.target.value);
297
305
  };
306
+ var formatNumber = function formatNumber(num) {
307
+ var reg = /(?=(\B)(\d{3})+$)/g;
308
+ return num.toString().replace(reg, ",");
309
+ };
298
310
  /* 总数量 */
299
311
  var TotalMemo = useMemo(function () {
300
312
  if (typeCom === 'simple' || notLayout('sizes')) {
301
313
  return null;
302
314
  }
303
315
  // 共{total}条
316
+ var totalFormat = formatNumber(total);
304
317
  return jsx("div", Object.assign({
305
318
  className: "total-num pagination-space"
306
319
  }, {
307
320
  children: intl({
308
321
  id: 'total'
309
322
  }, {
310
- total: total
323
+ total: totalFormat
311
324
  })
312
325
  }));
313
326
  }, [total, language, locale, typeCom]);
@@ -316,104 +329,110 @@ var Pagination = function Pagination(props) {
316
329
  if (notLayout('pageRow')) {
317
330
  return null;
318
331
  }
319
- return jsxs("div", Object.assign({
332
+ return jsx("div", Object.assign({
320
333
  className: "page-line-memo pagination-space"
321
334
  }, {
322
- children: [jsx("span", {
323
- children: intl({
324
- id: 'linePerPage'
325
- })
326
- }), jsx(Select, {
335
+ children: jsx(Select, {
327
336
  className: 'page-line-select',
328
- size: "medium",
337
+ size: "large",
329
338
  value: currentRowsPerPageCom,
330
339
  list: rowsPerPageCom,
331
340
  hideErrorDom: true,
332
341
  onChange: clickRowsPerPage,
333
342
  allowClear: false,
334
343
  getPopupContainer: getPopupContainer
335
- })]
344
+ })
336
345
  }));
337
346
  }, [rowsPerPageCom, currentRowsPerPageCom, getPopupContainer, language, locale, typeCom]);
338
- /* 当前页面 */
339
- var CurrentPageMemo = useMemo(function () {
340
- if (notLayout('currentPage')) {
341
- return null;
342
- }
343
- var html = jsxs(React__default.Fragment, {
344
- children: [jsx("span", Object.assign({
345
- className: "current-page-num"
346
- }, {
347
- children: pageCom
348
- })), jsx("span", Object.assign({
349
- className: "current-page-sign"
350
- }, {
351
- children: "/"
352
- })), jsx("span", Object.assign({
353
- className: "current-page-last"
354
- }, {
355
- children: totalPage
356
- }))]
357
- }, 'fragment');
358
- return jsx("div", Object.assign({
359
- className: "current-page pagination-space"
347
+ /** 分页上一页 */
348
+ var jumpPrevIcon = function jumpPrevIcon() {
349
+ return jsxs("div", Object.assign({
350
+ className: "jump-prev-icon"
360
351
  }, {
361
- children: intl({
362
- id: 'currentPage'
363
- }, {
364
- currentPage: html
365
- })
352
+ children: [jsx("span", {
353
+ children: "..."
354
+ }), jsx(DoubleLeft, {})]
366
355
  }));
367
- }, [pageCom, totalPage, language, locale, typeCom]);
356
+ };
357
+ /** 分页下一页 */
358
+ var jumpNextIcon = function jumpNextIcon() {
359
+ return jsxs("div", Object.assign({
360
+ className: "jump-next-icon"
361
+ }, {
362
+ children: [jsx("span", {
363
+ children: "..."
364
+ }), jsx(DoubleRight, {})]
365
+ }));
366
+ };
368
367
  /* 页码 */
369
368
  var PaginationMemo = useMemo(function () {
370
- if (notLayout('pager')) {
369
+ if (typeCom === 'simple' || pagerType !== 'num' || notLayout('pager')) {
371
370
  return null;
372
371
  }
373
- var bol = constData.current.type instanceof Array && constData.current.type.indexOf('pager') !== -1;
374
372
  return jsxs("div", Object.assign({
375
373
  className: "pagination-content pagination-space"
376
374
  }, {
377
- children: [jsxs("div", Object.assign({
375
+ children: [flippingArrow.indexOf('prev') !== -1 && jsx("div", Object.assign({
378
376
  className: "left-page"
379
377
  }, {
380
- children: [flippingArrow.indexOf('first') !== -1 && jsx("div", Object.assign({
381
- onClick: clickPage('first'),
382
- className: pageCom === 1 ? 'disabled-btn' : ''
383
- }, {
384
- children: jsx(DoubleLeft, {})
385
- })), flippingArrow.indexOf('prev') !== -1 && jsx("div", Object.assign({
378
+ children: jsx("div", Object.assign({
386
379
  onClick: clickPage('prev'),
387
380
  className: pageCom === 1 ? 'disabled-btn' : ''
388
381
  }, {
389
382
  children: jsx(NavigateBefore, {})
390
- }))]
391
- })), (typeCom === 'complex' || bol) && jsx(PaginationCom, {
383
+ }))
384
+ })), jsx(PaginationCom, {
392
385
  prefixCls: $rcPrefixCls + '-pagination',
393
386
  current: pageCom,
394
387
  pageSize: currentRowsPerPageCom,
395
388
  total: total,
396
- jumpPrevIcon: '...',
397
- jumpNextIcon: '...',
389
+ jumpPrevIcon: jumpPrevIcon(),
390
+ jumpNextIcon: jumpNextIcon(),
398
391
  onChange: clickPage('pagination'),
399
392
  showTitle: false
400
- }), jsxs("div", Object.assign({
401
- className: "right-page"
393
+ }), flippingArrow.indexOf('next') !== -1 && jsx("div", Object.assign({
394
+ className: 'right-page'
402
395
  }, {
403
- children: [flippingArrow.indexOf('next') !== -1 && jsx("div", Object.assign({
396
+ children: jsx("div", Object.assign({
404
397
  onClick: clickPage('next'),
405
398
  className: pageCom === totalPage ? 'disabled-btn' : ''
406
399
  }, {
407
400
  children: jsx(Right, {})
408
- })), flippingArrow.indexOf('last') !== -1 && jsx("div", Object.assign({
409
- onClick: clickPage('last'),
410
- className: pageCom === totalPage ? 'disabled-btn' : ''
411
- }, {
412
- children: jsx(DoubleRight, {})
413
- }))]
401
+ }))
402
+ }))]
403
+ }));
404
+ }, [total, pageCom, totalPage, currentRowsPerPageCom, typeCom, props.flippingArrow, pagerType]);
405
+ /** 页码btn */
406
+ var PaginationBtnMemo = useMemo(function () {
407
+ if (notLayout('pager') || typeCom !== 'simple' && pagerType !== 'btn') {
408
+ return null;
409
+ }
410
+ return jsxs("div", Object.assign({
411
+ className: "pagination-btn-content pagination-space"
412
+ }, {
413
+ children: [jsx(Button, Object.assign({
414
+ variant: "outlined",
415
+ size: "large",
416
+ startIcon: jsx(NavigateBefore, {}),
417
+ onClick: clickPage('prev'),
418
+ disabled: pageCom === 1
419
+ }, {
420
+ children: intl({
421
+ id: 'prevPage'
422
+ })
423
+ })), jsx(Button, Object.assign({
424
+ variant: "outlined",
425
+ size: "large",
426
+ endIcon: jsx(Right, {}),
427
+ onClick: clickPage('next'),
428
+ disabled: pageCom === totalPage
429
+ }, {
430
+ children: intl({
431
+ id: 'nextPage'
432
+ })
414
433
  }))]
415
434
  }));
416
- }, [total, pageCom, totalPage, currentRowsPerPageCom, typeCom, props.flippingArrow]);
435
+ }, [pageCom, totalPage, pagerType, typeCom, locale]);
417
436
  /* 跳转页数 */
418
437
  var SkipPageMemo = useMemo(function () {
419
438
  if (typeCom === 'simple' || notLayout('jumper')) {
@@ -428,24 +447,27 @@ var Pagination = function Pagination(props) {
428
447
  })
429
448
  }), jsx(TextField, {
430
449
  className: 'skip-page-text-field',
431
- size: "medium",
450
+ size: "large",
432
451
  type: "number",
433
452
  value: skipValue || '',
434
453
  onChange: changeSkipValue,
435
- rightIcon: intl({
436
- id: 'page'
437
- }),
438
454
  hideErrorDom: true,
439
455
  onKeyDown: keyPress,
440
456
  onKeyUp: keyUp
457
+ }), jsxs("span", {
458
+ children: ["/ ", totalPage, intl({
459
+ id: 'page'
460
+ })]
441
461
  })]
442
462
  }));
443
463
  }, [skipValue, totalPage, language, locale, typeCom]);
444
464
  // 处理class
445
465
  var handClass = function handClass() {
446
466
  var str = $prefixCls + '-pagination';
447
- if (flippingArrow.indexOf('first') === -1 && flippingArrow.indexOf('prev') === -1) str += ' ' + $prefixCls + '-pagination-no-left-arrow';
448
- if (flippingArrow.indexOf('next') === -1 && flippingArrow.indexOf('last') === -1) str += ' ' + $prefixCls + '-pagination-no-right-arrow';
467
+ /*if (flippingArrow.indexOf('first') === -1 && flippingArrow.indexOf('prev') === -1)
468
+ str += ' ' + $prefixCls + '-pagination-no-left-arrow';
469
+ if (flippingArrow.indexOf('next') === -1 && flippingArrow.indexOf('last') === -1)
470
+ str += ' ' + $prefixCls + '-pagination-no-right-arrow';*/
449
471
  if (className) str += ' ' + className;
450
472
  return str;
451
473
  };
@@ -454,7 +476,7 @@ var Pagination = function Pagination(props) {
454
476
  style: style,
455
477
  ref: refDom
456
478
  }, {
457
- children: [TotalMemo, CurrentPageMemo, PageLineMemo, PaginationMemo, SkipPageMemo]
479
+ children: [TotalMemo, PaginationMemo, PaginationBtnMemo, PageLineMemo, SkipPageMemo]
458
480
  }));
459
481
  };
460
482
 
@@ -1,7 +1,8 @@
1
1
  declare const _default: {
2
2
  total: string;
3
- linePerPage: string;
4
- currentPage: string;
3
+ barPage: string;
4
+ prevPage: string;
5
+ nextPage: string;
5
6
  jumpTo: string;
6
7
  page: string;
7
8
  };
@@ -1,15 +1,17 @@
1
1
  declare const _default: {
2
2
  zh: {
3
3
  total: string;
4
- linePerPage: string;
5
- currentPage: string;
4
+ barPage: string;
5
+ prevPage: string;
6
+ nextPage: string;
6
7
  jumpTo: string;
7
8
  page: string;
8
9
  };
9
10
  en: {
10
11
  total: string;
11
- linePerPage: string;
12
- currentPage: string;
12
+ barPage: string;
13
+ prevPage: string;
14
+ nextPage: string;
13
15
  jumpTo: string;
14
16
  page: string;
15
17
  };
@@ -1,7 +1,8 @@
1
1
  declare const _default: {
2
2
  total: string;
3
- linePerPage: string;
4
- currentPage: string;
3
+ barPage: string;
4
+ prevPage: string;
5
+ nextPage: string;
5
6
  jumpTo: string;
6
7
  page: string;
7
8
  };
@@ -1,13 +1,13 @@
1
- import { _ as _defineProperty } from '../_verture/defineProperty-62acccfc.js';
1
+ import { _ as _defineProperty } from '../_verture/defineProperty-1d116156.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import GlobalContext, { changeConfirmLocale } from '@para-ui/core/GlobalContext';
5
5
  import { GetLanguage } from '@paraview/lib';
6
- import { i as i18nIntl } from '../_verture/intl-4a9f1b44.js';
6
+ import { i as i18nIntl } from '../_verture/intl-5c1ec055.js';
7
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
- import '../_verture/typeof-498dd2b1.js';
8
+ import '../_verture/typeof-adeedc13.js';
9
9
 
10
- var css_248z = "@charset \"UTF-8\";\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.12);\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgba(46, 55, 67, 0.4);\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-corner {\n background: rgb(236, 238, 240);\n}\n\n::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(46, 55, 67, 0.4);\n}\n\n.paraui-v3-scrollbar-small *::-webkit-scrollbar, .paraui-v3-scrollbar-small::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-v3-scrollbar-small *::-webkit-scrollbar-track, .paraui-v3-scrollbar-small::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v3-scrollbar-small *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-small::-webkit-scrollbar-thumb {\n border-radius: 4px;\n}\n\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar, .paraui-v3-scrollbar-medium::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar-track, .paraui-v3-scrollbar-medium::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-medium::-webkit-scrollbar-thumb {\n border-radius: 6px;\n}\n\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-scrollbar-large *::-webkit-scrollbar, .paraui-v3-scrollbar-large::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.paraui-v3-scrollbar-large *::-webkit-scrollbar-track, .paraui-v3-scrollbar-large::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v3-scrollbar-large *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-large::-webkit-scrollbar-thumb {\n border-radius: 8px;\n}\n\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb {\n border-radius: 8px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-form .paraui-v3-helper-text {\n min-height: 20px;\n}\n\n* {\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 margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\nol, ul {\n list-style: none;\n}\n\na,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\nselect,\nbutton,\ntextarea {\n outline: none;\n}";
10
+ var css_248z = "@charset \"UTF-8\";\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgb(234, 236, 241);\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgb(161, 168, 179);\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-corner {\n background: rgb(234, 236, 241);\n}\n\n::-webkit-scrollbar-thumb:hover {\n background: rgb(212, 218, 227);\n}\n\n::-webkit-scrollbar-thumb:active {\n background: rgb(212, 218, 227);\n}\n\n::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(161, 168, 179);\n}\n\n.paraui-v4-scrollbar-small *::-webkit-scrollbar, .paraui-v4-scrollbar-small::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-v4-scrollbar-small *::-webkit-scrollbar-track, .paraui-v4-scrollbar-small::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v4-scrollbar-small *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-small::-webkit-scrollbar-thumb {\n border-radius: 4px;\n}\n\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-track, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-corner, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-small-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-small-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar, .paraui-v4-scrollbar-medium::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar-track, .paraui-v4-scrollbar-medium::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-medium::-webkit-scrollbar-thumb {\n border-radius: 6px;\n}\n\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-track, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-corner, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-medium-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-scrollbar-large *::-webkit-scrollbar, .paraui-v4-scrollbar-large::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.paraui-v4-scrollbar-large *::-webkit-scrollbar-track, .paraui-v4-scrollbar-large::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v4-scrollbar-large *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-large::-webkit-scrollbar-thumb {\n border-radius: 8px;\n}\n\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-track, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-thumb {\n border-radius: 8px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-corner, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-large-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-large-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-form .paraui-v4-helper-text {\n min-height: 20px;\n}\n\n* {\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 margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\nol, ul {\n list-style: none;\n}\n\na,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\nselect,\nbutton,\ntextarea {\n outline: none;\n}\n\nsvg {\n overflow: hidden;\n}";
11
11
  styleInject(css_248z);
12
12
 
13
13
  var ParauiProvider = function ParauiProvider(props) {
@@ -1,13 +1,13 @@
1
- import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
1
+ import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useState, useEffect } from 'react';
4
- import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
5
- import CloseCircleFilled from '@para-ui/icons/CloseCircleF';
4
+ import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
5
+ import CloseCircleF from '@para-ui/icons/CloseCircleF';
6
6
  import CompleteIcon from '@para-ui/icons/CheckCircleF';
7
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
8
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
9
9
 
10
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-password-rules {\n padding: 14px 16px;\n line-height: 1.43;\n}\n.paraui-v3-password-rules > .password-rules-item:first-child > .password-rules-item-title {\n margin-top: 0px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-title {\n font-size: 14px;\n color: rgb(46, 55, 67);\n font-weight: 700;\n margin-bottom: 6px;\n margin-top: 10px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail {\n display: flex;\n margin-bottom: 6px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail:last-child {\n margin-bottom: 0;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-flag {\n min-width: 24px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-label {\n flex: 1;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag {\n margin-top: 0px;\n line-height: 1;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag svg {\n font-size: 16px;\n color: rgba(46, 55, 67, 0.4);\n margin-top: 2px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order > .item-flag {\n margin-top: -1px;\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-success.rules-item-detail-icon > .item-flag svg {\n color: rgb(83, 195, 27);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-flag {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-label {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-password-rules.paraui-v3-password-rules-box-shadow {\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n}";
10
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-password-rules {\n padding: 14px 16px;\n line-height: 1.43;\n}\n.paraui-v4-password-rules > .password-rules-item:first-child > .password-rules-item-title {\n margin-top: 0px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-title {\n font-size: 14px;\n color: rgb(29, 33, 38);\n font-weight: 700;\n margin-bottom: 6px;\n margin-top: 10px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail {\n display: flex;\n margin-bottom: 6px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail:last-child {\n margin-bottom: 0;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-flag {\n min-width: 24px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-label {\n flex: 1;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag {\n margin-top: 0px;\n line-height: 1;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag svg {\n font-size: 16px;\n color: rgb(161, 168, 179);\n margin-top: 2px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order > .item-flag {\n margin-top: -1px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-success.rules-item-detail-icon > .item-flag svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-flag {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-label {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules.paraui-v4-password-rules-box-shadow {\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n border-radius: 4px;\n}";
11
11
  styleInject(css_248z);
12
12
 
13
13
  var PasswordRules = function PasswordRules(props) {
@@ -76,7 +76,7 @@ var PasswordRules = function PasswordRules(props) {
76
76
  return inx + 1 + '、';
77
77
  }
78
78
  if (result === true) return jsx(CompleteIcon, {}); // 成功
79
- return jsx(CloseCircleFilled, {});
79
+ return jsx(CloseCircleF, {});
80
80
  };
81
81
  // 处理内容
82
82
  var handLabel = function handLabel() {
@@ -3,11 +3,11 @@
3
3
  * @date 2021/8/9 下午3:45
4
4
  * @description popConfirm
5
5
  */
6
- import React, { FunctionComponent, ReactNode } from 'react';
7
- import { ButtonProps } from "../Button";
8
- import { TooltipProps } from "../Tooltip";
6
+ import React, { FC, ReactNode } from 'react';
7
+ import { ButtonProps } from '../Button';
8
+ import { TooltipProps } from '../Tooltip';
9
9
  import './index.scss';
10
- type ConfirmType = "success" | "info" | "error" | "warning";
10
+ type ConfirmType = 'success' | 'info' | 'error' | 'warning';
11
11
  export interface PopConfirmProps {
12
12
  /**触发方式*/
13
13
  trigger?: 'click' | 'hover';
@@ -21,6 +21,8 @@ export interface PopConfirmProps {
21
21
  title?: ReactNode;
22
22
  /**内容*/
23
23
  content?: ReactNode;
24
+ /** 辅助说明 */
25
+ description?: ReactNode;
24
26
  /**自定义图标*/
25
27
  icon?: ReactNode;
26
28
  /**ok 文本*/
@@ -35,6 +37,12 @@ export interface PopConfirmProps {
35
37
  okButtonProps?: ButtonProps;
36
38
  /** 取消按钮属性*/
37
39
  cancelButtonProps?: ButtonProps;
40
+ /** 确认按钮展示高危样式,不再接受okButtonProps控制样式 */
41
+ okButtonDanger?: boolean;
42
+ /** 确认按钮倒计时状态,倒计时进行时按钮为禁用,倒计时完成后解除禁用 */
43
+ countdown?: boolean;
44
+ /** 倒计时时长(单位是s),countdown启用后生效,默认5s */
45
+ countdownTime?: number;
38
46
  /** 位置*/
39
47
  placement?: TooltipProps['placement'];
40
48
  /** cls*/
@@ -53,9 +61,11 @@ export interface PopConfirmProps {
53
61
  actions?: ReactNode;
54
62
  /** 关闭回调*/
55
63
  onClose?: () => void;
64
+ /** 倒计时完成回调 */
65
+ onCountdownFinish?: () => void;
56
66
  /** 浮层渲染容器,默认body */
57
67
  getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
58
68
  [name: string]: any;
59
69
  }
60
- export declare const PopConfirm: FunctionComponent<PopConfirmProps>;
70
+ export declare const PopConfirm: FC<PopConfirmProps>;
61
71
  export default PopConfirm;