@para-ui/core 4.0.53 → 4.0.55
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/Argv/index.js +5 -4
- package/AutoButton/index.d.ts +3 -0
- package/AutoButton/index.js +19 -6
- package/Button/SplitButton.d.ts +3 -0
- package/Button/index.d.ts +4 -0
- package/Button/index.js +17 -352
- package/ButtonGroup/index.js +5 -1
- package/Cascader/Cascader.d.ts +3 -0
- package/Cascader/index.js +11 -7
- package/ComboSelect/index.js +10 -10
- package/CycleSelector/index.js +7 -2
- package/DatePicker/index.js +10 -4
- package/Descriptions/index.js +5 -1
- package/Desktop/index.js +4 -1
- package/Drawer/index.js +5 -1
- package/DynamicMultiBox/index.js +11 -11
- package/DynamicMultiBox/interface.d.ts +1 -1
- package/FieldForm/ErrorList.d.ts +16 -0
- package/FieldForm/FieldFormItem/ItemHolder.d.ts +18 -0
- package/FieldForm/FieldFormItem/MemoInput.d.ts +14 -0
- package/FieldForm/FieldFormItem/StatusProvider.d.ts +20 -0
- package/FieldForm/FieldFormItem/index.d.ts +58 -0
- package/FieldForm/Form.d.ts +36 -0
- package/FieldForm/FormItemInput.d.ts +21 -0
- package/FieldForm/FormItemLabel.d.ts +21 -0
- package/FieldForm/FormList.d.ts +23 -0
- package/FieldForm/context.d.ts +33 -0
- package/FieldForm/hooks/useChildren.d.ts +2 -0
- package/FieldForm/hooks/useDebounce.d.ts +1 -0
- package/FieldForm/hooks/useForm.d.ts +6 -0
- package/FieldForm/hooks/useFormInstance.d.ts +2 -0
- package/FieldForm/hooks/useFormItemStatus.d.ts +9 -0
- package/FieldForm/hooks/useFrameState.d.ts +3 -0
- package/FieldForm/hooks/useItemRef.d.ts +3 -0
- package/FieldForm/index.d.ts +30 -0
- package/FieldForm/index.js +5326 -0
- package/FieldForm/interface.d.ts +2 -0
- package/FieldForm/lang/en_US.d.ts +51 -0
- package/FieldForm/lang/index.d.ts +105 -0
- package/FieldForm/lang/zh_CN.d.ts +51 -0
- package/FieldForm/util.d.ts +21 -0
- package/Form/index.js +10 -10
- package/FormItem/index.js +10 -10
- package/FunctionModal/index.js +7 -6
- package/Image/index.js +7 -56
- package/InputCode/index.js +4 -1
- package/Modal/index.js +2 -1
- package/OperateBtn/index.js +5 -6
- package/PageHeader/index.js +5 -1
- package/Pagination/index.js +4 -1
- package/PopConfirm/index.js +14 -213
- package/PopMenu/index.js +2 -2
- package/QuickReply/index.js +6 -7
- package/README.md +17 -0
- package/Result/index.js +2 -2
- package/Selector/index.js +1 -1
- package/SelectorPicker/index.js +1 -1
- package/Stepper/index.js +1 -1
- package/Switch/index.d.ts +4 -0
- package/Switch/index.js +5 -4
- package/Table/index.js +4 -5
- package/Tabs/index.js +8 -9
- package/Tag/index.js +87 -55
- package/TextEditor/index.d.ts +2 -0
- package/TextEditor/index.js +27 -6
- package/TimePicker/index.js +9 -3
- package/Timeline/index.js +2 -1
- package/ToggleButton/index.js +7 -2
- package/Transfer/index.d.ts +1 -0
- package/Transfer/index.js +125 -121
- package/Tree/index.js +6 -5
- package/Upload/index.js +13 -11
- package/_verture/{Portal-42560ff0.js → Portal-502bb85e.js} +30 -481
- package/_verture/{defineProperty-f0e15205.js → defineProperty-6f62bb2a.js} +2 -10
- package/_verture/{index-063009f8.js → index-0a300edb.js} +388 -700
- package/_verture/{index-f30ae73e.js → index-0e866545.js} +2 -2
- package/_verture/index-1856bbeb.js +480 -0
- package/_verture/{index-d728b0ce.js → index-320d67c4.js} +4 -3
- package/_verture/index-7e60b72c.js +593 -0
- package/_verture/isEqual-30b6f859.js +56 -0
- package/_verture/{slicedToArray-75fa4188.js → slicedToArray-61604a6c.js} +1 -1
- package/_verture/{toConsumableArray-c7a8028f.js → toConsumableArray-599cd94a.js} +1 -1
- package/_verture/typeof-adeedc13.js +11 -0
- package/_verture/useState-f2419d68.js +353 -0
- package/index.d.ts +2 -0
- package/index.js +21 -17
- package/locale/en-US.d.ts +46 -0
- package/locale/index.d.ts +92 -0
- package/locale/index.js +92 -0
- package/locale/zh-CN.d.ts +46 -0
- package/package.json +3 -1
- package/umd/Anchor.js +5 -5
- package/umd/Argv.js +6 -6
- package/umd/AutoBox.js +5 -5
- package/umd/AutoButton.js +7 -7
- package/umd/AutoTips.js +5 -5
- package/umd/Breadcrumbs.js +4 -4
- package/umd/Button.js +7 -7
- package/umd/ButtonGroup.js +7 -7
- package/umd/Cascader.js +5 -5
- package/umd/Checkbox.js +4 -4
- package/umd/CheckboxGroup.js +4 -4
- package/umd/Collapse.js +1 -1
- package/umd/ComboSelect.js +4 -4
- package/umd/CopyText.js +5 -5
- package/umd/CycleSelector.js +7 -7
- package/umd/DatePicker.js +7 -7
- package/umd/Descriptions.js +6 -6
- package/umd/Desktop.js +7 -7
- package/umd/Drawer.js +7 -7
- package/umd/Dropdown.js +4 -4
- package/umd/DynamicMultiBox.js +4 -4
- package/umd/FieldForm.js +43 -0
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/FunctionModal.js +7 -7
- package/umd/Help.js +5 -5
- package/umd/Image.js +3 -3
- package/umd/InputCode.js +7 -7
- package/umd/InputLang.js +5 -5
- package/umd/InputNumber.js +4 -4
- package/umd/Label.js +4 -4
- package/umd/Menu.js +4 -4
- package/umd/Modal.js +6 -6
- package/umd/MultiBox.js +6 -6
- package/umd/Notification.js +3 -3
- package/umd/OperateBtn.js +6 -6
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +7 -7
- package/umd/PopConfirm.js +5 -5
- package/umd/PopMenu.js +5 -5
- package/umd/Popover.js +5 -5
- package/umd/QuickReply.js +5 -5
- package/umd/Radio.js +4 -4
- package/umd/RadioGroup.js +4 -4
- package/umd/RangeInput.js +5 -5
- package/umd/Result.js +4 -4
- package/umd/Search.js +5 -5
- package/umd/Select.js +5 -5
- package/umd/SelectInput.js +5 -5
- package/umd/Selector.js +5 -5
- package/umd/SelectorPicker.js +5 -5
- package/umd/SingleBox.js +5 -5
- package/umd/Slider.js +4 -4
- package/umd/Stepper.js +4 -4
- package/umd/Switch.js +4 -4
- package/umd/Table.js +5 -5
- package/umd/Tabs.js +4 -4
- package/umd/Tag.js +5 -5
- package/umd/TextEditor.js +6 -6
- package/umd/TextField.js +5 -5
- package/umd/TimePicker.js +7 -7
- package/umd/Title.js +3 -3
- package/umd/ToggleButton.js +7 -7
- package/umd/Tooltip.js +4 -4
- package/umd/Transfer.js +8 -8
- package/umd/Tree.js +3 -3
- package/umd/Upload.js +5 -5
- package/umd/locale.js +1 -1
- /package/_verture/{modalContext-8a48c400.js → modalContext-3ed7e7f6.js} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const defaultValidateMessages: {
|
|
2
|
+
default: string;
|
|
3
|
+
required: string;
|
|
4
|
+
enum: string;
|
|
5
|
+
whitespace: string;
|
|
6
|
+
date: {
|
|
7
|
+
format: string;
|
|
8
|
+
parse: string;
|
|
9
|
+
invalid: string;
|
|
10
|
+
};
|
|
11
|
+
types: {
|
|
12
|
+
string: string;
|
|
13
|
+
method: string;
|
|
14
|
+
array: string;
|
|
15
|
+
object: string;
|
|
16
|
+
number: string;
|
|
17
|
+
date: string;
|
|
18
|
+
boolean: string;
|
|
19
|
+
integer: string;
|
|
20
|
+
float: string;
|
|
21
|
+
regexp: string;
|
|
22
|
+
email: string;
|
|
23
|
+
url: string;
|
|
24
|
+
hex: string;
|
|
25
|
+
};
|
|
26
|
+
string: {
|
|
27
|
+
len: string;
|
|
28
|
+
min: string;
|
|
29
|
+
max: string;
|
|
30
|
+
range: string;
|
|
31
|
+
};
|
|
32
|
+
number: {
|
|
33
|
+
len: string;
|
|
34
|
+
min: string;
|
|
35
|
+
max: string;
|
|
36
|
+
range: string;
|
|
37
|
+
};
|
|
38
|
+
array: {
|
|
39
|
+
len: string;
|
|
40
|
+
min: string;
|
|
41
|
+
max: string;
|
|
42
|
+
range: string;
|
|
43
|
+
};
|
|
44
|
+
pattern: {
|
|
45
|
+
mismatch: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare const _default: {
|
|
49
|
+
colon: string;
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zh: {
|
|
3
|
+
colon: string;
|
|
4
|
+
};
|
|
5
|
+
en: {
|
|
6
|
+
colon: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const defaultValidateMessages: {
|
|
11
|
+
zh: {
|
|
12
|
+
default: string;
|
|
13
|
+
required: string;
|
|
14
|
+
enum: string;
|
|
15
|
+
whitespace: string;
|
|
16
|
+
date: {
|
|
17
|
+
format: string;
|
|
18
|
+
parse: string;
|
|
19
|
+
invalid: string;
|
|
20
|
+
};
|
|
21
|
+
types: {
|
|
22
|
+
string: string;
|
|
23
|
+
method: string;
|
|
24
|
+
array: string;
|
|
25
|
+
object: string;
|
|
26
|
+
number: string;
|
|
27
|
+
date: string;
|
|
28
|
+
boolean: string;
|
|
29
|
+
integer: string;
|
|
30
|
+
float: string;
|
|
31
|
+
regexp: string;
|
|
32
|
+
email: string;
|
|
33
|
+
url: string;
|
|
34
|
+
hex: string;
|
|
35
|
+
};
|
|
36
|
+
string: {
|
|
37
|
+
len: string;
|
|
38
|
+
min: string;
|
|
39
|
+
max: string;
|
|
40
|
+
range: string;
|
|
41
|
+
};
|
|
42
|
+
number: {
|
|
43
|
+
len: string;
|
|
44
|
+
min: string;
|
|
45
|
+
max: string;
|
|
46
|
+
range: string;
|
|
47
|
+
};
|
|
48
|
+
array: {
|
|
49
|
+
len: string;
|
|
50
|
+
min: string;
|
|
51
|
+
max: string;
|
|
52
|
+
range: string;
|
|
53
|
+
};
|
|
54
|
+
pattern: {
|
|
55
|
+
mismatch: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
en: {
|
|
59
|
+
default: string;
|
|
60
|
+
required: string;
|
|
61
|
+
enum: string;
|
|
62
|
+
whitespace: string;
|
|
63
|
+
date: {
|
|
64
|
+
format: string;
|
|
65
|
+
parse: string;
|
|
66
|
+
invalid: string;
|
|
67
|
+
};
|
|
68
|
+
types: {
|
|
69
|
+
string: string;
|
|
70
|
+
method: string;
|
|
71
|
+
array: string;
|
|
72
|
+
object: string;
|
|
73
|
+
number: string;
|
|
74
|
+
date: string;
|
|
75
|
+
boolean: string;
|
|
76
|
+
integer: string;
|
|
77
|
+
float: string;
|
|
78
|
+
regexp: string;
|
|
79
|
+
email: string;
|
|
80
|
+
url: string;
|
|
81
|
+
hex: string;
|
|
82
|
+
};
|
|
83
|
+
string: {
|
|
84
|
+
len: string;
|
|
85
|
+
min: string;
|
|
86
|
+
max: string;
|
|
87
|
+
range: string;
|
|
88
|
+
};
|
|
89
|
+
number: {
|
|
90
|
+
len: string;
|
|
91
|
+
min: string;
|
|
92
|
+
max: string;
|
|
93
|
+
range: string;
|
|
94
|
+
};
|
|
95
|
+
array: {
|
|
96
|
+
len: string;
|
|
97
|
+
min: string;
|
|
98
|
+
max: string;
|
|
99
|
+
range: string;
|
|
100
|
+
};
|
|
101
|
+
pattern: {
|
|
102
|
+
mismatch: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const defaultValidateMessages: {
|
|
2
|
+
default: string;
|
|
3
|
+
required: string;
|
|
4
|
+
enum: string;
|
|
5
|
+
whitespace: string;
|
|
6
|
+
date: {
|
|
7
|
+
format: string;
|
|
8
|
+
parse: string;
|
|
9
|
+
invalid: string;
|
|
10
|
+
};
|
|
11
|
+
types: {
|
|
12
|
+
string: string;
|
|
13
|
+
method: string;
|
|
14
|
+
array: string;
|
|
15
|
+
object: string;
|
|
16
|
+
number: string;
|
|
17
|
+
date: string;
|
|
18
|
+
boolean: string;
|
|
19
|
+
integer: string;
|
|
20
|
+
float: string;
|
|
21
|
+
regexp: string;
|
|
22
|
+
email: string;
|
|
23
|
+
url: string;
|
|
24
|
+
hex: string;
|
|
25
|
+
};
|
|
26
|
+
string: {
|
|
27
|
+
len: string;
|
|
28
|
+
min: string;
|
|
29
|
+
max: string;
|
|
30
|
+
range: string;
|
|
31
|
+
};
|
|
32
|
+
number: {
|
|
33
|
+
len: string;
|
|
34
|
+
min: string;
|
|
35
|
+
max: string;
|
|
36
|
+
range: string;
|
|
37
|
+
};
|
|
38
|
+
array: {
|
|
39
|
+
len: string;
|
|
40
|
+
min: string;
|
|
41
|
+
max: string;
|
|
42
|
+
range: string;
|
|
43
|
+
};
|
|
44
|
+
pattern: {
|
|
45
|
+
mismatch: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare const _default: {
|
|
49
|
+
colon: string;
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import type { Meta } from 'rc-field-form/lib/interface';
|
|
3
|
+
import type { InternalNamePath } from './interface';
|
|
4
|
+
import type { ValidateStatus } from './FieldFormItem';
|
|
5
|
+
/**
|
|
6
|
+
* 转换为数组
|
|
7
|
+
*/
|
|
8
|
+
export declare function toArray<T>(candidate?: T | T[] | false): T[];
|
|
9
|
+
/**
|
|
10
|
+
* 获取字段id
|
|
11
|
+
* @param namePath
|
|
12
|
+
* @param formName
|
|
13
|
+
* @returns string
|
|
14
|
+
*/
|
|
15
|
+
export declare function getFieldId(namePath: InternalNamePath, formName?: string): string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* 通过 meta 或传递的 validateStatus 获取合并后的状态
|
|
18
|
+
*/
|
|
19
|
+
export declare function getStatus<DefaultValue>(errors: ReactNode[], warnings: ReactNode[], meta: Meta, defaultValidateStatus: ValidateStatus | DefaultValue, hasFeedback?: boolean, validateStatus?: ValidateStatus): ValidateStatus | DefaultValue;
|
|
20
|
+
export declare function isReactComponent(element: React.ReactElement): boolean;
|
|
21
|
+
export declare function isDOMElement(element: React.ReactElement): boolean;
|
package/Form/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-0e866545.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';
|
|
@@ -28,7 +28,7 @@ import '../_verture/index-bde7aabe.js';
|
|
|
28
28
|
import 'rc-dropdown';
|
|
29
29
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
30
30
|
import 'dayjs';
|
|
31
|
-
import '../_verture/slicedToArray-
|
|
31
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
32
32
|
import '../RadioGroup/index.js';
|
|
33
33
|
import '../Radio/index.js';
|
|
34
34
|
import '../Select/index.js';
|
|
@@ -44,7 +44,10 @@ import '../Switch/index.js';
|
|
|
44
44
|
import 'rc-switch';
|
|
45
45
|
import '@para-ui/icons/Delete';
|
|
46
46
|
import '@para-ui/icons/LinkGroup';
|
|
47
|
-
import '../
|
|
47
|
+
import '../_verture/index-7e60b72c.js';
|
|
48
|
+
import '@para-ui/icons/CheckCircleF';
|
|
49
|
+
import '@para-ui/icons/WarningCircle';
|
|
50
|
+
import '@para-ui/icons/WarningCircleF';
|
|
48
51
|
import '@para-ui/icons/UploadFile';
|
|
49
52
|
import '../InputNumber/index.js';
|
|
50
53
|
import 'rc-input-number';
|
|
@@ -59,10 +62,6 @@ import '../_verture/index-0f5ee6f7.js';
|
|
|
59
62
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
60
63
|
import '../OperateBtn/index.js';
|
|
61
64
|
import '@para-ui/icons/More';
|
|
62
|
-
import '../PopConfirm/index.js';
|
|
63
|
-
import '@para-ui/icons/CheckCircleF';
|
|
64
|
-
import '@para-ui/icons/WarningCircle';
|
|
65
|
-
import '@para-ui/icons/WarningCircleF';
|
|
66
65
|
import '@para-ui/icons/Drag';
|
|
67
66
|
import '@para-ui/icons/Refresh';
|
|
68
67
|
import '../Pagination/index.js';
|
|
@@ -72,9 +71,10 @@ import '@para-ui/icons/Right';
|
|
|
72
71
|
import '@para-ui/icons/DoubleLeft';
|
|
73
72
|
import '@para-ui/icons/DoubleRight';
|
|
74
73
|
import '../ScrollBar/index.js';
|
|
75
|
-
import '../_verture/index-
|
|
76
|
-
import '../_verture/toConsumableArray-
|
|
77
|
-
import '../_verture/defineProperty-
|
|
74
|
+
import '../_verture/index-320d67c4.js';
|
|
75
|
+
import '../_verture/toConsumableArray-599cd94a.js';
|
|
76
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
77
|
+
import '../_verture/typeof-adeedc13.js';
|
|
78
78
|
import '../_verture/index-8ac46bd9.js';
|
|
79
79
|
import '../_verture/typeof-6ec38efd.js';
|
|
80
80
|
import 'rc-tree';
|
package/FormItem/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-0e866545.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -27,7 +27,7 @@ import '../_verture/usePopupContainer-635f66f4.js';
|
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import '../Help/index.js';
|
|
29
29
|
import '@para-ui/icons/Help';
|
|
30
|
-
import '../_verture/slicedToArray-
|
|
30
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
31
31
|
import '../RadioGroup/index.js';
|
|
32
32
|
import '../Radio/index.js';
|
|
33
33
|
import '../Select/index.js';
|
|
@@ -44,7 +44,10 @@ import '../Switch/index.js';
|
|
|
44
44
|
import 'rc-switch';
|
|
45
45
|
import '@para-ui/icons/Delete';
|
|
46
46
|
import '@para-ui/icons/LinkGroup';
|
|
47
|
-
import '../
|
|
47
|
+
import '../_verture/index-7e60b72c.js';
|
|
48
|
+
import '@para-ui/icons/CheckCircleF';
|
|
49
|
+
import '@para-ui/icons/WarningCircle';
|
|
50
|
+
import '@para-ui/icons/WarningCircleF';
|
|
48
51
|
import '@para-ui/icons/UploadFile';
|
|
49
52
|
import '../InputNumber/index.js';
|
|
50
53
|
import 'rc-input-number';
|
|
@@ -59,10 +62,6 @@ import '../_verture/index-0f5ee6f7.js';
|
|
|
59
62
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
60
63
|
import '../OperateBtn/index.js';
|
|
61
64
|
import '@para-ui/icons/More';
|
|
62
|
-
import '../PopConfirm/index.js';
|
|
63
|
-
import '@para-ui/icons/CheckCircleF';
|
|
64
|
-
import '@para-ui/icons/WarningCircle';
|
|
65
|
-
import '@para-ui/icons/WarningCircleF';
|
|
66
65
|
import '@para-ui/icons/Drag';
|
|
67
66
|
import '@para-ui/icons/Refresh';
|
|
68
67
|
import '../Pagination/index.js';
|
|
@@ -72,9 +71,10 @@ import '@para-ui/icons/Right';
|
|
|
72
71
|
import '@para-ui/icons/DoubleLeft';
|
|
73
72
|
import '@para-ui/icons/DoubleRight';
|
|
74
73
|
import '../ScrollBar/index.js';
|
|
75
|
-
import '../_verture/index-
|
|
76
|
-
import '../_verture/toConsumableArray-
|
|
77
|
-
import '../_verture/defineProperty-
|
|
74
|
+
import '../_verture/index-320d67c4.js';
|
|
75
|
+
import '../_verture/toConsumableArray-599cd94a.js';
|
|
76
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
77
|
+
import '../_verture/typeof-adeedc13.js';
|
|
78
78
|
import '../_verture/index-8ac46bd9.js';
|
|
79
79
|
import '../_verture/typeof-6ec38efd.js';
|
|
80
80
|
import 'rc-tree';
|
package/FunctionModal/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-3ed7e7f6.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-3ed7e7f6.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../Modal/index.js';
|
|
7
7
|
import 'rc-dialog';
|
|
8
|
-
import '../
|
|
8
|
+
import '../_verture/index-7e60b72c.js';
|
|
9
9
|
import 'clsx';
|
|
10
10
|
import '@para-ui/icons/LoadingF';
|
|
11
11
|
import '../Tooltip/index.js';
|
|
@@ -23,11 +23,12 @@ import '@paraview/lib';
|
|
|
23
23
|
import '../_verture/useFormatMessage-1fc7c957.js';
|
|
24
24
|
import '../_verture/index-ca413216.js';
|
|
25
25
|
import '../AutoTips/index.js';
|
|
26
|
-
import '@para-ui/icons/Close';
|
|
27
|
-
import 'react-dom';
|
|
28
26
|
import '@para-ui/icons/CheckCircleF';
|
|
29
|
-
import '@para-ui/icons/
|
|
27
|
+
import '@para-ui/icons/WarningCircle';
|
|
30
28
|
import '@para-ui/icons/CloseCircleF';
|
|
29
|
+
import '@para-ui/icons/WarningCircleF';
|
|
30
|
+
import '@para-ui/icons/Close';
|
|
31
|
+
import 'react-dom';
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
34
|
* @author zhanzl
|
package/Image/index.js
CHANGED
|
@@ -2,13 +2,16 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.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';
|
|
5
|
-
import {
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
5
|
+
import { _ as _objectSpread2, w as warning, c as clsx, b as _objectWithoutProperties, a as _extends } from '../_verture/index-1856bbeb.js';
|
|
6
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
7
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-61604a6c.js';
|
|
8
|
+
import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
|
|
9
|
+
import { w as wrapperRaf, P as Portal, K as KeyCode, d as useMergedState } from '../_verture/Portal-502bb85e.js';
|
|
8
10
|
import Dialog from 'rc-dialog';
|
|
9
11
|
import ReactDOM from 'react-dom';
|
|
12
|
+
import { i as isEqual } from '../_verture/isEqual-30b6f859.js';
|
|
10
13
|
import CSSMotion from 'rc-motion';
|
|
11
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
14
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-599cd94a.js';
|
|
12
15
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
13
16
|
import Sort from '@para-ui/icons/Sort';
|
|
14
17
|
import Switch from '@para-ui/icons/Switch';
|
|
@@ -157,58 +160,6 @@ function addEventListenerWrap(target, eventType, cb, option) {
|
|
|
157
160
|
};
|
|
158
161
|
}
|
|
159
162
|
|
|
160
|
-
/**
|
|
161
|
-
* Deeply compares two object literals.
|
|
162
|
-
* @param obj1 object 1
|
|
163
|
-
* @param obj2 object 2
|
|
164
|
-
* @param shallow shallow compare
|
|
165
|
-
* @returns
|
|
166
|
-
*/
|
|
167
|
-
function isEqual(obj1, obj2) {
|
|
168
|
-
var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
169
|
-
// https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f
|
|
170
|
-
var refSet = new Set();
|
|
171
|
-
function deepEqual(a, b) {
|
|
172
|
-
var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
173
|
-
var circular = refSet.has(a);
|
|
174
|
-
warningOnce(!circular, 'Warning: There may be circular references');
|
|
175
|
-
if (circular) {
|
|
176
|
-
return false;
|
|
177
|
-
}
|
|
178
|
-
if (a === b) {
|
|
179
|
-
return true;
|
|
180
|
-
}
|
|
181
|
-
if (shallow && level > 1) {
|
|
182
|
-
return false;
|
|
183
|
-
}
|
|
184
|
-
refSet.add(a);
|
|
185
|
-
var newLevel = level + 1;
|
|
186
|
-
if (Array.isArray(a)) {
|
|
187
|
-
if (!Array.isArray(b) || a.length !== b.length) {
|
|
188
|
-
return false;
|
|
189
|
-
}
|
|
190
|
-
for (var i = 0; i < a.length; i++) {
|
|
191
|
-
if (!deepEqual(a[i], b[i], newLevel)) {
|
|
192
|
-
return false;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
return true;
|
|
196
|
-
}
|
|
197
|
-
if (a && b && _typeof(a) === 'object' && _typeof(b) === 'object') {
|
|
198
|
-
var keys = Object.keys(a);
|
|
199
|
-
if (keys.length !== Object.keys(b).length) {
|
|
200
|
-
return false;
|
|
201
|
-
}
|
|
202
|
-
return keys.every(function (key) {
|
|
203
|
-
return deepEqual(a[key], b[key], newLevel);
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
// other
|
|
207
|
-
return false;
|
|
208
|
-
}
|
|
209
|
-
return deepEqual(obj1, obj2);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
163
|
var initialTransform = {
|
|
213
164
|
x: 0,
|
|
214
165
|
y: 0,
|
package/InputCode/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import HelperText from '../HelperText/index.js';
|
|
|
8
8
|
import { TextField } from '../TextField/index.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
import Label from '../Label/index.js';
|
|
11
|
-
import { Button } from '../
|
|
11
|
+
import { B as Button } from '../_verture/index-7e60b72c.js';
|
|
12
12
|
import AutoTips from '../AutoTips/index.js';
|
|
13
13
|
import '../_verture/index-ca413216.js';
|
|
14
14
|
import '@paraview/lib';
|
|
@@ -29,6 +29,9 @@ import 'dayjs';
|
|
|
29
29
|
import '../Help/index.js';
|
|
30
30
|
import '@para-ui/icons/Help';
|
|
31
31
|
import '@para-ui/icons/Down';
|
|
32
|
+
import '@para-ui/icons/CheckCircleF';
|
|
33
|
+
import '@para-ui/icons/WarningCircle';
|
|
34
|
+
import '@para-ui/icons/WarningCircleF';
|
|
32
35
|
|
|
33
36
|
var en = {
|
|
34
37
|
retrievedAgain: '{second} seconds to retrieve again',
|
package/Modal/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import Dialog from 'rc-dialog';
|
|
5
|
-
import { Button } from '../
|
|
5
|
+
import { B as Button } from '../_verture/index-7e60b72c.js';
|
|
6
6
|
import Close from '@para-ui/icons/Close';
|
|
7
7
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
8
8
|
import { g as getConfirmLocale, l as localeJson } from '../_verture/index-ca413216.js';
|
|
@@ -25,6 +25,7 @@ import '../_verture/index-bde7aabe.js';
|
|
|
25
25
|
import 'rc-dropdown';
|
|
26
26
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
27
27
|
import 'dayjs';
|
|
28
|
+
import '@para-ui/icons/WarningCircle';
|
|
28
29
|
|
|
29
30
|
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午7:00\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-confirm.paraui-v4-modal .paraui-v4-modal-body {\n padding: 0;\n}\n.paraui-v4-confirm .confirm-wrapper {\n width: 416px;\n outline: none;\n}\n.paraui-v4-confirm .confirm-content {\n position: relative;\n padding: 16px;\n border-radius: 8px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n top: 16px;\n right: 16px;\n border: none;\n}\n.paraui-v4-confirm .confirm-content-close svg {\n font-size: 18px;\n}\n.paraui-v4-confirm .confirm-content-icon {\n float: left;\n margin-top: 2px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n font-size: 18px;\n color: inherit;\n}\n.paraui-v4-confirm .confirm-content-icon--warn, .paraui-v4-confirm .confirm-content-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon--error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-confirm .confirm-content-icon--success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-confirm .confirm-content-icon--info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-confirm .confirm-content-body {\n margin: 0 16px 0 26px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 10px;\n font-size: 14px;\n font-weight: 700;\n}\n.paraui-v4-confirm .confirm-content-actions {\n margin-top: 12px;\n text-align: right;\n}\n.paraui-v4-confirm .confirm-content-actions > button + button {\n margin-left: 16px;\n}";
|
|
30
31
|
styleInject(css_248z$1);
|
package/OperateBtn/index.js
CHANGED
|
@@ -2,10 +2,9 @@ import { a as __awaiter } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, Fragment } from 'react';
|
|
4
4
|
import More from '@para-ui/icons/More';
|
|
5
|
-
import { Button } from '../
|
|
5
|
+
import { B as Button, P as PopConfirm } from '../_verture/index-7e60b72c.js';
|
|
6
6
|
import { Tooltip } from '../Tooltip/index.js';
|
|
7
7
|
import { Popover } from '../Popover/index.js';
|
|
8
|
-
import { PopConfirm } from '../PopConfirm/index.js';
|
|
9
8
|
import AutoTips from '../AutoTips/index.js';
|
|
10
9
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
11
10
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
@@ -18,14 +17,14 @@ import 'rc-dropdown';
|
|
|
18
17
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
19
18
|
import 'dayjs';
|
|
20
19
|
import '@paraview/lib';
|
|
21
|
-
import 'rc-tooltip';
|
|
22
|
-
import 'rc-tooltip/lib/placements';
|
|
23
|
-
import '@para-ui/icons/Forbid';
|
|
24
|
-
import '../_verture/index-ca413216.js';
|
|
25
20
|
import '@para-ui/icons/CheckCircleF';
|
|
26
21
|
import '@para-ui/icons/WarningCircle';
|
|
27
22
|
import '@para-ui/icons/CloseCircleF';
|
|
28
23
|
import '@para-ui/icons/WarningCircleF';
|
|
24
|
+
import 'rc-tooltip';
|
|
25
|
+
import 'rc-tooltip/lib/placements';
|
|
26
|
+
import '@para-ui/icons/Forbid';
|
|
27
|
+
import '../_verture/index-ca413216.js';
|
|
29
28
|
|
|
30
29
|
var en = {
|
|
31
30
|
more: 'more'
|
package/PageHeader/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import * as iconList from '@para-ui/icons';
|
|
|
6
6
|
import More from '@para-ui/icons/More';
|
|
7
7
|
import { DeepClone, UUID } from '@paraview/lib';
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
9
|
-
import { Button } from '../
|
|
9
|
+
import { B as Button } from '../_verture/index-7e60b72c.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';
|
|
@@ -23,6 +23,10 @@ import 'rc-dropdown';
|
|
|
23
23
|
import 'dayjs';
|
|
24
24
|
import '../_verture/useFormatMessage-1fc7c957.js';
|
|
25
25
|
import '../_verture/index-ca413216.js';
|
|
26
|
+
import '@para-ui/icons/CheckCircleF';
|
|
27
|
+
import '@para-ui/icons/WarningCircle';
|
|
28
|
+
import '@para-ui/icons/CloseCircleF';
|
|
29
|
+
import '@para-ui/icons/WarningCircleF';
|
|
26
30
|
|
|
27
31
|
/**
|
|
28
32
|
* @description 处理菜单标签
|
package/Pagination/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-5317fc8
|
|
|
5
5
|
import { TextField } from '../TextField/index.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
7
7
|
import Select from '../Select/index.js';
|
|
8
|
-
import { Button } from '../
|
|
8
|
+
import { B as Button } from '../_verture/index-7e60b72c.js';
|
|
9
9
|
import NavigateBefore from '@para-ui/icons/Left';
|
|
10
10
|
import PaginationCom from 'rc-pagination';
|
|
11
11
|
import Right from '@para-ui/icons/Right';
|
|
@@ -40,6 +40,9 @@ import '@para-ui/icons/Down';
|
|
|
40
40
|
import '@para-ui/icons/Check';
|
|
41
41
|
import '@para-ui/icons/Search';
|
|
42
42
|
import '../Popover/index.js';
|
|
43
|
+
import '@para-ui/icons/CheckCircleF';
|
|
44
|
+
import '@para-ui/icons/WarningCircle';
|
|
45
|
+
import '@para-ui/icons/WarningCircleF';
|
|
43
46
|
|
|
44
47
|
var en = {
|
|
45
48
|
total: 'Total {total}',
|