workdesktop-ai 1.2.1 → 1.2.3
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 +190 -190
- package/dist/chunks/Path-pIP0JQ0c.mjs +245 -0
- package/dist/chunks/Path-pIP0JQ0c.mjs.map +1 -0
- package/dist/chunks/Station-BTP0SbBg.mjs +818 -0
- package/dist/chunks/Station-BTP0SbBg.mjs.map +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +19 -19
- package/dist/index.umd.js.map +1 -1
- package/dist/path/index.mjs +1 -1
- package/dist/path/style.css +1 -1
- package/dist/station/index.mjs +1 -1
- package/dist/station/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/buttons/ApiButton.vue.d.ts +134 -0
- package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +169 -0
- package/dist/types/src/components/buttons/DialogButton.vue.d.ts +167 -0
- package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +186 -0
- package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +317 -0
- package/dist/types/src/components/buttons/PromptButton.vue.d.ts +180 -0
- package/dist/types/src/components/buttons/RouteButton.vue.d.ts +122 -0
- package/dist/types/src/components/buttons/TipsButton.vue.d.ts +66 -0
- package/dist/types/src/components/buttons/useApiAction.d.ts +20 -0
- package/dist/types/src/components/common/props.d.ts +122 -0
- package/dist/types/src/components/containers/Drawer.vue.d.ts +172 -0
- package/dist/types/src/components/containers/Iframe.vue.d.ts +81 -0
- package/dist/types/src/components/containers/containerContext.d.ts +15 -0
- package/dist/types/src/components/containers/useContainerController.d.ts +24 -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 +542 -0
- package/dist/types/src/components/data/datagrid/useColumnSettings.d.ts +62 -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/form/SearchPanel.vue.d.ts +167 -0
- package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +311 -0
- package/dist/types/src/components/index.d.ts +32 -0
- package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +166 -0
- package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +166 -0
- package/dist/types/src/components/inputs/RadioList.vue.d.ts +166 -0
- package/dist/types/src/components/inputs/Select.vue.d.ts +176 -0
- package/dist/types/src/components/inputs/Switch.vue.d.ts +116 -0
- package/dist/types/src/components/inputs/useOptionsLoader.d.ts +32 -0
- package/dist/types/src/components/layout/Station.vue.d.ts +313 -0
- package/dist/types/src/components/layout/StationMenuNode.vue.d.ts +20 -0
- package/dist/types/src/components/layout/types.d.ts +67 -0
- package/dist/types/src/components/styles/Panel.vue.d.ts +94 -0
- package/dist/types/src/components/styles/Path.vue.d.ts +103 -0
- package/dist/types/src/components/styles/Tips.vue.d.ts +60 -0
- package/dist/types/src/components/upload/ImageUpload.vue.d.ts +176 -0
- package/dist/types/src/components/upload/Upload.vue.d.ts +235 -0
- 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/path.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 +24 -0
- package/dist/types/src/lib/composables/useConfig.d.ts +19 -0
- package/dist/types/src/lib/composables/useDataGrid.d.ts +69 -0
- package/dist/types/src/lib/composables/useEventBus.d.ts +16 -0
- package/dist/types/src/lib/composables/useGlobalState.d.ts +5 -0
- package/dist/types/src/lib/composables/useRequest.d.ts +42 -0
- package/dist/types/src/lib/configs/default-config.d.ts +6 -0
- package/dist/types/src/lib/core/config.d.ts +28 -0
- package/dist/types/src/lib/core/http.d.ts +100 -0
- package/dist/types/src/lib/core/linkage.d.ts +48 -0
- package/dist/types/src/lib/core/skins/apple.d.ts +3 -0
- package/dist/types/src/lib/core/skins/business.d.ts +3 -0
- package/dist/types/src/lib/core/skins/chinese.d.ts +3 -0
- package/dist/types/src/lib/core/skins/cool.d.ts +3 -0
- package/dist/types/src/lib/core/skins/cyberpunk.d.ts +3 -0
- package/dist/types/src/lib/core/skins/default.d.ts +3 -0
- package/dist/types/src/lib/core/skins/fashion.d.ts +3 -0
- package/dist/types/src/lib/core/skins/flat.d.ts +3 -0
- package/dist/types/src/lib/core/skins/governance.d.ts +3 -0
- package/dist/types/src/lib/core/skins/index.d.ts +15 -0
- package/dist/types/src/lib/core/skins/tech.d.ts +3 -0
- package/dist/types/src/lib/core/skins/types.d.ts +19 -0
- package/dist/types/src/lib/core/station-linkage.d.ts +72 -0
- package/dist/types/src/lib/core/theme.d.ts +11 -0
- package/dist/types/src/lib/core/utils.d.ts +28 -0
- package/dist/types/src/lib/install.d.ts +11 -0
- package/dist/types/src/types/config.d.ts +130 -0
- package/dist/types/src/types/index.d.ts +4 -0
- package/dist/types/vite.config.d.ts +7 -0
- package/package.json +7 -2
- package/dist/chunks/Path-C_oyo6Dg.mjs +0 -200
- package/dist/chunks/Path-C_oyo6Dg.mjs.map +0 -1
- package/dist/chunks/Station-DLV19USa.mjs +0 -780
- package/dist/chunks/Station-DLV19USa.mjs.map +0 -1
|
@@ -0,0 +1,176 @@
|
|
|
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;
|
|
@@ -0,0 +1,235 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|