workdesktop-ai 1.2.3 → 1.2.5

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 (131) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/api-button/index.mjs +1 -1
  3. package/dist/auto-complete/index.mjs +1 -1
  4. package/dist/checkbox-list/index.mjs +1 -1
  5. package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs → ApiButton.vue_vue_type_script_setup_true_lang-ZLHP9S_H.mjs} +2 -2
  6. package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs.map → ApiButton.vue_vue_type_script_setup_true_lang-ZLHP9S_H.mjs.map} +1 -1
  7. package/dist/chunks/{AutoComplete-C6Nxatvt.mjs → AutoComplete-BKWrR5pD.mjs} +2 -2
  8. package/dist/chunks/{AutoComplete-C6Nxatvt.mjs.map → AutoComplete-BKWrR5pD.mjs.map} +1 -1
  9. package/dist/chunks/{CheckboxList-5AEx33r5.mjs → CheckboxList-5o9E0Tzg.mjs} +2 -2
  10. package/dist/chunks/{CheckboxList-5AEx33r5.mjs.map → CheckboxList-5o9E0Tzg.mjs.map} +1 -1
  11. package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs → ConfirmButton.vue_vue_type_script_setup_true_lang-Cz1M6QsL.mjs} +2 -2
  12. package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs.map → ConfirmButton.vue_vue_type_script_setup_true_lang-Cz1M6QsL.mjs.map} +1 -1
  13. package/dist/chunks/{DataForm-C6VLTSOm.mjs → DataForm-Dvx6GxlR.mjs} +8 -7
  14. package/dist/chunks/{DataForm-C6VLTSOm.mjs.map → DataForm-Dvx6GxlR.mjs.map} +1 -1
  15. package/dist/chunks/{DataGrid-Dd7n5JM7.mjs → DataGrid-Cw3yXhmR.mjs} +3 -3
  16. package/dist/chunks/{DataGrid-Dd7n5JM7.mjs.map → DataGrid-Cw3yXhmR.mjs.map} +1 -1
  17. package/dist/chunks/{DialogButton.vue_vue_type_script_setup_true_lang-CTXP79zc.mjs → DialogButton.vue_vue_type_script_setup_true_lang-ex2zYLZC.mjs} +2 -2
  18. package/dist/chunks/{DialogButton.vue_vue_type_script_setup_true_lang-CTXP79zc.mjs.map → DialogButton.vue_vue_type_script_setup_true_lang-ex2zYLZC.mjs.map} +1 -1
  19. package/dist/chunks/{Drawer-ucXKUecL.mjs → Drawer-BzdohcBg.mjs} +96 -90
  20. package/dist/chunks/Drawer-BzdohcBg.mjs.map +1 -0
  21. package/dist/chunks/{DrawerButton.vue_vue_type_script_setup_true_lang-DUda4p7_.mjs → DrawerButton.vue_vue_type_script_setup_true_lang-u5ifQw5k.mjs} +2 -2
  22. package/dist/chunks/{DrawerButton.vue_vue_type_script_setup_true_lang-DUda4p7_.mjs.map → DrawerButton.vue_vue_type_script_setup_true_lang-u5ifQw5k.mjs.map} +1 -1
  23. package/dist/chunks/{EditableGrid-CDeeVkaX.mjs → EditableGrid-Dr48XzLH.mjs} +6 -5
  24. package/dist/chunks/{EditableGrid-CDeeVkaX.mjs.map → EditableGrid-Dr48XzLH.mjs.map} +1 -1
  25. package/dist/chunks/Guide-AWaWvQoq.mjs +347 -0
  26. package/dist/chunks/Guide-AWaWvQoq.mjs.map +1 -0
  27. package/dist/chunks/Iframe-BB1Va2kZ.mjs +128 -0
  28. package/dist/chunks/Iframe-BB1Va2kZ.mjs.map +1 -0
  29. package/dist/chunks/{ImageUpload-CQA9XQ7Q.mjs → ImageUpload-DiJ16Aga.mjs} +5 -4
  30. package/dist/chunks/{ImageUpload-CQA9XQ7Q.mjs.map → ImageUpload-DiJ16Aga.mjs.map} +1 -1
  31. package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs → PromptButton.vue_vue_type_script_setup_true_lang-y_sfI324.mjs} +2 -2
  32. package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs.map → PromptButton.vue_vue_type_script_setup_true_lang-y_sfI324.mjs.map} +1 -1
  33. package/dist/chunks/{RadioList-BUWcP_Pk.mjs → RadioList-CQJDixnr.mjs} +2 -2
  34. package/dist/chunks/{RadioList-BUWcP_Pk.mjs.map → RadioList-CQJDixnr.mjs.map} +1 -1
  35. package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-nel6vN12.mjs +63 -0
  36. package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-nel6vN12.mjs.map +1 -0
  37. package/dist/chunks/{Select-uvFy7_NU.mjs → Select-ByH7uxuS.mjs} +2 -2
  38. package/dist/chunks/{Select-uvFy7_NU.mjs.map → Select-ByH7uxuS.mjs.map} +1 -1
  39. package/dist/chunks/{Station-BTP0SbBg.mjs → Station-DDoJem4F.mjs} +150 -139
  40. package/dist/chunks/Station-DDoJem4F.mjs.map +1 -0
  41. package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs → Switch.vue_vue_type_script_setup_true_lang-DrSXmsj6.mjs} +2 -2
  42. package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs.map → Switch.vue_vue_type_script_setup_true_lang-DrSXmsj6.mjs.map} +1 -1
  43. package/dist/chunks/Tips-B_18E4mc.mjs +71 -0
  44. package/dist/chunks/Tips-B_18E4mc.mjs.map +1 -0
  45. package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs → Upload.vue_vue_type_script_setup_true_lang-k-0PTz3l.mjs} +5 -4
  46. package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs.map → Upload.vue_vue_type_script_setup_true_lang-k-0PTz3l.mjs.map} +1 -1
  47. package/dist/chunks/{Viewer-CjLSQTrw.mjs → Viewer-CmTaneb6.mjs} +2 -2
  48. package/dist/chunks/{Viewer-CjLSQTrw.mjs.map → Viewer-CmTaneb6.mjs.map} +1 -1
  49. package/dist/chunks/config-CDqjABpD.mjs +1378 -0
  50. package/dist/chunks/config-CDqjABpD.mjs.map +1 -0
  51. package/dist/chunks/http-CW9konD4.mjs +2774 -0
  52. package/dist/chunks/http-CW9konD4.mjs.map +1 -0
  53. package/dist/chunks/{useApiAction-DxVQWWxv.mjs → useApiAction-CQVmN1MH.mjs} +2 -2
  54. package/dist/chunks/{useApiAction-DxVQWWxv.mjs.map → useApiAction-CQVmN1MH.mjs.map} +1 -1
  55. package/dist/chunks/{useColumnSettings-BwG2V9xp.mjs → useColumnSettings-CIFQCmzT.mjs} +22 -21
  56. package/dist/chunks/{useColumnSettings-BwG2V9xp.mjs.map → useColumnSettings-CIFQCmzT.mjs.map} +1 -1
  57. package/dist/chunks/useConfig-ChIkE3Lz.mjs +23 -0
  58. package/dist/chunks/useConfig-ChIkE3Lz.mjs.map +1 -0
  59. package/dist/chunks/{useOptionsLoader-DEVCYhrp.mjs → useOptionsLoader-BUO0VTjH.mjs} +2 -2
  60. package/dist/chunks/{useOptionsLoader-DEVCYhrp.mjs.map → useOptionsLoader-BUO0VTjH.mjs.map} +1 -1
  61. package/dist/confirm-button/index.mjs +1 -1
  62. package/dist/data-form/index.mjs +1 -1
  63. package/dist/data-grid/index.mjs +1 -1
  64. package/dist/dialog-button/index.mjs +1 -1
  65. package/dist/drawer/index.mjs +1 -1
  66. package/dist/drawer/style.css +1 -1
  67. package/dist/drawer-button/index.mjs +1 -1
  68. package/dist/editable-grid/index.mjs +1 -1
  69. package/dist/guide/index.mjs +7 -0
  70. package/dist/guide/index.mjs.map +1 -0
  71. package/dist/guide/style.css +1 -0
  72. package/dist/iframe/index.mjs +1 -1
  73. package/dist/iframe/style.css +1 -1
  74. package/dist/image-upload/index.mjs +1 -1
  75. package/dist/index.esm.js +194 -189
  76. package/dist/index.esm.js.map +1 -1
  77. package/dist/index.umd.js +25 -21
  78. package/dist/index.umd.js.map +1 -1
  79. package/dist/prompt-button/index.mjs +1 -1
  80. package/dist/radio-list/index.mjs +1 -1
  81. package/dist/requester/index.mjs +1 -1
  82. package/dist/select/index.mjs +1 -1
  83. package/dist/station/index.mjs +1 -1
  84. package/dist/station/style.css +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/switch/index.mjs +1 -1
  87. package/dist/tips/index.mjs +1 -1
  88. package/dist/tips/style.css +1 -1
  89. package/dist/types/src/components/buttons/ApiButton.vue.d.ts +3 -3
  90. package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +5 -5
  91. package/dist/types/src/components/buttons/DialogButton.vue.d.ts +3 -3
  92. package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +4 -4
  93. package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +6 -6
  94. package/dist/types/src/components/buttons/PromptButton.vue.d.ts +5 -5
  95. package/dist/types/src/components/buttons/RouteButton.vue.d.ts +1 -1
  96. package/dist/types/src/components/buttons/TipsButton.vue.d.ts +1 -1
  97. package/dist/types/src/components/containers/Drawer.vue.d.ts +4 -4
  98. package/dist/types/src/components/containers/Iframe.vue.d.ts +42 -0
  99. package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +5 -5
  100. package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +7 -7
  101. package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +1 -1
  102. package/dist/types/src/components/form/FormItem.vue.d.ts +1 -1
  103. package/dist/types/src/components/form/SearchItem.vue.d.ts +1 -1
  104. package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +10 -10
  105. package/dist/types/src/components/guide/Guide.vue.d.ts +116 -0
  106. package/dist/types/src/components/index.d.ts +2 -1
  107. package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +6 -6
  108. package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +6 -6
  109. package/dist/types/src/components/inputs/RadioList.vue.d.ts +6 -6
  110. package/dist/types/src/components/inputs/Select.vue.d.ts +6 -6
  111. package/dist/types/src/components/inputs/Switch.vue.d.ts +9 -9
  112. package/dist/types/src/components/layout/Station.vue.d.ts +15 -4
  113. package/dist/types/src/components/layout/types.d.ts +2 -0
  114. package/dist/types/src/components/styles/Path.vue.d.ts +1 -1
  115. package/dist/types/src/components/styles/Tips.vue.d.ts +17 -0
  116. package/dist/types/src/components/upload/ImageUpload.vue.d.ts +5 -5
  117. package/dist/types/src/components/upload/Upload.vue.d.ts +5 -5
  118. package/dist/types/src/entries/guide.d.ts +9 -0
  119. package/dist/upload/index.mjs +1 -1
  120. package/dist/viewer/index.mjs +1 -1
  121. package/package.json +1 -1
  122. package/dist/chunks/Drawer-ucXKUecL.mjs.map +0 -1
  123. package/dist/chunks/Iframe-CeSiMnvR.mjs +0 -65
  124. package/dist/chunks/Iframe-CeSiMnvR.mjs.map +0 -1
  125. package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs +0 -80
  126. package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs.map +0 -1
  127. package/dist/chunks/Station-BTP0SbBg.mjs.map +0 -1
  128. package/dist/chunks/Tips-IWCZcR1K.mjs +0 -63
  129. package/dist/chunks/Tips-IWCZcR1K.mjs.map +0 -1
  130. package/dist/chunks/http-C06mNpwY.mjs +0 -4141
  131. package/dist/chunks/http-C06mNpwY.mjs.map +0 -1
