@duxweb/dvha-pro 1.1.21 → 1.1.22
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/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/cascaderPanel/cascaderPanel.cjs +1 -0
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/designEditor/editor.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/components/imageUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/layout/tools.cjs +1 -1
- package/dist/cjs/components/mapCoord/mapCoord.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modalTab.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/select/selectCard.cjs +1 -1
- package/dist/cjs/components/spec/spec.cjs +1 -1
- package/dist/cjs/components/stats/realTime.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/textImageEditor/textImageEditor.cjs +1 -0
- package/dist/cjs/components/textImageEditor/textModal.cjs +1 -0
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/components/upload/manage/item.cjs +1 -1
- package/dist/cjs/components/upload/manager.cjs +1 -1
- package/dist/cjs/components/upload/video.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table/switch.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/menuApp.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/menu/notice.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +24 -2
- package/dist/esm/component.js +21 -20
- package/dist/esm/components/cascaderPanel/cascaderPanel.js +378 -0
- package/dist/esm/components/chart/echart.js +1 -1
- package/dist/esm/components/dashboard/helloBig.js +3 -2
- package/dist/esm/components/data/dynamicData.js +49 -40
- package/dist/esm/components/data/selectModal.js +3 -3
- package/dist/esm/components/designEditor/editor/setting.js +2 -2
- package/dist/esm/components/designEditor/editor.js +3 -2
- package/dist/esm/components/drawer/drawer.js +22 -19
- package/dist/esm/components/flowEditor/components/setting.js +1 -1
- package/dist/esm/components/form/drawerForm.js +1 -1
- package/dist/esm/components/form/formItem.js +1 -1
- package/dist/esm/components/form/modalForm.js +1 -1
- package/dist/esm/components/form/pageForm.js +1 -1
- package/dist/esm/components/form/pageTabForm.js +1 -1
- package/dist/esm/components/form/settingForm.js +1 -1
- package/dist/esm/components/formEditor/components/imageUpload.js +1 -1
- package/dist/esm/components/formEditor/editor.js +1 -1
- package/dist/esm/components/layout/table.js +74 -56
- package/dist/esm/components/layout/tools.js +8 -8
- package/dist/esm/components/mapCoord/mapCoord.js +218 -0
- package/dist/esm/components/media/media.js +57 -32
- package/dist/esm/components/modal/modalTab.js +20 -14
- package/dist/esm/components/panel/setting.js +3 -2
- package/dist/esm/components/posterEditor/posterEditor.js +1 -1
- package/dist/esm/components/select/selectCard.js +3 -3
- package/dist/esm/components/spec/spec.js +142 -103
- package/dist/esm/components/stats/realTime.js +5 -4
- package/dist/esm/components/table/table.js +19 -19
- package/dist/esm/components/textImageEditor/textImageEditor.js +405 -0
- package/dist/esm/components/textImageEditor/textModal.js +77 -0
- package/dist/esm/components/upload/image.js +35 -34
- package/dist/esm/components/upload/manage/item.js +1 -1
- package/dist/esm/components/upload/manager.js +155 -138
- package/dist/esm/components/upload/video.js +340 -0
- package/dist/esm/components/widget/connect.js +3 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/dialog.js +2 -2
- package/dist/esm/hooks/drawer.js +2 -2
- package/dist/esm/hooks/modal.js +2 -2
- package/dist/esm/hooks/table/image.js +2 -2
- package/dist/esm/hooks/table/media.js +2 -2
- package/dist/esm/hooks/table/switch.js +58 -26
- package/dist/esm/index.js +308 -296
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/pages/authLayout.js +1 -1
- package/dist/esm/pages/login.js +1 -1
- package/dist/esm/pages/menu/avatar.js +1 -1
- package/dist/esm/pages/menu/button.js +1 -1
- package/dist/esm/pages/menu/menuApp.js +1 -1
- package/dist/esm/pages/menu/mobile.js +1 -1
- package/dist/esm/pages/menu/notice.js +1 -1
- package/dist/esm/pages/page404.js +1 -1
- package/dist/esm/pages/pageStatus.js +2 -2
- package/dist/esm/theme/uno.css.js +24 -2
- package/dist/types/components/cascaderPanel/cascaderPanel.d.ts +110 -0
- package/dist/types/components/cascaderPanel/index.d.ts +1 -0
- package/dist/types/components/data/dynamicData.d.ts +10 -0
- package/dist/types/components/data/index.d.ts +1 -1
- package/dist/types/components/data/selectModal.d.ts +2 -2
- package/dist/types/components/drawer/drawer.d.ts +1 -1
- package/dist/types/components/flowEditor/components/kvInput.d.ts +1 -1
- package/dist/types/components/flowEditor/components/nodeCard.d.ts +1 -1
- package/dist/types/components/form/drawerForm.d.ts +2 -2
- package/dist/types/components/form/formLayout.d.ts +2 -2
- package/dist/types/components/form/modalForm.d.ts +2 -2
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/level/level.d.ts +2 -2
- package/dist/types/components/mapCoord/index.d.ts +1 -0
- package/dist/types/components/mapCoord/mapCoord.d.ts +93 -0
- package/dist/types/components/media/media.d.ts +3 -32
- package/dist/types/components/modal/modalTab.d.ts +5 -5
- package/dist/types/components/select/checkboxTag.d.ts +2 -2
- package/dist/types/components/select/dateTag.d.ts +2 -2
- package/dist/types/components/select/radioTag.d.ts +2 -2
- package/dist/types/components/select/selectCard.d.ts +4 -4
- package/dist/types/components/spec/spec.d.ts +21 -0
- package/dist/types/components/table/table.d.ts +3 -3
- package/dist/types/components/textImageEditor/index.d.ts +2 -0
- package/dist/types/components/textImageEditor/textImageEditor.d.ts +56 -0
- package/dist/types/components/textImageEditor/textModal.d.ts +72 -0
- package/dist/types/components/textImageEditor/types.d.ts +19 -0
- package/dist/types/components/upload/index.d.ts +1 -0
- package/dist/types/components/upload/video.d.ts +126 -0
- package/dist/types/components/widget/index.d.ts +1 -0
- package/dist/types/hooks/table/column.d.ts +1 -1
- package/dist/types/hooks/table/switch.d.ts +1 -1
- package/dist/types/main.d.ts +5 -0
- package/package.json +3 -3
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { IUseTreeProps } from '@duxweb/dvha-core';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export interface CascaderPanelOption {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export type CascaderPanelCheckStrategy = 'all' | 'parent' | 'child';
|
|
7
|
+
export declare const DuxCascaderPanel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
value: {
|
|
9
|
+
type: PropType<string | number | (string | number)[] | (string | number)[][]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
options: PropType<CascaderPanelOption[]>;
|
|
13
|
+
path: StringConstructor;
|
|
14
|
+
params: PropType<Record<string, any>>;
|
|
15
|
+
treeOptions: PropType<IUseTreeProps>;
|
|
16
|
+
maxLevel: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
maxHeight: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
labelField: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
valueField: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
childrenField: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
multiple: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
cascade: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
checkStrategy: {
|
|
45
|
+
type: PropType<CascaderPanelCheckStrategy>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
showPath: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
value: {
|
|
54
|
+
type: PropType<string | number | (string | number)[] | (string | number)[][]>;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
options: PropType<CascaderPanelOption[]>;
|
|
58
|
+
path: StringConstructor;
|
|
59
|
+
params: PropType<Record<string, any>>;
|
|
60
|
+
treeOptions: PropType<IUseTreeProps>;
|
|
61
|
+
maxLevel: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
maxHeight: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
labelField: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
valueField: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
childrenField: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
multiple: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
cascade: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
checkStrategy: {
|
|
90
|
+
type: PropType<CascaderPanelCheckStrategy>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
showPath: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
}>> & Readonly<{
|
|
98
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
}>, {
|
|
100
|
+
value: string | number | (string | number)[] | (string | number)[][];
|
|
101
|
+
maxLevel: number;
|
|
102
|
+
maxHeight: number;
|
|
103
|
+
labelField: string;
|
|
104
|
+
valueField: string;
|
|
105
|
+
childrenField: string;
|
|
106
|
+
multiple: boolean;
|
|
107
|
+
cascade: boolean;
|
|
108
|
+
checkStrategy: CascaderPanelCheckStrategy;
|
|
109
|
+
showPath: boolean;
|
|
110
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './cascaderPanel';
|
|
@@ -5,6 +5,7 @@ export interface DuxDynamicDataColumn {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
copy?: boolean;
|
|
7
7
|
width?: number;
|
|
8
|
+
minWidth?: number;
|
|
8
9
|
render?: (cell: Record<string, any>, rowIndex: number) => VNode;
|
|
9
10
|
fixed?: 'left' | 'right';
|
|
10
11
|
align?: 'left' | 'right' | 'center';
|
|
@@ -12,6 +13,10 @@ export interface DuxDynamicDataColumn {
|
|
|
12
13
|
schema?: JsonSchemaNode | JsonSchemaNode[] | ((cell: Record<string, any>, rowIndex: number) => JsonSchemaNode | JsonSchemaNode[]);
|
|
13
14
|
}
|
|
14
15
|
export declare const DuxDynamicData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<"small" | "medium" | "large">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
15
20
|
moveAction: {
|
|
16
21
|
type: BooleanConstructor;
|
|
17
22
|
default: boolean;
|
|
@@ -36,6 +41,10 @@ export declare const DuxDynamicData: import("vue").DefineComponent<import("vue")
|
|
|
36
41
|
default: never[];
|
|
37
42
|
};
|
|
38
43
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
size: {
|
|
45
|
+
type: PropType<"small" | "medium" | "large">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
39
48
|
moveAction: {
|
|
40
49
|
type: BooleanConstructor;
|
|
41
50
|
default: boolean;
|
|
@@ -60,6 +69,7 @@ export declare const DuxDynamicData: import("vue").DefineComponent<import("vue")
|
|
|
60
69
|
default: never[];
|
|
61
70
|
};
|
|
62
71
|
}>> & Readonly<{}>, {
|
|
72
|
+
size: "small" | "medium" | "large";
|
|
63
73
|
value: Record<string, any>[];
|
|
64
74
|
defaultValue: Record<string, any>[];
|
|
65
75
|
moveAction: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { JsonSchemaNode } from '@duxweb/dvha-core';
|
|
2
2
|
import type { TableColumn } from '@duxweb/dvha-naiveui';
|
|
3
3
|
import type { PropType } from 'vue';
|
|
4
|
-
declare const
|
|
4
|
+
declare const SelectModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
path: StringConstructor;
|
|
6
6
|
columns: {
|
|
7
7
|
(arrayLength: number): TableColumn[];
|
|
@@ -58,4 +58,4 @@ declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTyp
|
|
|
58
58
|
}>> & Readonly<{}>, {
|
|
59
59
|
rowKey: string;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default
|
|
61
|
+
export default SelectModal;
|
|
@@ -26,6 +26,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
};
|
|
27
27
|
componentProps: ObjectConstructor;
|
|
28
28
|
}>> & Readonly<{}>, {
|
|
29
|
-
placement: "
|
|
29
|
+
placement: "right" | "bottom" | "left" | "top";
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -17,7 +17,7 @@ export declare const FlowKVInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:
|
|
20
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "update:modelValue")[], "update:value" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
modelValue: {
|
|
22
22
|
type: PropType<FlowKVItem[] | null>;
|
|
23
23
|
default: () => never[];
|
|
@@ -107,6 +107,6 @@ export declare const FlowNodeCard: import("vue").DefineComponent<import("vue").E
|
|
|
107
107
|
showTargetHandle: boolean;
|
|
108
108
|
showSourceHandle: boolean;
|
|
109
109
|
onDoubleClick: ((event: MouseEvent) => void) | undefined;
|
|
110
|
-
toolbarPosition: "
|
|
110
|
+
toolbarPosition: "right" | "bottom" | "left" | "top";
|
|
111
111
|
toolbarOffset: number;
|
|
112
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -75,10 +75,10 @@ export declare const DuxDrawerForm: import("vue").DefineComponent<import("vue").
|
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
|
+
inline: boolean;
|
|
78
79
|
labelPlacement: "left" | "top" | "page" | "setting";
|
|
79
80
|
divider: boolean;
|
|
80
|
-
|
|
81
|
-
labelAlign: "left" | "right";
|
|
81
|
+
labelAlign: "right" | "left";
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
id: {
|
|
84
84
|
type: PropType<string | number>;
|
|
@@ -40,8 +40,8 @@ export declare const DuxFormLayout: import("vue").DefineComponent<import("vue").
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{}>, {
|
|
43
|
+
inline: boolean;
|
|
43
44
|
labelPlacement: "left" | "top" | "page" | "setting";
|
|
44
45
|
divider: boolean;
|
|
45
|
-
|
|
46
|
-
labelAlign: "left" | "right";
|
|
46
|
+
labelAlign: "right" | "left";
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -75,10 +75,10 @@ export declare const DuxModalForm: import("vue").DefineComponent<import("vue").E
|
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{}>, {
|
|
78
|
+
inline: boolean;
|
|
78
79
|
labelPlacement: "left" | "top" | "page" | "setting";
|
|
79
80
|
divider: boolean;
|
|
80
|
-
|
|
81
|
-
labelAlign: "left" | "right";
|
|
81
|
+
labelAlign: "right" | "left";
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
id: {
|
|
84
84
|
type: PropType<string | number>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './card';
|
|
2
|
+
export * from './cascaderPanel';
|
|
2
3
|
export * from './carousel';
|
|
3
4
|
export * from './chart';
|
|
4
5
|
export * from './code';
|
|
@@ -18,6 +19,7 @@ export * from './layout';
|
|
|
18
19
|
export * from './level';
|
|
19
20
|
export * from './list';
|
|
20
21
|
export * from './media';
|
|
22
|
+
export * from './mapCoord';
|
|
21
23
|
export * from './modal';
|
|
22
24
|
export * from './panel';
|
|
23
25
|
export * from './posterEditor';
|
|
@@ -27,6 +29,7 @@ export * from './spec';
|
|
|
27
29
|
export * from './stats';
|
|
28
30
|
export * from './status';
|
|
29
31
|
export * from './table';
|
|
32
|
+
export * from './textImageEditor';
|
|
30
33
|
export * from './tree';
|
|
31
34
|
export * from './upload';
|
|
32
35
|
export * from './widget';
|
|
@@ -53,8 +53,8 @@ export declare const DuxLevel: import("vue").DefineComponent<import("vue").Extra
|
|
|
53
53
|
}>, {
|
|
54
54
|
path: string;
|
|
55
55
|
value: string[];
|
|
56
|
-
labelField: string;
|
|
57
56
|
maxLevel: number;
|
|
58
|
-
|
|
57
|
+
labelField: string;
|
|
59
58
|
valueField: string;
|
|
59
|
+
nameField: string;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mapCoord';
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
type CoordValue = [number, number];
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
T?: any;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare const DuxMapCoord: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
/**
|
|
10
|
+
* 天地图密钥(可选)
|
|
11
|
+
* - 优先使用 props.tk
|
|
12
|
+
* - 否则读取 useManage().config.map.tiandituTk
|
|
13
|
+
*/
|
|
14
|
+
tk: StringConstructor;
|
|
15
|
+
value: PropType<CoordValue | number[] | undefined>;
|
|
16
|
+
defaultValue: PropType<CoordValue | number[] | undefined>;
|
|
17
|
+
onUpdateValue: PropType<(value?: CoordValue) => void>;
|
|
18
|
+
address: StringConstructor;
|
|
19
|
+
defaultAddress: StringConstructor;
|
|
20
|
+
onUpdateAddress: PropType<(value?: string) => void>;
|
|
21
|
+
area: PropType<string[] | undefined>;
|
|
22
|
+
defaultArea: PropType<string[] | undefined>;
|
|
23
|
+
onUpdateArea: PropType<(value?: string[]) => void>;
|
|
24
|
+
height: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
zoom: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 是否显示地图默认控件(缩放、比例尺等)
|
|
34
|
+
*/
|
|
35
|
+
controls: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
showSearch: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
autoSearch: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
/**
|
|
49
|
+
* 天地图密钥(可选)
|
|
50
|
+
* - 优先使用 props.tk
|
|
51
|
+
* - 否则读取 useManage().config.map.tiandituTk
|
|
52
|
+
*/
|
|
53
|
+
tk: StringConstructor;
|
|
54
|
+
value: PropType<CoordValue | number[] | undefined>;
|
|
55
|
+
defaultValue: PropType<CoordValue | number[] | undefined>;
|
|
56
|
+
onUpdateValue: PropType<(value?: CoordValue) => void>;
|
|
57
|
+
address: StringConstructor;
|
|
58
|
+
defaultAddress: StringConstructor;
|
|
59
|
+
onUpdateAddress: PropType<(value?: string) => void>;
|
|
60
|
+
area: PropType<string[] | undefined>;
|
|
61
|
+
defaultArea: PropType<string[] | undefined>;
|
|
62
|
+
onUpdateArea: PropType<(value?: string[]) => void>;
|
|
63
|
+
height: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
zoom: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* 是否显示地图默认控件(缩放、比例尺等)
|
|
73
|
+
*/
|
|
74
|
+
controls: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showSearch: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
autoSearch: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{}>, {
|
|
87
|
+
height: string;
|
|
88
|
+
zoom: number;
|
|
89
|
+
controls: boolean;
|
|
90
|
+
showSearch: boolean;
|
|
91
|
+
autoSearch: boolean;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export {};
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
+
import type { PropType, VNodeChild } from 'vue';
|
|
1
2
|
export declare const DuxMedia: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
title: StringConstructor;
|
|
3
4
|
avatar: BooleanConstructor;
|
|
4
|
-
image:
|
|
5
|
-
(arrayLength: number): string[];
|
|
6
|
-
(...items: string[]): string[];
|
|
7
|
-
new (arrayLength: number): string[];
|
|
8
|
-
new (...items: string[]): string[];
|
|
9
|
-
isArray(arg: any): arg is any[];
|
|
10
|
-
readonly prototype: any[];
|
|
11
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
-
of<T>(...items: T[]): T[];
|
|
16
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
17
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
18
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
19
|
-
})[];
|
|
5
|
+
image: PropType<string | string[] | VNodeChild | (() => VNodeChild)>;
|
|
20
6
|
desc: (StringConstructor | {
|
|
21
7
|
(arrayLength: number): string[];
|
|
22
8
|
(...items: string[]): string[];
|
|
@@ -46,22 +32,7 @@ export declare const DuxMedia: import("vue").DefineComponent<import("vue").Extra
|
|
|
46
32
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
33
|
title: StringConstructor;
|
|
48
34
|
avatar: BooleanConstructor;
|
|
49
|
-
image:
|
|
50
|
-
(arrayLength: number): string[];
|
|
51
|
-
(...items: string[]): string[];
|
|
52
|
-
new (arrayLength: number): string[];
|
|
53
|
-
new (...items: string[]): string[];
|
|
54
|
-
isArray(arg: any): arg is any[];
|
|
55
|
-
readonly prototype: any[];
|
|
56
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
57
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
58
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
59
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
60
|
-
of<T>(...items: T[]): T[];
|
|
61
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
62
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
63
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
64
|
-
})[];
|
|
35
|
+
image: PropType<string | string[] | VNodeChild | (() => VNodeChild)>;
|
|
65
36
|
desc: (StringConstructor | {
|
|
66
37
|
(arrayLength: number): string[];
|
|
67
38
|
(...items: string[]): string[];
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
handle: {
|
|
12
|
-
type: PropType<Ref<HTMLElement>>;
|
|
13
|
-
default:
|
|
12
|
+
type: PropType<string | Ref<HTMLElement>>;
|
|
13
|
+
default: string;
|
|
14
14
|
};
|
|
15
15
|
onClose: {
|
|
16
16
|
type: PropType<() => void>;
|
|
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
handle: {
|
|
29
|
-
type: PropType<Ref<HTMLElement>>;
|
|
30
|
-
default:
|
|
29
|
+
type: PropType<string | Ref<HTMLElement>>;
|
|
30
|
+
default: string;
|
|
31
31
|
};
|
|
32
32
|
onClose: {
|
|
33
33
|
type: PropType<() => void>;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
36
|
}>> & Readonly<{}>, {
|
|
37
37
|
onClose: () => void;
|
|
38
38
|
draggable: boolean;
|
|
39
|
-
handle: Ref<HTMLElement, HTMLElement>;
|
|
39
|
+
handle: string | Ref<HTMLElement, HTMLElement>;
|
|
40
40
|
defaultTab: string;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
|
@@ -51,8 +51,8 @@ export declare const DuxCheckboxTag: import("vue").DefineComponent<import("vue")
|
|
|
51
51
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
value: (string | number)[];
|
|
54
|
-
defaultValue: (string | number)[];
|
|
55
54
|
disabled: boolean;
|
|
56
|
-
onUpdateValue: (value: (string | number)[]) => void;
|
|
57
55
|
options: DuxCheckOption[];
|
|
56
|
+
defaultValue: (string | number)[];
|
|
57
|
+
onUpdateValue: (value: (string | number)[]) => void;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -66,9 +66,9 @@ export declare const DuxDateTag: import("vue").DefineComponent<import("vue").Ext
|
|
|
66
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
value: DateRangeValue;
|
|
69
|
-
defaultValue: DateRangeValue;
|
|
70
69
|
disabled: boolean;
|
|
71
|
-
onUpdateValue: (value: DateRangeValue) => void;
|
|
72
70
|
options: DuxDateTagOption[];
|
|
71
|
+
defaultValue: DateRangeValue;
|
|
72
|
+
onUpdateValue: (value: DateRangeValue) => void;
|
|
73
73
|
datePickerProps: Partial<DatePickerProps>;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -47,8 +47,8 @@ export declare const DuxRadioTag: import("vue").DefineComponent<import("vue").Ex
|
|
|
47
47
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
49
|
value: string | number | undefined;
|
|
50
|
-
defaultValue: string | number | undefined;
|
|
51
50
|
disabled: boolean;
|
|
52
|
-
onUpdateValue: (value: string | number | undefined) => void;
|
|
53
51
|
options: DuxCheckOption[];
|
|
52
|
+
defaultValue: string | number | undefined;
|
|
53
|
+
onUpdateValue: (value: string | number | undefined) => void;
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -78,11 +78,11 @@ export declare const DuxSelectCard: import("vue").DefineComponent<import("vue").
|
|
|
78
78
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
80
|
value: string | number | (string | number)[];
|
|
81
|
-
defaultValue: string | number | (string | number)[];
|
|
82
81
|
disabled: boolean;
|
|
83
|
-
onUpdateValue: (value: string | number | (string | number)[]) => void;
|
|
84
|
-
maxWidth: string;
|
|
85
|
-
options: CardSelectOption[];
|
|
86
82
|
minWidth: string;
|
|
83
|
+
maxWidth: string;
|
|
87
84
|
multiple: boolean;
|
|
85
|
+
options: CardSelectOption[];
|
|
86
|
+
defaultValue: string | number | (string | number)[];
|
|
87
|
+
onUpdateValue: (value: string | number | (string | number)[]) => void;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -17,6 +17,16 @@ export declare const DuxSpec: import("vue").DefineComponent<import("vue").Extrac
|
|
|
17
17
|
type: PropType<Partial<DuxSpecImageUploadProps>>;
|
|
18
18
|
default: () => {};
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* When enabled, DuxSpec will keep `row.specs` in sync as a plain map:
|
|
22
|
+
* { [specName]: valueLabel }.
|
|
23
|
+
*
|
|
24
|
+
* This lets the backend store/query SKU specs without dealing with editor-only fields.
|
|
25
|
+
*/
|
|
26
|
+
syncRowSpecs: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
20
30
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
31
|
columns: {
|
|
22
32
|
type: PropType<DuxDynamicDataColumn[]>;
|
|
@@ -29,6 +39,16 @@ export declare const DuxSpec: import("vue").DefineComponent<import("vue").Extrac
|
|
|
29
39
|
type: PropType<Partial<DuxSpecImageUploadProps>>;
|
|
30
40
|
default: () => {};
|
|
31
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* When enabled, DuxSpec will keep `row.specs` in sync as a plain map:
|
|
44
|
+
* { [specName]: valueLabel }.
|
|
45
|
+
*
|
|
46
|
+
* This lets the backend store/query SKU specs without dealing with editor-only fields.
|
|
47
|
+
*/
|
|
48
|
+
syncRowSpecs: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
32
52
|
}>> & Readonly<{
|
|
33
53
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
54
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -56,4 +76,5 @@ export declare const DuxSpec: import("vue").DefineComponent<import("vue").Extrac
|
|
|
56
76
|
readonly signCallback?: ((response: import("@duxweb/dvha-core").IDataProviderResponse) => import("@duxweb/dvha-core").IS3SignData) | undefined;
|
|
57
77
|
readonly maxNum?: number | undefined;
|
|
58
78
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "path" | "multiple" | "manager" | "managePath" | "signPath" | "maxSize">>;
|
|
79
|
+
syncRowSpecs: boolean;
|
|
59
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { TableColumn, TablePagination } from '@duxweb/dvha-naiveui';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
2
|
+
import type { MaybeRef, PropType } from 'vue';
|
|
3
3
|
export declare const DuxTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
path: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
filter: {
|
|
9
|
-
type: PropType<Record<string, any
|
|
9
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
10
10
|
};
|
|
11
11
|
columns: {
|
|
12
12
|
type: PropType<TableColumn[]>;
|
|
@@ -7160,7 +7160,7 @@ export declare const DuxTable: import("vue").DefineComponent<import("vue").Extra
|
|
|
7160
7160
|
required: true;
|
|
7161
7161
|
};
|
|
7162
7162
|
filter: {
|
|
7163
|
-
type: PropType<Record<string, any
|
|
7163
|
+
type: PropType<MaybeRef<Record<string, any>>>;
|
|
7164
7164
|
};
|
|
7165
7165
|
columns: {
|
|
7166
7166
|
type: PropType<TableColumn[]>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { TextImageEditorBlock } from './types';
|
|
3
|
+
export declare const DuxTextImageEditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
value: PropType<string | TextImageEditorBlock[]>;
|
|
5
|
+
defaultValue: PropType<string | TextImageEditorBlock[]>;
|
|
6
|
+
onUpdateValue: PropType<(value: string | TextImageEditorBlock[]) => void>;
|
|
7
|
+
description: StringConstructor;
|
|
8
|
+
editorType: {
|
|
9
|
+
type: PropType<"richtext" | "markdown">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
aiPath: StringConstructor;
|
|
13
|
+
uploadPath: StringConstructor;
|
|
14
|
+
uploadHeaders: PropType<Record<string, any>>;
|
|
15
|
+
fileManagerType: {
|
|
16
|
+
type: PropType<"all" | "image" | "media" | "docs" | string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
editorHeight: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
previewHeight: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
value: PropType<string | TextImageEditorBlock[]>;
|
|
29
|
+
defaultValue: PropType<string | TextImageEditorBlock[]>;
|
|
30
|
+
onUpdateValue: PropType<(value: string | TextImageEditorBlock[]) => void>;
|
|
31
|
+
description: StringConstructor;
|
|
32
|
+
editorType: {
|
|
33
|
+
type: PropType<"richtext" | "markdown">;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
aiPath: StringConstructor;
|
|
37
|
+
uploadPath: StringConstructor;
|
|
38
|
+
uploadHeaders: PropType<Record<string, any>>;
|
|
39
|
+
fileManagerType: {
|
|
40
|
+
type: PropType<"all" | "image" | "media" | "docs" | string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
editorHeight: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
previewHeight: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
|
+
editorType: "markdown" | "richtext";
|
|
53
|
+
fileManagerType: string;
|
|
54
|
+
editorHeight: string;
|
|
55
|
+
previewHeight: string;
|
|
56
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|