@para-ui/core 4.0.60 → 4.0.62

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 (113) hide show
  1. package/Anchor/index.js +1 -0
  2. package/Argv/index.js +2 -1
  3. package/AutoButton/index.js +2 -2
  4. package/AutoTips/index.js +5 -6
  5. package/Breadcrumbs/index.js +1 -1
  6. package/Button/index.js +2 -1
  7. package/ButtonGroup/index.js +2 -1
  8. package/Card/index.js +33 -23
  9. package/Cascader/index.js +3 -2
  10. package/ComboSelect/index.js +3 -3
  11. package/CopyText/index.js +1 -0
  12. package/CycleSelector/index.js +2 -1
  13. package/DatePicker/index.js +2 -1
  14. package/Descriptions/index.js +2 -1
  15. package/Desktop/index.js +2 -1
  16. package/Drawer/index.js +2 -1
  17. package/DynamicMultiBox/index.js +3 -3
  18. package/Form/index.js +4 -4
  19. package/FormItem/index.js +4 -4
  20. package/FunctionModal/index.js +4 -3
  21. package/InputCode/index.js +2 -1
  22. package/InputLang/index.d.ts +2 -0
  23. package/InputLang/index.js +11 -2
  24. package/InputNumber/index.d.ts +4 -0
  25. package/InputNumber/index.js +84 -78
  26. package/Menu/index.js +1 -0
  27. package/Modal/index.js +2 -1
  28. package/MultiBox/index.js +1 -0
  29. package/OperateBtn/index.js +2 -1
  30. package/PageHeader/index.js +2 -1
  31. package/Pagination/index.js +2 -1
  32. package/PopConfirm/index.js +2 -1
  33. package/PopMenu/index.js +1 -0
  34. package/QuickReply/index.js +2 -1
  35. package/README.md +12 -0
  36. package/Result/index.js +1 -0
  37. package/Search/index.js +1 -0
  38. package/Select/index.js +1 -0
  39. package/SelectInput/index.js +1 -0
  40. package/Selector/index.js +1 -1
  41. package/SelectorPicker/index.js +1 -1
  42. package/SingleBox/index.js +1 -0
  43. package/Stepper/index.js +1 -0
  44. package/Table/index.js +2 -2
  45. package/Tabs/index.js +2 -1
  46. package/Tag/index.js +1 -0
  47. package/TextField/index.js +1 -0
  48. package/TimePicker/index.js +2 -1
  49. package/Title/index.js +1 -0
  50. package/ToggleButton/index.js +2 -1
  51. package/Transfer/index.js +2 -1
  52. package/Tree/index.js +3 -2
  53. package/Upload/index.js +2 -1
  54. package/Utils/Hooks/useResizeObserver.d.ts +2 -0
  55. package/_verture/{index-7558fb61.js → index-0163a7b0.js} +1 -1
  56. package/_verture/{useResizeObserver-960e470e.js → useResizeObserver-edda059a.js} +16 -1
  57. package/index.js +6 -6
  58. package/package.json +1 -1
  59. package/umd/Anchor.js +1 -1
  60. package/umd/Argv.js +7 -7
  61. package/umd/AutoButton.js +2 -2
  62. package/umd/AutoTips.js +3 -3
  63. package/umd/Breadcrumbs.js +2 -2
  64. package/umd/Button.js +1 -1
  65. package/umd/ButtonGroup.js +1 -1
  66. package/umd/Card.js +1 -1
  67. package/umd/Cascader.js +1 -1
  68. package/umd/ComboSelect.js +3 -3
  69. package/umd/CopyText.js +1 -1
  70. package/umd/CycleSelector.js +1 -1
  71. package/umd/DatePicker.js +1 -1
  72. package/umd/Descriptions.js +1 -1
  73. package/umd/Desktop.js +1 -1
  74. package/umd/Drawer.js +1 -1
  75. package/umd/DynamicMultiBox.js +2 -2
  76. package/umd/Form.js +6 -6
  77. package/umd/FormItem.js +6 -6
  78. package/umd/FunctionModal.js +1 -1
  79. package/umd/InputCode.js +1 -1
  80. package/umd/InputLang.js +2 -2
  81. package/umd/InputNumber.js +5 -5
  82. package/umd/Menu.js +1 -1
  83. package/umd/Modal.js +1 -1
  84. package/umd/MultiBox.js +1 -1
  85. package/umd/OperateBtn.js +1 -1
  86. package/umd/PageHeader.js +1 -1
  87. package/umd/Pagination.js +1 -1
  88. package/umd/PopConfirm.js +1 -1
  89. package/umd/PopMenu.js +1 -1
  90. package/umd/QuickReply.js +1 -1
  91. package/umd/RangeInput.js +5 -5
  92. package/umd/Result.js +1 -1
  93. package/umd/Search.js +1 -1
  94. package/umd/Select.js +1 -1
  95. package/umd/SelectInput.js +1 -1
  96. package/umd/Selector.js +2 -2
  97. package/umd/SelectorPicker.js +1 -1
  98. package/umd/SingleBox.js +1 -1
  99. package/umd/Stepper.js +1 -1
  100. package/umd/Table.js +2 -2
  101. package/umd/Tabs.js +1 -1
  102. package/umd/Tag.js +1 -1
  103. package/umd/TextField.js +1 -1
  104. package/umd/TimePicker.js +1 -1
  105. package/umd/Title.js +1 -1
  106. package/umd/ToggleButton.js +1 -1
  107. package/umd/Transfer.js +1 -1
  108. package/umd/Tree.js +1 -1
  109. package/umd/Upload.js +1 -1
  110. /package/_verture/{index-320d67c4.js → index-09404080.js} +0 -0
  111. /package/_verture/{index-0a300edb.js → index-78f0f0e7.js} +0 -0
  112. /package/_verture/{index-cd9ede02.js → index-98ae8a30.js} +0 -0
  113. /package/_verture/{modalContext-ce07f2de.js → modalContext-e3beaf4b.js} +0 -0
