workdesktop-ai 1.2.0 → 1.2.1
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 +12 -0
- package/README.md +11 -8
- package/dist/api-button/index.mjs +1 -1
- package/dist/auto-complete/index.mjs +1 -1
- package/dist/checkbox-list/index.mjs +1 -1
- package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-CH_B3jbO.mjs → ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs} +2 -2
- package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-CH_B3jbO.mjs.map → ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs.map} +1 -1
- package/dist/chunks/{AutoComplete-6yrCFGZ5.mjs → AutoComplete-C6Nxatvt.mjs} +2 -2
- package/dist/chunks/{AutoComplete-6yrCFGZ5.mjs.map → AutoComplete-C6Nxatvt.mjs.map} +1 -1
- package/dist/chunks/{CheckboxList-ChmfF6zs.mjs → CheckboxList-5AEx33r5.mjs} +2 -2
- package/dist/chunks/{CheckboxList-ChmfF6zs.mjs.map → CheckboxList-5AEx33r5.mjs.map} +1 -1
- package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-D9ZUQB7V.mjs → ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs} +2 -2
- package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-D9ZUQB7V.mjs.map → ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs.map} +1 -1
- package/dist/chunks/{DataForm-Rsa1PT-X.mjs → DataForm-C6VLTSOm.mjs} +3 -3
- package/dist/chunks/{DataForm-Rsa1PT-X.mjs.map → DataForm-C6VLTSOm.mjs.map} +1 -1
- package/dist/chunks/{DataGrid-DzbJpT43.mjs → DataGrid-Dd7n5JM7.mjs} +3 -3
- package/dist/chunks/{DataGrid-DzbJpT43.mjs.map → DataGrid-Dd7n5JM7.mjs.map} +1 -1
- package/dist/chunks/{EditableGrid-C-0uy89H.mjs → EditableGrid-CDeeVkaX.mjs} +3 -3
- package/dist/chunks/{EditableGrid-C-0uy89H.mjs.map → EditableGrid-CDeeVkaX.mjs.map} +1 -1
- package/dist/chunks/{ImageUpload-CrDyIjWC.mjs → ImageUpload-CQA9XQ7Q.mjs} +2 -2
- package/dist/chunks/{ImageUpload-CrDyIjWC.mjs.map → ImageUpload-CQA9XQ7Q.mjs.map} +1 -1
- package/dist/chunks/Path-C_oyo6Dg.mjs +200 -0
- package/dist/chunks/Path-C_oyo6Dg.mjs.map +1 -0
- package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-ClrF3C2w.mjs → PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs} +2 -2
- package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-ClrF3C2w.mjs.map → PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs.map} +1 -1
- package/dist/chunks/{RadioList-BIwUZ6lm.mjs → RadioList-BUWcP_Pk.mjs} +2 -2
- package/dist/chunks/{RadioList-BIwUZ6lm.mjs.map → RadioList-BUWcP_Pk.mjs.map} +1 -1
- package/dist/chunks/{Requester.vue_vue_type_script_setup_true_lang-Bu10N1Hj.mjs → Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs} +2 -2
- package/dist/chunks/{Requester.vue_vue_type_script_setup_true_lang-Bu10N1Hj.mjs.map → Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs.map} +1 -1
- package/dist/chunks/{Select-DlJ9U0nE.mjs → Select-uvFy7_NU.mjs} +2 -2
- package/dist/chunks/{Select-DlJ9U0nE.mjs.map → Select-uvFy7_NU.mjs.map} +1 -1
- package/dist/chunks/Station-DLV19USa.mjs +780 -0
- package/dist/chunks/Station-DLV19USa.mjs.map +1 -0
- package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-BxJdsReQ.mjs → Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs} +2 -2
- package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-BxJdsReQ.mjs.map → Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs.map} +1 -1
- package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-DORizGEF.mjs → Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs} +2 -2
- package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-DORizGEF.mjs.map → Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs.map} +1 -1
- package/dist/chunks/{Viewer-DcMSN3_1.mjs → Viewer-CjLSQTrw.mjs} +2 -2
- package/dist/chunks/{Viewer-DcMSN3_1.mjs.map → Viewer-CjLSQTrw.mjs.map} +1 -1
- package/dist/chunks/{http-9ToPNkWJ.mjs → http-C06mNpwY.mjs} +1180 -1065
- package/dist/chunks/http-C06mNpwY.mjs.map +1 -0
- package/dist/chunks/station-linkage-D54-_iyL.mjs +77 -0
- package/dist/chunks/station-linkage-D54-_iyL.mjs.map +1 -0
- package/dist/chunks/{useApiAction-BetCGQrx.mjs → useApiAction-DxVQWWxv.mjs} +2 -2
- package/dist/chunks/{useApiAction-BetCGQrx.mjs.map → useApiAction-DxVQWWxv.mjs.map} +1 -1
- package/dist/chunks/{useColumnSettings-CnXeA0k7.mjs → useColumnSettings-BwG2V9xp.mjs} +2 -2
- package/dist/chunks/{useColumnSettings-CnXeA0k7.mjs.map → useColumnSettings-BwG2V9xp.mjs.map} +1 -1
- package/dist/chunks/{useOptionsLoader-BwRdHDPL.mjs → useOptionsLoader-DEVCYhrp.mjs} +2 -2
- package/dist/chunks/{useOptionsLoader-BwRdHDPL.mjs.map → useOptionsLoader-DEVCYhrp.mjs.map} +1 -1
- package/dist/confirm-button/index.mjs +1 -1
- package/dist/data-form/index.mjs +1 -1
- package/dist/data-form/style.css +1 -1
- package/dist/data-grid/index.mjs +1 -1
- package/dist/editable-grid/index.mjs +1 -1
- package/dist/image-upload/index.mjs +1 -1
- package/dist/index.esm.js +86 -80
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +124 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/path/index.mjs +7 -0
- package/dist/path/index.mjs.map +1 -0
- package/dist/path/style.css +1 -0
- package/dist/prompt-button/index.mjs +1 -1
- package/dist/radio-list/index.mjs +1 -1
- package/dist/requester/index.mjs +1 -1
- package/dist/select/index.mjs +1 -1
- package/dist/station/index.mjs +1 -1
- package/dist/station/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/switch/index.mjs +1 -1
- package/dist/upload/index.mjs +1 -1
- package/dist/viewer/index.mjs +1 -1
- package/llms.txt +69 -9
- package/package.json +6 -1
- package/dist/chunks/Station-CrMTjqfa.mjs +0 -796
- package/dist/chunks/Station-CrMTjqfa.mjs.map +0 -1
- package/dist/chunks/http-9ToPNkWJ.mjs.map +0 -1
- package/dist/types/src/components/buttons/ApiButton.vue.d.ts +0 -134
- package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +0 -169
- package/dist/types/src/components/buttons/DialogButton.vue.d.ts +0 -167
- package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +0 -186
- package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +0 -317
- package/dist/types/src/components/buttons/PromptButton.vue.d.ts +0 -180
- package/dist/types/src/components/buttons/RouteButton.vue.d.ts +0 -122
- package/dist/types/src/components/buttons/TipsButton.vue.d.ts +0 -66
- package/dist/types/src/components/buttons/useApiAction.d.ts +0 -20
- package/dist/types/src/components/common/props.d.ts +0 -122
- package/dist/types/src/components/containers/Drawer.vue.d.ts +0 -172
- package/dist/types/src/components/containers/Iframe.vue.d.ts +0 -81
- package/dist/types/src/components/containers/containerContext.d.ts +0 -15
- package/dist/types/src/components/containers/useContainerController.d.ts +0 -24
- package/dist/types/src/components/containers/useIframeContainer.d.ts +0 -20
- package/dist/types/src/components/core/Requester.vue.d.ts +0 -41
- package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +0 -542
- package/dist/types/src/components/data/datagrid/useColumnSettings.d.ts +0 -62
- package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +0 -586
- package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +0 -187
- package/dist/types/src/components/form/FormItem.vue.d.ts +0 -62
- package/dist/types/src/components/form/SearchItem.vue.d.ts +0 -62
- package/dist/types/src/components/form/SearchPanel.vue.d.ts +0 -167
- package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +0 -311
- package/dist/types/src/components/index.d.ts +0 -31
- package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +0 -166
- package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +0 -166
- package/dist/types/src/components/inputs/RadioList.vue.d.ts +0 -166
- package/dist/types/src/components/inputs/Select.vue.d.ts +0 -176
- package/dist/types/src/components/inputs/Switch.vue.d.ts +0 -116
- package/dist/types/src/components/inputs/useOptionsLoader.d.ts +0 -32
- package/dist/types/src/components/layout/Station.vue.d.ts +0 -302
- package/dist/types/src/components/layout/StationMenuNode.vue.d.ts +0 -20
- package/dist/types/src/components/layout/types.d.ts +0 -54
- package/dist/types/src/components/styles/Panel.vue.d.ts +0 -94
- package/dist/types/src/components/styles/Tips.vue.d.ts +0 -60
- package/dist/types/src/components/upload/ImageUpload.vue.d.ts +0 -176
- package/dist/types/src/components/upload/Upload.vue.d.ts +0 -235
- package/dist/types/src/entries/api-button.d.ts +0 -9
- package/dist/types/src/entries/auto-complete.d.ts +0 -9
- package/dist/types/src/entries/checkbox-list.d.ts +0 -9
- package/dist/types/src/entries/components-map.d.ts +0 -8
- package/dist/types/src/entries/confirm-button.d.ts +0 -9
- package/dist/types/src/entries/data-form.d.ts +0 -9
- package/dist/types/src/entries/data-grid.d.ts +0 -9
- package/dist/types/src/entries/dialog-button.d.ts +0 -9
- package/dist/types/src/entries/drawer-button.d.ts +0 -9
- package/dist/types/src/entries/drawer.d.ts +0 -9
- package/dist/types/src/entries/editable-grid.d.ts +0 -9
- package/dist/types/src/entries/form-item.d.ts +0 -9
- package/dist/types/src/entries/iframe.d.ts +0 -9
- package/dist/types/src/entries/image-upload.d.ts +0 -9
- package/dist/types/src/entries/panel.d.ts +0 -9
- package/dist/types/src/entries/prompt-button.d.ts +0 -9
- package/dist/types/src/entries/radio-list.d.ts +0 -9
- package/dist/types/src/entries/requester.d.ts +0 -9
- package/dist/types/src/entries/route-button.d.ts +0 -9
- package/dist/types/src/entries/search-item.d.ts +0 -9
- package/dist/types/src/entries/search-panel.d.ts +0 -9
- package/dist/types/src/entries/select.d.ts +0 -9
- package/dist/types/src/entries/station.d.ts +0 -9
- package/dist/types/src/entries/switch.d.ts +0 -9
- package/dist/types/src/entries/tips-button.d.ts +0 -9
- package/dist/types/src/entries/tips.d.ts +0 -9
- package/dist/types/src/entries/upload.d.ts +0 -9
- package/dist/types/src/entries/viewer.d.ts +0 -9
- package/dist/types/src/index.d.ts +0 -23
- package/dist/types/src/lib/composables/useConfig.d.ts +0 -19
- package/dist/types/src/lib/composables/useDataGrid.d.ts +0 -69
- package/dist/types/src/lib/composables/useEventBus.d.ts +0 -16
- package/dist/types/src/lib/composables/useGlobalState.d.ts +0 -5
- package/dist/types/src/lib/composables/useRequest.d.ts +0 -42
- package/dist/types/src/lib/configs/default-config.d.ts +0 -6
- package/dist/types/src/lib/core/config.d.ts +0 -28
- package/dist/types/src/lib/core/http.d.ts +0 -100
- package/dist/types/src/lib/core/linkage.d.ts +0 -48
- package/dist/types/src/lib/core/skins/apple.d.ts +0 -3
- package/dist/types/src/lib/core/skins/business.d.ts +0 -3
- package/dist/types/src/lib/core/skins/chinese.d.ts +0 -3
- package/dist/types/src/lib/core/skins/cool.d.ts +0 -3
- package/dist/types/src/lib/core/skins/cyberpunk.d.ts +0 -3
- package/dist/types/src/lib/core/skins/default.d.ts +0 -3
- package/dist/types/src/lib/core/skins/fashion.d.ts +0 -3
- package/dist/types/src/lib/core/skins/flat.d.ts +0 -3
- package/dist/types/src/lib/core/skins/governance.d.ts +0 -3
- package/dist/types/src/lib/core/skins/index.d.ts +0 -15
- package/dist/types/src/lib/core/skins/tech-brain.d.ts +0 -5
- package/dist/types/src/lib/core/skins/tech.d.ts +0 -3
- package/dist/types/src/lib/core/skins/types.d.ts +0 -19
- package/dist/types/src/lib/core/station-linkage.d.ts +0 -41
- package/dist/types/src/lib/core/theme.d.ts +0 -11
- package/dist/types/src/lib/core/utils.d.ts +0 -28
- package/dist/types/src/lib/install.d.ts +0 -11
- package/dist/types/src/types/config.d.ts +0 -130
- package/dist/types/src/types/index.d.ts +0 -4
- package/dist/types/vite.config.d.ts +0 -7
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import type { UploadInstance } from 'element-plus';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
declare function clearFiles(): void;
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
/** 上传地址 */
|
|
6
|
-
api: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
/** 后端删除地址 */
|
|
11
|
-
deleteApi: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/** 删除请求方法 */
|
|
16
|
-
deleteMethod: {
|
|
17
|
-
type: PropType<"get" | "post" | "put" | "delete">;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
/** 删除主键字段 */
|
|
21
|
-
primaryKey: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
/** 最大图片数量,超限隐藏加号 */
|
|
26
|
-
maxCount: {
|
|
27
|
-
type: NumberConstructor;
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
/** 缩略图尺寸(px,兼容属性式字符串写法) */
|
|
31
|
-
thumbnailSize: {
|
|
32
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
33
|
-
default: number;
|
|
34
|
-
};
|
|
35
|
-
/** 是否点击缩略图大图预览 */
|
|
36
|
-
preview: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/** 接收类型,默认 image/* */
|
|
41
|
-
accept: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
/** 单图大小限制(MB) */
|
|
46
|
-
maxSize: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
default: number;
|
|
49
|
-
};
|
|
50
|
-
/** 提示文案 */
|
|
51
|
-
tip: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
/** v-model:已上传图片地址数组 */
|
|
56
|
-
modelValue: {
|
|
57
|
-
type: PropType<string[]>;
|
|
58
|
-
default: () => never[];
|
|
59
|
-
};
|
|
60
|
-
headRefreshDatagrid: {
|
|
61
|
-
type: PropType<boolean | string>;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
filter: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
}>, {
|
|
69
|
-
clearFiles: typeof clearFiles;
|
|
70
|
-
uploadRef: import("vue").Ref<UploadInstance | undefined, UploadInstance | undefined>;
|
|
71
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
-
success: (...args: any[]) => void;
|
|
73
|
-
error: (...args: any[]) => void;
|
|
74
|
-
apiBefore: (...args: any[]) => void;
|
|
75
|
-
apiSuccess: (...args: any[]) => void;
|
|
76
|
-
apiFail: (...args: any[]) => void;
|
|
77
|
-
apiException: (...args: any[]) => void;
|
|
78
|
-
apiAfter: (...args: any[]) => void;
|
|
79
|
-
"update:modelValue": (...args: any[]) => void;
|
|
80
|
-
change: (...args: any[]) => void;
|
|
81
|
-
"delete-success": (...args: any[]) => void;
|
|
82
|
-
preview: (...args: any[]) => void;
|
|
83
|
-
exceed: (...args: any[]) => void;
|
|
84
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
-
/** 上传地址 */
|
|
86
|
-
api: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
/** 后端删除地址 */
|
|
91
|
-
deleteApi: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
/** 删除请求方法 */
|
|
96
|
-
deleteMethod: {
|
|
97
|
-
type: PropType<"get" | "post" | "put" | "delete">;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
/** 删除主键字段 */
|
|
101
|
-
primaryKey: {
|
|
102
|
-
type: StringConstructor;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
/** 最大图片数量,超限隐藏加号 */
|
|
106
|
-
maxCount: {
|
|
107
|
-
type: NumberConstructor;
|
|
108
|
-
default: number;
|
|
109
|
-
};
|
|
110
|
-
/** 缩略图尺寸(px,兼容属性式字符串写法) */
|
|
111
|
-
thumbnailSize: {
|
|
112
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
113
|
-
default: number;
|
|
114
|
-
};
|
|
115
|
-
/** 是否点击缩略图大图预览 */
|
|
116
|
-
preview: {
|
|
117
|
-
type: BooleanConstructor;
|
|
118
|
-
default: boolean;
|
|
119
|
-
};
|
|
120
|
-
/** 接收类型,默认 image/* */
|
|
121
|
-
accept: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
/** 单图大小限制(MB) */
|
|
126
|
-
maxSize: {
|
|
127
|
-
type: NumberConstructor;
|
|
128
|
-
default: number;
|
|
129
|
-
};
|
|
130
|
-
/** 提示文案 */
|
|
131
|
-
tip: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
/** v-model:已上传图片地址数组 */
|
|
136
|
-
modelValue: {
|
|
137
|
-
type: PropType<string[]>;
|
|
138
|
-
default: () => never[];
|
|
139
|
-
};
|
|
140
|
-
headRefreshDatagrid: {
|
|
141
|
-
type: PropType<boolean | string>;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
filter: {
|
|
145
|
-
type: StringConstructor;
|
|
146
|
-
default: string;
|
|
147
|
-
};
|
|
148
|
-
}>> & Readonly<{
|
|
149
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
150
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
151
|
-
onApiBefore?: ((...args: any[]) => any) | undefined;
|
|
152
|
-
onApiSuccess?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
onApiFail?: ((...args: any[]) => any) | undefined;
|
|
154
|
-
onApiException?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
onApiAfter?: ((...args: any[]) => any) | undefined;
|
|
156
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
157
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
158
|
-
"onDelete-success"?: ((...args: any[]) => any) | undefined;
|
|
159
|
-
onPreview?: ((...args: any[]) => any) | undefined;
|
|
160
|
-
onExceed?: ((...args: any[]) => any) | undefined;
|
|
161
|
-
}>, {
|
|
162
|
-
filter: string;
|
|
163
|
-
api: string;
|
|
164
|
-
modelValue: string[];
|
|
165
|
-
headRefreshDatagrid: string | boolean;
|
|
166
|
-
tip: string;
|
|
167
|
-
deleteApi: string;
|
|
168
|
-
deleteMethod: "post" | "delete" | "get" | "put";
|
|
169
|
-
primaryKey: string;
|
|
170
|
-
accept: string;
|
|
171
|
-
maxSize: number;
|
|
172
|
-
preview: boolean;
|
|
173
|
-
maxCount: number;
|
|
174
|
-
thumbnailSize: string | number;
|
|
175
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
176
|
-
export default _default;
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import type { UploadInstance, UploadUserFile } from 'element-plus';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
/** 手动触发上传(auto-upload=false) */
|
|
4
|
-
declare function submitUpload(): void;
|
|
5
|
-
declare function clearFiles(): void;
|
|
6
|
-
/** 追加外部文件记录(如表单回显) */
|
|
7
|
-
declare function addFile(file: UploadUserFile): void;
|
|
8
|
-
declare var __VLS_7: {};
|
|
9
|
-
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof __VLS_7) => any;
|
|
11
|
-
};
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
-
/** 上传地址(走全局 urlPrefix 拼接;为空则 el-upload 不真正提交,由外部接管) */
|
|
14
|
-
api: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
/** 后端删除地址 */
|
|
19
|
-
deleteApi: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
/** 删除请求方法 */
|
|
24
|
-
deleteMethod: {
|
|
25
|
-
type: PropType<"get" | "post" | "put" | "delete">;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
/** 删除时取文件记录的主键字段名 */
|
|
29
|
-
primaryKey: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
/** 手动提交按钮文案(auto-upload=false 时显示) */
|
|
34
|
-
submitButtonText: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
/** 选择按钮文案(默认插槽未提供时) */
|
|
39
|
-
buttonText: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
accept: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
limit: {
|
|
48
|
-
type: NumberConstructor;
|
|
49
|
-
default: undefined;
|
|
50
|
-
};
|
|
51
|
-
multiple: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
autoUpload: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
/** 上传字段名 */
|
|
60
|
-
name: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
/** 附加表单数据 */
|
|
65
|
-
data: {
|
|
66
|
-
type: PropType<Record<string, any>>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
|
-
disabled: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
showFileList: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
/** 文件大小限制(MB),0 不限制 */
|
|
78
|
-
maxSize: {
|
|
79
|
-
type: NumberConstructor;
|
|
80
|
-
default: number;
|
|
81
|
-
};
|
|
82
|
-
/** v-model 绑定的已上传文件列表(含后端返回记录) */
|
|
83
|
-
modelValue: {
|
|
84
|
-
type: PropType<UploadUserFile[]>;
|
|
85
|
-
default: () => never[];
|
|
86
|
-
};
|
|
87
|
-
headRefreshDatagrid: {
|
|
88
|
-
type: PropType<boolean | string>;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
filter: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
}>, {
|
|
96
|
-
submitUpload: typeof submitUpload;
|
|
97
|
-
clearFiles: typeof clearFiles;
|
|
98
|
-
addFile: typeof addFile;
|
|
99
|
-
uploadRef: import("vue").Ref<UploadInstance | undefined, UploadInstance | undefined>;
|
|
100
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
101
|
-
success: (...args: any[]) => void;
|
|
102
|
-
error: (...args: any[]) => void;
|
|
103
|
-
apiBefore: (...args: any[]) => void;
|
|
104
|
-
apiSuccess: (...args: any[]) => void;
|
|
105
|
-
apiFail: (...args: any[]) => void;
|
|
106
|
-
apiException: (...args: any[]) => void;
|
|
107
|
-
apiAfter: (...args: any[]) => void;
|
|
108
|
-
"update:modelValue": (...args: any[]) => void;
|
|
109
|
-
change: (...args: any[]) => void;
|
|
110
|
-
"delete-success": (...args: any[]) => void;
|
|
111
|
-
preview: (...args: any[]) => void;
|
|
112
|
-
exceed: (...args: any[]) => void;
|
|
113
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
-
/** 上传地址(走全局 urlPrefix 拼接;为空则 el-upload 不真正提交,由外部接管) */
|
|
115
|
-
api: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
/** 后端删除地址 */
|
|
120
|
-
deleteApi: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
/** 删除请求方法 */
|
|
125
|
-
deleteMethod: {
|
|
126
|
-
type: PropType<"get" | "post" | "put" | "delete">;
|
|
127
|
-
default: string;
|
|
128
|
-
};
|
|
129
|
-
/** 删除时取文件记录的主键字段名 */
|
|
130
|
-
primaryKey: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
/** 手动提交按钮文案(auto-upload=false 时显示) */
|
|
135
|
-
submitButtonText: {
|
|
136
|
-
type: StringConstructor;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
139
|
-
/** 选择按钮文案(默认插槽未提供时) */
|
|
140
|
-
buttonText: {
|
|
141
|
-
type: StringConstructor;
|
|
142
|
-
default: string;
|
|
143
|
-
};
|
|
144
|
-
accept: {
|
|
145
|
-
type: StringConstructor;
|
|
146
|
-
default: string;
|
|
147
|
-
};
|
|
148
|
-
limit: {
|
|
149
|
-
type: NumberConstructor;
|
|
150
|
-
default: undefined;
|
|
151
|
-
};
|
|
152
|
-
multiple: {
|
|
153
|
-
type: BooleanConstructor;
|
|
154
|
-
default: boolean;
|
|
155
|
-
};
|
|
156
|
-
autoUpload: {
|
|
157
|
-
type: BooleanConstructor;
|
|
158
|
-
default: boolean;
|
|
159
|
-
};
|
|
160
|
-
/** 上传字段名 */
|
|
161
|
-
name: {
|
|
162
|
-
type: StringConstructor;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
/** 附加表单数据 */
|
|
166
|
-
data: {
|
|
167
|
-
type: PropType<Record<string, any>>;
|
|
168
|
-
default: () => {};
|
|
169
|
-
};
|
|
170
|
-
disabled: {
|
|
171
|
-
type: BooleanConstructor;
|
|
172
|
-
default: boolean;
|
|
173
|
-
};
|
|
174
|
-
showFileList: {
|
|
175
|
-
type: BooleanConstructor;
|
|
176
|
-
default: boolean;
|
|
177
|
-
};
|
|
178
|
-
/** 文件大小限制(MB),0 不限制 */
|
|
179
|
-
maxSize: {
|
|
180
|
-
type: NumberConstructor;
|
|
181
|
-
default: number;
|
|
182
|
-
};
|
|
183
|
-
/** v-model 绑定的已上传文件列表(含后端返回记录) */
|
|
184
|
-
modelValue: {
|
|
185
|
-
type: PropType<UploadUserFile[]>;
|
|
186
|
-
default: () => never[];
|
|
187
|
-
};
|
|
188
|
-
headRefreshDatagrid: {
|
|
189
|
-
type: PropType<boolean | string>;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
filter: {
|
|
193
|
-
type: StringConstructor;
|
|
194
|
-
default: string;
|
|
195
|
-
};
|
|
196
|
-
}>> & Readonly<{
|
|
197
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
198
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
199
|
-
onApiBefore?: ((...args: any[]) => any) | undefined;
|
|
200
|
-
onApiSuccess?: ((...args: any[]) => any) | undefined;
|
|
201
|
-
onApiFail?: ((...args: any[]) => any) | undefined;
|
|
202
|
-
onApiException?: ((...args: any[]) => any) | undefined;
|
|
203
|
-
onApiAfter?: ((...args: any[]) => any) | undefined;
|
|
204
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
"onDelete-success"?: ((...args: any[]) => any) | undefined;
|
|
207
|
-
onPreview?: ((...args: any[]) => any) | undefined;
|
|
208
|
-
onExceed?: ((...args: any[]) => any) | undefined;
|
|
209
|
-
}>, {
|
|
210
|
-
data: Record<string, any>;
|
|
211
|
-
disabled: boolean;
|
|
212
|
-
name: string;
|
|
213
|
-
filter: string;
|
|
214
|
-
api: string;
|
|
215
|
-
modelValue: UploadUserFile[];
|
|
216
|
-
headRefreshDatagrid: string | boolean;
|
|
217
|
-
multiple: boolean;
|
|
218
|
-
deleteApi: string;
|
|
219
|
-
deleteMethod: "post" | "delete" | "get" | "put";
|
|
220
|
-
primaryKey: string;
|
|
221
|
-
submitButtonText: string;
|
|
222
|
-
buttonText: string;
|
|
223
|
-
accept: string;
|
|
224
|
-
limit: number;
|
|
225
|
-
autoUpload: boolean;
|
|
226
|
-
showFileList: boolean;
|
|
227
|
-
maxSize: number;
|
|
228
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
229
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
230
|
-
export default _default;
|
|
231
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
232
|
-
new (): {
|
|
233
|
-
$slots: S;
|
|
234
|
-
};
|
|
235
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdApiButton 单独入口
|
|
3
|
-
* 用法:import WdApiButton from 'workdesktop-ai/api-button'
|
|
4
|
-
* import 'workdesktop-ai/api-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdApiButton from '../components/buttons/ApiButton.vue';
|
|
8
|
-
export { WdApiButton };
|
|
9
|
-
export default WdApiButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdAutoComplete 单独入口
|
|
3
|
-
* 用法:import WdAutoComplete from 'workdesktop-ai/auto-complete'
|
|
4
|
-
* import 'workdesktop-ai/auto-complete/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdAutoComplete from '../components/inputs/AutoComplete.vue';
|
|
8
|
-
export { WdAutoComplete };
|
|
9
|
-
export default WdAutoComplete;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdCheckboxList 单独入口
|
|
3
|
-
* 用法:import WdCheckboxList from 'workdesktop-ai/checkbox-list'
|
|
4
|
-
* import 'workdesktop-ai/checkbox-list/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdCheckboxList from '../components/inputs/CheckboxList.vue';
|
|
8
|
-
export { WdCheckboxList };
|
|
9
|
-
export default WdCheckboxList;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdConfirmButton 单独入口
|
|
3
|
-
* 用法:import WdConfirmButton from 'workdesktop-ai/confirm-button'
|
|
4
|
-
* import 'workdesktop-ai/confirm-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdConfirmButton from '../components/buttons/ConfirmButton.vue';
|
|
8
|
-
export { WdConfirmButton };
|
|
9
|
-
export default WdConfirmButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdDataForm 单独入口
|
|
3
|
-
* 用法:import WdDataForm from 'workdesktop-ai/data-form'
|
|
4
|
-
* import 'workdesktop-ai/data-form/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdDataForm from '../components/form/data-form/DataForm.vue';
|
|
8
|
-
export { WdDataForm };
|
|
9
|
-
export default WdDataForm;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdDataGrid 单独入口
|
|
3
|
-
* 用法:import WdDataGrid from 'workdesktop-ai/data-grid'
|
|
4
|
-
* import 'workdesktop-ai/data-grid/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdDataGrid from '../components/data/datagrid/DataGrid.vue';
|
|
8
|
-
export { WdDataGrid };
|
|
9
|
-
export default WdDataGrid;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdDialogButton 单独入口
|
|
3
|
-
* 用法:import WdDialogButton from 'workdesktop-ai/dialog-button'
|
|
4
|
-
* import 'workdesktop-ai/dialog-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdDialogButton from '../components/buttons/DialogButton.vue';
|
|
8
|
-
export { WdDialogButton };
|
|
9
|
-
export default WdDialogButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdDrawerButton 单独入口
|
|
3
|
-
* 用法:import WdDrawerButton from 'workdesktop-ai/drawer-button'
|
|
4
|
-
* import 'workdesktop-ai/drawer-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdDrawerButton from '../components/buttons/DrawerButton.vue';
|
|
8
|
-
export { WdDrawerButton };
|
|
9
|
-
export default WdDrawerButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdDrawer 单独入口
|
|
3
|
-
* 用法:import WdDrawer from 'workdesktop-ai/drawer'
|
|
4
|
-
* import 'workdesktop-ai/drawer/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdDrawer from '../components/containers/Drawer.vue';
|
|
8
|
-
export { WdDrawer };
|
|
9
|
-
export default WdDrawer;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdEditableGrid 单独入口
|
|
3
|
-
* 用法:import WdEditableGrid from 'workdesktop-ai/editable-grid'
|
|
4
|
-
* import 'workdesktop-ai/editable-grid/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdEditableGrid from '../components/data/editable-grid/EditableGrid.vue';
|
|
8
|
-
export { WdEditableGrid };
|
|
9
|
-
export default WdEditableGrid;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdFormItem 单独入口
|
|
3
|
-
* 用法:import WdFormItem from 'workdesktop-ai/form-item'
|
|
4
|
-
* import 'workdesktop-ai/form-item/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdFormItem from '../components/form/FormItem.vue';
|
|
8
|
-
export { WdFormItem };
|
|
9
|
-
export default WdFormItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdIframe 单独入口
|
|
3
|
-
* 用法:import WdIframe from 'workdesktop-ai/iframe'
|
|
4
|
-
* import 'workdesktop-ai/iframe/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdIframe from '../components/containers/Iframe.vue';
|
|
8
|
-
export { WdIframe };
|
|
9
|
-
export default WdIframe;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdImageUpload 单独入口
|
|
3
|
-
* 用法:import WdImageUpload from 'workdesktop-ai/image-upload'
|
|
4
|
-
* import 'workdesktop-ai/image-upload/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdImageUpload from '../components/upload/ImageUpload.vue';
|
|
8
|
-
export { WdImageUpload };
|
|
9
|
-
export default WdImageUpload;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdPromptButton 单独入口
|
|
3
|
-
* 用法:import WdPromptButton from 'workdesktop-ai/prompt-button'
|
|
4
|
-
* import 'workdesktop-ai/prompt-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdPromptButton from '../components/buttons/PromptButton.vue';
|
|
8
|
-
export { WdPromptButton };
|
|
9
|
-
export default WdPromptButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdRadioList 单独入口
|
|
3
|
-
* 用法:import WdRadioList from 'workdesktop-ai/radio-list'
|
|
4
|
-
* import 'workdesktop-ai/radio-list/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdRadioList from '../components/inputs/RadioList.vue';
|
|
8
|
-
export { WdRadioList };
|
|
9
|
-
export default WdRadioList;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdRequester 单独入口
|
|
3
|
-
* 用法:import WdRequester from 'workdesktop-ai/requester'
|
|
4
|
-
* import 'workdesktop-ai/requester/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdRequester from '../components/core/Requester.vue';
|
|
8
|
-
export { WdRequester };
|
|
9
|
-
export default WdRequester;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdRouteButton 单独入口
|
|
3
|
-
* 用法:import WdRouteButton from 'workdesktop-ai/route-button'
|
|
4
|
-
* import 'workdesktop-ai/route-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdRouteButton from '../components/buttons/RouteButton.vue';
|
|
8
|
-
export { WdRouteButton };
|
|
9
|
-
export default WdRouteButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdSearchItem 单独入口
|
|
3
|
-
* 用法:import WdSearchItem from 'workdesktop-ai/search-item'
|
|
4
|
-
* import 'workdesktop-ai/search-item/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdSearchItem from '../components/form/SearchItem.vue';
|
|
8
|
-
export { WdSearchItem };
|
|
9
|
-
export default WdSearchItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdSearchPanel 单独入口
|
|
3
|
-
* 用法:import WdSearchPanel from 'workdesktop-ai/search-panel'
|
|
4
|
-
* import 'workdesktop-ai/search-panel/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdSearchPanel from '../components/form/SearchPanel.vue';
|
|
8
|
-
export { WdSearchPanel };
|
|
9
|
-
export default WdSearchPanel;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdStation 单独入口
|
|
3
|
-
* 用法:import WdStation from 'workdesktop-ai/station'
|
|
4
|
-
* import 'workdesktop-ai/station/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdStation from '../components/layout/Station.vue';
|
|
8
|
-
export { WdStation };
|
|
9
|
-
export default WdStation;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WdTipsButton 单独入口
|
|
3
|
-
* 用法:import WdTipsButton from 'workdesktop-ai/tips-button'
|
|
4
|
-
* import 'workdesktop-ai/tips-button/style.css'
|
|
5
|
-
*/
|
|
6
|
-
import '../styles/index.css';
|
|
7
|
-
import WdTipsButton from '../components/buttons/TipsButton.vue';
|
|
8
|
-
export { WdTipsButton };
|
|
9
|
-
export default WdTipsButton;
|