@para-ui/core 3.0.86 → 4.0.0-beta
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 +18 -19
- package/AutoTips/index.js +5 -4
- package/Breadcrumbs/index.js +5 -4
- package/Button/SplitButton.d.ts +13 -0
- package/Button/index.d.ts +1 -1
- package/Button/index.js +54 -12
- package/ButtonGroup/index.js +6 -5
- package/Carousel/index.d.ts +5 -5
- package/Carousel/index.js +21 -9
- package/Cascader/Cascader.d.ts +99 -0
- package/Cascader/OptionList/CacheContent.d.ts +7 -0
- package/Cascader/OptionList/Column.d.ts +21 -0
- package/Cascader/OptionList/index.d.ts +4 -0
- package/Cascader/OptionList/useActive.d.ts +6 -0
- package/Cascader/context.d.ts +23 -0
- package/Cascader/hooks/useDisplayValues.d.ts +10 -0
- package/Cascader/hooks/useEntities.d.ts +10 -0
- package/Cascader/hooks/useMissingValues.d.ts +3 -0
- package/Cascader/index.d.ts +3 -58
- package/Cascader/index.js +28 -177
- package/Cascader/utils/commonUtil.d.ts +18 -0
- package/Cascader/utils/treeUtil.d.ts +55 -0
- package/Checkbox/index.d.ts +7 -0
- package/Checkbox/index.js +50 -29
- package/CheckboxGroup/index.d.ts +3 -1
- package/CheckboxGroup/index.js +48 -18
- package/Collapse/index.js +2 -2
- package/Collapse/motion.d.ts +0 -2
- package/CollapseBox/index.js +3 -3
- package/CollapseLayout/index.d.ts +5 -0
- package/CollapseLayout/index.js +144 -22
- package/ColorPicker/chromePicker/index.d.ts +9 -0
- package/ColorPicker/compactPicker/index.d.ts +9 -0
- package/ColorPicker/config.d.ts +5 -0
- package/ColorPicker/index.d.ts +4 -1
- package/ColorPicker/index.js +7 -3
- package/ColorPicker/sketchPicker/index.d.ts +11 -0
- package/ColorPicker/swatchesPicker/index.d.ts +9 -0
- package/ComboSelect/index.js +14 -12
- package/Container/index.js +2 -2
- package/CopyText/index.d.ts +33 -0
- package/CopyText/index.js +180 -0
- package/DatePicker/generatePicker/generateRangePicker.d.ts +9 -2
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +8 -8
- package/DatePicker/generatePicker/index.d.ts +32 -26
- package/DatePicker/generatePicker/interface.d.ts +12 -0
- package/DatePicker/index.d.ts +12 -8
- package/DatePicker/index.js +367 -454
- package/DatePicker/util.d.ts +40 -4
- package/Desktop/index.d.ts +16 -3
- package/Desktop/index.js +177 -68
- package/Desktop/lang/en_US.d.ts +6 -0
- package/Desktop/lang/index.d.ts +13 -0
- package/Desktop/lang/zh_CN.d.ts +6 -0
- package/DragVerify/index.js +9 -100
- package/Drawer/index.js +8 -8
- package/Drawer/interface.d.ts +2 -2
- package/Dropdown/index.js +2 -2
- package/DynamicMultiBox/index.js +57 -41
- package/DynamicMultiBox/interface.d.ts +4 -4
- package/Empty/index.js +2 -2
- package/Form/index.d.ts +20 -26
- package/Form/index.js +48 -69
- package/FormItem/index.js +15 -15
- package/FunctionModal/index.js +11 -9
- package/GlobalContext/constant.d.ts +1 -1
- package/GlobalContext/index.js +2 -2
- package/Help/index.js +4 -3
- package/HelperText/index.js +2 -2
- package/InputLang/index.d.ts +5 -0
- package/InputLang/index.js +35 -29
- package/InputNumber/index.d.ts +5 -0
- package/InputNumber/index.js +95 -80
- package/Label/index.js +4 -3
- package/Loading/index.js +2 -2
- package/Menu/index.js +114 -39
- package/Menu/interface.d.ts +8 -0
- package/Message/index.d.ts +4 -4
- package/Message/index.js +13 -11
- package/Modal/index.js +29 -15
- package/MultiBox/index.js +9 -8
- package/Notification/index.d.ts +9 -1
- package/Notification/index.js +29 -15
- package/OperateBtn/index.js +28 -11
- package/PageHeader/index.js +270 -74
- package/PageHeader/interface.d.ts +17 -0
- package/Pagination/index.d.ts +4 -3
- package/Pagination/index.js +117 -95
- package/Pagination/lang/en_US.d.ts +3 -2
- package/Pagination/lang/index.d.ts +6 -4
- package/Pagination/lang/zh_CN.d.ts +3 -2
- package/ParauiProvider/index.js +4 -4
- package/PasswordRules/index.js +5 -5
- package/PopConfirm/index.d.ts +15 -5
- package/PopConfirm/index.js +62 -16
- package/Popover/index.js +4 -3
- package/Progress/index.js +10 -9
- package/Querying/index.js +7 -7
- package/README.md +40 -1120
- package/Radio/index.d.ts +7 -0
- package/Radio/index.js +49 -27
- package/RadioGroup/index.d.ts +3 -1
- package/RadioGroup/index.js +48 -21
- package/Search/index.d.ts +3 -15
- package/Search/index.js +21 -83
- package/Select/index.d.ts +7 -2
- package/Select/index.js +114 -91
- package/Select/lang/en_US.d.ts +1 -1
- package/Select/lang/index.d.ts +2 -2
- package/Select/lang/zh_CN.d.ts +1 -1
- package/SelectInput/index.js +8 -7
- package/Selector/index.js +30 -22
- package/SelectorPicker/index.d.ts +5 -0
- package/SelectorPicker/index.js +47 -32
- package/SelectorPicker/lang/en_US.d.ts +1 -0
- package/SelectorPicker/lang/index.d.ts +2 -0
- package/SelectorPicker/lang/zh_CN.d.ts +1 -0
- package/SingleBox/index.js +8 -7
- package/Slider/index.js +5 -5
- package/Status/index.d.ts +6 -5
- package/Status/index.js +27 -4
- package/Stepper/index.d.ts +9 -10
- package/Stepper/index.js +69 -29
- package/Styles/index.scss +4 -0
- package/Styles/scrollbar.scss +24 -24
- package/Styles/theme.scss +104 -57
- package/Switch/index.d.ts +34 -14
- package/Switch/index.js +97 -30
- package/Table/index.js +33 -27
- package/Table/interface.d.ts +3 -1
- package/Table/tableHeadInterface.d.ts +1 -1
- package/Table/tablePaginationInterface.d.ts +5 -5
- package/Tabs/index.d.ts +11 -1
- package/Tabs/index.js +49 -16
- package/Tag/TagGroup.d.ts +11 -7
- package/Tag/index.d.ts +22 -7
- package/Tag/index.js +1382 -53
- package/TextEditor/index.js +4 -3
- package/TextField/index.d.ts +5 -0
- package/TextField/index.js +50 -32
- package/TimePicker/index.d.ts +5 -0
- package/TimePicker/index.js +39 -23
- package/Timeline/TimelineItem.d.ts +1 -1
- package/Timeline/index.d.ts +5 -5
- package/Timeline/index.js +21 -18
- package/Title/index.d.ts +15 -3
- package/Title/index.js +95 -29
- package/ToggleButton/ToggleButtonGroup.d.ts +1 -0
- package/ToggleButton/index.d.ts +4 -0
- package/ToggleButton/index.js +14 -52
- package/Tooltip/index.js +28 -34
- package/Tooltip/interface.d.ts +4 -10
- package/Tooltip/utils.d.ts +1 -3
- package/Transfer/index.d.ts +3 -3
- package/Transfer/index.js +72 -68
- package/Tree/Tree.d.ts +2 -2
- package/Tree/index.js +10 -9
- package/Tree/utils/treeUtil.d.ts +0 -7
- package/Upload/index.js +16 -14
- package/_verture/{constant-66aa48a1.js → constant-0d9802f7.js} +1 -1
- package/_verture/{defineProperty-62acccfc.js → defineProperty-1d116156.js} +1 -1
- package/_verture/index-5c77417d.js +150 -0
- package/_verture/index-68db2bc3.js +10530 -0
- package/_verture/{index-9738004e.js → index-7ec72724.js} +44 -38
- package/_verture/index-d63bd287.js +327 -0
- package/_verture/{index-fa8a0124.js → index-e6f85fd5.js} +7 -8
- package/_verture/{index-77f9e0fb.js → index-e9007d6a.js} +6 -6
- package/_verture/{intl-4a9f1b44.js → intl-5c1ec055.js} +1 -1
- package/_verture/{modalContext-20780c9a.js → modalContext-c12ca3e8.js} +3 -3
- package/_verture/slicedToArray-a8206399.js +43 -0
- package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-8f4c9589.js} +1 -1
- package/_verture/typeof-adeedc13.js +11 -0
- package/_verture/typeof-b240b062.js +16 -0
- package/_verture/{utils-c9b9a157.js → utils-f0e81540.js} +8 -8
- package/index.d.ts +2 -2
- package/index.js +32 -27
- package/locale/en-US.d.ts +10 -6
- package/locale/index.d.ts +20 -12
- package/locale/index.js +33 -25
- package/locale/zh-CN.d.ts +10 -6
- package/package.json +25 -10
- package/umd/AutoBox.js +20 -21
- package/umd/AutoTips.js +31 -4
- package/umd/Breadcrumbs.js +7 -7
- package/umd/Button.js +7 -8
- package/umd/ButtonGroup.js +7 -8
- package/umd/Carousel.js +29 -1
- package/umd/Cascader.js +20 -21
- package/umd/Checkbox.js +7 -7
- package/umd/CheckboxGroup.js +7 -7
- package/umd/Collapse.js +19 -21
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +4 -4
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +7 -7
- package/umd/Container.js +1 -1
- package/umd/CopyText.js +42 -0
- package/umd/DatePicker.js +7 -7
- package/umd/Desktop.js +7 -7
- package/umd/DragVerify.js +4 -4
- package/umd/Drawer.js +7 -8
- package/umd/Dropdown.js +3 -3
- package/umd/DynamicMultiBox.js +7 -7
- package/umd/Empty.js +1 -1
- package/umd/Form.js +6 -6
- package/umd/FormItem.js +6 -6
- package/umd/FunctionModal.js +7 -7
- package/umd/Help.js +7 -7
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +7 -7
- package/umd/InputNumber.js +7 -7
- package/umd/Label.js +7 -7
- package/umd/Loading.js +4 -5
- package/umd/Menu.js +4 -4
- package/umd/Message.js +3 -4
- package/umd/Modal.js +7 -7
- package/umd/MultiBox.js +7 -7
- package/umd/Notification.js +5 -6
- package/umd/OperateBtn.js +7 -7
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +7 -7
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +3 -4
- package/umd/PopConfirm.js +7 -7
- package/umd/Popover.js +31 -4
- package/umd/Progress.js +4 -5
- package/umd/Querying.js +1 -1
- package/umd/Radio.js +7 -7
- package/umd/RadioGroup.js +7 -7
- package/umd/Search.js +7 -7
- package/umd/Select.js +7 -7
- package/umd/SelectInput.js +7 -7
- package/umd/Selector.js +7 -7
- package/umd/SelectorPicker.js +7 -7
- package/umd/SingleBox.js +7 -7
- package/umd/Slider.js +3 -3
- package/umd/Status.js +29 -1
- package/umd/Stepper.js +20 -20
- package/umd/Switch.js +7 -7
- package/umd/Table.js +7 -7
- package/umd/Tabs.js +7 -7
- package/umd/Tag.js +7 -8
- package/umd/TextEditor.js +19 -19
- package/umd/TextField.js +7 -7
- package/umd/TimePicker.js +7 -7
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +42 -1
- package/umd/ToggleButton.js +7 -8
- package/umd/Tooltip.js +31 -4
- package/umd/Transfer.js +8 -8
- package/umd/Tree.js +7 -7
- package/umd/Upload.js +8 -8
- package/umd/locale.js +1 -1
- package/Cascader/lang/en_US.d.ts +0 -4
- package/Cascader/lang/index.d.ts +0 -9
- package/Cascader/lang/zh_CN.d.ts +0 -4
- package/Split/index.d.ts +0 -7
- package/Split/index.js +0 -123
- package/_verture/index-a369ca3f.js +0 -4
- package/_verture/index-beef914f.js +0 -340
- package/_verture/slicedToArray-76060636.js +0 -43
- package/_verture/typeof-498dd2b1.js +0 -11
- package/umd/Split.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-a8206399.js';
|
|
4
4
|
import { TextField } from '../TextField/index.js';
|
|
5
5
|
import { RadioGroup } from '../RadioGroup/index.js';
|
|
6
6
|
import Select from '../Select/index.js';
|
|
7
7
|
import { CheckboxGroup } from '../CheckboxGroup/index.js';
|
|
8
|
-
import { _ as _typeof } from './typeof-
|
|
8
|
+
import { _ as _typeof } from './typeof-adeedc13.js';
|
|
9
9
|
import { Switch } from '../Switch/index.js';
|
|
10
10
|
import Delete from '@para-ui/icons/Delete';
|
|
11
11
|
import ParaLinkGroup from '@para-ui/icons/LinkGroup';
|
|
@@ -17,7 +17,7 @@ import { ComboSelect } from '../ComboSelect/index.js';
|
|
|
17
17
|
import HelperText from '../HelperText/index.js';
|
|
18
18
|
import clsx from 'clsx';
|
|
19
19
|
import Label from '../Label/index.js';
|
|
20
|
-
import { $ as $prefixCls } from './constant-
|
|
20
|
+
import { $ as $prefixCls } from './constant-0d9802f7.js';
|
|
21
21
|
|
|
22
22
|
var FormRadioGroup = function FormRadioGroup(props) {
|
|
23
23
|
var defaultValue = props.defaultValue,
|
|
@@ -206,10 +206,10 @@ var validate = function validate(item, val) {
|
|
|
206
206
|
if (tmsg === false && messageObj) tmsg = messageObj[key];
|
|
207
207
|
} else if (!!tempFuc && fixedValidateFunction[key]) {
|
|
208
208
|
tmsg = fixedValidateFunction[key](item, val);
|
|
209
|
-
} else if (
|
|
209
|
+
} else if (!!!tempFuc) {
|
|
210
210
|
tmsg = true;
|
|
211
211
|
} else {
|
|
212
|
-
|
|
212
|
+
console.log("\u9879\u76EE: ".concat(item.label, ", \u81EA\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219: ").concat(key, ", \u65B9\u6CD5\u672A\u5B9A\u4E49"));
|
|
213
213
|
tmsg = true;
|
|
214
214
|
}
|
|
215
215
|
if (tmsg !== true) return tmsg || '';
|
|
@@ -218,7 +218,7 @@ var validate = function validate(item, val) {
|
|
|
218
218
|
return false;
|
|
219
219
|
};
|
|
220
220
|
|
|
221
|
-
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author
|
|
221
|
+
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.form-file {\n padding: 6px;\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.form-file .file-tips {\n min-height: 20px;\n position: relative;\n padding: 6px;\n}\n.form-file .file-tips .file-tips-item {\n position: relative;\n height: 20px;\n line-height: 16px;\n padding-right: 20px;\n}\n.form-file .file-tips .file-tips-item > [data-name=LinkGroup] {\n vertical-align: middle;\n margin-right: 9px;\n}\n.form-file .file-tips .file-tips-item .file-tips-context {\n display: inline-block;\n vertical-align: middle;\n width: calc(100% - 45px);\n color: rgb(92, 101, 115);\n}\n.form-file .file-tips .file-tips-item > [data-name=Delete] {\n display: none;\n vertical-align: middle;\n cursor: pointer;\n position: absolute;\n right: 3px;\n top: 2px;\n}\n.form-file .file-tips .file-tips-item > [data-name=Delete]:hover {\n opacity: 0.8;\n}\n.form-file .file-tips .file-tips-item:hover {\n backgroundColor: #f5f5f5;\n}\n.form-file .file-tips .file-tips-item:hover > [data-name=Delete] {\n display: inline-block;\n}";
|
|
222
222
|
styleInject(css_248z$1);
|
|
223
223
|
|
|
224
224
|
/**
|
|
@@ -435,7 +435,6 @@ var ItemType = function ItemType(props) {
|
|
|
435
435
|
case 'switch':
|
|
436
436
|
if (backData[name] === undefined) setValue && setValue(name, 'initValue', !!backData[name]);
|
|
437
437
|
return jsx(Switch, Object.assign({
|
|
438
|
-
compact: true,
|
|
439
438
|
defaultChecked: !!backData[name],
|
|
440
439
|
onChange: function onChange(checked) {
|
|
441
440
|
validateFunction(checked);
|
|
@@ -575,7 +574,7 @@ var ErrorTips = function ErrorTips(props) {
|
|
|
575
574
|
}, helperTextProps));
|
|
576
575
|
};
|
|
577
576
|
|
|
578
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author
|
|
577
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-form-item {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v4-form-item .paraui-v4-text-field {\n display: block;\n}\n.paraui-v4-form-item.paraui-v4-form-item-checkGroup .form-label .form-labe-text, .paraui-v4-form-item.paraui-v4-form-item-radioGroup .form-label .form-labe-text {\n margin-bottom: 4px;\n}\n.paraui-v4-form-item .form-label {\n display: inline-block;\n}\n.paraui-v4-form-item .form-edit > div {\n padding: 0;\n width: 100%;\n}\n.paraui-v4-form-item .form-content-vertical {\n display: inline-block;\n width: 100%;\n}";
|
|
579
578
|
styleInject(css_248z);
|
|
580
579
|
|
|
581
580
|
var formInputTypeJson = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import RcDropdown from 'rc-dropdown';
|
|
4
|
-
import { a as $rcPrefixCls, $ as $prefixCls } from './constant-
|
|
4
|
+
import { a as $rcPrefixCls, $ as $prefixCls } from './constant-0d9802f7.js';
|
|
5
5
|
import { g as getNearestOverflowAncestor, u as usePopupContainer } from './usePopupContainer-87febeb9.js';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
@@ -69,7 +69,7 @@ function getTimeProps(props) {
|
|
|
69
69
|
if (!firstFormat.includes('m') && showMinute === undefined) {
|
|
70
70
|
showTimeObj.showMinute = false;
|
|
71
71
|
}
|
|
72
|
-
if (!firstFormat.includes('H') && !firstFormat.includes('h') && showHour === undefined) {
|
|
72
|
+
if (!firstFormat.includes('H') && !firstFormat.includes('h') && !firstFormat.includes('K') && !firstFormat.includes('k') && showHour === undefined) {
|
|
73
73
|
showTimeObj.showHour = false;
|
|
74
74
|
}
|
|
75
75
|
if ((firstFormat.includes('a') || firstFormat.includes('A')) && use12Hours === undefined) {
|
|
@@ -80,6 +80,7 @@ function getTimeProps(props) {
|
|
|
80
80
|
return showTimeObj;
|
|
81
81
|
}
|
|
82
82
|
if (typeof firstFormat === 'function') {
|
|
83
|
+
// format of showTime should use default when format is custom format function
|
|
83
84
|
delete showTimeObj.format;
|
|
84
85
|
}
|
|
85
86
|
return {
|
|
@@ -141,11 +142,11 @@ function isolationPopupPollution(open, uniqueCls) {
|
|
|
141
142
|
}
|
|
142
143
|
}
|
|
143
144
|
//浮层渲染容器
|
|
144
|
-
function getPopupContainer(triggerNode, customizeContainer,
|
|
145
|
+
function getPopupContainer(triggerNode, customizeContainer, wrapRef) {
|
|
145
146
|
var _a, _b;
|
|
146
147
|
var container;
|
|
147
148
|
if (!customizeContainer) {
|
|
148
|
-
var rootNode =
|
|
149
|
+
var rootNode = wrapRef.current;
|
|
149
150
|
if (rootNode) {
|
|
150
151
|
container = getNearestOverflowAncestor(rootNode);
|
|
151
152
|
var scrollHeight = container.scrollHeight;
|
|
@@ -162,14 +163,13 @@ function getPopupContainer(triggerNode, customizeContainer, that) {
|
|
|
162
163
|
container.style.position = 'relative';
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
|
-
that.popupRecord = container;
|
|
166
166
|
} else {
|
|
167
167
|
container = customizeContainer(triggerNode) || document.body;
|
|
168
168
|
}
|
|
169
169
|
return container;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/5/27 上午9:58\n* @description\n*/\n/**\n* @author
|
|
172
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/5/27 上午9:58\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-dropdown {\n position: absolute;\n left: -9999px;\n top: -9999px;\n z-index: 1500;\n display: block;\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 line-height: 1.5715;\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n border-radius: 4px;\n}\n.paraui-v4-dropdown.component-dropdown-hidden {\n display: none;\n}\n.paraui-v4-dropdown .component-dropdown-arrow {\n position: absolute;\n border-width: 4px;\n border-color: transparent;\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n border-style: solid;\n transform: rotate(45deg);\n}\n.paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-top, .paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-topLeft, .paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-topRight {\n padding-bottom: 6px;\n}\n.paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-bottom, .paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-bottomLeft, .paraui-v4-dropdown.component-dropdown-show-arrow.component-dropdown-placement-bottomRight {\n padding-top: 6px;\n}\n.paraui-v4-dropdown.component-dropdown-placement-top .component-dropdown-arrow, .paraui-v4-dropdown.component-dropdown-placement-topLeft .component-dropdown-arrow, .paraui-v4-dropdown.component-dropdown-placement-topRight .component-dropdown-arrow {\n bottom: 4px;\n border-top-color: rgb(255, 255, 255);\n}\n.paraui-v4-dropdown.component-dropdown-placement-top .component-dropdown-arrow {\n left: 50%;\n}\n.paraui-v4-dropdown.component-dropdown-placement-topLeft .component-dropdown-arrow {\n left: 15%;\n}\n.paraui-v4-dropdown.component-dropdown-placement-topRight .component-dropdown-arrow {\n right: 15%;\n}\n.paraui-v4-dropdown.component-dropdown-placement-bottom .component-dropdown-arrow, .paraui-v4-dropdown.component-dropdown-placement-bottomLeft .component-dropdown-arrow, .paraui-v4-dropdown.component-dropdown-placement-bottomRight .component-dropdown-arrow {\n top: 4px;\n border-bottom-color: rgb(255, 255, 255);\n}\n.paraui-v4-dropdown.component-dropdown-placement-bottom .component-dropdown-arrow {\n left: 50%;\n}\n.paraui-v4-dropdown.component-dropdown-placement-bottomLeft .component-dropdown-arrow {\n left: 15%;\n}\n.paraui-v4-dropdown.component-dropdown-placement-bottomRight .component-dropdown-arrow {\n right: 15%;\n}\n\n.component-dropdown-slide-up-enter,\n.component-dropdown-slide-up-appear {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n transform-origin: 0 0;\n display: block !important;\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n animation-play-state: paused;\n}\n\n.component-dropdown-slide-up-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n transform-origin: 0 0;\n display: block !important;\n opacity: 1;\n animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n animation-play-state: paused;\n}\n\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-bottomLeft,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-bottomLeft,\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-bottomCenter,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-bottomCenter,\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-bottomRight,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-bottomRight {\n animation-name: componentDropdownSlideUpIn;\n animation-play-state: running;\n}\n\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-topLeft,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-topLeft,\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-topCenter,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-topCenter,\n.component-dropdown-slide-up-enter.component-dropdown-slide-up-enter-active.component-dropdown-placement-topRight,\n.component-dropdown-slide-up-appear.component-dropdown-slide-up-appear-active.component-dropdown-placement-topRight {\n animation-name: componentDropdownSlideDownIn;\n animation-play-state: running;\n}\n\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-bottomLeft,\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-bottomCenter,\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-bottomRight {\n animation-name: componentDropdownSlideUpOut;\n animation-play-state: running;\n}\n\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-topLeft,\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-topCenter,\n.component-dropdown-slide-up-leave.component-dropdown-slide-up-leave-active.component-dropdown-placement-topRight {\n animation-name: componentDropdownSlideDownOut;\n animation-play-state: running;\n}\n\n@keyframes componentDropdownSlideUpIn {\n 0% {\n opacity: 0;\n transform-origin: 0% 0%;\n transform: scaleY(0);\n }\n 100% {\n opacity: 1;\n transform-origin: 0% 0%;\n transform: scaleY(1);\n }\n}\n@keyframes componentDropdownSlideUpOut {\n 0% {\n opacity: 1;\n transform-origin: 0% 0%;\n transform: scaleY(1);\n }\n 100% {\n opacity: 0;\n transform-origin: 0% 0%;\n transform: scaleY(0);\n }\n}\n@keyframes componentDropdownSlideDownIn {\n 0% {\n opacity: 0;\n transform-origin: 0% 100%;\n transform: scaleY(0);\n }\n 100% {\n opacity: 1;\n transform-origin: 0% 100%;\n transform: scaleY(1);\n }\n}\n@keyframes componentDropdownSlideDownOut {\n 0% {\n opacity: 1;\n transform-origin: 0% 100%;\n transform: scaleY(1);\n }\n 100% {\n opacity: 0;\n transform-origin: 0% 100%;\n transform: scaleY(0);\n }\n}";
|
|
173
173
|
styleInject(css_248z);
|
|
174
174
|
|
|
175
175
|
//dropdown偏移量
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-
|
|
1
|
+
import { _ as _typeof } from './typeof-adeedc13.js';
|
|
2
2
|
|
|
3
3
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
4
4
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
-
import { r as regenerator } from './index-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-8f4c9589.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-a8206399.js';
|
|
3
|
+
import { r as regenerator } from './index-d63bd287.js';
|
|
4
4
|
import { a as __awaiter } from './tslib.es6-55ed4bd2.js';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import React__default from 'react';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cb478f24.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return arr;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArrayLimit(r, l) {
|
|
8
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (null != t) {
|
|
10
|
+
var e,
|
|
11
|
+
n,
|
|
12
|
+
i,
|
|
13
|
+
u,
|
|
14
|
+
a = [],
|
|
15
|
+
f = !0,
|
|
16
|
+
o = !1;
|
|
17
|
+
try {
|
|
18
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
19
|
+
if (Object(t) !== t) return;
|
|
20
|
+
f = !1;
|
|
21
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
22
|
+
} catch (r) {
|
|
23
|
+
o = !0, n = r;
|
|
24
|
+
} finally {
|
|
25
|
+
try {
|
|
26
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
27
|
+
} finally {
|
|
28
|
+
if (o) throw n;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return a;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function _nonIterableRest() {
|
|
36
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _slicedToArray(arr, i) {
|
|
40
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { _slicedToArray as _, _arrayWithHoles as a, _nonIterableRest as b };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var _typeof = {exports: {}};
|
|
2
|
+
|
|
3
|
+
(function (module) {
|
|
4
|
+
function _typeof(o) {
|
|
5
|
+
"@babel/helpers - typeof";
|
|
6
|
+
|
|
7
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
8
|
+
return typeof o;
|
|
9
|
+
} : function (o) {
|
|
10
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
11
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
12
|
+
}
|
|
13
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
14
|
+
} (_typeof));
|
|
15
|
+
|
|
16
|
+
export { _typeof as _ };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-1d116156.js';
|
|
2
2
|
|
|
3
3
|
//获取替换字段
|
|
4
4
|
var getReplaceField = function getReplaceField(mode, repl, tableP, treeP) {
|
|
5
5
|
var t = {};
|
|
6
|
-
if (mode ===
|
|
6
|
+
if (mode === 'tree') t = treeP === null || treeP === void 0 ? void 0 : treeP.replaceFields;else t = tableP === null || tableP === void 0 ? void 0 : tableP.replaceFields;
|
|
7
7
|
return Object.assign(Object.assign({}, repl), t);
|
|
8
8
|
};
|
|
9
9
|
//to array
|
|
10
10
|
var toArray = function toArray(list) {
|
|
11
11
|
if (!list) return [];
|
|
12
|
-
return Array.isArray(list) ? list : JSON.stringify(list) ===
|
|
12
|
+
return Array.isArray(list) ? list : JSON.stringify(list) === '{}' ? [] : [list];
|
|
13
13
|
};
|
|
14
14
|
var isRemoteLoad = function isRemoteLoad(mode, props) {
|
|
15
|
-
if (mode ===
|
|
15
|
+
if (mode === 'table') {
|
|
16
16
|
return !(props && Array.isArray(props.data));
|
|
17
17
|
}
|
|
18
18
|
return !(props && Array.isArray(props.treeData));
|
|
@@ -29,8 +29,8 @@ var getOverlaySize = function getOverlaySize(mode) {
|
|
|
29
29
|
var largeTreeOverlayH = "".concat(maxHeight || 338, "px");
|
|
30
30
|
var largeListOverlayH = "".concat(maxHeight || 304, "px");
|
|
31
31
|
var clientH = document.documentElement.clientHeight;
|
|
32
|
-
var fixHeight = height !== undefined ?
|
|
33
|
-
if (mode ===
|
|
32
|
+
var fixHeight = height !== undefined ? 'height' : 'maxHeight';
|
|
33
|
+
if (mode === 'tree') {
|
|
34
34
|
//tree
|
|
35
35
|
if (clientH <= screenH) {
|
|
36
36
|
//小屏幕
|
|
@@ -42,7 +42,7 @@ var getOverlaySize = function getOverlaySize(mode) {
|
|
|
42
42
|
return isRemoteLoad ? {
|
|
43
43
|
height: largeTreeOverlayH
|
|
44
44
|
} : _defineProperty({}, fixHeight, largeTreeOverlayH);
|
|
45
|
-
} else if (mode ===
|
|
45
|
+
} else if (mode === 'list') {
|
|
46
46
|
//list
|
|
47
47
|
if (clientH <= screenH) {
|
|
48
48
|
return isRemoteLoad ? {
|
|
@@ -55,7 +55,7 @@ var getOverlaySize = function getOverlaySize(mode) {
|
|
|
55
55
|
} else {
|
|
56
56
|
//table
|
|
57
57
|
return {
|
|
58
|
-
height: "".concat((_a = maxHeight !== null && maxHeight !== void 0 ? maxHeight : height) !== null && _a !== void 0 ? _a :
|
|
58
|
+
height: "".concat((_a = maxHeight !== null && maxHeight !== void 0 ? maxHeight : height) !== null && _a !== void 0 ? _a : 380, "px")
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
};
|
package/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export { default as ComboSelect } from './ComboSelect';
|
|
|
28
28
|
export * from './ComboSelect';
|
|
29
29
|
export { default as Container } from './Container';
|
|
30
30
|
export * from './Container';
|
|
31
|
+
export { default as CopyText } from './CopyText';
|
|
32
|
+
export * from './CopyText';
|
|
31
33
|
export { default as DatePicker } from './DatePicker';
|
|
32
34
|
export * from './DatePicker';
|
|
33
35
|
export { default as Desktop } from './Desktop';
|
|
@@ -108,8 +110,6 @@ export { default as SingleBox } from './SingleBox';
|
|
|
108
110
|
export * from './SingleBox';
|
|
109
111
|
export { default as Slider } from './Slider';
|
|
110
112
|
export * from './Slider';
|
|
111
|
-
export { default as Split } from './Split';
|
|
112
|
-
export * from './Split';
|
|
113
113
|
export { default as Status } from './Status';
|
|
114
114
|
export * from './Status';
|
|
115
115
|
export { default as Stepper } from './Stepper';
|
package/index.js
CHANGED
|
@@ -4,26 +4,26 @@ export { Breadcrumbs } from './Breadcrumbs/index.js';
|
|
|
4
4
|
export { Button } from './Button/index.js';
|
|
5
5
|
export { ButtonGroup } from './ButtonGroup/index.js';
|
|
6
6
|
export { Carousel } from './Carousel/index.js';
|
|
7
|
-
export { Cascader } from './
|
|
7
|
+
export { C as Cascader } from './_verture/index-68db2bc3.js';
|
|
8
8
|
export { Checkbox } from './Checkbox/index.js';
|
|
9
9
|
export { CheckboxGroup } from './CheckboxGroup/index.js';
|
|
10
10
|
export { Collapse } from './Collapse/index.js';
|
|
11
11
|
export { default as CollapseBox } from './CollapseBox/index.js';
|
|
12
12
|
export { default as CollapseLayout } from './CollapseLayout/index.js';
|
|
13
|
-
export { ChromePicker,
|
|
14
|
-
import './_verture/index-a369ca3f.js';
|
|
13
|
+
export { C as ChromePicker, S as ColorPicker, a as CompactPicker, b as SwatchesPicker } from './_verture/index-5c77417d.js';
|
|
15
14
|
export { ComboSelect } from './ComboSelect/index.js';
|
|
16
15
|
export { Container } from './Container/index.js';
|
|
16
|
+
export { default as CopyText } from './CopyText/index.js';
|
|
17
17
|
export { default as DatePicker } from './DatePicker/index.js';
|
|
18
18
|
export { Desktop } from './Desktop/index.js';
|
|
19
19
|
export { DragVerify } from './DragVerify/index.js';
|
|
20
20
|
export { Drawer } from './Drawer/index.js';
|
|
21
|
-
export { D as Dropdown } from './_verture/index-
|
|
21
|
+
export { D as Dropdown } from './_verture/index-e9007d6a.js';
|
|
22
22
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
23
23
|
export { default as Empty } from './Empty/index.js';
|
|
24
24
|
export { default as Form } from './Form/index.js';
|
|
25
|
-
export { F as FormItem } from './_verture/index-
|
|
26
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
25
|
+
export { F as FormItem } from './_verture/index-e6f85fd5.js';
|
|
26
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-c12ca3e8.js';
|
|
27
27
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
28
|
export { default as Help } from './Help/index.js';
|
|
29
29
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -54,7 +54,6 @@ export { default as Selector, handFieldConfig } from './Selector/index.js';
|
|
|
54
54
|
export { default as SelectorPicker } from './SelectorPicker/index.js';
|
|
55
55
|
export { SingleBox } from './SingleBox/index.js';
|
|
56
56
|
export { Slider } from './Slider/index.js';
|
|
57
|
-
export { default as Split } from './Split/index.js';
|
|
58
57
|
export { Status } from './Status/index.js';
|
|
59
58
|
export { Stepper } from './Stepper/index.js';
|
|
60
59
|
export { Switch } from './Switch/index.js';
|
|
@@ -69,44 +68,53 @@ export { Title } from './Title/index.js';
|
|
|
69
68
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
70
69
|
export { Tooltip } from './Tooltip/index.js';
|
|
71
70
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
72
|
-
export { T as Tree } from './_verture/index-
|
|
71
|
+
export { T as Tree } from './_verture/index-7ec72724.js';
|
|
73
72
|
export { default as Upload } from './Upload/index.js';
|
|
74
73
|
export { default as locale } from './locale/index.js';
|
|
75
|
-
import './_verture/slicedToArray-
|
|
74
|
+
import './_verture/slicedToArray-a8206399.js';
|
|
76
75
|
import './_verture/unsupportedIterableToArray-cb478f24.js';
|
|
77
76
|
import 'react/jsx-runtime';
|
|
78
77
|
import 'react';
|
|
79
78
|
import 'react-dom';
|
|
80
79
|
import '@paraview/lib';
|
|
81
|
-
import './_verture/constant-
|
|
80
|
+
import './_verture/constant-0d9802f7.js';
|
|
82
81
|
import '@para-ui/icons/More';
|
|
83
82
|
import './_verture/style-inject.es-300983ab.js';
|
|
84
|
-
import './_verture/toConsumableArray-
|
|
83
|
+
import './_verture/toConsumableArray-8f4c9589.js';
|
|
85
84
|
import '@para-ui/icons/Return';
|
|
86
85
|
import './_verture/useFormatMessage-703f8b20.js';
|
|
87
86
|
import '@para-ui/core/GlobalContext';
|
|
88
|
-
import './_verture/typeof-
|
|
87
|
+
import './_verture/typeof-adeedc13.js';
|
|
89
88
|
import './_verture/tslib.es6-55ed4bd2.js';
|
|
90
89
|
import 'clsx';
|
|
91
90
|
import '@para-ui/icons/LoadingF';
|
|
92
91
|
import '@para-ui/icons/Forbid';
|
|
93
92
|
import '@para-ui/icons/Down';
|
|
94
|
-
import './_verture/defineProperty-
|
|
93
|
+
import './_verture/defineProperty-1d116156.js';
|
|
95
94
|
import 'react-slick';
|
|
96
|
-
import '
|
|
97
|
-
import '
|
|
95
|
+
import '@para-ui/icons/RightCircleF';
|
|
96
|
+
import '@para-ui/icons/LeftCircleF';
|
|
97
|
+
import 'rc-motion';
|
|
98
|
+
import './_verture/typeof-b240b062.js';
|
|
99
|
+
import 'rc-tree/lib/utils/conductUtil';
|
|
98
100
|
import '@para-ui/icons/Right';
|
|
99
|
-
import '@para-ui/icons/
|
|
101
|
+
import '@para-ui/icons/CloseCircleF';
|
|
102
|
+
import 'rc-tree/lib/utils/treeUtil';
|
|
103
|
+
import '@para-ui/icons';
|
|
100
104
|
import 'rc-collapse';
|
|
101
105
|
import 'react-transition-group';
|
|
102
106
|
import './_verture/util-7e1fb1e2.js';
|
|
103
107
|
import '@para-ui/icons/DoubleLeft';
|
|
104
108
|
import '@para-ui/icons/DoubleRight';
|
|
109
|
+
import 'react-color';
|
|
110
|
+
import './_verture/index-d63bd287.js';
|
|
105
111
|
import '@para-ui/icons/Search';
|
|
106
112
|
import '@para-ui/icons/Close';
|
|
107
113
|
import '@para-ui/icons/CloseCircle';
|
|
108
|
-
import './_verture/utils-
|
|
114
|
+
import './_verture/utils-f0e81540.js';
|
|
109
115
|
import './_verture/useGlobalProps-1b846a65.js';
|
|
116
|
+
import '@para-ui/icons/Copy';
|
|
117
|
+
import '@para-ui/icons/Check';
|
|
110
118
|
import 'rc-picker/es/generate/dayjs';
|
|
111
119
|
import 'rc-picker';
|
|
112
120
|
import '@para-ui/icons/Calendar';
|
|
@@ -114,7 +122,8 @@ import '@para-ui/icons/Time';
|
|
|
114
122
|
import 'rc-picker/lib/locale/en_US';
|
|
115
123
|
import 'rc-picker/lib/locale/zh_CN';
|
|
116
124
|
import '@para-ui/icons/SortRight';
|
|
117
|
-
import '@para-ui/icons/
|
|
125
|
+
import '@para-ui/icons/Left';
|
|
126
|
+
import '@para-ui/icons/Refresh';
|
|
118
127
|
import 'rc-drawer';
|
|
119
128
|
import 'rc-dropdown';
|
|
120
129
|
import './_verture/usePopupContainer-87febeb9.js';
|
|
@@ -125,27 +134,21 @@ import '@para-ui/icons/Delete';
|
|
|
125
134
|
import '@para-ui/icons/Drag';
|
|
126
135
|
import './_verture/sortable.esm-49896035.js';
|
|
127
136
|
import '@para-ui/icons/LinkGroup';
|
|
128
|
-
import './_verture/intl-
|
|
137
|
+
import './_verture/intl-5c1ec055.js';
|
|
129
138
|
import './_verture/index-e2881a53.js';
|
|
130
139
|
import '@para-ui/icons/Help';
|
|
131
|
-
import '@para-ui/icons/
|
|
140
|
+
import '@para-ui/icons/Internet';
|
|
132
141
|
import 'rc-input-number';
|
|
133
142
|
import '@para-ui/icons/Up';
|
|
134
|
-
import '@para-ui/icons/Minus';
|
|
135
|
-
import '@para-ui/icons/Plus';
|
|
136
|
-
import '@para-ui/icons';
|
|
137
143
|
import '@para-ui/icons/IndentRightFill';
|
|
138
144
|
import '@para-ui/icons/IndentLeftFill';
|
|
139
145
|
import '@para-ui/icons/WarningCircleF';
|
|
140
146
|
import '@para-ui/icons/CheckCircleF';
|
|
141
|
-
import '@para-ui/icons/CloseCircleF';
|
|
142
147
|
import 'rc-dialog';
|
|
143
148
|
import '@para-ui/icons/WarningCircle';
|
|
144
149
|
import 'rc-notification';
|
|
145
|
-
import '@para-ui/icons/Left';
|
|
146
150
|
import 'rc-pagination';
|
|
147
151
|
import 'rc-progress';
|
|
148
|
-
import '@para-ui/icons/Refresh';
|
|
149
152
|
import 'rc-slider';
|
|
150
153
|
import 'rc-steps';
|
|
151
154
|
import '@para-ui/icons/One';
|
|
@@ -162,6 +165,8 @@ import '@para-ui/icons/ScreenF';
|
|
|
162
165
|
import '@para-ui/icons/UpTriangleF';
|
|
163
166
|
import '@para-ui/icons/DownTriangleF';
|
|
164
167
|
import 'rc-tabs';
|
|
168
|
+
import '@para-ui/icons/Plus';
|
|
169
|
+
import '@para-ui/icons/EditOutline';
|
|
165
170
|
import '@wangeditor/editor-for-react';
|
|
166
171
|
import '@wangeditor/editor';
|
|
167
172
|
import '@para-ui/icons/PreviewClose';
|
|
@@ -175,7 +180,7 @@ import '@para-ui/icons/PlusCircle';
|
|
|
175
180
|
import '@para-ui/icons/MoreCircle';
|
|
176
181
|
import 'rc-upload';
|
|
177
182
|
import '@para-ui/icons/UploadFile';
|
|
183
|
+
import '@para-ui/icons/Loading';
|
|
178
184
|
import '@para-ui/icons/Text';
|
|
179
185
|
import '@para-ui/icons/Photo';
|
|
180
|
-
import '@para-ui/icons/EditOutline';
|
|
181
186
|
import 'react-easy-crop';
|
package/locale/en-US.d.ts
CHANGED
|
@@ -5,9 +5,6 @@ declare const _default: {
|
|
|
5
5
|
Button: {
|
|
6
6
|
moreActions: string;
|
|
7
7
|
};
|
|
8
|
-
Cascader: {
|
|
9
|
-
placeholder: string;
|
|
10
|
-
};
|
|
11
8
|
ComboSelect: {
|
|
12
9
|
searchPlaceholder: string;
|
|
13
10
|
cancel: string;
|
|
@@ -45,6 +42,11 @@ declare const _default: {
|
|
|
45
42
|
now: string;
|
|
46
43
|
ok: string;
|
|
47
44
|
};
|
|
45
|
+
Desktop: {
|
|
46
|
+
createDir: string;
|
|
47
|
+
save: string;
|
|
48
|
+
outDir: string;
|
|
49
|
+
};
|
|
48
50
|
DragVerify: {
|
|
49
51
|
tryAgain: string;
|
|
50
52
|
swipe: string;
|
|
@@ -76,8 +78,9 @@ declare const _default: {
|
|
|
76
78
|
};
|
|
77
79
|
Pagination: {
|
|
78
80
|
total: string;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
barPage: string;
|
|
82
|
+
prevPage: string;
|
|
83
|
+
nextPage: string;
|
|
81
84
|
jumpTo: string;
|
|
82
85
|
page: string;
|
|
83
86
|
};
|
|
@@ -90,7 +93,7 @@ declare const _default: {
|
|
|
90
93
|
};
|
|
91
94
|
Select: {
|
|
92
95
|
searchPlaceholder: string;
|
|
93
|
-
|
|
96
|
+
more: string;
|
|
94
97
|
};
|
|
95
98
|
Selector: {
|
|
96
99
|
root: string;
|
|
@@ -105,6 +108,7 @@ declare const _default: {
|
|
|
105
108
|
SelectorPicker: {
|
|
106
109
|
selected: string;
|
|
107
110
|
select: string;
|
|
111
|
+
more: string;
|
|
108
112
|
};
|
|
109
113
|
SingleBox: {
|
|
110
114
|
add: string;
|
package/locale/index.d.ts
CHANGED
|
@@ -6,9 +6,6 @@ declare const _default: {
|
|
|
6
6
|
Button: {
|
|
7
7
|
moreActions: string;
|
|
8
8
|
};
|
|
9
|
-
Cascader: {
|
|
10
|
-
placeholder: string;
|
|
11
|
-
};
|
|
12
9
|
ComboSelect: {
|
|
13
10
|
searchPlaceholder: string;
|
|
14
11
|
cancel: string;
|
|
@@ -46,6 +43,11 @@ declare const _default: {
|
|
|
46
43
|
now: string;
|
|
47
44
|
ok: string;
|
|
48
45
|
};
|
|
46
|
+
Desktop: {
|
|
47
|
+
createDir: string;
|
|
48
|
+
save: string;
|
|
49
|
+
outDir: string;
|
|
50
|
+
};
|
|
49
51
|
DragVerify: {
|
|
50
52
|
tryAgain: string;
|
|
51
53
|
swipe: string;
|
|
@@ -77,8 +79,9 @@ declare const _default: {
|
|
|
77
79
|
};
|
|
78
80
|
Pagination: {
|
|
79
81
|
total: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
barPage: string;
|
|
83
|
+
prevPage: string;
|
|
84
|
+
nextPage: string;
|
|
82
85
|
jumpTo: string;
|
|
83
86
|
page: string;
|
|
84
87
|
};
|
|
@@ -91,7 +94,7 @@ declare const _default: {
|
|
|
91
94
|
};
|
|
92
95
|
Select: {
|
|
93
96
|
searchPlaceholder: string;
|
|
94
|
-
|
|
97
|
+
more: string;
|
|
95
98
|
};
|
|
96
99
|
Selector: {
|
|
97
100
|
root: string;
|
|
@@ -106,6 +109,7 @@ declare const _default: {
|
|
|
106
109
|
SelectorPicker: {
|
|
107
110
|
selected: string;
|
|
108
111
|
select: string;
|
|
112
|
+
more: string;
|
|
109
113
|
};
|
|
110
114
|
SingleBox: {
|
|
111
115
|
add: string;
|
|
@@ -158,9 +162,6 @@ declare const _default: {
|
|
|
158
162
|
Button: {
|
|
159
163
|
moreActions: string;
|
|
160
164
|
};
|
|
161
|
-
Cascader: {
|
|
162
|
-
placeholder: string;
|
|
163
|
-
};
|
|
164
165
|
ComboSelect: {
|
|
165
166
|
searchPlaceholder: string;
|
|
166
167
|
cancel: string;
|
|
@@ -198,6 +199,11 @@ declare const _default: {
|
|
|
198
199
|
now: string;
|
|
199
200
|
ok: string;
|
|
200
201
|
};
|
|
202
|
+
Desktop: {
|
|
203
|
+
createDir: string;
|
|
204
|
+
save: string;
|
|
205
|
+
outDir: string;
|
|
206
|
+
};
|
|
201
207
|
DragVerify: {
|
|
202
208
|
tryAgain: string;
|
|
203
209
|
swipe: string;
|
|
@@ -229,8 +235,9 @@ declare const _default: {
|
|
|
229
235
|
};
|
|
230
236
|
Pagination: {
|
|
231
237
|
total: string;
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
barPage: string;
|
|
239
|
+
prevPage: string;
|
|
240
|
+
nextPage: string;
|
|
234
241
|
jumpTo: string;
|
|
235
242
|
page: string;
|
|
236
243
|
};
|
|
@@ -243,7 +250,7 @@ declare const _default: {
|
|
|
243
250
|
};
|
|
244
251
|
Select: {
|
|
245
252
|
searchPlaceholder: string;
|
|
246
|
-
|
|
253
|
+
more: string;
|
|
247
254
|
};
|
|
248
255
|
Selector: {
|
|
249
256
|
root: string;
|
|
@@ -258,6 +265,7 @@ declare const _default: {
|
|
|
258
265
|
SelectorPicker: {
|
|
259
266
|
selected: string;
|
|
260
267
|
select: string;
|
|
268
|
+
more: string;
|
|
261
269
|
};
|
|
262
270
|
SingleBox: {
|
|
263
271
|
add: string;
|