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.
Files changed (115) hide show
  1. package/CHANGELOG.md +190 -190
  2. package/dist/chunks/Path-pIP0JQ0c.mjs +245 -0
  3. package/dist/chunks/Path-pIP0JQ0c.mjs.map +1 -0
  4. package/dist/chunks/Station-BTP0SbBg.mjs +818 -0
  5. package/dist/chunks/Station-BTP0SbBg.mjs.map +1 -0
  6. package/dist/index.esm.js +2 -2
  7. package/dist/index.umd.js +19 -19
  8. package/dist/index.umd.js.map +1 -1
  9. package/dist/path/index.mjs +1 -1
  10. package/dist/path/style.css +1 -1
  11. package/dist/station/index.mjs +1 -1
  12. package/dist/station/style.css +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/types/src/components/buttons/ApiButton.vue.d.ts +134 -0
  15. package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +169 -0
  16. package/dist/types/src/components/buttons/DialogButton.vue.d.ts +167 -0
  17. package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +186 -0
  18. package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +317 -0
  19. package/dist/types/src/components/buttons/PromptButton.vue.d.ts +180 -0
  20. package/dist/types/src/components/buttons/RouteButton.vue.d.ts +122 -0
  21. package/dist/types/src/components/buttons/TipsButton.vue.d.ts +66 -0
  22. package/dist/types/src/components/buttons/useApiAction.d.ts +20 -0
  23. package/dist/types/src/components/common/props.d.ts +122 -0
  24. package/dist/types/src/components/containers/Drawer.vue.d.ts +172 -0
  25. package/dist/types/src/components/containers/Iframe.vue.d.ts +81 -0
  26. package/dist/types/src/components/containers/containerContext.d.ts +15 -0
  27. package/dist/types/src/components/containers/useContainerController.d.ts +24 -0
  28. package/dist/types/src/components/containers/useIframeContainer.d.ts +20 -0
  29. package/dist/types/src/components/core/Requester.vue.d.ts +41 -0
  30. package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +542 -0
  31. package/dist/types/src/components/data/datagrid/useColumnSettings.d.ts +62 -0
  32. package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +586 -0
  33. package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +187 -0
  34. package/dist/types/src/components/form/FormItem.vue.d.ts +62 -0
  35. package/dist/types/src/components/form/SearchItem.vue.d.ts +62 -0
  36. package/dist/types/src/components/form/SearchPanel.vue.d.ts +167 -0
  37. package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +311 -0
  38. package/dist/types/src/components/index.d.ts +32 -0
  39. package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +166 -0
  40. package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +166 -0
  41. package/dist/types/src/components/inputs/RadioList.vue.d.ts +166 -0
  42. package/dist/types/src/components/inputs/Select.vue.d.ts +176 -0
  43. package/dist/types/src/components/inputs/Switch.vue.d.ts +116 -0
  44. package/dist/types/src/components/inputs/useOptionsLoader.d.ts +32 -0
  45. package/dist/types/src/components/layout/Station.vue.d.ts +313 -0
  46. package/dist/types/src/components/layout/StationMenuNode.vue.d.ts +20 -0
  47. package/dist/types/src/components/layout/types.d.ts +67 -0
  48. package/dist/types/src/components/styles/Panel.vue.d.ts +94 -0
  49. package/dist/types/src/components/styles/Path.vue.d.ts +103 -0
  50. package/dist/types/src/components/styles/Tips.vue.d.ts +60 -0
  51. package/dist/types/src/components/upload/ImageUpload.vue.d.ts +176 -0
  52. package/dist/types/src/components/upload/Upload.vue.d.ts +235 -0
  53. package/dist/types/src/entries/api-button.d.ts +9 -0
  54. package/dist/types/src/entries/auto-complete.d.ts +9 -0
  55. package/dist/types/src/entries/checkbox-list.d.ts +9 -0
  56. package/dist/types/src/entries/components-map.d.ts +8 -0
  57. package/dist/types/src/entries/confirm-button.d.ts +9 -0
  58. package/dist/types/src/entries/data-form.d.ts +9 -0
  59. package/dist/types/src/entries/data-grid.d.ts +9 -0
  60. package/dist/types/src/entries/dialog-button.d.ts +9 -0
  61. package/dist/types/src/entries/drawer-button.d.ts +9 -0
  62. package/dist/types/src/entries/drawer.d.ts +9 -0
  63. package/dist/types/src/entries/editable-grid.d.ts +9 -0
  64. package/dist/types/src/entries/form-item.d.ts +9 -0
  65. package/dist/types/src/entries/iframe.d.ts +9 -0
  66. package/dist/types/src/entries/image-upload.d.ts +9 -0
  67. package/dist/types/src/entries/panel.d.ts +9 -0
  68. package/dist/types/src/entries/path.d.ts +9 -0
  69. package/dist/types/src/entries/prompt-button.d.ts +9 -0
  70. package/dist/types/src/entries/radio-list.d.ts +9 -0
  71. package/dist/types/src/entries/requester.d.ts +9 -0
  72. package/dist/types/src/entries/route-button.d.ts +9 -0
  73. package/dist/types/src/entries/search-item.d.ts +9 -0
  74. package/dist/types/src/entries/search-panel.d.ts +9 -0
  75. package/dist/types/src/entries/select.d.ts +9 -0
  76. package/dist/types/src/entries/station.d.ts +9 -0
  77. package/dist/types/src/entries/switch.d.ts +9 -0
  78. package/dist/types/src/entries/tips-button.d.ts +9 -0
  79. package/dist/types/src/entries/tips.d.ts +9 -0
  80. package/dist/types/src/entries/upload.d.ts +9 -0
  81. package/dist/types/src/entries/viewer.d.ts +9 -0
  82. package/dist/types/src/index.d.ts +24 -0
  83. package/dist/types/src/lib/composables/useConfig.d.ts +19 -0
  84. package/dist/types/src/lib/composables/useDataGrid.d.ts +69 -0
  85. package/dist/types/src/lib/composables/useEventBus.d.ts +16 -0
  86. package/dist/types/src/lib/composables/useGlobalState.d.ts +5 -0
  87. package/dist/types/src/lib/composables/useRequest.d.ts +42 -0
  88. package/dist/types/src/lib/configs/default-config.d.ts +6 -0
  89. package/dist/types/src/lib/core/config.d.ts +28 -0
  90. package/dist/types/src/lib/core/http.d.ts +100 -0
  91. package/dist/types/src/lib/core/linkage.d.ts +48 -0
  92. package/dist/types/src/lib/core/skins/apple.d.ts +3 -0
  93. package/dist/types/src/lib/core/skins/business.d.ts +3 -0
  94. package/dist/types/src/lib/core/skins/chinese.d.ts +3 -0
  95. package/dist/types/src/lib/core/skins/cool.d.ts +3 -0
  96. package/dist/types/src/lib/core/skins/cyberpunk.d.ts +3 -0
  97. package/dist/types/src/lib/core/skins/default.d.ts +3 -0
  98. package/dist/types/src/lib/core/skins/fashion.d.ts +3 -0
  99. package/dist/types/src/lib/core/skins/flat.d.ts +3 -0
  100. package/dist/types/src/lib/core/skins/governance.d.ts +3 -0
  101. package/dist/types/src/lib/core/skins/index.d.ts +15 -0
  102. package/dist/types/src/lib/core/skins/tech.d.ts +3 -0
  103. package/dist/types/src/lib/core/skins/types.d.ts +19 -0
  104. package/dist/types/src/lib/core/station-linkage.d.ts +72 -0
  105. package/dist/types/src/lib/core/theme.d.ts +11 -0
  106. package/dist/types/src/lib/core/utils.d.ts +28 -0
  107. package/dist/types/src/lib/install.d.ts +11 -0
  108. package/dist/types/src/types/config.d.ts +130 -0
  109. package/dist/types/src/types/index.d.ts +4 -0
  110. package/dist/types/vite.config.d.ts +7 -0
  111. package/package.json +7 -2
  112. package/dist/chunks/Path-C_oyo6Dg.mjs +0 -200
  113. package/dist/chunks/Path-C_oyo6Dg.mjs.map +0 -1
  114. package/dist/chunks/Station-DLV19USa.mjs +0 -780
  115. package/dist/chunks/Station-DLV19USa.mjs.map +0 -1
