@para-ui/core 3.0.0 → 3.0.2

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 (122) hide show
  1. package/AutoBox/index.js +180 -68
  2. package/AutoBox/protal.d.ts +17 -0
  3. package/AutoTips/index.js +4 -3
  4. package/Breadcrumbs/index.js +10 -7
  5. package/Button/index.d.ts +8 -0
  6. package/Button/index.js +77 -37
  7. package/ButtonGroup/index.js +3 -2
  8. package/Carousel/index.js +7 -5
  9. package/Cascader/index.d.ts +3 -1
  10. package/Cascader/index.js +13 -5
  11. package/Checkbox/index.js +27 -8
  12. package/CheckboxGroup/index.d.ts +2 -5
  13. package/CheckboxGroup/index.js +13 -10
  14. package/Collapse/index.js +11 -10
  15. package/CollapseBox/index.js +7 -6
  16. package/ComboSelect/index.js +266 -93
  17. package/ComboSelect/interface.d.ts +12 -9
  18. package/ComboSelect/lang/en_US.d.ts +1 -0
  19. package/ComboSelect/lang/index.d.ts +2 -0
  20. package/ComboSelect/lang/zh_CN.d.ts +1 -0
  21. package/Container/index.js +27 -31
  22. package/DatePicker/index.js +12 -17
  23. package/DatePicker/util.d.ts +0 -1
  24. package/Desktop/index.js +6 -5
  25. package/Drawer/index.js +10 -9
  26. package/Dropdown/index.js +59 -6
  27. package/Empty/index.js +7 -6
  28. package/Form/index.js +6 -5
  29. package/FormItem/compoments/formFile/index.d.ts +16 -16
  30. package/FormItem/index.d.ts +19 -19
  31. package/FormItem/index.js +3 -2
  32. package/FunctionModal/index.js +3 -2
  33. package/GlobalContext/componentsProps.d.ts +2 -0
  34. package/GlobalContext/constant.d.ts +8 -0
  35. package/Help/index.js +3 -2
  36. package/HelperText/index.d.ts +9 -5
  37. package/HelperText/index.js +9 -4
  38. package/InputLang/index.d.ts +2 -5
  39. package/InputLang/index.js +13 -7
  40. package/InputNumber/index.d.ts +2 -5
  41. package/InputNumber/index.js +15 -12
  42. package/Label/index.d.ts +2 -0
  43. package/Label/index.js +12 -8
  44. package/Loading/index.js +5 -4
  45. package/Menu/index.js +18 -17
  46. package/Message/index.js +5 -4
  47. package/Modal/index.js +28 -26
  48. package/MultiBox/index.d.ts +2 -5
  49. package/MultiBox/index.js +13 -6
  50. package/Notification/index.js +3 -2
  51. package/OperateBtn/index.js +15 -12
  52. package/PageHeader/index.js +22 -23
  53. package/Pagination/index.js +10 -4
  54. package/ParauiProvider/index.js +1 -1
  55. package/PopConfirm/index.d.ts +2 -0
  56. package/PopConfirm/index.js +3 -2
  57. package/Popover/index.js +7 -4
  58. package/Progress/index.d.ts +2 -0
  59. package/Progress/index.js +13 -9
  60. package/Querying/index.js +6 -5
  61. package/README.md +32 -1
  62. package/Radio/index.js +22 -8
  63. package/RadioGroup/index.d.ts +2 -5
  64. package/RadioGroup/index.js +10 -7
  65. package/Search/index.js +13 -8
  66. package/Select/index.d.ts +4 -5
  67. package/Select/index.js +27 -22
  68. package/SelectInput/index.js +3 -2
  69. package/Selector/index.d.ts +3 -19
  70. package/Selector/index.js +2102 -213
  71. package/Selector/interface.d.ts +365 -0
  72. package/Selector/lang/en_US.d.ts +9 -0
  73. package/Selector/lang/index.d.ts +17 -0
  74. package/Selector/lang/zh_CN.d.ts +9 -0
  75. package/Selector/selectorData/index.d.ts +10 -0
  76. package/Selector/selectorMain/index.d.ts +2 -9
  77. package/Selector/selectorNode/index.d.ts +10 -0
  78. package/Selector/util.d.ts +15 -0
  79. package/SelectorPicker/index.d.ts +46 -0
  80. package/SelectorPicker/index.js +319 -0
  81. package/SingleBox/index.d.ts +2 -5
  82. package/SingleBox/index.js +11 -6
  83. package/Slider/index.d.ts +4 -4
  84. package/Slider/index.js +9 -4
  85. package/Split/index.js +8 -7
  86. package/Stepper/index.js +7 -3
  87. package/Switch/index.js +10 -12
  88. package/Table/index.js +542 -313
  89. package/Table/interface.d.ts +43 -1
  90. package/Table/tableElement/index.d.ts +2 -2
  91. package/Table/util.d.ts +13 -1
  92. package/Tabs/index.js +7 -6
  93. package/Tag/index.js +12 -14
  94. package/TextField/index.d.ts +4 -5
  95. package/TextField/index.js +23 -20
  96. package/TimePicker/index.js +1 -0
  97. package/Timeline/index.js +13 -12
  98. package/Title/index.d.ts +30 -0
  99. package/Title/index.js +49 -0
  100. package/ToggleButton/index.js +13 -13
  101. package/Tooltip/index.js +51 -11
  102. package/Tooltip/interface.d.ts +2 -0
  103. package/Transfer/index.d.ts +6 -2
  104. package/Transfer/index.js +8 -4
  105. package/Tree/index.js +3 -2
  106. package/Tree/interface.d.ts +0 -2
  107. package/Tree/utils/tools.d.ts +0 -1
  108. package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
  109. package/Upload/ImgCrop/constants.d.ts +1 -1
  110. package/Upload/ImgCrop/interface.d.ts +5 -0
  111. package/Upload/index.js +56 -45
  112. package/_verture/constant-bf34e6fa.js +11 -0
  113. package/_verture/{index-3d26f6a5.js → index-cc4c83b8.js} +63 -31
  114. package/_verture/{index-ce3860a0.js → index-cf5bf211.js} +30 -21
  115. package/_verture/{modalContext-fc19f4ae.js → modalContext-95c3fc87.js} +0 -0
  116. package/index.d.ts +4 -0
  117. package/index.js +10 -6
  118. package/package.json +8 -5
  119. package/Selector/branchNode/index.d.ts +0 -32
  120. package/Selector/leafNode/index.d.ts +0 -34
  121. package/Selector/selectorRight/index.d.ts +0 -16
  122. package/Selector/selectorTop/index.d.ts +0 -16
