@dazhicheng/ui 1.4.22 → 1.5.0
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-drawer/index.d.ts +3703 -0
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +2121 -0
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +94 -0
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +27 -0
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +10 -0
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +9 -0
- package/dist/components/tt-drawer/src/index.d.ts +10 -0
- package/dist/components/tt-drawer/src/props.d.ts +99 -0
- package/dist/components/tt-drawer/src/typing.d.ts +154 -0
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +87 -0
- package/dist/components/tt-form/src/config.d.ts +2 -2
- package/dist/components/tt-form/src/types.d.ts +6 -5
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +1466 -2
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +734 -2
- package/dist/components/tt-modal/index.d.ts +112 -111
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +57 -57
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +5 -5
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +5 -5
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +22 -20
- package/dist/components/tt-modal/src/index.d.ts +5 -6
- package/dist/components/tt-modal/src/typing.d.ts +5 -5
- package/dist/components/tt-select/index.d.ts +2 -3
- package/dist/components/tt-select/src/Select.vue.d.ts +71 -71
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +8 -8
- package/dist/components/tt-select/src/components/Table.vue.d.ts +12 -12
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +8 -8
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +3 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +7 -7
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +16 -16
- package/dist/components/tt-select/src/props.d.ts +14 -14
- package/dist/components/tt-select/src/types/index.d.ts +15 -15
- package/dist/components/tt-table/src/Table.vue.d.ts +12 -12
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8633 -7906
- package/dist/style.css +1 -1
- package/package.json +1 -1
- /package/dist/components/tt-form/src/components/{formActions.vue.d.ts → FormActions.vue.d.ts} +0 -0
- /package/dist/components/tt-form/src/{useForm.vue.d.ts → index.vue.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const RenderModal: import('../../../../utils/src').SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modalApi: {
|
|
4
|
-
type: import('vue').PropType<
|
|
4
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
5
5
|
default: undefined;
|
|
6
6
|
};
|
|
7
7
|
testId: any;
|
|
@@ -132,7 +132,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
132
132
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
133
133
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
134
134
|
}>, {
|
|
135
|
-
modalApi:
|
|
135
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
136
136
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
137
137
|
"update:visible": (args_0: boolean) => any;
|
|
138
138
|
"visible-change": (args_0: boolean) => any;
|
|
@@ -156,31 +156,31 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
156
156
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
157
|
draggable: boolean;
|
|
158
158
|
testId: any;
|
|
159
|
+
destroyOnClose: boolean;
|
|
160
|
+
showOkBtn: boolean;
|
|
161
|
+
showCancelBtn: boolean;
|
|
159
162
|
cancelText: string;
|
|
160
163
|
okText: string;
|
|
161
|
-
resizer: boolean;
|
|
162
|
-
showCancelBtn: boolean;
|
|
163
|
-
showOkBtn: boolean;
|
|
164
164
|
confirmLoading: boolean;
|
|
165
|
-
cancelLoading: boolean;
|
|
166
165
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
167
166
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
168
167
|
};
|
|
169
168
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
170
|
-
|
|
171
|
-
modal: boolean;
|
|
169
|
+
headerAriaLevel: string;
|
|
172
170
|
appendToBody: boolean;
|
|
173
|
-
destroyOnClose: boolean;
|
|
174
171
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
172
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
|
+
modal: boolean;
|
|
176
174
|
modalPenetrable: boolean;
|
|
177
175
|
openDelay: number;
|
|
178
176
|
closeDelay: number;
|
|
179
177
|
trapFocus: boolean;
|
|
180
|
-
headerAriaLevel: string;
|
|
181
178
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
179
|
ariaLevel: string;
|
|
183
|
-
|
|
180
|
+
resizer: boolean;
|
|
181
|
+
cancelLoading: boolean;
|
|
182
|
+
isBottom: boolean;
|
|
183
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
184
184
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
185
185
|
modalWrapperRef: ({
|
|
186
186
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -197,19 +197,19 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
197
197
|
showFooter: boolean;
|
|
198
198
|
draggable: boolean;
|
|
199
199
|
testId: any;
|
|
200
|
+
showOkBtn: boolean;
|
|
201
|
+
showCancelBtn: boolean;
|
|
200
202
|
cancelText: string;
|
|
201
203
|
okText: string;
|
|
202
|
-
resizer: boolean;
|
|
203
|
-
showCancelBtn: boolean;
|
|
204
|
-
showOkBtn: boolean;
|
|
205
204
|
confirmLoading: boolean;
|
|
206
|
-
cancelLoading: boolean;
|
|
207
205
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
208
206
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
209
207
|
};
|
|
210
208
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
211
|
-
isBottom: boolean;
|
|
212
209
|
modal: boolean;
|
|
210
|
+
resizer: boolean;
|
|
211
|
+
cancelLoading: boolean;
|
|
212
|
+
isBottom: boolean;
|
|
213
213
|
}> & Omit<{
|
|
214
214
|
readonly title: any;
|
|
215
215
|
readonly fullscreen: boolean;
|
|
@@ -222,25 +222,25 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
222
222
|
readonly showFooter: boolean;
|
|
223
223
|
readonly draggable: boolean;
|
|
224
224
|
readonly testId: any;
|
|
225
|
+
readonly showOkBtn: boolean;
|
|
226
|
+
readonly showCancelBtn: boolean;
|
|
225
227
|
readonly cancelText: string;
|
|
226
228
|
readonly okText: string;
|
|
227
|
-
readonly resizer: boolean;
|
|
228
|
-
readonly showCancelBtn: boolean;
|
|
229
|
-
readonly showOkBtn: boolean;
|
|
230
229
|
readonly confirmLoading: boolean;
|
|
231
|
-
readonly cancelLoading: boolean;
|
|
232
230
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
233
231
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
234
232
|
};
|
|
235
233
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
236
|
-
readonly isBottom: boolean;
|
|
237
234
|
readonly modal: boolean;
|
|
235
|
+
readonly resizer: boolean;
|
|
236
|
+
readonly cancelLoading: boolean;
|
|
237
|
+
readonly isBottom: boolean;
|
|
238
238
|
readonly top?: string | undefined;
|
|
239
239
|
readonly width?: string | number | undefined;
|
|
240
240
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
241
241
|
readonly loadingTip?: string | undefined;
|
|
242
242
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
243
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "modal" | "resizer" | "cancelLoading" | "isBottom">;
|
|
244
244
|
$attrs: {
|
|
245
245
|
[x: string]: unknown;
|
|
246
246
|
};
|
|
@@ -361,19 +361,19 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
361
361
|
showFooter: boolean;
|
|
362
362
|
draggable: boolean;
|
|
363
363
|
testId: any;
|
|
364
|
+
showOkBtn: boolean;
|
|
365
|
+
showCancelBtn: boolean;
|
|
364
366
|
cancelText: string;
|
|
365
367
|
okText: string;
|
|
366
|
-
resizer: boolean;
|
|
367
|
-
showCancelBtn: boolean;
|
|
368
|
-
showOkBtn: boolean;
|
|
369
368
|
confirmLoading: boolean;
|
|
370
|
-
cancelLoading: boolean;
|
|
371
369
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
372
370
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
373
371
|
};
|
|
374
372
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
375
|
-
isBottom: boolean;
|
|
376
373
|
modal: boolean;
|
|
374
|
+
resizer: boolean;
|
|
375
|
+
cancelLoading: boolean;
|
|
376
|
+
isBottom: boolean;
|
|
377
377
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
378
378
|
beforeCreate?: (() => void) | (() => void)[];
|
|
379
379
|
created?: (() => void) | (() => void)[];
|
|
@@ -406,19 +406,19 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
406
406
|
showFooter: boolean;
|
|
407
407
|
draggable: boolean;
|
|
408
408
|
testId: any;
|
|
409
|
+
showOkBtn: boolean;
|
|
410
|
+
showCancelBtn: boolean;
|
|
409
411
|
cancelText: string;
|
|
410
412
|
okText: string;
|
|
411
|
-
resizer: boolean;
|
|
412
|
-
showCancelBtn: boolean;
|
|
413
|
-
showOkBtn: boolean;
|
|
414
413
|
confirmLoading: boolean;
|
|
415
|
-
cancelLoading: boolean;
|
|
416
414
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
417
415
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
418
416
|
};
|
|
419
417
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
420
|
-
isBottom: boolean;
|
|
421
418
|
modal: boolean;
|
|
419
|
+
resizer: boolean;
|
|
420
|
+
cancelLoading: boolean;
|
|
421
|
+
isBottom: boolean;
|
|
422
422
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
423
423
|
testId: any;
|
|
424
424
|
visible: {
|
|
@@ -506,7 +506,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
506
506
|
};
|
|
507
507
|
}>> & Readonly<{
|
|
508
508
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
509
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
509
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "modal" | "resizer" | "cancelLoading" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
510
510
|
onScrollBottom: () => void;
|
|
511
511
|
elm: import('vue').Ref<any, any>;
|
|
512
512
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -523,7 +523,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
523
523
|
Defaults: {};
|
|
524
524
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
525
525
|
modalApi: {
|
|
526
|
-
type: import('vue').PropType<
|
|
526
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
527
527
|
default: undefined;
|
|
528
528
|
};
|
|
529
529
|
testId: any;
|
|
@@ -654,7 +654,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
654
654
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
655
655
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
656
656
|
}>, {
|
|
657
|
-
modalApi:
|
|
657
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
658
658
|
}, {}, {}, {}, {
|
|
659
659
|
title: any;
|
|
660
660
|
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -674,38 +674,38 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
674
674
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
675
675
|
draggable: boolean;
|
|
676
676
|
testId: any;
|
|
677
|
+
destroyOnClose: boolean;
|
|
678
|
+
showOkBtn: boolean;
|
|
679
|
+
showCancelBtn: boolean;
|
|
677
680
|
cancelText: string;
|
|
678
681
|
okText: string;
|
|
679
|
-
resizer: boolean;
|
|
680
|
-
showCancelBtn: boolean;
|
|
681
|
-
showOkBtn: boolean;
|
|
682
682
|
confirmLoading: boolean;
|
|
683
|
-
cancelLoading: boolean;
|
|
684
683
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
685
684
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
686
685
|
};
|
|
687
686
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
688
|
-
|
|
689
|
-
modal: boolean;
|
|
687
|
+
headerAriaLevel: string;
|
|
690
688
|
appendToBody: boolean;
|
|
691
|
-
destroyOnClose: boolean;
|
|
692
689
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
693
690
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
691
|
+
modal: boolean;
|
|
694
692
|
modalPenetrable: boolean;
|
|
695
693
|
openDelay: number;
|
|
696
694
|
closeDelay: number;
|
|
697
695
|
trapFocus: boolean;
|
|
698
|
-
headerAriaLevel: string;
|
|
699
696
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
700
697
|
ariaLevel: string;
|
|
701
|
-
|
|
698
|
+
resizer: boolean;
|
|
699
|
+
cancelLoading: boolean;
|
|
700
|
+
isBottom: boolean;
|
|
701
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
702
702
|
}>;
|
|
703
703
|
__isFragment?: never;
|
|
704
704
|
__isTeleport?: never;
|
|
705
705
|
__isSuspense?: never;
|
|
706
706
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
707
707
|
modalApi: {
|
|
708
|
-
type: import('vue').PropType<
|
|
708
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
709
709
|
default: undefined;
|
|
710
710
|
};
|
|
711
711
|
testId: any;
|
|
@@ -836,7 +836,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
836
836
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
837
837
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
838
838
|
}>, {
|
|
839
|
-
modalApi:
|
|
839
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
840
840
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
841
841
|
"update:visible": (args_0: boolean) => any;
|
|
842
842
|
"visible-change": (args_0: boolean) => any;
|
|
@@ -860,31 +860,31 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
860
860
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
861
861
|
draggable: boolean;
|
|
862
862
|
testId: any;
|
|
863
|
+
destroyOnClose: boolean;
|
|
864
|
+
showOkBtn: boolean;
|
|
865
|
+
showCancelBtn: boolean;
|
|
863
866
|
cancelText: string;
|
|
864
867
|
okText: string;
|
|
865
|
-
resizer: boolean;
|
|
866
|
-
showCancelBtn: boolean;
|
|
867
|
-
showOkBtn: boolean;
|
|
868
868
|
confirmLoading: boolean;
|
|
869
|
-
cancelLoading: boolean;
|
|
870
869
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
871
870
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
872
871
|
};
|
|
873
872
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
874
|
-
|
|
875
|
-
modal: boolean;
|
|
873
|
+
headerAriaLevel: string;
|
|
876
874
|
appendToBody: boolean;
|
|
877
|
-
destroyOnClose: boolean;
|
|
878
875
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
879
876
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
877
|
+
modal: boolean;
|
|
880
878
|
modalPenetrable: boolean;
|
|
881
879
|
openDelay: number;
|
|
882
880
|
closeDelay: number;
|
|
883
881
|
trapFocus: boolean;
|
|
884
|
-
headerAriaLevel: string;
|
|
885
882
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
886
883
|
ariaLevel: string;
|
|
887
|
-
|
|
884
|
+
resizer: boolean;
|
|
885
|
+
cancelLoading: boolean;
|
|
886
|
+
isBottom: boolean;
|
|
887
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
888
888
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
889
889
|
$slots: Readonly<{
|
|
890
890
|
[key: string]: (...args: any) => void;
|
|
@@ -900,12 +900,13 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
900
900
|
footer: () => void;
|
|
901
901
|
};
|
|
902
902
|
})> & Record<string, any>;
|
|
903
|
-
export { useModalRender } from './src/hooks/useModalRender';
|
|
903
|
+
export { useModalRender, showTtModal } from './src/hooks/useModalRender';
|
|
904
|
+
export { setupModal, useShowModal } from './src';
|
|
904
905
|
export * from './src/typing';
|
|
905
906
|
export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
906
907
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
907
908
|
modalApi: {
|
|
908
|
-
type: import('vue').PropType<
|
|
909
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
909
910
|
default: undefined;
|
|
910
911
|
};
|
|
911
912
|
testId: any;
|
|
@@ -1036,7 +1037,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1036
1037
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1037
1038
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1038
1039
|
}>, {
|
|
1039
|
-
modalApi:
|
|
1040
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1040
1041
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1041
1042
|
"update:visible": (args_0: boolean) => any;
|
|
1042
1043
|
"visible-change": (args_0: boolean) => any;
|
|
@@ -1060,31 +1061,31 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1060
1061
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1061
1062
|
draggable: boolean;
|
|
1062
1063
|
testId: any;
|
|
1064
|
+
destroyOnClose: boolean;
|
|
1065
|
+
showOkBtn: boolean;
|
|
1066
|
+
showCancelBtn: boolean;
|
|
1063
1067
|
cancelText: string;
|
|
1064
1068
|
okText: string;
|
|
1065
|
-
resizer: boolean;
|
|
1066
|
-
showCancelBtn: boolean;
|
|
1067
|
-
showOkBtn: boolean;
|
|
1068
1069
|
confirmLoading: boolean;
|
|
1069
|
-
cancelLoading: boolean;
|
|
1070
1070
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1071
1071
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1072
1072
|
};
|
|
1073
1073
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1074
|
-
|
|
1075
|
-
modal: boolean;
|
|
1074
|
+
headerAriaLevel: string;
|
|
1076
1075
|
appendToBody: boolean;
|
|
1077
|
-
destroyOnClose: boolean;
|
|
1078
1076
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1079
1077
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1078
|
+
modal: boolean;
|
|
1080
1079
|
modalPenetrable: boolean;
|
|
1081
1080
|
openDelay: number;
|
|
1082
1081
|
closeDelay: number;
|
|
1083
1082
|
trapFocus: boolean;
|
|
1084
|
-
headerAriaLevel: string;
|
|
1085
1083
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1086
1084
|
ariaLevel: string;
|
|
1087
|
-
|
|
1085
|
+
resizer: boolean;
|
|
1086
|
+
cancelLoading: boolean;
|
|
1087
|
+
isBottom: boolean;
|
|
1088
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1088
1089
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1089
1090
|
modalWrapperRef: ({
|
|
1090
1091
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -1101,19 +1102,19 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1101
1102
|
showFooter: boolean;
|
|
1102
1103
|
draggable: boolean;
|
|
1103
1104
|
testId: any;
|
|
1105
|
+
showOkBtn: boolean;
|
|
1106
|
+
showCancelBtn: boolean;
|
|
1104
1107
|
cancelText: string;
|
|
1105
1108
|
okText: string;
|
|
1106
|
-
resizer: boolean;
|
|
1107
|
-
showCancelBtn: boolean;
|
|
1108
|
-
showOkBtn: boolean;
|
|
1109
1109
|
confirmLoading: boolean;
|
|
1110
|
-
cancelLoading: boolean;
|
|
1111
1110
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1112
1111
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1113
1112
|
};
|
|
1114
1113
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1115
|
-
isBottom: boolean;
|
|
1116
1114
|
modal: boolean;
|
|
1115
|
+
resizer: boolean;
|
|
1116
|
+
cancelLoading: boolean;
|
|
1117
|
+
isBottom: boolean;
|
|
1117
1118
|
}> & Omit<{
|
|
1118
1119
|
readonly title: any;
|
|
1119
1120
|
readonly fullscreen: boolean;
|
|
@@ -1126,25 +1127,25 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1126
1127
|
readonly showFooter: boolean;
|
|
1127
1128
|
readonly draggable: boolean;
|
|
1128
1129
|
readonly testId: any;
|
|
1130
|
+
readonly showOkBtn: boolean;
|
|
1131
|
+
readonly showCancelBtn: boolean;
|
|
1129
1132
|
readonly cancelText: string;
|
|
1130
1133
|
readonly okText: string;
|
|
1131
|
-
readonly resizer: boolean;
|
|
1132
|
-
readonly showCancelBtn: boolean;
|
|
1133
|
-
readonly showOkBtn: boolean;
|
|
1134
1134
|
readonly confirmLoading: boolean;
|
|
1135
|
-
readonly cancelLoading: boolean;
|
|
1136
1135
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1137
1136
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1138
1137
|
};
|
|
1139
1138
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1140
|
-
readonly isBottom: boolean;
|
|
1141
1139
|
readonly modal: boolean;
|
|
1140
|
+
readonly resizer: boolean;
|
|
1141
|
+
readonly cancelLoading: boolean;
|
|
1142
|
+
readonly isBottom: boolean;
|
|
1142
1143
|
readonly top?: string | undefined;
|
|
1143
1144
|
readonly width?: string | number | undefined;
|
|
1144
1145
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
1145
1146
|
readonly loadingTip?: string | undefined;
|
|
1146
1147
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1147
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
1148
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "modal" | "resizer" | "cancelLoading" | "isBottom">;
|
|
1148
1149
|
$attrs: {
|
|
1149
1150
|
[x: string]: unknown;
|
|
1150
1151
|
};
|
|
@@ -1265,19 +1266,19 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1265
1266
|
showFooter: boolean;
|
|
1266
1267
|
draggable: boolean;
|
|
1267
1268
|
testId: any;
|
|
1269
|
+
showOkBtn: boolean;
|
|
1270
|
+
showCancelBtn: boolean;
|
|
1268
1271
|
cancelText: string;
|
|
1269
1272
|
okText: string;
|
|
1270
|
-
resizer: boolean;
|
|
1271
|
-
showCancelBtn: boolean;
|
|
1272
|
-
showOkBtn: boolean;
|
|
1273
1273
|
confirmLoading: boolean;
|
|
1274
|
-
cancelLoading: boolean;
|
|
1275
1274
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1276
1275
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1277
1276
|
};
|
|
1278
1277
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1279
|
-
isBottom: boolean;
|
|
1280
1278
|
modal: boolean;
|
|
1279
|
+
resizer: boolean;
|
|
1280
|
+
cancelLoading: boolean;
|
|
1281
|
+
isBottom: boolean;
|
|
1281
1282
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1282
1283
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1283
1284
|
created?: (() => void) | (() => void)[];
|
|
@@ -1310,19 +1311,19 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1310
1311
|
showFooter: boolean;
|
|
1311
1312
|
draggable: boolean;
|
|
1312
1313
|
testId: any;
|
|
1314
|
+
showOkBtn: boolean;
|
|
1315
|
+
showCancelBtn: boolean;
|
|
1313
1316
|
cancelText: string;
|
|
1314
1317
|
okText: string;
|
|
1315
|
-
resizer: boolean;
|
|
1316
|
-
showCancelBtn: boolean;
|
|
1317
|
-
showOkBtn: boolean;
|
|
1318
1318
|
confirmLoading: boolean;
|
|
1319
|
-
cancelLoading: boolean;
|
|
1320
1319
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1321
1320
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1322
1321
|
};
|
|
1323
1322
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1324
|
-
isBottom: boolean;
|
|
1325
1323
|
modal: boolean;
|
|
1324
|
+
resizer: boolean;
|
|
1325
|
+
cancelLoading: boolean;
|
|
1326
|
+
isBottom: boolean;
|
|
1326
1327
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1327
1328
|
testId: any;
|
|
1328
1329
|
visible: {
|
|
@@ -1410,7 +1411,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1410
1411
|
};
|
|
1411
1412
|
}>> & Readonly<{
|
|
1412
1413
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1413
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
1414
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "showOkBtn" | "showCancelBtn" | "cancelText" | "okText" | "confirmLoading" | "okButtonProps" | "cancelButtonProps" | "modal" | "resizer" | "cancelLoading" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1414
1415
|
onScrollBottom: () => void;
|
|
1415
1416
|
elm: import('vue').Ref<any, any>;
|
|
1416
1417
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -1427,7 +1428,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1427
1428
|
Defaults: {};
|
|
1428
1429
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1429
1430
|
modalApi: {
|
|
1430
|
-
type: import('vue').PropType<
|
|
1431
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
1431
1432
|
default: undefined;
|
|
1432
1433
|
};
|
|
1433
1434
|
testId: any;
|
|
@@ -1558,7 +1559,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1558
1559
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1559
1560
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1560
1561
|
}>, {
|
|
1561
|
-
modalApi:
|
|
1562
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1562
1563
|
}, {}, {}, {}, {
|
|
1563
1564
|
title: any;
|
|
1564
1565
|
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1578,38 +1579,38 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1578
1579
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1579
1580
|
draggable: boolean;
|
|
1580
1581
|
testId: any;
|
|
1582
|
+
destroyOnClose: boolean;
|
|
1583
|
+
showOkBtn: boolean;
|
|
1584
|
+
showCancelBtn: boolean;
|
|
1581
1585
|
cancelText: string;
|
|
1582
1586
|
okText: string;
|
|
1583
|
-
resizer: boolean;
|
|
1584
|
-
showCancelBtn: boolean;
|
|
1585
|
-
showOkBtn: boolean;
|
|
1586
1587
|
confirmLoading: boolean;
|
|
1587
|
-
cancelLoading: boolean;
|
|
1588
1588
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1589
1589
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1590
1590
|
};
|
|
1591
1591
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1592
|
-
|
|
1593
|
-
modal: boolean;
|
|
1592
|
+
headerAriaLevel: string;
|
|
1594
1593
|
appendToBody: boolean;
|
|
1595
|
-
destroyOnClose: boolean;
|
|
1596
1594
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1597
1595
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1596
|
+
modal: boolean;
|
|
1598
1597
|
modalPenetrable: boolean;
|
|
1599
1598
|
openDelay: number;
|
|
1600
1599
|
closeDelay: number;
|
|
1601
1600
|
trapFocus: boolean;
|
|
1602
|
-
headerAriaLevel: string;
|
|
1603
1601
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1604
1602
|
ariaLevel: string;
|
|
1605
|
-
|
|
1603
|
+
resizer: boolean;
|
|
1604
|
+
cancelLoading: boolean;
|
|
1605
|
+
isBottom: boolean;
|
|
1606
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1606
1607
|
}>;
|
|
1607
1608
|
__isFragment?: never;
|
|
1608
1609
|
__isTeleport?: never;
|
|
1609
1610
|
__isSuspense?: never;
|
|
1610
1611
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1611
1612
|
modalApi: {
|
|
1612
|
-
type: import('vue').PropType<
|
|
1613
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
1613
1614
|
default: undefined;
|
|
1614
1615
|
};
|
|
1615
1616
|
testId: any;
|
|
@@ -1740,7 +1741,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1740
1741
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1741
1742
|
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1742
1743
|
}>, {
|
|
1743
|
-
modalApi:
|
|
1744
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1744
1745
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1745
1746
|
"update:visible": (args_0: boolean) => any;
|
|
1746
1747
|
"visible-change": (args_0: boolean) => any;
|
|
@@ -1764,31 +1765,31 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1764
1765
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1765
1766
|
draggable: boolean;
|
|
1766
1767
|
testId: any;
|
|
1768
|
+
destroyOnClose: boolean;
|
|
1769
|
+
showOkBtn: boolean;
|
|
1770
|
+
showCancelBtn: boolean;
|
|
1767
1771
|
cancelText: string;
|
|
1768
1772
|
okText: string;
|
|
1769
|
-
resizer: boolean;
|
|
1770
|
-
showCancelBtn: boolean;
|
|
1771
|
-
showOkBtn: boolean;
|
|
1772
1773
|
confirmLoading: boolean;
|
|
1773
|
-
cancelLoading: boolean;
|
|
1774
1774
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1775
1775
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1776
1776
|
};
|
|
1777
1777
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1778
|
-
|
|
1779
|
-
modal: boolean;
|
|
1778
|
+
headerAriaLevel: string;
|
|
1780
1779
|
appendToBody: boolean;
|
|
1781
|
-
destroyOnClose: boolean;
|
|
1782
1780
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1783
1781
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1782
|
+
modal: boolean;
|
|
1784
1783
|
modalPenetrable: boolean;
|
|
1785
1784
|
openDelay: number;
|
|
1786
1785
|
closeDelay: number;
|
|
1787
1786
|
trapFocus: boolean;
|
|
1788
|
-
headerAriaLevel: string;
|
|
1789
1787
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1790
1788
|
ariaLevel: string;
|
|
1791
|
-
|
|
1789
|
+
resizer: boolean;
|
|
1790
|
+
cancelLoading: boolean;
|
|
1791
|
+
isBottom: boolean;
|
|
1792
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1792
1793
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1793
1794
|
$slots: Readonly<{
|
|
1794
1795
|
[key: string]: (...args: any) => void;
|