@@ -16,14 +16,14 @@ import 'rc-tooltip';
16
16
  import 'rc-tooltip/lib/placements';
17
17
  import '@para-ui/icons/Forbid';
18
18
 
19
- 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(46, 101, 230);\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(46, 101, 230);\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(46, 101, 230);\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 color: rgb(92, 101, 115);\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}";
19
+ 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}\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(46, 101, 230);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n flex: 1;\n overflow: hidden;\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-handler-wrap {\n display: none;\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 10px 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-before {\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgb(29, 33, 38);\n padding-left: 10px;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-after {\n display: flex;\n align-items: center;\n justify-content: center;\n color: rgb(29, 33, 38);\n padding-left: 10px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-none > .input-number-content > .input-number-content-after {\n padding-right: 10px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-after > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n padding: 10px 0px 10px 10px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n padding: 10px 0px 10px 10px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-btn {\n width: 34px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .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-btn > .tb-btn-top:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .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-btn > .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-btn > .tb-btn-bottom:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .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 color: rgb(92, 101, 115);\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.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled.paraui-v4-input-number-tb > .input-number-content > .input-number-btn > .tb-btn-bottom > 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-btn > .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-btn > .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-btn > .tb-btn-top > 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-btn > .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-btn > .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-btn > .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 > .input-number-content-after, .paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content-before {\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-btn > .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-btn > .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 > .input-number-content > .input-number-content-after, .paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content > .input-number-content-before {\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-btn > .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-btn > .tb-btn-bottom > svg {\n font-size: 14px;\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 > .input-number-content > .input-number-content-after, .paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content > .input-number-content-before {\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-btn > .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-btn > .tb-btn-bottom > svg {\n font-size: 14px;\n}";
20
20
  styleInject(css_248z);
21
21
 
22
22
  const InputNumber = props => {
23
23
  const {
24
24
  className,
25
25
  style,
26
- step,
26
+ step = 1,
27
27
  min,
28
28
  max,
29
29
  size = 'large',
@@ -52,9 +52,11 @@ const InputNumber = props => {
52
52
  onChange,
53
53
  onEnter,
54
54
  onBlur,
55
- onFocus
55
+ onFocus,
56
+ addonBefore,
57
+ addonAfter
56
58
  } = props,
57
- otherProps = __rest(props, ["className", "style", "step", "min", "max", "size", "placeholder", "label", "labelTooltip", "labelMode", "labelSign", "btnMode", "disabled", "disabledTooltip", "disabledTooltipAdd", "disabledTooltipReduce", "readOnly", "disabledAdd", "disabledReduce", "required", "error", "hideErrorDom", "helperText", "keyboard", "autoFocus", "formatter", "parser", "value", "onChange", "onEnter", "onBlur", "onFocus"]);
59
+ otherProps = __rest(props, ["className", "style", "step", "min", "max", "size", "placeholder", "label", "labelTooltip", "labelMode", "labelSign", "btnMode", "disabled", "disabledTooltip", "disabledTooltipAdd", "disabledTooltipReduce", "readOnly", "disabledAdd", "disabledReduce", "required", "error", "hideErrorDom", "helperText", "keyboard", "autoFocus", "formatter", "parser", "value", "onChange", "onEnter", "onBlur", "onFocus", "addonBefore", "addonAfter"]);
58
60
  const [focus, setFocus] = useState(false); // 是否获取焦点
59
61
  const [valueCom, setValueCom] = useState();
60
62
  const inputRef = useRef(null);
@@ -71,16 +73,6 @@ const InputNumber = props => {
71
73
  if (props.value === undefined) return valueCom;
72
74
  return value;
73
75
  };
74
- const add = e => {
75
- if (disabled || disabledAdd || readOnly) {
76
- e.stopPropagation();
77
- }
78
- };
79
- const reduce = e => {
80
- if (disabled || disabledReduce || readOnly) {
81
- e.stopPropagation();
82
- }
83
- };
84
76
  const clickPlaceholder = () => {
85
77
  if (disabled || readOnly) return;
86
78
  const dom = inputRef && inputRef.current;
@@ -96,6 +88,31 @@ const InputNumber = props => {
96
88
  setFocus(false);
97
89
  onBlur && onBlur(event);
98
90
  };
91
+ /*
92
+ * 进度计算
93
+ * */
94
+ const preciseOperation = function (operation) {
95
+ const precision = Math.pow(10, 12); // 12位精度
96
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
97
+ args[_key - 1] = arguments[_key];
98
+ }
99
+ const scaled = args.map(n => Math.round(n * precision));
100
+ const result = scaled.reduce(operation) / precision;
101
+ return parseFloat(result.toFixed(12));
102
+ };
103
+ /* 点击加减按钮 */
104
+ const onClickBtn = type => () => {
105
+ if (type === 'add' && (disabled || disabledAdd || readOnly)) return;
106
+ if (type === 'reduce' && (disabled || disabledReduce || readOnly)) return;
107
+ const val = valueCom === undefined ? 0 : Number(valueCom);
108
+ let valH;
109
+ if (type === 'add') {
110
+ valH = preciseOperation((a, b) => a + b, val, step);
111
+ } else {
112
+ valH = preciseOperation((a, b) => a - b, val, step);
113
+ }
114
+ onChangeCom(valH);
115
+ };
99
116
  /** 改变事件 */
100
117
  const onChangeCom = val => {
101
118
  if (props.value === undefined) {
@@ -146,71 +163,58 @@ const InputNumber = props => {
146
163
  children: handPlaceholderCom()
147
164
  }));
148
165
  };
149
- // 后
150
- const addonAfterDom = bol => {
151
- if (btnMode === 'none') return undefined;
152
- if (bol) return jsx(Tooltip, Object.assign({
153
- disabled: true,
154
- placement: 'bottom-end'
155
- }, disabledTooltipReduce, {
156
- children: jsx("span", Object.assign({
157
- className: "tb-btn-bottom",
158
- onMouseDown: reduce
166
+ /*
167
+ * 后缀
168
+ * */
169
+ const addonAfterDom = () => {
170
+ if (addonAfter) {
171
+ return jsx("div", Object.assign({
172
+ className: "input-number-content-after"
159
173
  }, {
160
- children: jsx(Down, {})
161
- }))
162
- }));
163
- return jsx("div", {
164
- className: "input-number-content-after"
165
- });
166
- /*if (disabled || readOnly) return undefined;
167
- // 上下
168
- if (btnMode === 'tb') {
169
- if (bol) return (
170
- <span className="tb-btn-bottom" onMouseDown={reduce}><Down /></span>
171
- )
172
- return (
173
- <div className="input-number-content-after"></div>
174
- )
175
- }
176
- // 左右
177
- if (btnMode === 'lr') {
178
- if (bol) return <span className="reduce-btn" onMouseDown={reduce}><Minus /></span>
179
- return (
180
- <div className="input-number-content-after"></div>
181
- );
182
- }
183
- return undefined;*/
174
+ children: addonAfter
175
+ }));
176
+ }
184
177
  };
185
- // 前
186
- const addonBeforeDom = bol => {
187
- if (btnMode === 'none') return undefined;
188
- if (bol) return jsx(Tooltip, Object.assign({
189
- disabled: true,
190
- placement: 'top-end'
191
- }, disabledTooltipAdd, {
192
- children: jsx("span", Object.assign({
193
- className: "tb-btn-top",
194
- onMouseDown: add
178
+ /*
179
+ * 前缀
180
+ * */
181
+ const addonBeforeDom = () => {
182
+ if (addonBefore) {
183
+ return jsx("div", Object.assign({
184
+ className: "input-number-content-before"
195
185
  }, {
196
- children: jsx(ExpandLess, {})
197
- }))
186
+ children: addonBefore
187
+ }));
188
+ }
189
+ };
190
+ /* 处理加减按钮 */
191
+ const handleInputNumberBtn = () => {
192
+ if (btnMode === 'none') return null;
193
+ return jsxs("div", Object.assign({
194
+ className: 'input-number-btn'
195
+ }, {
196
+ children: [jsx(Tooltip, Object.assign({
197
+ disabled: true,
198
+ placement: 'top-end'
199
+ }, disabledTooltipAdd, {
200
+ children: jsx("span", Object.assign({
201
+ className: "tb-btn-top",
202
+ onClick: onClickBtn('add')
203
+ }, {
204
+ children: jsx(ExpandLess, {})
205
+ }))
206
+ })), jsx(Tooltip, Object.assign({
207
+ disabled: true,
208
+ placement: 'bottom-end'
209
+ }, disabledTooltipReduce, {
210
+ children: jsx("span", Object.assign({
211
+ className: "tb-btn-bottom",
212
+ onClick: onClickBtn('reduce')
213
+ }, {
214
+ children: jsx(Down, {})
215
+ }))
216
+ }))]
198
217
  }));
199
- return undefined;
200
- /*if (disabled || readOnly) return undefined;
201
- // 上下
202
- if (btnMode === 'tb') {
203
- if (bol) return <span className="tb-btn-top" onMouseDown={add}><ExpandLess /></span>
204
- return undefined;
205
- }
206
- // 左右
207
- if (btnMode === 'lr') {
208
- if (bol) return <span className="add-btn" onMouseDown={add}><Plus /></span>;
209
- return (
210
- <div className="input-number-content-before"></div>
211
- );
212
- }
213
- return undefined;*/
214
218
  };
215
219
  /** 内容渲染 */
216
220
  const contentRender = () => {
@@ -233,14 +237,14 @@ const InputNumber = props => {
233
237
  formatter: formatter,
234
238
  parser: parser,
235
239
  prefixCls: $rcPrefixCls,
236
- upHandler: addonBeforeDom(true),
237
- downHandler: addonAfterDom(true),
240
+ //upHandler={addonBeforeDom(true)}
241
+ //downHandler={addonAfterDom(true)}
238
242
  onChange: onChangeCom,
239
243
  onFocus: onFocusCom,
240
244
  onBlur: onBlurCom,
241
245
  onPressEnter: onEnter
242
246
  }, otherProps)), handPlaceholderLabel()]
243
- })), addonAfterDom()]
247
+ })), addonAfterDom(), handleInputNumberBtn()]
244
248
  }));
245
249
  };
246
250
  /** 处理内容 */
@@ -267,6 +271,8 @@ const InputNumber = props => {
267
271
  if (disabledAdd) str += " ".concat($prefixCls, "-input-number-disabled-add");
268
272
  if (disabledReduce) str += " ".concat($prefixCls, "-input-number-disabled-reduce");
269
273
  if (error) str += " ".concat($prefixCls, "-input-number-error");
274
+ if (addonAfter) str += " ".concat($prefixCls, "-input-number-after");
275
+ if (addonBefore) str += " ".concat($prefixCls, "-input-number-before");
270
276
  return str;
271
277
  };
272
278
  return jsxs("div", Object.assign({
package/Menu/index.js CHANGED
@@ -18,6 +18,7 @@ import 'rc-tooltip';
18
18
  import 'rc-tooltip/lib/placements';
19
19
  import 'clsx';
20
20
  import '@para-ui/icons/Forbid';
21
+ import '../_verture/useResizeObserver-edda059a.js';
21
22
 
22
23
  const Logo = props => {
23
24
  const {
package/Modal/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import Dialog from 'rc-dialog';
5
- import { B as Button } from '../_verture/index-cd9ede02.js';
5
+ import { B as Button } from '../_verture/index-98ae8a30.js';
6
6
  import Close from '@para-ui/icons/Close';
7
7
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
8
8
  import { g as getConfirmLocale, l as localeJson } from '../_verture/index-ca413216.js';
@@ -26,6 +26,7 @@ import 'rc-dropdown';
26
26
  import '../_verture/usePopupContainer-635f66f4.js';
27
27
  import 'dayjs';
28
28
  import '@para-ui/icons/WarningCircle';
29
+ import '../_verture/useResizeObserver-edda059a.js';
29
30
 
30
31
  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: 16px;\n border-radius: 8px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n top: 16px;\n right: 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: 2px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n font-size: 18px;\n color: inherit;\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 26px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 10px;\n font-size: 14px;\n font-weight: 700;\n}\n.paraui-v4-confirm .confirm-content-actions {\n margin-top: 12px;\n text-align: right;\n}\n.paraui-v4-confirm .confirm-content-actions > button + button {\n margin-left: 16px;\n}";
31
32
  styleInject(css_248z$1);
package/MultiBox/index.js CHANGED
@@ -15,6 +15,7 @@ import '@para-ui/icons/PreviewClose';
15
15
  import '@para-ui/icons/PreviewOpen';
16
16
  import '@para-ui/icons/CloseCircleF';
17
17
  import '../AutoTips/index.js';
18
+ import '../_verture/useResizeObserver-edda059a.js';
18
19
  import 'rc-tooltip';
19
20
  import 'rc-tooltip/lib/placements';
20
21
  import 'clsx';
@@ -2,7 +2,7 @@ import { a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
3
3
  import { useState, Fragment } from 'react';
4
4
  import More from '@para-ui/icons/More';
5
- import { B as Button, P as PopConfirm } from '../_verture/index-cd9ede02.js';
5
+ import { B as Button, P as PopConfirm } from '../_verture/index-98ae8a30.js';
6
6
  import { Tooltip } from '../Tooltip/index.js';
7
7
  import { Popover } from '../Popover/index.js';
8
8
  import AutoTips from '../AutoTips/index.js';
@@ -24,6 +24,7 @@ import '@para-ui/icons/WarningCircleF';
24
24
  import 'rc-tooltip';
25
25
  import 'rc-tooltip/lib/placements';
26
26
  import '@para-ui/icons/Forbid';
27
+ import '../_verture/useResizeObserver-edda059a.js';
27
28
  import '../_verture/index-ca413216.js';
28
29
 
29
30
  var en = {
@@ -6,7 +6,7 @@ import * as iconList from '@para-ui/icons';
6
6
  import More from '@para-ui/icons/More';
7
7
  import { DeepClone, UUID } from '@paraview/lib';
8
8
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
9
- import { B as Button } from '../_verture/index-cd9ede02.js';
9
+ import { B as Button } from '../_verture/index-98ae8a30.js';
10
10
  import AutoTips from '../AutoTips/index.js';
11
11
  import Right from '@para-ui/icons/Right';
12
12
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
@@ -27,6 +27,7 @@ import '@para-ui/icons/CheckCircleF';
27
27
  import '@para-ui/icons/WarningCircle';
28
28
  import '@para-ui/icons/CloseCircleF';
29
29
  import '@para-ui/icons/WarningCircleF';
30
+ import '../_verture/useResizeObserver-edda059a.js';
30
31
 
31
32
  /**
32
33
  * @description 处理菜单标签
@@ -5,7 +5,7 @@ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-5317fc8
5
5
  import { TextField } from '../TextField/index.js';
6
6
  import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
7
7
  import Select from '../Select/index.js';
8
- import { B as Button } from '../_verture/index-cd9ede02.js';
8
+ import { B as Button } from '../_verture/index-98ae8a30.js';
9
9
  import NavigateBefore from '@para-ui/icons/Left';
10
10
  import PaginationCom from 'rc-pagination';
11
11
  import Right from '@para-ui/icons/Right';
@@ -26,6 +26,7 @@ import '@para-ui/icons/PreviewClose';
26
26
  import '@para-ui/icons/PreviewOpen';
27
27
  import '@para-ui/icons/CloseCircleF';
28
28
  import '../AutoTips/index.js';
29
+ import '../_verture/useResizeObserver-edda059a.js';
29
30
  import '../Loading/index.js';
30
31
  import '@para-ui/icons/LoadingF';
31
32
  import '../HelperText/index.js';
@@ -5,7 +5,7 @@ import '@para-ui/icons/CheckCircleF';
5
5
  import '@para-ui/icons/WarningCircle';
6
6
  import '@para-ui/icons/CloseCircleF';
7
7
  import '@para-ui/icons/WarningCircleF';
8
- export { P as PopConfirm, P as default } from '../_verture/index-cd9ede02.js';
8
+ export { P as PopConfirm, P as default } from '../_verture/index-98ae8a30.js';
9
9
  import '../Tooltip/index.js';
10
10
  import 'clsx';
11
11
  import '../_verture/useFormatMessage-1fc7c957.js';
@@ -19,6 +19,7 @@ import 'rc-dropdown';
19
19
  import 'dayjs';
20
20
  import '@paraview/lib';
21
21
  import '../AutoTips/index.js';
22
+ import '../_verture/useResizeObserver-edda059a.js';
22
23
  import 'rc-tooltip';
23
24
  import 'rc-tooltip/lib/placements';
24
25
  import '@para-ui/icons/Forbid';
package/PopMenu/index.js CHANGED
@@ -13,6 +13,7 @@ import { Tooltip } from '../Tooltip/index.js';
13
13
  import Help from '../Help/index.js';
14
14
  import '../_verture/usePopupContainer-635f66f4.js';
15
15
  import '@paraview/lib';
16
+ import '../_verture/useResizeObserver-edda059a.js';
16
17
  import 'rc-tooltip';
17
18
  import 'rc-tooltip/lib/placements';
18
19
  import '@para-ui/icons/Forbid';
@@ -3,7 +3,7 @@ import { useState, useRef } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
5
5
  import { d as dist } from '../_verture/index-0f5ee6f7.js';
6
- import { B as Button, P as PopConfirm } from '../_verture/index-cd9ede02.js';
6
+ import { B as Button, P as PopConfirm } from '../_verture/index-98ae8a30.js';
7
7
  import { Checkbox } from '../Checkbox/index.js';
8
8
  import { TextField } from '../TextField/index.js';
9
9
  import Empty from '../Empty/index.js';
@@ -43,6 +43,7 @@ import '../Loading/index.js';
43
43
  import '../HelperText/index.js';
44
44
  import '../_verture/useGlobalProps-4ae1a007.js';
45
45
  import '../_verture/index-ca413216.js';
46
+ import '../_verture/useResizeObserver-edda059a.js';
46
47
 
47
48
  var en = {
48
49
  back: 'Back',
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 🎉 para-ui/core@4.0.62 发布
2
+
3
+ 🎁【Feature】
4
+ - 【国际化输入框-InputLang】增加长度限制参数
5
+ - 【卡片-Card】修复外容器改变宽度,不重新计算
6
+
7
+ ## 🎉 para-ui/core@4.0.61 发布
8
+
9
+ 🎁【Feature】
10
+ - 【超出省略-AutoTips】多行超出,监听事件替换useResizeObserver
11
+ - 【数字输入框-InputNumber】增加前后缀参数addonAfter,addonBefore
12
+
1
13
  ## 🎉 para-ui/core@4.0.60 发布
2
14
 
3
15
  🎁【Feature】
package/Result/index.js CHANGED
@@ -13,6 +13,7 @@ import 'rc-tooltip';
13
13
  import 'rc-tooltip/lib/placements';
14
14
  import '@para-ui/icons/Forbid';
15
15
  import '@paraview/lib';
16
+ import '../_verture/useResizeObserver-edda059a.js';
16
17
 
17
18
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-result {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n@keyframes rotateLoading {\n 0% {\n transformOrigin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-result > .icon-box {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 30px;\n}\n.paraui-v4-result > .icon-box > .icon-bg {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n}\n.paraui-v4-result > .icon-box > .icon-bg > svg {\n font-size: 40px;\n}\n.paraui-v4-result > .title {\n color: rgb(29, 33, 38);\n font-size: 18px;\n font-weight: 700;\n max-width: 100%;\n margin-bottom: 4px;\n}\n.paraui-v4-result > .sub-title {\n max-width: 100%;\n font-size: 14px;\n color: rgb(92, 101, 115);\n text-align: center;\n}\n.paraui-v4-result > .footer {\n margin-top: 40px;\n}\n.paraui-v4-result.paraui-v4-result-success > .icon-box > .icon-bg {\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-success > .icon-box > .icon-bg > svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-result.paraui-v4-result-error > .icon-box > .icon-bg {\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-error > .icon-box > .icon-bg > svg {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-result.paraui-v4-result-loading > .icon-box > .icon-bg {\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-result.paraui-v4-result-loading > .icon-box > .icon-bg > svg {\n transition: all 0.3s ease-in-out;\n animation: rotateLoading 1s infinite linear;\n color: rgb(46, 101, 230);\n}";
18
19
  styleInject(css_248z);
package/Search/index.js CHANGED
@@ -18,6 +18,7 @@ import '@para-ui/icons/PreviewClose';
18
18
  import '@para-ui/icons/PreviewOpen';
19
19
  import '@para-ui/icons/CloseCircleF';
20
20
  import '../AutoTips/index.js';
21
+ import '../_verture/useResizeObserver-edda059a.js';
21
22
  import '../Loading/index.js';
22
23
  import '@para-ui/icons/LoadingF';
23
24
  import '../HelperText/index.js';
package/Select/index.js CHANGED
@@ -29,6 +29,7 @@ import '@para-ui/icons/Forbid';
29
29
  import 'rc-dropdown';
30
30
  import '../_verture/usePopupContainer-635f66f4.js';
31
31
  import 'dayjs';
32
+ import '../_verture/useResizeObserver-edda059a.js';
32
33
  import '@para-ui/icons/LoadingF';
33
34
 
34
35
  var en = {
@@ -27,6 +27,7 @@ import '@para-ui/icons/Down';
27
27
  import '@para-ui/icons/Check';
28
28
  import '@para-ui/icons/Search';
29
29
  import '../AutoTips/index.js';
30
+ import '../_verture/useResizeObserver-edda059a.js';
30
31
  import '../Loading/index.js';
31
32
  import '@para-ui/icons/LoadingF';
32
33
  import '../Popover/index.js';
package/Selector/index.js CHANGED
@@ -30,6 +30,7 @@ import 'clsx';
30
30
  import '@para-ui/icons/Forbid';
31
31
  import '@para-ui/icons/Help';
32
32
  import '../_verture/usePopupContainer-635f66f4.js';
33
+ import '../_verture/useResizeObserver-edda059a.js';
33
34
  import '@para-ui/icons/LoadingF';
34
35
  import '../_verture/index-ca413216.js';
35
36
  import '../TextField/index.js';
@@ -41,7 +42,6 @@ import 'rc-dropdown';
41
42
  import 'dayjs';
42
43
  import '@para-ui/icons/More';
43
44
  import '@para-ui/icons/Return';
44
- import '../_verture/useResizeObserver-960e470e.js';
45
45
 
46
46
  var en = {
47
47
  root: 'root',
@@ -38,10 +38,10 @@ import '@para-ui/icons/PreviewOpen';
38
38
  import '../_verture/useGlobalProps-4ae1a007.js';
39
39
  import '../_verture/index-ca413216.js';
40
40
  import '@para-ui/icons/Search';
41
+ import '../_verture/useResizeObserver-edda059a.js';
41
42
  import '../Breadcrumbs/index.js';
42
43
  import '@para-ui/icons/More';
43
44
  import '@para-ui/icons/Return';
44
- import '../_verture/useResizeObserver-960e470e.js';
45
45
  import '../Empty/index.js';
46
46
  import '@para-ui/icons/Refresh';
47
47
 
@@ -15,6 +15,7 @@ import '@para-ui/icons/PreviewClose';
15
15
  import '@para-ui/icons/PreviewOpen';
16
16
  import '@para-ui/icons/CloseCircleF';
17
17
  import '../AutoTips/index.js';
18
+ import '../_verture/useResizeObserver-edda059a.js';
18
19
  import 'rc-tooltip';
19
20
  import 'rc-tooltip/lib/placements';
20
21
  import 'clsx';
package/Stepper/index.js CHANGED
@@ -22,6 +22,7 @@ import 'rc-tooltip';
22
22
  import 'rc-tooltip/lib/placements';
23
23
  import '@para-ui/icons/Forbid';
24
24
  import '@paraview/lib';
25
+ import '../_verture/useResizeObserver-edda059a.js';
25
26
 
26
27
  //默认图标
27
28
  const Icons = {
package/Table/index.js CHANGED
@@ -8,7 +8,7 @@ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
8
  import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
9
9
  import { Popover } from '../Popover/index.js';
10
10
  import { Checkbox } from '../Checkbox/index.js';
11
- import { B as Button } from '../_verture/index-cd9ede02.js';
11
+ import { B as Button } from '../_verture/index-98ae8a30.js';
12
12
  import AutoTips from '../AutoTips/index.js';
13
13
  import Screen from '@para-ui/icons/ScreenF';
14
14
  import SolidArrowUp from '@para-ui/icons/UpTriangleF';
@@ -27,7 +27,7 @@ import { Pagination } from '../Pagination/index.js';
27
27
  import { Loading } from '../Loading/index.js';
28
28
  import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
29
29
  import ScrollBar from '../ScrollBar/index.js';
30
- import { u as useResizeObserver } from '../_verture/useResizeObserver-960e470e.js';
30
+ import { u as useResizeObserver } from '../_verture/useResizeObserver-edda059a.js';
31
31
  import '../Tooltip/index.js';
32
32
  import 'rc-tooltip';
33
33
  import 'rc-tooltip/lib/placements';
package/Tabs/index.js CHANGED
@@ -5,7 +5,7 @@ import RcTabs, { TabPane } from 'rc-tabs';
5
5
  import More from '@para-ui/icons/More';
6
6
  import Plus from '@para-ui/icons/Plus';
7
7
  import Close from '@para-ui/icons/Close';
8
- import { P as PopConfirm } from '../_verture/index-cd9ede02.js';
8
+ import { P as PopConfirm } from '../_verture/index-98ae8a30.js';
9
9
  import { Radio } from '../Radio/index.js';
10
10
  import Help from '../Help/index.js';
11
11
  import clsx from 'clsx';
@@ -21,6 +21,7 @@ import '../_verture/usePopupContainer-635f66f4.js';
21
21
  import 'dayjs';
22
22
  import '@paraview/lib';
23
23
  import '../AutoTips/index.js';
24
+ import '../_verture/useResizeObserver-edda059a.js';
24
25
  import 'rc-tooltip';
25
26
  import 'rc-tooltip/lib/placements';
26
27
  import '@para-ui/icons/Forbid';
package/Tag/index.js CHANGED
@@ -18,6 +18,7 @@ import 'rc-tooltip';
18
18
  import 'rc-tooltip/lib/placements';
19
19
  import '@para-ui/icons/Forbid';
20
20
  import '@paraview/lib';
21
+ import '../_verture/useResizeObserver-edda059a.js';
21
22
  import '../_verture/index-ca413216.js';
22
23
 
23
24
  var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上午9:43\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tag-outline.paraui-v4-tag {\n border: 0.5px solid rgb(92, 101, 115);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-blue {\n border: 0.5px solid rgb(46, 101, 230);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-green {\n border: 0.5px solid rgb(19, 191, 76);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-yellow {\n border: 0.5px solid rgb(255, 147, 38);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-red {\n border: 0.5px solid rgb(244, 66, 66);\n}\n\n.paraui-v4-tag-edit-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n\n.paraui-v4-tag {\n vertical-align: bottom;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n max-width: 100%;\n height: 24px;\n padding: 0 10px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n white-space: nowrap;\n background: rgb(234, 236, 241);\n border-radius: 2px;\n line-height: 18px;\n}\n.paraui-v4-tag .tag-custom-icon:hover {\n background: none !important;\n cursor: default;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-tag .tag-edit-icon {\n display: flex;\n}\n.paraui-v4-tag.paraui-v4-tag-small {\n height: 20px;\n font-size: 12px;\n padding: 0 6px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg {\n font-size: 12px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg + .paraui-v4-auto-tips {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-close-icon {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-edit-icon {\n font-size: 12px;\n}\n.paraui-v4-tag > svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-tag .tag-edit-icon {\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-edit-icon > svg {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tag .tag-close-icon {\n margin-left: 4px;\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n color: inherit;\n}\n.paraui-v4-tag > svg + .paraui-v4-auto-tips {\n margin-left: 4px;\n}\n.paraui-v4-tag.paraui-v4-tag-has-color, .paraui-v4-tag.paraui-v4-tag-has-color svg, .paraui-v4-tag.paraui-v4-tag-has-color svg:hover {\n color: inherit;\n}\n.paraui-v4-tag.paraui-v4-tag-blue {\n color: rgb(46, 101, 230);\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-green {\n color: rgb(19, 191, 76);\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-yellow {\n color: rgb(255, 147, 38);\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-red {\n color: rgb(244, 66, 66);\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-hidden {\n display: none;\n}\n\n.paraui-v4-tag-small svg {\n font-size: 12px;\n}\n\n.paraui-v4-tag-group {\n display: flex;\n align-items: center;\n flex-flow: row wrap;\n}\n.paraui-v4-tag-group .tag-group-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n.paraui-v4-tag-group .tag-group-input .tag-group-input-large {\n height: 28px;\n}\n.paraui-v4-tag-group .tag-group-new .tag-group-new-icon {\n padding: 0 5px;\n}\n.paraui-v4-tag-group .tag-group-add-btn {\n border: 1px dashed rgb(212, 218, 227);\n}\n.paraui-v4-tag-group .tag-group-add-btn .tag-edit-icon {\n background: none !important;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover {\n cursor: pointer;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover .tag-text {\n color: rgb(46, 101, 230);\n}";
@@ -20,6 +20,7 @@ import 'clsx';
20
20
  import 'rc-tooltip';
21
21
  import 'rc-tooltip/lib/placements';
22
22
  import '@para-ui/icons/Forbid';
23
+ import '../_verture/useResizeObserver-edda059a.js';
23
24
  import '@para-ui/icons/LoadingF';
24
25
  import '../_verture/index-ca413216.js';
25
26
  import 'rc-dropdown';
@@ -4,7 +4,7 @@ import React__default from 'react';
4
4
  import DatePicker from '../DatePicker/index.js';
5
5
  import { Tooltip } from '../Tooltip/index.js';
6
6
  import 'rc-picker/es/generate/dayjs';
7
- import '../_verture/index-cd9ede02.js';
7
+ import '../_verture/index-98ae8a30.js';
8
8
  import 'clsx';
9
9
  import '@para-ui/icons/LoadingF';
10
10
  import '@para-ui/icons/Down';
@@ -18,6 +18,7 @@ import '@paraview/lib';
18
18
  import '../_verture/useFormatMessage-1fc7c957.js';
19
19
  import '../_verture/index-ca413216.js';
20
20
  import '../AutoTips/index.js';
21
+ import '../_verture/useResizeObserver-edda059a.js';
21
22
  import 'rc-tooltip';
22
23
  import 'rc-tooltip/lib/placements';
23
24
  import '@para-ui/icons/Forbid';
package/Title/index.js CHANGED
@@ -12,6 +12,7 @@ import 'rc-tooltip';
12
12
  import 'rc-tooltip/lib/placements';
13
13
  import '@para-ui/icons/Forbid';
14
14
  import '@paraview/lib';
15
+ import '../_verture/useResizeObserver-edda059a.js';
15
16
  import '@para-ui/icons/Help';
16
17
  import 'rc-collapse';
17
18
  import '@para-ui/icons/Right';