@@ -8,6 +8,7 @@ import { MultiBox } from '../MultiBox/index.js';
8
8
  import { Popover } from '../Popover/index.js';
9
9
  import Application from '@para-ui/icons/Application';
10
10
  import { GetLanguage, ArrayToObject } from '@paraview/lib';
11
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
11
12
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
12
13
  import '../_verture/typeof-498dd2b1.js';
13
14
  import '../_verture/tslib.es6-55ed4bd2.js';
@@ -31,7 +32,7 @@ import 'rc-dropdown';
31
32
  import '@para-ui/icons/Plus';
32
33
  import '@para-ui/icons/Delete';
33
34
 
34
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-input-lang {\n display: inline-block;\n width: 100%;\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}\n.paraui-input-lang .paraui-text-field > .text-field-content > .text-field-content-after {\n cursor: pointer;\n}\n.paraui-input-lang .paraui-text-field > .text-field-content > .text-field-content-after .lang-list-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-input-lang .paraui-text-field > .paraui-helper-text {\n display: none;\n}\n\n.paraui-input-lang-popover > .paraui-popover-content > .paraui-popover-inner {\n padding: 12px;\n width: 300px;\n line-height: 0;\n}\n.paraui-input-lang-popover > .paraui-popover-content > .paraui-popover-inner .paraui-multi-box {\n padding-bottom: 0;\n}";
35
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-input-lang {\n display: inline-block;\n width: 100%;\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}\n.paraui-v3-input-lang .input-lang-text-field > .text-field-content > .text-field-content-after {\n cursor: pointer;\n}\n.paraui-v3-input-lang .input-lang-text-field > .text-field-content > .text-field-content-after .lang-list-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.paraui-v3-input-lang-popover > .component-popover-content > .component-popover-inner {\n padding: 12px;\n width: 300px;\n line-height: 0;\n}\n.paraui-v3-input-lang-popover > .component-popover-content > .component-popover-inner .input-lang-multi-box {\n padding-bottom: 0;\n}";
35
36
  styleInject(css_248z);
36
37
 