@@ -0,0 +1,187 @@
1
+ import { type PropType } from 'vue';
2
+ interface ViewerItem {
3
+ prop: string;
4
+ label: string;
5
+ span?: number;
6
+ width?: string | number;
7
+ align?: 'left' | 'center' | 'right';
8
+ labelAlign?: 'left' | 'center' | 'right';
9
+ /** 自定义渲染插槽名 */
10
+ slot?: string;
11
+ render?: any;
12
+ formatter?: (val: any, row: any) => string;
13
+ type?: 'text' | 'tag' | 'time' | 'status' | 'image' | 'copy';
14
+ tagColors?: Record<string, string>;
15
+ timeFormat?: string;
16
+ imageSize?: number;
17
+ }
18
+ declare function requestApi(extraParam?: Record<string, any>): Promise<any>;
19
+ declare function resetData(): void;
20
+ declare function getData(): Record<string, any>;
21
+ declare var __VLS_78: `${string}-cell`, __VLS_79: {
22
+ row: Record<string, any>;
23
+ value: any;
24
+ }, __VLS_81: {}, __VLS_83: {
25
+ row: Record<string, any>;
26
+ data: Record<string, any>;
27
+ }, __VLS_85: {}, __VLS_91: {};
28
+ type __VLS_Slots = {} & {
29
+ [K in NonNullable<typeof __VLS_78>]?: (props: typeof __VLS_79) => any;
30
+ } & {
31
+ default?: (props: typeof __VLS_81) => any;
32
+ } & {
33
+ content?: (props: typeof __VLS_83) => any;
34
+ } & {
35
+ empty?: (props: typeof __VLS_85) => any;
36
+ } & {
37
+ empty?: (props: typeof __VLS_91) => any;
38
+ };
39
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
40
+ title: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ column: {
45
+ type: (ObjectConstructor | NumberConstructor)[];
46
+ default: number;
47
+ };
48
+ border: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ size: {
53
+ type: PropType<"large" | "default" | "small">;
54
+ default: string;
55
+ };
56
+ labelStyle: {
57
+ type: ObjectConstructor;
58
+ default: () => {
59
+ width: string;
60
+ textAlign: string;
61
+ };
62
+ };
63
+ contentStyle: {
64
+ type: ObjectConstructor;
65
+ };
66
+ api: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ apiMethod: {
71
+ type: PropType<"get" | "post" | "put" | "delete">;
72
+ default: string;
73
+ };
74
+ apiParam: {
75
+ type: ObjectConstructor;
76
+ default: () => {};
77
+ };
78
+ active: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ data: {
83
+ type: ObjectConstructor;
84
+ };
85
+ items: {
86
+ type: PropType<ViewerItem[]>;
87
+ default: () => never[];
88
+ };
89
+ emptyText: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ }>, {
94
+ requestApi: typeof requestApi;
95
+ resetData: typeof resetData;
96
+ getData: typeof getData;
97
+ loading: import("vue").Ref<boolean, boolean>;
98
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
+ apiBefore: (...args: any[]) => void;
100
+ apiSuccess: (...args: any[]) => void;
101
+ apiFail: (...args: any[]) => void;
102
+ apiException: (...args: any[]) => void;
103
+ apiAfter: (...args: any[]) => void;
104
+ "load-success": (...args: any[]) => void;
105
+ "load-fail": (...args: any[]) => void;
106
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
107
+ title: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ column: {
112
+ type: (ObjectConstructor | NumberConstructor)[];
113
+ default: number;
114
+ };
115
+ border: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ size: {
120
+ type: PropType<"large" | "default" | "small">;
121
+ default: string;
122
+ };
123
+ labelStyle: {
124
+ type: ObjectConstructor;
125
+ default: () => {
126
+ width: string;
127
+ textAlign: string;
128
+ };
129
+ };
130
+ contentStyle: {
131
+ type: ObjectConstructor;
132
+ };
133
+ api: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ apiMethod: {
138
+ type: PropType<"get" | "post" | "put" | "delete">;
139
+ default: string;
140
+ };
141
+ apiParam: {
142
+ type: ObjectConstructor;
143
+ default: () => {};
144
+ };
145
+ active: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ data: {
150
+ type: ObjectConstructor;
151
+ };
152
+ items: {
153
+ type: PropType<ViewerItem[]>;
154
+ default: () => never[];
155
+ };
156
+ emptyText: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ };
160
+ }>> & Readonly<{
161
+ onApiBefore?: ((...args: any[]) => any) | undefined;
162
+ onApiSuccess?: ((...args: any[]) => any) | undefined;
163
+ onApiFail?: ((...args: any[]) => any) | undefined;
164
+ onApiException?: ((...args: any[]) => any) | undefined;
165
+ onApiAfter?: ((...args: any[]) => any) | undefined;
166
+ "onLoad-success"?: ((...args: any[]) => any) | undefined;
167
+ "onLoad-fail"?: ((...args: any[]) => any) | undefined;
168
+ }>, {
169
+ title: string;
170
+ size: "default" | "small" | "large";
171
+ api: string;
172
+ apiMethod: "post" | "delete" | "get" | "put";
173
+ apiParam: Record<string, any>;
174
+ active: boolean;
175
+ border: boolean;
176
+ column: number | Record<string, any>;
177
+ labelStyle: Record<string, any>;
178
+ items: ViewerItem[];
179
+ emptyText: string;
180
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
181
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
182
+ export default _default;
183
+ type __VLS_WithSlots<T, S> = T & {
184
+ new (): {
185
+ $slots: S;
186
+ };
187
+ };
@@ -0,0 +1,62 @@
1
+ import { type PropType } from 'vue';
2
+ declare var __VLS_6: {}, __VLS_20: {};
3
+ type __VLS_Slots = {} & {
4
+ label?: (props: typeof __VLS_6) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_20) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ /** 字段标签文字 */
10
+ label: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ /** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
15
+ prop: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ /** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
20
+ tip: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ /** 帮助气泡的弹出位置 */
25
+ tipPlacement: {
26
+ type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
27
+ default: string;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ /** 字段标签文字 */
31
+ label: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ /** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
36
+ prop: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ /** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
41
+ tip: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ /** 帮助气泡的弹出位置 */
46
+ tipPlacement: {
47
+ type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
48
+ default: string;
49
+ };
50
+ }>> & Readonly<{}>, {
51
+ label: string;
52
+ prop: string;
53
+ tip: string;
54
+ tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
+ export default _default;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1,62 @@
1
+ import { type PropType } from 'vue';
2
+ declare var __VLS_6: {}, __VLS_20: {};
3
+ type __VLS_Slots = {} & {
4
+ label?: (props: typeof __VLS_6) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_20) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ /** 字段标签文字 */
10
+ label: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ /** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
15
+ prop: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ /** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
20
+ tip: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ /** 帮助气泡的弹出位置 */
25
+ tipPlacement: {
26
+ type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
27
+ default: string;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ /** 字段标签文字 */
31
+ label: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ /** 绑定字段名(对应查询 model 的 key,如姓名→model.name) */
36
+ prop: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ /** 帮助说明:提供时 label 右侧自动出现带问号的图标,鼠标悬停显示说明;不传则不显示图标 */
41
+ tip: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ /** 帮助气泡的弹出位置 */
46
+ tipPlacement: {
47
+ type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "right">;
48
+ default: string;
49
+ };
50
+ }>> & Readonly<{}>, {
51
+ label: string;
52
+ prop: string;
53
+ tip: string;
54
+ tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
+ export default _default;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1,167 @@
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
+ };