@para-ui/core 4.0.5 → 4.0.7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoBox/index.js +1 -1
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +1 -1
- package/Carousel/index.js +1 -1
- package/Cascader/index.js +4 -4
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/ComboSelect/index.js +2 -2
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +34 -25
- package/CycleSelector/lang/en_US.d.ts +1 -0
- package/CycleSelector/lang/index.d.ts +2 -0
- package/CycleSelector/lang/zh_CN.d.ts +1 -0
- package/DatePicker/index.js +2 -2
- package/Descriptions/index.d.ts +2 -0
- package/Descriptions/index.js +8 -3
- package/Desktop/index.js +1 -1
- package/DragVerify/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/DynamicMultiBox/index.js +6 -6
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.js +3 -3
- package/GlobalContext/confirmLocale.d.ts +2 -4
- package/GlobalContext/index.js +5 -4
- package/Help/index.js +1 -1
- package/InputLang/index.js +1 -1
- package/InputNumber/index.js +1 -1
- package/Label/index.js +1 -1
- package/Menu/index.js +74 -24
- package/Menu/interface.d.ts +9 -0
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/Notification/index.js +3 -3
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +1 -1
- package/Pagination/index.js +2 -2
- package/ParauiProvider/index.js +1 -1
- package/PopConfirm/index.js +1 -1
- package/Popover/index.js +1 -1
- package/Progress/index.js +1 -1
- package/QuickReply/index.js +3 -3
- package/README.md +12 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +19 -2
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +4 -4
- package/SelectorPicker/index.js +1 -1
- package/SingleBox/index.js +1 -1
- package/Slider/index.js +1 -1
- package/Stepper/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +5 -4
- package/Table/interface.d.ts +2 -0
- package/Table/lang/en_US.d.ts +1 -1
- package/Table/lang/index.d.ts +1 -1
- package/Tabs/index.js +2 -2
- package/Tag/index.js +1 -1
- package/TextEditor/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +2 -2
- package/Timeline/index.js +1 -1
- package/Title/index.js +1 -1
- package/ToggleButton/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +2 -2
- package/Tree/index.js +3 -3
- package/Upload/index.js +1 -1
- package/Utils/index.d.ts +2 -0
- package/Utils/index.js +10 -3
- package/_verture/defineProperty-6f62bb2a.js +34 -0
- package/_verture/{index-767e63dd.js → index-b08d8bf5.js} +1 -1
- package/_verture/{index-9784b09c.js → index-b33b6e81.js} +228 -119
- package/_verture/{index-28a6bc3a.js → index-e5429414.js} +1 -1
- package/_verture/{modalContext-8982647f.js → modalContext-25549697.js} +1 -1
- package/_verture/{sortable.esm-49896035.js → sortable.esm-76fe46a4.js} +597 -1029
- package/_verture/tslib.es6-fe0d4b4e.js +43 -0
- package/index.js +9 -9
- package/locale/en-US.d.ts +2 -1
- package/locale/index.d.ts +3 -1
- package/locale/index.js +8 -6
- package/locale/zh-CN.d.ts +1 -0
- package/package.json +11 -11
- package/umd/AutoBox.js +18 -18
- package/umd/AutoTips.js +18 -18
- package/umd/Badge.js +1 -1
- package/umd/Breadcrumbs.js +18 -18
- package/umd/Button.js +18 -18
- package/umd/ButtonGroup.js +18 -18
- package/umd/Carousel.js +13 -13
- package/umd/Cascader.js +18 -18
- package/umd/Checkbox.js +18 -18
- package/umd/CheckboxGroup.js +18 -18
- package/umd/Collapse.js +17 -17
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +8 -8
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +18 -18
- package/umd/Container.js +1 -1
- package/umd/CopyText.js +18 -18
- package/umd/CycleSelector.js +18 -18
- package/umd/DatePicker.js +18 -18
- package/umd/Descriptions.js +18 -18
- package/umd/Desktop.js +18 -18
- package/umd/DragVerify.js +8 -8
- package/umd/Drawer.js +18 -18
- package/umd/Dropdown.js +8 -8
- package/umd/DynamicMultiBox.js +21 -21
- package/umd/Empty.js +1 -1
- package/umd/Form.js +18 -18
- package/umd/FormItem.js +18 -18
- package/umd/FunctionModal.js +18 -18
- package/umd/GlobalContext.js +1 -1
- package/umd/Help.js +18 -18
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +18 -18
- package/umd/InputNumber.js +18 -18
- package/umd/Label.js +18 -18
- package/umd/Loading.js +8 -8
- package/umd/Menu.js +30 -16
- package/umd/Message.js +8 -8
- package/umd/Modal.js +18 -18
- package/umd/MultiBox.js +18 -18
- package/umd/Notification.js +17 -17
- package/umd/OperateBtn.js +18 -18
- package/umd/PageHeader.js +18 -18
- package/umd/Pagination.js +18 -18
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +8 -8
- package/umd/PopConfirm.js +18 -18
- package/umd/Popover.js +18 -18
- package/umd/Progress.js +13 -13
- package/umd/Prompt.js +8 -8
- package/umd/Querying.js +1 -1
- package/umd/QuickReply.js +21 -21
- package/umd/Radio.js +18 -18
- package/umd/RadioGroup.js +18 -18
- package/umd/Search.js +18 -18
- package/umd/Select.js +18 -18
- package/umd/SelectInput.js +18 -18
- package/umd/Selector.js +18 -18
- package/umd/SelectorPicker.js +18 -18
- package/umd/SingleBox.js +18 -18
- package/umd/Slider.js +8 -8
- package/umd/Status.js +8 -8
- package/umd/Stepper.js +18 -18
- package/umd/Switch.js +18 -18
- package/umd/Table.js +18 -18
- package/umd/Tabs.js +18 -18
- package/umd/Tag.js +18 -18
- package/umd/TextEditor.js +31 -31
- package/umd/TextField.js +18 -18
- package/umd/TimePicker.js +18 -18
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +18 -18
- package/umd/ToggleButton.js +18 -18
- package/umd/Tooltip.js +18 -18
- package/umd/Transfer.js +20 -20
- package/umd/Tree.js +18 -18
- package/umd/Upload.js +19 -19
- package/umd/Utils.js +1 -1
- package/umd/locale.js +1 -1
- package/_verture/defineProperty-1d116156.js +0 -34
- package/_verture/tslib.es6-55ed4bd2.js +0 -38
- /package/_verture/{index-d795d1f0.js → index-6cd67e49.js} +0 -0
package/AutoBox/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { UUID } from '@paraview/lib';
|
|
|
6
6
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
7
7
|
import More from '@para-ui/icons/More';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
|
-
import '../_verture/tslib.es6-
|
|
9
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
10
10
|
import '../Tooltip/index.js';
|
|
11
11
|
import 'rc-tooltip';
|
|
12
12
|
import 'rc-tooltip/lib/placements';
|
package/AutoTips/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Tooltip } from '../Tooltip/index.js';
|
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
5
|
import { isIE } from '@paraview/lib';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
-
import '../_verture/tslib.es6-
|
|
7
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
8
8
|
import 'rc-tooltip';
|
|
9
9
|
import 'rc-tooltip/lib/placements';
|
|
10
10
|
import 'clsx';
|
package/Breadcrumbs/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Return from '@para-ui/icons/Return';
|
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
8
8
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
|
-
import '../_verture/tslib.es6-
|
|
10
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
11
11
|
import '../Tooltip/index.js';
|
|
12
12
|
import 'rc-tooltip';
|
|
13
13
|
import 'rc-tooltip/lib/placements';
|
package/Button/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as __rest } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
@@ -32,7 +32,7 @@ var localeJson = {
|
|
|
32
32
|
en: en
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/21 下午5:16\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n@keyframes buttonLoadingSpin {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-button {\n border: 0;\n cursor: pointer;\n display: inline-flex;\n outline: 0;\n position: relative;\n align-items: center;\n user-select: none;\n vertical-align: middle;\n justify-content: center;\n text-decoration: none;\n background-color: transparent;\n appearance: none;\n -webkit-tap-highlight-color: transparent;\n padding: 0 10px;\n line-height: 1.5715;\n border-radius: 4px;\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 white-space: nowrap;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n letter-spacing: 0.02857em;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n.paraui-v4-button .button-label {\n width: 100%;\n display: inherit;\n align-items: inherit;\n justify-content: inherit;\n}\n.paraui-v4-button .button-icon {\n display: inherit;\n margin-right: 4px;\n}\n.paraui-v4-button .button-icon svg {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-button .button-icon-end {\n margin-right: 0;\n margin-left: 4px;\n}\n.paraui-v4-button .button-icon-loading {\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-button-loading {\n pointer-events: none;\n}\n.paraui-v4-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n border: 1px solid rgb(46, 101, 230);\n}\n.paraui-v4-button-contained:hover {\n background-color: rgb(87, 131, 235);\n border: 1px solid rgba(255, 255, 255, 0);\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous {\n background-color: rgb(244, 66, 66);\n border: 1px solid rgb(244, 66, 66);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n border: 1px solid rgba(255, 255, 255, 0);\n}\n.paraui-v4-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-text {\n color: rgb(46, 101, 230);\n background-color: transparent;\n border: none;\n padding: unset;\n margin: 0 10px;\n}\n.paraui-v4-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-text[disabled] {\n color: rgb(92, 101, 115);\n background-color: transparent;\n border: none;\n cursor: not-allowed;\n}\n.paraui-v4-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-button-large {\n height: 32px;\n}\n.paraui-v4-button-medium {\n height: 28px;\n}\n.paraui-v4-button-small {\n height: 28px;\n}\n.paraui-v4-button--disabled {\n display: inline-block;\n cursor: not-allowed;\n}\n.paraui-v4-button--disabled button {\n pointer-events: none;\n}\n\n.paraui-v4-icon-button {\n flex: 0 0 auto;\n overflow: visible;\n text-align: center;\n transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n padding: 0;\n border-radius: 4px;\n}\n.paraui-v4-icon-button-loading {\n pointer-events: none;\n}\n.paraui-v4-icon-button-loading .button-loading-icon {\n display: inline-flex;\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-icon-button svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-icon-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-contained:hover {\n background-color: rgb(87, 131, 235);\n box-shadow: none;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-icon-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled {\n pointer-events: none;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text[disabled] {\n color: rgb(161, 168, 179);\n pointer-events: none;\n}\n.paraui-v4-icon-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large svg {\n font-size: 24px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-activate {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-large {\n width: 32px;\n height: 32px;\n}\n.paraui-v4-icon-button-medium {\n width: 28px;\n height: 28px;\n}\n.paraui-v4-icon-button-small {\n width: 28px;\n height: 28px;\n}\n\n.paraui-v4-button-split {\n display: inline-block;\n}\n.paraui-v4-button-split .paraui-v4-button-split--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list {\n padding: 4px 0;\n border-radius: 4px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li {\n padding: 8px 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n transition: background-color 0.3s, color 0.3s;\n white-space: nowrap;\n}\n.paraui-v4-button-split-list ul .split-li:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--hover:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled {\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child) {\n position: relative;\n margin-top: 8px;\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child):before {\n content: \"\";\n position: absolute;\n top: -4px;\n left: 8px;\n right: 8px;\n border-top: 1px solid rgb(234, 236, 241);\n}";
|
|
35
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/21 下午5:16\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n@keyframes buttonLoadingSpin {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-button {\n border: 0;\n cursor: pointer;\n display: inline-flex;\n outline: 0;\n position: relative;\n align-items: center;\n user-select: none;\n vertical-align: middle;\n justify-content: center;\n text-decoration: none;\n background-color: transparent;\n appearance: none;\n -webkit-tap-highlight-color: transparent;\n padding: 0 10px;\n line-height: 1.5715;\n border-radius: 4px;\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 white-space: nowrap;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n letter-spacing: 0.02857em;\n transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n.paraui-v4-button .button-label {\n width: 100%;\n display: inherit;\n align-items: inherit;\n justify-content: inherit;\n}\n.paraui-v4-button .button-icon {\n display: inherit;\n margin-right: 4px;\n}\n.paraui-v4-button .button-icon svg {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-button .button-icon-end {\n margin-right: 0;\n margin-left: 4px;\n}\n.paraui-v4-button .button-icon-loading {\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-button-loading {\n pointer-events: none;\n}\n.paraui-v4-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n border: 1px solid rgb(46, 101, 230);\n}\n.paraui-v4-button-contained:hover {\n background-color: rgb(87, 131, 235);\n border: 1px solid rgba(255, 255, 255, 0);\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous {\n background-color: rgb(244, 66, 66);\n border: 1px solid rgb(244, 66, 66);\n}\n.paraui-v4-button-contained.paraui-v4-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n border: 1px solid rgba(255, 255, 255, 0);\n}\n.paraui-v4-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-button-outlined.paraui-v4-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-button-text {\n color: rgb(46, 101, 230);\n background-color: transparent;\n border: none;\n padding: unset;\n margin: 0 10px;\n}\n.paraui-v4-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-button-text.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-text[disabled] {\n color: rgb(92, 101, 115);\n background-color: transparent;\n border: none;\n cursor: not-allowed;\n}\n.paraui-v4-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-button-text.paraui-v4-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-button-large {\n height: 32px;\n}\n.paraui-v4-button-medium {\n height: 28px;\n}\n.paraui-v4-button-small {\n height: 28px;\n}\n.paraui-v4-button--disabled {\n display: inline-block;\n cursor: not-allowed;\n}\n.paraui-v4-button--disabled button {\n pointer-events: none;\n}\n\n.paraui-v4-icon-button {\n flex: 0 0 auto;\n overflow: visible;\n text-align: center;\n transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n padding: 0;\n border-radius: 4px;\n}\n.paraui-v4-icon-button-loading {\n pointer-events: none;\n}\n.paraui-v4-icon-button-loading .button-loading-icon {\n display: inline-flex;\n animation: buttonLoadingSpin 1s infinite linear;\n}\n.paraui-v4-icon-button svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-icon-button-contained {\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-contained:hover {\n background-color: rgb(87, 131, 235);\n box-shadow: none;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-contained[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous {\n background-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-contained.paraui-v4-icon-button-dangerous:hover {\n background-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-outlined {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-icon-button-outlined:hover {\n color: rgb(46, 101, 230);\n border-color: rgb(87, 131, 235);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-outlined[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-outlined.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-button-text:hover {\n color: rgb(87, 131, 235);\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled {\n pointer-events: none;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-icon-button-text.paraui-v4-button-link-disabled:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text[disabled] {\n color: rgb(161, 168, 179);\n pointer-events: none;\n}\n.paraui-v4-icon-button-text[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-dangerous:hover {\n color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-large svg {\n font-size: 24px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-medium svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small {\n width: auto;\n height: auto;\n}\n.paraui-v4-icon-button-text.paraui-v4-icon-button-small svg {\n font-size: 20px;\n}\n.paraui-v4-icon-button-activate {\n color: rgb(29, 33, 38);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled {\n color: rgb(29, 33, 38);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate.paraui-v4-button-link-disabled:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate[disabled] {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-icon-button-activate[disabled]:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous {\n color: rgb(244, 66, 66);\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-button-activate.paraui-v4-icon-button-dangerous:hover {\n color: rgb(244, 66, 66);\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-icon-button-large {\n width: 32px;\n height: 32px;\n}\n.paraui-v4-icon-button-medium {\n width: 28px;\n height: 28px;\n}\n.paraui-v4-icon-button-small {\n width: 28px;\n height: 28px;\n}\n\n.paraui-v4-button-split {\n display: inline-block;\n}\n.paraui-v4-button-split .paraui-v4-button-split--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list {\n padding: 4px 0;\n border-radius: 4px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li {\n padding: 5px 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n line-height: 20px;\n cursor: pointer;\n transition: background-color 0.3s, color 0.3s;\n white-space: nowrap;\n}\n.paraui-v4-button-split-list ul .split-li:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--active:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--hover:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled {\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}\n.paraui-v4-button-split-list ul .split-li.split-li--disabled:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child) {\n position: relative;\n margin-top: 8px;\n}\n.paraui-v4-button-split-list ul .split-li-group:not(:first-child):before {\n content: \"\";\n position: absolute;\n top: -4px;\n left: 8px;\n right: 8px;\n border-top: 1px solid rgb(234, 236, 241);\n}";
|
|
36
36
|
styleInject(css_248z);
|
|
37
37
|
|
|
38
38
|
//分体式按钮
|
package/ButtonGroup/index.js
CHANGED
package/Carousel/index.js
CHANGED
package/Cascader/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as Cascader } from '../_verture/index-
|
|
2
|
-
export { C as default } from '../_verture/index-
|
|
3
|
-
import '../_verture/tslib.es6-
|
|
1
|
+
import { C as Cascader } from '../_verture/index-b33b6e81.js';
|
|
2
|
+
export { C as default } from '../_verture/index-b33b6e81.js';
|
|
3
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '../_verture/slicedToArray-8223a2ef.js';
|
|
6
|
-
import '../_verture/defineProperty-
|
|
6
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
7
7
|
import '../_verture/typeof-adeedc13.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'react-dom';
|
package/Checkbox/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import Label from '../Label/index.js';
|
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
5
|
import { Tooltip } from '../Tooltip/index.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
-
import '../_verture/tslib.es6-
|
|
7
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
8
8
|
import '../Help/index.js';
|
|
9
9
|
import '@para-ui/icons/Help';
|
|
10
10
|
import 'clsx';
|
package/CheckboxGroup/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { DeepClone } from '@paraview/lib';
|
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
9
|
import '../Tooltip/index.js';
|
|
10
|
-
import '../_verture/tslib.es6-
|
|
10
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
11
11
|
import 'rc-tooltip';
|
|
12
12
|
import 'rc-tooltip/lib/placements';
|
|
13
13
|
import 'clsx';
|
package/ComboSelect/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __awaiter } from '../_verture/tslib.es6-
|
|
1
|
+
import { a as __awaiter } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default, { useRef, useState, useMemo, useImperativeHandle, useEffect } from 'react';
|
|
4
4
|
import Down from '@para-ui/icons/Down';
|
|
@@ -6,7 +6,7 @@ import SearchIcon from '@para-ui/icons/Search';
|
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import Table from '../Table/index.js';
|
|
9
|
-
import { T as Tree } from '../_verture/index-
|
|
9
|
+
import { T as Tree } from '../_verture/index-b08d8bf5.js';
|
|
10
10
|
import { Button } from '../Button/index.js';
|
|
11
11
|
import { D as Dropdown } from '../_verture/index-389675ab.js';
|
|
12
12
|
import { Popover } from '../Popover/index.js';
|
package/CopyText/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __awaiter } from '../_verture/tslib.es6-
|
|
1
|
+
import { a as __awaiter } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import Copy from '@para-ui/icons/Copy';
|
package/CycleSelector/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { getDateYYYYMMddHHMM } from '../Utils/index.js';
|
|
|
17
17
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
18
18
|
import 'rc-picker/es/generate/dayjs';
|
|
19
19
|
import '../Tag/index.js';
|
|
20
|
-
import '../_verture/tslib.es6-
|
|
20
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
21
21
|
import '@para-ui/icons/EditOutline';
|
|
22
22
|
import '../AutoTips/index.js';
|
|
23
23
|
import '../Tooltip/index.js';
|
|
@@ -27,7 +27,7 @@ import '@para-ui/icons/Forbid';
|
|
|
27
27
|
import '@paraview/lib';
|
|
28
28
|
import '../_verture/tinycolor-ece3542d.js';
|
|
29
29
|
import '@para-ui/icons/Plus';
|
|
30
|
-
import '../_verture/defineProperty-
|
|
30
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
31
31
|
import '../_verture/typeof-adeedc13.js';
|
|
32
32
|
import 'rc-picker';
|
|
33
33
|
import '@para-ui/icons/CloseCircleF';
|
|
@@ -130,7 +130,8 @@ var en = {
|
|
|
130
130
|
customCycle: 'Custom cycle',
|
|
131
131
|
cancel: 'Cancel',
|
|
132
132
|
confirm: 'Confirm',
|
|
133
|
-
next: 'Next'
|
|
133
|
+
next: 'Next',
|
|
134
|
+
monthDay: "{month}th{day}st"
|
|
134
135
|
};
|
|
135
136
|
|
|
136
137
|
var zh = {
|
|
@@ -211,7 +212,8 @@ var zh = {
|
|
|
211
212
|
customCycle: '自定义周期',
|
|
212
213
|
cancel: '取 消',
|
|
213
214
|
confirm: '确 定',
|
|
214
|
-
next: '次后'
|
|
215
|
+
next: '次后',
|
|
216
|
+
monthDay: "{month}\u6708{day}\u65E5"
|
|
215
217
|
};
|
|
216
218
|
|
|
217
219
|
var localeJson = {
|
|
@@ -219,7 +221,7 @@ var localeJson = {
|
|
|
219
221
|
en
|
|
220
222
|
};
|
|
221
223
|
|
|
222
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-cycle-selector .cycle-selector-content {\n display: flex;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .time-select {\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .select-type {\n flex: 1;\n overflow: hidden;\n margin-left: 10px;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .paraui-v4-helper-text {\n display: none;\n}\n.paraui-v4-cycle-selector .text-tip {\n font-size: 12px;\n color: rgb(29, 33, 38);\n margin-top: 10px;\n}\n.paraui-v4-cycle-selector .text-tip button {\n height: inherit;\n font-size: 12px;\n margin-left: 8px;\n}\n\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content {\n width: 480px;\n padding: 15px 20px 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title {\n display: flex;\n line-height: 20px;\n align-items: center;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title .label {\n flex: 1;\n font-size: 14px;\n color: rgb(29, 33, 38);\n font-weight: 600;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title svg {\n color: rgb(92, 101, 115);\n cursor: pointer;\n font-size: 18px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title svg:hover {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content {\n margin-top: 16px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item {\n display: flex;\n margin-bottom: 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item .label {\n line-height: 32px;\n width: 150px;\n color: rgb(92, 101, 115);\n font-size: 14px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item .form-content {\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .frequency .form-content .frequency-select {\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .end-type .form-content .end-type-select {\n flex: 1;\n overflow: hidden;\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .end-type .form-content .right-box {\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day {\n margin-bottom: 0;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content {\n display: flex;\n flex-direction: column;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select {\n display: flex;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div {\n flex: 1;\n overflow: hidden;\n height: 28px;\n margin-right: 6px;\n border: 1px solid rgb(212, 218, 227);\n border-radius: 4px;\n line-height: 26px;\n text-align: center;\n cursor: pointer;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div.select-item {\n background-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div:last-child {\n margin-right: 0;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip {\n min-height: 20px;\n display: flex;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip.show-tip {\n opacity: 1;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip svg {\n color: rgb(255, 147, 38);\n font-size: 16px;\n vertical-align: middle;\n margin-right: 4px;\n margin-top: 2px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip span {\n font-size: 12px;\n color: rgb(255, 147, 38);\n flex: 1;\n overflow: hidden;\n line-height: 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .month-cycle-type-list .form-content > div {\n flex: 1;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .month-cycle-type-list .form-content > div:first-child {\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .footer {\n text-align: right;\n margin-top: 30px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .footer button:last-child {\n margin-left: 16px;\n}";
|
|
224
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-cycle-selector .cycle-selector-content {\n display: flex;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .time-select {\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .select-type {\n flex: 1;\n overflow: hidden;\n margin-left: 10px;\n}\n.paraui-v4-cycle-selector .cycle-selector-content .paraui-v4-helper-text {\n display: none;\n}\n.paraui-v4-cycle-selector .text-tip {\n font-size: 12px;\n color: rgb(29, 33, 38);\n margin-top: 10px;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.paraui-v4-cycle-selector .text-tip button {\n height: inherit;\n font-size: 12px;\n margin-left: 8px;\n}\n\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content {\n width: 480px;\n padding: 15px 20px 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title {\n display: flex;\n line-height: 20px;\n align-items: center;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title .label {\n flex: 1;\n font-size: 14px;\n color: rgb(29, 33, 38);\n font-weight: 600;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title svg {\n color: rgb(92, 101, 115);\n cursor: pointer;\n font-size: 18px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .title svg:hover {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content {\n margin-top: 16px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item {\n display: flex;\n margin-bottom: 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item .label {\n line-height: 32px;\n width: 150px;\n color: rgb(92, 101, 115);\n font-size: 14px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .item .form-content {\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .frequency .form-content .frequency-select {\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .end-type .form-content .end-type-select {\n flex: 1;\n overflow: hidden;\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .end-type .form-content .right-box {\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day {\n margin-bottom: 0;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content {\n display: flex;\n flex-direction: column;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select {\n display: flex;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div {\n flex: 1;\n overflow: hidden;\n height: 28px;\n margin-right: 6px;\n border: 1px solid rgb(212, 218, 227);\n border-radius: 4px;\n line-height: 26px;\n text-align: center;\n cursor: pointer;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div.select-item {\n background-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content .execution-day-select > div:last-child {\n margin-right: 0;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip {\n min-height: 20px;\n display: flex;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip.show-tip {\n opacity: 1;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip svg {\n color: rgb(255, 147, 38);\n font-size: 16px;\n vertical-align: middle;\n margin-right: 4px;\n margin-top: 2px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .execution-day .form-content > .tip span {\n font-size: 12px;\n color: rgb(255, 147, 38);\n flex: 1;\n overflow: hidden;\n line-height: 20px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .month-cycle-type-list .form-content > div {\n flex: 1;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .content .month-cycle-type-list .form-content > div:first-child {\n margin-right: 10px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .footer {\n text-align: right;\n margin-top: 30px;\n}\n.paraui-v4-cycle-selector-popover .cycle-selector-popover-content .footer button:last-child {\n margin-left: 16px;\n}";
|
|
223
225
|
styleInject(css_248z);
|
|
224
226
|
|
|
225
227
|
const CycleSelector = props => {
|
|
@@ -256,7 +258,7 @@ const CycleSelector = props => {
|
|
|
256
258
|
constData.current.value = value;
|
|
257
259
|
useEffect(() => {
|
|
258
260
|
const arr = [];
|
|
259
|
-
for (let i = 1; i <
|
|
261
|
+
for (let i = 1; i < 32; i++) {
|
|
260
262
|
arr.push({
|
|
261
263
|
label: intl('every') + i,
|
|
262
264
|
value: i
|
|
@@ -331,10 +333,10 @@ const CycleSelector = props => {
|
|
|
331
333
|
label: intl('repeatEveryWeek') + ' ' + intl('week' + weekDay) + ' ' + hm,
|
|
332
334
|
value: 2
|
|
333
335
|
}, {
|
|
334
|
-
label: intl('repeatEveryMonth') + ' ' + day + intl('th'),
|
|
336
|
+
label: intl('repeatEveryMonth') + ' ' + day + intl('th') + ' ' + hm,
|
|
335
337
|
value: 3
|
|
336
338
|
}, {
|
|
337
|
-
label: intl('repeatEveryYear') + ' ' + month + intl('month') + day + intl('th'),
|
|
339
|
+
label: intl('repeatEveryYear') + ' ' + month + intl('month') + day + intl('th') + ' ' + hm,
|
|
338
340
|
value: 4
|
|
339
341
|
}, {
|
|
340
342
|
label: intl('customRepetition'),
|
|
@@ -435,7 +437,7 @@ const CycleSelector = props => {
|
|
|
435
437
|
onChange(cancel ? Object.assign({}, constData.current.value) : Object.assign({}, constData.current.valueCom));
|
|
436
438
|
};
|
|
437
439
|
const onVisibleChange = bol => {
|
|
438
|
-
if (!bol)
|
|
440
|
+
if (!bol) cancelPopover();
|
|
439
441
|
};
|
|
440
442
|
const clickBtn = () => {
|
|
441
443
|
setOpen(true);
|
|
@@ -443,7 +445,7 @@ const CycleSelector = props => {
|
|
|
443
445
|
};
|
|
444
446
|
// 自定义周期文案提示
|
|
445
447
|
const handleText = () => {
|
|
446
|
-
var _a, _b, _c, _d;
|
|
448
|
+
var _a, _b, _c, _d, _e;
|
|
447
449
|
if ((value === null || value === void 0 ? void 0 : value.cycleType) !== 5 || error) return;
|
|
448
450
|
const text = [];
|
|
449
451
|
const everyText1 = intl('every') + value.frequency + intl(value.frequencyUnit);
|
|
@@ -476,9 +478,13 @@ const CycleSelector = props => {
|
|
|
476
478
|
time: timeText
|
|
477
479
|
}));
|
|
478
480
|
} else {
|
|
481
|
+
const str = intl('monthDay', {
|
|
482
|
+
month: (_d = constData.current.timeDetail) === null || _d === void 0 ? void 0 : _d.month,
|
|
483
|
+
day: (_e = constData.current.timeDetail) === null || _e === void 0 ? void 0 : _e.day
|
|
484
|
+
});
|
|
479
485
|
text.push(intl('text1', {
|
|
480
486
|
every: everyText1,
|
|
481
|
-
time: (
|
|
487
|
+
time: str.join('') + " " + timeText
|
|
482
488
|
}));
|
|
483
489
|
}
|
|
484
490
|
if (value.endType === 2) {
|
|
@@ -509,9 +515,18 @@ const CycleSelector = props => {
|
|
|
509
515
|
};
|
|
510
516
|
// 改变结束次数
|
|
511
517
|
const changeLimitNum = event => {
|
|
512
|
-
|
|
518
|
+
event.target.value !== '' ? parseInt(event.target.value.toString()) : '';
|
|
519
|
+
valueCom.limitNum = event.target.value;
|
|
513
520
|
setValueCom(Object.assign({}, valueCom));
|
|
514
521
|
};
|
|
522
|
+
// 失焦次数
|
|
523
|
+
const blurLimitNum = event => {
|
|
524
|
+
const val = event.target.value !== '' ? parseInt(event.target.value.toString()) : 0;
|
|
525
|
+
if (val <= 0) {
|
|
526
|
+
valueCom.limitNum = 1;
|
|
527
|
+
setValueCom(Object.assign({}, valueCom));
|
|
528
|
+
}
|
|
529
|
+
};
|
|
515
530
|
const changeSelectVal = name => val => {
|
|
516
531
|
valueCom[name] = val;
|
|
517
532
|
setValueCom(Object.assign({}, valueCom));
|
|
@@ -666,6 +681,7 @@ const CycleSelector = props => {
|
|
|
666
681
|
placeholder: intl('placeholder'),
|
|
667
682
|
value: valueCom.limitNum,
|
|
668
683
|
onChange: changeLimitNum,
|
|
684
|
+
onBlur: blurLimitNum,
|
|
669
685
|
rightIcon: intl('next')
|
|
670
686
|
})]
|
|
671
687
|
}))]
|
|
@@ -722,21 +738,14 @@ const CycleSelector = props => {
|
|
|
722
738
|
return current && current < dayjs(new Date().getTime() - 24 * 60 * 60 * 1000);
|
|
723
739
|
};
|
|
724
740
|
};
|
|
725
|
-
const range = (start, end) => {
|
|
726
|
-
const result = [];
|
|
727
|
-
for (let i = start; i < end; i++) {
|
|
728
|
-
result.push(i);
|
|
729
|
-
}
|
|
730
|
-
return result;
|
|
731
|
-
};
|
|
732
741
|
const disabledTimeHand = () => {
|
|
733
742
|
if (disabledTime) return disabledTime;
|
|
734
|
-
return () => {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
743
|
+
/*return () => {
|
|
744
|
+
return {
|
|
745
|
+
disabledHours: () => range(0, 24).splice(0, new Date().getHours()),
|
|
746
|
+
disabledMinutes: () => range(0, new Date().getMinutes())
|
|
747
|
+
}
|
|
748
|
+
}*/
|
|
740
749
|
};
|
|
741
750
|
return jsxs("div", Object.assign({
|
|
742
751
|
className: clsx("".concat($prefixCls, "-cycle-selector"), className),
|
|
@@ -78,6 +78,7 @@ declare const _default: {
|
|
|
78
78
|
cancel: string;
|
|
79
79
|
confirm: string;
|
|
80
80
|
next: string;
|
|
81
|
+
monthDay: string;
|
|
81
82
|
};
|
|
82
83
|
en: {
|
|
83
84
|
placeholder: string;
|
|
@@ -158,6 +159,7 @@ declare const _default: {
|
|
|
158
159
|
cancel: string;
|
|
159
160
|
confirm: string;
|
|
160
161
|
next: string;
|
|
162
|
+
monthDay: string;
|
|
161
163
|
};
|
|
162
164
|
};
|
|
163
165
|
export default _default;
|
package/DatePicker/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import dayjsGenerateConfig from 'rc-picker/es/generate/dayjs';
|
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { Button } from '../Button/index.js';
|
|
4
4
|
import { Tag } from '../Tag/index.js';
|
|
5
|
-
import { _ as _defineProperty } from '../_verture/defineProperty-
|
|
6
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
5
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
6
|
+
import { _ as __rest } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
7
7
|
import React__default, { forwardRef, useImperativeHandle } from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import RCPicker, { RangePicker } from 'rc-picker';
|
package/Descriptions/index.d.ts
CHANGED
package/Descriptions/index.js
CHANGED
|
@@ -8,8 +8,9 @@ import clsx from 'clsx';
|
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
9
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
|
+
import { pixelReplacement } from '../Utils/index.js';
|
|
11
12
|
import '../Help/index.js';
|
|
12
|
-
import '../_verture/tslib.es6-
|
|
13
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
13
14
|
import '../Tooltip/index.js';
|
|
14
15
|
import 'rc-tooltip';
|
|
15
16
|
import 'rc-tooltip/lib/placements';
|
|
@@ -44,13 +45,14 @@ var localeJson = {
|
|
|
44
45
|
en
|
|
45
46
|
};
|
|
46
47
|
|
|
47
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/11/9 14:21\n* @description 样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-descriptions .paraui-v4-title {\n margin-bottom: 20px;\n}\n.paraui-v4-descriptions .table-box {\n display: inline-flex;\n}\n.paraui-v4-descriptions .table-box > table {\n table-layout: fixed;\n width: 100%;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr {\n text-align: left;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr th, .paraui-v4-descriptions .table-box > table > tbody > tr .title {\n color: rgb(92, 101, 115);\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr td, .paraui-v4-descriptions .table-box > table > tbody > tr .content {\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v4-descriptions .collapse-btn {\n margin: 0;\n height: 20px;\n line-height: 20px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box {\n border: 1px solid rgb(212, 218, 227);\n overflow: hidden;\n border-radius: 4px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table {\n border-collapse: collapse;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr {\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr:last-child {\n border-bottom: none;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th, .paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > td {\n height: 40px;\n border-right: 1px solid rgb(212, 218, 227);\n padding: 0 10px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th:last-child, .paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > td:last-child {\n border-right: none;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-horizontal .table-box > table > tbody > tr > td > .item-container {\n display: flex;\n padding-bottom: 10px;\n
|
|
48
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/11/9 14:21\n* @description 样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-descriptions .paraui-v4-title {\n margin-bottom: 20px;\n}\n.paraui-v4-descriptions .table-box {\n display: inline-flex;\n}\n.paraui-v4-descriptions .table-box > table {\n table-layout: fixed;\n width: 100%;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr {\n text-align: left;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr th, .paraui-v4-descriptions .table-box > table > tbody > tr .title {\n color: rgb(92, 101, 115);\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v4-descriptions .table-box > table > tbody > tr td, .paraui-v4-descriptions .table-box > table > tbody > tr .content {\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v4-descriptions .collapse-btn {\n margin: 0;\n height: 20px;\n line-height: 20px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box {\n border: 1px solid rgb(212, 218, 227);\n overflow: hidden;\n border-radius: 4px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table {\n border-collapse: collapse;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr {\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr:last-child {\n border-bottom: none;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th, .paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > td {\n height: 40px;\n border-right: 1px solid rgb(212, 218, 227);\n padding: 0 10px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > th:last-child, .paraui-v4-descriptions.paraui-v4-descriptions-border .table-box > table > tbody > tr > td:last-child {\n border-right: none;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-horizontal .table-box > table > tbody > tr > td > .item-container {\n display: flex;\n padding-bottom: 10px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-horizontal .table-box > table > tbody > tr > td > .item-container > .title {\n display: flex;\n overflow: hidden;\n max-width: 50%;\n margin-right: 10px;\n line-height: 20px;\n}\n.paraui-v4-descriptions.paraui-v4-descriptions-horizontal .table-box > table > tbody > tr > td > .item-container > .content {\n flex: 1;\n overflow: hidden;\n line-height: 20px;\n}";
|
|
48
49
|
styleInject(css_248z);
|
|
49
50
|
|
|
50
51
|
const Descriptions = props => {
|
|
51
52
|
const {
|
|
52
53
|
className,
|
|
53
54
|
style,
|
|
55
|
+
paddingRight = 40,
|
|
54
56
|
layout = 'horizontal',
|
|
55
57
|
border,
|
|
56
58
|
title,
|
|
@@ -118,7 +120,10 @@ const Descriptions = props => {
|
|
|
118
120
|
colSpan: itemChild.column || 1
|
|
119
121
|
}, {
|
|
120
122
|
children: jsxs("div", Object.assign({
|
|
121
|
-
className: 'item-container'
|
|
123
|
+
className: 'item-container',
|
|
124
|
+
style: {
|
|
125
|
+
paddingRight: pixelReplacement(paddingRight)
|
|
126
|
+
}
|
|
122
127
|
}, {
|
|
123
128
|
children: [jsxs("span", Object.assign({
|
|
124
129
|
className: 'title'
|
package/Desktop/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import ReactDOM from 'react-dom';
|
|
|
10
10
|
import { Tooltip } from '../Tooltip/index.js';
|
|
11
11
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
13
|
-
import '../_verture/tslib.es6-
|
|
13
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
14
14
|
import '../Label/index.js';
|
|
15
15
|
import '../Help/index.js';
|
|
16
16
|
import '@para-ui/icons/Help';
|
package/DragVerify/index.js
CHANGED
package/Drawer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as __rest } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Panel from '@para-ui/icons/Panel';
|
|
|
7
7
|
import PlusCircleF from '@para-ui/icons/PlusCircleF';
|
|
8
8
|
import Delete from '@para-ui/icons/Delete';
|
|
9
9
|
import Drag from '@para-ui/icons/Drag';
|
|
10
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
10
|
+
import { _ as __rest } from '../_verture/tslib.es6-fe0d4b4e.js';
|
|
11
11
|
import { TextField } from '../TextField/index.js';
|
|
12
12
|
import Select from '../Select/index.js';
|
|
13
13
|
import { Switch } from '../Switch/index.js';
|
|
@@ -17,7 +17,7 @@ import { ComboSelect } from '../ComboSelect/index.js';
|
|
|
17
17
|
import DatePicker from '../DatePicker/index.js';
|
|
18
18
|
import AutoTips from '../AutoTips/index.js';
|
|
19
19
|
import { UUID } from '@paraview/lib';
|
|
20
|
-
import { d as dist } from '../_verture/index-
|
|
20
|
+
import { d as dist } from '../_verture/index-e5429414.js';
|
|
21
21
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
22
22
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
23
23
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
@@ -70,7 +70,7 @@ import 'rc-pagination';
|
|
|
70
70
|
import '@para-ui/icons/Right';
|
|
71
71
|
import '@para-ui/icons/DoubleLeft';
|
|
72
72
|
import '@para-ui/icons/DoubleRight';
|
|
73
|
-
import '../_verture/index-
|
|
73
|
+
import '../_verture/index-b08d8bf5.js';
|
|
74
74
|
import 'rc-tree';
|
|
75
75
|
import '../_verture/typeof-adeedc13.js';
|
|
76
76
|
import '@para-ui/icons/Document';
|
|
@@ -86,14 +86,14 @@ import '../Tag/index.js';
|
|
|
86
86
|
import '@para-ui/icons/EditOutline';
|
|
87
87
|
import '../_verture/tinycolor-ece3542d.js';
|
|
88
88
|
import '@para-ui/icons/Plus';
|
|
89
|
-
import '../_verture/defineProperty-
|
|
89
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
90
90
|
import 'rc-picker';
|
|
91
91
|
import '@para-ui/icons/Calendar';
|
|
92
92
|
import '@para-ui/icons/Time';
|
|
93
93
|
import 'rc-picker/lib/locale/en_US';
|
|
94
94
|
import 'rc-picker/lib/locale/zh_CN';
|
|
95
95
|
import '@para-ui/icons/SortRight';
|
|
96
|
-
import '../_verture/sortable.esm-
|
|
96
|
+
import '../_verture/sortable.esm-76fe46a4.js';
|
|
97
97
|
|
|
98
98
|
var FormItem = function FormItem(props) {
|
|
99
99
|
var onChange = props.onChange,
|
|
@@ -375,7 +375,7 @@ const RowForm = props => {
|
|
|
375
375
|
var en = {
|
|
376
376
|
add: 'Newly Added',
|
|
377
377
|
titleForm: 'Form configuration (non mandatory)',
|
|
378
|
-
default: 'Restore
|
|
378
|
+
default: 'Restore Default',
|
|
379
379
|
noData: 'There are currently no other attributes available'
|
|
380
380
|
};
|
|
381
381
|
|
package/Form/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-6cd67e49.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
8
|
-
import '../_verture/tslib.es6-
|
|
8
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
9
9
|
import '../Label/index.js';
|
|
10
10
|
import '../Help/index.js';
|
|
11
11
|
import '../Tooltip/index.js';
|
|
@@ -68,7 +68,7 @@ import 'rc-pagination';
|
|
|
68
68
|
import '@para-ui/icons/Right';
|
|
69
69
|
import '@para-ui/icons/DoubleLeft';
|
|
70
70
|
import '@para-ui/icons/DoubleRight';
|
|
71
|
-
import '../_verture/index-
|
|
71
|
+
import '../_verture/index-b08d8bf5.js';
|
|
72
72
|
import 'rc-tree';
|
|
73
73
|
import '../_verture/typeof-adeedc13.js';
|
|
74
74
|
import '@para-ui/icons/Document';
|
package/FormItem/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-6cd67e49.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
8
|
-
import '../_verture/tslib.es6-
|
|
8
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
9
9
|
import '@paraview/lib';
|
|
10
10
|
import '@para-ui/icons/PreviewClose';
|
|
11
11
|
import '@para-ui/icons/PreviewOpen';
|
|
@@ -68,7 +68,7 @@ import 'rc-pagination';
|
|
|
68
68
|
import '@para-ui/icons/Right';
|
|
69
69
|
import '@para-ui/icons/DoubleLeft';
|
|
70
70
|
import '@para-ui/icons/DoubleRight';
|
|
71
|
-
import '../_verture/index-
|
|
71
|
+
import '../_verture/index-b08d8bf5.js';
|
|
72
72
|
import 'rc-tree';
|
|
73
73
|
import '../_verture/typeof-adeedc13.js';
|
|
74
74
|
import '@para-ui/icons/Document';
|
package/FunctionModal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
3
|
-
import '../_verture/tslib.es6-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-25549697.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-25549697.js';
|
|
3
|
+
import '../_verture/tslib.es6-fe0d4b4e.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../Modal/index.js';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export declare const changeConfirmLocale: (newLocale: {
|
|
2
2
|
[name: string]: any;
|
|
3
|
-
}) => void;
|
|
4
|
-
export declare const getConfirmLocale: () =>
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
3
|
+
}, lang?: string) => void;
|
|
4
|
+
export declare const getConfirmLocale: () => Record<string, string>;
|
package/GlobalContext/index.js
CHANGED
|
@@ -5,17 +5,18 @@ import { d as defaultModalLocale } from '../_verture/index-c568f272.js';
|
|
|
5
5
|
|
|
6
6
|
//confirm 默认中文
|
|
7
7
|
let confirmRuntimeLocale = Object.assign({}, defaultModalLocale['zh']);
|
|
8
|
-
const changeConfirmLocale = newLocale => {
|
|
8
|
+
const changeConfirmLocale = (newLocale, lang) => {
|
|
9
9
|
const confirmLocale = newLocale['Confirm'];
|
|
10
10
|
if (confirmLocale) {
|
|
11
11
|
confirmRuntimeLocale = Object.assign(Object.assign({}, confirmRuntimeLocale), confirmLocale);
|
|
12
12
|
} else {
|
|
13
|
-
|
|
13
|
+
if (!lang) lang = GetLanguage();
|
|
14
|
+
const curLang = (defaultModalLocale === null || defaultModalLocale === void 0 ? void 0 : defaultModalLocale[lang]) || defaultModalLocale['zh'] || {};
|
|
15
|
+
confirmRuntimeLocale = Object.assign({}, curLang);
|
|
14
16
|
}
|
|
15
17
|
};
|
|
16
18
|
const getConfirmLocale = () => {
|
|
17
|
-
|
|
18
|
-
return (defaultModalLocale === null || defaultModalLocale === void 0 ? void 0 : defaultModalLocale[lang]) || defaultModalLocale['zh'];
|
|
19
|
+
return confirmRuntimeLocale;
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
const GlobalContext = /*#__PURE__*/React__default.createContext({
|
package/Help/index.js
CHANGED