37
38
  var InputLang = function InputLang(props) {
@@ -51,6 +52,7 @@ var InputLang = function InputLang(props) {
51
52
  placeholderValue = _props$placeholderVal === void 0 ? '' : _props$placeholderVal,
52
53
  _props$error = props.error,
53
54
  error = _props$error === void 0 ? false : _props$error,
55
+ hideErrorDom = props.hideErrorDom,
54
56
  _props$helperText = props.helperText,
55
57
  helperText = _props$helperText === void 0 ? '' : _props$helperText,
56
58
  _props$required = props.required,
@@ -198,7 +200,7 @@ var InputLang = function InputLang(props) {
198
200
  /** 处理弹出框className */
199
201
 
200
202
  var popoverHandClass = function popoverHandClass() {
201
- var str = 'paraui-input-lang-popover';
203
+ var str = $prefixCls + '-input-lang-popover';
202
204
  if (popoverClassName) str += ' ' + popoverClassName;
203
205
  return str;
204
206
  };
@@ -210,6 +212,7 @@ var InputLang = function InputLang(props) {
210
212
  className: "input-lang-list"
211
213
  }, {
212
214
  children: jsx(MultiBox, {
215
+ className: 'input-lang-multi-box',
213
216
  size: size,
214
217
  disabled: disabled,
215
218
  value: valueListLang,
@@ -227,9 +230,9 @@ var InputLang = function InputLang(props) {
227
230
 
228
231
 
229
232
  var handClass = function handClass() {
230
- var str = 'paraui-input-lang input-lang';
231
- if (size) str += ' input-lang-' + size;
232
- if (error) str += ' paraui-input-lang-error';
233
+ var str = $prefixCls + '-input-lang';
234
+ if (size) str += " ".concat($prefixCls, "-input-lang-").concat(size);
235
+ if (error) str += " ".concat($prefixCls, "-input-lang-error");
233
236
  if (className) str += ' ' + className;
234
237
  return str;
235
238
  };
@@ -246,6 +249,7 @@ var InputLang = function InputLang(props) {
246
249
  overlayClassName: popoverHandClass()
247
250
  }, {
248
251
  children: jsx(TextField, {
252
+ className: 'input-lang-text-field',
249
253
  size: size,
250
254
  error: error,
251
255
  disabled: disabled,
@@ -256,13 +260,15 @@ var InputLang = function InputLang(props) {
256
260
  value: valueCom[lang],
257
261
  addonAfter: AddonAfterMemo,
258
262
  addonBefore: AddonBeforeMemo,
263
+ hideErrorDom: true,
259
264
  onClickAddonAfter: clickAfter,
260
265
  onChange: changeValue
261
266
  })
262
267
  })), jsx(HelperText, {
263
- className: "paraui-lang-error-text",
268
+ className: "input-lang-error-text",
264
269
  error: error,
265
- helperText: helperText
270
+ helperText: helperText,
271
+ hideErrorDom: hideErrorDom
266
272
  })]
267
273
  }));
268
274
  };
@@ -5,8 +5,9 @@
5
5
  */
6
6
  import React, { FunctionComponent, ReactNode } from 'react';
7
7
  import { LabelTooltipProps } from "../Label";
8
+ import { HelperTextDetailProps } from "../HelperText";
8
9
  import './index.scss';
9
- export interface InputNumberProps {
10
+ export interface InputNumberProps extends HelperTextDetailProps {
10
11
  /** 样式class */
11
12
  className?: string;
12
13
  /** style */
@@ -39,10 +40,6 @@ export interface InputNumberProps {
39
40
  disabledReduce?: boolean;
40
41
  /** 是否必填 */
41
42
  required?: boolean;
42
- /** 是否显示错误 */
43
- error?: boolean;
44
- /** 错误提示 */
45
- helperText?: ReactNode;
46
43
  /** 是否启用键盘快捷行为 */
47
44
  keyboard?: boolean;
48
45
  /** 是否自动获取焦点 */
@@ -9,6 +9,7 @@ import Minus from '@para-ui/icons/Minus';
9
9
  import Plus from '@para-ui/icons/Plus';
10
10
  import Label from '../Label/index.js';
11
11
  import HelperText from '../HelperText/index.js';
12
+ import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
12
13
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
13
14
  import '../Help/index.js';
14
15
  import '../Tooltip/index.js';
@@ -17,7 +18,7 @@ import 'rc-tooltip/lib/placements';
17
18
  import 'clsx';
18
19
  import '@para-ui/icons/Help';
19
20
 
20
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-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}\n.paraui-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgba(171, 176, 185, 0.4);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-input-number > .input-number-content:hover {\n border-color: rgb(54, 102, 214);\n}\n.paraui-input-number > .input-number-content > .input-number-content-before {\n width: 30px;\n color: rgb(46, 55, 67);\n border-right: 1px solid rgba(171, 176, 185, 0.4);\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n}\n.paraui-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-input-number > .input-number-content > .input-number-content-within > .paraui-input-number-rc {\n width: 100%;\n height: 100%;\n}\n.paraui-input-number > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-input-wrap {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.paraui-input-number > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-input-wrap > input {\n width: 100%;\n height: 100%;\n border: 0;\n border-radius: 4px;\n padding: 10px 12px;\n background: transparent;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-input-number > .input-number-content > .input-number-content-within > .paraui-input-number-rc.paraui-input-number-rc-out-of-range > .paraui-input-number-rc-input-wrap > input {\n color: rgb(235, 96, 84);\n}\n.paraui-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: rgba(46, 55, 67, 0.4);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(235, 96, 84);\n}\n.paraui-input-number > .input-number-content > .input-number-content-after {\n width: 30px;\n color: rgb(46, 55, 67);\n border-left: 1px solid rgba(171, 176, 185, 0.4);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 30px);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap {\n position: absolute;\n top: 0;\n right: -30px;\n width: 30px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .tb-btn-top:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .tb-btn-top > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top:last-child {\n border-top: 1px solid;\n border-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .tb-btn-bottom:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .tb-btn-bottom > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-input-number.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom:last-child {\n border-top: 1px solid;\n border-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within {\n width: calc(100% - 60px);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n overflow: hidden;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .add-btn {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .add-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up.paraui-input-number-rc-handler-up-disabled > .add-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .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: rgba(171, 176, 185, 0.12);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .add-btn:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .add-btn > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 20px;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .reduce-btn {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .reduce-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down.paraui-input-number-rc-handler-down-disabled > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .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: rgba(171, 176, 185, 0.12);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .reduce-btn:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-input-number.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 20px;\n}\n.paraui-input-number.paraui-input-number-focus > .input-number-content {\n border-color: rgb(54, 102, 214);\n}\n.paraui-input-number.paraui-input-number-error > .input-number-content {\n border-color: rgb(235, 96, 84);\n}\n.paraui-input-number.paraui-input-number-error > .input-number-content:hover {\n border-color: rgb(235, 96, 84);\n}\n.paraui-input-number.paraui-input-number-disabled > .input-number-content {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-input-number.paraui-input-number-disabled > .input-number-content:hover {\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .add-btn {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .add-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-add.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .add-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .reduce-btn {\n cursor: not-allowed;\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .reduce-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-disabled-reduce.paraui-input-number-lr > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-input-number.paraui-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-input-number.paraui-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-input-number.paraui-input-number-small.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top > svg {\n font-size: 13px;\n}\n.paraui-input-number.paraui-input-number-small.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom > svg {\n font-size: 13px;\n}\n.paraui-input-number.paraui-input-number-medium > .input-number-content {\n height: 32px;\n}\n.paraui-input-number.paraui-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-input-number.paraui-input-number-medium.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top > svg {\n font-size: 15px;\n}\n.paraui-input-number.paraui-input-number-medium.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom > svg {\n font-size: 15px;\n}\n.paraui-input-number.paraui-input-number-large > .input-number-content {\n height: 36px;\n}\n.paraui-input-number.paraui-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 34px;\n}\n.paraui-input-number.paraui-input-number-large.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-up > .tb-btn-top > svg {\n font-size: 17px;\n}\n.paraui-input-number.paraui-input-number-large.paraui-input-number-tb > .input-number-content > .input-number-content-within > .paraui-input-number-rc > .paraui-input-number-rc-handler-wrap > .paraui-input-number-rc-handler-down > .tb-btn-bottom > svg {\n font-size: 17px;\n}";
21
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-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}\n.paraui-v3-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgba(171, 176, 185, 0.4);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v3-input-number > .input-number-content:hover {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-before {\n width: 30px;\n color: rgb(46, 55, 67);\n border-right: 1px solid rgba(171, 176, 185, 0.4);\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-within > .component {\n width: 100%;\n height: 100%;\n}\n.paraui-v3-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-v3-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 12px;\n background: transparent;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-within > .component.component-out-of-range > .component-input-wrap > input {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-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: rgba(46, 55, 67, 0.4);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(235, 96, 84);\n}\n.paraui-v3-input-number > .input-number-content > .input-number-content-after {\n width: 30px;\n color: rgb(46, 55, 67);\n border-left: 1px solid rgba(171, 176, 185, 0.4);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 30px);\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n top: 0;\n right: -30px;\n width: 30px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v3-input-number.paraui-v3-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-v3-input-number.paraui-v3-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: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-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: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-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: center;\n justify-content: center;\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-input-number.paraui-v3-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(54, 102, 214);\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:last-child {\n border-top: 1px solid;\n border-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-input-number.paraui-v3-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-v3-input-number.paraui-v3-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: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-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: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-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: center;\n justify-content: center;\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-input-number.paraui-v3-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(54, 102, 214);\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-input-number.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:last-child {\n border-top: 1px solid;\n border-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within {\n width: calc(100% - 60px);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n overflow: hidden;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .add-btn {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .add-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .add-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .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: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .add-btn:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .add-btn > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 20px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .reduce-btn {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .reduce-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .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: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .reduce-btn:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-input-number.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 20px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-focus > .input-number-content {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-input-number.paraui-v3-input-number-error > .input-number-content {\n border-color: rgb(235, 96, 84);\n}\n.paraui-v3-input-number.paraui-v3-input-number-error > .input-number-content:hover {\n border-color: rgb(235, 96, 84);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled > .input-number-content {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled > .input-number-content:hover {\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-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-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .add-btn {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .add-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-add.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .add-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-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-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .reduce-btn {\n cursor: not-allowed;\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .reduce-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-disabled-reduce.paraui-v3-input-number-lr > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .reduce-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-input-number.paraui-v3-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-small.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 13px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-small.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 13px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-medium > .input-number-content {\n height: 32px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-medium.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 15px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-medium.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 15px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-large > .input-number-content {\n height: 36px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 34px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-large.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 17px;\n}\n.paraui-v3-input-number.paraui-v3-input-number-large.paraui-v3-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 17px;\n}";
21
22
  styleInject(css_248z);
22
23
 
23
24
  var InputNumber = function InputNumber(props) {
@@ -50,6 +51,7 @@ var InputNumber = function InputNumber(props) {
50
51
  required = _props$required === void 0 ? false : _props$required,
51
52
  _props$error = props.error,
52
53
  error = _props$error === void 0 ? false : _props$error,
54
+ hideErrorDom = props.hideErrorDom,
53
55
  _props$helperText = props.helperText,
54
56
  helperText = _props$helperText === void 0 ? '' : _props$helperText,
55
57
  _props$keyboard = props.keyboard,
@@ -63,7 +65,7 @@ var InputNumber = function InputNumber(props) {
63
65
  onEnter = props.onEnter,
64
66
  onBlur = props.onBlur,
65
67
  onFocus = props.onFocus,
66
- otherProps = __rest(props, ["className", "style", "step", "min", "max", "size", "placeholder", "label", "labelTooltip", "labelMode", "labelSign", "btnMode", "disabled", "readOnly", "disabledAdd", "disabledReduce", "required", "error", "helperText", "keyboard", "autoFocus", "formatter", "parser", "value", "onChange", "onEnter", "onBlur", "onFocus"]);
68
+ otherProps = __rest(props, ["className", "style", "step", "min", "max", "size", "placeholder", "label", "labelTooltip", "labelMode", "labelSign", "btnMode", "disabled", "readOnly", "disabledAdd", "disabledReduce", "required", "error", "hideErrorDom", "helperText", "keyboard", "autoFocus", "formatter", "parser", "value", "onChange", "onEnter", "onBlur", "onFocus"]);
67
69
 
68
70
  var _useState = useState(false),
69
71
  _useState2 = _slicedToArray(_useState, 2),
@@ -254,15 +256,15 @@ var InputNumber = function InputNumber(props) {
254
256
 
255
257
 
256
258
  var handClass = function handClass() {
257
- var str = 'paraui-input-number';
259
+ var str = $prefixCls + '-input-number';
258
260
  if (className) str += ' ' + className;
259
- if (size) str += ' paraui-input-number-' + size;
260
- if (btnMode) str += ' paraui-input-number-' + btnMode;
261
- if (focus) str += ' paraui-input-number-focus';
262
- if (disabled) str += ' paraui-input-number-disabled';
263
- if (disabledAdd) str += ' paraui-input-number-disabled-add';
264
- if (disabledReduce) str += ' paraui-input-number-disabled-reduce';
265
- if (error) str += ' paraui-input-number-error';
261
+ if (size) str += " ".concat($prefixCls, "-input-number-").concat(size);
262
+ if (btnMode) str += " ".concat($prefixCls, "-input-number-").concat(btnMode);
263
+ if (focus) str += " ".concat($prefixCls, "-input-number-focus");
264
+ if (disabled) str += " ".concat($prefixCls, "-input-number-disabled");
265
+ if (disabledAdd) str += " ".concat($prefixCls, "-input-number-disabled-add");
266
+ if (disabledReduce) str += " ".concat($prefixCls, "-input-number-disabled-reduce");
267
+ if (error) str += " ".concat($prefixCls, "-input-number-error");
266
268
  return str;
267
269
  };
268
270
 
@@ -288,7 +290,7 @@ var InputNumber = function InputNumber(props) {
288
290
  readOnly: readOnly,
289
291
  formatter: formatter,
290
292
  parser: parser,
291
- prefixCls: 'paraui-input-number-rc',
293
+ prefixCls: $rcPrefixCls,
292
294
  upHandler: addonBeforeDom(true),
293
295
  downHandler: addonAfterDom(true),
294
296
  onChange: onChangeCom,
@@ -300,7 +302,8 @@ var InputNumber = function InputNumber(props) {
300
302
  })), jsx(HelperText, {
301
303
  className: "input-number-error-text",
302
304
  error: error,
303
- helperText: helperText
305
+ helperText: helperText,
306
+ hideErrorDom: hideErrorDom
304
307
  })]
305
308
  }));
306
309
  };
package/Label/index.d.ts CHANGED
@@ -8,6 +8,8 @@ import './index.scss';
8
8
  export interface LabelTooltipProps {
9
9
  /** 样式class */
10
10
  className?: string;
11
+ /** 帮组className */
12
+ helpClassName?: string;
11
13
  /** 样式 */
12
14
  style?: React.CSSProperties;
13
15
  /** 配置提示信息 */
package/Label/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import Help from '../Help/index.js';
3
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
3
4
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
4
5
  import '../_verture/tslib.es6-55ed4bd2.js';
5
6
  import '../Tooltip/index.js';
@@ -10,11 +11,12 @@ import 'rc-tooltip/lib/placements';
10
11
  import 'clsx';
11
12
  import '@para-ui/icons/Help';
12
13
 
13
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2022/3/23 8:29 PM\n* @description 标题\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-label {\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 color: rgba(46, 55, 67, 0.7);\n margin-bottom: 8px;\n display: inline-block;\n line-height: 1.43;\n word-break: break-all;\n}\n.paraui-label > .paraui-label-required {\n margin-left: 2px;\n color: rgb(235, 96, 84);\n}\n.paraui-label > .paraui-help {\n vertical-align: top;\n margin-left: 4px;\n}\n.paraui-label > .paraui-help svg {\n color: rgba(46, 55, 67, 0.4);\n vertical-align: top;\n position: relative;\n top: 2px;\n}\n.paraui-label.paraui-label-line.paraui-label-tooltip {\n border-bottom: 1px dashed rgba(46, 55, 67, 0.4);\n padding-bottom: 2px;\n}";
14
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2022/3/23 8:29 PM\n* @description 标题\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-label {\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 color: rgba(46, 55, 67, 0.7);\n margin-bottom: 8px;\n display: inline-block;\n line-height: 1.43;\n word-break: break-all;\n}\n.paraui-v3-label > .label-required {\n margin-left: 2px;\n color: rgb(235, 96, 84);\n}\n.paraui-v3-label > .paraui-v3-help {\n vertical-align: top;\n margin-left: 4px;\n}\n.paraui-v3-label > .paraui-v3-help svg {\n color: rgba(46, 55, 67, 0.4);\n vertical-align: top;\n position: relative;\n top: 2px;\n}\n.paraui-v3-label.paraui-v3-label-line.paraui-v3-label-tooltip {\n border-bottom: 1px dashed rgba(46, 55, 67, 0.4);\n padding-bottom: 2px;\n}";
14
15
  styleInject(css_248z);
15
16
 
16
17
  var Label = function Label(props) {
17
18
  var className = props.className,
19
+ helpClassName = props.helpClassName,
18
20
  style = props.style,
19
21
  label = props.label,
20
22
  labelSign = props.labelSign,
@@ -28,9 +30,9 @@ var Label = function Label(props) {
28
30
  tooltipIcon = props.tooltipIcon; // 处理class
29
31
 
30
32
  var handClass = function handClass() {
31
- var str = 'paraui-label';
32
- if (tooltipType) str += ' paraui-label-' + tooltipType;
33
- if (tooltip) str += ' paraui-label-tooltip';
33
+ var str = $prefixCls + '-label';
34
+ if (tooltipType) str += " ".concat($prefixCls, "-label-").concat(tooltipType);
35
+ if (tooltip) str += " ".concat($prefixCls, "-label-tooltip");
34
36
  if (className) str += ' ' + className;
35
37
  return str;
36
38
  };
@@ -43,7 +45,7 @@ var Label = function Label(props) {
43
45
  children: [jsx(Fragment, {
44
46
  children: label
45
47
  }), required && jsx("span", Object.assign({
46
- className: "paraui-label-required"
48
+ className: "label-required"
47
49
  }, {
48
50
  children: "*"
49
51
  })), labelSign && jsx("span", {
@@ -51,14 +53,16 @@ var Label = function Label(props) {
51
53
  }), tooltip && jsx(Help, Object.assign({
52
54
  title: tooltip,
53
55
  placement: placement,
54
- arrow: arrow
56
+ arrow: arrow,
57
+ className: helpClassName
55
58
  }, {
56
59
  children: tooltipIcon
57
60
  }))]
58
61
  })), tooltipType === 'line' && jsx(Help, Object.assign({
59
62
  title: tooltip || '',
60
63
  placement: placement,
61
- arrow: arrow
64
+ arrow: arrow,
65
+ className: helpClassName
62
66
  }, {
63
67
  children: jsxs("label", Object.assign({
64
68
  className: handClass(),
@@ -67,7 +71,7 @@ var Label = function Label(props) {
67
71
  children: [jsx(Fragment, {
68
72
  children: label
69
73
  }), required && jsx("span", Object.assign({
70
- className: "paraui-label-required"
74
+ className: "label-required"
71
75
  }, {
72
76
  children: "*"
73
77
  })), labelSign && jsx("span", {
package/Loading/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useRef, useEffect } from 'react';
3
3
  import LoadingOutlined from '@para-ui/icons/LoadingF';
4
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
4
5
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
5
6
 
6
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n@keyframes rotateLoading {\n 0% {\n transformOrigin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-loading {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.paraui-loading .paraui-loading-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: white;\n z-index: 1;\n}\n.paraui-loading .paraui-loading-box {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 2;\n}\n.paraui-loading .paraui-loading-box > svg {\n transition: all 0.3s ease-in-out;\n animation: rotateLoading 1s infinite linear;\n font-size: 20px;\n}";
7
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-loading {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n@keyframes rotateLoading {\n 0% {\n transformOrigin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v3-loading .loading-mask {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: white;\n z-index: 100;\n}\n.paraui-v3-loading .loading-box {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 101;\n}\n.paraui-v3-loading .loading-box > svg {\n transition: all 0.3s ease-in-out;\n animation: rotateLoading 1s infinite linear;\n font-size: 20px;\n}";
7
8
  styleInject(css_248z);
8
9
 
9
10
  var Loading = function Loading(props) {
@@ -21,7 +22,7 @@ var Loading = function Loading(props) {
21
22
  }, []); // 处理class
22
23
 
23
24
  var handClass = function handClass() {
24
- var str = 'paraui-loading';
25
+ var str = "".concat($prefixCls, "-loading");
25
26
  if (className) str += ' ' + className;
26
27
  return str;
27
28
  };
@@ -32,11 +33,11 @@ var Loading = function Loading(props) {
32
33
  ref: dom
33
34
  }, {
34
35
  children: [jsx("div", Object.assign({
35
- className: "paraui-loading-box"
36
+ className: "loading-box"
36
37
  }, {
37
38
  children: jsx(LoadingOutlined, {})
38
39
  })), jsx("div", {
39
- className: "paraui-loading-mask",
40
+ className: "loading-mask",
40
41
  style: {
41
42
  opacity: opacity
42
43
  }