@@ -252,6 +252,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
252
252
  clearCart: typeof clearCart;
253
253
  tableRef: import("vue").Ref<any, any>;
254
254
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
255
+ "update:modelValue": (...args: any[]) => void;
255
256
  apiBefore: (...args: any[]) => void;
256
257
  apiAfter: (...args: any[]) => void;
257
258
  add: (...args: any[]) => void;
@@ -261,7 +262,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
261
262
  "selection-change": (...args: any[]) => void;
262
263
  "mode-change": (...args: any[]) => void;
263
264
  loaded: (...args: any[]) => void;
264
- "update:modelValue": (...args: any[]) => void;
265
265
  "cart-change": (...args: any[]) => void;
266
266
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
267
267
  api: {
@@ -461,6 +461,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
461
461
  default: string;
462
462
  };
463
463
  }>> & Readonly<{
464
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
464
465
  onApiBefore?: ((...args: any[]) => any) | undefined;
465
466
  onApiAfter?: ((...args: any[]) => any) | undefined;
466
467
  onAdd?: ((...args: any[]) => any) | undefined;
@@ -470,14 +471,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
470
471
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
471
472
  "onMode-change"?: ((...args: any[]) => any) | undefined;
472
473
  onLoaded?: ((...args: any[]) => any) | undefined;
473
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
474
474
  "onCart-change"?: ((...args: any[]) => any) | undefined;
475
475
  }>, {
476
476
  filter: string;
477
+ modelValue: any[];
478
+ active: boolean;
479
+ height: string | number;
477
480
  api: string;
478
481
  apiMethod: "post" | "delete" | "get" | "put";
479
482
  apiParam: Record<string, any>;
480
- active: boolean;
481
483
  dataSource: any;
482
484
  withPager: boolean;
483
485
  withSearch: boolean;
@@ -487,7 +489,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
487
489
  fix: boolean;
488
490
  border: boolean;
489
491
  stripe: boolean;
490
- height: string | number;
491
492
  autoHeight: boolean;
492
493
  rowKey: string;
493
494
  tableSize: "default" | "small" | "large";
@@ -499,7 +500,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
499
500
  rowspanColumn: string[];
500
501
  treeProps: Record<string, any>;
501
502
  defaultExpandAll: boolean;
502
- modelValue: any[];
503
503
  selectionKey: string;
504
504
  tools: {
505
505
  refresh?: boolean;
@@ -303,6 +303,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
303
303
  getDirtyRows: typeof getDirtyRows;
304
304
  tableRef: import("vue").Ref<any, any>;
305
305
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
306
+ "update:modelValue": (...args: any[]) => void;
307
+ change: (...args: any[]) => void;
306
308
  apiBefore: (...args: any[]) => void;
307
309
  apiSuccess: (...args: any[]) => void;
308
310
  apiFail: (...args: any[]) => void;
@@ -313,8 +315,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
313
315
  "selection-change": (...args: any[]) => void;
314
316
  "mode-change": (...args: any[]) => void;
315
317
  loaded: (...args: any[]) => void;
316
- "update:modelValue": (...args: any[]) => void;
317
- change: (...args: any[]) => void;
318
318
  save: (...args: any[]) => void;
319
319
  "row-add": (...args: any[]) => void;
320
320
  "row-remove": (...args: any[]) => void;
@@ -508,6 +508,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
508
508
  default: string;
509
509
  };
510
510
  }>> & Readonly<{
511
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
512
+ onChange?: ((...args: any[]) => any) | undefined;
511
513
  onApiBefore?: ((...args: any[]) => any) | undefined;
512
514
  onApiSuccess?: ((...args: any[]) => any) | undefined;
513
515
  onApiFail?: ((...args: any[]) => any) | undefined;
@@ -518,18 +520,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
518
520
  "onSelection-change"?: ((...args: any[]) => any) | undefined;
519
521
  "onMode-change"?: ((...args: any[]) => any) | undefined;
520
522
  onLoaded?: ((...args: any[]) => any) | undefined;
521
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
522
- onChange?: ((...args: any[]) => any) | undefined;
523
523
  onSave?: ((...args: any[]) => any) | undefined;
524
524
  "onRow-add"?: ((...args: any[]) => any) | undefined;
525
525
  "onRow-remove"?: ((...args: any[]) => any) | undefined;
526
526
  "onValidate-fail"?: ((...args: any[]) => any) | undefined;
527
527
  }>, {
528
528
  filter: string;
529
+ modelValue: Record<string, any>[];
530
+ active: boolean;
531
+ height: string | number;
529
532
  api: string;
530
533
  apiMethod: "post" | "delete" | "get" | "put";
531
534
  apiParam: Record<string, any>;
532
- active: boolean;
533
535
  dataSource: any;
534
536
  withPager: boolean;
535
537
  withSearch: boolean;
@@ -539,7 +541,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
539
541
  fix: boolean;
540
542
  border: boolean;
541
543
  stripe: boolean;
542
- height: string | number;
543
544
  autoHeight: boolean;
544
545
  rowKey: string;
545
546
  tableSize: "default" | "small" | "large";
@@ -550,7 +551,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
550
551
  rowspanColumn: string[];
551
552
  treeProps: Record<string, any>;
552
553
  defaultExpandAll: boolean;
553
- modelValue: Record<string, any>[];
554
554
  tools: {
555
555
  refresh?: boolean;
556
556
  columnSetting?: boolean;
@@ -167,11 +167,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
167
167
  "onLoad-fail"?: ((...args: any[]) => any) | undefined;
168
168
  }>, {
169
169
  title: string;
170
+ active: boolean;
170
171
  size: "default" | "small" | "large";
171
172
  api: string;
172
173
  apiMethod: "post" | "delete" | "get" | "put";
173
174
  apiParam: Record<string, any>;
174
- active: boolean;
175
175
  border: boolean;
176
176
  column: number | Record<string, any>;
177
177
  labelStyle: Record<string, any>;
@@ -51,7 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
51
51
  label: string;
52
52
  prop: string;
53
53
  tip: string;
54
- tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
54
+ tipPlacement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
56
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
57
  export default _default;
@@ -51,7 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
51
51
  label: string;
52
52
  prop: string;
53
53
  tip: string;
54
- tipPlacement: "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
54
+ tipPlacement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
56
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
57
  export default _default;
@@ -99,12 +99,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
99
99
  };
100
100
  /** 提交后关闭抽屉 */
101
101
  headCloseDrawer: {
102
- type: (StringConstructor | BooleanConstructor)[];
102
+ type: (BooleanConstructor | StringConstructor)[];
103
103
  default: boolean;
104
104
  };
105
105
  /** 提交后刷新表格 */
106
106
  headRefreshDatagrid: {
107
- type: (StringConstructor | BooleanConstructor)[];
107
+ type: (BooleanConstructor | StringConstructor)[];
108
108
  default: boolean;
109
109
  };
110
110
  /** 显示连续操作按钮 */
@@ -150,10 +150,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
150
150
  fillForm: typeof fillForm;
151
151
  formRef: import("vue").Ref<any, any>;
152
152
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
153
- apiBefore: (...args: any[]) => void;
154
- apiAfter: (...args: any[]) => void;
155
153
  close: (...args: any[]) => void;
156
154
  change: (...args: any[]) => void;
155
+ apiBefore: (...args: any[]) => void;
156
+ apiAfter: (...args: any[]) => void;
157
157
  "load-success": (...args: any[]) => void;
158
158
  "submit-success": (...args: any[]) => void;
159
159
  "submit-fail": (...args: any[]) => void;
@@ -224,12 +224,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
224
224
  };
