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,187 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
declare function getSearchParams(): {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
};
|
|
4
|
-
declare function onSearch(): void;
|
|
5
|
-
declare function onReset(): void;
|
|
6
|
-
declare function expand(): void;
|
|
7
|
-
declare function collapse(): void;
|
|
8
|
-
declare function resetForm(): void;
|
|
9
|
-
declare var __VLS_11: {
|
|
10
|
-
model: Record<string, any>;
|
|
11
|
-
}, __VLS_13: {
|
|
12
|
-
search: typeof onSearch;
|
|
13
|
-
reset: typeof onReset;
|
|
14
|
-
}, __VLS_39: {
|
|
15
|
-
model: Record<string, any>;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_Slots = {} & {
|
|
18
|
-
default?: (props: typeof __VLS_11) => any;
|
|
19
|
-
} & {
|
|
20
|
-
actions?: (props: typeof __VLS_13) => any;
|
|
21
|
-
} & {
|
|
22
|
-
more?: (props: typeof __VLS_39) => any;
|
|
23
|
-
};
|
|
24
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
25
|
-
/** 是否可折叠(默认 true:面板自带 展开/收起 按钮;有 more 插槽时折叠 more 区,无 more 插槽时折叠默认区整体) */
|
|
26
|
-
collapsible: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
/** 是否展开(v-model:expand) */
|
|
31
|
-
expand: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
/** 默认是否展开 */
|
|
36
|
-
defaultExpand: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/** 是否内置查询/重置按钮 */
|
|
41
|
-
withActions: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
searchText: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
resetText: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
expandText: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
collapseText: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
labelWidth: {
|
|
62
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
/** 操作列宽度:默认 'auto' 随按钮内容自适应;数字按 px;也可传 CSS 长度(如 '120px') */
|
|
66
|
-
actionWidth: {
|
|
67
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
headRefreshDatagrid: {
|
|
71
|
-
type: import("vue").PropType<boolean | string>;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
filter: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
}>, {
|
|
79
|
-
expand: typeof expand;
|
|
80
|
-
collapse: typeof collapse;
|
|
81
|
-
resetForm: typeof resetForm;
|
|
82
|
-
getSearchParams: typeof getSearchParams;
|
|
83
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
-
search: (...args: any[]) => void;
|
|
85
|
-
reset: (...args: any[]) => void;
|
|
86
|
-
"expand-change": (...args: any[]) => void;
|
|
87
|
-
"update:expand": (...args: any[]) => void;
|
|
88
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
-
/** 是否可折叠(默认 true:面板自带 展开/收起 按钮;有 more 插槽时折叠 more 区,无 more 插槽时折叠默认区整体) */
|
|
90
|
-
collapsible: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
/** 是否展开(v-model:expand) */
|
|
95
|
-
expand: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: undefined;
|
|
98
|
-
};
|
|
99
|
-
/** 默认是否展开 */
|
|
100
|
-
defaultExpand: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
/** 是否内置查询/重置按钮 */
|
|
105
|
-
withActions: {
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
searchText: {
|
|
110
|
-
type: StringConstructor;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
resetText: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
expandText: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
collapseText: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
labelWidth: {
|
|
126
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
127
|
-
default: string;
|
|
128
|
-
};
|
|
129
|
-
/** 操作列宽度:默认 'auto' 随按钮内容自适应;数字按 px;也可传 CSS 长度(如 '120px') */
|
|
130
|
-
actionWidth: {
|
|
131
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
headRefreshDatagrid: {
|
|
135
|
-
type: import("vue").PropType<boolean | string>;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
filter: {
|
|
139
|
-
type: StringConstructor;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
|
-
}>> & Readonly<{
|
|
143
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
144
|
-
onReset?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
146
|
-
"onUpdate:expand"?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
}>, {
|
|
148
|
-
filter: string;
|
|
149
|
-
withActions: boolean;
|
|
150
|
-
actionWidth: string | number;
|
|
151
|
-
headRefreshDatagrid: string | boolean;
|
|
152
|
-
labelWidth: string | number;
|
|
153
|
-
collapsible: boolean;
|
|
154
|
-
expand: boolean;
|
|
155
|
-
defaultExpand: boolean;
|
|
156
|
-
searchText: string;
|
|
157
|
-
resetText: string;
|
|
158
|
-
expandText: string;
|
|
159
|
-
collapseText: string;
|
|
160
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
161
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
162
|
-
export default _default;
|
|
163
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
164
|
-
new (): {
|
|
165
|
-
$slots: S;
|
|
166
|
-
};
|
|
167
|
-
};
|