@dazhicheng/ui 1.5.1 → 1.5.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/components/tt-button/index.d.ts +476 -476
- package/dist/components/tt-button/index.vue.d.ts +272 -272
- package/dist/components/tt-checkbox/index.d.ts +5 -5
- package/dist/components/tt-checkbox/index.vue.d.ts +2 -2
- package/dist/components/tt-drawer/index.d.ts +540 -540
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +297 -297
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +2 -2
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +118 -118
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +196 -196
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +98 -98
- package/dist/components/tt-icon/index.d.ts +3 -3
- package/dist/components/tt-icon/index.vue.d.ts +1 -1
- package/dist/components/tt-image/index.d.ts +5 -5
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +2 -2
- package/dist/components/tt-image/tt-image.d.ts +5 -5
- package/dist/components/tt-loading/index.d.ts +3 -3
- package/dist/components/tt-loading/src/loading.vue.d.ts +3 -3
- package/dist/components/tt-modal/index.d.ts +184 -184
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +101 -101
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +10 -10
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +33 -33
- package/dist/components/tt-part/index.d.ts +12 -12
- package/dist/components/tt-part/index.vue.d.ts +4 -4
- package/dist/components/tt-select/src/Select.vue.d.ts +89 -89
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +7 -7
- package/dist/components/tt-select/src/components/Table.vue.d.ts +9 -9
- package/dist/components/tt-table/src/Table.vue.d.ts +185 -179
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +1 -1
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +198 -228
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +1 -5
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +128 -128
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +7 -8
- package/dist/components/tt-table/src/props.d.ts +8 -5
- package/dist/components/tt-table/src/toolProps.d.ts +3 -21
- package/dist/components/tt-table/src/types/table.d.ts +8 -11
- package/dist/components/tt-table/src/types/tableTools.d.ts +2 -13
- 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-validate/src/Field.d.ts +4 -4
- package/dist/components/tt-validate/src/Form.d.ts +1 -1
- package/dist/components/tt-validate/src/utils/assertions.d.ts +1 -1
- package/dist/components/types.d.ts +10 -33
- package/dist/index.js +5942 -5976
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -21,17 +21,19 @@ declare function __VLS_template(): {
|
|
|
21
21
|
$: import('vue').ComponentInternalInstance;
|
|
22
22
|
$data: {};
|
|
23
23
|
$props: Partial<{
|
|
24
|
-
|
|
25
|
-
fullscreen: boolean;
|
|
26
|
-
visible: boolean;
|
|
27
|
-
size: "small" | "medium" | "mini";
|
|
24
|
+
size: "medium" | "small" | "mini";
|
|
28
25
|
height: any;
|
|
29
|
-
loading: boolean;
|
|
30
|
-
scrollTop: boolean;
|
|
31
26
|
minHeight: any;
|
|
27
|
+
loading: boolean;
|
|
32
28
|
showFooter: boolean;
|
|
33
|
-
|
|
29
|
+
title: any;
|
|
34
30
|
testId: any;
|
|
31
|
+
visible: boolean;
|
|
32
|
+
resizer: boolean;
|
|
33
|
+
scrollTop: boolean;
|
|
34
|
+
isBottom: boolean;
|
|
35
|
+
modal: boolean;
|
|
36
|
+
draggable: boolean;
|
|
35
37
|
showOkBtn: boolean;
|
|
36
38
|
showCancelBtn: boolean;
|
|
37
39
|
cancelText: string;
|
|
@@ -41,22 +43,22 @@ declare function __VLS_template(): {
|
|
|
41
43
|
disabledTip?: TipConfig | TipConfig[];
|
|
42
44
|
};
|
|
43
45
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
44
|
-
|
|
45
|
-
resizer: boolean;
|
|
46
|
+
fullscreen: boolean;
|
|
46
47
|
cancelLoading: boolean;
|
|
47
|
-
isBottom: boolean;
|
|
48
48
|
}> & Omit<{
|
|
49
|
-
readonly
|
|
50
|
-
readonly fullscreen: boolean;
|
|
51
|
-
readonly visible: boolean;
|
|
52
|
-
readonly size: "small" | "medium" | "mini";
|
|
49
|
+
readonly size: "medium" | "small" | "mini";
|
|
53
50
|
readonly height: any;
|
|
54
|
-
readonly loading: boolean;
|
|
55
|
-
readonly scrollTop: boolean;
|
|
56
51
|
readonly minHeight: any;
|
|
52
|
+
readonly loading: boolean;
|
|
57
53
|
readonly showFooter: boolean;
|
|
58
|
-
readonly
|
|
54
|
+
readonly title: any;
|
|
59
55
|
readonly testId: any;
|
|
56
|
+
readonly visible: boolean;
|
|
57
|
+
readonly resizer: boolean;
|
|
58
|
+
readonly scrollTop: boolean;
|
|
59
|
+
readonly isBottom: boolean;
|
|
60
|
+
readonly modal: boolean;
|
|
61
|
+
readonly draggable: boolean;
|
|
60
62
|
readonly showOkBtn: boolean;
|
|
61
63
|
readonly showCancelBtn: boolean;
|
|
62
64
|
readonly cancelText: string;
|
|
@@ -66,16 +68,14 @@ declare function __VLS_template(): {
|
|
|
66
68
|
disabledTip?: TipConfig | TipConfig[];
|
|
67
69
|
};
|
|
68
70
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
69
|
-
readonly
|
|
70
|
-
readonly resizer: boolean;
|
|
71
|
+
readonly fullscreen: boolean;
|
|
71
72
|
readonly cancelLoading: boolean;
|
|
72
|
-
readonly isBottom: boolean;
|
|
73
73
|
readonly top?: string | undefined;
|
|
74
74
|
readonly width?: string | number | undefined;
|
|
75
75
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
76
76
|
readonly loadingTip?: string | undefined;
|
|
77
77
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
78
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "height" | "minHeight" | "loading" | "showFooter" | "title" | "testId" | "visible" | "resizer" | "scrollTop" | "isBottom" | "modal" | "draggable" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "fullscreen" | "cancelLoading">;
|
|
79
79
|
$attrs: {
|
|
80
80
|
[x: string]: unknown;
|
|
81
81
|
};
|
|
@@ -185,17 +185,19 @@ declare function __VLS_template(): {
|
|
|
185
185
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
186
186
|
"is-scroll": (...args: any[]) => void;
|
|
187
187
|
}, string, {
|
|
188
|
-
|
|
189
|
-
fullscreen: boolean;
|
|
190
|
-
visible: boolean;
|
|
191
|
-
size: "small" | "medium" | "mini";
|
|
188
|
+
size: "medium" | "small" | "mini";
|
|
192
189
|
height: any;
|
|
193
|
-
loading: boolean;
|
|
194
|
-
scrollTop: boolean;
|
|
195
190
|
minHeight: any;
|
|
191
|
+
loading: boolean;
|
|
196
192
|
showFooter: boolean;
|
|
197
|
-
|
|
193
|
+
title: any;
|
|
198
194
|
testId: any;
|
|
195
|
+
visible: boolean;
|
|
196
|
+
resizer: boolean;
|
|
197
|
+
scrollTop: boolean;
|
|
198
|
+
isBottom: boolean;
|
|
199
|
+
modal: boolean;
|
|
200
|
+
draggable: boolean;
|
|
199
201
|
showOkBtn: boolean;
|
|
200
202
|
showCancelBtn: boolean;
|
|
201
203
|
cancelText: string;
|
|
@@ -205,10 +207,8 @@ declare function __VLS_template(): {
|
|
|
205
207
|
disabledTip?: TipConfig | TipConfig[];
|
|
206
208
|
};
|
|
207
209
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
208
|
-
|
|
209
|
-
resizer: boolean;
|
|
210
|
+
fullscreen: boolean;
|
|
210
211
|
cancelLoading: boolean;
|
|
211
|
-
isBottom: boolean;
|
|
212
212
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
213
213
|
beforeCreate?: (() => void) | (() => void)[];
|
|
214
214
|
created?: (() => void) | (() => void)[];
|
|
@@ -230,17 +230,19 @@ declare function __VLS_template(): {
|
|
|
230
230
|
$nextTick: typeof nextTick;
|
|
231
231
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
232
232
|
} & Readonly<{
|
|
233
|
-
|
|
234
|
-
fullscreen: boolean;
|
|
235
|
-
visible: boolean;
|
|
236
|
-
size: "small" | "medium" | "mini";
|
|
233
|
+
size: "medium" | "small" | "mini";
|
|
237
234
|
height: any;
|
|
238
|
-
loading: boolean;
|
|
239
|
-
scrollTop: boolean;
|
|
240
235
|
minHeight: any;
|
|
236
|
+
loading: boolean;
|
|
241
237
|
showFooter: boolean;
|
|
242
|
-
|
|
238
|
+
title: any;
|
|
243
239
|
testId: any;
|
|
240
|
+
visible: boolean;
|
|
241
|
+
resizer: boolean;
|
|
242
|
+
scrollTop: boolean;
|
|
243
|
+
isBottom: boolean;
|
|
244
|
+
modal: boolean;
|
|
245
|
+
draggable: boolean;
|
|
244
246
|
showOkBtn: boolean;
|
|
245
247
|
showCancelBtn: boolean;
|
|
246
248
|
cancelText: string;
|
|
@@ -250,10 +252,8 @@ declare function __VLS_template(): {
|
|
|
250
252
|
disabledTip?: TipConfig | TipConfig[];
|
|
251
253
|
};
|
|
252
254
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
253
|
-
|
|
254
|
-
resizer: boolean;
|
|
255
|
+
fullscreen: boolean;
|
|
255
256
|
cancelLoading: boolean;
|
|
256
|
-
isBottom: boolean;
|
|
257
257
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
258
258
|
testId: any;
|
|
259
259
|
visible: {
|
|
@@ -341,7 +341,7 @@ declare function __VLS_template(): {
|
|
|
341
341
|
};
|
|
342
342
|
}>> & Readonly<{
|
|
343
343
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
344
|
-
}>, "onScrollBottom" | "elm" | ("
|
|
344
|
+
}>, "onScrollBottom" | "elm" | ("size" | "height" | "minHeight" | "loading" | "showFooter" | "title" | "testId" | "visible" | "resizer" | "scrollTop" | "isBottom" | "modal" | "draggable" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "fullscreen" | "cancelLoading")> & import('vue').ShallowUnwrapRef<{
|
|
345
345
|
onScrollBottom: () => void;
|
|
346
346
|
elm: import('vue').Ref<any, any>;
|
|
347
347
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -485,9 +485,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
485
485
|
}>, {
|
|
486
486
|
modalApi: TtModalExtendedModalApi;
|
|
487
487
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
488
|
+
register: (args_0: ModalMethods, args_1: string) => any;
|
|
488
489
|
"update:visible": (args_0: boolean) => any;
|
|
489
490
|
"visible-change": (args_0: boolean) => any;
|
|
490
|
-
register: (args_0: ModalMethods, args_1: string) => any;
|
|
491
491
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
492
492
|
/** modalApi */
|
|
493
493
|
modalApi: {
|
|
@@ -618,29 +618,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
618
618
|
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
619
619
|
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
620
620
|
}>> & Readonly<{
|
|
621
|
+
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
621
622
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
622
623
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
623
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
624
624
|
}>, {
|
|
625
|
-
|
|
626
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
627
|
-
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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
628
|
-
fullscreen: boolean;
|
|
629
|
-
visible: boolean;
|
|
630
|
-
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))[], unknown, unknown>;
|
|
631
|
-
size: "small" | "medium" | "mini";
|
|
632
|
-
center: boolean;
|
|
625
|
+
size: "medium" | "small" | "mini";
|
|
633
626
|
height: any;
|
|
627
|
+
minHeight: any;
|
|
634
628
|
loading: boolean;
|
|
629
|
+
showFooter: boolean;
|
|
630
|
+
title: any;
|
|
635
631
|
modelValue: boolean;
|
|
632
|
+
testId: any;
|
|
633
|
+
visible: boolean;
|
|
634
|
+
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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
635
|
+
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))[], unknown, unknown>;
|
|
636
636
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
637
|
+
center: boolean;
|
|
638
|
+
resizer: boolean;
|
|
637
639
|
scrollTop: boolean;
|
|
638
|
-
|
|
639
|
-
|
|
640
|
+
isBottom: boolean;
|
|
641
|
+
destroyOnClose: boolean;
|
|
640
642
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
643
|
+
modal: boolean;
|
|
644
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
641
645
|
draggable: boolean;
|
|
642
|
-
testId: any;
|
|
643
|
-
destroyOnClose: boolean;
|
|
644
646
|
showOkBtn: boolean;
|
|
645
647
|
showCancelBtn: boolean;
|
|
646
648
|
cancelText: string;
|
|
@@ -654,33 +656,33 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
654
656
|
appendToBody: boolean;
|
|
655
657
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
656
658
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
657
|
-
modal: boolean;
|
|
658
659
|
modalPenetrable: boolean;
|
|
659
660
|
openDelay: number;
|
|
660
661
|
closeDelay: number;
|
|
661
662
|
trapFocus: boolean;
|
|
662
663
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
|
+
fullscreen: boolean;
|
|
663
665
|
ariaLevel: string;
|
|
664
|
-
resizer: boolean;
|
|
665
666
|
cancelLoading: boolean;
|
|
666
|
-
isBottom: boolean;
|
|
667
667
|
modalApi: TtModalExtendedModalApi;
|
|
668
668
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
669
669
|
modalWrapperRef: ({
|
|
670
670
|
$: import('vue').ComponentInternalInstance;
|
|
671
671
|
$data: {};
|
|
672
672
|
$props: Partial<{
|
|
673
|
-
|
|
674
|
-
fullscreen: boolean;
|
|
675
|
-
visible: boolean;
|
|
676
|
-
size: "small" | "medium" | "mini";
|
|
673
|
+
size: "medium" | "small" | "mini";
|
|
677
674
|
height: any;
|
|
678
|
-
loading: boolean;
|
|
679
|
-
scrollTop: boolean;
|
|
680
675
|
minHeight: any;
|
|
676
|
+
loading: boolean;
|
|
681
677
|
showFooter: boolean;
|
|
682
|
-
|
|
678
|
+
title: any;
|
|
683
679
|
testId: any;
|
|
680
|
+
visible: boolean;
|
|
681
|
+
resizer: boolean;
|
|
682
|
+
scrollTop: boolean;
|
|
683
|
+
isBottom: boolean;
|
|
684
|
+
modal: boolean;
|
|
685
|
+
draggable: boolean;
|
|
684
686
|
showOkBtn: boolean;
|
|
685
687
|
showCancelBtn: boolean;
|
|
686
688
|
cancelText: string;
|
|
@@ -690,22 +692,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
690
692
|
disabledTip?: TipConfig | TipConfig[];
|
|
691
693
|
};
|
|
692
694
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
693
|
-
|
|
694
|
-
resizer: boolean;
|
|
695
|
+
fullscreen: boolean;
|
|
695
696
|
cancelLoading: boolean;
|
|
696
|
-
isBottom: boolean;
|
|
697
697
|
}> & Omit<{
|
|
698
|
-
readonly
|
|
699
|
-
readonly fullscreen: boolean;
|
|
700
|
-
readonly visible: boolean;
|
|
701
|
-
readonly size: "small" | "medium" | "mini";
|
|
698
|
+
readonly size: "medium" | "small" | "mini";
|
|
702
699
|
readonly height: any;
|
|
703
|
-
readonly loading: boolean;
|
|
704
|
-
readonly scrollTop: boolean;
|
|
705
700
|
readonly minHeight: any;
|
|
701
|
+
readonly loading: boolean;
|
|
706
702
|
readonly showFooter: boolean;
|
|
707
|
-
readonly
|
|
703
|
+
readonly title: any;
|
|
708
704
|
readonly testId: any;
|
|
705
|
+
readonly visible: boolean;
|
|
706
|
+
readonly resizer: boolean;
|
|
707
|
+
readonly scrollTop: boolean;
|
|
708
|
+
readonly isBottom: boolean;
|
|
709
|
+
readonly modal: boolean;
|
|
710
|
+
readonly draggable: boolean;
|
|
709
711
|
readonly showOkBtn: boolean;
|
|
710
712
|
readonly showCancelBtn: boolean;
|
|
711
713
|
readonly cancelText: string;
|
|
@@ -715,16 +717,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
715
717
|
disabledTip?: TipConfig | TipConfig[];
|
|
716
718
|
};
|
|
717
719
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
718
|
-
readonly
|
|
719
|
-
readonly resizer: boolean;
|
|
720
|
+
readonly fullscreen: boolean;
|
|
720
721
|
readonly cancelLoading: boolean;
|
|
721
|
-
readonly isBottom: boolean;
|
|
722
722
|
readonly top?: string | undefined;
|
|
723
723
|
readonly width?: string | number | undefined;
|
|
724
724
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
725
725
|
readonly loadingTip?: string | undefined;
|
|
726
726
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
727
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
727
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "height" | "minHeight" | "loading" | "showFooter" | "title" | "testId" | "visible" | "resizer" | "scrollTop" | "isBottom" | "modal" | "draggable" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "fullscreen" | "cancelLoading">;
|
|
728
728
|
$attrs: {
|
|
729
729
|
[x: string]: unknown;
|
|
730
730
|
};
|
|
@@ -834,17 +834,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
834
834
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
835
835
|
"is-scroll": (...args: any[]) => void;
|
|
836
836
|
}, string, {
|
|
837
|
-
|
|
838
|
-
fullscreen: boolean;
|
|
839
|
-
visible: boolean;
|
|
840
|
-
size: "small" | "medium" | "mini";
|
|
837
|
+
size: "medium" | "small" | "mini";
|
|
841
838
|
height: any;
|
|
842
|
-
loading: boolean;
|
|
843
|
-
scrollTop: boolean;
|
|
844
839
|
minHeight: any;
|
|
840
|
+
loading: boolean;
|
|
845
841
|
showFooter: boolean;
|
|
846
|
-
|
|
842
|
+
title: any;
|
|
847
843
|
testId: any;
|
|
844
|
+
visible: boolean;
|
|
845
|
+
resizer: boolean;
|
|
846
|
+
scrollTop: boolean;
|
|
847
|
+
isBottom: boolean;
|
|
848
|
+
modal: boolean;
|
|
849
|
+
draggable: boolean;
|
|
848
850
|
showOkBtn: boolean;
|
|
849
851
|
showCancelBtn: boolean;
|
|
850
852
|
cancelText: string;
|
|
@@ -854,10 +856,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
854
856
|
disabledTip?: TipConfig | TipConfig[];
|
|
855
857
|
};
|
|
856
858
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
857
|
-
|
|
858
|
-
resizer: boolean;
|
|
859
|
+
fullscreen: boolean;
|
|
859
860
|
cancelLoading: boolean;
|
|
860
|
-
isBottom: boolean;
|
|
861
861
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
862
862
|
beforeCreate?: (() => void) | (() => void)[];
|
|
863
863
|
created?: (() => void) | (() => void)[];
|
|
@@ -879,17 +879,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
879
879
|
$nextTick: typeof nextTick;
|
|
880
880
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
881
881
|
} & Readonly<{
|
|
882
|
-
|
|
883
|
-
fullscreen: boolean;
|
|
884
|
-
visible: boolean;
|
|
885
|
-
size: "small" | "medium" | "mini";
|
|
882
|
+
size: "medium" | "small" | "mini";
|
|
886
883
|
height: any;
|
|
887
|
-
loading: boolean;
|
|
888
|
-
scrollTop: boolean;
|
|
889
884
|
minHeight: any;
|
|
885
|
+
loading: boolean;
|
|
890
886
|
showFooter: boolean;
|
|
891
|
-
|
|
887
|
+
title: any;
|
|
892
888
|
testId: any;
|
|
889
|
+
visible: boolean;
|
|
890
|
+
resizer: boolean;
|
|
891
|
+
scrollTop: boolean;
|
|
892
|
+
isBottom: boolean;
|
|
893
|
+
modal: boolean;
|
|
894
|
+
draggable: boolean;
|
|
893
895
|
showOkBtn: boolean;
|
|
894
896
|
showCancelBtn: boolean;
|
|
895
897
|
cancelText: string;
|
|
@@ -899,10 +901,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
899
901
|
disabledTip?: TipConfig | TipConfig[];
|
|
900
902
|
};
|
|
901
903
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
902
|
-
|
|
903
|
-
resizer: boolean;
|
|
904
|
+
fullscreen: boolean;
|
|
904
905
|
cancelLoading: boolean;
|
|
905
|
-
isBottom: boolean;
|
|
906
906
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
907
907
|
testId: any;
|
|
908
908
|
visible: {
|
|
@@ -990,7 +990,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
990
990
|
};
|
|
991
991
|
}>> & Readonly<{
|
|
992
992
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
993
|
-
}>, "onScrollBottom" | "elm" | ("
|
|
993
|
+
}>, "onScrollBottom" | "elm" | ("size" | "height" | "minHeight" | "loading" | "showFooter" | "title" | "testId" | "visible" | "resizer" | "scrollTop" | "isBottom" | "modal" | "draggable" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "fullscreen" | "cancelLoading")> & import('vue').ShallowUnwrapRef<{
|
|
994
994
|
onScrollBottom: () => void;
|
|
995
995
|
elm: import('vue').Ref<any, any>;
|
|
996
996
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -188,17 +188,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
188
188
|
}>> & Readonly<{
|
|
189
189
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
-
|
|
192
|
-
fullscreen: boolean;
|
|
193
|
-
visible: boolean;
|
|
194
|
-
size: "small" | "medium" | "mini";
|
|
191
|
+
size: "medium" | "small" | "mini";
|
|
195
192
|
height: any;
|
|
196
|
-
loading: boolean;
|
|
197
|
-
scrollTop: boolean;
|
|
198
193
|
minHeight: any;
|
|
194
|
+
loading: boolean;
|
|
199
195
|
showFooter: boolean;
|
|
200
|
-
|
|
196
|
+
title: any;
|
|
201
197
|
testId: any;
|
|
198
|
+
visible: boolean;
|
|
199
|
+
resizer: boolean;
|
|
200
|
+
scrollTop: boolean;
|
|
201
|
+
isBottom: boolean;
|
|
202
|
+
modal: boolean;
|
|
203
|
+
draggable: boolean;
|
|
202
204
|
showOkBtn: boolean;
|
|
203
205
|
showCancelBtn: boolean;
|
|
204
206
|
cancelText: string;
|
|
@@ -208,10 +210,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
208
210
|
disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
|
|
209
211
|
};
|
|
210
212
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
211
|
-
|
|
212
|
-
resizer: boolean;
|
|
213
|
+
fullscreen: boolean;
|
|
213
214
|
cancelLoading: boolean;
|
|
214
|
-
isBottom: boolean;
|
|
215
215
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
216
216
|
wrapperRef: HTMLDivElement;
|
|
217
217
|
}, HTMLDivElement>;
|
|
@@ -5,25 +5,27 @@ export declare function setDefaultModalProps(props: Partial<ModalProps>): void;
|
|
|
5
5
|
* modal 可选hooks
|
|
6
6
|
*/
|
|
7
7
|
export declare function useModalRender<TParentModalProps extends ModalProps = ModalProps>(options?: ModalApiOptions, MODAL_KEY?: symbol): readonly [import('vue').DefineSetupFnComponent<TParentModalProps, {}, {}, TParentModalProps & {}, import('vue').PublicProps>, TtModalExtendedModalApi] | readonly [import('vue').DefineSetupFnComponent<ModalProps, {}, {}, Partial<{
|
|
8
|
-
|
|
9
|
-
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
10
|
-
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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
11
|
-
fullscreen: boolean;
|
|
12
|
-
visible: boolean;
|
|
13
|
-
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))[], unknown, unknown>;
|
|
14
|
-
size: "small" | "medium" | "mini";
|
|
15
|
-
center: boolean;
|
|
8
|
+
size: "medium" | "small" | "mini";
|
|
16
9
|
height: any;
|
|
10
|
+
minHeight: any;
|
|
17
11
|
loading: boolean;
|
|
12
|
+
showFooter: boolean;
|
|
13
|
+
title: any;
|
|
18
14
|
modelValue: boolean;
|
|
15
|
+
testId: any;
|
|
16
|
+
visible: boolean;
|
|
17
|
+
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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
18
|
+
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))[], unknown, unknown>;
|
|
19
19
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
20
|
+
center: boolean;
|
|
21
|
+
resizer: boolean;
|
|
20
22
|
scrollTop: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
isBottom: boolean;
|
|
24
|
+
destroyOnClose: boolean;
|
|
23
25
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
|
+
modal: boolean;
|
|
27
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
28
|
draggable: boolean;
|
|
25
|
-
testId: any;
|
|
26
|
-
destroyOnClose: boolean;
|
|
27
29
|
showOkBtn: boolean;
|
|
28
30
|
showCancelBtn: boolean;
|
|
29
31
|
cancelText: string;
|
|
@@ -37,35 +39,35 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
37
39
|
appendToBody: boolean;
|
|
38
40
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
41
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
40
|
-
modal: boolean;
|
|
41
42
|
modalPenetrable: boolean;
|
|
42
43
|
openDelay: number;
|
|
43
44
|
closeDelay: number;
|
|
44
45
|
trapFocus: boolean;
|
|
45
46
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
|
+
fullscreen: boolean;
|
|
46
48
|
ariaLevel: string;
|
|
47
|
-
resizer: boolean;
|
|
48
49
|
cancelLoading: boolean;
|
|
49
|
-
isBottom: boolean;
|
|
50
50
|
modalApi: TtModalExtendedModalApi;
|
|
51
51
|
}> & Omit<{
|
|
52
|
-
readonly
|
|
53
|
-
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
54
|
-
readonly 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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
55
|
-
readonly fullscreen: boolean;
|
|
56
|
-
readonly visible: boolean;
|
|
57
|
-
readonly size: "small" | "medium" | "mini";
|
|
58
|
-
readonly center: boolean;
|
|
52
|
+
readonly size: "medium" | "small" | "mini";
|
|
59
53
|
readonly height: any;
|
|
54
|
+
readonly minHeight: any;
|
|
60
55
|
readonly loading: boolean;
|
|
56
|
+
readonly showFooter: boolean;
|
|
57
|
+
readonly title: any;
|
|
61
58
|
readonly modelValue: boolean;
|
|
59
|
+
readonly testId: any;
|
|
60
|
+
readonly visible: boolean;
|
|
61
|
+
readonly 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))[], 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))[], unknown, unknown>))[], unknown, unknown>;
|
|
62
62
|
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
|
+
readonly center: boolean;
|
|
64
|
+
readonly resizer: boolean;
|
|
63
65
|
readonly scrollTop: boolean;
|
|
64
|
-
readonly
|
|
65
|
-
readonly showFooter: boolean;
|
|
66
|
-
readonly draggable: boolean;
|
|
67
|
-
readonly testId: any;
|
|
66
|
+
readonly isBottom: boolean;
|
|
68
67
|
readonly destroyOnClose: boolean;
|
|
68
|
+
readonly modal: boolean;
|
|
69
|
+
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
70
|
+
readonly draggable: boolean;
|
|
69
71
|
readonly showOkBtn: boolean;
|
|
70
72
|
readonly showCancelBtn: boolean;
|
|
71
73
|
readonly cancelText: string;
|
|
@@ -79,22 +81,20 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
79
81
|
readonly appendToBody: boolean;
|
|
80
82
|
readonly closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
81
83
|
readonly lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
82
|
-
readonly modal: boolean;
|
|
83
84
|
readonly modalPenetrable: boolean;
|
|
84
85
|
readonly openDelay: number;
|
|
85
86
|
readonly closeDelay: number;
|
|
86
87
|
readonly trapFocus: boolean;
|
|
88
|
+
readonly fullscreen: boolean;
|
|
87
89
|
readonly ariaLevel: string;
|
|
88
|
-
readonly resizer: boolean;
|
|
89
90
|
readonly cancelLoading: boolean;
|
|
90
|
-
readonly isBottom: boolean;
|
|
91
|
-
readonly zIndex?: number | undefined;
|
|
92
|
-
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
93
91
|
readonly top?: string | undefined;
|
|
92
|
+
readonly zIndex?: number | undefined;
|
|
94
93
|
readonly 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))[], unknown, unknown> | undefined;
|
|
95
94
|
readonly width?: string | number | undefined;
|
|
96
95
|
readonly overflow?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
97
96
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
97
|
+
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
98
98
|
readonly modalClass?: string | undefined;
|
|
99
99
|
readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
100
100
|
readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
@@ -103,8 +103,8 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
103
103
|
readonly footerClass?: string | undefined;
|
|
104
104
|
readonly loadingTip?: string | undefined;
|
|
105
105
|
readonly modalApi?: TtModalExtendedModalApi | undefined;
|
|
106
|
+
readonly onRegister?: ((args_0: import('../typing').ModalMethods, args_1: string) => any) | undefined;
|
|
106
107
|
readonly "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
107
108
|
readonly "onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
108
|
-
|
|
109
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "showClose" | "appendTo" | "fullscreen" | "visible" | "transition" | "size" | "center" | "height" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "draggable" | "testId" | "destroyOnClose" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "headerAriaLevel" | "appendToBody" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "alignCenter" | "ariaLevel" | "resizer" | "cancelLoading" | "isBottom" | "modalApi"> & Partial<import('element-plus').DialogProps> & {}, import('vue').PublicProps>, TtModalExtendedModalApi];
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "height" | "minHeight" | "loading" | "showFooter" | "title" | "modelValue" | "testId" | "visible" | "appendTo" | "transition" | "closeOnPressEscape" | "center" | "resizer" | "scrollTop" | "isBottom" | "destroyOnClose" | "overflow" | "modal" | "showClose" | "draggable" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "headerAriaLevel" | "appendToBody" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "alignCenter" | "fullscreen" | "ariaLevel" | "cancelLoading" | "modalApi"> & Partial<import('element-plus').DialogProps> & {}, import('vue').PublicProps>, TtModalExtendedModalApi];
|
|
110
110
|
export declare function showTtModal<T extends Component>(app: App, component: T, options: ModalApiOptions): TtModalExtendedModalApi;
|