225
225
  /** 提交后关闭抽屉 */
226
226
  headCloseDrawer: {
227
- type: (StringConstructor | BooleanConstructor)[];
227
+ type: (BooleanConstructor | StringConstructor)[];
228
228
  default: boolean;
229
229
  };
230
230
  /** 提交后刷新表格 */
231
231
  headRefreshDatagrid: {
232
- type: (StringConstructor | BooleanConstructor)[];
232
+ type: (BooleanConstructor | StringConstructor)[];
233
233
  default: boolean;
234
234
  };
235
235
  /** 显示连续操作按钮 */
@@ -265,21 +265,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
265
265
  default: undefined;
266
266
  };
267
267
  }>> & Readonly<{
268
- onApiBefore?: ((...args: any[]) => any) | undefined;
269
- onApiAfter?: ((...args: any[]) => any) | undefined;
270
268
  onClose?: ((...args: any[]) => any) | undefined;
271
269
  onChange?: ((...args: any[]) => any) | undefined;
270
+ onApiBefore?: ((...args: any[]) => any) | undefined;
271
+ onApiAfter?: ((...args: any[]) => any) | undefined;
272
272
  "onLoad-success"?: ((...args: any[]) => any) | undefined;
273
273
  "onSubmit-success"?: ((...args: any[]) => any) | undefined;
274
274
  "onSubmit-fail"?: ((...args: any[]) => any) | undefined;
275
275
  }>, {
276
276
  data: Record<string, any>;
277
277
  filter: string;
278
+ inline: boolean;
279
+ active: boolean;
278
280
  mode: "create" | "edit";
279
281
  api: string;
280
282
  apiMethod: "post" | "get";
281
283
  apiParam: Record<string, any>;
282
- active: boolean;
283
284
  withActions: boolean;
284
285
  headRefreshDatagrid: string | boolean;
285
286
  submitApi: string;
@@ -300,7 +301,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
300
301
  rules: Record<string, any>;
301
302
  labelWidth: string | number;
302
303
  labelPosition: "left" | "right" | "top";
303
- inline: boolean;
304
304
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
305
305
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
306
306
  export default _default;
@@ -0,0 +1,116 @@
1
+ type Placement = 'top' | 'bottom' | 'left' | 'right' | 'center';
2
+ type GuideResult = 'finish' | 'skip' | 'close';
3
+ /** 单步指引配置 */
4
+ export interface GuideStep {
5
+ /** 目标元素:CSS 选择器或元素引用 */
6
+ target: string | HTMLElement;
7
+ /** 标题 */
8
+ title?: string;
9
+ /** 描述文字 */
10
+ description?: string;
11
+ /** 面板优先位置(空间不足自动翻转) */
12
+ placement?: Placement;
13
+ /** 高亮样式:rect 矩形(默认)/ circle 圆形 / none 不挖洞 */
14
+ highlight?: 'rect' | 'circle' | 'none';
15
+ /** 高亮区域外扩 px */
16
+ padding?: number;
17
+ /** 激活时是否滚动目标到可视区 */
18
+ scrollIntoView?: boolean;
19
+ }
20
+ type __VLS_Props = {
21
+ /** 显隐(v-model) */
22
+ modelValue?: boolean;
23
+ /** 指引步骤 */
24
+ steps: GuideStep[];
25
+ /** 蒙版颜色(任意 CSS 颜色,支持 rgba) */
26
+ maskColor?: string;
27
+ /** 高亮区域与目标元素的外扩间距 px */
28
+ padding?: number;
29
+ /** 点击蒙版是否关闭 */
30
+ closeOnClickModal?: boolean;
31
+ /** 是否显示右上角关闭按钮 */
32
+ showClose?: boolean;
33
+ /** 是否显示「跳过」按钮 */
34
+ showSkip?: boolean;
35
+ /** 是否显示步骤圆点 */
36
+ showDots?: boolean;
37
+ /** 是否显示面板(false 时仅高亮,可用于纯聚焦场景) */
38
+ showPanel?: boolean;
39
+ /** 是否支持 ESC 关闭、方向键切换 */
40
+ keyboard?: boolean;
41
+ /** 激活时自动滚动目标元素到可视区 */
42
+ scrollIntoView?: boolean;
43
+ /** 挂载位置:body / 选择器 / none(不 teleport) */
44
+ appendTo?: string;
45
+ skipText?: string;
46
+ prevText?: string;
47
+ nextText?: string;
48
+ finishText?: string;
49
+ };
50
+ declare function updatePosition(): void;
51
+ declare function goTo(index: number): void;
52
+ declare function next(): void;
53
+ declare function prev(): void;
54
+ declare function finish(result: GuideResult): void;
55
+ declare function open(): void;
56
+ declare var __VLS_21: {
57
+ step: GuideStep;
58
+ index: number;
59
+ total: number;
60
+ current: number;
61
+ prev: typeof prev;
62
+ next: typeof next;
63
+ close: typeof finish;
64
+ };
65
+ type __VLS_Slots = {} & {
66
+ panel?: (props: typeof __VLS_21) => any;
67
+ };
68
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
69
+ /** 打开指引(默认从第 0 步开始) */
70
+ open: typeof open;
71
+ /** 关闭指引 */
72
+ close: () => void;
73
+ /** 下一步(最后一步时完成) */
74
+ next: typeof next;
75
+ /** 上一步 */
76
+ prev: typeof prev;
77
+ /** 跳转到指定步骤 */
78
+ goTo: typeof goTo;
79
+ /** 重新计算目标位置(目标元素移动/尺寸变化后调用) */
80
+ refresh: typeof updatePosition;
81
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
+ finish: (...args: any[]) => void;
83
+ skip: (...args: any[]) => void;
84
+ close: (...args: any[]) => void;
85
+ "update:modelValue": (...args: any[]) => void;
86
+ change: (...args: any[]) => void;
87
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
88
+ onFinish?: ((...args: any[]) => any) | undefined;
89
+ onSkip?: ((...args: any[]) => any) | undefined;
90
+ onClose?: ((...args: any[]) => any) | undefined;
91
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
92
+ onChange?: ((...args: any[]) => any) | undefined;
93
+ }>, {
94
+ modelValue: boolean;
95
+ maskColor: string;
96
+ padding: number;
97
+ closeOnClickModal: boolean;
98
+ showClose: boolean;
99
+ showSkip: boolean;
100
+ showDots: boolean;
101
+ showPanel: boolean;
102
+ keyboard: boolean;
103
+ scrollIntoView: boolean;
104
+ appendTo: string;
105
+ skipText: string;
106
+ prevText: string;
107
+ nextText: string;
108
+ finishText: string;
109
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
111
+ export default _default;
112
+ type __VLS_WithSlots<T, S> = T & {
113
+ new (): {
114
+ $slots: S;
115
+ };
116
+ };
@@ -1,6 +1,7 @@
1
1
  /**
2
- * 组件汇总导出(29 个组件)
2
+ * 组件汇总导出(30 个组件)
3
3
  */
4
+ export { default as WdGuide } from './guide/Guide.vue';
4
5
  export { default as WdDataGrid } from './data/datagrid/DataGrid.vue';
5
6
  export { default as WdEditableGrid } from './data/editable-grid/EditableGrid.vue';
6
7
  export { default as WdViewer } from './data/viewer/Viewer.vue';
@@ -68,12 +68,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
68
68
  };
