@dazhicheng/ui 1.5.143 → 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 -4208
- package/dist/{index.modern-CTe-bW9A.js → index.modern-BeGUVc1A.js} +1 -1
- package/dist/plugins.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,6 @@ declare function __VLS_template(): {
|
|
|
22
22
|
$data: {};
|
|
23
23
|
$props: Partial<{
|
|
24
24
|
title: any;
|
|
25
|
-
fullscreen: boolean;
|
|
26
25
|
visible: boolean;
|
|
27
26
|
size: "small" | "medium" | "mini";
|
|
28
27
|
height: any;
|
|
@@ -35,6 +34,7 @@ declare function __VLS_template(): {
|
|
|
35
34
|
modal: boolean;
|
|
36
35
|
cancelText: string;
|
|
37
36
|
okText: string;
|
|
37
|
+
fullscreen: boolean;
|
|
38
38
|
resizer: boolean;
|
|
39
39
|
showCancelBtn: boolean;
|
|
40
40
|
showOkBtn: boolean;
|
|
@@ -47,7 +47,6 @@ declare function __VLS_template(): {
|
|
|
47
47
|
isBottom: boolean;
|
|
48
48
|
}> & Omit<{
|
|
49
49
|
readonly title: any;
|
|
50
|
-
readonly fullscreen: boolean;
|
|
51
50
|
readonly visible: boolean;
|
|
52
51
|
readonly size: "small" | "medium" | "mini";
|
|
53
52
|
readonly height: any;
|
|
@@ -60,6 +59,7 @@ declare function __VLS_template(): {
|
|
|
60
59
|
readonly modal: boolean;
|
|
61
60
|
readonly cancelText: string;
|
|
62
61
|
readonly okText: string;
|
|
62
|
+
readonly fullscreen: boolean;
|
|
63
63
|
readonly resizer: boolean;
|
|
64
64
|
readonly showCancelBtn: boolean;
|
|
65
65
|
readonly showOkBtn: boolean;
|
|
@@ -75,7 +75,7 @@ declare function __VLS_template(): {
|
|
|
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, "title" | "
|
|
78
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
79
79
|
$attrs: {
|
|
80
80
|
[x: string]: unknown;
|
|
81
81
|
};
|
|
@@ -186,7 +186,6 @@ declare function __VLS_template(): {
|
|
|
186
186
|
"is-scroll": (...args: any[]) => void;
|
|
187
187
|
}, string, {
|
|
188
188
|
title: any;
|
|
189
|
-
fullscreen: boolean;
|
|
190
189
|
visible: boolean;
|
|
191
190
|
size: "small" | "medium" | "mini";
|
|
192
191
|
height: any;
|
|
@@ -199,6 +198,7 @@ declare function __VLS_template(): {
|
|
|
199
198
|
modal: boolean;
|
|
200
199
|
cancelText: string;
|
|
201
200
|
okText: string;
|
|
201
|
+
fullscreen: boolean;
|
|
202
202
|
resizer: boolean;
|
|
203
203
|
showCancelBtn: boolean;
|
|
204
204
|
showOkBtn: boolean;
|
|
@@ -231,7 +231,6 @@ declare function __VLS_template(): {
|
|
|
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
233
|
title: any;
|
|
234
|
-
fullscreen: boolean;
|
|
235
234
|
visible: boolean;
|
|
236
235
|
size: "small" | "medium" | "mini";
|
|
237
236
|
height: any;
|
|
@@ -244,6 +243,7 @@ declare function __VLS_template(): {
|
|
|
244
243
|
modal: boolean;
|
|
245
244
|
cancelText: string;
|
|
246
245
|
okText: string;
|
|
246
|
+
fullscreen: boolean;
|
|
247
247
|
resizer: boolean;
|
|
248
248
|
showCancelBtn: boolean;
|
|
249
249
|
showOkBtn: boolean;
|
|
@@ -341,7 +341,7 @@ declare function __VLS_template(): {
|
|
|
341
341
|
};
|
|
342
342
|
}>> & Readonly<{
|
|
343
343
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
344
|
-
}>, "onScrollBottom" | "elm" | ("title" | "
|
|
344
|
+
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
345
345
|
onScrollBottom: () => void;
|
|
346
346
|
elm: import('vue').Ref<any, any>;
|
|
347
347
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -623,10 +623,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
623
623
|
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
624
624
|
}>, {
|
|
625
625
|
title: any;
|
|
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)) | 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>;
|
|
628
|
-
fullscreen: boolean;
|
|
629
626
|
visible: boolean;
|
|
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)) | 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>;
|
|
630
628
|
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>;
|
|
631
629
|
size: "small" | "medium" | "mini";
|
|
632
630
|
center: boolean;
|
|
@@ -635,6 +633,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
635
633
|
loading: boolean;
|
|
636
634
|
modelValue: boolean;
|
|
637
635
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
636
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
638
637
|
scrollTop: boolean;
|
|
639
638
|
minHeight: any;
|
|
640
639
|
showFooter: boolean;
|
|
@@ -643,6 +642,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
643
642
|
modal: boolean;
|
|
644
643
|
cancelText: string;
|
|
645
644
|
okText: string;
|
|
645
|
+
fullscreen: boolean;
|
|
646
646
|
resizer: boolean;
|
|
647
647
|
showCancelBtn: boolean;
|
|
648
648
|
showOkBtn: boolean;
|
|
@@ -671,7 +671,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
671
671
|
$data: {};
|
|
672
672
|
$props: Partial<{
|
|
673
673
|
title: any;
|
|
674
|
-
fullscreen: boolean;
|
|
675
674
|
visible: boolean;
|
|
676
675
|
size: "small" | "medium" | "mini";
|
|
677
676
|
height: any;
|
|
@@ -684,6 +683,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
684
683
|
modal: boolean;
|
|
685
684
|
cancelText: string;
|
|
686
685
|
okText: string;
|
|
686
|
+
fullscreen: boolean;
|
|
687
687
|
resizer: boolean;
|
|
688
688
|
showCancelBtn: boolean;
|
|
689
689
|
showOkBtn: boolean;
|
|
@@ -696,7 +696,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
696
696
|
isBottom: boolean;
|
|
697
697
|
}> & Omit<{
|
|
698
698
|
readonly title: any;
|
|
699
|
-
readonly fullscreen: boolean;
|
|
700
699
|
readonly visible: boolean;
|
|
701
700
|
readonly size: "small" | "medium" | "mini";
|
|
702
701
|
readonly height: any;
|
|
@@ -709,6 +708,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
709
708
|
readonly modal: boolean;
|
|
710
709
|
readonly cancelText: string;
|
|
711
710
|
readonly okText: string;
|
|
711
|
+
readonly fullscreen: boolean;
|
|
712
712
|
readonly resizer: boolean;
|
|
713
713
|
readonly showCancelBtn: boolean;
|
|
714
714
|
readonly showOkBtn: boolean;
|
|
@@ -724,7 +724,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
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, "title" | "
|
|
727
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
728
728
|
$attrs: {
|
|
729
729
|
[x: string]: unknown;
|
|
730
730
|
};
|
|
@@ -835,7 +835,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
835
835
|
"is-scroll": (...args: any[]) => void;
|
|
836
836
|
}, string, {
|
|
837
837
|
title: any;
|
|
838
|
-
fullscreen: boolean;
|
|
839
838
|
visible: boolean;
|
|
840
839
|
size: "small" | "medium" | "mini";
|
|
841
840
|
height: any;
|
|
@@ -848,6 +847,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
848
847
|
modal: boolean;
|
|
849
848
|
cancelText: string;
|
|
850
849
|
okText: string;
|
|
850
|
+
fullscreen: boolean;
|
|
851
851
|
resizer: boolean;
|
|
852
852
|
showCancelBtn: boolean;
|
|
853
853
|
showOkBtn: boolean;
|
|
@@ -880,7 +880,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
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
882
|
title: any;
|
|
883
|
-
fullscreen: boolean;
|
|
884
883
|
visible: boolean;
|
|
885
884
|
size: "small" | "medium" | "mini";
|
|
886
885
|
height: any;
|
|
@@ -893,6 +892,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
893
892
|
modal: boolean;
|
|
894
893
|
cancelText: string;
|
|
895
894
|
okText: string;
|
|
895
|
+
fullscreen: boolean;
|
|
896
896
|
resizer: boolean;
|
|
897
897
|
showCancelBtn: boolean;
|
|
898
898
|
showOkBtn: boolean;
|
|
@@ -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" | ("title" | "
|
|
993
|
+
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
994
994
|
onScrollBottom: () => void;
|
|
995
995
|
elm: import('vue').Ref<any, any>;
|
|
996
996
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -189,7 +189,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
189
189
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
title: any;
|
|
192
|
-
fullscreen: boolean;
|
|
193
192
|
visible: boolean;
|
|
194
193
|
size: "small" | "medium" | "mini";
|
|
195
194
|
height: any;
|
|
@@ -202,6 +201,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
202
201
|
modal: boolean;
|
|
203
202
|
cancelText: string;
|
|
204
203
|
okText: string;
|
|
204
|
+
fullscreen: boolean;
|
|
205
205
|
resizer: boolean;
|
|
206
206
|
showCancelBtn: boolean;
|
|
207
207
|
showOkBtn: boolean;
|
|
@@ -6,10 +6,8 @@ export declare function setDefaultModalProps(props: Partial<ModalProps>): void;
|
|
|
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
8
|
title: any;
|
|
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)) | 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>;
|
|
11
|
-
fullscreen: boolean;
|
|
12
9
|
visible: boolean;
|
|
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)) | 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>;
|
|
13
11
|
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>;
|
|
14
12
|
size: "small" | "medium" | "mini";
|
|
15
13
|
center: boolean;
|
|
@@ -18,6 +16,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
18
16
|
loading: boolean;
|
|
19
17
|
modelValue: boolean;
|
|
20
18
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
20
|
scrollTop: boolean;
|
|
22
21
|
minHeight: any;
|
|
23
22
|
showFooter: boolean;
|
|
@@ -26,6 +25,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
26
25
|
modal: boolean;
|
|
27
26
|
cancelText: string;
|
|
28
27
|
okText: string;
|
|
28
|
+
fullscreen: boolean;
|
|
29
29
|
resizer: boolean;
|
|
30
30
|
showCancelBtn: boolean;
|
|
31
31
|
showOkBtn: boolean;
|
|
@@ -50,10 +50,8 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
50
50
|
modalApi: TtModalExtendedModalApi;
|
|
51
51
|
}> & Omit<{
|
|
52
52
|
readonly title: any;
|
|
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)) | 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>;
|
|
55
|
-
readonly fullscreen: boolean;
|
|
56
53
|
readonly visible: boolean;
|
|
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)) | 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>;
|
|
57
55
|
readonly size: "small" | "medium" | "mini";
|
|
58
56
|
readonly center: boolean;
|
|
59
57
|
readonly height: any;
|
|
@@ -61,6 +59,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
61
59
|
readonly loading: boolean;
|
|
62
60
|
readonly modelValue: boolean;
|
|
63
61
|
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
62
|
+
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
63
|
readonly scrollTop: boolean;
|
|
65
64
|
readonly minHeight: any;
|
|
66
65
|
readonly showFooter: boolean;
|
|
@@ -68,6 +67,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
68
67
|
readonly modal: boolean;
|
|
69
68
|
readonly cancelText: string;
|
|
70
69
|
readonly okText: string;
|
|
70
|
+
readonly fullscreen: boolean;
|
|
71
71
|
readonly resizer: boolean;
|
|
72
72
|
readonly showCancelBtn: boolean;
|
|
73
73
|
readonly showOkBtn: boolean;
|
|
@@ -88,14 +88,14 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
88
88
|
readonly trapFocus: boolean;
|
|
89
89
|
readonly headerAriaLevel: string;
|
|
90
90
|
readonly ariaLevel: string;
|
|
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) | null)[], 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;
|
|
98
97
|
readonly loadingTip?: string | undefined;
|
|
98
|
+
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
99
99
|
readonly modalClass?: string | undefined;
|
|
100
100
|
readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
101
101
|
readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown> | undefined;
|
|
@@ -106,5 +106,5 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
106
106
|
readonly "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
107
107
|
readonly "onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
108
108
|
readonly onRegister?: ((args_0: import('../typing').ModalMethods, args_1: string) => any) | undefined;
|
|
109
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "appendTo" | "transition" | "size" | "center" | "height" | "draggable" | "loading" | "modelValue" | "closeOnPressEscape" | "showClose" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "testId" | "modal" | "cancelText" | "okText" | "fullscreen" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "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;
|
|
@@ -18,12 +18,12 @@ declare function __VLS_template(): {
|
|
|
18
18
|
};
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
20
|
declare const __VLS_component: import('vue').DefineComponent<Partial<TtModalFormProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
fetch: (data: Recordable) => any;
|
|
22
21
|
submit: (data: Recordable) => any;
|
|
22
|
+
fetch: (data: Recordable) => any;
|
|
23
23
|
getinfo: (data: any) => any;
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<Partial<TtModalFormProps>> & Readonly<{
|
|
25
|
-
onFetch?: ((data: Recordable) => any) | undefined;
|
|
26
25
|
onSubmit?: ((data: Recordable) => any) | undefined;
|
|
26
|
+
onFetch?: ((data: Recordable) => any) | undefined;
|
|
27
27
|
onGetinfo?: ((data: any) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
dataField: string;
|
|
@@ -5,11 +5,11 @@ export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall
|
|
|
5
5
|
onChange?: ((key: string) => any) | undefined;
|
|
6
6
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
title: string;
|
|
9
8
|
top: number | string;
|
|
10
9
|
bottom: number | string;
|
|
11
10
|
left: number | string;
|
|
12
11
|
right: number | string;
|
|
12
|
+
title: string;
|
|
13
13
|
modelValue: string;
|
|
14
14
|
position: "fixed" | "static" | "sticky";
|
|
15
15
|
badgeCounts: Record<string, number>;
|
|
@@ -6,11 +6,11 @@ declare const _default: import('vue').DefineComponent<TtNavAnchorProps, {}, {},
|
|
|
6
6
|
onChange?: ((key: string) => any) | undefined;
|
|
7
7
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
title: string;
|
|
10
9
|
top: number | string;
|
|
11
10
|
bottom: number | string;
|
|
12
11
|
left: number | string;
|
|
13
12
|
right: number | string;
|
|
13
|
+
title: string;
|
|
14
14
|
modelValue: string;
|
|
15
15
|
position: "fixed" | "static" | "sticky";
|
|
16
16
|
badgeCounts: Record<string, number>;
|
|
@@ -57,7 +57,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
|
|
|
57
57
|
readonly autofocus?: boolean | undefined;
|
|
58
58
|
readonly rows?: number | undefined;
|
|
59
59
|
readonly ariaLabel?: string | undefined;
|
|
60
|
-
readonly inputmode?: "search" | "
|
|
60
|
+
readonly inputmode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
61
61
|
readonly name?: string | undefined;
|
|
62
62
|
readonly countGraphemes?: ((value: string) => number) | undefined;
|
|
63
63
|
readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
@@ -183,7 +183,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
|
|
|
183
183
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
184
184
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
185
185
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
186
|
-
}>, "
|
|
186
|
+
}>, "input" | "select" | "textarea" | "blur" | "focus" | "disabled" | "clear" | "type" | "ref" | "tabindex" | "modelValue" | "validateEvent" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
187
187
|
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
188
188
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
189
189
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -30,11 +30,9 @@ declare function __VLS_template(): {
|
|
|
30
30
|
readonly showAfter?: number | undefined;
|
|
31
31
|
readonly hideAfter?: number | undefined;
|
|
32
32
|
readonly autoClose?: number | undefined;
|
|
33
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
33
34
|
readonly style?: import('vue').StyleValue;
|
|
34
35
|
readonly id?: string | undefined;
|
|
35
|
-
readonly offset?: number | undefined;
|
|
36
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
37
|
-
readonly zIndex?: number | undefined;
|
|
38
36
|
readonly className?: (string | {
|
|
39
37
|
[x: string]: boolean;
|
|
40
38
|
} | (string | {
|
|
@@ -95,10 +93,12 @@ declare function __VLS_template(): {
|
|
|
95
93
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
96
94
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
97
95
|
readonly virtualTriggering?: boolean | undefined;
|
|
96
|
+
readonly zIndex?: number | undefined;
|
|
98
97
|
readonly loop?: boolean | undefined;
|
|
99
98
|
readonly boundariesPadding?: number | undefined;
|
|
100
99
|
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
101
100
|
readonly gpuAcceleration?: boolean | undefined;
|
|
101
|
+
readonly offset?: number | undefined;
|
|
102
102
|
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
103
103
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
104
104
|
readonly arrowOffset?: number | undefined;
|
|
@@ -243,7 +243,7 @@ declare function __VLS_template(): {
|
|
|
243
243
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
244
244
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
245
245
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
246
|
-
}>, "
|
|
246
|
+
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
247
247
|
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
248
248
|
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
249
249
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
@@ -332,11 +332,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
332
332
|
readonly showAfter?: number | undefined;
|
|
333
333
|
readonly hideAfter?: number | undefined;
|
|
334
334
|
readonly autoClose?: number | undefined;
|
|
335
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
335
336
|
readonly style?: import('vue').StyleValue;
|
|
336
337
|
readonly id?: string | undefined;
|
|
337
|
-
readonly offset?: number | undefined;
|
|
338
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
339
|
-
readonly zIndex?: number | undefined;
|
|
340
338
|
readonly className?: (string | {
|
|
341
339
|
[x: string]: boolean;
|
|
342
340
|
} | (string | {
|
|
@@ -397,10 +395,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
397
395
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
398
396
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
399
397
|
readonly virtualTriggering?: boolean | undefined;
|
|
398
|
+
readonly zIndex?: number | undefined;
|
|
400
399
|
readonly loop?: boolean | undefined;
|
|
401
400
|
readonly boundariesPadding?: number | undefined;
|
|
402
401
|
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
403
402
|
readonly gpuAcceleration?: boolean | undefined;
|
|
403
|
+
readonly offset?: number | undefined;
|
|
404
404
|
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
405
405
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
406
406
|
readonly arrowOffset?: number | undefined;
|
|
@@ -545,7 +545,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
545
545
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
546
546
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
547
547
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
548
|
-
}>, "
|
|
548
|
+
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
549
549
|
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
550
550
|
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
551
551
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
@@ -23,7 +23,7 @@ export declare function usePagination(refProps: ComputedRef<TtTableProps>, emit:
|
|
|
23
23
|
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
24
24
|
} | undefined;
|
|
25
25
|
size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
|
|
26
|
-
layouts?: ("
|
|
26
|
+
layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
27
27
|
currentPage?: import("vxe-pc-ui").VxePagerPropTypes.CurrentPage | undefined;
|
|
28
28
|
loading?: import("vxe-pc-ui").VxePagerPropTypes.Loading | undefined;
|
|
29
29
|
pageSize?: import("vxe-pc-ui").VxePagerPropTypes.PageSize | undefined;
|
|
@@ -68,7 +68,7 @@ export declare function usePagination(refProps: ComputedRef<TtTableProps>, emit:
|
|
|
68
68
|
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
|
|
71
|
-
layouts?: ("
|
|
71
|
+
layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
72
72
|
currentPage?: import("vxe-pc-ui").VxePagerPropTypes.CurrentPage | undefined;
|
|
73
73
|
loading?: import("vxe-pc-ui").VxePagerPropTypes.Loading | undefined;
|
|
74
74
|
pageSize?: import("vxe-pc-ui").VxePagerPropTypes.PageSize | undefined;
|
|
@@ -12,8 +12,8 @@ export declare const TtText: import('../../../../utils/src').SFCWithInstall<{
|
|
|
12
12
|
copy?: boolean;
|
|
13
13
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
14
14
|
placement: string;
|
|
15
|
-
visible: boolean;
|
|
16
15
|
copy: boolean;
|
|
16
|
+
visible: boolean;
|
|
17
17
|
toolTip: boolean;
|
|
18
18
|
toolTipLine: number;
|
|
19
19
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
@@ -37,8 +37,8 @@ export declare const TtText: import('../../../../utils/src').SFCWithInstall<{
|
|
|
37
37
|
copy?: boolean;
|
|
38
38
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
39
39
|
placement: string;
|
|
40
|
-
visible: boolean;
|
|
41
40
|
copy: boolean;
|
|
41
|
+
visible: boolean;
|
|
42
42
|
toolTip: boolean;
|
|
43
43
|
toolTipLine: number;
|
|
44
44
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
@@ -59,8 +59,8 @@ export declare const TtText: import('../../../../utils/src').SFCWithInstall<{
|
|
|
59
59
|
copy?: boolean;
|
|
60
60
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
61
61
|
placement: string;
|
|
62
|
-
visible: boolean;
|
|
63
62
|
copy: boolean;
|
|
63
|
+
visible: boolean;
|
|
64
64
|
toolTip: boolean;
|
|
65
65
|
toolTipLine: number;
|
|
66
66
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
@@ -34,8 +34,8 @@ declare function __VLS_template(): {
|
|
|
34
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
35
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
36
36
|
placement: string;
|
|
37
|
-
visible: boolean;
|
|
38
37
|
copy: boolean;
|
|
38
|
+
visible: boolean;
|
|
39
39
|
toolTip: boolean;
|
|
40
40
|
toolTipLine: number;
|
|
41
41
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
@@ -190,7 +190,7 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<im
|
|
|
190
190
|
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
191
191
|
readonly limit: NumberConstructor;
|
|
192
192
|
readonly directory: BooleanConstructor;
|
|
193
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("
|
|
193
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "delete" | "update:modelValue" | "afterUpload" | "preview" | "download" | "templateDownload" | "ok")[], "close" | "delete" | "update:modelValue" | "afterUpload" | "preview" | "download" | "templateDownload" | "ok", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
194
194
|
readonly action: {
|
|
195
195
|
readonly type: import('vue').PropType<string>;
|
|
196
196
|
readonly default: "";
|
|
@@ -391,12 +391,10 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<im
|
|
|
391
391
|
onTemplateDownload?: ((...args: any[]) => any) | undefined;
|
|
392
392
|
}>, {
|
|
393
393
|
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | null)[], unknown, unknown>;
|
|
394
|
-
readonly method: string;
|
|
395
|
-
readonly withCredentials: boolean;
|
|
396
394
|
readonly drag: boolean;
|
|
397
|
-
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
398
395
|
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
399
396
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
397
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
400
398
|
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
401
399
|
readonly name: string;
|
|
402
400
|
readonly modelValue: import('.').TtUploadFileItem[];
|
|
@@ -423,6 +421,8 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<im
|
|
|
423
421
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
424
422
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
425
423
|
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
424
|
+
readonly method: string;
|
|
425
|
+
readonly withCredentials: boolean;
|
|
426
426
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
427
427
|
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
428
428
|
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
@@ -190,7 +190,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
190
190
|
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
191
191
|
readonly limit: NumberConstructor;
|
|
192
192
|
readonly directory: BooleanConstructor;
|
|
193
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("
|
|
193
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "delete" | "update:modelValue" | "afterUpload" | "preview" | "download" | "templateDownload" | "ok")[], "close" | "delete" | "update:modelValue" | "afterUpload" | "preview" | "download" | "templateDownload" | "ok", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
194
194
|
readonly action: {
|
|
195
195
|
readonly type: import('vue').PropType<string>;
|
|
196
196
|
readonly default: "";
|
|
@@ -391,12 +391,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
391
391
|
onTemplateDownload?: ((...args: any[]) => any) | undefined;
|
|
392
392
|
}>, {
|
|
393
393
|
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | null)[], unknown, unknown>;
|
|
394
|
-
readonly method: string;
|
|
395
|
-
readonly withCredentials: boolean;
|
|
396
394
|
readonly drag: boolean;
|
|
397
|
-
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
398
395
|
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
399
396
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
397
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
400
398
|
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
401
399
|
readonly name: string;
|
|
402
400
|
readonly modelValue: TtUploadFileItem[];
|
|
@@ -423,6 +421,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
423
421
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
424
422
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
425
423
|
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
424
|
+
readonly method: string;
|
|
425
|
+
readonly withCredentials: boolean;
|
|
426
426
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
427
427
|
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
428
428
|
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
@@ -229,7 +229,7 @@ class $n {
|
|
|
229
229
|
o = this._deprecatedHooks[t], t = o.to;
|
|
230
230
|
if (o && !u.allowDeprecated) {
|
|
231
231
|
let i = o.message;
|
|
232
|
-
i || (i = `${r} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || this._deprecatedMessages.add(i);
|
|
232
|
+
i || (i = `${r} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || (console.warn(i), this._deprecatedMessages.add(i));
|
|
233
233
|
}
|
|
234
234
|
if (!n.name)
|
|
235
235
|
try {
|
|
@@ -2359,6 +2359,7 @@ function Nu(e = {}) {
|
|
|
2359
2359
|
fetch(`${A}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
|
|
2360
2360
|
if (!d.ok) {
|
|
2361
2361
|
const m = `Opening component ${p} failed`;
|
|
2362
|
+
console.log(`%c${m}`, "color:red");
|
|
2362
2363
|
}
|
|
2363
2364
|
});
|
|
2364
2365
|
} else if (T.vitePluginDetected) {
|
|
@@ -2988,7 +2989,7 @@ function R(e, t, n, u) {
|
|
|
2988
2989
|
var pn = [
|
|
2989
2990
|
R(fn, "undefined", () => null, () => {
|
|
2990
2991
|
}),
|
|
2991
|
-
R(Er, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
|
|
2992
|
+
R(Er, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
|
|
2992
2993
|
R(_r, "Date", (e) => e.toISOString(), (e) => new Date(e)),
|
|
2993
2994
|
R(fr, "Error", (e, t) => {
|
|
2994
2995
|
const n = {
|