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,134 +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
- /** 按钮级 loading(默认 true);false 时按钮不转圈 */
9
- buttonLoading: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
- /** 页面级 loading(全局遮罩 ElLoading) */
14
- pageLoading: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- tips: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- tipsType: {
23
- type: import("vue").PropType<"dark" | "light">;
24
- default: string;
25
- };
26
- placement: {
27
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
28
- default: string;
29
- };
30
- label: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- api: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- apiMethod: {
39
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
40
- default: string;
41
- };
42
- apiParam: {
43
- type: import("vue").PropType<Record<string, any>>;
44
- default: () => {};
45
- };
46
- headRefreshDatagrid: {
47
- type: import("vue").PropType<boolean | string>;
48
- default: boolean;
49
- };
50
- filter: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- apiBefore: (...args: any[]) => void;
56
- apiSuccess: (...args: any[]) => void;
57
- apiFail: (...args: any[]) => void;
58
- apiException: (...args: any[]) => void;
59
- apiAfter: (...args: any[]) => void;
60
- click: (...args: any[]) => void;
61
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
- /** 按钮级 loading(默认 true);false 时按钮不转圈 */
63
- buttonLoading: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- /** 页面级 loading(全局遮罩 ElLoading) */
68
- pageLoading: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- tips: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- tipsType: {
77
- type: import("vue").PropType<"dark" | "light">;
78
- default: string;
79
- };
80
- placement: {
81
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
82
- default: string;
83
- };
84
- label: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- api: {
89
- type: StringConstructor;
90
- default: string;
91
- };
92
- apiMethod: {
93
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
94
- default: string;
95
- };
96
- apiParam: {
97
- type: import("vue").PropType<Record<string, any>>;
98
- default: () => {};
99
- };
100
- headRefreshDatagrid: {
101
- type: import("vue").PropType<boolean | string>;
102
- default: boolean;
103
- };
104
- filter: {
105
- type: StringConstructor;
106
- default: string;
107
- };
108
- }>> & Readonly<{
109
- onApiBefore?: ((...args: any[]) => any) | undefined;
110
- onApiSuccess?: ((...args: any[]) => any) | undefined;
111
- onApiFail?: ((...args: any[]) => any) | undefined;
112
- onApiException?: ((...args: any[]) => any) | undefined;
113
- onApiAfter?: ((...args: any[]) => any) | undefined;
114
- onClick?: ((...args: any[]) => any) | undefined;
115
- }>, {
116
- label: string;
117
- placement: string;
118
- filter: string;
119
- api: string;
120
- apiMethod: "post" | "delete" | "get" | "put";
121
- apiParam: Record<string, any>;
122
- tips: string;
123
- headRefreshDatagrid: string | boolean;
124
- buttonLoading: boolean;
125
- pageLoading: boolean;
126
- tipsType: "dark" | "light";
127
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
128
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
129
- export default _default;
130
- type __VLS_WithSlots<T, S> = T & {
131
- new (): {
132
- $slots: S;
133
- };
134
- };
@@ -1,169 +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
- confirmText: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- /** 取消按钮文案(空则不显示取消按钮) */
14
- cancelText: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- /** 确认框标题 */
19
- confirmTitle: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- /** 按钮级 loading */
24
- buttonLoading: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- pageLoading: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- tips: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- tipsType: {
37
- type: import("vue").PropType<"dark" | "light">;
38
- default: string;
39
- };
40
- placement: {
41
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
42
- default: string;
43
- };
44
- label: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- api: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- apiMethod: {
53
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
54
- default: string;
55
- };
56
- apiParam: {
57
- type: import("vue").PropType<Record<string, any>>;
58
- default: () => {};
59
- };
60
- headRefreshDatagrid: {
61
- type: import("vue").PropType<boolean | string>;
62
- default: boolean;
63
- };
64
- filter: {
65
- type: StringConstructor;
66
- default: string;
67
- };
68
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
- apiBefore: (...args: any[]) => void;
70
- apiSuccess: (...args: any[]) => void;
71
- apiFail: (...args: any[]) => void;
72
- apiException: (...args: any[]) => void;
73
- apiAfter: (...args: any[]) => void;
74
- confirm: (...args: any[]) => void;
75
- cancel: (...args: any[]) => void;
76
- click: (...args: any[]) => void;
77
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
- /** 确认文案 */
79
- confirmText: {
80
- type: StringConstructor;
81
- default: string;
82
- };
83
- /** 取消按钮文案(空则不显示取消按钮) */
84
- cancelText: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- /** 确认框标题 */
89
- confirmTitle: {
90
- type: StringConstructor;
91
- default: string;
92
- };
93
- /** 按钮级 loading */
94
- buttonLoading: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- pageLoading: {
99
- type: BooleanConstructor;
100
- default: boolean;
101
- };
102
- tips: {
103
- type: StringConstructor;
104
- default: string;
105
- };
106
- tipsType: {
107
- type: import("vue").PropType<"dark" | "light">;
108
- default: string;
109
- };
110
- placement: {
111
- type: import("vue").PropType<"top" | "bottom" | "left" | "right" | string>;
112
- default: string;
113
- };
114
- label: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- api: {
119
- type: StringConstructor;
120
- default: string;
121
- };
122
- apiMethod: {
123
- type: import("vue").PropType<"get" | "post" | "put" | "delete">;
124
- default: string;
125
- };
126
- apiParam: {
127
- type: import("vue").PropType<Record<string, any>>;
128
- default: () => {};
129
- };
130
- headRefreshDatagrid: {
131
- type: import("vue").PropType<boolean | string>;
132
- default: boolean;
133
- };
134
- filter: {
135
- type: StringConstructor;
136
- default: string;
137
- };
138
- }>> & Readonly<{
139
- onApiBefore?: ((...args: any[]) => any) | undefined;
140
- onApiSuccess?: ((...args: any[]) => any) | undefined;
141
- onApiFail?: ((...args: any[]) => any) | undefined;
142
- onApiException?: ((...args: any[]) => any) | undefined;
143
- onApiAfter?: ((...args: any[]) => any) | undefined;
144
- onConfirm?: ((...args: any[]) => any) | undefined;
145
- onCancel?: ((...args: any[]) => any) | undefined;
146
- onClick?: ((...args: any[]) => any) | undefined;
147
- }>, {
148
- label: string;
149
- placement: string;
150
- filter: string;
151
- api: string;
152
- apiMethod: "post" | "delete" | "get" | "put";
153
- apiParam: Record<string, any>;
154
- tips: string;
155
- headRefreshDatagrid: string | boolean;
156
- buttonLoading: boolean;
157
- pageLoading: boolean;
158
- tipsType: "dark" | "light";
159
- confirmText: string;
160
- cancelText: string;
161
- confirmTitle: string;
162
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
163
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
164
- export default _default;
165
- type __VLS_WithSlots<T, S> = T & {
166
- new (): {
167
- $slots: S;
168
- };
169
- };
@@ -1,167 +0,0 @@
1
- import { type PropType } from 'vue';
2
- declare function closeDialog(): void;
3
- declare var __VLS_13: {}, __VLS_23: {}, __VLS_33: {
4
- data: Record<string, any>;
5
- close: typeof closeDialog;
6
- }, __VLS_35: {
7
- close: (reason?: string) => Promise<void>;
8
- };
9
- type __VLS_Slots = {} & {
10
- button?: (props: typeof __VLS_13) => any;
11
- } & {
12
- button?: (props: typeof __VLS_23) => any;
13
- } & {
14
- default?: (props: typeof __VLS_33) => any;
15
- } & {
16
- footer?: (props: typeof __VLS_35) => any;
17
- };
18
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- /** 按钮文案(也可用 #button 插槽;el-button 原生 text 走 $attrs 透传) */
20
- label: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- /** 弹出层标题 */
25
- title: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- /** iframe 地址(设置后弹层内以 iframe 加载,否则渲染默认插槽) */
30
- url: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- /** 传给内部表单/iframe 的数据 */
35
- data: {
36
- type: ObjectConstructor;
37
- default: () => {};
38
- };
39
- /** 对话框宽度 */
40
- size: {
41
- type: (NumberConstructor | StringConstructor)[];
42
- default: string;
43
- };
44
- /** el-button type */
45
- type: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- /** el-button size */
50
- buttonSize: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- disabled: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- tips: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- tipsType: {
63
- type: PropType<"dark" | "light">;
64
- default: string;
65
- };
66
- placement: {
67
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
68
- default: string;
69
- };
70
- headRefreshDatagrid: {
71
- type: PropType<boolean | string>;
72
- default: boolean;
73
- };
74
- filter: {
75
- type: StringConstructor;
76
- default: string;
77
- };
78
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
79
- confirm: (...args: any[]) => void;
80
- close: (...args: any[]) => void;
81
- open: (...args: any[]) => void;
82
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
- /** 按钮文案(也可用 #button 插槽;el-button 原生 text 走 $attrs 透传) */
84
- label: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- /** 弹出层标题 */
89
- title: {
90
- type: StringConstructor;
91
- default: string;
92
- };
93
- /** iframe 地址(设置后弹层内以 iframe 加载,否则渲染默认插槽) */
94
- url: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- /** 传给内部表单/iframe 的数据 */
99
- data: {
100
- type: ObjectConstructor;
101
- default: () => {};
102
- };
103
- /** 对话框宽度 */
104
- size: {
105
- type: (NumberConstructor | StringConstructor)[];
106
- default: string;
107
- };
108
- /** el-button type */
109
- type: {
110
- type: StringConstructor;
111
- default: string;
112
- };
113
- /** el-button size */
114
- buttonSize: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- disabled: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
- tips: {
123
- type: StringConstructor;
124
- default: string;
125
- };
126
- tipsType: {
127
- type: PropType<"dark" | "light">;
128
- default: string;
129
- };
130
- placement: {
131
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
132
- default: string;
133
- };
134
- headRefreshDatagrid: {
135
- type: PropType<boolean | string>;
136
- default: boolean;
137
- };
138
- filter: {
139
- type: StringConstructor;
140
- default: string;
141
- };
142
- }>> & Readonly<{
143
- onConfirm?: ((...args: any[]) => any) | undefined;
144
- onClose?: ((...args: any[]) => any) | undefined;
145
- onOpen?: ((...args: any[]) => any) | undefined;
146
- }>, {
147
- data: Record<string, any>;
148
- label: string;
149
- title: string;
150
- disabled: boolean;
151
- type: string;
152
- size: string | number;
153
- placement: string;
154
- filter: string;
155
- url: string;
156
- tips: string;
157
- headRefreshDatagrid: string | boolean;
158
- tipsType: "dark" | "light";
159
- buttonSize: 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
- };
@@ -1,186 +0,0 @@
1
- import { type PropType } from 'vue';
2
- declare function closePanel(): void;
3
- declare var __VLS_13: {}, __VLS_23: {}, __VLS_33: {
4
- data: Record<string, any>;
5
- close: typeof closePanel;
6
- }, __VLS_35: {
7
- close: (reason?: string) => Promise<void>;
8
- };
9
- type __VLS_Slots = {} & {
10
- button?: (props: typeof __VLS_13) => any;
11
- } & {
12
- button?: (props: typeof __VLS_23) => any;
13
- } & {
14
- default?: (props: typeof __VLS_33) => any;
15
- } & {
16
- footer?: (props: typeof __VLS_35) => any;
17
- };
18
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- /** 按钮文案(也可用 #button 插槽;el-button 原生 text 走 $attrs 透传) */
20
- label: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- /**
25
- * 按钮尺寸(el-button size)。
26
- * 注意:DrawerButton 的 size 被「弹层尺寸」占用,按钮尺寸请用 buttonSize,否则两属性冲突。
27
- */
28
- buttonSize: {
29
- type: PropType<"large" | "default" | "small" | "">;
30
- default: string;
31
- };
32
- /** 弹出层形式:drawer 抽屉 / dialog 对话框 */
33
- mode: {
34
- type: PropType<"drawer" | "dialog">;
35
- default: string;
36
- };
37
- /** 弹出层标题 */
38
- title: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- /** iframe 地址(设置后弹层内以 iframe 加载,否则渲染默认插槽) */
43
- url: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- /** 传给内部表单/iframe 的数据 */
48
- data: {
49
- type: PropType<Record<string, any>>;
50
- default: () => {};
51
- };
52
- /** 弹出层尺寸(抽屉宽度/高度,对话框宽度) */
53
- size: {
54
- type: (NumberConstructor | StringConstructor)[];
55
- default: string;
56
- };
57
- /** 抽屉弹出方向(仅 mode=drawer 生效) */
58
- direction: {
59
- type: PropType<"rtl" | "ltr" | "ttb" | "btt">;
60
- default: string;
61
- };
62
- /** 每次打开弹层时重新加载 iframe 内容(url 模式生效) */
63
- reloadOnOpen: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- tips: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- tipsType: {
72
- type: PropType<"dark" | "light">;
73
- default: string;
74
- };
75
- placement: {
76
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
77
- default: string;
78
- };
79
- headRefreshDatagrid: {
80
- type: PropType<boolean | string>;
81
- default: boolean;
82
- };
83
- filter: {
84
- type: StringConstructor;
85
- default: string;
86
- };
87
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
- confirm: (...args: any[]) => void;
89
- close: (...args: any[]) => void;
90
- open: (...args: any[]) => void;
91
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
- /** 按钮文案(也可用 #button 插槽;el-button 原生 text 走 $attrs 透传) */
93
- label: {
94
- type: StringConstructor;
95
- default: string;
96
- };
97
- /**
98
- * 按钮尺寸(el-button size)。
99
- * 注意:DrawerButton 的 size 被「弹层尺寸」占用,按钮尺寸请用 buttonSize,否则两属性冲突。
100
- */
101
- buttonSize: {
102
- type: PropType<"large" | "default" | "small" | "">;
103
- default: string;
104
- };
105
- /** 弹出层形式:drawer 抽屉 / dialog 对话框 */
106
- mode: {
107
- type: PropType<"drawer" | "dialog">;
108
- default: string;
109
- };
110
- /** 弹出层标题 */
111
- title: {
112
- type: StringConstructor;
113
- default: string;
114
- };
115
- /** iframe 地址(设置后弹层内以 iframe 加载,否则渲染默认插槽) */
116
- url: {
117
- type: StringConstructor;
118
- default: string;
119
- };
120
- /** 传给内部表单/iframe 的数据 */
121
- data: {
122
- type: PropType<Record<string, any>>;
123
- default: () => {};
124
- };
125
- /** 弹出层尺寸(抽屉宽度/高度,对话框宽度) */
126
- size: {
127
- type: (NumberConstructor | StringConstructor)[];
128
- default: string;
129
- };
130
- /** 抽屉弹出方向(仅 mode=drawer 生效) */
131
- direction: {
132
- type: PropType<"rtl" | "ltr" | "ttb" | "btt">;
133
- default: string;
134
- };
135
- /** 每次打开弹层时重新加载 iframe 内容(url 模式生效) */
136
- reloadOnOpen: {
137
- type: BooleanConstructor;
138
- default: boolean;
139
- };
140
- tips: {
141
- type: StringConstructor;
142
- default: string;
143
- };
144
- tipsType: {
145
- type: PropType<"dark" | "light">;
146
- default: string;
147
- };
148
- placement: {
149
- type: PropType<"top" | "bottom" | "left" | "right" | string>;
150
- default: string;
151
- };
152
- headRefreshDatagrid: {
153
- type: PropType<boolean | string>;
154
- default: boolean;
155
- };
156
- filter: {
157
- type: StringConstructor;
158
- default: string;
159
- };
160
- }>> & Readonly<{
161
- onConfirm?: ((...args: any[]) => any) | undefined;
162
- onClose?: ((...args: any[]) => any) | undefined;
163
- onOpen?: ((...args: any[]) => any) | undefined;
164
- }>, {
165
- data: Record<string, any>;
166
- label: string;
167
- title: string;
168
- size: string | number;
169
- placement: string;
170
- filter: string;
171
- mode: "dialog" | "drawer";
172
- url: string;
173
- tips: string;
174
- headRefreshDatagrid: string | boolean;
175
- tipsType: "dark" | "light";
176
- direction: "rtl" | "ltr" | "ttb" | "btt";
177
- reloadOnOpen: boolean;
178
- buttonSize: "" | "default" | "small" | "large";
179
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
180
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
181
- export default _default;
182
- type __VLS_WithSlots<T, S> = T & {
183
- new (): {
184
- $slots: S;
185
- };
186
- };