69
69
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
70
70
  select: (...args: any[]) => void;
71
+ "update:modelValue": (...args: any[]) => void;
72
+ change: (...args: any[]) => void;
71
73
  apiBefore: (...args: any[]) => void;
72
74
  apiSuccess: (...args: any[]) => void;
73
75
  apiFail: (...args: any[]) => void;
74
76
  apiAfter: (...args: any[]) => void;
75
- "update:modelValue": (...args: any[]) => void;
76
- change: (...args: any[]) => void;
77
77
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
78
  modelValue: {
79
79
  type: StringConstructor;
@@ -135,19 +135,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
135
135
  };
136
136
  }>> & Readonly<{
137
137
  onSelect?: ((...args: any[]) => any) | undefined;
138
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
139
+ onChange?: ((...args: any[]) => any) | undefined;
138
140
  onApiBefore?: ((...args: any[]) => any) | undefined;
139
141
  onApiSuccess?: ((...args: any[]) => any) | undefined;
140
142
  onApiFail?: ((...args: any[]) => any) | undefined;
141
143
  onApiAfter?: ((...args: any[]) => any) | undefined;
142
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
- onChange?: ((...args: any[]) => any) | undefined;
144
144
  }>, {
145
+ modelValue: string;
146
+ active: boolean;
145
147
  api: string;
146
148
  apiMethod: "post" | "get";
147
149
  apiParam: Record<string, any>;
148
- active: boolean;
149
150
  dataSource: any[];
150
- modelValue: string;
151
151
  keywordKey: string;
152
152
  textProp: string;
153
153
  valueProp: string;
@@ -80,12 +80,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
80
  default: () => {};
81
81
  };
