@para-ui/core 4.0.0-beta → 4.0.0-rc

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 (124) hide show
  1. package/AutoTips/index.js +5 -5
  2. package/Button/index.js +2 -2
  3. package/Cascader/index.js +3 -3
  4. package/Checkbox/index.js +1 -1
  5. package/ColorPicker/index.js +2 -2
  6. package/ComboSelect/index.js +13 -14
  7. package/ComboSelect/utils.d.ts +5 -0
  8. package/CopyText/index.js +2 -2
  9. package/DatePicker/index.js +2 -1
  10. package/Desktop/index.js +1 -1
  11. package/DragVerify/index.js +2 -2
  12. package/Drawer/index.d.ts +2 -2
  13. package/Drawer/index.js +129 -24
  14. package/Drawer/interface.d.ts +8 -0
  15. package/Drawer/util.d.ts +6 -0
  16. package/DynamicMultiBox/index.d.ts +7 -2
  17. package/DynamicMultiBox/index.js +5 -5
  18. package/Form/index.js +6 -6
  19. package/FormItem/index.js +6 -6
  20. package/FunctionModal/index.js +5 -5
  21. package/GlobalContext/index.js +1 -1
  22. package/Help/index.js +1 -1
  23. package/InputNumber/index.js +1 -1
  24. package/Modal/index.js +2 -2
  25. package/MultiBox/index.js +8 -4
  26. package/Notification/index.js +1 -1
  27. package/OperateBtn/index.js +4 -3
  28. package/PageHeader/index.js +1 -1
  29. package/ParauiProvider/index.js +1 -1
  30. package/PasswordRules/index.js +1 -1
  31. package/PopConfirm/index.js +1 -1
  32. package/Radio/index.js +1 -1
  33. package/Search/index.js +1 -1
  34. package/Select/index.js +1 -1
  35. package/Selector/index.js +4 -4
  36. package/SelectorPicker/index.js +3 -3
  37. package/Status/index.d.ts +2 -0
  38. package/Status/index.js +17 -5
  39. package/Stepper/index.js +1 -1
  40. package/Styles/scrollbar.scss +66 -66
  41. package/Styles/theme.scss +62 -61
  42. package/Switch/index.js +1 -1
  43. package/Table/index.js +2 -2
  44. package/Tabs/index.js +1 -1
  45. package/Tag/index.js +10 -1184
  46. package/TimePicker/index.js +1 -0
  47. package/Title/index.d.ts +2 -0
  48. package/Title/index.js +6 -2
  49. package/Tooltip/index.js +1 -1
  50. package/Transfer/index.js +6 -6
  51. package/Tree/OperateBar/index.d.ts +2 -2
  52. package/Tree/index.js +4 -4
  53. package/Tree/interface.d.ts +4 -0
  54. package/Upload/index.js +6 -6
  55. package/_verture/{index-e2881a53.js → index-19947788.js} +2 -2
  56. package/_verture/{index-e6f85fd5.js → index-1c8d3e94.js} +3 -0
  57. package/_verture/{index-d63bd287.js → index-232d890b.js} +1 -1
  58. package/_verture/{index-7ec72724.js → index-47297a40.js} +36 -29
  59. package/_verture/{index-5c77417d.js → index-8469865e.js} +2 -2
  60. package/_verture/{index-68db2bc3.js → index-e1b800aa.js} +2 -2
  61. package/_verture/{modalContext-c12ca3e8.js → modalContext-670eab09.js} +1 -1
  62. package/_verture/tinycolor-ece3542d.js +1180 -0
  63. package/_verture/{utils-f0e81540.js → utils-06d86594.js} +3 -6
  64. package/index.js +11 -11
  65. package/locale/index.js +2 -2
  66. package/package.json +51 -8
  67. package/umd/AutoBox.js +1 -1
  68. package/umd/AutoTips.js +4 -4
  69. package/umd/Breadcrumbs.js +2 -2
  70. package/umd/Button.js +2 -2
  71. package/umd/ButtonGroup.js +4 -4
  72. package/umd/Cascader.js +6 -6
  73. package/umd/Checkbox.js +5 -5
  74. package/umd/CheckboxGroup.js +5 -5
  75. package/umd/ColorPicker.js +1 -1
  76. package/umd/ComboSelect.js +6 -6
  77. package/umd/CopyText.js +2 -2
  78. package/umd/DatePicker.js +2 -2
  79. package/umd/Desktop.js +2 -2
  80. package/umd/Drawer.js +4 -4
  81. package/umd/DynamicMultiBox.js +4 -4
  82. package/umd/Form.js +2 -2
  83. package/umd/FormItem.js +4 -4
  84. package/umd/FunctionModal.js +2 -2
  85. package/umd/GlobalContext.js +1 -1
  86. package/umd/Help.js +2 -2
  87. package/umd/InputLang.js +4 -4
  88. package/umd/InputNumber.js +2 -2
  89. package/umd/Label.js +2 -2
  90. package/umd/Modal.js +2 -2
  91. package/umd/MultiBox.js +2 -2
  92. package/umd/Notification.js +1 -1
  93. package/umd/OperateBtn.js +2 -2
  94. package/umd/PageHeader.js +2 -2
  95. package/umd/Pagination.js +2 -2
  96. package/umd/ParauiProvider.js +1 -1
  97. package/umd/PasswordRules.js +4 -4
  98. package/umd/PopConfirm.js +2 -2
  99. package/umd/Popover.js +1 -1
  100. package/umd/Radio.js +2 -2
  101. package/umd/RadioGroup.js +2 -2
  102. package/umd/Search.js +2 -2
  103. package/umd/Select.js +2 -2
  104. package/umd/SelectInput.js +2 -2
  105. package/umd/Selector.js +2 -2
  106. package/umd/SelectorPicker.js +2 -2
  107. package/umd/SingleBox.js +2 -2
  108. package/umd/Status.js +4 -4
  109. package/umd/Stepper.js +2 -2
  110. package/umd/Switch.js +2 -2
  111. package/umd/Table.js +6 -6
  112. package/umd/Tabs.js +2 -2
  113. package/umd/Tag.js +2 -2
  114. package/umd/TextEditor.js +2 -2
  115. package/umd/TextField.js +2 -2
  116. package/umd/TimePicker.js +2 -2
  117. package/umd/Title.js +2 -2
  118. package/umd/ToggleButton.js +4 -4
  119. package/umd/Tooltip.js +1 -1
  120. package/umd/Transfer.js +5 -5
  121. package/umd/Tree.js +7 -7
  122. package/umd/Upload.js +2 -2
  123. package/umd/locale.js +1 -1
  124. /package/_verture/{typeof-b240b062.js → typeof-c310ee4a.js} +0 -0
