@dazhicheng/ui 1.5.144 → 1.5.146
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/components/tt-button/index.d.ts +7 -7
- package/dist/components/tt-button/index.vue.d.ts +4 -4
- package/dist/components/tt-drawer/index.d.ts +23 -23
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +11 -11
- package/dist/components/tt-form/src/form-render/FormArrayRegister.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +17 -7
- package/dist/components/tt-form/src/types.d.ts +5 -0
- package/dist/components/tt-form/src/utils/array-default-row.d.ts +6 -0
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +8 -8
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +4 -4
- package/dist/components/tt-image/index.d.ts +2 -2
- package/dist/components/tt-image/tt-image.d.ts +2 -2
- package/dist/components/tt-loading/index.d.ts +2 -2
- package/dist/components/tt-loading/src/loading.vue.d.ts +2 -2
- package/dist/components/tt-modal/index.d.ts +30 -30
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +15 -15
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +9 -9
- package/dist/components/tt-modal-form/index.vue.d.ts +2 -2
- package/dist/components/tt-nav-anchor/index.d.ts +1 -1
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +2 -2
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +8 -8
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +2 -2
- package/dist/components/tt-text/index.d.ts +3 -3
- package/dist/components/tt-text/index.vue.d.ts +1 -1
- package/dist/components/tt-upload/index.d.ts +4 -4
- package/dist/components/tt-upload/src/TtUpload.d.ts +4 -4
- package/dist/{index-NG5FNCLD.js → index-CMjNBMj5.js} +3 -2
- package/dist/index.js +4276 -4212
- package/dist/{index.modern-CTe-bW9A.js → index.modern-BeGUVc1A.js} +1 -1
- package/dist/plugins.js +1 -1
- package/package.json +3 -3
|
@@ -98,7 +98,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
98
98
|
tag: string | import('vue').Component;
|
|
99
99
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
100
100
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
101
|
-
}>, "
|
|
101
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
102
102
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
103
103
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
104
104
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -205,7 +205,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
205
205
|
tag: string | import('vue').Component;
|
|
206
206
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
207
207
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
208
|
-
}>, "
|
|
208
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
209
209
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
210
210
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
211
211
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -316,7 +316,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
316
316
|
tag: string | import('vue').Component;
|
|
317
317
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
318
318
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
319
|
-
}>, "
|
|
319
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
320
320
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
321
321
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
322
322
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -436,7 +436,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
436
436
|
tag: string | import('vue').Component;
|
|
437
437
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
438
438
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
439
|
-
}>, "
|
|
439
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
440
440
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
441
441
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
442
442
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -543,7 +543,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
543
543
|
tag: string | import('vue').Component;
|
|
544
544
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
545
545
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
546
|
-
}>, "
|
|
546
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
547
547
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
548
548
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
549
549
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -660,7 +660,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
660
660
|
tag: string | import('vue').Component;
|
|
661
661
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
662
662
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
663
|
-
}>, "
|
|
663
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
664
664
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
665
665
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
666
666
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -767,7 +767,7 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
767
767
|
tag: string | import('vue').Component;
|
|
768
768
|
}> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
|
|
769
769
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
770
|
-
}>, "
|
|
770
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
771
771
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
772
772
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
773
773
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -102,7 +102,7 @@ declare function __VLS_template(): {
|
|
|
102
102
|
tag: string | import('vue').Component;
|
|
103
103
|
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
104
104
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
105
|
-
}>, "
|
|
105
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
106
106
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
107
107
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
108
108
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -217,7 +217,7 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<ButtonProps
|
|
|
217
217
|
tag: string | import('vue').Component;
|
|
218
218
|
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
219
219
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
220
|
-
}>, "
|
|
220
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
221
221
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
222
222
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
223
223
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -324,7 +324,7 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<ButtonProps
|
|
|
324
324
|
tag: string | import('vue').Component;
|
|
325
325
|
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
326
326
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
327
|
-
}>, "
|
|
327
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
328
328
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
329
329
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
330
330
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -439,7 +439,7 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<ButtonProps
|
|
|
439
439
|
tag: string | import('vue').Component;
|
|
440
440
|
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
441
441
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
442
|
-
}>, "
|
|
442
|
+
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
443
443
|
ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
444
444
|
size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
|
|
445
445
|
type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
@@ -169,7 +169,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
169
169
|
$root: import('vue').ComponentPublicInstance | null;
|
|
170
170
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
171
171
|
$host: Element | null;
|
|
172
|
-
$emit: ((event: "
|
|
172
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
173
173
|
$el: any;
|
|
174
174
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
175
175
|
onClose?: (() => any) | undefined;
|
|
@@ -268,7 +268,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
268
268
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
269
269
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
270
270
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
271
|
-
}>, "title" | "
|
|
271
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
272
272
|
handleClose: () => void;
|
|
273
273
|
afterEnter: () => void;
|
|
274
274
|
afterLeave: () => void;
|
|
@@ -349,7 +349,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
349
349
|
$root: import('vue').ComponentPublicInstance | null;
|
|
350
350
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
351
351
|
$host: Element | null;
|
|
352
|
-
$emit: ((event: "
|
|
352
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
353
353
|
$el: any;
|
|
354
354
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
355
355
|
onClose?: (() => any) | undefined;
|
|
@@ -448,7 +448,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
448
448
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
449
449
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
450
450
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
451
|
-
}>, "title" | "
|
|
451
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
452
452
|
handleClose: () => void;
|
|
453
453
|
afterEnter: () => void;
|
|
454
454
|
afterLeave: () => void;
|
|
@@ -474,10 +474,8 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
474
474
|
register: (instance: import('.').DrawerInstance, uid: number) => any;
|
|
475
475
|
}, import('vue').PublicProps, {
|
|
476
476
|
title: any;
|
|
477
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
478
|
-
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
479
|
-
fullscreen: boolean;
|
|
480
477
|
visible: any;
|
|
478
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
481
479
|
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
482
480
|
size: any;
|
|
483
481
|
class: any;
|
|
@@ -487,6 +485,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
487
485
|
loading: any;
|
|
488
486
|
modelValue: boolean;
|
|
489
487
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
488
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
490
489
|
loadingText: any;
|
|
491
490
|
showFooter: any;
|
|
492
491
|
resizable: boolean;
|
|
@@ -496,6 +495,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
496
495
|
modal: boolean;
|
|
497
496
|
cancelText: any;
|
|
498
497
|
okText: any;
|
|
498
|
+
fullscreen: boolean;
|
|
499
499
|
showCancelBtn: any;
|
|
500
500
|
showOkBtn: any;
|
|
501
501
|
confirmLoading: any;
|
|
@@ -584,7 +584,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
584
584
|
$root: import('vue').ComponentPublicInstance | null;
|
|
585
585
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
586
586
|
$host: Element | null;
|
|
587
|
-
$emit: ((event: "
|
|
587
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
588
588
|
$el: any;
|
|
589
589
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
590
590
|
onClose?: (() => any) | undefined;
|
|
@@ -683,7 +683,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
683
683
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
684
684
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
685
685
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
686
|
-
}>, "title" | "
|
|
686
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
687
687
|
handleClose: () => void;
|
|
688
688
|
afterEnter: () => void;
|
|
689
689
|
afterLeave: () => void;
|
|
@@ -879,7 +879,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
879
879
|
$root: import('vue').ComponentPublicInstance | null;
|
|
880
880
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
881
881
|
$host: Element | null;
|
|
882
|
-
$emit: ((event: "
|
|
882
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
883
883
|
$el: any;
|
|
884
884
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
885
885
|
onClose?: (() => any) | undefined;
|
|
@@ -978,7 +978,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
978
978
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
979
979
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
980
980
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
981
|
-
}>, "title" | "
|
|
981
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
982
982
|
handleClose: () => void;
|
|
983
983
|
afterEnter: () => void;
|
|
984
984
|
afterLeave: () => void;
|
|
@@ -1059,7 +1059,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1059
1059
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1060
1060
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1061
1061
|
$host: Element | null;
|
|
1062
|
-
$emit: ((event: "
|
|
1062
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1063
1063
|
$el: any;
|
|
1064
1064
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
1065
1065
|
onClose?: (() => any) | undefined;
|
|
@@ -1158,7 +1158,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1158
1158
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1159
1159
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1160
1160
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1161
|
-
}>, "title" | "
|
|
1161
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
1162
1162
|
handleClose: () => void;
|
|
1163
1163
|
afterEnter: () => void;
|
|
1164
1164
|
afterLeave: () => void;
|
|
@@ -1180,10 +1180,8 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1180
1180
|
drawerApi: import('.').TtDrawerExtendedDrawerApi;
|
|
1181
1181
|
}, {}, {}, {}, {
|
|
1182
1182
|
title: any;
|
|
1183
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1184
|
-
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1185
|
-
fullscreen: boolean;
|
|
1186
1183
|
visible: any;
|
|
1184
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1187
1185
|
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
1188
1186
|
size: any;
|
|
1189
1187
|
class: any;
|
|
@@ -1193,6 +1191,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1193
1191
|
loading: any;
|
|
1194
1192
|
modelValue: boolean;
|
|
1195
1193
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1194
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1196
1195
|
loadingText: any;
|
|
1197
1196
|
showFooter: any;
|
|
1198
1197
|
resizable: boolean;
|
|
@@ -1202,6 +1201,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1202
1201
|
modal: boolean;
|
|
1203
1202
|
cancelText: any;
|
|
1204
1203
|
okText: any;
|
|
1204
|
+
fullscreen: boolean;
|
|
1205
1205
|
showCancelBtn: any;
|
|
1206
1206
|
showOkBtn: any;
|
|
1207
1207
|
confirmLoading: any;
|
|
@@ -1400,7 +1400,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1400
1400
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1401
1401
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1402
1402
|
$host: Element | null;
|
|
1403
|
-
$emit: ((event: "
|
|
1403
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1404
1404
|
$el: any;
|
|
1405
1405
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
1406
1406
|
onClose?: (() => any) | undefined;
|
|
@@ -1499,7 +1499,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1499
1499
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1500
1500
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1501
1501
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1502
|
-
}>, "title" | "
|
|
1502
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
1503
1503
|
handleClose: () => void;
|
|
1504
1504
|
afterEnter: () => void;
|
|
1505
1505
|
afterLeave: () => void;
|
|
@@ -1580,7 +1580,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1580
1580
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1581
1581
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1582
1582
|
$host: Element | null;
|
|
1583
|
-
$emit: ((event: "
|
|
1583
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1584
1584
|
$el: any;
|
|
1585
1585
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
1586
1586
|
onClose?: (() => any) | undefined;
|
|
@@ -1679,7 +1679,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1679
1679
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1680
1680
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1681
1681
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1682
|
-
}>, "title" | "
|
|
1682
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
1683
1683
|
handleClose: () => void;
|
|
1684
1684
|
afterEnter: () => void;
|
|
1685
1685
|
afterLeave: () => void;
|
|
@@ -1705,10 +1705,8 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1705
1705
|
register: (instance: import('.').DrawerInstance, uid: number) => any;
|
|
1706
1706
|
}, string, {
|
|
1707
1707
|
title: any;
|
|
1708
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1709
|
-
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1710
|
-
fullscreen: boolean;
|
|
1711
1708
|
visible: any;
|
|
1709
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1712
1710
|
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
1713
1711
|
size: any;
|
|
1714
1712
|
class: any;
|
|
@@ -1718,6 +1716,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1718
1716
|
loading: any;
|
|
1719
1717
|
modelValue: boolean;
|
|
1720
1718
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1719
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1721
1720
|
loadingText: any;
|
|
1722
1721
|
showFooter: any;
|
|
1723
1722
|
resizable: boolean;
|
|
@@ -1727,6 +1726,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1727
1726
|
modal: boolean;
|
|
1728
1727
|
cancelText: any;
|
|
1729
1728
|
okText: any;
|
|
1729
|
+
fullscreen: boolean;
|
|
1730
1730
|
showCancelBtn: any;
|
|
1731
1731
|
showOkBtn: any;
|
|
1732
1732
|
confirmLoading: any;
|
|
@@ -78,7 +78,7 @@ declare function __VLS_template(): {
|
|
|
78
78
|
$root: import('vue').ComponentPublicInstance | null;
|
|
79
79
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
80
80
|
$host: Element | null;
|
|
81
|
-
$emit: ((event: "
|
|
81
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
82
82
|
$el: any;
|
|
83
83
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
84
84
|
onClose?: (() => any) | undefined;
|
|
@@ -177,7 +177,7 @@ declare function __VLS_template(): {
|
|
|
177
177
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
178
178
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
179
179
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
180
|
-
}>, "title" | "
|
|
180
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
181
181
|
handleClose: () => void;
|
|
182
182
|
afterEnter: () => void;
|
|
183
183
|
afterLeave: () => void;
|
|
@@ -367,7 +367,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
367
367
|
$root: import('vue').ComponentPublicInstance | null;
|
|
368
368
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
369
369
|
$host: Element | null;
|
|
370
|
-
$emit: ((event: "
|
|
370
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
371
371
|
$el: any;
|
|
372
372
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
373
373
|
onClose?: (() => any) | undefined;
|
|
@@ -466,7 +466,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
466
466
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
467
467
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
468
468
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
469
|
-
}>, "title" | "
|
|
469
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
470
470
|
handleClose: () => void;
|
|
471
471
|
afterEnter: () => void;
|
|
472
472
|
afterLeave: () => void;
|
|
@@ -547,7 +547,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
547
547
|
$root: import('vue').ComponentPublicInstance | null;
|
|
548
548
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
549
549
|
$host: Element | null;
|
|
550
|
-
$emit: ((event: "
|
|
550
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
551
551
|
$el: any;
|
|
552
552
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
553
553
|
onClose?: (() => any) | undefined;
|
|
@@ -646,7 +646,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
646
646
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
647
647
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
648
648
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
649
|
-
}>, "title" | "
|
|
649
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
650
650
|
handleClose: () => void;
|
|
651
651
|
afterEnter: () => void;
|
|
652
652
|
afterLeave: () => void;
|
|
@@ -779,10 +779,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
779
779
|
onRegister?: ((instance: DrawerInstance, uid: number) => any) | undefined;
|
|
780
780
|
}>, {
|
|
781
781
|
title: any;
|
|
782
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
783
|
-
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
784
|
-
fullscreen: boolean;
|
|
785
782
|
visible: any;
|
|
783
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
786
784
|
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
787
785
|
size: any;
|
|
788
786
|
class: any;
|
|
@@ -792,6 +790,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
792
790
|
loading: any;
|
|
793
791
|
modelValue: boolean;
|
|
794
792
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
793
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
795
794
|
loadingText: any;
|
|
796
795
|
showFooter: any;
|
|
797
796
|
resizable: boolean;
|
|
@@ -801,6 +800,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
801
800
|
modal: boolean;
|
|
802
801
|
cancelText: any;
|
|
803
802
|
okText: any;
|
|
803
|
+
fullscreen: boolean;
|
|
804
804
|
showCancelBtn: any;
|
|
805
805
|
showOkBtn: any;
|
|
806
806
|
confirmLoading: any;
|
|
@@ -889,7 +889,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
889
889
|
$root: import('vue').ComponentPublicInstance | null;
|
|
890
890
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
891
891
|
$host: Element | null;
|
|
892
|
-
$emit: ((event: "
|
|
892
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
893
893
|
$el: any;
|
|
894
894
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
|
|
895
895
|
onClose?: (() => any) | undefined;
|
|
@@ -988,7 +988,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
988
988
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
989
989
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
990
990
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
991
|
-
}>, "title" | "
|
|
991
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "closeOnPressEscape" | "showClose" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & import('vue').ShallowUnwrapRef<{
|
|
992
992
|
handleClose: () => void;
|
|
993
993
|
afterEnter: () => void;
|
|
994
994
|
afterLeave: () => void;
|
|
@@ -2,13 +2,14 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { Recordable } from '../../../../../../utils/src';
|
|
3
3
|
import { FieldEntry } from '../types/forms';
|
|
4
4
|
import { FormSchema } from '../types';
|
|
5
|
+
type ArraySchemaProp = FormSchema[] | ((entry: FieldEntry<Recordable>, currentIndex: number) => FormSchema[]);
|
|
5
6
|
declare const FormArrayRegister: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
7
|
fieldName: {
|
|
7
8
|
type: PropType<string>;
|
|
8
9
|
required: true;
|
|
9
10
|
};
|
|
10
11
|
arraySchema: {
|
|
11
|
-
type: PropType<
|
|
12
|
+
type: PropType<ArraySchemaProp>;
|
|
12
13
|
default: () => FormSchema[];
|
|
13
14
|
};
|
|
14
15
|
formItemClass: {
|
|
@@ -31,7 +32,7 @@ declare const FormArrayRegister: import('vue').DefineComponent<import('vue').Ext
|
|
|
31
32
|
required: true;
|
|
32
33
|
};
|
|
33
34
|
arraySchema: {
|
|
34
|
-
type: PropType<
|
|
35
|
+
type: PropType<ArraySchemaProp>;
|
|
35
36
|
default: () => FormSchema[];
|
|
36
37
|
};
|
|
37
38
|
formItemClass: {
|
|
@@ -48,7 +49,7 @@ declare const FormArrayRegister: import('vue').DefineComponent<import('vue').Ext
|
|
|
48
49
|
};
|
|
49
50
|
}>> & Readonly<{}>, {
|
|
50
51
|
rules: import('../types').FormSchemaRuleType | undefined;
|
|
51
|
-
arraySchema:
|
|
52
|
+
arraySchema: ArraySchemaProp;
|
|
52
53
|
formItemClass: NonNullable<string | (() => string) | undefined>;
|
|
53
54
|
virtual: boolean;
|
|
54
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { FormItemDependencies, FormSchemaRuleType, MaybeComponentProps } from '../types';
|
|
2
|
-
|
|
2
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
+
export interface UseDependenciesOptions {
|
|
4
|
+
/** 当前表单项完整路径(数组行内如 children_reason[0].children_patch) */
|
|
5
|
+
fieldName?: MaybeRefOrGetter<string | undefined>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 将数组行内的短 trigger 字段名解析为完整路径
|
|
9
|
+
* @example children_reason[0].children_patch + children_major → children_reason[0].children_major
|
|
10
|
+
*/
|
|
11
|
+
export declare function resolveTriggerFieldName(triggerField: string, currentFieldPath?: string): string;
|
|
12
|
+
export default function useDependencies(getDependencies: () => FormItemDependencies | undefined, options?: UseDependenciesOptions): {
|
|
3
13
|
dynamicComponentProps: import('vue').Ref<{
|
|
4
14
|
[x: Record<never, never> & string]: any;
|
|
5
15
|
style?: any;
|
|
6
16
|
title?: any;
|
|
7
|
-
options?: any;
|
|
8
|
-
id?: any;
|
|
9
17
|
contextmenu?: any;
|
|
10
|
-
onError?: any;
|
|
11
18
|
onInput?: any;
|
|
12
19
|
onProgress?: any;
|
|
13
20
|
onSelect?: any;
|
|
@@ -39,6 +46,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
39
46
|
onDurationchange?: any;
|
|
40
47
|
onEmptied?: any;
|
|
41
48
|
onEnded?: any;
|
|
49
|
+
onError?: any;
|
|
42
50
|
onFocus?: any;
|
|
43
51
|
onFocusin?: any;
|
|
44
52
|
onFocusout?: any;
|
|
@@ -88,6 +96,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
88
96
|
onVolumechange?: any;
|
|
89
97
|
onWaiting?: any;
|
|
90
98
|
onWheel?: any;
|
|
99
|
+
id?: any;
|
|
91
100
|
role?: any;
|
|
92
101
|
class?: any;
|
|
93
102
|
dir?: any;
|
|
@@ -175,15 +184,13 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
175
184
|
"aria-valuemin"?: any;
|
|
176
185
|
"aria-valuenow"?: any;
|
|
177
186
|
"aria-valuetext"?: any;
|
|
187
|
+
options?: any;
|
|
178
188
|
manifest?: any;
|
|
179
189
|
}, MaybeComponentProps | {
|
|
180
190
|
[x: Record<never, never> & string]: any;
|
|
181
191
|
style?: any;
|
|
182
192
|
title?: any;
|
|
183
|
-
options?: any;
|
|
184
|
-
id?: any;
|
|
185
193
|
contextmenu?: any;
|
|
186
|
-
onError?: any;
|
|
187
194
|
onInput?: any;
|
|
188
195
|
onProgress?: any;
|
|
189
196
|
onSelect?: any;
|
|
@@ -215,6 +222,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
215
222
|
onDurationchange?: any;
|
|
216
223
|
onEmptied?: any;
|
|
217
224
|
onEnded?: any;
|
|
225
|
+
onError?: any;
|
|
218
226
|
onFocus?: any;
|
|
219
227
|
onFocusin?: any;
|
|
220
228
|
onFocusout?: any;
|
|
@@ -264,6 +272,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
264
272
|
onVolumechange?: any;
|
|
265
273
|
onWaiting?: any;
|
|
266
274
|
onWheel?: any;
|
|
275
|
+
id?: any;
|
|
267
276
|
role?: any;
|
|
268
277
|
class?: any;
|
|
269
278
|
dir?: any;
|
|
@@ -351,6 +360,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
351
360
|
"aria-valuemin"?: any;
|
|
352
361
|
"aria-valuenow"?: any;
|
|
353
362
|
"aria-valuetext"?: any;
|
|
363
|
+
options?: any;
|
|
354
364
|
manifest?: any;
|
|
355
365
|
}>;
|
|
356
366
|
dynamicRules: import('vue').Ref<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
|
|
@@ -470,6 +470,11 @@ export type ExtendedFormApi = Omit<FormApi, "getValues" | "validate" | "setState
|
|
|
470
470
|
* @param {string[]} fieldNames - 要移除的字段名列表
|
|
471
471
|
*/
|
|
472
472
|
removeFields?: (fieldNames: string[]) => void;
|
|
473
|
+
/**
|
|
474
|
+
* @description 分组表单 reset 时递增(仅 GroupFormApi / useGroupForm)
|
|
475
|
+
*
|
|
476
|
+
*/
|
|
477
|
+
resetSignal?: Ref<number>;
|
|
473
478
|
};
|
|
474
479
|
export interface TtFormAdapterOptions<T extends BaseFormComponentType = BaseFormComponentType> {
|
|
475
480
|
config?: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Recordable } from '../../../../../../utils/src';
|
|
2
|
+
export declare function isArrayPathEmpty(fieldName: string, values: Record<string, unknown>): boolean;
|
|
3
|
+
/** 有 defaultValue 数组则用,否则默认一行空对象 */
|
|
4
|
+
export declare function getInitialRows(defaultValue: unknown): Recordable[];
|
|
5
|
+
/** 嵌套数组路径深度,用于 reset 时先补父级再补子级 */
|
|
6
|
+
export declare function arrayFieldPathDepth(path: string): number;
|