82
82
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ "update:modelValue": (...args: any[]) => void;
84
+ change: (...args: any[]) => void;
83
85
  apiBefore: (...args: any[]) => void;
84
86
  apiSuccess: (...args: any[]) => void;
85
87
  apiFail: (...args: any[]) => void;
86
88
  apiAfter: (...args: any[]) => void;
87
- "update:modelValue": (...args: any[]) => void;
88
- change: (...args: any[]) => void;
89
89
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
90
90
  modelValue: {
91
91
  type: PropType<any[]>;
@@ -137,19 +137,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
137
137
  default: () => {};
138
138
  };
139
139
  }>> & Readonly<{
140
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
141
+ onChange?: ((...args: any[]) => any) | undefined;
140
142
  onApiBefore?: ((...args: any[]) => any) | undefined;
141
143
  onApiSuccess?: ((...args: any[]) => any) | undefined;
142
144
  onApiFail?: ((...args: any[]) => any) | undefined;
143
145
  onApiAfter?: ((...args: any[]) => any) | undefined;
144
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
145
- onChange?: ((...args: any[]) => any) | undefined;
146
146
  }>, {
147
+ modelValue: any[];
148
+ active: boolean;
147
149
  api: string;
148
150
  apiMethod: "post" | "get";
149
151
  apiParam: Record<string, any>;
150
- active: boolean;
151
152
  dataSource: any[];
152
- modelValue: any[];
153
153
  textProp: string;
154
154
  valueProp: string;
155
155
  tipsProp: string;
@@ -80,12 +80,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
80
  default: () => {};
81
81
  };