package/Drawer/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
2
2
  import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
- import React__default from 'react';
4
+ import { useState, useRef, useEffect } from 'react';
5
+ import clsx from 'clsx';
5
6
  import RcDrawer from 'rc-drawer';
6
7
  import { Button } from '../Button/index.js';
7
8
  import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
@@ -11,7 +12,6 @@ import { isIE } from '@paraview/lib';
11
12
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
12
13
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
13
14
  import '../_verture/typeof-adeedc13.js';
14
- import 'clsx';
15
15
  import '@para-ui/icons/LoadingF';
16
16
  import '@para-ui/icons/Forbid';
17
17
  import '../Tooltip/index.js';
@@ -39,13 +39,33 @@ var localeJson = {
39
39
  en: en
40
40
  };
41
41
 
42
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/8 下午2:51\n* @description drawer样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-drawer {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1000;\n pointer-events: none;\n}\n\n.paraui-v4-drawer-inline {\n position: absolute;\n}\n\n.paraui-v4-drawer-mask {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1000;\n background: rgba(29, 33, 38, 0.9);\n pointer-events: auto;\n}\n\n.paraui-v4-drawer-content-wrapper {\n position: absolute;\n z-index: 1000;\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-content-wrapper-hidden {\n display: none;\n}\n\n.paraui-v4-drawer-left > .paraui-v4-drawer-content-wrapper {\n top: 0;\n bottom: 0;\n left: 0;\n box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-right > .paraui-v4-drawer-content-wrapper {\n top: 0;\n right: 0;\n bottom: 0;\n box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-top > .paraui-v4-drawer-content-wrapper {\n top: 0;\n right: 0;\n left: 0;\n box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-bottom > .paraui-v4-drawer-content-wrapper {\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-content {\n width: 100%;\n height: 100%;\n overflow: auto;\n background: rgb(255, 255, 255);\n pointer-events: auto;\n position: relative;\n}\n.paraui-v4-drawer-content .drawer-content-body {\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: none;\n height: 50px;\n padding: 0 20px;\n font-size: 500;\n font-weight: 700;\n color: rgb(29, 33, 38);\n border-bottom: 1px solid rgb(234, 236, 241);\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-title {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: space-between;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-title-ellipsis {\n overflow: hidden;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-extra {\n margin-left: 30px;\n flex-shrink: 0;\n white-space: nowrap;\n text-align: right;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-extra button + button {\n margin-left: 16px;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-content {\n flex: 1;\n padding: 20px;\n overflow: auto;\n word-wrap: break-word;\n position: relative;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-footer {\n display: flex;\n align-items: center;\n flex: none;\n padding: 20px;\n font-size: 500;\n color: rgb(29, 33, 38);\n border-top: 1px solid rgb(234, 236, 241);\n}\n\n.panel-motion-enter-start,\n.panel-motion-appear-start,\n.panel-motion-leave-start {\n transition: none;\n}\n\n.panel-motion-enter-active,\n.panel-motion-appear-active,\n.panel-motion-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-mask-motion-enter-active,\n.paraui-v4-drawer-mask-motion-appear-active,\n.paraui-v4-drawer-mask-motion-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-mask-motion-enter,\n.paraui-v4-drawer-mask-motion-appear {\n opacity: 0;\n}\n\n.paraui-v4-drawer-mask-motion-enter-active,\n.paraui-v4-drawer-mask-motion-appear-active {\n opacity: 1;\n}\n\n.paraui-v4-drawer-mask-motion-leave {\n opacity: 1;\n}\n\n.paraui-v4-drawer-mask-motion-leave-active {\n opacity: 0;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-start,\n.paraui-v4-drawer-panel-motion-left-appear-start,\n.paraui-v4-drawer-panel-motion-left-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-active,\n.paraui-v4-drawer-panel-motion-left-appear-active,\n.paraui-v4-drawer-panel-motion-left-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-start,\n.paraui-v4-drawer-panel-motion-left-appear-start {\n transform: translateX(-100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-active,\n.paraui-v4-drawer-panel-motion-left-appear-active {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-left-leave {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-left-leave-active {\n transform: translateX(-100%);\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-start,\n.paraui-v4-drawer-panel-motion-right-appear-start,\n.paraui-v4-drawer-panel-motion-right-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-active,\n.paraui-v4-drawer-panel-motion-right-appear-active,\n.paraui-v4-drawer-panel-motion-right-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-start,\n.paraui-v4-drawer-panel-motion-right-appear-start {\n transform: translateX(100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-active,\n.paraui-v4-drawer-panel-motion-right-appear-active {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-right-leave {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-right-leave-active {\n transform: translateX(100%);\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-start,\n.paraui-v4-drawer-panel-motion-top-appear-start,\n.paraui-v4-drawer-panel-motion-top-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-active,\n.paraui-v4-drawer-panel-motion-top-appear-active,\n.paraui-v4-drawer-panel-motion-top-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-start,\n.paraui-v4-drawer-panel-motion-top-appear-start {\n transform: translateY(-100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-active,\n.paraui-v4-drawer-panel-motion-top-appear-active {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-top-leave {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-top-leave-active {\n transform: translateY(-100%);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-start,\n.paraui-v4-drawer-panel-motion-bottom-appear-start,\n.paraui-v4-drawer-panel-motion-bottom-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-active,\n.paraui-v4-drawer-panel-motion-bottom-appear-active,\n.paraui-v4-drawer-panel-motion-bottom-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-start,\n.paraui-v4-drawer-panel-motion-bottom-appear-start {\n transform: translateY(100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-active,\n.paraui-v4-drawer-panel-motion-bottom-appear-active {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-leave {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-leave-active {\n transform: translateY(100%);\n}";
42
+ /**
43
+ * 查找元素
44
+ * @param el 当前元素
45
+ * @param selector 查找元素class
46
+ */
47
+ var closest = function closest(el, selector) {
48
+ var matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
49
+ while (el) {
50
+ if (matchesSelector.call(el, selector)) {
51
+ break;
52
+ }
53
+ el = el.parentElement;
54
+ }
55
+ return el;
56
+ };
57
+
58
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/8 下午2:51\n* @description drawer样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-drawer {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1000;\n pointer-events: none;\n}\n\n.paraui-v4-drawer-inline {\n position: absolute;\n}\n\n.paraui-v4-drawer-mask {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1000;\n background: rgba(29, 33, 38, 0.9);\n pointer-events: auto;\n}\n\n.paraui-v4-drawer-content-wrapper {\n position: absolute;\n z-index: 1000;\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-resizing .paraui-v4-drawer-content-wrapper {\n transition: none;\n}\n\n.paraui-v4-drawer-content-wrapper-hidden {\n display: none;\n}\n\n.paraui-v4-drawer-left > .paraui-v4-drawer-content-wrapper {\n top: 0;\n bottom: 0;\n left: 0;\n box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-right > .paraui-v4-drawer-content-wrapper {\n top: 0;\n right: 0;\n bottom: 0;\n box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-top > .paraui-v4-drawer-content-wrapper {\n top: 0;\n right: 0;\n left: 0;\n box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-bottom > .paraui-v4-drawer-content-wrapper {\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n\n.paraui-v4-drawer-content {\n width: 100%;\n height: 100%;\n overflow: auto;\n background: rgb(255, 255, 255);\n pointer-events: auto;\n position: relative;\n}\n.paraui-v4-drawer-content .drawer-handle {\n position: absolute;\n z-index: 999;\n user-select: none;\n}\n.paraui-v4-drawer-content .drawer-handle .drawer-handle-icon {\n background: #2e65e6;\n width: 100%;\n height: 100%;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.paraui-v4-drawer-content .drawer-handle:hover .drawer-handle-icon {\n opacity: 1;\n}\n.paraui-v4-drawer-content .drawer-content-body {\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: none;\n height: 50px;\n padding: 0 20px;\n font-size: 16px;\n font-weight: 700;\n color: rgb(29, 33, 38);\n border-bottom: 1px solid rgb(234, 236, 241);\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-title {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: space-between;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-title-ellipsis {\n overflow: hidden;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-extra {\n margin-left: 30px;\n flex-shrink: 0;\n white-space: nowrap;\n text-align: right;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-header .drawer-header-extra button + button {\n margin-left: 16px;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-content {\n flex: 1;\n padding: 20px;\n overflow: auto;\n word-wrap: break-word;\n position: relative;\n}\n.paraui-v4-drawer-content .drawer-content-body .drawer-body-footer {\n display: flex;\n align-items: center;\n flex: none;\n padding: 20px;\n font-size: 16px;\n color: rgb(29, 33, 38);\n border-top: 1px solid rgb(234, 236, 241);\n}\n\n.paraui-v4-drawer-left .drawer-handle,\n.paraui-v4-drawer-right .drawer-handle {\n top: 0;\n width: 6px;\n height: 100%;\n cursor: e-resize;\n}\n\n.paraui-v4-drawer-left .drawer-handle {\n right: 0;\n padding: 0 0 0 4px;\n}\n\n.paraui-v4-drawer-right .drawer-handle {\n left: 0;\n padding: 0 4px 0 0;\n}\n\n.paraui-v4-drawer-top .drawer-handle,\n.paraui-v4-drawer-bottom .drawer-handle {\n left: 0;\n height: 6px;\n width: 100%;\n cursor: n-resize;\n}\n\n.paraui-v4-drawer-top .drawer-handle {\n bottom: 0;\n padding: 4px 0 0 0;\n}\n\n.paraui-v4-drawer-bottom .drawer-handle {\n top: 0;\n padding: 0 0 4px 0;\n}\n\n.panel-motion-enter-start,\n.panel-motion-appear-start,\n.panel-motion-leave-start {\n transition: none;\n}\n\n.panel-motion-enter-active,\n.panel-motion-appear-active,\n.panel-motion-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-mask-motion-enter-active,\n.paraui-v4-drawer-mask-motion-appear-active,\n.paraui-v4-drawer-mask-motion-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-mask-motion-enter,\n.paraui-v4-drawer-mask-motion-appear {\n opacity: 0;\n}\n\n.paraui-v4-drawer-mask-motion-enter-active,\n.paraui-v4-drawer-mask-motion-appear-active {\n opacity: 1;\n}\n\n.paraui-v4-drawer-mask-motion-leave {\n opacity: 1;\n}\n\n.paraui-v4-drawer-mask-motion-leave-active {\n opacity: 0;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-start,\n.paraui-v4-drawer-panel-motion-left-appear-start,\n.paraui-v4-drawer-panel-motion-left-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-active,\n.paraui-v4-drawer-panel-motion-left-appear-active,\n.paraui-v4-drawer-panel-motion-left-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-start,\n.paraui-v4-drawer-panel-motion-left-appear-start {\n transform: translateX(-100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-left-enter-active,\n.paraui-v4-drawer-panel-motion-left-appear-active {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-left-leave {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-left-leave-active {\n transform: translateX(-100%);\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-start,\n.paraui-v4-drawer-panel-motion-right-appear-start,\n.paraui-v4-drawer-panel-motion-right-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-active,\n.paraui-v4-drawer-panel-motion-right-appear-active,\n.paraui-v4-drawer-panel-motion-right-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-start,\n.paraui-v4-drawer-panel-motion-right-appear-start {\n transform: translateX(100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-right-enter-active,\n.paraui-v4-drawer-panel-motion-right-appear-active {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-right-leave {\n transform: translateX(0);\n}\n\n.paraui-v4-drawer-panel-motion-right-leave-active {\n transform: translateX(100%);\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-start,\n.paraui-v4-drawer-panel-motion-top-appear-start,\n.paraui-v4-drawer-panel-motion-top-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-active,\n.paraui-v4-drawer-panel-motion-top-appear-active,\n.paraui-v4-drawer-panel-motion-top-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-start,\n.paraui-v4-drawer-panel-motion-top-appear-start {\n transform: translateY(-100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-top-enter-active,\n.paraui-v4-drawer-panel-motion-top-appear-active {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-top-leave {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-top-leave-active {\n transform: translateY(-100%);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-start,\n.paraui-v4-drawer-panel-motion-bottom-appear-start,\n.paraui-v4-drawer-panel-motion-bottom-leave-start {\n transition: none;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-active,\n.paraui-v4-drawer-panel-motion-bottom-appear-active,\n.paraui-v4-drawer-panel-motion-bottom-leave-active {\n transition: all 0.3s;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-start,\n.paraui-v4-drawer-panel-motion-bottom-appear-start {\n transform: translateY(100%) !important;\n}\n\n.paraui-v4-drawer-panel-motion-bottom-enter-active,\n.paraui-v4-drawer-panel-motion-bottom-appear-active {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-leave {\n transform: translateY(0);\n}\n\n.paraui-v4-drawer-panel-motion-bottom-leave-active {\n transform: translateY(100%);\n}";
43
59
  styleInject(css_248z);
44
60
 
45
61
  //drawer 抽屉
46
62
  var Drawer = function Drawer(props) {
47
- props.className;
48
- var onClose = props.onClose,
63
+ var _a;
64
+ var className = props.className,
65
+ resizable = props.resizable,
66
+ _props$resizeMinimum = props.resizeMinimum,
67
+ resizeMinimum = _props$resizeMinimum === void 0 ? 400 : _props$resizeMinimum,
68
+ onClose = props.onClose,
49
69
  _props$destroyOnClose = props.destroyOnClose,
50
70
  destroyOnClose = _props$destroyOnClose === void 0 ? false : _props$destroyOnClose,
51
71
  style = props.style,
@@ -66,41 +86,65 @@ var Drawer = function Drawer(props) {
66
86
  push = _props$push === void 0 ? {
67
87
  distance: 100
68
88
  } : _props$push,
69
- restProps = __rest(props, ["className", "onClose", "destroyOnClose", "style", "title", "extra", "showExtra", "footer", "children", "size", "onOk", "onCancel", "afterVisibleChange", "okButtonProps", "cancelButtonProps", "push"]);
89
+ restProps = __rest(props, ["className", "resizable", "resizeMinimum", "onClose", "destroyOnClose", "style", "title", "extra", "showExtra", "footer", "children", "size", "onOk", "onCancel", "afterVisibleChange", "okButtonProps", "cancelButtonProps", "push"]);
70
90
  var intl = useFormatMessage('Drawer', localeJson);
71
- var _React$useState = React__default.useState(0),
72
- _React$useState2 = _slicedToArray(_React$useState, 2),
73
- setRefresh = _React$useState2[1];
74
- var destroyCloseRef = React__default.useRef(false); //销毁标识
75
- var timerRef = React__default.useRef();
76
- React__default.useEffect(function () {
91
+ var _useState = useState(0),
92
+ _useState2 = _slicedToArray(_useState, 2),
93
+ setRefresh = _useState2[1];
94
+ var _useState3 = useState({}),
95
+ _useState4 = _slicedToArray(_useState3, 2),
96
+ offsetStyle = _useState4[0],
97
+ setOffsetStyle = _useState4[1];
98
+ var _useState5 = useState(false),
99
+ _useState6 = _slicedToArray(_useState5, 2),
100
+ isResizing = _useState6[0],
101
+ setIsResizing = _useState6[1];
102
+ var destroyCloseRef = useRef(false); //销毁标识
103
+ var timerRef = useRef();
104
+ var isHorizontal = ['left', 'right'].includes((_a = props.placement) !== null && _a !== void 0 ? _a : 'right');
105
+ var startRef = useRef(0);
106
+ var drawerRootEle = useRef(document.body);
107
+ useEffect(function () {
77
108
  return function () {
78
109
  // 销毁时销毁timer
79
110
  if (!timerRef.current) return;
80
111
  clearTimeout(timerRef.current);
81
112
  timerRef.current = null;
113
+ window.removeEventListener('mouseup', onHandlerMouseUp);
114
+ window.removeEventListener('mousemove', onHandlerMouseMove);
82
115
  };
83
116
  }, []);
117
+ useEffect(function () {
118
+ setOffsetStyle(getOffsetStyle);
119
+ }, [props.open, props.placement, props.width, props.height, size]);
84
120
  //设置drawer width、height
85
121
  var getOffsetStyle = function getOffsetStyle() {
86
122
  if (!props.open) {
87
123
  return {};
88
124
  }
89
125
  var sizeMap = {
90
- large: '1000px',
91
- medium: '630px',
92
- small: '400px'
126
+ large: 1000,
127
+ medium: 630,
128
+ small: 400
93
129
  };
94
130
  var offsetStyle = {};
95
131
  if (props.placement === 'left' || props.placement === 'right') {
96
132
  var defaultWidth = sizeMap[size];
97
133
  if (size !== 'auto') {
98
- offsetStyle.width = props.width === undefined ? defaultWidth : props.width;
134
+ if (props.width) {
135
+ offsetStyle.width = typeof props.width === 'string' ? parseInt(props.width) : props.width;
136
+ } else {
137
+ offsetStyle.width = defaultWidth;
138
+ }
99
139
  }
100
140
  } else {
101
141
  var defaultHeight = size === 'large' ? 736 : 378;
102
142
  if (size !== 'auto') {
103
- offsetStyle.height = props.height === undefined ? defaultHeight : props.height;
143
+ if (props.height !== undefined) {
144
+ offsetStyle.height = typeof props.height === 'string' ? parseInt(props.height) : props.height;
145
+ } else {
146
+ offsetStyle.height = defaultHeight;
147
+ }
104
148
  }
105
149
  }
106
150
  return offsetStyle;
@@ -117,6 +161,60 @@ var Drawer = function Drawer(props) {
117
161
  var handleCancel = function handleCancel() {
118
162
  onCancel === null || onCancel === void 0 ? void 0 : onCancel();
119
163
  };
164
+ var onHandlerMouseDown = function onHandlerMouseDown(e) {
165
+ var _a;
166
+ setIsResizing(true);
167
+ drawerRootEle.current = (_a = closest(e.target, ".".concat($prefixCls, "-drawer-open"))) !== null && _a !== void 0 ? _a : document.body;
168
+ startRef.current = isHorizontal ? e.clientX : e.clientY;
169
+ document.addEventListener('mousemove', onHandlerMouseMove);
170
+ document.addEventListener('mouseup', onHandlerMouseUp);
171
+ };
172
+ var onHandlerMouseUp = function onHandlerMouseUp() {
173
+ setIsResizing(false);
174
+ document.removeEventListener('mousemove', onHandlerMouseMove);
175
+ document.removeEventListener('mouseup', onHandlerMouseUp);
176
+ };
177
+ var onHandlerMouseMove = function onHandlerMouseMove(e) {
178
+ var maximum = isHorizontal ? drawerRootEle.current.offsetWidth : drawerRootEle.current.offsetHeight;
179
+ switch (props.placement) {
180
+ case 'left':
181
+ {
182
+ var newWidth = Number(offsetStyle.width) + (e.clientX - startRef.current);
183
+ if (newWidth + 100 >= maximum || newWidth < resizeMinimum) return;
184
+ setOffsetStyle({
185
+ width: newWidth
186
+ });
187
+ break;
188
+ }
189
+ case 'right':
190
+ {
191
+ var _newWidth = Number(offsetStyle.width) - (e.clientX - startRef.current);
192
+ if (_newWidth + 100 >= maximum || _newWidth < resizeMinimum) return;
193
+ setOffsetStyle({
194
+ width: _newWidth
195
+ });
196
+ break;
197
+ }
198
+ case 'top':
199
+ {
200
+ var newHeight = Number(offsetStyle.height) + (e.clientY - startRef.current);
201
+ if (newHeight + 100 >= maximum || newHeight < resizeMinimum) return;
202
+ setOffsetStyle({
203
+ height: newHeight
204
+ });
205
+ break;
206
+ }
207
+ case 'bottom':
208
+ {
209
+ var _newHeight = Number(offsetStyle.height) - (e.clientY - startRef.current);
210
+ if (_newHeight + 100 >= maximum || _newHeight < resizeMinimum) return;
211
+ setOffsetStyle({
212
+ height: _newHeight
213
+ });
214
+ break;
215
+ }
216
+ }
217
+ };
120
218
  var handleTitle = function handleTitle(title) {
121
219
  if (typeof title === 'string') {
122
220
  return jsx("div", Object.assign({
@@ -145,16 +243,16 @@ var Drawer = function Drawer(props) {
145
243
  }, {
146
244
  children: extra || jsxs(Fragment, {
147
245
  children: [jsx(Button, Object.assign({
148
- variant: "outlined",
149
- size: "medium",
246
+ variant: 'outlined',
247
+ size: 'medium',
150
248
  onClick: handleCancel
151
249
  }, cancelButtonProps, {
152
250
  children: (cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.children) || intl({
153
251
  id: 'cancel'
154
252
  })
155
253
  })), jsx(Button, Object.assign({
156
- variant: "contained",
157
- size: "medium",
254
+ variant: 'contained',
255
+ size: 'medium',
158
256
  onClick: handleOk
159
257
  }, okButtonProps, {
160
258
  children: (okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.children) || intl({
@@ -202,13 +300,13 @@ var Drawer = function Drawer(props) {
202
300
  motionDeadline: isIE() ? 0 : 100
203
301
  };
204
302
  };
205
- return jsx(RcDrawer, Object.assign({}, restProps, getOffsetStyle(), {
303
+ return jsxs(RcDrawer, Object.assign({}, restProps, offsetStyle, {
206
304
  style: style,
207
305
  maskMotion: maskMotion,
208
306
  motion: panelMotion,
209
307
  push: push,
210
308
  prefixCls: "".concat($prefixCls, "-drawer"),
211
- rootClassName: props.className,
309
+ rootClassName: clsx(className, isResizing && "".concat($prefixCls, "-drawer-resizing")),
212
310
  onClose: handleClose,
213
311
  afterOpenChange: function afterOpenChange(open) {
214
312
  if (open) {
@@ -222,7 +320,14 @@ var Drawer = function Drawer(props) {
222
320
  afterVisibleChange === null || afterVisibleChange === void 0 ? void 0 : afterVisibleChange(open);
223
321
  }
224
322
  }, {
225
- children: renderContent()
323
+ children: [resizable && jsx("div", Object.assign({
324
+ className: 'drawer-handle',
325
+ onMouseDown: onHandlerMouseDown
326
+ }, {
327
+ children: jsx("div", {
328
+ className: 'drawer-handle-icon'
329
+ })
330
+ })), renderContent()]
226
331
  }));
227
332
  };
228
333
  Drawer.defaultProps = {
@@ -8,6 +8,10 @@ import { ButtonProps } from "../Button";
8
8
  type GetContainer = string | HTMLElement | (() => HTMLElement) | false;
9
9
  type ILevelMove = number | [number, number];
10
10
  type IPlacement = 'left' | 'top' | 'right' | 'bottom';
11
+ export interface IOffsetStyle {
12
+ width?: string | number;
13
+ height?: string | number;
14
+ }
11
15
  export interface DrawerProps {
12
16
  /** 类名 */
13
17
  className?: string;
@@ -15,6 +19,10 @@ export interface DrawerProps {
15
19
  width?: string | number;
16
20
  /** 高度 */
17
21
  height?: string | number;
22
+ /** 可拖拽边线调整大小 */
23
+ resizable?: boolean;
24
+ /** 拖拽最小尺寸,抽屉方向为纵向时表示最小高度,横向时表示最小宽度,默认400 */
25
+ resizeMinimum?: number;
18
26
  /** 打开 */
19
27
  open?: boolean;
20
28
  /** 默认打开 */
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 查找元素
3
+ * @param el 当前元素
4
+ * @param selector 查找元素class
5
+ */
6
+ export declare const closest: (el: any, selector: any) => any;
@@ -1,5 +1,10 @@
1
- /// <reference types="react" />
1
+ /**
2
+ * @author luohq
3
+ * @date 2022/11/7 10:32 AM
4
+ * @description 多值框组件
5
+ */
6
+ import { FunctionComponent } from "react";
2
7
  import { IMultiValueProps } from './interface';
3
8
  import './index.scss';
4
- declare const DynamicMultiBox: (props: IMultiValueProps) => JSX.Element;
9
+ declare const DynamicMultiBox: FunctionComponent<IMultiValueProps>;
5
10
  export default DynamicMultiBox;
@@ -56,9 +56,8 @@ import 'rc-input-number';
56
56
  import '@para-ui/icons/Up';
57
57
  import '../MultiBox/index.js';
58
58
  import '@para-ui/icons/Internet';
59
- import '../_verture/index-d63bd287.js';
60
- import '../_verture/typeof-b240b062.js';
61
- import '@para-ui/icons/CloseCircle';
59
+ import '../_verture/index-232d890b.js';
60
+ import '../_verture/typeof-c310ee4a.js';
62
61
  import '../Table/index.js';
63
62
  import '../Button/index.js';
64
63
  import '@para-ui/icons/ScreenF';
@@ -74,17 +73,18 @@ import 'rc-pagination';
74
73
  import '@para-ui/icons/Right';
75
74
  import '@para-ui/icons/DoubleLeft';
76
75
  import '@para-ui/icons/DoubleRight';
77
- import '../_verture/index-7ec72724.js';
76
+ import '../_verture/index-47297a40.js';
78
77
  import 'rc-tree';
79
78
  import '@para-ui/icons/Document';
80
79
  import 'react-dom';
81
80
  import '@para-ui/icons/EditFile';
82
81
  import '@para-ui/icons/PlusCircle';
83
82
  import '@para-ui/icons/MoreCircle';
84
- import '../_verture/utils-f0e81540.js';
83
+ import '../_verture/utils-06d86594.js';
85
84
  import 'rc-picker/es/generate/dayjs';
86
85
  import '../Tag/index.js';
87
86
  import '@para-ui/icons/EditOutline';
87
+ import '../_verture/tinycolor-ece3542d.js';
88
88
  import '@para-ui/icons/Plus';
89
89
  import 'rc-picker';
90
90
  import '@para-ui/icons/Calendar';
package/Form/index.js CHANGED
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import { DeepClone } from '@paraview/lib';
5
5
  import React__default from 'react';
6
- import { F as FormItem, v as validate } from '../_verture/index-e6f85fd5.js';
6
+ import { F as FormItem, v as validate } from '../_verture/index-1c8d3e94.js';
7
7
  import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
8
8
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
9
9
  import '../TextField/index.js';
@@ -49,13 +49,13 @@ import 'rc-switch';
49
49
  import '@para-ui/icons/Delete';
50
50
  import '@para-ui/icons/LinkGroup';
51
51
  import '../Button/index.js';
52
+ import '@para-ui/icons/UploadFile';
52
53
  import '../InputNumber/index.js';
53
54
  import 'rc-input-number';
54
55
  import '@para-ui/icons/Up';
55
56
  import '../ComboSelect/index.js';
56
- import '../_verture/index-d63bd287.js';
57
- import '../_verture/typeof-b240b062.js';
58
- import '@para-ui/icons/CloseCircle';
57
+ import '../_verture/index-232d890b.js';
58
+ import '../_verture/typeof-c310ee4a.js';
59
59
  import '../Table/index.js';
60
60
  import '@para-ui/icons/ScreenF';
61
61
  import '@para-ui/icons/UpTriangleF';
@@ -70,14 +70,14 @@ 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-7ec72724.js';
73
+ import '../_verture/index-47297a40.js';
74
74
  import 'rc-tree';
75
75
  import '@para-ui/icons/Document';
76
76
  import 'react-dom';
77
77
  import '@para-ui/icons/EditFile';
78
78
  import '@para-ui/icons/PlusCircle';
79
79
  import '@para-ui/icons/MoreCircle';
80
- import '../_verture/utils-f0e81540.js';
80
+ import '../_verture/utils-06d86594.js';
81
81
 
82
82
  /**
83
83
  * form 表单组件
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-e6f85fd5.js';
3
+ export { F as default } from '../_verture/index-1c8d3e94.js';
4
4
  import 'clsx';
5
5
  import '../Label/index.js';
6
6
  import '../_verture/constant-0d9802f7.js';
@@ -49,13 +49,13 @@ import 'rc-switch';
49
49
  import '@para-ui/icons/Delete';
50
50
  import '@para-ui/icons/LinkGroup';
51
51
  import '../Button/index.js';
52
+ import '@para-ui/icons/UploadFile';
52
53
  import '../InputNumber/index.js';
53
54
  import 'rc-input-number';
54
55
  import '@para-ui/icons/Up';
55
56
  import '../ComboSelect/index.js';
56
- import '../_verture/index-d63bd287.js';
57
- import '../_verture/typeof-b240b062.js';
58
- import '@para-ui/icons/CloseCircle';
57
+ import '../_verture/index-232d890b.js';
58
+ import '../_verture/typeof-c310ee4a.js';
59
59
  import '../Table/index.js';
60
60
  import '@para-ui/icons/ScreenF';
61
61
  import '@para-ui/icons/UpTriangleF';
@@ -70,11 +70,11 @@ 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-7ec72724.js';
73
+ import '../_verture/index-47297a40.js';
74
74
  import 'rc-tree';
75
75
  import '@para-ui/icons/Document';
76
76
  import 'react-dom';
77
77
  import '@para-ui/icons/EditFile';
78
78
  import '@para-ui/icons/PlusCircle';
79
79
  import '@para-ui/icons/MoreCircle';
80
- import '../_verture/utils-f0e81540.js';
80
+ import '../_verture/utils-06d86594.js';
@@ -1,10 +1,10 @@
1
- import { u as useModal } from '../_verture/modalContext-c12ca3e8.js';
2
- export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-c12ca3e8.js';
1
+ import { u as useModal } from '../_verture/modalContext-670eab09.js';
2
+ export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-670eab09.js';
3
3
  import '../_verture/toConsumableArray-8f4c9589.js';
4
4
  import '../_verture/unsupportedIterableToArray-cb478f24.js';
5
5
  import '../_verture/slicedToArray-a8206399.js';
6
- import '../_verture/index-d63bd287.js';
7
- import '../_verture/typeof-b240b062.js';
6
+ import '../_verture/index-232d890b.js';
7
+ import '../_verture/typeof-c310ee4a.js';
8
8
  import '../_verture/tslib.es6-55ed4bd2.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react';
@@ -31,7 +31,7 @@ import '../_verture/useFormatMessage-703f8b20.js';
31
31
  import '@para-ui/core/GlobalContext';
32
32
  import '../AutoTips/index.js';
33
33
  import '@para-ui/icons/Close';
34
- import '../_verture/index-e2881a53.js';
34
+ import '../_verture/index-19947788.js';
35
35
  import 'react-dom';
36
36
  import '@para-ui/icons/CheckCircleF';
37
37
  import '@para-ui/icons/CloseCircleF';
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { i as i18nIntl } from '../_verture/intl-5c1ec055.js';
3
3
  import { GetLanguage } from '@paraview/lib';
4
- import { d as defaultModalLocale } from '../_verture/index-e2881a53.js';
4
+ import { d as defaultModalLocale } from '../_verture/index-19947788.js';
5
5
  import '../_verture/typeof-adeedc13.js';
6
6
 
7
7
  //confirm 默认中文
package/Help/index.js CHANGED
@@ -24,7 +24,7 @@ var Help = function Help(props) {
24
24
  arrow = _props$arrow === void 0 ? true : _props$arrow,
25
25
  className = props.className,
26
26
  _props$placement = props.placement,
27
- placement = _props$placement === void 0 ? 'top' : _props$placement,
27
+ placement = _props$placement === void 0 ? 'top-start' : _props$placement,
28
28
  restProps = __rest(props, ["title", "children", "arrow", "className", "placement"]);
29
29
  return jsx(Tooltip, Object.assign({
30
30
  title: title,
@@ -18,7 +18,7 @@ import 'rc-tooltip';
18
18
  import 'rc-tooltip/lib/placements';
19
19
  import '@para-ui/icons/Forbid';
20
20
 
21
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-input-number {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n display: inline-block;\n width: 100%;\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n width: calc(100% - 60px);\n\n & > .component {\n & > .component-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n\n & > .component-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: $radius;\n border-top-left-radius: $radius;\n overflow: hidden;\n // 禁用加\n &.component-handler-up-disabled {\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n\n & > .add-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $A5;\n }\n }\n\n & > svg {\n color: $D2;\n font-size: 20px;\n }\n }\n }\n\n & > .component-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: $radius;\n border-top-right-radius: $radius;\n overflow: hidden;\n // 禁用减\n &.component-handler-down-disabled {\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n\n & > .reduce-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $A5;\n }\n }\n\n & > svg {\n color: $D2;\n font-size: 20px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-input-number > .input-number-content:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-before {\n width: 34px;\n color: rgb(92, 101, 115);\n border-right: 1px solid rgb(212, 218, 227);\n border-top-left-radius: 4px;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n width: 100%;\n height: 100%;\n border: 0;\n border-radius: 4px;\n padding: 10px 0 10px 10px;\n background: transparent;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-clear {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-reveal {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component.component-out-of-range > .component-input-wrap > input {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n width: 100%;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 12px;\n color: rgb(161, 168, 179);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-after {\n width: 34px;\n color: rgb(92, 101, 115);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 34px);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n top: 0;\n right: -34px;\n width: 34px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-focus > .input-number-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n width: 100%;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n // 禁用加\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-down {\n // 禁用减\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large {\n /*& > .input-number-content {\n height: 36px;\n\n & > .input-number-content-within {\n & > .input-number-label-placeholder {\n line-height: 34px;\n }\n }\n }\n\n &.paraui-v4-input-number-tb {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n & > .tb-btn-top {\n & > svg {\n font-size: 17px;\n }\n }\n }\n\n & > .component-handler-down {\n & > .tb-btn-bottom {\n & > svg {\n font-size: 17px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content {\n height: 32px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}";
21
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-input-number {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n display: inline-block;\n width: 100%;\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n width: calc(100% - 60px);\n\n & > .component {\n & > .component-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n\n & > .component-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: $radius;\n border-top-left-radius: $radius;\n overflow: hidden;\n // 禁用加\n &.component-handler-up-disabled {\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n\n & > .add-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $NA5;\n }\n }\n\n & > svg {\n color: $ND2;\n font-size: 20px;\n }\n }\n }\n\n & > .component-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: $radius;\n border-top-right-radius: $radius;\n overflow: hidden;\n // 禁用减\n &.component-handler-down-disabled {\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n\n & > .reduce-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $NA5;\n }\n }\n\n & > svg {\n color: $ND2;\n font-size: 20px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-input-number > .input-number-content:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-before {\n width: 34px;\n color: rgb(92, 101, 115);\n border-right: 1px solid rgb(212, 218, 227);\n border-top-left-radius: 4px;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n width: 100%;\n height: 100%;\n border: 0;\n border-radius: 4px;\n padding: 10px 0 10px 10px;\n background: transparent;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-clear {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-reveal {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component.component-out-of-range > .component-input-wrap > input {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n width: 100%;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 12px;\n color: rgb(161, 168, 179);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-after {\n width: 34px;\n color: rgb(92, 101, 115);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 34px);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n top: 0;\n right: -34px;\n width: 34px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-focus > .input-number-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n width: 100%;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n // 禁用加\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-down {\n // 禁用减\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large {\n /*& > .input-number-content {\n height: 36px;\n\n & > .input-number-content-within {\n & > .input-number-label-placeholder {\n line-height: 34px;\n }\n }\n }\n\n &.paraui-v4-input-number-tb {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n & > .tb-btn-top {\n & > svg {\n font-size: 17px;\n }\n }\n }\n\n & > .component-handler-down {\n & > .tb-btn-bottom {\n & > svg {\n font-size: 17px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content {\n height: 32px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}";
22
22
  styleInject(css_248z);
23
23
 
24
24
  var InputNumber = function InputNumber(props) {
package/Modal/index.js CHANGED
@@ -6,7 +6,7 @@ import Dialog from 'rc-dialog';
6
6
  import { Button } from '../Button/index.js';
7
7
  import CloseIcon from '@para-ui/icons/Close';
8
8
  import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
9
- import { d as defaultModalLocale } from '../_verture/index-e2881a53.js';
9
+ import { d as defaultModalLocale } from '../_verture/index-19947788.js';
10
10
  import ReactDOM from 'react-dom';
11
11
  import clsx from 'clsx';
12
12
  import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
@@ -32,7 +32,7 @@ import 'rc-dropdown';
32
32
  import '../_verture/usePopupContainer-87febeb9.js';
33
33
  import 'dayjs';
34
34
 
35
- var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午7:00\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-confirm.paraui-v4-modal .paraui-v4-modal-body {\n padding: 0;\n}\n.paraui-v4-confirm .confirm-wrapper {\n width: 416px;\n outline: none;\n}\n.paraui-v4-confirm .confirm-content {\n position: relative;\n padding: 32px 32px 24px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n right: 16px;\n top: 16px;\n border: none;\n}\n.paraui-v4-confirm .confirm-content-close svg {\n font-size: 18px;\n}\n.paraui-v4-confirm .confirm-content-icon {\n float: left;\n margin-top: 3px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-icon--warn, .paraui-v4-confirm .confirm-content-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon--error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-confirm .confirm-content-icon--success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-confirm .confirm-content-icon--info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-confirm .confirm-content-body {\n margin: 0 16px 0 30px;\n color: rgba(29, 33, 38, 0.9);\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 8px;\n font-weight: 700;\n font-size: 500;\n}\n.paraui-v4-confirm .confirm-content-actions {\n margin-top: 24px;\n text-align: right;\n}\n.paraui-v4-confirm .confirm-content-actions > button + button {\n margin-left: 16px;\n}";
35
+ var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午7:00\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-confirm.paraui-v4-modal .paraui-v4-modal-body {\n padding: 0;\n}\n.paraui-v4-confirm .confirm-wrapper {\n width: 416px;\n outline: none;\n}\n.paraui-v4-confirm .confirm-content {\n position: relative;\n padding: 32px 32px 24px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n right: 16px;\n top: 16px;\n border: none;\n}\n.paraui-v4-confirm .confirm-content-close svg {\n font-size: 18px;\n}\n.paraui-v4-confirm .confirm-content-icon {\n float: left;\n margin-top: 3px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-icon--warn, .paraui-v4-confirm .confirm-content-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon--error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-confirm .confirm-content-icon--success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-confirm .confirm-content-icon--info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-confirm .confirm-content-body {\n margin: 0 16px 0 30px;\n color: rgba(29, 33, 38, 0.9);\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 8px;\n font-weight: 700;\n font-size: 16px;\n}\n.paraui-v4-confirm .confirm-content-actions {\n margin-top: 24px;\n text-align: right;\n}\n.paraui-v4-confirm .confirm-content-actions > button + button {\n margin-left: 16px;\n}";
36
36
  styleInject(css_248z$1);
37
37
 
38
38
  //图标