@para-ui/core 4.0.32 → 4.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Anchor/anchorMenu/index.d.ts +16 -0
- package/Anchor/index.d.ts +4 -0
- package/Anchor/index.js +394 -0
- package/Anchor/lang/en_US.d.ts +4 -0
- package/Anchor/lang/index.d.ts +9 -0
- package/Anchor/lang/zh_CN.d.ts +4 -0
- package/Anchor/type.d.ts +42 -0
- package/Argv/batchEdit/index.d.ts +18 -0
- package/Argv/dataGenerator/config.d.ts +16 -0
- package/Argv/dataGenerator/index.d.ts +24 -0
- package/Argv/index.d.ts +36 -0
- package/Argv/index.js +738 -0
- package/Argv/lang/en_US.d.ts +15 -0
- package/Argv/lang/index.d.ts +31 -0
- package/Argv/lang/zh_CN.d.ts +15 -0
- package/AutoBox/index.js +1 -1
- package/AutoButton/index.js +3 -3
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/Button/index.d.ts +2 -2
- package/Button/index.js +4 -4
- package/ButtonGroup/index.d.ts +4 -0
- package/ButtonGroup/index.js +53 -37
- package/Card/index.js +1 -1
- package/Carousel/index.js +1 -1
- package/Cascader/index.js +3 -3
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/CollapseLayout/index.js +1 -1
- package/ComboSelect/index.js +7 -4
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +1 -1
- package/DatePicker/index.js +1 -1
- package/Descriptions/index.js +1 -1
- package/Desktop/index.js +1 -1
- package/DragVerify/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/DynamicMultiBox/index.js +5 -5
- package/Form/index.js +7 -4
- package/FormItem/index.js +7 -4
- package/FunctionModal/index.js +3 -3
- package/Help/index.js +1 -1
- package/Image/index.js +1 -1
- package/InputCode/index.js +1 -1
- package/InputLang/index.js +1 -1
- package/InputNumber/index.js +1 -1
- package/Label/index.js +1 -1
- package/Menu/index.js +1 -1
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +1 -1
- package/Pagination/index.js +1 -1
- package/PopConfirm/index.js +1 -1
- package/PopMenu/index.js +1 -1
- package/Popover/index.js +1 -1
- package/Progress/index.js +1 -1
- package/QuickReply/index.js +1 -1
- package/README.md +29 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/RangeInput/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +1 -1
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +53 -41
- package/Selector/interface.d.ts +2 -1
- package/SelectorPicker/index.js +1 -1
- package/SingleBox/index.js +1 -1
- package/Slider/index.js +1 -1
- package/SortBox/index.d.ts +0 -2
- package/SortBox/index.js +9 -9
- package/Stepper/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +555 -499
- package/Table/interface.d.ts +9 -1
- package/Table/lang/en_US.d.ts +1 -0
- package/Table/lang/index.d.ts +2 -0
- package/Table/lang/zh_CN.d.ts +1 -0
- package/Table/tableBodyElement/index.d.ts +5 -0
- package/Table/tableBodyInterface.d.ts +4 -0
- package/Table/tableHeadInterface.d.ts +2 -0
- package/Tabs/index.js +1 -1
- package/Tag/index.js +1 -1
- package/TextEditor/index.js +4 -4
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +1 -1
- package/Timeline/index.js +21 -14
- package/Title/index.js +1 -1
- package/ToggleButton/ToggleButtonGroup.d.ts +4 -2
- package/ToggleButton/index.d.ts +4 -3
- package/ToggleButton/index.js +51 -37
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +1 -1
- package/Tree/index.js +3 -3
- package/Upload/index.js +79 -23
- package/Upload/interface.d.ts +4 -0
- package/Upload/util.d.ts +32 -0
- package/Utils/index.d.ts +7 -0
- package/Utils/index.js +10 -1
- package/Utils/type.d.ts +1 -0
- package/_verture/{index-519d0a1f.js → index-086e9a6d.js} +1 -1
- package/_verture/{index-44152845.js → index-5f0bfdcf.js} +1 -1
- package/_verture/{modalContext-10f0c5aa.js → modalContext-205db1f4.js} +1 -1
- package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-f43aa41d.js} +1 -1
- package/index.d.ts +4 -0
- package/index.js +21 -16
- package/locale/en-US.d.ts +18 -0
- package/locale/index.d.ts +36 -0
- package/locale/index.js +38 -2
- package/locale/zh-CN.d.ts +18 -0
- package/package.json +6 -4
- package/umd/Anchor.js +43 -0
- package/umd/Argv.js +43 -0
- package/umd/AutoButton.js +5 -5
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +5 -5
- package/umd/CollapseLayout.js +1 -1
- package/umd/ComboSelect.js +19 -7
- package/umd/CopyText.js +3 -3
- package/umd/CycleSelector.js +3 -3
- package/umd/DatePicker.js +1 -1
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +3 -3
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +6 -6
- package/umd/Form.js +19 -7
- package/umd/FormItem.js +19 -7
- package/umd/FunctionModal.js +1 -1
- package/umd/InputCode.js +3 -3
- package/umd/InputLang.js +3 -3
- package/umd/Message.js +15 -16
- package/umd/Modal.js +1 -1
- package/umd/MultiBox.js +3 -3
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +1 -1
- package/umd/Pagination.js +3 -3
- package/umd/PopConfirm.js +1 -1
- package/umd/QuickReply.js +3 -3
- package/umd/Search.js +3 -3
- package/umd/Selector.js +4 -4
- package/umd/SelectorPicker.js +6 -6
- package/umd/SingleBox.js +3 -3
- package/umd/SortBox.js +1 -1
- package/umd/Table.js +19 -7
- package/umd/Tabs.js +1 -1
- package/umd/TextField.js +2 -2
- package/umd/TimePicker.js +1 -1
- package/umd/ToggleButton.js +6 -6
- package/umd/Transfer.js +2 -2
- package/umd/Upload.js +2 -2
- package/umd/Utils.js +1 -1
- package/umd/locale.js +1 -1
- /package/_verture/{index-b037486c.js → index-4c5d6cd7.js} +0 -0
package/DynamicMultiBox/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Panel from '@para-ui/icons/Panel';
|
|
|
7
7
|
import PlusCircleF from '@para-ui/icons/PlusCircleF';
|
|
8
8
|
import Delete from '@para-ui/icons/Delete';
|
|
9
9
|
import Drag from '@para-ui/icons/Drag';
|
|
10
|
-
import {
|
|
10
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
11
11
|
import { TextField } from '../TextField/index.js';
|
|
12
12
|
import Select from '../Select/index.js';
|
|
13
13
|
import { Switch } from '../Switch/index.js';
|
|
@@ -52,8 +52,6 @@ import '@para-ui/icons/Up';
|
|
|
52
52
|
import '../MultiBox/index.js';
|
|
53
53
|
import '@para-ui/icons/Internet';
|
|
54
54
|
import '../Table/index.js';
|
|
55
|
-
import '../_verture/defineProperty-f0e15205.js';
|
|
56
|
-
import '../_verture/slicedToArray-75fa4188.js';
|
|
57
55
|
import '../Button/index.js';
|
|
58
56
|
import '@para-ui/icons/ScreenF';
|
|
59
57
|
import '@para-ui/icons/UpTriangleF';
|
|
@@ -72,8 +70,10 @@ import 'rc-pagination';
|
|
|
72
70
|
import '@para-ui/icons/Right';
|
|
73
71
|
import '@para-ui/icons/DoubleLeft';
|
|
74
72
|
import '@para-ui/icons/DoubleRight';
|
|
75
|
-
import '../_verture/index-
|
|
73
|
+
import '../_verture/index-5f0bfdcf.js';
|
|
76
74
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
75
|
+
import '../_verture/slicedToArray-75fa4188.js';
|
|
76
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
77
77
|
import '../_verture/index-8ac46bd9.js';
|
|
78
78
|
import '../_verture/typeof-6ec38efd.js';
|
|
79
79
|
import 'rc-tree';
|
|
@@ -84,6 +84,7 @@ import '@para-ui/icons/PlusCircle';
|
|
|
84
84
|
import '@para-ui/icons/MoreCircle';
|
|
85
85
|
import '../_verture/utils-c17b5265.js';
|
|
86
86
|
import '../Search/index.js';
|
|
87
|
+
import '../_verture/sortable.esm-76fe46a4.js';
|
|
87
88
|
import 'rc-picker/es/generate/dayjs';
|
|
88
89
|
import '../Tag/index.js';
|
|
89
90
|
import '@para-ui/icons/EditOutline';
|
|
@@ -95,7 +96,6 @@ import '@para-ui/icons/Time';
|
|
|
95
96
|
import 'rc-picker/lib/locale/en_US';
|
|
96
97
|
import 'rc-picker/lib/locale/zh_CN';
|
|
97
98
|
import '@para-ui/icons/SortRight';
|
|
98
|
-
import '../_verture/sortable.esm-76fe46a4.js';
|
|
99
99
|
|
|
100
100
|
var FormItem = function FormItem(props) {
|
|
101
101
|
var onChange = props.onChange,
|
package/Form/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-4c5d6cd7.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
8
|
-
import '../_verture/tslib.es6-
|
|
8
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
9
9
|
import '../Label/index.js';
|
|
10
10
|
import '../Help/index.js';
|
|
11
11
|
import '../Tooltip/index.js';
|
|
@@ -51,17 +51,19 @@ import 'rc-input-number';
|
|
|
51
51
|
import '@para-ui/icons/Up';
|
|
52
52
|
import '../ComboSelect/index.js';
|
|
53
53
|
import '../Table/index.js';
|
|
54
|
-
import '../_verture/defineProperty-f0e15205.js';
|
|
55
54
|
import '@para-ui/icons/ScreenF';
|
|
56
55
|
import '@para-ui/icons/UpTriangleF';
|
|
57
56
|
import '@para-ui/icons/DownTriangleF';
|
|
58
57
|
import '@para-ui/icons/Panel';
|
|
58
|
+
import '../_verture/index-0f5ee6f7.js';
|
|
59
|
+
import '../_verture/sortable.esm-76fe46a4.js';
|
|
59
60
|
import '../OperateBtn/index.js';
|
|
60
61
|
import '@para-ui/icons/More';
|
|
61
62
|
import '../PopConfirm/index.js';
|
|
62
63
|
import '@para-ui/icons/CheckCircleF';
|
|
63
64
|
import '@para-ui/icons/WarningCircle';
|
|
64
65
|
import '@para-ui/icons/WarningCircleF';
|
|
66
|
+
import '@para-ui/icons/Drag';
|
|
65
67
|
import '@para-ui/icons/Refresh';
|
|
66
68
|
import '../Pagination/index.js';
|
|
67
69
|
import '@para-ui/icons/Left';
|
|
@@ -69,8 +71,9 @@ import 'rc-pagination';
|
|
|
69
71
|
import '@para-ui/icons/Right';
|
|
70
72
|
import '@para-ui/icons/DoubleLeft';
|
|
71
73
|
import '@para-ui/icons/DoubleRight';
|
|
72
|
-
import '../_verture/index-
|
|
74
|
+
import '../_verture/index-5f0bfdcf.js';
|
|
73
75
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
76
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
74
77
|
import '../_verture/index-8ac46bd9.js';
|
|
75
78
|
import '../_verture/typeof-6ec38efd.js';
|
|
76
79
|
import 'rc-tree';
|
package/FormItem/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-4c5d6cd7.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
8
|
-
import '../_verture/tslib.es6-
|
|
8
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
9
9
|
import '@paraview/lib';
|
|
10
10
|
import '@para-ui/icons/PreviewClose';
|
|
11
11
|
import '@para-ui/icons/PreviewOpen';
|
|
@@ -51,17 +51,19 @@ import 'rc-input-number';
|
|
|
51
51
|
import '@para-ui/icons/Up';
|
|
52
52
|
import '../ComboSelect/index.js';
|
|
53
53
|
import '../Table/index.js';
|
|
54
|
-
import '../_verture/defineProperty-f0e15205.js';
|
|
55
54
|
import '@para-ui/icons/ScreenF';
|
|
56
55
|
import '@para-ui/icons/UpTriangleF';
|
|
57
56
|
import '@para-ui/icons/DownTriangleF';
|
|
58
57
|
import '@para-ui/icons/Panel';
|
|
58
|
+
import '../_verture/index-0f5ee6f7.js';
|
|
59
|
+
import '../_verture/sortable.esm-76fe46a4.js';
|
|
59
60
|
import '../OperateBtn/index.js';
|
|
60
61
|
import '@para-ui/icons/More';
|
|
61
62
|
import '../PopConfirm/index.js';
|
|
62
63
|
import '@para-ui/icons/CheckCircleF';
|
|
63
64
|
import '@para-ui/icons/WarningCircle';
|
|
64
65
|
import '@para-ui/icons/WarningCircleF';
|
|
66
|
+
import '@para-ui/icons/Drag';
|
|
65
67
|
import '@para-ui/icons/Refresh';
|
|
66
68
|
import '../Pagination/index.js';
|
|
67
69
|
import '@para-ui/icons/Left';
|
|
@@ -69,8 +71,9 @@ import 'rc-pagination';
|
|
|
69
71
|
import '@para-ui/icons/Right';
|
|
70
72
|
import '@para-ui/icons/DoubleLeft';
|
|
71
73
|
import '@para-ui/icons/DoubleRight';
|
|
72
|
-
import '../_verture/index-
|
|
74
|
+
import '../_verture/index-5f0bfdcf.js';
|
|
73
75
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
76
|
+
import '../_verture/defineProperty-f0e15205.js';
|
|
74
77
|
import '../_verture/index-8ac46bd9.js';
|
|
75
78
|
import '../_verture/typeof-6ec38efd.js';
|
|
76
79
|
import 'rc-tree';
|
package/FunctionModal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
3
|
-
import '../_verture/tslib.es6-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-205db1f4.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-205db1f4.js';
|
|
3
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../Modal/index.js';
|
package/Help/index.js
CHANGED
package/Image/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useState, useRef, useEffect, useContext, useMemo } from 'react';
|
package/InputCode/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as __awaiter } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect, Fragment } from 'react';
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
package/InputLang/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { GetLanguage, ArrayToObject } from '@paraview/lib';
|
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
12
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
|
|
13
|
-
import '../_verture/tslib.es6-
|
|
13
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
14
14
|
import '../Label/index.js';
|
|
15
15
|
import '../Help/index.js';
|
|
16
16
|
import '../Tooltip/index.js';
|
package/InputNumber/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
4
4
|
import RcInputNumber from 'rc-input-number';
|
package/Label/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import Help from '../Help/index.js';
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
package/Menu/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
|
13
13
|
import 'react-transition-group';
|
|
14
14
|
import '../_verture/util-82646c4f.js';
|
|
15
15
|
import '../Tooltip/index.js';
|
|
16
|
-
import '../_verture/tslib.es6-
|
|
16
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
17
17
|
import 'rc-tooltip';
|
|
18
18
|
import 'rc-tooltip/lib/placements';
|
|
19
19
|
import 'clsx';
|
package/Modal/index.js
CHANGED
package/MultiBox/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
9
9
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
10
10
|
import { Tooltip } from '../Tooltip/index.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
|
-
import '../_verture/tslib.es6-
|
|
12
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
13
13
|
import '@paraview/lib';
|
|
14
14
|
import '@para-ui/icons/PreviewClose';
|
|
15
15
|
import '@para-ui/icons/PreviewOpen';
|
package/OperateBtn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as __awaiter } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, Fragment } from 'react';
|
|
4
4
|
import More from '@para-ui/icons/More';
|
package/PageHeader/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Button } from '../Button/index.js';
|
|
|
10
10
|
import AutoTips from '../AutoTips/index.js';
|
|
11
11
|
import Right from '@para-ui/icons/Right';
|
|
12
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
13
|
-
import '../_verture/tslib.es6-
|
|
13
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
14
14
|
import '../Tooltip/index.js';
|
|
15
15
|
import 'rc-tooltip';
|
|
16
16
|
import 'rc-tooltip/lib/placements';
|
package/Pagination/index.js
CHANGED
|
@@ -13,7 +13,7 @@ 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
15
|
import '@paraview/lib';
|
|
16
|
-
import '../_verture/tslib.es6-
|
|
16
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
17
17
|
import '../Label/index.js';
|
|
18
18
|
import '../Help/index.js';
|
|
19
19
|
import '../Tooltip/index.js';
|
package/PopConfirm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useRef, useState, useMemo, useEffect } from 'react';
|
|
4
4
|
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
package/PopMenu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import React__default, { useState, useRef, useEffect } from 'react';
|
package/Popover/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default, { useEffect } from 'react';
|
|
4
4
|
import { Tooltip } from '../Tooltip/index.js';
|
package/Progress/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { Circle } from 'rc-progress';
|
|
4
4
|
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
package/QuickReply/index.js
CHANGED
|
@@ -20,7 +20,7 @@ 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
22
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
23
|
-
import '../_verture/tslib.es6-
|
|
23
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
24
24
|
import '@para-ui/icons/LoadingF';
|
|
25
25
|
import '../Tooltip/index.js';
|
|
26
26
|
import 'rc-tooltip';
|
package/README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## 🎉 para-ui/core@4.0.37 发布
|
|
2
|
+
|
|
3
|
+
🎁【Feature】
|
|
4
|
+
|
|
5
|
+
- 【上传-Upload】新增 defaultFile 参数支持
|
|
6
|
+
- 【changelog】新增changelog模块
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## 版本: 4.0.36
|
|
10
|
+
para-ui/core@4.0.36 发布
|
|
11
|
+
【环境变量-Argv】新增环境变量组件
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 版本: 4.0.35
|
|
16
|
+
para-ui/core@4.0.35 发布
|
|
17
|
+
【锚点-Anchor】新增锚点组件
|
|
18
|
+
【按钮组-ButtonGroup】新增竖向布局、新增图标文字按钮组
|
|
19
|
+
【切换按钮-ToggleButton】新增图标切换按钮
|
|
20
|
+
|
|
21
|
+
## 版本: 4.0.34
|
|
22
|
+
para-ui/core@4.0.34 发布
|
|
23
|
+
【选择器-Selector】选择器新增错误状态
|
|
24
|
+
|
|
25
|
+
## 版本: 4.0.33
|
|
26
|
+
para-ui/core@4.0.33 发布
|
|
27
|
+
【表格-Table】新增拖拽排序表格
|
|
28
|
+
【自动按钮-AutoButton】新增拖拽排序表格
|
|
29
|
+
|
|
1
30
|
## 版本: 4.0.32
|
|
2
31
|
para-ui/core@4.0.32 发布
|
|
3
32
|
【验证码-InputCode】新增验证码组件
|
package/Radio/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import Label from '../Label/index.js';
|
|
|
4
4
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
5
|
import { Tooltip } from '../Tooltip/index.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
-
import '../_verture/tslib.es6-
|
|
7
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
8
8
|
import '../Help/index.js';
|
|
9
9
|
import '@para-ui/icons/Help';
|
|
10
10
|
import 'clsx';
|
package/RadioGroup/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
6
6
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
7
7
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
8
8
|
import '../Tooltip/index.js';
|
|
9
|
-
import '../_verture/tslib.es6-
|
|
9
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
10
10
|
import 'rc-tooltip';
|
|
11
11
|
import 'rc-tooltip/lib/placements';
|
|
12
12
|
import 'clsx';
|
package/RangeInput/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import clsx from 'clsx';
|
|
|
8
8
|
import { Tooltip } from '../Tooltip/index.js';
|
|
9
9
|
import { DeepClone } from '@paraview/lib';
|
|
10
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
|
-
import '../_verture/tslib.es6-
|
|
11
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
12
12
|
import '../Help/index.js';
|
|
13
13
|
import '@para-ui/icons/Help';
|
|
14
14
|
import 'rc-tooltip';
|
package/Search/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { TextField } from '../TextField/index.js';
|
|
|
4
4
|
import SearchIcon from '@para-ui/icons/Search';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
|
-
import '../_verture/tslib.es6-
|
|
7
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
8
8
|
import '../Label/index.js';
|
|
9
9
|
import '../Help/index.js';
|
|
10
10
|
import '../Tooltip/index.js';
|
package/Select/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.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';
|
|
23
|
-
import '../_verture/tslib.es6-
|
|
23
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
24
24
|
import '../Help/index.js';
|
|
25
25
|
import '@para-ui/icons/Help';
|
|
26
26
|
import 'rc-tooltip';
|
package/SelectInput/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@paraview/lib';
|
|
|
10
10
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
11
11
|
import '../_verture/style-inject.es-300983ab.js';
|
|
12
12
|
import '../Label/index.js';
|
|
13
|
-
import '../_verture/tslib.es6-
|
|
13
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
14
14
|
import '../Help/index.js';
|
|
15
15
|
import '../Tooltip/index.js';
|
|
16
16
|
import 'rc-tooltip';
|
package/Selector/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as __awaiter, a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
@@ -19,6 +19,7 @@ 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
21
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
|
|
22
|
+
import HelperText from '../HelperText/index.js';
|
|
22
23
|
import '../_verture/typeof-6ec38efd.js';
|
|
23
24
|
import '../Label/index.js';
|
|
24
25
|
import '../Help/index.js';
|
|
@@ -35,7 +36,6 @@ import '../TextField/index.js';
|
|
|
35
36
|
import '@para-ui/icons/PreviewClose';
|
|
36
37
|
import '@para-ui/icons/PreviewOpen';
|
|
37
38
|
import '@para-ui/icons/CloseCircleF';
|
|
38
|
-
import '../HelperText/index.js';
|
|
39
39
|
import '../_verture/index-bde7aabe.js';
|
|
40
40
|
import 'rc-dropdown';
|
|
41
41
|
import 'dayjs';
|
|
@@ -1086,7 +1086,7 @@ const reqFunc = obj => {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
1089
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-selector {\n
|
|
1089
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-selector {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n.paraui-v4-selector svg {\n overflow: hidden;\n}\n.paraui-v4-selector > .selector-content {\n border: 1px solid rgb(212, 218, 227);\n border-radius: 4px;\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n.paraui-v4-selector.paraui-v4-selector-lr > .selector-content > .paraui-v4-selector-main {\n width: 50%;\n}\n.paraui-v4-selector.paraui-v4-selector-lr > .selector-content > .paraui-v4-selector-data {\n width: 50%;\n border-left: 1px solid rgb(234, 236, 241);\n}\n.paraui-v4-selector.paraui-v4-selector-tb > .selector-content {\n flex-direction: column;\n}\n.paraui-v4-selector.paraui-v4-selector-tb > .selector-content > .paraui-v4-selector-data {\n border-bottom: 1px solid rgb(212, 218, 227);\n max-height: 100px;\n}\n.paraui-v4-selector.paraui-v4-selector-tb > .selector-content > .paraui-v4-selector-main {\n overflow-y: auto;\n height: auto;\n flex: 1;\n}\n.paraui-v4-selector.paraui-v4-selector-error > .selector-content {\n border-color: rgb(244, 66, 66) !important;\n}";
|
|
1090
1090
|
styleInject(css_248z);
|
|
1091
1091
|
|
|
1092
1092
|
const handFieldConfig = (fieldConfig, rowKey) => {
|
|
@@ -1138,7 +1138,10 @@ const Selector = props => {
|
|
|
1138
1138
|
onChange,
|
|
1139
1139
|
onSelect,
|
|
1140
1140
|
onSearch,
|
|
1141
|
-
onRefresh
|
|
1141
|
+
onRefresh,
|
|
1142
|
+
error = false,
|
|
1143
|
+
hideErrorDom = true,
|
|
1144
|
+
helperText = ''
|
|
1142
1145
|
} = useGlobalProps(props, 'Selector');
|
|
1143
1146
|
const intl = useFormatMessage('Selector', localeJson);
|
|
1144
1147
|
const fieldConfigHand = handFieldConfig(props.fieldConfig, rowKey); // 字段配置,对应数据字段
|
|
@@ -1912,49 +1915,58 @@ const Selector = props => {
|
|
|
1912
1915
|
if (layout) str += " ".concat($prefixCls, "-selector-").concat(layout);
|
|
1913
1916
|
if (selectMode) str += " ".concat($prefixCls, "-selector-").concat(selectMode);
|
|
1914
1917
|
if (disabled === true) str += " ".concat($prefixCls, "-selector-disabled");
|
|
1918
|
+
if (error) str += " ".concat($prefixCls, "-selector-error");
|
|
1915
1919
|
return str;
|
|
1916
1920
|
};
|
|
1917
1921
|
return jsxs("div", Object.assign({
|
|
1918
1922
|
className: handClass(),
|
|
1919
1923
|
style: style
|
|
1920
1924
|
}, {
|
|
1921
|
-
children: [
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1925
|
+
children: [jsxs("div", Object.assign({
|
|
1926
|
+
className: 'selector-content'
|
|
1927
|
+
}, {
|
|
1928
|
+
children: [layout === 'tb' && handSelectorData(), jsx(SelectorMain, {
|
|
1929
|
+
url: url,
|
|
1930
|
+
rowKey: rowKey,
|
|
1931
|
+
value: valueJsonCom,
|
|
1932
|
+
loadMore: loadMore,
|
|
1933
|
+
isAllCheck: isAllCheck,
|
|
1934
|
+
list: currentData,
|
|
1935
|
+
groupType: groupType,
|
|
1936
|
+
groupRange: groupRange,
|
|
1937
|
+
fieldConfig: fieldConfigHand,
|
|
1938
|
+
nodeMode: nodeMode,
|
|
1939
|
+
selectMode: selectMode,
|
|
1940
|
+
isLazy: isLazy,
|
|
1941
|
+
detail: detail,
|
|
1942
|
+
detailRender: detailRender,
|
|
1943
|
+
search: search,
|
|
1944
|
+
searchTrigger: searchTrigger,
|
|
1945
|
+
searchPlaceholder: searchPlaceholder,
|
|
1946
|
+
searchLoading: searchLoading,
|
|
1947
|
+
searchVal: searchVal,
|
|
1948
|
+
disabled: disabled,
|
|
1949
|
+
disabledChild: disabledChild,
|
|
1950
|
+
loading: loadingCom,
|
|
1951
|
+
searchLoadMore: searchLoadMore,
|
|
1952
|
+
searchList: searchList,
|
|
1953
|
+
breadcrumbs: breadcrumbs,
|
|
1954
|
+
breadcrumbsSeparator: breadcrumbsSeparator,
|
|
1955
|
+
breadcrumbsList: handBreadcrumbsList(),
|
|
1956
|
+
emptyProps: emptyProps,
|
|
1957
|
+
onLevel: onLevelCom,
|
|
1958
|
+
onSelect: onSelectCom,
|
|
1959
|
+
onLoad: onLoadCom,
|
|
1960
|
+
onAllCheck: onAllCheckCom,
|
|
1961
|
+
onClickBreadcrumbs: onClickBreadcrumbsCom,
|
|
1962
|
+
onSearch: onSearchCom,
|
|
1963
|
+
onRefresh: onRefresh
|
|
1964
|
+
}), layout === 'lr' && handSelectorData()]
|
|
1965
|
+
})), jsx(HelperText, {
|
|
1966
|
+
error: error,
|
|
1967
|
+
helperText: helperText,
|
|
1968
|
+
hideErrorDom: hideErrorDom
|
|
1969
|
+
})]
|
|
1958
1970
|
}));
|
|
1959
1971
|
};
|
|
1960
1972
|
|
package/Selector/interface.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { EmptyProps } from '../Empty';
|
|
3
3
|
import { ReqFuncProps } from './util';
|
|
4
|
+
import { HelperTextDetailProps } from "../HelperText";
|
|
4
5
|
/** 搜索方法 */
|
|
5
6
|
export interface SearchFuncProps {
|
|
6
7
|
page?: number;
|
|
@@ -325,7 +326,7 @@ export interface SelectorDataProps {
|
|
|
325
326
|
[name: string]: any;
|
|
326
327
|
}
|
|
327
328
|
/** 组件props */
|
|
328
|
-
export interface SelectorProps {
|
|
329
|
+
export interface SelectorProps extends HelperTextDetailProps {
|
|
329
330
|
/** className */
|
|
330
331
|
className?: string;
|
|
331
332
|
/** 样式 */
|
package/SelectorPicker/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
14
14
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
15
15
|
import { Tooltip } from '../Tooltip/index.js';
|
|
16
16
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
17
|
-
import '../_verture/tslib.es6-
|
|
17
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
18
18
|
import '../Help/index.js';
|
|
19
19
|
import '@para-ui/icons/Help';
|
|
20
20
|
import 'rc-tooltip';
|
package/SingleBox/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
9
9
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
10
10
|
import { Tooltip } from '../Tooltip/index.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
|
-
import '../_verture/tslib.es6-
|
|
12
|
+
import '../_verture/tslib.es6-f43aa41d.js';
|
|
13
13
|
import '@paraview/lib';
|
|
14
14
|
import '@para-ui/icons/PreviewClose';
|
|
15
15
|
import '@para-ui/icons/PreviewOpen';
|
package/Slider/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import RcSlider, { Range, SliderTooltip, Handle } from 'rc-slider';
|
package/SortBox/index.d.ts
CHANGED
package/SortBox/index.js
CHANGED
|
@@ -17,7 +17,6 @@ const SortBox = props => {
|
|
|
17
17
|
type = 'fill',
|
|
18
18
|
list,
|
|
19
19
|
marginBottom = '10px',
|
|
20
|
-
deleteSurplus,
|
|
21
20
|
onSort
|
|
22
21
|
} = props;
|
|
23
22
|
const handleContent = () => {
|
|
@@ -57,22 +56,23 @@ const SortBox = props => {
|
|
|
57
56
|
if (evt.oldIndex === evt.newIndex) return;
|
|
58
57
|
const newList = [...(list || [])];
|
|
59
58
|
moveElementToNthPosition(newList, evt.oldIndex, evt.newIndex);
|
|
60
|
-
newList.forEach(item => {
|
|
61
|
-
if (deleteSurplus) {
|
|
62
|
-
delete item.selected;
|
|
63
|
-
delete item.chosen;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
59
|
onSort && onSort(newList);
|
|
67
60
|
};
|
|
61
|
+
const handleList = () => {
|
|
62
|
+
const arr = [];
|
|
63
|
+
list === null || list === void 0 ? void 0 : list.forEach(item => {
|
|
64
|
+
arr.push({});
|
|
65
|
+
});
|
|
66
|
+
return arr;
|
|
67
|
+
};
|
|
68
68
|
return jsx("div", Object.assign({
|
|
69
69
|
className: clsx(className, "".concat($prefixCls, "-sort-box"), "".concat($prefixCls, "-sort-box-").concat(type)),
|
|
70
70
|
style: style
|
|
71
71
|
}, {
|
|
72
72
|
children: jsx(dist.exports.ReactSortable, Object.assign({
|
|
73
|
-
list:
|
|
73
|
+
list: handleList(),
|
|
74
74
|
handle: '.sort-icon',
|
|
75
|
-
animation:
|
|
75
|
+
animation: 300,
|
|
76
76
|
setList: onDragSort,
|
|
77
77
|
onEnd: onEnd
|
|
78
78
|
}, {
|
package/Stepper/index.js
CHANGED