82
82
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ "update:modelValue": (...args: any[]) => void;
84
+ change: (...args: any[]) => void;
83
85
  apiBefore: (...args: any[]) => void;
84
86
  apiSuccess: (...args: any[]) => void;
85
87
  apiFail: (...args: any[]) => void;
86
88
  apiAfter: (...args: any[]) => void;
87
- "update:modelValue": (...args: any[]) => void;
88
- change: (...args: any[]) => void;
89
89
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
90
90
  modelValue: {
91
91
  type: PropType<any>;
@@ -137,19 +137,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
137
137
  default: () => {};
138
138
  };
139
139
  }>> & Readonly<{
140
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
141
+ onChange?: ((...args: any[]) => any) | undefined;
140
142
  onApiBefore?: ((...args: any[]) => any) | undefined;
141
143
  onApiSuccess?: ((...args: any[]) => any) | undefined;
142
144
  onApiFail?: ((...args: any[]) => any) | undefined;
143
145
  onApiAfter?: ((...args: any[]) => any) | undefined;
144
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
145
- onChange?: ((...args: any[]) => any) | undefined;
146
146
  }>, {
147
+ modelValue: any;
148
+ active: boolean;
147
149
  api: string;
148
150
  apiMethod: "post" | "get";
149
151
  apiParam: Record<string, any>;
150
- active: boolean;
151
152
  dataSource: any[];
152
- modelValue: any;
153
153
  textProp: string;
154
154
  valueProp: string;
155
155
  tipsProp: string;
@@ -73,12 +73,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
73
73
  default: () => {};
74
74
  };
