@para-ui/core 4.0.19-aplha6 → 4.0.20
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/Breadcrumbs/index.js +2 -2
- package/Button/SplitButton.d.ts +1 -1
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +2 -2
- package/Cascader/OptionList/Column.d.ts +1 -1
- package/Cascader/index.js +5 -5
- package/ColorPicker/chromePicker/index.d.ts +2 -1
- package/ColorPicker/compactPicker/index.d.ts +2 -1
- package/ColorPicker/sketchPicker/index.d.ts +2 -1
- package/ColorPicker/swatchesPicker/index.d.ts +2 -1
- package/ComboSelect/index.js +151 -84
- package/ComboSelect/interface.d.ts +3 -0
- package/Container/index.d.ts +1 -1
- package/CopyText/index.js +2 -2
- package/CycleSelector/index.js +4 -4
- package/DatePicker/PickerButton.d.ts +2 -1
- package/DatePicker/PickerTag.d.ts +2 -1
- package/DatePicker/index.js +3 -3
- package/Descriptions/index.js +2 -2
- package/Desktop/index.js +3 -3
- package/DragVerify/index.js +63 -40
- package/Drawer/index.js +2 -2
- package/DynamicMultiBox/formItem.d.ts +2 -1
- package/DynamicMultiBox/index.js +7 -7
- package/DynamicMultiBox/interface.d.ts +1 -1
- package/DynamicMultiBox/rowForm.d.ts +1 -1
- package/Empty/images/index.d.ts +3 -2
- package/Empty/index.js +3 -4
- package/Form/index.js +5 -5
- package/FormItem/index.js +5 -5
- package/FunctionModal/index.js +5 -4
- package/FunctionModal/modalContext.d.ts +2 -1
- package/GlobalContext/index.js +39 -3
- package/InputLang/index.js +3 -3
- package/Message/index.d.ts +1 -1
- package/Modal/index.js +4 -3
- package/MultiBox/index.js +3 -3
- package/OperateBtn/index.js +7 -3
- package/PageHeader/index.js +2 -2
- package/Pagination/index.js +4 -4
- package/ParauiProvider/index.d.ts +2 -2
- package/ParauiProvider/index.js +3 -3
- package/PopConfirm/index.js +2 -2
- package/Prompt/index.d.ts +1 -1
- package/Querying/images/index.d.ts +3 -2
- package/Querying/index.js +3 -4
- package/QuickReply/index.js +5 -5
- package/README.md +6 -0
- package/Search/index.js +2 -2
- package/Select/index.js +3 -3
- package/SelectInput/index.js +4 -4
- package/Selector/index.js +6 -6
- package/SelectorPicker/index.js +3 -3
- package/SingleBox/index.js +3 -3
- package/Switch/index.js +2 -3
- package/Table/index.js +4 -4
- package/Tabs/index.js +2 -2
- package/TextEditor/index.js +2 -2
- package/TextField/index.js +2 -2
- package/TimePicker/index.js +3 -3
- package/Timeline/TimelineItem.d.ts +1 -1
- package/ToggleButton/index.js +2 -2
- package/Tooltip/utils.d.ts +1 -1
- package/Transfer/box.d.ts +1 -1
- package/Transfer/index.d.ts +1 -1
- package/Transfer/index.js +4 -4
- package/Tree/index.js +5 -5
- package/Tree/utils/treeUtil.d.ts +1 -1
- package/Upload/index.js +4 -3
- package/_verture/defineProperty-1d116156.js +34 -0
- package/_verture/{index-c77ccb98.js → index-02b7a0b7.js} +1 -1
- package/_verture/{index-543781c9.js → index-356d88fa.js} +1 -1
- package/_verture/{index-0f5ee6f7.js → index-9bef932a.js} +1 -1
- package/_verture/index-c568f272.js +18 -0
- package/_verture/{index-f59b0bc0.js → index-cc76d8d5.js} +119 -228
- package/_verture/{index-ca413216.js → intl-f2f27722.js} +1 -54
- package/_verture/{sortable.esm-76fe46a4.js → sortable.esm-49896035.js} +1029 -597
- package/_verture/{useFormatMessage-1fc7c957.js → useFormatMessage-eb13cf56.js} +1 -1
- package/_verture/{useGlobalProps-4ae1a007.js → useGlobalProps-1e416658.js} +1 -1
- package/index.js +13 -10
- package/package.json +17 -12
- package/umd/AutoBox.js +11 -11
- package/umd/AutoTips.js +11 -11
- package/umd/Badge.js +1 -1
- package/umd/Breadcrumbs.js +11 -11
- package/umd/Button.js +11 -11
- package/umd/ButtonGroup.js +11 -11
- package/umd/Carousel.js +9 -9
- package/umd/Cascader.js +11 -11
- package/umd/Checkbox.js +11 -11
- package/umd/CheckboxGroup.js +11 -11
- package/umd/Collapse.js +10 -10
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +4 -4
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +11 -11
- package/umd/Container.js +1 -1
- package/umd/CopyText.js +11 -11
- package/umd/CycleSelector.js +11 -11
- package/umd/DatePicker.js +11 -11
- package/umd/Descriptions.js +11 -11
- package/umd/Desktop.js +11 -11
- package/umd/DragVerify.js +4 -4
- package/umd/Drawer.js +11 -11
- package/umd/Dropdown.js +8 -8
- package/umd/DynamicMultiBox.js +14 -14
- package/umd/Empty.js +1 -1
- package/umd/Form.js +11 -11
- package/umd/FormItem.js +11 -11
- package/umd/FunctionModal.js +11 -11
- package/umd/GlobalContext.js +1 -1
- package/umd/Help.js +11 -11
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +11 -11
- package/umd/InputNumber.js +11 -11
- package/umd/Label.js +11 -11
- package/umd/Loading.js +4 -4
- package/umd/Menu.js +11 -11
- package/umd/Message.js +4 -4
- package/umd/Modal.js +11 -11
- package/umd/MultiBox.js +11 -11
- package/umd/Notification.js +10 -10
- package/umd/OperateBtn.js +11 -11
- package/umd/PageHeader.js +11 -11
- package/umd/Pagination.js +11 -11
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +4 -4
- package/umd/PopConfirm.js +11 -11
- package/umd/PopMenu.js +11 -11
- package/umd/Popover.js +11 -11
- package/umd/Progress.js +9 -9
- package/umd/Prompt.js +4 -4
- package/umd/Querying.js +1 -1
- package/umd/QuickReply.js +14 -14
- package/umd/Radio.js +11 -11
- package/umd/RadioGroup.js +11 -11
- package/umd/Search.js +11 -11
- package/umd/Select.js +11 -11
- package/umd/SelectInput.js +11 -11
- package/umd/Selector.js +11 -11
- package/umd/SelectorPicker.js +11 -11
- package/umd/SingleBox.js +11 -11
- package/umd/Slider.js +8 -8
- package/umd/Status.js +4 -4
- package/umd/Stepper.js +11 -11
- package/umd/Switch.js +11 -11
- package/umd/Table.js +11 -11
- package/umd/Tabs.js +11 -11
- package/umd/Tag.js +11 -11
- package/umd/TextEditor.js +24 -24
- package/umd/TextField.js +11 -11
- package/umd/TimePicker.js +11 -11
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +11 -11
- package/umd/ToggleButton.js +11 -11
- package/umd/Tooltip.js +11 -11
- package/umd/Transfer.js +13 -13
- package/umd/Tree.js +11 -11
- package/umd/Upload.js +12 -12
- package/umd/Utils.js +1 -1
- package/_verture/defineProperty-6f62bb2a.js +0 -34
- /package/_verture/{modalContext-c8cc3107.js → modalContext-3ba6ca8f.js} +0 -0
package/Pagination/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
4
4
|
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
5
|
import { TextField } from '../TextField/index.js';
|
|
6
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
6
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
7
7
|
import Select from '../Select/index.js';
|
|
8
8
|
import { Button } from '../Button/index.js';
|
|
9
9
|
import NavigateBefore from '@para-ui/icons/Left';
|
|
@@ -12,7 +12,6 @@ import Right from '@para-ui/icons/Right';
|
|
|
12
12
|
import DoubleLeft from '@para-ui/icons/DoubleLeft';
|
|
13
13
|
import DoubleRight from '@para-ui/icons/DoubleRight';
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
15
|
-
import '@paraview/lib';
|
|
16
15
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
17
16
|
import '../Label/index.js';
|
|
18
17
|
import '../Help/index.js';
|
|
@@ -22,6 +21,7 @@ import 'rc-tooltip/lib/placements';
|
|
|
22
21
|
import 'clsx';
|
|
23
22
|
import '@para-ui/icons/Forbid';
|
|
24
23
|
import '@para-ui/icons/Help';
|
|
24
|
+
import '@paraview/lib';
|
|
25
25
|
import '@para-ui/icons/PreviewClose';
|
|
26
26
|
import '@para-ui/icons/PreviewOpen';
|
|
27
27
|
import '@para-ui/icons/CloseCircleF';
|
|
@@ -29,7 +29,7 @@ import '../AutoTips/index.js';
|
|
|
29
29
|
import '../Loading/index.js';
|
|
30
30
|
import '@para-ui/icons/LoadingF';
|
|
31
31
|
import '../HelperText/index.js';
|
|
32
|
-
import '../_verture/useGlobalProps-
|
|
32
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
33
33
|
import '../_verture/index-389675ab.js';
|
|
34
34
|
import 'rc-dropdown';
|
|
35
35
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { GlobalContextProps } from '
|
|
2
|
+
import { GlobalContextProps } from '@para-ui/core/GlobalContext';
|
|
3
3
|
import '../Styles/index.scss';
|
|
4
4
|
interface Props extends GlobalContextProps {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare const ParauiProvider: (props: Props) =>
|
|
7
|
+
export declare const ParauiProvider: (props: Props) => JSX.Element;
|
|
8
8
|
export default ParauiProvider;
|
package/ParauiProvider/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import React__default
|
|
3
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import GlobalContext, { changeConfirmLocale } from '@para-ui/core/GlobalContext';
|
|
4
4
|
import { GetLanguage } from '@paraview/lib';
|
|
5
|
+
import { i as i18nIntl } from '../_verture/intl-f2f27722.js';
|
|
5
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
6
7
|
|
|
7
8
|
var css_248z = "@charset \"UTF-8\";\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgb(234, 236, 241);\n}\n\n::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgb(161, 168, 179);\n border-radius: 4px;\n}\n\n::-webkit-scrollbar-corner {\n background: rgb(234, 236, 241);\n}\n\n::-webkit-scrollbar-thumb:hover {\n background: rgb(212, 218, 227);\n}\n\n::-webkit-scrollbar-thumb:active {\n background: rgb(212, 218, 227);\n}\n\n::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(161, 168, 179);\n}\n\n.paraui-v4-scrollbar-small *::-webkit-scrollbar, .paraui-v4-scrollbar-small::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-v4-scrollbar-small *::-webkit-scrollbar-track, .paraui-v4-scrollbar-small::-webkit-scrollbar-track {\n border-radius: 2px;\n}\n.paraui-v4-scrollbar-small *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-small::-webkit-scrollbar-thumb {\n border-radius: 2px;\n}\n\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-track, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-track {\n border-radius: 2px;\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-thumb {\n border-radius: 2px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-corner, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-small-deep::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-small-deep *::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar, .paraui-v4-scrollbar-medium::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar-track, .paraui-v4-scrollbar-medium::-webkit-scrollbar-track {\n border-radius: 2px;\n}\n.paraui-v4-scrollbar-medium *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-medium::-webkit-scrollbar-thumb {\n border-radius: 2px;\n}\n\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-track, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-track {\n border-radius: 2px;\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-thumb {\n border-radius: 2px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-corner, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-medium-deep *::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-medium-deep::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-scrollbar-large *::-webkit-scrollbar, .paraui-v4-scrollbar-large::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.paraui-v4-scrollbar-large *::-webkit-scrollbar-track, .paraui-v4-scrollbar-large::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v4-scrollbar-large *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-large::-webkit-scrollbar-thumb {\n border-radius: 4px;\n}\n\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-track, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-thumb, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgb(212, 218, 227);\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-corner, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-corner {\n background: rgb(92, 101, 115);\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-thumb:hover, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-thumb:hover {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-thumb:active, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-thumb:active {\n background: rgb(161, 168, 179);\n}\n.paraui-v4-scrollbar-large-deep *::-webkit-scrollbar-thumb:window-inactive, .paraui-v4-scrollbar-large-deep::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgb(212, 218, 227);\n}\n\n.paraui-v4-form .paraui-v4-helper-text {\n min-height: 20px;\n}\n\n* {\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 margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\nol, ul {\n list-style: none;\n}\n\na,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\nselect,\nbutton,\ntextarea {\n outline: none;\n}\n\nsvg {\n overflow: hidden;\n}";
|
|
@@ -30,7 +31,6 @@ const ParauiProvider = props => {
|
|
|
30
31
|
});
|
|
31
32
|
};
|
|
32
33
|
React__default.useEffect(() => {
|
|
33
|
-
console.log('%c para-ui react version ===>', 'color:#ff4d4f', version);
|
|
34
34
|
// Confirm 国际化
|
|
35
35
|
const lang = props.language || GetLanguage();
|
|
36
36
|
const locale = props.locale || {};
|
package/PopConfirm/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
|
8
8
|
import { Button } from '../Button/index.js';
|
|
9
9
|
import { Tooltip } from '../Tooltip/index.js';
|
|
10
10
|
import clsx from 'clsx';
|
|
11
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
11
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
12
12
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
13
13
|
import { u as usePopupContainer } from '../_verture/usePopupContainer-635f66f4.js';
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
@@ -22,7 +22,7 @@ import '../AutoTips/index.js';
|
|
|
22
22
|
import 'rc-tooltip';
|
|
23
23
|
import 'rc-tooltip/lib/placements';
|
|
24
24
|
import '@para-ui/icons/Forbid';
|
|
25
|
-
import '
|
|
25
|
+
import '@para-ui/core/GlobalContext';
|
|
26
26
|
|
|
27
27
|
var en = {
|
|
28
28
|
cancel: 'Cancel',
|
package/Prompt/index.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export interface PromptProps {
|
|
|
26
26
|
/** 是否显示边框 */
|
|
27
27
|
outline?: boolean;
|
|
28
28
|
}
|
|
29
|
-
export declare const Prompt: (props: PromptProps) =>
|
|
29
|
+
export declare const Prompt: (props: PromptProps) => JSX.Element | null;
|
|
30
30
|
export default Prompt;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LargeSearch: () => JSX.Element;
|
|
3
|
+
export declare const SmallSearch: () => JSX.Element;
|
package/Querying/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
3
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
5
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
7
|
import 'react';
|
|
8
|
-
import '
|
|
9
|
-
import '@paraview/lib';
|
|
8
|
+
import '@para-ui/core/GlobalContext';
|
|
10
9
|
|
|
11
10
|
const LargeSearch = () => {
|
|
12
11
|
return jsx("svg", Object.assign({
|
package/QuickReply/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
|
-
import { d as dist } from '../_verture/index-
|
|
5
|
+
import { d as dist } from '../_verture/index-9bef932a.js';
|
|
6
6
|
import { Button } from '../Button/index.js';
|
|
7
7
|
import { Checkbox } from '../Checkbox/index.js';
|
|
8
8
|
import { TextField } from '../TextField/index.js';
|
|
@@ -14,12 +14,12 @@ import Drag from '@para-ui/icons/Drag';
|
|
|
14
14
|
import Delete from '@para-ui/icons/Delete';
|
|
15
15
|
import EditOutline from '@para-ui/icons/EditOutline';
|
|
16
16
|
import { UUID } from '@paraview/lib';
|
|
17
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
17
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
18
18
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
19
19
|
import { Popover } from '../Popover/index.js';
|
|
20
20
|
import Message from '@para-ui/icons/Message';
|
|
21
21
|
import Set from '@para-ui/icons/Set';
|
|
22
|
-
import '../_verture/sortable.esm-
|
|
22
|
+
import '../_verture/sortable.esm-49896035.js';
|
|
23
23
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
24
24
|
import '@para-ui/icons/LoadingF';
|
|
25
25
|
import '../Tooltip/index.js';
|
|
@@ -31,7 +31,7 @@ import '../_verture/index-389675ab.js';
|
|
|
31
31
|
import 'rc-dropdown';
|
|
32
32
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import '
|
|
34
|
+
import '@para-ui/core/GlobalContext';
|
|
35
35
|
import '../Label/index.js';
|
|
36
36
|
import '../Help/index.js';
|
|
37
37
|
import '@para-ui/icons/Help';
|
|
@@ -40,7 +40,7 @@ import '@para-ui/icons/PreviewOpen';
|
|
|
40
40
|
import '@para-ui/icons/CloseCircleF';
|
|
41
41
|
import '../Loading/index.js';
|
|
42
42
|
import '../HelperText/index.js';
|
|
43
|
-
import '../_verture/useGlobalProps-
|
|
43
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
44
44
|
import '@para-ui/icons/CheckCircleF';
|
|
45
45
|
import '@para-ui/icons/WarningCircle';
|
|
46
46
|
import '@para-ui/icons/WarningCircleF';
|
package/README.md
CHANGED
package/Search/index.js
CHANGED
|
@@ -21,8 +21,8 @@ import '../AutoTips/index.js';
|
|
|
21
21
|
import '../Loading/index.js';
|
|
22
22
|
import '@para-ui/icons/LoadingF';
|
|
23
23
|
import '../HelperText/index.js';
|
|
24
|
-
import '../_verture/useGlobalProps-
|
|
25
|
-
import '
|
|
24
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
25
|
+
import '@para-ui/core/GlobalContext';
|
|
26
26
|
import '../_verture/index-389675ab.js';
|
|
27
27
|
import 'rc-dropdown';
|
|
28
28
|
import '../_verture/usePopupContainer-635f66f4.js';
|
package/Select/index.js
CHANGED
|
@@ -4,19 +4,19 @@ import Empty from '../Empty/index.js';
|
|
|
4
4
|
import Label from '../Label/index.js';
|
|
5
5
|
import { D as Dropdown } from '../_verture/index-389675ab.js';
|
|
6
6
|
import { UUID, DeepClone } from '@paraview/lib';
|
|
7
|
-
import
|
|
7
|
+
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
8
8
|
import CloseIcon from '@para-ui/icons/Close';
|
|
9
9
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
10
10
|
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
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
13
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
14
14
|
import AutoTips from '../AutoTips/index.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';
|
|
18
18
|
import HelperText from '../HelperText/index.js';
|
|
19
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
19
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
20
20
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
21
21
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
22
22
|
import 'clsx';
|
package/SelectInput/index.js
CHANGED
|
@@ -4,10 +4,9 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../Empty/index.js';
|
|
6
6
|
import 'clsx';
|
|
7
|
-
import '../_verture/useFormatMessage-
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
7
|
+
import '../_verture/useFormatMessage-eb13cf56.js';
|
|
8
|
+
import '@para-ui/core/GlobalContext';
|
|
9
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
11
10
|
import '../_verture/style-inject.es-300983ab.js';
|
|
12
11
|
import '../Label/index.js';
|
|
13
12
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
@@ -21,6 +20,7 @@ import '../_verture/index-389675ab.js';
|
|
|
21
20
|
import 'rc-dropdown';
|
|
22
21
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
23
22
|
import 'dayjs';
|
|
23
|
+
import '@paraview/lib';
|
|
24
24
|
import '@para-ui/icons/Close';
|
|
25
25
|
import '@para-ui/icons/CloseCircleF';
|
|
26
26
|
import '@para-ui/icons/Down';
|
package/Selector/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import AutoTips from '../AutoTips/index.js';
|
|
|
10
10
|
import { Loading } from '../Loading/index.js';
|
|
11
11
|
import CloseIcon from '@para-ui/icons/Close';
|
|
12
12
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
13
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
13
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
15
15
|
import { Search } from '../Search/index.js';
|
|
16
16
|
import { Breadcrumbs } from '../Breadcrumbs/index.js';
|
|
@@ -18,7 +18,7 @@ import Empty from '../Empty/index.js';
|
|
|
18
18
|
import SearchIcon from '@para-ui/icons/Search';
|
|
19
19
|
import Refresh from '@para-ui/icons/Refresh';
|
|
20
20
|
import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
|
|
21
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
21
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
22
22
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
23
23
|
import '../Label/index.js';
|
|
24
24
|
import '../Help/index.js';
|
|
@@ -30,7 +30,7 @@ import '@para-ui/icons/Forbid';
|
|
|
30
30
|
import '@para-ui/icons/Help';
|
|
31
31
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
32
32
|
import '@para-ui/icons/LoadingF';
|
|
33
|
-
import '
|
|
33
|
+
import '@para-ui/core/GlobalContext';
|
|
34
34
|
import '../TextField/index.js';
|
|
35
35
|
import '@para-ui/icons/PreviewClose';
|
|
36
36
|
import '@para-ui/icons/PreviewOpen';
|
|
@@ -154,7 +154,7 @@ var regeneratorRuntime$1 = {exports: {}};
|
|
|
154
154
|
function makeInvokeMethod(e, r, n) {
|
|
155
155
|
var o = h;
|
|
156
156
|
return function (i, a) {
|
|
157
|
-
if (o === f) throw Error("Generator is already running");
|
|
157
|
+
if (o === f) throw new Error("Generator is already running");
|
|
158
158
|
if (o === s) {
|
|
159
159
|
if ("throw" === i) throw a;
|
|
160
160
|
return {
|
|
@@ -296,7 +296,7 @@ var regeneratorRuntime$1 = {exports: {}};
|
|
|
296
296
|
} else if (c) {
|
|
297
297
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
298
298
|
} else {
|
|
299
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
299
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
300
300
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
@@ -336,7 +336,7 @@ var regeneratorRuntime$1 = {exports: {}};
|
|
|
336
336
|
return o;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
throw Error("illegal catch attempt");
|
|
339
|
+
throw new Error("illegal catch attempt");
|
|
340
340
|
},
|
|
341
341
|
delegateYield: function delegateYield(e, r, n) {
|
|
342
342
|
return this.delegate = {
|
package/SelectorPicker/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
|
11
11
|
import Down from '@para-ui/icons/Down';
|
|
12
12
|
import CloseIcon from '@para-ui/icons/Close';
|
|
13
13
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
14
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
14
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
15
15
|
import { Tooltip } from '../Tooltip/index.js';
|
|
16
16
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
17
17
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
@@ -35,8 +35,8 @@ import '../Search/index.js';
|
|
|
35
35
|
import '../TextField/index.js';
|
|
36
36
|
import '@para-ui/icons/PreviewClose';
|
|
37
37
|
import '@para-ui/icons/PreviewOpen';
|
|
38
|
-
import '../_verture/useGlobalProps-
|
|
39
|
-
import '
|
|
38
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
39
|
+
import '@para-ui/core/GlobalContext';
|
|
40
40
|
import '@para-ui/icons/Search';
|
|
41
41
|
import '../Breadcrumbs/index.js';
|
|
42
42
|
import '@para-ui/icons/More';
|
package/SingleBox/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
6
6
|
import PlusCircleF from '@para-ui/icons/PlusCircleF';
|
|
7
7
|
import Delete from '@para-ui/icons/Delete';
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
9
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
10
10
|
import { Tooltip } from '../Tooltip/index.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
12
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
@@ -21,8 +21,8 @@ import 'clsx';
|
|
|
21
21
|
import '@para-ui/icons/Forbid';
|
|
22
22
|
import '../Loading/index.js';
|
|
23
23
|
import '@para-ui/icons/LoadingF';
|
|
24
|
-
import '../_verture/useGlobalProps-
|
|
25
|
-
import '
|
|
24
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
25
|
+
import '@para-ui/core/GlobalContext';
|
|
26
26
|
import '../_verture/index-389675ab.js';
|
|
27
27
|
import 'rc-dropdown';
|
|
28
28
|
import '../_verture/usePopupContainer-635f66f4.js';
|
package/Switch/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-5317fc89.js';
|
|
7
7
|
import Label from '../Label/index.js';
|
|
8
8
|
import { Tooltip } from '../Tooltip/index.js';
|
|
9
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
9
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
11
|
import '../Help/index.js';
|
|
12
12
|
import '@para-ui/icons/Help';
|
|
@@ -14,8 +14,7 @@ import 'react';
|
|
|
14
14
|
import 'rc-tooltip';
|
|
15
15
|
import 'rc-tooltip/lib/placements';
|
|
16
16
|
import '@para-ui/icons/Forbid';
|
|
17
|
-
import '
|
|
18
|
-
import '@paraview/lib';
|
|
17
|
+
import '@para-ui/core/GlobalContext';
|
|
19
18
|
|
|
20
19
|
var en = {
|
|
21
20
|
ing: 'In Progress'
|
package/Table/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import Screen from '@para-ui/icons/ScreenF';
|
|
|
12
12
|
import SolidArrowUp from '@para-ui/icons/UpTriangleF';
|
|
13
13
|
import SolidArrowDown from '@para-ui/icons/DownTriangleF';
|
|
14
14
|
import Panel from '@para-ui/icons/Panel';
|
|
15
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
15
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
16
16
|
import Empty from '../Empty/index.js';
|
|
17
17
|
import { Radio } from '../Radio/index.js';
|
|
18
18
|
import OperateBtn from '../OperateBtn/index.js';
|
|
@@ -20,7 +20,7 @@ import Down from '@para-ui/icons/Down';
|
|
|
20
20
|
import Refresh from '@para-ui/icons/Refresh';
|
|
21
21
|
import { Pagination } from '../Pagination/index.js';
|
|
22
22
|
import { Loading } from '../Loading/index.js';
|
|
23
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
23
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
24
24
|
import '../Tooltip/index.js';
|
|
25
25
|
import 'rc-tooltip';
|
|
26
26
|
import 'rc-tooltip/lib/placements';
|
|
@@ -34,7 +34,7 @@ import '@para-ui/icons/LoadingF';
|
|
|
34
34
|
import '../_verture/index-389675ab.js';
|
|
35
35
|
import 'rc-dropdown';
|
|
36
36
|
import 'dayjs';
|
|
37
|
-
import '
|
|
37
|
+
import '@para-ui/core/GlobalContext';
|
|
38
38
|
import '@para-ui/icons/More';
|
|
39
39
|
import '../PopConfirm/index.js';
|
|
40
40
|
import '@para-ui/icons/CheckCircleF';
|
|
@@ -2760,7 +2760,7 @@ const Table = propsInit => {
|
|
|
2760
2760
|
width: result.width
|
|
2761
2761
|
};
|
|
2762
2762
|
setHeadDataConfig(Object.assign({}, constData.current.headDataConfig)); // 设置表格列配置,被拖动的width
|
|
2763
|
-
handHeadDataCom([...
|
|
2763
|
+
handHeadDataCom([...headDataCom]); // 重新计算表格的最小宽度
|
|
2764
2764
|
// 本地记住拖动列宽度
|
|
2765
2765
|
setLocalStorageHeadCom({
|
|
2766
2766
|
headDataConfig: constData.current.headDataConfig,
|
package/Tabs/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { PopConfirm } from '../PopConfirm/index.js';
|
|
|
9
9
|
import { Radio } from '../Radio/index.js';
|
|
10
10
|
import Help from '../Help/index.js';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
12
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
13
13
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
14
14
|
import { Tooltip } from '../Tooltip/index.js';
|
|
15
15
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
@@ -29,7 +29,7 @@ import '../AutoTips/index.js';
|
|
|
29
29
|
import 'rc-tooltip';
|
|
30
30
|
import 'rc-tooltip/lib/placements';
|
|
31
31
|
import '@para-ui/icons/Forbid';
|
|
32
|
-
import '
|
|
32
|
+
import '@para-ui/core/GlobalContext';
|
|
33
33
|
import '../Label/index.js';
|
|
34
34
|
import '@para-ui/icons/Help';
|
|
35
35
|
|
package/TextEditor/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { i18nChangeLanguage } from '@wangeditor/editor';
|
|
|
6
6
|
import HelperText from '../HelperText/index.js';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
8
8
|
import { UUID } from '@paraview/lib';
|
|
9
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
9
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
11
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
12
12
|
import '../Help/index.js';
|
|
@@ -16,7 +16,7 @@ import 'rc-tooltip/lib/placements';
|
|
|
16
16
|
import 'clsx';
|
|
17
17
|
import '@para-ui/icons/Forbid';
|
|
18
18
|
import '@para-ui/icons/Help';
|
|
19
|
-
import '
|
|
19
|
+
import '@para-ui/core/GlobalContext';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @author xh
|
package/TextField/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import AutoTips from '../AutoTips/index.js';
|
|
|
10
10
|
import { Loading } from '../Loading/index.js';
|
|
11
11
|
import { Tooltip } from '../Tooltip/index.js';
|
|
12
12
|
import HelperText from '../HelperText/index.js';
|
|
13
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
13
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
14
14
|
import { D as Dropdown } from '../_verture/index-389675ab.js';
|
|
15
15
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
16
16
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
@@ -21,7 +21,7 @@ import 'rc-tooltip';
|
|
|
21
21
|
import 'rc-tooltip/lib/placements';
|
|
22
22
|
import '@para-ui/icons/Forbid';
|
|
23
23
|
import '@para-ui/icons/LoadingF';
|
|
24
|
-
import '
|
|
24
|
+
import '@para-ui/core/GlobalContext';
|
|
25
25
|
import 'rc-dropdown';
|
|
26
26
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
27
27
|
import 'dayjs';
|
package/TimePicker/index.js
CHANGED
|
@@ -15,8 +15,8 @@ import 'rc-dropdown';
|
|
|
15
15
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
16
16
|
import 'dayjs';
|
|
17
17
|
import '@paraview/lib';
|
|
18
|
-
import '../_verture/useFormatMessage-
|
|
19
|
-
import '
|
|
18
|
+
import '../_verture/useFormatMessage-eb13cf56.js';
|
|
19
|
+
import '@para-ui/core/GlobalContext';
|
|
20
20
|
import '../AutoTips/index.js';
|
|
21
21
|
import 'rc-tooltip';
|
|
22
22
|
import 'rc-tooltip/lib/placements';
|
|
@@ -26,7 +26,7 @@ import '@para-ui/icons/Close';
|
|
|
26
26
|
import '@para-ui/icons/EditOutline';
|
|
27
27
|
import '../_verture/tinycolor-ece3542d.js';
|
|
28
28
|
import '@para-ui/icons/Plus';
|
|
29
|
-
import '../_verture/defineProperty-
|
|
29
|
+
import '../_verture/defineProperty-1d116156.js';
|
|
30
30
|
import '../_verture/typeof-adeedc13.js';
|
|
31
31
|
import 'rc-picker';
|
|
32
32
|
import '@para-ui/icons/CloseCircleF';
|
package/ToggleButton/index.js
CHANGED
|
@@ -17,8 +17,8 @@ import '../_verture/index-389675ab.js';
|
|
|
17
17
|
import 'rc-dropdown';
|
|
18
18
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
19
19
|
import 'dayjs';
|
|
20
|
-
import '../_verture/useFormatMessage-
|
|
21
|
-
import '
|
|
20
|
+
import '../_verture/useFormatMessage-eb13cf56.js';
|
|
21
|
+
import '@para-ui/core/GlobalContext';
|
|
22
22
|
|
|
23
23
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/23 上午9:50\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-toggle-button.paraui-v4-button-text {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-toggle-button.paraui-v4-button-text:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-button-text:hover[disabled] {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button-wrap {\n display: inline-block;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(255, 255, 255);\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio.paraui-v4-toggle-button-selected:hover {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-radio[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check::before {\n content: \" \";\n position: absolute;\n bottom: 0;\n right: 0;\n border: 8px solid rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check::after {\n content: \" \";\n width: 8px;\n height: 8px;\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAM5JREFUOE/NkQENwjAURFcFIAEHgIM5YCgAHCABFBAUAA5wABI2CTgABeUd+V06BqFkCeEnl6X9d7d/vy7rWK6jPvu9gfe+z9QnsHDOlV9NgHhk4gpxrvjJBogL+DtwATkG12QDxEvIG3AzcRmW/5gAgsaR+1S54peht+c8s7vxc7+OAFHCIVhBWkfLUm6VliazRsUGAzoy6YEz0LaDeItYMVrVWCJ/nVuUmHhArPuX1XoFTI4wJ8au+NYb/ziBCJZdJqoiPFfyBO+I/2twBz0qQBFvrubpAAAAAElFTkSuQmCC\");\n background-size: 8px 8px;\n background-repeat: no-repeat;\n position: absolute;\n bottom: 1px;\n right: 1px;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check:hover::before {\n border-color: rgb(87, 131, 235);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected {\n border-color: rgb(46, 101, 230);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check.paraui-v4-toggle-button-selected::before {\n border-color: rgb(46, 101, 230);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled] {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]:hover {\n color: rgb(161, 168, 179);\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled]:hover::before {\n border-color: rgb(212, 218, 227);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button.paraui-v4-toggle-button-check[disabled].paraui-v4-toggle-button-selected {\n color: rgb(92, 101, 115);\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-toggle-button .toggle-button-text {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button-disabled.paraui-v4-toggle-button:hover {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-toggle-button .toggle-button-badge {\n position: absolute;\n right: 0;\n bottom: 16px;\n}\n.paraui-v4-toggle-button .toggle-button-badge > div {\n position: absolute;\n top: 0;\n right: 0;\n border: 8px solid rgb(46, 101, 230);\n border-top-color: transparent;\n border-left-color: transparent;\n}\n.paraui-v4-toggle-button .toggle-button-badge > svg {\n position: absolute;\n top: 7px;\n right: 1px;\n color: #fff;\n font-weight: 600;\n width: 8px;\n height: 8px;\n}\n\n.paraui-v4-togglebutton-group {\n display: flex;\n flex-flow: row wrap;\n}\n.paraui-v4-togglebutton-group .toggle-button-item {\n margin: 0 10px;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button {\n margin: 0;\n padding: 0 16px;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button[disabled] {\n color: rgb(161, 168, 179);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button[disabled]:hover {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button ~ .paraui-v4-toggle-button::before {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n content: \"\";\n width: 1px;\n height: 14px;\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected {\n color: rgb(46, 101, 230);\n border: 0;\n font-weight: 700;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected[disabled] {\n color: rgb(92, 101, 115);\n background-color: transparent;\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected[disabled]:hover {\n background-color: transparent;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:first-child:before {\n display: none;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected:not(:first-child)::before {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n content: \"\";\n width: 1px;\n height: 14px;\n background-color: rgb(212, 218, 227);\n border: 0;\n}\n.paraui-v4-togglebutton-group-text .paraui-v4-toggle-button-selected::after {\n display: none;\n}";
|
|
24
24
|
styleInject(css_248z);
|
package/Tooltip/utils.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ interface PlacementsConfig {
|
|
|
11
11
|
autoAdjustOverflow?: boolean | AdjustOverflow;
|
|
12
12
|
}
|
|
13
13
|
export default function getPlacements(config: PlacementsConfig): BuildInPlacements;
|
|
14
|
-
export declare function getDisabledCompatibleChildren(child: React.ReactNode):
|
|
14
|
+
export declare function getDisabledCompatibleChildren(child: React.ReactNode): JSX.Element;
|
|
15
15
|
export declare function mapLegacyPlacement(place: TooltipPlacement): string;
|
|
16
16
|
export {};
|
package/Transfer/box.d.ts
CHANGED
|
@@ -33,6 +33,6 @@ export interface ItemDataProps {
|
|
|
33
33
|
tagColor?: string;
|
|
34
34
|
[name: string]: any;
|
|
35
35
|
}
|
|
36
|
-
export declare const Box: (props: IBox) =>
|
|
36
|
+
export declare const Box: (props: IBox) => JSX.Element;
|
|
37
37
|
export default Box;
|
|
38
38
|
export declare const Sortablejs: typeof Sortable;
|
package/Transfer/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ interface TransferProps {
|
|
|
26
26
|
render?: (data: ItemDataProps) => void;
|
|
27
27
|
customKey?: string;
|
|
28
28
|
}
|
|
29
|
-
export declare const Transfer: (props: TransferProps) =>
|
|
29
|
+
export declare const Transfer: (props: TransferProps) => JSX.Element;
|
|
30
30
|
export default Transfer;
|
|
31
31
|
export type IItemDataProps = ItemDataProps;
|
|
32
32
|
export declare const SSortablejs: typeof import("sortablejs");
|
package/Transfer/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import NavigateBefore from '@para-ui/icons/Left';
|
|
|
6
6
|
import Right from '@para-ui/icons/Right';
|
|
7
7
|
import ExpandLess from '@para-ui/icons/Up';
|
|
8
8
|
import Down from '@para-ui/icons/Down';
|
|
9
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
9
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
11
11
|
import { Search } from '../Search/index.js';
|
|
12
12
|
import SearchIcon from '@para-ui/icons/Search';
|
|
13
13
|
import AutoTips from '../AutoTips/index.js';
|
|
14
14
|
import Drag from '@para-ui/icons/Drag';
|
|
15
|
-
import { S as Sortable } from '../_verture/sortable.esm-
|
|
15
|
+
import { S as Sortable } from '../_verture/sortable.esm-49896035.js';
|
|
16
16
|
import { d as debounce } from '../_verture/utils-c17b5265.js';
|
|
17
17
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
18
18
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
@@ -26,7 +26,7 @@ import 'rc-dropdown';
|
|
|
26
26
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '@paraview/lib';
|
|
29
|
-
import '
|
|
29
|
+
import '@para-ui/core/GlobalContext';
|
|
30
30
|
import '../TextField/index.js';
|
|
31
31
|
import '../Label/index.js';
|
|
32
32
|
import '../Help/index.js';
|
|
@@ -36,7 +36,7 @@ import '@para-ui/icons/PreviewOpen';
|
|
|
36
36
|
import '@para-ui/icons/CloseCircleF';
|
|
37
37
|
import '../Loading/index.js';
|
|
38
38
|
import '../HelperText/index.js';
|
|
39
|
-
import '../_verture/useGlobalProps-
|
|
39
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
40
40
|
|
|
41
41
|
var en = {
|
|
42
42
|
left: 'Left',
|
package/Tree/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Tree } from '../_verture/index-
|
|
2
|
-
export { T as default } from '../_verture/index-
|
|
1
|
+
import { T as Tree } from '../_verture/index-02b7a0b7.js';
|
|
2
|
+
export { T as default } from '../_verture/index-02b7a0b7.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
@@ -26,10 +26,10 @@ import '@para-ui/icons/EditFile';
|
|
|
26
26
|
import '@para-ui/icons/PlusCircle';
|
|
27
27
|
import '@para-ui/icons/Delete';
|
|
28
28
|
import '@paraview/lib';
|
|
29
|
-
import '../_verture/useFormatMessage-
|
|
30
|
-
import '
|
|
29
|
+
import '../_verture/useFormatMessage-eb13cf56.js';
|
|
30
|
+
import '@para-ui/core/GlobalContext';
|
|
31
31
|
import '@para-ui/icons/MoreCircle';
|
|
32
32
|
import '../Empty/index.js';
|
|
33
|
-
import '../_verture/useGlobalProps-
|
|
33
|
+
import '../_verture/useGlobalProps-1e416658.js';
|
|
34
34
|
import '../Loading/index.js';
|
|
35
35
|
import '../AutoTips/index.js';
|
package/Tree/utils/treeUtil.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export declare const collapseMotion: CSSMotionProps;
|
|
|
5
5
|
export default function renderSwitcherIcon(prefixCls: string, switcherIcon: React.ReactNode | null | undefined, showLine: boolean | {
|
|
6
6
|
showLeafIcon: boolean;
|
|
7
7
|
} | undefined, { isLeaf, expanded, loading, eventKey }: TreeNodeProps): {} | null;
|
|
8
|
-
export declare function renderTreeNodeIcon(nodeProps: TreeNodeProps, radioable: boolean, checkedKey: any, replaceFields: any):
|
|
8
|
+
export declare function renderTreeNodeIcon(nodeProps: TreeNodeProps, radioable: boolean, checkedKey: any, replaceFields: any): JSX.Element | null;
|