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.
Files changed (173) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +11 -8
  3. package/dist/api-button/index.mjs +1 -1
  4. package/dist/auto-complete/index.mjs +1 -1
  5. package/dist/checkbox-list/index.mjs +1 -1
  6. 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
  7. 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
  8. package/dist/chunks/{AutoComplete-6yrCFGZ5.mjs → AutoComplete-C6Nxatvt.mjs} +2 -2
  9. package/dist/chunks/{AutoComplete-6yrCFGZ5.mjs.map → AutoComplete-C6Nxatvt.mjs.map} +1 -1
  10. package/dist/chunks/{CheckboxList-ChmfF6zs.mjs → CheckboxList-5AEx33r5.mjs} +2 -2
  11. package/dist/chunks/{CheckboxList-ChmfF6zs.mjs.map → CheckboxList-5AEx33r5.mjs.map} +1 -1
  12. 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
  13. 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
  14. package/dist/chunks/{DataForm-Rsa1PT-X.mjs → DataForm-C6VLTSOm.mjs} +3 -3
  15. package/dist/chunks/{DataForm-Rsa1PT-X.mjs.map → DataForm-C6VLTSOm.mjs.map} +1 -1
  16. package/dist/chunks/{DataGrid-DzbJpT43.mjs → DataGrid-Dd7n5JM7.mjs} +3 -3
  17. package/dist/chunks/{DataGrid-DzbJpT43.mjs.map → DataGrid-Dd7n5JM7.mjs.map} +1 -1
  18. package/dist/chunks/{EditableGrid-C-0uy89H.mjs → EditableGrid-CDeeVkaX.mjs} +3 -3
  19. package/dist/chunks/{EditableGrid-C-0uy89H.mjs.map → EditableGrid-CDeeVkaX.mjs.map} +1 -1
  20. package/dist/chunks/{ImageUpload-CrDyIjWC.mjs → ImageUpload-CQA9XQ7Q.mjs} +2 -2
  21. package/dist/chunks/{ImageUpload-CrDyIjWC.mjs.map → ImageUpload-CQA9XQ7Q.mjs.map} +1 -1
  22. package/dist/chunks/Path-C_oyo6Dg.mjs +200 -0
  23. package/dist/chunks/Path-C_oyo6Dg.mjs.map +1 -0
  24. 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
  25. 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
  26. package/dist/chunks/{RadioList-BIwUZ6lm.mjs → RadioList-BUWcP_Pk.mjs} +2 -2
  27. package/dist/chunks/{RadioList-BIwUZ6lm.mjs.map → RadioList-BUWcP_Pk.mjs.map} +1 -1
  28. 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
  29. 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
  30. package/dist/chunks/{Select-DlJ9U0nE.mjs → Select-uvFy7_NU.mjs} +2 -2
  31. package/dist/chunks/{Select-DlJ9U0nE.mjs.map → Select-uvFy7_NU.mjs.map} +1 -1
  32. package/dist/chunks/Station-DLV19USa.mjs +780 -0
  33. package/dist/chunks/Station-DLV19USa.mjs.map +1 -0
  34. 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
  35. 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
  36. 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
  37. 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
  38. package/dist/chunks/{Viewer-DcMSN3_1.mjs → Viewer-CjLSQTrw.mjs} +2 -2
  39. package/dist/chunks/{Viewer-DcMSN3_1.mjs.map → Viewer-CjLSQTrw.mjs.map} +1 -1
  40. package/dist/chunks/{http-9ToPNkWJ.mjs → http-C06mNpwY.mjs} +1180 -1065
  41. package/dist/chunks/http-C06mNpwY.mjs.map +1 -0
  42. package/dist/chunks/station-linkage-D54-_iyL.mjs +77 -0
  43. package/dist/chunks/station-linkage-D54-_iyL.mjs.map +1 -0
  44. package/dist/chunks/{useApiAction-BetCGQrx.mjs → useApiAction-DxVQWWxv.mjs} +2 -2
  45. package/dist/chunks/{useApiAction-BetCGQrx.mjs.map → useApiAction-DxVQWWxv.mjs.map} +1 -1
  46. package/dist/chunks/{useColumnSettings-CnXeA0k7.mjs → useColumnSettings-BwG2V9xp.mjs} +2 -2
  47. package/dist/chunks/{useColumnSettings-CnXeA0k7.mjs.map → useColumnSettings-BwG2V9xp.mjs.map} +1 -1
  48. package/dist/chunks/{useOptionsLoader-BwRdHDPL.mjs → useOptionsLoader-DEVCYhrp.mjs} +2 -2
  49. package/dist/chunks/{useOptionsLoader-BwRdHDPL.mjs.map → useOptionsLoader-DEVCYhrp.mjs.map} +1 -1
  50. package/dist/confirm-button/index.mjs +1 -1
  51. package/dist/data-form/index.mjs +1 -1
  52. package/dist/data-form/style.css +1 -1
  53. package/dist/data-grid/index.mjs +1 -1
  54. package/dist/editable-grid/index.mjs +1 -1
  55. package/dist/image-upload/index.mjs +1 -1
  56. package/dist/index.esm.js +86 -80
  57. package/dist/index.esm.js.map +1 -1
  58. package/dist/index.umd.js +124 -21
  59. package/dist/index.umd.js.map +1 -1
  60. package/dist/path/index.mjs +7 -0
  61. package/dist/path/index.mjs.map +1 -0
  62. package/dist/path/style.css +1 -0
  63. package/dist/prompt-button/index.mjs +1 -1
  64. package/dist/radio-list/index.mjs +1 -1
  65. package/dist/requester/index.mjs +1 -1
  66. package/dist/select/index.mjs +1 -1
  67. package/dist/station/index.mjs +1 -1
  68. package/dist/station/style.css +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/switch/index.mjs +1 -1
  71. package/dist/upload/index.mjs +1 -1
  72. package/dist/viewer/index.mjs +1 -1
  73. package/llms.txt +69 -9
  74. package/package.json +6 -1
  75. package/dist/chunks/Station-CrMTjqfa.mjs +0 -796
  76. package/dist/chunks/Station-CrMTjqfa.mjs.map +0 -1
  77. package/dist/chunks/http-9ToPNkWJ.mjs.map +0 -1
  78. package/dist/types/src/components/buttons/ApiButton.vue.d.ts +0 -134
  79. package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +0 -169
  80. package/dist/types/src/components/buttons/DialogButton.vue.d.ts +0 -167
  81. package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +0 -186
  82. package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +0 -317
  83. package/dist/types/src/components/buttons/PromptButton.vue.d.ts +0 -180
  84. package/dist/types/src/components/buttons/RouteButton.vue.d.ts +0 -122
  85. package/dist/types/src/components/buttons/TipsButton.vue.d.ts +0 -66
  86. package/dist/types/src/components/buttons/useApiAction.d.ts +0 -20
  87. package/dist/types/src/components/common/props.d.ts +0 -122
  88. package/dist/types/src/components/containers/Drawer.vue.d.ts +0 -172
  89. package/dist/types/src/components/containers/Iframe.vue.d.ts +0 -81
  90. package/dist/types/src/components/containers/containerContext.d.ts +0 -15
  91. package/dist/types/src/components/containers/useContainerController.d.ts +0 -24
  92. package/dist/types/src/components/containers/useIframeContainer.d.ts +0 -20
  93. package/dist/types/src/components/core/Requester.vue.d.ts +0 -41
  94. package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +0 -542
  95. package/dist/types/src/components/data/datagrid/useColumnSettings.d.ts +0 -62
  96. package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +0 -586
  97. package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +0 -187
  98. package/dist/types/src/components/form/FormItem.vue.d.ts +0 -62
  99. package/dist/types/src/components/form/SearchItem.vue.d.ts +0 -62
  100. package/dist/types/src/components/form/SearchPanel.vue.d.ts +0 -167
  101. package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +0 -311
  102. package/dist/types/src/components/index.d.ts +0 -31
  103. package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +0 -166
  104. package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +0 -166
  105. package/dist/types/src/components/inputs/RadioList.vue.d.ts +0 -166
  106. package/dist/types/src/components/inputs/Select.vue.d.ts +0 -176
  107. package/dist/types/src/components/inputs/Switch.vue.d.ts +0 -116
  108. package/dist/types/src/components/inputs/useOptionsLoader.d.ts +0 -32
  109. package/dist/types/src/components/layout/Station.vue.d.ts +0 -302
  110. package/dist/types/src/components/layout/StationMenuNode.vue.d.ts +0 -20
  111. package/dist/types/src/components/layout/types.d.ts +0 -54
  112. package/dist/types/src/components/styles/Panel.vue.d.ts +0 -94
  113. package/dist/types/src/components/styles/Tips.vue.d.ts +0 -60
  114. package/dist/types/src/components/upload/ImageUpload.vue.d.ts +0 -176
  115. package/dist/types/src/components/upload/Upload.vue.d.ts +0 -235
  116. package/dist/types/src/entries/api-button.d.ts +0 -9
  117. package/dist/types/src/entries/auto-complete.d.ts +0 -9
  118. package/dist/types/src/entries/checkbox-list.d.ts +0 -9
  119. package/dist/types/src/entries/components-map.d.ts +0 -8
  120. package/dist/types/src/entries/confirm-button.d.ts +0 -9
  121. package/dist/types/src/entries/data-form.d.ts +0 -9
  122. package/dist/types/src/entries/data-grid.d.ts +0 -9
  123. package/dist/types/src/entries/dialog-button.d.ts +0 -9
  124. package/dist/types/src/entries/drawer-button.d.ts +0 -9
  125. package/dist/types/src/entries/drawer.d.ts +0 -9
  126. package/dist/types/src/entries/editable-grid.d.ts +0 -9
  127. package/dist/types/src/entries/form-item.d.ts +0 -9
  128. package/dist/types/src/entries/iframe.d.ts +0 -9
  129. package/dist/types/src/entries/image-upload.d.ts +0 -9
  130. package/dist/types/src/entries/panel.d.ts +0 -9
  131. package/dist/types/src/entries/prompt-button.d.ts +0 -9
  132. package/dist/types/src/entries/radio-list.d.ts +0 -9
  133. package/dist/types/src/entries/requester.d.ts +0 -9
  134. package/dist/types/src/entries/route-button.d.ts +0 -9
  135. package/dist/types/src/entries/search-item.d.ts +0 -9
  136. package/dist/types/src/entries/search-panel.d.ts +0 -9
  137. package/dist/types/src/entries/select.d.ts +0 -9
  138. package/dist/types/src/entries/station.d.ts +0 -9
  139. package/dist/types/src/entries/switch.d.ts +0 -9
  140. package/dist/types/src/entries/tips-button.d.ts +0 -9
  141. package/dist/types/src/entries/tips.d.ts +0 -9
  142. package/dist/types/src/entries/upload.d.ts +0 -9
  143. package/dist/types/src/entries/viewer.d.ts +0 -9
  144. package/dist/types/src/index.d.ts +0 -23
  145. package/dist/types/src/lib/composables/useConfig.d.ts +0 -19
  146. package/dist/types/src/lib/composables/useDataGrid.d.ts +0 -69
  147. package/dist/types/src/lib/composables/useEventBus.d.ts +0 -16
  148. package/dist/types/src/lib/composables/useGlobalState.d.ts +0 -5
  149. package/dist/types/src/lib/composables/useRequest.d.ts +0 -42
  150. package/dist/types/src/lib/configs/default-config.d.ts +0 -6
  151. package/dist/types/src/lib/core/config.d.ts +0 -28
  152. package/dist/types/src/lib/core/http.d.ts +0 -100
  153. package/dist/types/src/lib/core/linkage.d.ts +0 -48
  154. package/dist/types/src/lib/core/skins/apple.d.ts +0 -3
  155. package/dist/types/src/lib/core/skins/business.d.ts +0 -3
  156. package/dist/types/src/lib/core/skins/chinese.d.ts +0 -3
  157. package/dist/types/src/lib/core/skins/cool.d.ts +0 -3
  158. package/dist/types/src/lib/core/skins/cyberpunk.d.ts +0 -3
  159. package/dist/types/src/lib/core/skins/default.d.ts +0 -3
  160. package/dist/types/src/lib/core/skins/fashion.d.ts +0 -3
  161. package/dist/types/src/lib/core/skins/flat.d.ts +0 -3
  162. package/dist/types/src/lib/core/skins/governance.d.ts +0 -3
  163. package/dist/types/src/lib/core/skins/index.d.ts +0 -15
  164. package/dist/types/src/lib/core/skins/tech-brain.d.ts +0 -5
  165. package/dist/types/src/lib/core/skins/tech.d.ts +0 -3
  166. package/dist/types/src/lib/core/skins/types.d.ts +0 -19
  167. package/dist/types/src/lib/core/station-linkage.d.ts +0 -41
  168. package/dist/types/src/lib/core/theme.d.ts +0 -11
  169. package/dist/types/src/lib/core/utils.d.ts +0 -28
  170. package/dist/types/src/lib/install.d.ts +0 -11
  171. package/dist/types/src/types/config.d.ts +0 -130
  172. package/dist/types/src/types/index.d.ts +0 -4
  173. package/dist/types/vite.config.d.ts +0 -7