75
75
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
+ "update:modelValue": (...args: any[]) => void;
77
+ change: (...args: any[]) => void;
76
78
  apiBefore: (...args: any[]) => void;
77
79
  apiSuccess: (...args: any[]) => void;
78
80
  apiFail: (...args: any[]) => void;
79
81
  apiAfter: (...args: any[]) => void;
80
- "update:modelValue": (...args: any[]) => void;
81
- change: (...args: any[]) => void;
82
82
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
83
  modelValue: {
84
84
  type: PropType<any>;
@@ -144,19 +144,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
144
144
  default: () => {};
145
145
  };
146
146
  }>> & Readonly<{
147
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
148
+ onChange?: ((...args: any[]) => any) | undefined;
147
149
  onApiBefore?: ((...args: any[]) => any) | undefined;
148
150
  onApiSuccess?: ((...args: any[]) => any) | undefined;
149
151
  onApiFail?: ((...args: any[]) => any) | undefined;
150
152
  onApiAfter?: ((...args: any[]) => any) | undefined;
151
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
152
- onChange?: ((...args: any[]) => any) | undefined;
153
153
  }>, {
154
+ modelValue: any;
155
+ active: boolean;
154
156
  api: string;
155
157
  apiMethod: "post" | "get";
156
158
  apiParam: Record<string, any>;
157
- active: boolean;
158
159
  dataSource: any[];
159
- modelValue: any;
160
160
  multiple: boolean;
161
161
  remote: boolean;
162
162
  filterable: boolean;
@@ -15,11 +15,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
15
15
  default: string;
16
16
  };
17
17
  activeValue: {
18
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
18
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
19
19
  default: boolean;
20
20
  };
21
21
  inactiveValue: {
22
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
22
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
23
23
  default: boolean;
24
24
  };
25
25
  api: {
@@ -43,13 +43,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
43
43
  default: string;
44
44
  };
45
45
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ "update:modelValue": (...args: any[]) => void;
47
+ change: (...args: any[]) => void;
46
48
  apiBefore: (...args: any[]) => void;
47
49
  apiSuccess: (...args: any[]) => void;
48
50
  apiFail: (...args: any[]) => void;
49
51
  apiException: (...args: any[]) => void;
50
52
  apiAfter: (...args: any[]) => void;
