workdesktop-ai 1.0.2 → 1.1.0
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/CHANGELOG.md +155 -93
- package/README.md +123 -25
- package/dist/api-button/index.mjs +7 -0
- package/dist/api-button/index.mjs.map +1 -0
- package/dist/assets/Select-CNzSyvlZ.css +1 -0
- package/dist/auto-complete/index.mjs +7 -0
- package/dist/auto-complete/index.mjs.map +1 -0
- package/dist/auto-complete/style.css +1 -0
- package/dist/base.css +1 -0
- package/dist/checkbox-list/index.mjs +7 -0
- package/dist/checkbox-list/index.mjs.map +1 -0
- package/dist/checkbox-list/style.css +1 -0
- package/dist/chunks/ApiButton.vue_vue_type_script_setup_true_lang-CweWFfDE.mjs +80 -0
- package/dist/chunks/ApiButton.vue_vue_type_script_setup_true_lang-CweWFfDE.mjs.map +1 -0
- package/dist/chunks/AutoComplete-B_L169hU.mjs +80 -0
- package/dist/chunks/AutoComplete-B_L169hU.mjs.map +1 -0
- package/dist/chunks/CheckboxList-bPqpbd8d.mjs +129 -0
- package/dist/chunks/CheckboxList-bPqpbd8d.mjs.map +1 -0
- package/dist/chunks/ConfirmButton.vue_vue_type_script_setup_true_lang-DpdMPkka.mjs +99 -0
- package/dist/chunks/ConfirmButton.vue_vue_type_script_setup_true_lang-DpdMPkka.mjs.map +1 -0
- package/dist/chunks/DataForm-C6UW92Ds.mjs +305 -0
- package/dist/chunks/DataForm-C6UW92Ds.mjs.map +1 -0
- package/dist/chunks/DataGrid-BhgND4G_.mjs +1124 -0
- package/dist/chunks/DataGrid-BhgND4G_.mjs.map +1 -0
- package/dist/chunks/DialogButton.vue_vue_type_script_setup_true_lang-CTXP79zc.mjs +117 -0
- package/dist/chunks/DialogButton.vue_vue_type_script_setup_true_lang-CTXP79zc.mjs.map +1 -0
- package/dist/chunks/Drawer-ucXKUecL.mjs +259 -0
- package/dist/chunks/Drawer-ucXKUecL.mjs.map +1 -0
- package/dist/chunks/DrawerButton.vue_vue_type_script_setup_true_lang-DUda4p7_.mjs +125 -0
- package/dist/chunks/DrawerButton.vue_vue_type_script_setup_true_lang-DUda4p7_.mjs.map +1 -0
- package/dist/chunks/EditableGrid-Cx7ScWkW.mjs +1783 -0
- package/dist/chunks/EditableGrid-Cx7ScWkW.mjs.map +1 -0
- package/dist/chunks/FormItem-C1q0opnk.mjs +79 -0
- package/dist/chunks/FormItem-C1q0opnk.mjs.map +1 -0
- package/dist/chunks/Iframe-CeSiMnvR.mjs +65 -0
- package/dist/chunks/Iframe-CeSiMnvR.mjs.map +1 -0
- package/dist/chunks/ImageUpload-D3JGJjVO.mjs +193 -0
- package/dist/chunks/ImageUpload-D3JGJjVO.mjs.map +1 -0
- package/dist/chunks/Panel-d4chdlTA.mjs +113 -0
- package/dist/chunks/Panel-d4chdlTA.mjs.map +1 -0
- package/dist/chunks/PromptButton.vue_vue_type_script_setup_true_lang-BqoNAUoo.mjs +118 -0
- package/dist/chunks/PromptButton.vue_vue_type_script_setup_true_lang-BqoNAUoo.mjs.map +1 -0
- package/dist/chunks/RadioList-DT-8WSN2.mjs +129 -0
- package/dist/chunks/RadioList-DT-8WSN2.mjs.map +1 -0
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-5B1V-53c.mjs +80 -0
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-5B1V-53c.mjs.map +1 -0
- package/dist/chunks/RouteButton.vue_vue_type_script_setup_true_lang-Da0D3tKA.mjs +73 -0
- package/dist/chunks/RouteButton.vue_vue_type_script_setup_true_lang-Da0D3tKA.mjs.map +1 -0
- package/dist/chunks/SearchItem-pFO57lEO.mjs +79 -0
- package/dist/chunks/SearchItem-pFO57lEO.mjs.map +1 -0
- package/dist/chunks/SearchPanel-xQ1hPaNq.mjs +158 -0
- package/dist/chunks/SearchPanel-xQ1hPaNq.mjs.map +1 -0
- package/dist/chunks/Select-CMw-tWYm.mjs +114 -0
- package/dist/chunks/Select-CMw-tWYm.mjs.map +1 -0
- package/dist/chunks/Station-BF_QlQ8c.mjs +796 -0
- package/dist/chunks/Station-BF_QlQ8c.mjs.map +1 -0
- package/dist/chunks/Switch.vue_vue_type_script_setup_true_lang-CCU_d3jW.mjs +71 -0
- package/dist/chunks/Switch.vue_vue_type_script_setup_true_lang-CCU_d3jW.mjs.map +1 -0
- package/dist/chunks/Tips-IWCZcR1K.mjs +63 -0
- package/dist/chunks/Tips-IWCZcR1K.mjs.map +1 -0
- package/dist/chunks/TipsButton.vue_vue_type_script_setup_true_lang-DvcpRSV1.mjs +51 -0
- package/dist/chunks/TipsButton.vue_vue_type_script_setup_true_lang-DvcpRSV1.mjs.map +1 -0
- package/dist/chunks/Upload.vue_vue_type_script_setup_true_lang-CkxGO85H.mjs +200 -0
- package/dist/chunks/Upload.vue_vue_type_script_setup_true_lang-CkxGO85H.mjs.map +1 -0
- package/dist/chunks/Viewer-COLbtcgF.mjs +381 -0
- package/dist/chunks/Viewer-COLbtcgF.mjs.map +1 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +10 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs.map +1 -0
- package/dist/chunks/containerContext-BgphFDeH.mjs +13 -0
- package/dist/chunks/containerContext-BgphFDeH.mjs.map +1 -0
- package/dist/chunks/http-DUPsbs2K.mjs +2951 -0
- package/dist/chunks/http-DUPsbs2K.mjs.map +1 -0
- package/dist/chunks/linkage-FbL1mcz3.mjs +66 -0
- package/dist/chunks/linkage-FbL1mcz3.mjs.map +1 -0
- package/dist/chunks/props-DAytpx7D.mjs +65 -0
- package/dist/chunks/props-DAytpx7D.mjs.map +1 -0
- package/dist/chunks/useApiAction-C1CdKGjt.mjs +30 -0
- package/dist/chunks/useApiAction-C1CdKGjt.mjs.map +1 -0
- package/dist/chunks/useColumnSettings-BDtF5-8R.mjs +216 -0
- package/dist/chunks/useColumnSettings-BDtF5-8R.mjs.map +1 -0
- package/dist/chunks/useOptionsLoader-D0RTB_ar.mjs +64 -0
- package/dist/chunks/useOptionsLoader-D0RTB_ar.mjs.map +1 -0
- package/dist/confirm-button/index.mjs +7 -0
- package/dist/confirm-button/index.mjs.map +1 -0
- package/dist/data-form/index.mjs +7 -0
- package/dist/data-form/index.mjs.map +1 -0
- package/dist/data-form/style.css +1 -0
- package/dist/data-grid/index.mjs +7 -0
- package/dist/data-grid/index.mjs.map +1 -0
- package/dist/data-grid/style.css +1 -0
- package/dist/dialog-button/index.mjs +7 -0
- package/dist/dialog-button/index.mjs.map +1 -0
- package/dist/drawer/index.mjs +7 -0
- package/dist/drawer/index.mjs.map +1 -0
- package/dist/drawer/style.css +1 -0
- package/dist/drawer-button/index.mjs +7 -0
- package/dist/drawer-button/index.mjs.map +1 -0
- package/dist/editable-grid/index.mjs +7 -0
- package/dist/editable-grid/index.mjs.map +1 -0
- package/dist/editable-grid/style.css +1 -0
- package/dist/form-item/index.mjs +7 -0
- package/dist/form-item/index.mjs.map +1 -0
- package/dist/form-item/style.css +1 -0
- package/dist/iframe/index.mjs +7 -0
- package/dist/iframe/index.mjs.map +1 -0
- package/dist/iframe/style.css +1 -0
- package/dist/image-upload/index.mjs +7 -0
- package/dist/image-upload/index.mjs.map +1 -0
- package/dist/image-upload/style.css +1 -0
- package/dist/index.esm.js +318 -6495
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +20 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/panel/index.mjs +7 -0
- package/dist/panel/index.mjs.map +1 -0
- package/dist/panel/style.css +1 -0
- package/dist/prompt-button/index.mjs +7 -0
- package/dist/prompt-button/index.mjs.map +1 -0
- package/dist/radio-list/index.mjs +7 -0
- package/dist/radio-list/index.mjs.map +1 -0
- package/dist/radio-list/style.css +1 -0
- package/dist/requester/index.mjs +7 -0
- package/dist/requester/index.mjs.map +1 -0
- package/dist/route-button/index.mjs +7 -0
- package/dist/route-button/index.mjs.map +1 -0
- package/dist/search-item/index.mjs +7 -0
- package/dist/search-item/index.mjs.map +1 -0
- package/dist/search-item/style.css +1 -0
- package/dist/search-panel/index.mjs +7 -0
- package/dist/search-panel/index.mjs.map +1 -0
- package/dist/search-panel/style.css +1 -0
- package/dist/select/index.mjs +7 -0
- package/dist/select/index.mjs.map +1 -0
- package/dist/station/index.mjs +7 -0
- package/dist/station/index.mjs.map +1 -0
- package/dist/station/style.css +1 -0
- package/dist/style.css +1 -1
- package/dist/switch/index.mjs +7 -0
- package/dist/switch/index.mjs.map +1 -0
- package/dist/tips/index.mjs +7 -0
- package/dist/tips/index.mjs.map +1 -0
- package/dist/tips/style.css +1 -0
- package/dist/tips-button/index.mjs +7 -0
- package/dist/tips-button/index.mjs.map +1 -0
- package/dist/types/src/components/buttons/ApiButton.vue.d.ts +35 -6
- package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +37 -8
- package/dist/types/src/components/buttons/DialogButton.vue.d.ts +89 -29
- package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +99 -31
- package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +317 -0
- package/dist/types/src/components/buttons/PromptButton.vue.d.ts +45 -14
- package/dist/types/src/components/buttons/RouteButton.vue.d.ts +34 -5
- package/dist/types/src/components/buttons/TipsButton.vue.d.ts +8 -15
- package/dist/types/src/components/common/props.d.ts +32 -2
- package/dist/types/src/components/containers/Drawer.vue.d.ts +61 -8
- package/dist/types/src/components/containers/Iframe.vue.d.ts +39 -2
- package/dist/types/src/components/containers/containerContext.d.ts +1 -1
- package/dist/types/src/components/containers/useContainerController.d.ts +5 -0
- package/dist/types/src/components/containers/useIframeContainer.d.ts +20 -0
- package/dist/types/src/components/core/Requester.vue.d.ts +41 -0
- package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +212 -5
- package/dist/types/src/components/data/datagrid/useColumnSettings.d.ts +14 -0
- package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +586 -0
- package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +187 -0
- package/dist/types/src/components/form/FormItem.vue.d.ts +62 -0
- package/dist/types/src/components/form/SearchItem.vue.d.ts +62 -0
- package/dist/types/src/components/{containers → form}/SearchPanel.vue.d.ts +17 -2
- package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +6 -6
- package/dist/types/src/components/index.d.ts +10 -6
- package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +10 -1
- package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +28 -3
- package/dist/types/src/components/inputs/RadioList.vue.d.ts +28 -3
- package/dist/types/src/components/inputs/Select.vue.d.ts +11 -1
- package/dist/types/src/components/inputs/Switch.vue.d.ts +2 -2
- package/dist/types/src/components/inputs/useOptionsLoader.d.ts +3 -0
- package/dist/types/src/components/layout/Station.vue.d.ts +302 -0
- package/dist/types/src/components/layout/StationMenuNode.vue.d.ts +20 -0
- package/dist/types/src/components/layout/types.d.ts +54 -0
- package/dist/types/src/components/styles/Panel.vue.d.ts +47 -5
- package/dist/types/src/components/upload/ImageUpload.vue.d.ts +4 -4
- package/dist/types/src/components/upload/Upload.vue.d.ts +1 -1
- package/dist/types/src/entries/api-button.d.ts +9 -0
- package/dist/types/src/entries/auto-complete.d.ts +9 -0
- package/dist/types/src/entries/checkbox-list.d.ts +9 -0
- package/dist/types/src/entries/components-map.d.ts +8 -0
- package/dist/types/src/entries/confirm-button.d.ts +9 -0
- package/dist/types/src/entries/data-form.d.ts +9 -0
- package/dist/types/src/entries/data-grid.d.ts +9 -0
- package/dist/types/src/entries/dialog-button.d.ts +9 -0
- package/dist/types/src/entries/drawer-button.d.ts +9 -0
- package/dist/types/src/entries/drawer.d.ts +9 -0
- package/dist/types/src/entries/editable-grid.d.ts +9 -0
- package/dist/types/src/entries/form-item.d.ts +9 -0
- package/dist/types/src/entries/iframe.d.ts +9 -0
- package/dist/types/src/entries/image-upload.d.ts +9 -0
- package/dist/types/src/entries/panel.d.ts +9 -0
- package/dist/types/src/entries/prompt-button.d.ts +9 -0
- package/dist/types/src/entries/radio-list.d.ts +9 -0
- package/dist/types/src/entries/requester.d.ts +9 -0
- package/dist/types/src/entries/route-button.d.ts +9 -0
- package/dist/types/src/entries/search-item.d.ts +9 -0
- package/dist/types/src/entries/search-panel.d.ts +9 -0
- package/dist/types/src/entries/select.d.ts +9 -0
- package/dist/types/src/entries/station.d.ts +9 -0
- package/dist/types/src/entries/switch.d.ts +9 -0
- package/dist/types/src/entries/tips-button.d.ts +9 -0
- package/dist/types/src/entries/tips.d.ts +9 -0
- package/dist/types/src/entries/upload.d.ts +9 -0
- package/dist/types/src/entries/viewer.d.ts +9 -0
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/lib/composables/useDataGrid.d.ts +15 -0
- package/dist/types/src/lib/core/http.d.ts +21 -4
- package/dist/types/src/lib/core/station-linkage.d.ts +41 -0
- package/dist/types/src/types/config.d.ts +20 -3
- package/dist/types/vite.config.d.ts +6 -1
- package/dist/upload/index.mjs +7 -0
- package/dist/upload/index.mjs.map +1 -0
- package/dist/viewer/index.mjs +7 -0
- package/dist/viewer/index.mjs.map +1 -0
- package/dist/viewer/style.css +1 -0
- package/package.json +199 -68
- package/dist/types/src/components/containers/Dialog.vue.d.ts +0 -112
- package/dist/types/src/components/data/editable-table/EditableTable.vue.d.ts +0 -306
- package/dist/types/src/components/utils/Viewer.vue.d.ts +0 -131
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
interface ViewerItem {
|
|
3
|
+
prop: string;
|
|
4
|
+
label: string;
|
|
5
|
+
span?: number;
|
|
6
|
+
width?: string | number;
|
|
7
|
+
align?: 'left' | 'center' | 'right';
|
|
8
|
+
labelAlign?: 'left' | 'center' | 'right';
|
|
9
|
+
/** 自定义渲染插槽名 */
|
|
10
|
+
slot?: string;
|
|
11
|
+
render?: any;
|
|
12
|
+
formatter?: (val: any, row: any) => string;
|
|
13
|
+
type?: 'text' | 'tag' | 'time' | 'status' | 'image' | 'copy';
|
|
14
|
+
tagColors?: Record<string, string>;
|
|
15
|
+
timeFormat?: string;
|
|
16
|
+
imageSize?: number;
|
|
17
|
+
}
|
|
18
|
+
declare function requestApi(extraParam?: Record<string, any>): Promise<any>;
|
|
19
|
+
declare function resetData(): void;
|
|
20
|
+
declare function getData(): Record<string, any>;
|
|
21
|
+
declare var __VLS_78: `${string}-cell`, __VLS_79: {
|
|
22
|
+
row: Record<string, any>;
|
|
23
|
+
value: any;
|
|
24
|
+
}, __VLS_81: {}, __VLS_83: {
|
|
25
|
+
row: Record<string, any>;
|
|
26
|
+
data: Record<string, any>;
|
|
27
|
+
}, __VLS_85: {}, __VLS_91: {};
|
|
28
|
+
type __VLS_Slots = {} & {
|
|
29
|
+
[K in NonNullable<typeof __VLS_78>]?: (props: typeof __VLS_79) => any;
|
|
30
|
+
} & {
|
|
31
|
+
default?: (props: typeof __VLS_81) => any;
|
|
32
|
+
} & {
|
|
33
|
+
content?: (props: typeof __VLS_83) => any;
|
|
34
|
+
} & {
|
|
35
|
+
empty?: (props: typeof __VLS_85) => any;
|
|
36
|
+
} & {
|
|
37
|
+
empty?: (props: typeof __VLS_91) => any;
|
|
38
|
+
};
|
|
39
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
40
|
+
title: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
column: {
|
|
45
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
border: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<"large" | "default" | "small">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
labelStyle: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: () => {
|
|
59
|
+
width: string;
|
|
60
|
+
textAlign: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
contentStyle: {
|
|
64
|
+
type: ObjectConstructor;
|
|
65
|
+
};
|
|
66
|
+
api: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
apiMethod: {
|
|
71
|
+
type: PropType<"get" | "post" | "put" | "delete">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
apiParam: {
|
|
75
|
+
type: ObjectConstructor;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
|
+
active: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
data: {
|
|
83
|
+
type: ObjectConstructor;
|
|
84
|
+
};
|
|
85
|
+
items: {
|
|
86
|
+
type: PropType<ViewerItem[]>;
|
|
87
|
+
default: () => never[];
|
|
88
|
+
};
|
|
89
|
+
emptyText: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
}>, {
|
|
94
|
+
requestApi: typeof requestApi;
|
|
95
|
+
resetData: typeof resetData;
|
|
96
|
+
getData: typeof getData;
|
|
97
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
98
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
|
+
apiBefore: (...args: any[]) => void;
|
|
100
|
+
apiSuccess: (...args: any[]) => void;
|
|
101
|
+
apiFail: (...args: any[]) => void;
|
|
102
|
+
apiException: (...args: any[]) => void;
|
|
103
|
+
apiAfter: (...args: any[]) => void;
|
|
104
|
+
"load-success": (...args: any[]) => void;
|
|
105
|
+
"load-fail": (...args: any[]) => void;
|
|
106
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
107
|
+
title: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
column: {
|
|
112
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
border: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
size: {
|
|
120
|
+
type: PropType<"large" | "default" | "small">;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
labelStyle: {
|
|
124
|
+
type: ObjectConstructor;
|
|
125
|
+
default: () => {
|
|
126
|
+
width: string;
|
|
127
|
+
textAlign: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
contentStyle: {
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
};
|
|
133
|
+
api: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
apiMethod: {
|
|
138
|
+
type: PropType<"get" | "post" | "put" | "delete">;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
apiParam: {
|
|
142
|
+
type: ObjectConstructor;
|
|
143
|
+
default: () => {};
|
|
144
|
+
};
|
|
145
|
+
active: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
data: {
|
|
150
|
+
type: ObjectConstructor;
|
|
151
|
+
};
|
|
152
|
+
items: {
|
|
153
|
+
type: PropType<ViewerItem[]>;
|
|
154
|
+
default: () => never[];
|
|
155
|
+
};
|
|
156
|
+
emptyText: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
}>> & Readonly<{
|
|
161
|
+
onApiBefore?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
onApiSuccess?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
onApiFail?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
onApiException?: ((...args: any[]) => any) | undefined;
|
|
165
|
+
onApiAfter?: ((...args: any[]) => any) | undefined;
|
|
166
|
+
"onLoad-success"?: ((...args: any[]) => any) | undefined;
|
|
167
|
+
"onLoad-fail"?: ((...args: any[]) => any) | undefined;
|
|
168
|
+
}>, {
|
|
169
|
+
title: string;
|
|
170
|
+
size: "default" | "small" | "large";
|
|
171
|
+
api: string;
|
|
172
|
+
apiMethod: "post" | "delete" | "get" | "put";
|
|
173
|
+
apiParam: Record<string, any>;
|
|
174
|
+
active: boolean;
|
|
175
|
+
border: boolean;
|
|
176
|
+
column: number | Record<string, any>;
|
|
177
|
+
labelStyle: Record<string, any>;
|
|
178
|
+
items: ViewerItem[];
|
|
179
|
+
emptyText: string;
|
|
180
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
182
|
+
export default _default;
|
|
183
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
184
|
+
new (): {
|
|
185
|
+
$slots: S;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare var __VLS_6: {}, __VLS_20: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
label?: (props: typeof __VLS_6) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_20) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
/** 字段标签文字 */
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
/** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
|
|
15
|
+
prop: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
/** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
|
|
20
|
+
tip: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/** 帮助气泡的弹出位置 */
|
|
25
|
+
tipPlacement: {
|
|
26
|
+
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
/** 字段标签文字 */
|
|
31
|
+
label: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
|
|
36
|
+
prop: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
|
|
41
|
+
tip: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/** 帮助气泡的弹出位置 */
|
|
46
|
+
tipPlacement: {
|
|
47
|
+
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {
|
|
51
|
+
label: string;
|
|
52
|
+
prop: string;
|
|
53
|
+
tip: string;
|
|
54
|
+
tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare var __VLS_6: {}, __VLS_20: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
label?: (props: typeof __VLS_6) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_20) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
/** 字段标签文字 */
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
/** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
|
|
15
|
+
prop: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
/** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
|
|
20
|
+
tip: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/** 帮助气泡的弹出位置 */
|
|
25
|
+
tipPlacement: {
|
|
26
|
+
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
/** 字段标签文字 */
|
|
31
|
+
label: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
|
|
36
|
+
prop: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
|
|
41
|
+
tip: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/** 帮助气泡的弹出位置 */
|
|
46
|
+
tipPlacement: {
|
|
47
|
+
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {
|
|
51
|
+
label: string;
|
|
52
|
+
prop: string;
|
|
53
|
+
tip: string;
|
|
54
|
+
tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -11,14 +11,18 @@ declare var __VLS_11: {
|
|
|
11
11
|
}, __VLS_13: {
|
|
12
12
|
search: typeof onSearch;
|
|
13
13
|
reset: typeof onReset;
|
|
14
|
+
}, __VLS_39: {
|
|
15
|
+
model: Record<string, any>;
|
|
14
16
|
};
|
|
15
17
|
type __VLS_Slots = {} & {
|
|
16
18
|
default?: (props: typeof __VLS_11) => any;
|
|
17
19
|
} & {
|
|
18
20
|
actions?: (props: typeof __VLS_13) => any;
|
|
21
|
+
} & {
|
|
22
|
+
more?: (props: typeof __VLS_39) => any;
|
|
19
23
|
};
|
|
20
24
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
|
-
/**
|
|
25
|
+
/** 是否可折叠(默认 true:面板自带 展开/收起 按钮;有 more 插槽时折叠 more 区,无 more 插槽时折叠默认区整体) */
|
|
22
26
|
collapsible: {
|
|
23
27
|
type: BooleanConstructor;
|
|
24
28
|
default: boolean;
|
|
@@ -58,6 +62,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
58
62
|
type: (NumberConstructor | StringConstructor)[];
|
|
59
63
|
default: string;
|
|
60
64
|
};
|
|
65
|
+
/** 操作列宽度:默认 'auto' 随按钮内容自适应;数字按 px;也可传 CSS 长度(如 '120px') */
|
|
66
|
+
actionWidth: {
|
|
67
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
61
70
|
headRefreshDatagrid: {
|
|
62
71
|
type: import("vue").PropType<boolean | string>;
|
|
63
72
|
default: boolean;
|
|
@@ -77,7 +86,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
77
86
|
"expand-change": (...args: any[]) => void;
|
|
78
87
|
"update:expand": (...args: any[]) => void;
|
|
79
88
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
-
/**
|
|
89
|
+
/** 是否可折叠(默认 true:面板自带 展开/收起 按钮;有 more 插槽时折叠 more 区,无 more 插槽时折叠默认区整体) */
|
|
81
90
|
collapsible: {
|
|
82
91
|
type: BooleanConstructor;
|
|
83
92
|
default: boolean;
|
|
@@ -117,6 +126,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
117
126
|
type: (NumberConstructor | StringConstructor)[];
|
|
118
127
|
default: string;
|
|
119
128
|
};
|
|
129
|
+
/** 操作列宽度:默认 'auto' 随按钮内容自适应;数字按 px;也可传 CSS 长度(如 '120px') */
|
|
130
|
+
actionWidth: {
|
|
131
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
120
134
|
headRefreshDatagrid: {
|
|
121
135
|
type: import("vue").PropType<boolean | string>;
|
|
122
136
|
default: boolean;
|
|
@@ -133,6 +147,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
133
147
|
}>, {
|
|
134
148
|
filter: string;
|
|
135
149
|
withActions: boolean;
|
|
150
|
+
actionWidth: string | number;
|
|
136
151
|
headRefreshDatagrid: string | boolean;
|
|
137
152
|
labelWidth: string | number;
|
|
138
153
|
collapsible: boolean;
|
|
@@ -134,7 +134,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
134
134
|
type: StringConstructor;
|
|
135
135
|
default: string;
|
|
136
136
|
};
|
|
137
|
-
/** 外部传入的初始数据(DrawerButton
|
|
137
|
+
/** 外部传入的初始数据(DrawerButton data 等) */
|
|
138
138
|
data: {
|
|
139
139
|
type: PropType<Record<string, any>>;
|
|
140
140
|
default: undefined;
|
|
@@ -154,9 +154,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
154
154
|
apiAfter: (...args: any[]) => void;
|
|
155
155
|
close: (...args: any[]) => void;
|
|
156
156
|
change: (...args: any[]) => void;
|
|
157
|
+
"load-success": (...args: any[]) => void;
|
|
157
158
|
"submit-success": (...args: any[]) => void;
|
|
158
159
|
"submit-fail": (...args: any[]) => void;
|
|
159
|
-
"load-success": (...args: any[]) => void;
|
|
160
160
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
161
|
/** 模式:create 新增 / edit 编辑 */
|
|
162
162
|
mode: {
|
|
@@ -259,7 +259,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
259
259
|
type: StringConstructor;
|
|
260
260
|
default: string;
|
|
261
261
|
};
|
|
262
|
-
/** 外部传入的初始数据(DrawerButton
|
|
262
|
+
/** 外部传入的初始数据(DrawerButton data 等) */
|
|
263
263
|
data: {
|
|
264
264
|
type: PropType<Record<string, any>>;
|
|
265
265
|
default: undefined;
|
|
@@ -269,15 +269,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
269
269
|
onApiAfter?: ((...args: any[]) => any) | undefined;
|
|
270
270
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
"onLoad-success"?: ((...args: any[]) => any) | undefined;
|
|
272
273
|
"onSubmit-success"?: ((...args: any[]) => any) | undefined;
|
|
273
274
|
"onSubmit-fail"?: ((...args: any[]) => any) | undefined;
|
|
274
|
-
"onLoad-success"?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
276
|
data: Record<string, any>;
|
|
277
277
|
filter: string;
|
|
278
278
|
mode: "create" | "edit";
|
|
279
279
|
api: string;
|
|
280
|
-
apiMethod: "
|
|
280
|
+
apiMethod: "post" | "get";
|
|
281
281
|
apiParam: Record<string, any>;
|
|
282
282
|
active: boolean;
|
|
283
283
|
withActions: boolean;
|
|
@@ -299,7 +299,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
299
299
|
keepFormButton: boolean;
|
|
300
300
|
rules: Record<string, any>;
|
|
301
301
|
labelWidth: string | number;
|
|
302
|
-
labelPosition: "
|
|
302
|
+
labelPosition: "left" | "right" | "top";
|
|
303
303
|
inline: boolean;
|
|
304
304
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
305
305
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 组件汇总导出(
|
|
2
|
+
* 组件汇总导出(28 个组件)
|
|
3
3
|
*/
|
|
4
4
|
export { default as WdDataGrid } from './data/datagrid/DataGrid.vue';
|
|
5
|
-
export { default as
|
|
5
|
+
export { default as WdEditableGrid } from './data/editable-grid/EditableGrid.vue';
|
|
6
|
+
export { default as WdViewer } from './data/viewer/Viewer.vue';
|
|
6
7
|
export { default as WdDataForm } from './form/data-form/DataForm.vue';
|
|
8
|
+
export { default as WdSearchPanel } from './form/SearchPanel.vue';
|
|
9
|
+
export { default as WdFormItem } from './form/FormItem.vue';
|
|
10
|
+
export { default as WdSearchItem } from './form/SearchItem.vue';
|
|
7
11
|
export { default as WdApiButton } from './buttons/ApiButton.vue';
|
|
8
12
|
export { default as WdConfirmButton } from './buttons/ConfirmButton.vue';
|
|
13
|
+
export { default as WdDialogButton } from './buttons/DialogButton.vue';
|
|
14
|
+
export { default as WdPopconfirmButton } from './buttons/PopconfirmButton.vue';
|
|
9
15
|
export { default as WdPromptButton } from './buttons/PromptButton.vue';
|
|
10
16
|
export { default as WdRouteButton } from './buttons/RouteButton.vue';
|
|
11
17
|
export { default as WdTipsButton } from './buttons/TipsButton.vue';
|
|
12
18
|
export { default as WdDrawerButton } from './buttons/DrawerButton.vue';
|
|
13
|
-
export { default as WdDialogButton } from './buttons/DialogButton.vue';
|
|
14
|
-
export { default as WdDialog } from './containers/Dialog.vue';
|
|
15
19
|
export { default as WdDrawer } from './containers/Drawer.vue';
|
|
16
20
|
export { default as WdIframe } from './containers/Iframe.vue';
|
|
17
|
-
export { default as WdSearchPanel } from './containers/SearchPanel.vue';
|
|
18
21
|
export { default as WdSelect } from './inputs/Select.vue';
|
|
19
22
|
export { default as WdAutoComplete } from './inputs/AutoComplete.vue';
|
|
20
23
|
export { default as WdCheckboxList } from './inputs/CheckboxList.vue';
|
|
@@ -24,4 +27,5 @@ export { default as WdUpload } from './upload/Upload.vue';
|
|
|
24
27
|
export { default as WdImageUpload } from './upload/ImageUpload.vue';
|
|
25
28
|
export { default as WdPanel } from './styles/Panel.vue';
|
|
26
29
|
export { default as WdTips } from './styles/Tips.vue';
|
|
27
|
-
export { default as
|
|
30
|
+
export { default as WdStation } from './layout/Station.vue';
|
|
31
|
+
export { default as WdRequester } from './core/Requester.vue';
|
|
@@ -46,6 +46,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
46
46
|
type: StringConstructor;
|
|
47
47
|
default: string;
|
|
48
48
|
};
|
|
49
|
+
tipsProp: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
49
53
|
addData: {
|
|
50
54
|
type: PropType<any[]>;
|
|
51
55
|
default: undefined;
|
|
@@ -109,6 +113,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
109
113
|
type: StringConstructor;
|
|
110
114
|
default: string;
|
|
111
115
|
};
|
|
116
|
+
tipsProp: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
112
120
|
addData: {
|
|
113
121
|
type: PropType<any[]>;
|
|
114
122
|
default: undefined;
|
|
@@ -135,7 +143,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
135
143
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
136
144
|
}>, {
|
|
137
145
|
api: string;
|
|
138
|
-
apiMethod: "
|
|
146
|
+
apiMethod: "post" | "get";
|
|
139
147
|
apiParam: Record<string, any>;
|
|
140
148
|
active: boolean;
|
|
141
149
|
dataSource: any[];
|
|
@@ -143,6 +151,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
143
151
|
keywordKey: string;
|
|
144
152
|
textProp: string;
|
|
145
153
|
valueProp: string;
|
|
154
|
+
tipsProp: string;
|
|
146
155
|
addData: any[];
|
|
147
156
|
appendData: any[];
|
|
148
157
|
valueKey: string;
|
|
@@ -1,17 +1,33 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_18: {
|
|
3
3
|
option: Record<string, any>;
|
|
4
4
|
text: string;
|
|
5
5
|
value: any;
|
|
6
|
+
tips: string;
|
|
6
7
|
}, __VLS_20: {
|
|
7
8
|
option: Record<string, any>;
|
|
8
9
|
text: string;
|
|
9
10
|
value: any;
|
|
11
|
+
tips: string;
|
|
12
|
+
}, __VLS_30: {
|
|
13
|
+
option: Record<string, any>;
|
|
14
|
+
text: string;
|
|
15
|
+
value: any;
|
|
16
|
+
tips: string;
|
|
17
|
+
}, __VLS_32: {
|
|
18
|
+
option: Record<string, any>;
|
|
19
|
+
text: string;
|
|
20
|
+
value: any;
|
|
21
|
+
tips: string;
|
|
10
22
|
};
|
|
11
23
|
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof
|
|
24
|
+
default?: (props: typeof __VLS_18) => any;
|
|
13
25
|
} & {
|
|
14
26
|
default?: (props: typeof __VLS_20) => any;
|
|
27
|
+
} & {
|
|
28
|
+
default?: (props: typeof __VLS_30) => any;
|
|
29
|
+
} & {
|
|
30
|
+
default?: (props: typeof __VLS_32) => any;
|
|
15
31
|
};
|
|
16
32
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
33
|
modelValue: {
|
|
@@ -43,6 +59,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
59
|
type: StringConstructor;
|
|
44
60
|
default: string;
|
|
45
61
|
};
|
|
62
|
+
tipsProp: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
46
66
|
addData: {
|
|
47
67
|
type: PropType<any[]>;
|
|
48
68
|
default: undefined;
|
|
@@ -96,6 +116,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
96
116
|
type: StringConstructor;
|
|
97
117
|
default: string;
|
|
98
118
|
};
|
|
119
|
+
tipsProp: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
99
123
|
addData: {
|
|
100
124
|
type: PropType<any[]>;
|
|
101
125
|
default: undefined;
|
|
@@ -121,13 +145,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
121
145
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
146
|
}>, {
|
|
123
147
|
api: string;
|
|
124
|
-
apiMethod: "
|
|
148
|
+
apiMethod: "post" | "get";
|
|
125
149
|
apiParam: Record<string, any>;
|
|
126
150
|
active: boolean;
|
|
127
151
|
dataSource: any[];
|
|
128
152
|
modelValue: any[];
|
|
129
153
|
textProp: string;
|
|
130
154
|
valueProp: string;
|
|
155
|
+
tipsProp: string;
|
|
131
156
|
addData: any[];
|
|
132
157
|
appendData: any[];
|
|
133
158
|
buttonStyle: boolean;
|
|
@@ -1,17 +1,33 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_18: {
|
|
3
3
|
option: Record<string, any>;
|
|
4
4
|
text: string;
|
|
5
5
|
value: any;
|
|
6
|
+
tips: string;
|
|
6
7
|
}, __VLS_20: {
|
|
7
8
|
option: Record<string, any>;
|
|
8
9
|
text: string;
|
|
9
10
|
value: any;
|
|
11
|
+
tips: string;
|
|
12
|
+
}, __VLS_30: {
|
|
13
|
+
option: Record<string, any>;
|
|
14
|
+
text: string;
|
|
15
|
+
value: any;
|
|
16
|
+
tips: string;
|
|
17
|
+
}, __VLS_32: {
|
|
18
|
+
option: Record<string, any>;
|
|
19
|
+
text: string;
|
|
20
|
+
value: any;
|
|
21
|
+
tips: string;
|
|
10
22
|
};
|
|
11
23
|
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof
|
|
24
|
+
default?: (props: typeof __VLS_18) => any;
|
|
13
25
|
} & {
|
|
14
26
|
default?: (props: typeof __VLS_20) => any;
|
|
27
|
+
} & {
|
|
28
|
+
default?: (props: typeof __VLS_30) => any;
|
|
29
|
+
} & {
|
|
30
|
+
default?: (props: typeof __VLS_32) => any;
|
|
15
31
|
};
|
|
16
32
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
33
|
modelValue: {
|
|
@@ -43,6 +59,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
59
|
type: StringConstructor;
|
|
44
60
|
default: string;
|
|
45
61
|
};
|
|
62
|
+
tipsProp: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
46
66
|
addData: {
|
|
47
67
|
type: PropType<any[]>;
|
|
48
68
|
default: undefined;
|
|
@@ -96,6 +116,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
96
116
|
type: StringConstructor;
|
|
97
117
|
default: string;
|
|
98
118
|
};
|
|
119
|
+
tipsProp: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
99
123
|
addData: {
|
|
100
124
|
type: PropType<any[]>;
|
|
101
125
|
default: undefined;
|
|
@@ -121,13 +145,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
121
145
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
146
|
}>, {
|
|
123
147
|
api: string;
|
|
124
|
-
apiMethod: "
|
|
148
|
+
apiMethod: "post" | "get";
|
|
125
149
|
apiParam: Record<string, any>;
|
|
126
150
|
active: boolean;
|
|
127
151
|
dataSource: any[];
|
|
128
152
|
modelValue: any;
|
|
129
153
|
textProp: string;
|
|
130
154
|
valueProp: string;
|
|
155
|
+
tipsProp: string;
|
|
131
156
|
addData: any[];
|
|
132
157
|
appendData: any[];
|
|
133
158
|
buttonStyle: boolean;
|