@@ -1,317 +0,0 @@
1
- import { type Component, type PropType } from 'vue';
2
- declare var __VLS_11: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_11) => any;
5
- };
6
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
- /** 确认提示标题 */
8
- title: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- /** 确定按钮文案 */
13
- confirmButtonText: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- /** 取消按钮文案 */
18
- cancelButtonText: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- /** 确定按钮类型 */
23
- confirmButtonType: {
24
- type: PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
25
- default: string;
26
- };
27
- /** 取消按钮类型 */
28
- cancelButtonType: {
29
- type: PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
30
- default: string;
31
- };
32
- /** 弹层图标(命名 popIcon 避免与 el-button 的 icon 透传冲突) */
33
- popIcon: {
34
- type: PropType<string | Component>;
35
- default: undefined;
36
- };
37
- /** 弹层图标颜色 */
38
- popIconColor: {
39
- type: StringConstructor;
40
- default: undefined;
41
- };
42
- /** 关闭动画时长(ms,继承自 el-popconfirm) */
43
- hideAfter: {
44
- type: NumberConstructor;
45
- default: undefined;
46
- };
47
- /** 禁用确认弹层(命名 popDisabled 避免与 el-button 的 disabled 透传冲突) */
48
- popDisabled: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- /** 弹层宽度 */
53
- width: {
54
- type: (NumberConstructor | StringConstructor)[];
55
- default: undefined;
56
- };
57
- /** 触发方式 */
58
- trigger: {
59
- type: PropType<"click" | "hover" | "focus" | "contextmenu">;
60
- default: string;
61
- };
62
- /** 弹层自定义类名 */
63
- popperClass: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- /** popper 配置 */
68
- popperOptions: {
69
- type: ObjectConstructor;
70
- default: undefined;
71
- };
72
- /** 显示延迟(ms) */
73
- showAfter: {
74
- type: NumberConstructor;
75
- default: undefined;
76
- };
77
- /** 是否挂载到 body */
78
- teleported: {
79
- type: BooleanConstructor;
80
- default: boolean;
81
- };
82
- /** 关闭时是否保留内容 */
83
- persistent: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- /** 按钮级 loading(默认 true);false 时按钮不转圈 */
88
- buttonLoading: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- /** 页面级 loading(全局遮罩 ElLoading) */
93
- pageLoading: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- tips: {
98
- type: StringConstructor;
99
- default: string;
100
- };
101
- tipsType: {
102
- type: PropType<"dark" | "light">;
103
- default: string;
104
- };
105
- placement: {
106
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
107
- default: string;
108
- };
109
- label: {
110
- type: StringConstructor;
111
- default: string;
112
- };
113
- api: {
114
- type: StringConstructor;
115
- default: string;
116
- };
117
- apiMethod: {
118
- type: PropType<"get" | "post" | "put" | "delete">;
119
- default: string;
120
- };
121
- apiParam: {
122
- type: PropType<Record<string, any>>;
123
- default: () => {};
124
- };
125
- headRefreshDatagrid: {
126
- type: PropType<boolean | string>;
127
- default: boolean;
128
- };
129
- filter: {
130
- type: StringConstructor;
131
- default: string;
132
- };
133
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
134
- apiBefore: (...args: any[]) => void;
135
- apiSuccess: (...args: any[]) => void;
136
- apiFail: (...args: any[]) => void;
137
- apiException: (...args: any[]) => void;
138
- apiAfter: (...args: any[]) => void;
139
- confirm: (...args: any[]) => void;
140
- cancel: (...args: any[]) => void;
141
- click: (...args: any[]) => void;
142
- show: (...args: any[]) => void;
143
- hide: (...args: any[]) => void;
144
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
145
- /** 确认提示标题 */
146
- title: {
147
- type: StringConstructor;
148
- default: string;
149
- };
150
- /** 确定按钮文案 */
151
- confirmButtonText: {
152
- type: StringConstructor;
153
- default: string;
154
- };
155
- /** 取消按钮文案 */
156
- cancelButtonText: {
157
- type: StringConstructor;
158
- default: string;
159
- };
160
- /** 确定按钮类型 */
161
- confirmButtonType: {
162
- type: PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
163
- default: string;
164
- };
165
- /** 取消按钮类型 */
166
- cancelButtonType: {
167
- type: PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
168
- default: string;
169
- };
170
- /** 弹层图标(命名 popIcon 避免与 el-button 的 icon 透传冲突) */
171
- popIcon: {
172
- type: PropType<string | Component>;
173
- default: undefined;
174
- };
175
- /** 弹层图标颜色 */
176
- popIconColor: {
177
- type: StringConstructor;
178
- default: undefined;
179
- };
180
- /** 关闭动画时长(ms,继承自 el-popconfirm) */
181
- hideAfter: {
182
- type: NumberConstructor;
183
- default: undefined;
184
- };
185
- /** 禁用确认弹层(命名 popDisabled 避免与 el-button 的 disabled 透传冲突) */
186
- popDisabled: {
187
- type: BooleanConstructor;
188
- default: boolean;
189
- };
190
- /** 弹层宽度 */
191
- width: {
192
- type: (NumberConstructor | StringConstructor)[];
193
- default: undefined;
194
- };
195
- /** 触发方式 */
196
- trigger: {
197
- type: PropType<"click" | "hover" | "focus" | "contextmenu">;
198
- default: string;
199
- };
200
- /** 弹层自定义类名 */
201
- popperClass: {
202
- type: StringConstructor;
203
- default: string;
204
- };
205
- /** popper 配置 */
206
- popperOptions: {
207
- type: ObjectConstructor;
208
- default: undefined;
209
- };
210
- /** 显示延迟(ms) */
211
- showAfter: {
212
- type: NumberConstructor;
213
- default: undefined;
214
- };
215
- /** 是否挂载到 body */
216
- teleported: {
217
- type: BooleanConstructor;
218
- default: boolean;
219
- };
220
- /** 关闭时是否保留内容 */
221
- persistent: {
222
- type: BooleanConstructor;
223
- default: boolean;
224
- };
225
- /** 按钮级 loading(默认 true);false 时按钮不转圈 */
226
- buttonLoading: {
227
- type: BooleanConstructor;
228
- default: boolean;
229
- };
230
- /** 页面级 loading(全局遮罩 ElLoading) */
231
- pageLoading: {
232
- type: BooleanConstructor;
233
- default: boolean;
234
- };
235
- tips: {
236
- type: StringConstructor;
237
- default: string;
238
- };
239
- tipsType: {
240
- type: PropType<"dark" | "light">;
241
- default: string;
242
- };
243
- placement: {
244
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
245
- default: string;
246
- };
247
- label: {
248
- type: StringConstructor;
249
- default: string;
250
- };
251
- api: {
252
- type: StringConstructor;
253
- default: string;
254
- };
255
- apiMethod: {
256
- type: PropType<"get" | "post" | "put" | "delete">;
257
- default: string;
258
- };
259
- apiParam: {
260
- type: PropType<Record<string, any>>;
261
- default: () => {};
262
- };
263
- headRefreshDatagrid: {
264
- type: PropType<boolean | string>;
265
- default: boolean;
266
- };
267
- filter: {
268
- type: StringConstructor;
269
- default: string;
270
- };
271
- }>> & Readonly<{
272
- onApiBefore?: ((...args: any[]) => any) | undefined;
273
- onApiSuccess?: ((...args: any[]) => any) | undefined;
274
- onApiFail?: ((...args: any[]) => any) | undefined;
275
- onApiException?: ((...args: any[]) => any) | undefined;
276
- onApiAfter?: ((...args: any[]) => any) | undefined;
277
- onConfirm?: ((...args: any[]) => any) | undefined;
278
- onCancel?: ((...args: any[]) => any) | undefined;
279
- onClick?: ((...args: any[]) => any) | undefined;
280
- onShow?: ((...args: any[]) => any) | undefined;
281
- onHide?: ((...args: any[]) => any) | undefined;
282
- }>, {
283
- label: string;
284
- title: string;
285
- placement: string;
286
- filter: string;
287
- api: string;
288
- apiMethod: "post" | "delete" | "get" | "put";
289
- apiParam: Record<string, any>;
290
- trigger: "click" | "contextmenu" | "focus" | "hover";
291
- width: string | number;
292
- tips: string;
293
- headRefreshDatagrid: string | boolean;
294
- confirmButtonText: string;
295
- cancelButtonText: string;
296
- showAfter: number;
297
- buttonLoading: boolean;
298
- pageLoading: boolean;
299
- tipsType: "dark" | "light";
300
- confirmButtonType: "success" | "warning" | "info" | "text" | "primary" | "danger";
301
- cancelButtonType: "success" | "warning" | "info" | "text" | "primary" | "danger";
302
- popIcon: string | Component;
303
- popIconColor: string;
304
- hideAfter: number;
305
- popDisabled: boolean;
306
- popperClass: string;
307
- popperOptions: Record<string, any>;
308
- teleported: boolean;
309
- persistent: boolean;
310
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
311
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
312
- export default _default;
313
- type __VLS_WithSlots<T, S> = T & {
314
- new (): {
315
- $slots: S;
316
- };
317
- };
@@ -1,180 +0,0 @@
1
- declare var __VLS_14: {}, __VLS_25: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_14) => any;
4
- } & {
5
- default?: (props: typeof __VLS_25) => any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- /** 输入框标题 */
9
- promptTitle: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- /** 输入框占位文本(默认输入框模式有效) */
14
- promptPlaceholder: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- /** 输入值并入 apiParam 的字段名(默认输入框模式有效) */
19
- paramKey: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- /** 输入框默认值(默认输入框模式有效) */
24
- promptDefault: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- buttonLoading: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- pageLoading: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- tips: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- tipsType: {
41
- type: import("vue").PropType<"dark" | "light">;
42
- default: string;
43
- };
44
- placement: {
45
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
46
- default: string;
47
- };
48
- label: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- api: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- apiMethod: {
57
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
58
- default: string;
59
- };
60
- apiParam: {
61
- type: import("vue").PropType<Record<string, any>>;
62
- default: () => {};
63
- };
64
- headRefreshDatagrid: {
65
- type: import("vue").PropType<boolean | string>;
66
- default: boolean;
67
- };
68
- filter: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
- apiBefore: (...args: any[]) => void;
74
- apiSuccess: (...args: any[]) => void;
75
- apiFail: (...args: any[]) => void;
76
- apiException: (...args: any[]) => void;
77
- apiAfter: (...args: any[]) => void;
78
- confirm: (...args: any[]) => void;
79
- prompt: (...args: any[]) => void;
80
- cancel: (...args: any[]) => void;
81
- click: (...args: any[]) => void;
82
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
- /** 输入框标题 */
84
- promptTitle: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- /** 输入框占位文本(默认输入框模式有效) */
89
- promptPlaceholder: {
90
- type: StringConstructor;
91
- default: string;
92
- };
93
- /** 输入值并入 apiParam 的字段名(默认输入框模式有效) */
94
- paramKey: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- /** 输入框默认值(默认输入框模式有效) */
99
- promptDefault: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- buttonLoading: {
104
- type: BooleanConstructor;
105
- default: boolean;
106
- };
107
- pageLoading: {
108
- type: BooleanConstructor;
109
- default: boolean;
110
- };
111
- tips: {
112
- type: StringConstructor;
113
- default: string;
114
- };
115
- tipsType: {
116
- type: import("vue").PropType<"dark" | "light">;
117
- default: string;
118
- };
119
- placement: {
120
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
121
- default: string;
122
- };
123
- label: {
124
- type: StringConstructor;
125
- default: string;
126
- };
127
- api: {
128
- type: StringConstructor;
129
- default: string;
130
- };
131
- apiMethod: {
132
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
133
- default: string;
134
- };
135
- apiParam: {
136
- type: import("vue").PropType<Record<string, any>>;
137
- default: () => {};
138
- };
139
- headRefreshDatagrid: {
140
- type: import("vue").PropType<boolean | string>;
141
- default: boolean;
142
- };
143
- filter: {
144
- type: StringConstructor;
145
- default: string;
146
- };
147
- }>> & Readonly<{
148
- onApiBefore?: ((...args: any[]) => any) | undefined;
149
- onApiSuccess?: ((...args: any[]) => any) | undefined;
150
- onApiFail?: ((...args: any[]) => any) | undefined;
151
- onApiException?: ((...args: any[]) => any) | undefined;
152
- onApiAfter?: ((...args: any[]) => any) | undefined;
153
- onConfirm?: ((...args: any[]) => any) | undefined;
154
- onPrompt?: ((...args: any[]) => any) | undefined;
155
- onCancel?: ((...args: any[]) => any) | undefined;
156
- onClick?: ((...args: any[]) => any) | undefined;
157
- }>, {
158
- label: string;
159
- placement: string;
160
- filter: string;
161
- api: string;
162
- apiMethod: "post" | "delete" | "get" | "put";
163
- apiParam: Record<string, any>;
164
- tips: string;
165
- headRefreshDatagrid: string | boolean;
166
- buttonLoading: boolean;
167
- pageLoading: boolean;
168
- tipsType: "dark" | "light";
169
- promptTitle: string;
170
- promptPlaceholder: string;
171
- paramKey: string;
172
- promptDefault: string;
173
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
174
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
175
- export default _default;
176
- type __VLS_WithSlots<T, S> = T & {
177
- new (): {
178
- $slots: S;
179
- };
180
- };
@@ -1,122 +0,0 @@
1
- import { type PropType } from 'vue';
2
- declare var __VLS_14: {}, __VLS_25: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_14) => any;
5
- } & {
6
- default?: (props: typeof __VLS_25) => any;
7
- };
8
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
- /** 路由 name(与 routePath 二选一) */
10
- routeName: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- /** 路由 path */
15
- routePath: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- /** 路由 params */
20
- params: {
21
- type: PropType<Record<string, any>>;
22
- default: () => {};
23
- };
24
- /** 路由 query */
25
- query: {
26
- type: PropType<Record<string, any>>;
27
- default: () => {};
28
- };
29
- /** 打开方式 */
30
- target: {
31
- type: PropType<"_self" | "_blank">;
32
- default: string;
33
- };
34
- tips: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- tipsType: {
39
- type: PropType<"dark" | "light">;
40
- default: string;
41
- };
42
- placement: {
43
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
44
- default: string;
45
- };
46
- label: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- filter: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- click: (...args: any[]) => void;
56
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
- /** 路由 name(与 routePath 二选一) */
58
- routeName: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- /** 路由 path */
63
- routePath: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- /** 路由 params */
68
- params: {
69
- type: PropType<Record<string, any>>;
70
- default: () => {};
71
- };
72
- /** 路由 query */
73
- query: {
74
- type: PropType<Record<string, any>>;
75
- default: () => {};
76
- };
77
- /** 打开方式 */
78
- target: {
79
- type: PropType<"_self" | "_blank">;
80
- default: string;
81
- };
82
- tips: {
83
- type: StringConstructor;
84
- default: string;
85
- };
86
- tipsType: {
87
- type: PropType<"dark" | "light">;
88
- default: string;
89
- };
90
- placement: {
91
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
92
- default: string;
93
- };
94
- label: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- filter: {
99
- type: StringConstructor;
100
- default: string;
101
- };
102
- }>> & Readonly<{
103
- onClick?: ((...args: any[]) => any) | undefined;
104
- }>, {
105
- label: string;
106
- placement: string;
107
- filter: string;
108
- target: "_self" | "_blank";
109
- query: Record<string, any>;
110
- params: Record<string, any>;
111
- tips: string;
112
- tipsType: "dark" | "light";
113
- routeName: string;
114
- routePath: string;
115
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
117
- export default _default;
118
- type __VLS_WithSlots<T, S> = T & {
119
- new (): {
120
- $slots: S;
121
- };
122
- };
@@ -1,66 +0,0 @@
1
- declare var __VLS_14: {}, __VLS_25: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_14) => any;
4
- } & {
5
- default?: (props: typeof __VLS_25) => any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- tips: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- tipsType: {
13
- type: import("vue").PropType<"dark" | "light">;
14
- default: string;
15
- };
16
- placement: {
17
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
18
- default: string;
19
- };
20
- label: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- filter: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- click: (...args: any[]) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
- tips: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- tipsType: {
36
- type: import("vue").PropType<"dark" | "light">;
37
- default: string;
38
- };
39
- placement: {
40
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
41
- default: string;
42
- };
43
- label: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- filter: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- }>> & Readonly<{
52
- onClick?: ((...args: any[]) => any) | undefined;
53
- }>, {
54
- label: string;
55
- placement: string;
56
- filter: string;
57
- tips: string;
58
- tipsType: "dark" | "light";
59
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
60
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
61
- export default _default;
62
- type __VLS_WithSlots<T, S> = T & {
63
- new (): {
64
- $slots: S;
65
- };
66
- };
@@ -1,20 +0,0 @@
1
- import type { ReqOptions } from '../../types/config';
2
- /**
3
- * 按钮组共享:点击 → 请求 → 提示 → 联动刷新(PRD 4.4 按钮组)
4
- * 业务失败 resolve 不抛异常;网络异常 reject。
5
- */
6
- export declare function useApiAction(options: {
7
- getApi: () => string;
8
- getMethod: () => 'get' | 'post' | 'put' | 'delete';
9
- getParam: () => Record<string, any>;
10
- getFilter: () => string;
11
- getHeadRefresh: () => boolean | string;
12
- emit: (event: any, ...args: any[]) => void;
13
- /** 是否按钮级 loading(ApiButton buttonLoading=false 时按钮不转圈) */
14
- buttonLoading?: () => boolean;
15
- /** 请求附加项(pageLoading=true 时开启全局 ElLoading 遮罩) */
16
- getReqOptions?: () => ReqOptions;
17
- }): {
18
- loading: import("vue").Ref<boolean, boolean>;
19
- doRequest: (extraParam?: Record<string, any>) => Promise<boolean>;
20
- };