workdesktop-ai 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-button/index.mjs +1 -1
- package/dist/auto-complete/index.mjs +1 -1
- package/dist/checkbox-list/index.mjs +1 -1
- package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs → ApiButton.vue_vue_type_script_setup_true_lang-GBEBLUxz.mjs} +2 -2
- package/dist/chunks/{ApiButton.vue_vue_type_script_setup_true_lang-3BjZSAPZ.mjs.map → ApiButton.vue_vue_type_script_setup_true_lang-GBEBLUxz.mjs.map} +1 -1
- package/dist/chunks/{AutoComplete-C6Nxatvt.mjs → AutoComplete-DqyhsqiS.mjs} +2 -2
- package/dist/chunks/{AutoComplete-C6Nxatvt.mjs.map → AutoComplete-DqyhsqiS.mjs.map} +1 -1
- package/dist/chunks/{CheckboxList-5AEx33r5.mjs → CheckboxList-RxJGe-LQ.mjs} +2 -2
- package/dist/chunks/{CheckboxList-5AEx33r5.mjs.map → CheckboxList-RxJGe-LQ.mjs.map} +1 -1
- package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs → ConfirmButton.vue_vue_type_script_setup_true_lang-BPtvM5GB.mjs} +2 -2
- package/dist/chunks/{ConfirmButton.vue_vue_type_script_setup_true_lang-CXYH1Rlc.mjs.map → ConfirmButton.vue_vue_type_script_setup_true_lang-BPtvM5GB.mjs.map} +1 -1
- package/dist/chunks/{DataForm-C6VLTSOm.mjs → DataForm-DYMderSS.mjs} +8 -7
- package/dist/chunks/{DataForm-C6VLTSOm.mjs.map → DataForm-DYMderSS.mjs.map} +1 -1
- package/dist/chunks/{DataGrid-Dd7n5JM7.mjs → DataGrid-DWAhwLVk.mjs} +3 -3
- package/dist/chunks/{DataGrid-Dd7n5JM7.mjs.map → DataGrid-DWAhwLVk.mjs.map} +1 -1
- 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
- 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
- package/dist/chunks/{Drawer-ucXKUecL.mjs → Drawer-BzdohcBg.mjs} +96 -90
- package/dist/chunks/Drawer-BzdohcBg.mjs.map +1 -0
- 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
- 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
- package/dist/chunks/{EditableGrid-CDeeVkaX.mjs → EditableGrid-e3wwCaem.mjs} +6 -5
- package/dist/chunks/{EditableGrid-CDeeVkaX.mjs.map → EditableGrid-e3wwCaem.mjs.map} +1 -1
- package/dist/chunks/Guide-AWaWvQoq.mjs +347 -0
- package/dist/chunks/Guide-AWaWvQoq.mjs.map +1 -0
- package/dist/chunks/Iframe-DcFFi0S9.mjs +128 -0
- package/dist/chunks/Iframe-DcFFi0S9.mjs.map +1 -0
- package/dist/chunks/{ImageUpload-CQA9XQ7Q.mjs → ImageUpload-BK7tbU2o.mjs} +5 -4
- package/dist/chunks/{ImageUpload-CQA9XQ7Q.mjs.map → ImageUpload-BK7tbU2o.mjs.map} +1 -1
- package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs → PromptButton.vue_vue_type_script_setup_true_lang-82Mxc2Qv.mjs} +2 -2
- package/dist/chunks/{PromptButton.vue_vue_type_script_setup_true_lang-oYaMH-CI.mjs.map → PromptButton.vue_vue_type_script_setup_true_lang-82Mxc2Qv.mjs.map} +1 -1
- package/dist/chunks/{RadioList-BUWcP_Pk.mjs → RadioList-DuEeHumw.mjs} +2 -2
- package/dist/chunks/{RadioList-BUWcP_Pk.mjs.map → RadioList-DuEeHumw.mjs.map} +1 -1
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-xCw4QHCA.mjs +63 -0
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-xCw4QHCA.mjs.map +1 -0
- package/dist/chunks/{Select-uvFy7_NU.mjs → Select-MD3taMJo.mjs} +2 -2
- package/dist/chunks/{Select-uvFy7_NU.mjs.map → Select-MD3taMJo.mjs.map} +1 -1
- package/dist/chunks/{Station-BTP0SbBg.mjs → Station-2m9uznh3.mjs} +2 -2
- package/dist/chunks/{Station-BTP0SbBg.mjs.map → Station-2m9uznh3.mjs.map} +1 -1
- package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs → Switch.vue_vue_type_script_setup_true_lang-vok-8-BT.mjs} +2 -2
- package/dist/chunks/{Switch.vue_vue_type_script_setup_true_lang-DUhXAGs2.mjs.map → Switch.vue_vue_type_script_setup_true_lang-vok-8-BT.mjs.map} +1 -1
- package/dist/chunks/Tips-B_18E4mc.mjs +71 -0
- package/dist/chunks/Tips-B_18E4mc.mjs.map +1 -0
- package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs → Upload.vue_vue_type_script_setup_true_lang-DVDw-3mF.mjs} +5 -4
- package/dist/chunks/{Upload.vue_vue_type_script_setup_true_lang-CHGCjpKK.mjs.map → Upload.vue_vue_type_script_setup_true_lang-DVDw-3mF.mjs.map} +1 -1
- package/dist/chunks/{Viewer-CjLSQTrw.mjs → Viewer-FSV6xObc.mjs} +2 -2
- package/dist/chunks/{Viewer-CjLSQTrw.mjs.map → Viewer-FSV6xObc.mjs.map} +1 -1
- package/dist/chunks/config-B6nWG5dv.mjs +1378 -0
- package/dist/chunks/config-B6nWG5dv.mjs.map +1 -0
- package/dist/chunks/http-BKKP0gEJ.mjs +2774 -0
- package/dist/chunks/http-BKKP0gEJ.mjs.map +1 -0
- package/dist/chunks/{useApiAction-DxVQWWxv.mjs → useApiAction-71XPKjlQ.mjs} +2 -2
- package/dist/chunks/{useApiAction-DxVQWWxv.mjs.map → useApiAction-71XPKjlQ.mjs.map} +1 -1
- package/dist/chunks/{useColumnSettings-BwG2V9xp.mjs → useColumnSettings-CbiWd27-.mjs} +22 -21
- package/dist/chunks/{useColumnSettings-BwG2V9xp.mjs.map → useColumnSettings-CbiWd27-.mjs.map} +1 -1
- package/dist/chunks/useConfig-CPioiLWJ.mjs +23 -0
- package/dist/chunks/useConfig-CPioiLWJ.mjs.map +1 -0
- package/dist/chunks/{useOptionsLoader-DEVCYhrp.mjs → useOptionsLoader-D4Jh4f1F.mjs} +2 -2
- package/dist/chunks/{useOptionsLoader-DEVCYhrp.mjs.map → useOptionsLoader-D4Jh4f1F.mjs.map} +1 -1
- package/dist/confirm-button/index.mjs +1 -1
- package/dist/data-form/index.mjs +1 -1
- package/dist/data-grid/index.mjs +1 -1
- package/dist/dialog-button/index.mjs +1 -1
- package/dist/drawer/index.mjs +1 -1
- package/dist/drawer/style.css +1 -1
- package/dist/drawer-button/index.mjs +1 -1
- package/dist/editable-grid/index.mjs +1 -1
- package/dist/guide/index.mjs +7 -0
- package/dist/guide/index.mjs.map +1 -0
- package/dist/guide/style.css +1 -0
- package/dist/iframe/index.mjs +1 -1
- package/dist/iframe/style.css +1 -1
- package/dist/image-upload/index.mjs +1 -1
- package/dist/index.esm.js +194 -189
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +25 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/prompt-button/index.mjs +1 -1
- package/dist/radio-list/index.mjs +1 -1
- package/dist/requester/index.mjs +1 -1
- package/dist/select/index.mjs +1 -1
- package/dist/station/index.mjs +1 -1
- package/dist/station/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/switch/index.mjs +1 -1
- package/dist/tips/index.mjs +1 -1
- package/dist/tips/style.css +1 -1
- package/dist/types/src/components/buttons/ApiButton.vue.d.ts +3 -3
- package/dist/types/src/components/buttons/ConfirmButton.vue.d.ts +5 -5
- package/dist/types/src/components/buttons/DialogButton.vue.d.ts +3 -3
- package/dist/types/src/components/buttons/DrawerButton.vue.d.ts +4 -4
- package/dist/types/src/components/buttons/PopconfirmButton.vue.d.ts +6 -6
- package/dist/types/src/components/buttons/PromptButton.vue.d.ts +5 -5
- package/dist/types/src/components/buttons/RouteButton.vue.d.ts +1 -1
- package/dist/types/src/components/buttons/TipsButton.vue.d.ts +1 -1
- package/dist/types/src/components/containers/Drawer.vue.d.ts +4 -4
- package/dist/types/src/components/containers/Iframe.vue.d.ts +42 -0
- package/dist/types/src/components/data/datagrid/DataGrid.vue.d.ts +5 -5
- package/dist/types/src/components/data/editable-grid/EditableGrid.vue.d.ts +7 -7
- package/dist/types/src/components/data/viewer/Viewer.vue.d.ts +1 -1
- package/dist/types/src/components/form/FormItem.vue.d.ts +1 -1
- package/dist/types/src/components/form/SearchItem.vue.d.ts +1 -1
- package/dist/types/src/components/form/data-form/DataForm.vue.d.ts +10 -10
- package/dist/types/src/components/guide/Guide.vue.d.ts +116 -0
- package/dist/types/src/components/index.d.ts +2 -1
- package/dist/types/src/components/inputs/AutoComplete.vue.d.ts +6 -6
- package/dist/types/src/components/inputs/CheckboxList.vue.d.ts +6 -6
- package/dist/types/src/components/inputs/RadioList.vue.d.ts +6 -6
- package/dist/types/src/components/inputs/Select.vue.d.ts +6 -6
- package/dist/types/src/components/inputs/Switch.vue.d.ts +9 -9
- package/dist/types/src/components/styles/Path.vue.d.ts +1 -1
- package/dist/types/src/components/styles/Tips.vue.d.ts +17 -0
- package/dist/types/src/components/upload/ImageUpload.vue.d.ts +5 -5
- package/dist/types/src/components/upload/Upload.vue.d.ts +5 -5
- package/dist/types/src/entries/guide.d.ts +9 -0
- package/dist/upload/index.mjs +1 -1
- package/dist/viewer/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunks/Drawer-ucXKUecL.mjs.map +0 -1
- package/dist/chunks/Iframe-CeSiMnvR.mjs +0 -65
- package/dist/chunks/Iframe-CeSiMnvR.mjs.map +0 -1
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs +0 -80
- package/dist/chunks/Requester.vue_vue_type_script_setup_true_lang-DkLqAjug.mjs.map +0 -1
- package/dist/chunks/Tips-IWCZcR1K.mjs +0 -63
- package/dist/chunks/Tips-IWCZcR1K.mjs.map +0 -1
- package/dist/chunks/http-C06mNpwY.mjs +0 -4141
- 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" | "
|
|
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" | "
|
|
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: (
|
|
102
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
103
103
|
default: boolean;
|
|
104
104
|
};
|
|
105
105
|
/** 提交后刷新表格 */
|
|
106
106
|
headRefreshDatagrid: {
|
|
107
|
-
type: (
|
|
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: (
|
|
227
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
228
228
|
default: boolean;
|
|
229
229
|
};
|
|
230
230
|
/** 提交后刷新表格 */
|
|
231
231
|
headRefreshDatagrid: {
|
|
232
|
-
type: (
|
|
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
|
-
* 组件汇总导出(
|
|
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: (
|
|
18
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
inactiveValue: {
|
|
22
|
-
type: (
|
|
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: (
|
|
69
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
72
|
inactiveValue: {
|
|
73
|
-
type: (
|
|
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;
|
|
@@ -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;
|
|
@@ -24,6 +24,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* box 模式背景:none=不带背景(默认);primary=主题色浅底(文字取主题色);
|
|
29
|
+
* 也可传任意 CSS 颜色值(如 '#FEFEFE'、'rgba(...)')
|
|
30
|
+
*/
|
|
31
|
+
bg: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
27
35
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
36
|
/** 提示内容 */
|
|
29
37
|
tips: {
|
|
@@ -45,10 +53,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
45
53
|
type: StringConstructor;
|
|
46
54
|
default: string;
|
|
47
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* box 模式背景:none=不带背景(默认);primary=主题色浅底(文字取主题色);
|
|
58
|
+
* 也可传任意 CSS 颜色值(如 '#FEFEFE'、'rgba(...)')
|
|
59
|
+
*/
|
|
60
|
+
bg: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
48
64
|
}>> & Readonly<{}>, {
|
|
49
65
|
type: "word" | "box";
|
|
50
66
|
icon: string;
|
|
51
67
|
tips: string;
|
|
68
|
+
bg: string;
|
|
52
69
|
color: string;
|
|
53
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
71
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|