@para-ui/core 4.0.60 → 4.0.61
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.
- package/Anchor/index.js +1 -1
- package/Argv/index.js +2 -2
- package/AutoButton/index.js +2 -3
- package/AutoTips/index.js +7 -249
- package/Breadcrumbs/index.js +1 -2
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +2 -2
- package/Cascader/index.js +3 -3
- package/ComboSelect/index.js +3 -4
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +2 -2
- package/DatePicker/index.js +5 -5
- package/Descriptions/index.js +2 -2
- package/Desktop/index.js +5 -5
- package/Drawer/index.js +2 -2
- package/DynamicMultiBox/index.js +3 -4
- package/Form/index.js +4 -5
- package/FormItem/index.js +4 -5
- package/FunctionModal/index.js +4 -4
- package/InputCode/index.js +2 -2
- package/InputLang/index.js +1 -1
- package/InputNumber/index.d.ts +4 -0
- package/InputNumber/index.js +84 -78
- package/Menu/index.js +1 -1
- package/Modal/index.js +2 -2
- package/MultiBox/index.js +5 -5
- package/OperateBtn/index.js +2 -2
- package/PageHeader/index.js +2 -2
- package/Pagination/index.js +2 -2
- package/PopConfirm/index.js +2 -2
- package/PopMenu/index.js +1 -1
- package/QuickReply/index.js +2 -2
- package/README.md +6 -0
- package/Result/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +1 -1
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +1 -2
- package/SelectorPicker/index.js +1 -2
- package/SingleBox/index.js +5 -5
- package/Stepper/index.js +1 -1
- package/Table/index.js +2 -3
- package/Tabs/index.js +5 -5
- package/Tag/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +5 -5
- package/Title/index.js +1 -1
- package/ToggleButton/index.js +2 -2
- package/Transfer/index.js +2 -2
- package/Tree/index.js +3 -3
- package/Upload/index.js +2 -2
- package/_verture/{index-320d67c4.js → index-2055d357.js} +1 -1
- package/_verture/{index-0a300edb.js → index-3f811a6c.js} +1 -1
- package/_verture/{index-cd9ede02.js → index-6bbcdc7f.js} +1 -1
- package/_verture/{index-7558fb61.js → index-7d115f38.js} +2 -2
- package/_verture/index-f62daef9.js +298 -0
- package/index.js +6 -7
- package/package.json +1 -1
- package/umd/Anchor.js +1 -1
- package/umd/Argv.js +7 -7
- package/umd/AutoButton.js +2 -2
- package/umd/AutoTips.js +3 -3
- package/umd/Breadcrumbs.js +2 -2
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/Cascader.js +1 -1
- package/umd/ComboSelect.js +2 -2
- package/umd/CopyText.js +1 -1
- package/umd/CycleSelector.js +1 -1
- package/umd/DatePicker.js +1 -1
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +1 -1
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Form.js +6 -6
- package/umd/FormItem.js +6 -6
- package/umd/FunctionModal.js +1 -1
- package/umd/InputCode.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/InputNumber.js +5 -5
- package/umd/Menu.js +1 -1
- package/umd/Modal.js +1 -1
- package/umd/MultiBox.js +1 -1
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/PopConfirm.js +1 -1
- package/umd/PopMenu.js +1 -1
- package/umd/QuickReply.js +1 -1
- package/umd/RangeInput.js +5 -5
- package/umd/Result.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Select.js +1 -1
- package/umd/SelectInput.js +1 -1
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +1 -1
- package/umd/SingleBox.js +1 -1
- package/umd/Stepper.js +1 -1
- package/umd/Table.js +2 -2
- package/umd/Tabs.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/Title.js +1 -1
- package/umd/ToggleButton.js +1 -1
- package/umd/Transfer.js +1 -1
- package/umd/Tree.js +1 -1
- package/umd/Upload.js +1 -1
- package/_verture/useResizeObserver-960e470e.js +0 -54
- /package/_verture/{modalContext-ce07f2de.js → modalContext-15114682.js} +0 -0
package/InputCode/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import HelperText from '../HelperText/index.js';
|
|
|
8
8
|
import { TextField } from '../TextField/index.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
import Label from '../Label/index.js';
|
|
11
|
-
import { B as Button } from '../_verture/index-
|
|
12
|
-
import AutoTips from '../
|
|
11
|
+
import { B as Button } from '../_verture/index-6bbcdc7f.js';
|
|
12
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
13
13
|
import '../_verture/index-ca413216.js';
|
|
14
14
|
import '@paraview/lib';
|
|
15
15
|
import '@para-ui/icons/PreviewClose';
|
package/InputLang/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useState, useRef, useEffect, useMemo } from 'react';
|
|
|
3
3
|
import { TextField } from '../TextField/index.js';
|
|
4
4
|
import HelperText from '../HelperText/index.js';
|
|
5
5
|
import { MultiBox } from '../MultiBox/index.js';
|
|
6
|
-
import AutoTips from '../
|
|
6
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
7
7
|
import { Popover } from '../Popover/index.js';
|
|
8
8
|
import Internet from '@para-ui/icons/Internet';
|
|
9
9
|
import { GetLanguage, ArrayToObject } from '@paraview/lib';
|
package/InputNumber/index.d.ts
CHANGED
|
@@ -64,6 +64,10 @@ export interface InputNumberProps extends HelperTextDetailProps {
|
|
|
64
64
|
defaultValue?: number | null;
|
|
65
65
|
/** 默认值 受控 */
|
|
66
66
|
value?: number | null;
|
|
67
|
+
/** 前缀 */
|
|
68
|
+
addonBefore?: ReactNode;
|
|
69
|
+
/** 后缀 */
|
|
70
|
+
addonAfter?: ReactNode;
|
|
67
71
|
/** 改变事件 number / null */
|
|
68
72
|
onChange?: (value: any) => void;
|
|
69
73
|
/** 回车事件 */
|
package/InputNumber/index.js
CHANGED
|
@@ -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
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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:
|
|
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
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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:
|
|
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
|
|
237
|
-
downHandler
|
|
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
|
@@ -6,7 +6,7 @@ import Down from '@para-ui/icons/Down';
|
|
|
6
6
|
import * as iconList from '@para-ui/icons';
|
|
7
7
|
import { UUID, DeepClone } from '@paraview/lib';
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
|
-
import AutoTips from '../
|
|
9
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
10
10
|
import MenuMoreLine from '@para-ui/icons/IndentRightFill';
|
|
11
11
|
import MenuLessLine from '@para-ui/icons/IndentLeftFill';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
package/Modal/index.js
CHANGED
|
@@ -2,14 +2,14 @@ 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-
|
|
5
|
+
import { B as Button } from '../_verture/index-6bbcdc7f.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';
|
|
9
9
|
import ReactDOM from 'react-dom';
|
|
10
10
|
import clsx from 'clsx';
|
|
11
11
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
12
|
-
import AutoTips from '../
|
|
12
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
13
13
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
14
|
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
15
15
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
package/MultiBox/index.js
CHANGED
|
@@ -14,11 +14,7 @@ import '@paraview/lib';
|
|
|
14
14
|
import '@para-ui/icons/PreviewClose';
|
|
15
15
|
import '@para-ui/icons/PreviewOpen';
|
|
16
16
|
import '@para-ui/icons/CloseCircleF';
|
|
17
|
-
import '../
|
|
18
|
-
import 'rc-tooltip';
|
|
19
|
-
import 'rc-tooltip/lib/placements';
|
|
20
|
-
import 'clsx';
|
|
21
|
-
import '@para-ui/icons/Forbid';
|
|
17
|
+
import '../_verture/index-f62daef9.js';
|
|
22
18
|
import '../Loading/index.js';
|
|
23
19
|
import '@para-ui/icons/LoadingF';
|
|
24
20
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
@@ -26,9 +22,13 @@ import '../_verture/index-ca413216.js';
|
|
|
26
22
|
import '../_verture/index-bde7aabe.js';
|
|
27
23
|
import 'rc-dropdown';
|
|
28
24
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
25
|
+
import 'clsx';
|
|
29
26
|
import 'dayjs';
|
|
30
27
|
import '../Help/index.js';
|
|
31
28
|
import '@para-ui/icons/Help';
|
|
29
|
+
import 'rc-tooltip';
|
|
30
|
+
import 'rc-tooltip/lib/placements';
|
|
31
|
+
import '@para-ui/icons/Forbid';
|
|
32
32
|
|
|
33
33
|
var en = {
|
|
34
34
|
add: 'Newly Added'
|
package/OperateBtn/index.js
CHANGED
|
@@ -2,10 +2,10 @@ 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-
|
|
5
|
+
import { B as Button, P as PopConfirm } from '../_verture/index-6bbcdc7f.js';
|
|
6
6
|
import { Tooltip } from '../Tooltip/index.js';
|
|
7
7
|
import { Popover } from '../Popover/index.js';
|
|
8
|
-
import AutoTips from '../
|
|
8
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
9
9
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
10
10
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
11
11
|
import clsx from 'clsx';
|
package/PageHeader/index.js
CHANGED
|
@@ -6,8 +6,8 @@ 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-
|
|
10
|
-
import AutoTips from '../
|
|
9
|
+
import { B as Button } from '../_verture/index-6bbcdc7f.js';
|
|
10
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
11
11
|
import Right from '@para-ui/icons/Right';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
13
13
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
package/Pagination/index.js
CHANGED
|
@@ -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-
|
|
8
|
+
import { B as Button } from '../_verture/index-6bbcdc7f.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';
|
|
@@ -25,7 +25,7 @@ import '@para-ui/icons/Help';
|
|
|
25
25
|
import '@para-ui/icons/PreviewClose';
|
|
26
26
|
import '@para-ui/icons/PreviewOpen';
|
|
27
27
|
import '@para-ui/icons/CloseCircleF';
|
|
28
|
-
import '../
|
|
28
|
+
import '../_verture/index-f62daef9.js';
|
|
29
29
|
import '../Loading/index.js';
|
|
30
30
|
import '@para-ui/icons/LoadingF';
|
|
31
31
|
import '../HelperText/index.js';
|
package/PopConfirm/index.js
CHANGED
|
@@ -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-
|
|
8
|
+
export { P as PopConfirm, P as default } from '../_verture/index-6bbcdc7f.js';
|
|
9
9
|
import '../Tooltip/index.js';
|
|
10
10
|
import 'clsx';
|
|
11
11
|
import '../_verture/useFormatMessage-1fc7c957.js';
|
|
@@ -18,7 +18,7 @@ import '../_verture/index-bde7aabe.js';
|
|
|
18
18
|
import 'rc-dropdown';
|
|
19
19
|
import 'dayjs';
|
|
20
20
|
import '@paraview/lib';
|
|
21
|
-
import '../
|
|
21
|
+
import '../_verture/index-f62daef9.js';
|
|
22
22
|
import 'rc-tooltip';
|
|
23
23
|
import 'rc-tooltip/lib/placements';
|
|
24
24
|
import '@para-ui/icons/Forbid';
|
package/PopMenu/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-599cd94a.js';
|
|
9
9
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-61604a6c.js';
|
|
10
10
|
import Right from '@para-ui/icons/Right';
|
|
11
|
-
import AutoTips from '../
|
|
11
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
12
12
|
import { Tooltip } from '../Tooltip/index.js';
|
|
13
13
|
import Help from '../Help/index.js';
|
|
14
14
|
import '../_verture/usePopupContainer-635f66f4.js';
|
package/QuickReply/index.js
CHANGED
|
@@ -3,11 +3,11 @@ 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-
|
|
6
|
+
import { B as Button, P as PopConfirm } from '../_verture/index-6bbcdc7f.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';
|
|
10
|
-
import AutoTips from '../
|
|
10
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
11
11
|
import Plus from '@para-ui/icons/Plus';
|
|
12
12
|
import Drag from '@para-ui/icons/Drag';
|
|
13
13
|
import Delete from '@para-ui/icons/Delete';
|
package/README.md
CHANGED
package/Result/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import AutoTips from '../
|
|
3
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
4
4
|
import Check from '@para-ui/icons/Check';
|
|
5
5
|
import Close from '@para-ui/icons/Close';
|
|
6
6
|
import Loading from '@para-ui/icons/Loading';
|
package/Search/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import '@paraview/lib';
|
|
|
17
17
|
import '@para-ui/icons/PreviewClose';
|
|
18
18
|
import '@para-ui/icons/PreviewOpen';
|
|
19
19
|
import '@para-ui/icons/CloseCircleF';
|
|
20
|
-
import '../
|
|
20
|
+
import '../_verture/index-f62daef9.js';
|
|
21
21
|
import '../Loading/index.js';
|
|
22
22
|
import '@para-ui/icons/LoadingF';
|
|
23
23
|
import '../HelperText/index.js';
|
package/Select/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import Down from '@para-ui/icons/Down';
|
|
|
11
11
|
import Check from '@para-ui/icons/Check';
|
|
12
12
|
import SearchIcon from '@para-ui/icons/Search';
|
|
13
13
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
14
|
-
import AutoTips from '../
|
|
14
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
15
15
|
import { Loading } from '../Loading/index.js';
|
|
16
16
|
import { Popover } from '../Popover/index.js';
|
|
17
17
|
import { Tooltip } from '../Tooltip/index.js';
|
package/SelectInput/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import '@para-ui/icons/CloseCircleF';
|
|
|
26
26
|
import '@para-ui/icons/Down';
|
|
27
27
|
import '@para-ui/icons/Check';
|
|
28
28
|
import '@para-ui/icons/Search';
|
|
29
|
-
import '../
|
|
29
|
+
import '../_verture/index-f62daef9.js';
|
|
30
30
|
import '../Loading/index.js';
|
|
31
31
|
import '@para-ui/icons/LoadingF';
|
|
32
32
|
import '../Popover/index.js';
|
package/Selector/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { r as regenerator } from '../_verture/index-8ac46bd9.js';
|
|
|
6
6
|
import { Radio } from '../Radio/index.js';
|
|
7
7
|
import { Checkbox } from '../Checkbox/index.js';
|
|
8
8
|
import { Popover } from '../Popover/index.js';
|
|
9
|
-
import AutoTips from '../
|
|
9
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
10
10
|
import { Loading } from '../Loading/index.js';
|
|
11
11
|
import Close from '@para-ui/icons/Close';
|
|
12
12
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
@@ -41,7 +41,6 @@ import 'rc-dropdown';
|
|
|
41
41
|
import 'dayjs';
|
|
42
42
|
import '@para-ui/icons/More';
|
|
43
43
|
import '@para-ui/icons/Return';
|
|
44
|
-
import '../_verture/useResizeObserver-960e470e.js';
|
|
45
44
|
|
|
46
45
|
var en = {
|
|
47
46
|
root: 'root',
|
package/SelectorPicker/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
5
5
|
import Label from '../Label/index.js';
|
|
6
6
|
import { D as Dropdown } from '../_verture/index-bde7aabe.js';
|
|
7
7
|
import Selector, { handFieldConfig } from '../Selector/index.js';
|
|
8
|
-
import AutoTips from '../
|
|
8
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
9
9
|
import { Popover } from '../Popover/index.js';
|
|
10
10
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
11
11
|
import Down from '@para-ui/icons/Down';
|
|
@@ -41,7 +41,6 @@ import '@para-ui/icons/Search';
|
|
|
41
41
|
import '../Breadcrumbs/index.js';
|
|
42
42
|
import '@para-ui/icons/More';
|
|
43
43
|
import '@para-ui/icons/Return';
|
|
44
|
-
import '../_verture/useResizeObserver-960e470e.js';
|
|
45
44
|
import '../Empty/index.js';
|
|
46
45
|
import '@para-ui/icons/Refresh';
|
|
47
46
|
|
package/SingleBox/index.js
CHANGED
|
@@ -14,11 +14,7 @@ import '@paraview/lib';
|
|
|
14
14
|
import '@para-ui/icons/PreviewClose';
|
|
15
15
|
import '@para-ui/icons/PreviewOpen';
|
|
16
16
|
import '@para-ui/icons/CloseCircleF';
|
|
17
|
-
import '../
|
|
18
|
-
import 'rc-tooltip';
|
|
19
|
-
import 'rc-tooltip/lib/placements';
|
|
20
|
-
import 'clsx';
|
|
21
|
-
import '@para-ui/icons/Forbid';
|
|
17
|
+
import '../_verture/index-f62daef9.js';
|
|
22
18
|
import '../Loading/index.js';
|
|
23
19
|
import '@para-ui/icons/LoadingF';
|
|
24
20
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
@@ -26,9 +22,13 @@ import '../_verture/index-ca413216.js';
|
|
|
26
22
|
import '../_verture/index-bde7aabe.js';
|
|
27
23
|
import 'rc-dropdown';
|
|
28
24
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
25
|
+
import 'clsx';
|
|
29
26
|
import 'dayjs';
|
|
30
27
|
import '../Help/index.js';
|
|
31
28
|
import '@para-ui/icons/Help';
|
|
29
|
+
import 'rc-tooltip';
|
|
30
|
+
import 'rc-tooltip/lib/placements';
|
|
31
|
+
import '@para-ui/icons/Forbid';
|
|
32
32
|
|
|
33
33
|
var en = {
|
|
34
34
|
add: 'Newly Added'
|
package/Stepper/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import Nine from '@para-ui/icons/Nine';
|
|
|
14
14
|
import Check from '@para-ui/icons/Check';
|
|
15
15
|
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-5317fc89.js';
|
|
16
16
|
import clsx from 'clsx';
|
|
17
|
-
import AutoTips from '../
|
|
17
|
+
import { A as AutoTips } from '../_verture/index-f62daef9.js';
|
|
18
18
|
import Close from '@para-ui/icons/Close';
|
|
19
19
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
20
20
|
import '../Tooltip/index.js';
|
package/Table/index.js
CHANGED
|
@@ -8,8 +8,8 @@ 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-
|
|
12
|
-
import AutoTips from '../
|
|
11
|
+
import { B as Button } from '../_verture/index-6bbcdc7f.js';
|
|
12
|
+
import { A as AutoTips, u as useResizeObserver } from '../_verture/index-f62daef9.js';
|
|
13
13
|
import Screen from '@para-ui/icons/ScreenF';
|
|
14
14
|
import SolidArrowUp from '@para-ui/icons/UpTriangleF';
|
|
15
15
|
import SolidArrowDown from '@para-ui/icons/DownTriangleF';
|
|
@@ -27,7 +27,6 @@ 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';
|
|
31
30
|
import '../Tooltip/index.js';
|
|
32
31
|
import 'rc-tooltip';
|
|
33
32
|
import 'rc-tooltip/lib/placements';
|