51
- "update:modelValue": (...args: any[]) => void;
52
- change: (...args: any[]) => void;
53
53
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
54
  modelValue: {
55
55
  type: PropType<any>;
@@ -66,11 +66,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  default: string;
67
67
  };
68
68
  activeValue: {
69
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
69
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
70
70
  default: boolean;
71
71
  };
72
72
  inactiveValue: {
73
- type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
73
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
74
74
  default: boolean;
75
75
  };
76
76
  api: {
@@ -94,19 +94,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
94
  default: string;
95
95
  };
96
96
  }>> & Readonly<{
97
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
98
+ onChange?: ((...args: any[]) => any) | undefined;
97
99
  onApiBefore?: ((...args: any[]) => any) | undefined;
98
100
  onApiSuccess?: ((...args: any[]) => any) | undefined;
99
101
  onApiFail?: ((...args: any[]) => any) | undefined;
100
102
  onApiException?: ((...args: any[]) => any) | undefined;
101
103
  onApiAfter?: ((...args: any[]) => any) | undefined;
102
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
103
- onChange?: ((...args: any[]) => any) | undefined;
104
104
  }>, {
105
105
  filter: string;
106
+ modelValue: any;
106
107
  api: string;
107
108
  apiMethod: "post" | "delete" | "get" | "put";
108
109
  apiParam: Record<string, any>;
109
- modelValue: any;
110
110
  tips: string;
111
111
  headRefreshDatagrid: string | boolean;
112
112
  paramKey: string;
@@ -11,7 +11,7 @@ declare var __VLS_1: {
11
11
  collapsed: boolean;
12
12
  }, __VLS_103: {
13
13
  collapsed: boolean;
14
- }, __VLS_165: {}, __VLS_175: {}, __VLS_177: {}, __VLS_231: {}, __VLS_244: {}, __VLS_246: {}, __VLS_316: {}, __VLS_330: {}, __VLS_332: {};
14
+ }, __VLS_165: {}, __VLS_175: {}, __VLS_177: {}, __VLS_231: {}, __VLS_244: {}, __VLS_246: {}, __VLS_324: {}, __VLS_338: {}, __VLS_340: {};
15
15
  type __VLS_Slots = {} & {
16
16
  logo?: (props: typeof __VLS_1) => any;
17
17
  } & {
@@ -33,11 +33,11 @@ type __VLS_Slots = {} & {
33
33
  } & {
34
34
  'tabs-left'?: (props: typeof __VLS_246) => any;
35
35
  } & {
36
- 'tabs-right'?: (props: typeof __VLS_316) => any;
36
+ 'tabs-right'?: (props: typeof __VLS_324) => any;
37
37
  } & {
38
- default?: (props: typeof __VLS_330) => any;
38
+ default?: (props: typeof __VLS_338) => any;
39
39
  } & {
40
- footer?: (props: typeof __VLS_332) => any;
40
+ footer?: (props: typeof __VLS_340) => any;
41
41
  };
42
42
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
43
43
  /** 系统标题(logo 区 / headerMode=title 时的头部标题) */
@@ -110,6 +110,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
110
110
  type: PropType<StationTab[]>;
111
111
  default: undefined;
112
112
  };
113
+ /** tabs 标签标题是否显示菜单图标(true 时菜单项 icon 随 tab 显示在标题前) */
114
+ tabIcon: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
113
118
  /** 用户名(有值显示用户下拉,无值显示登录按钮) */
114
119
  userName: {
115
120
  type: StringConstructor;
@@ -233,6 +238,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
233
238
  type: PropType<StationTab[]>;
234
239
  default: undefined;
235
240
  };
241
+ /** tabs 标签标题是否显示菜单图标(true 时菜单项 icon 随 tab 显示在标题前) */
242
+ tabIcon: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
236
246
  /** 用户名(有值显示用户下拉,无值显示登录按钮) */
237
247
  userName: {
238
248
  type: StringConstructor;
@@ -297,6 +307,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
297
307
  activeGroup: string;
298
308
  activeMenu: string;
299
309
  openTabs: StationTab[];
310
+ tabIcon: boolean;
300
311
  userName: string;
301
312
  userAvatar: string;
302
313
  copyright: string;
@@ -42,6 +42,8 @@ export interface StationMenuGroup {
42
42
  export interface StationTab {
43
43
  key: string;
44
44
  title: string;
45
+ /** 标签图标(菜单项打开时自动携带;tab-icon=false 可关闭渲染) */
46
+ icon?: string | object;
45
47
  path?: string;
46
48
  affix?: boolean;
47
49
  }
@@ -93,11 +93,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
93
93
  }>, {
94
94
  filter: string;
95
95
  mode: "auto" | "manual";
96
+ animation: "none" | "fade" | "slide";
96
97
  items: string | PathItem[];
97
98
  home: string;
98
99
  showHome: boolean;
99
100
  separator: string;
100
- animation: "none" | "fade" | "slide";
101
101
  container: string | HTMLElement;
102
102
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
103
  export default _default;