@dazhicheng/ui 1.5.34 → 1.5.35
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 +80 -80
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +45 -45
- package/dist/components/tt-form/index.d.ts +4 -2
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +4 -4
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +4 -1
- package/dist/components/tt-form/src/group-form/FieldRenderer.d.ts +81 -0
- package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +49 -0
- package/dist/components/tt-form/src/group-form/GroupSection.vue.d.ts +25 -0
- package/dist/components/tt-form/src/group-form/LazyFormField.vue.d.ts +13 -0
- package/dist/components/tt-form/src/group-form/index.d.ts +3 -0
- package/dist/components/tt-form/src/group-form/lazyContext.d.ts +37 -0
- package/dist/components/tt-form/src/group-form/types.d.ts +147 -0
- package/dist/components/tt-form/src/group-form/useGroupForm.d.ts +5 -0
- package/dist/components/tt-form/src/group-form/utils.d.ts +93 -0
- package/dist/components/tt-form/src/types.d.ts +72 -5
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +48 -0
- package/dist/components/tt-modal/index.d.ts +18 -18
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +13 -13
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +3 -3
- package/dist/components/tt-nav-anchor/index.d.ts +19 -0
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +19 -0
- package/dist/components/tt-nav-anchor/src/types.d.ts +29 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +12 -12
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +1 -1
- package/dist/components/tt-select/src/components/Table.vue.d.ts +1 -1
- package/dist/components/tt-table/src/Table.vue.d.ts +40 -40
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +40 -40
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10216 -9159
- package/dist/style.css +1 -1
- package/package.json +3 -10
|
@@ -147,6 +147,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
147
147
|
size: "small" | "medium" | "mini";
|
|
148
148
|
center: boolean;
|
|
149
149
|
height: any;
|
|
150
|
+
draggable: boolean;
|
|
150
151
|
loading: boolean;
|
|
151
152
|
modelValue: boolean;
|
|
152
153
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -154,7 +155,6 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
154
155
|
minHeight: any;
|
|
155
156
|
showFooter: boolean;
|
|
156
157
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
|
-
draggable: boolean;
|
|
158
158
|
testId: any;
|
|
159
159
|
modal: boolean;
|
|
160
160
|
cancelText: string;
|
|
@@ -191,11 +191,11 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
191
191
|
visible: boolean;
|
|
192
192
|
size: "small" | "medium" | "mini";
|
|
193
193
|
height: any;
|
|
194
|
+
draggable: boolean;
|
|
194
195
|
loading: boolean;
|
|
195
196
|
scrollTop: boolean;
|
|
196
197
|
minHeight: any;
|
|
197
198
|
showFooter: boolean;
|
|
198
|
-
draggable: boolean;
|
|
199
199
|
testId: any;
|
|
200
200
|
modal: boolean;
|
|
201
201
|
cancelText: string;
|
|
@@ -216,11 +216,11 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
216
216
|
readonly visible: boolean;
|
|
217
217
|
readonly size: "small" | "medium" | "mini";
|
|
218
218
|
readonly height: any;
|
|
219
|
+
readonly draggable: boolean;
|
|
219
220
|
readonly loading: boolean;
|
|
220
221
|
readonly scrollTop: boolean;
|
|
221
222
|
readonly minHeight: any;
|
|
222
223
|
readonly showFooter: boolean;
|
|
223
|
-
readonly draggable: boolean;
|
|
224
224
|
readonly testId: any;
|
|
225
225
|
readonly modal: boolean;
|
|
226
226
|
readonly cancelText: string;
|
|
@@ -240,7 +240,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
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" | "
|
|
243
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
244
244
|
$attrs: {
|
|
245
245
|
[x: string]: unknown;
|
|
246
246
|
};
|
|
@@ -355,11 +355,11 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
355
355
|
visible: boolean;
|
|
356
356
|
size: "small" | "medium" | "mini";
|
|
357
357
|
height: any;
|
|
358
|
+
draggable: boolean;
|
|
358
359
|
loading: boolean;
|
|
359
360
|
scrollTop: boolean;
|
|
360
361
|
minHeight: any;
|
|
361
362
|
showFooter: boolean;
|
|
362
|
-
draggable: boolean;
|
|
363
363
|
testId: any;
|
|
364
364
|
modal: boolean;
|
|
365
365
|
cancelText: string;
|
|
@@ -400,11 +400,11 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
400
400
|
visible: boolean;
|
|
401
401
|
size: "small" | "medium" | "mini";
|
|
402
402
|
height: any;
|
|
403
|
+
draggable: boolean;
|
|
403
404
|
loading: boolean;
|
|
404
405
|
scrollTop: boolean;
|
|
405
406
|
minHeight: any;
|
|
406
407
|
showFooter: boolean;
|
|
407
|
-
draggable: boolean;
|
|
408
408
|
testId: any;
|
|
409
409
|
modal: boolean;
|
|
410
410
|
cancelText: string;
|
|
@@ -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" | "
|
|
509
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
510
510
|
onScrollBottom: () => void;
|
|
511
511
|
elm: import('vue').Ref<any, any>;
|
|
512
512
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -665,6 +665,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
665
665
|
size: "small" | "medium" | "mini";
|
|
666
666
|
center: boolean;
|
|
667
667
|
height: any;
|
|
668
|
+
draggable: boolean;
|
|
668
669
|
loading: boolean;
|
|
669
670
|
modelValue: boolean;
|
|
670
671
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -672,7 +673,6 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
672
673
|
minHeight: any;
|
|
673
674
|
showFooter: boolean;
|
|
674
675
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
675
|
-
draggable: boolean;
|
|
676
676
|
testId: any;
|
|
677
677
|
modal: boolean;
|
|
678
678
|
cancelText: string;
|
|
@@ -851,6 +851,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
851
851
|
size: "small" | "medium" | "mini";
|
|
852
852
|
center: boolean;
|
|
853
853
|
height: any;
|
|
854
|
+
draggable: boolean;
|
|
854
855
|
loading: boolean;
|
|
855
856
|
modelValue: boolean;
|
|
856
857
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -858,7 +859,6 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
858
859
|
minHeight: any;
|
|
859
860
|
showFooter: boolean;
|
|
860
861
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
861
|
-
draggable: boolean;
|
|
862
862
|
testId: any;
|
|
863
863
|
modal: boolean;
|
|
864
864
|
cancelText: string;
|
|
@@ -1052,6 +1052,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1052
1052
|
size: "small" | "medium" | "mini";
|
|
1053
1053
|
center: boolean;
|
|
1054
1054
|
height: any;
|
|
1055
|
+
draggable: boolean;
|
|
1055
1056
|
loading: boolean;
|
|
1056
1057
|
modelValue: boolean;
|
|
1057
1058
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1059,7 +1060,6 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1059
1060
|
minHeight: any;
|
|
1060
1061
|
showFooter: boolean;
|
|
1061
1062
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1062
|
-
draggable: boolean;
|
|
1063
1063
|
testId: any;
|
|
1064
1064
|
modal: boolean;
|
|
1065
1065
|
cancelText: string;
|
|
@@ -1096,11 +1096,11 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1096
1096
|
visible: boolean;
|
|
1097
1097
|
size: "small" | "medium" | "mini";
|
|
1098
1098
|
height: any;
|
|
1099
|
+
draggable: boolean;
|
|
1099
1100
|
loading: boolean;
|
|
1100
1101
|
scrollTop: boolean;
|
|
1101
1102
|
minHeight: any;
|
|
1102
1103
|
showFooter: boolean;
|
|
1103
|
-
draggable: boolean;
|
|
1104
1104
|
testId: any;
|
|
1105
1105
|
modal: boolean;
|
|
1106
1106
|
cancelText: string;
|
|
@@ -1121,11 +1121,11 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1121
1121
|
readonly visible: boolean;
|
|
1122
1122
|
readonly size: "small" | "medium" | "mini";
|
|
1123
1123
|
readonly height: any;
|
|
1124
|
+
readonly draggable: boolean;
|
|
1124
1125
|
readonly loading: boolean;
|
|
1125
1126
|
readonly scrollTop: boolean;
|
|
1126
1127
|
readonly minHeight: any;
|
|
1127
1128
|
readonly showFooter: boolean;
|
|
1128
|
-
readonly draggable: boolean;
|
|
1129
1129
|
readonly testId: any;
|
|
1130
1130
|
readonly modal: boolean;
|
|
1131
1131
|
readonly cancelText: string;
|
|
@@ -1145,7 +1145,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1145
1145
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
1146
1146
|
readonly loadingTip?: string | undefined;
|
|
1147
1147
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1148
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "
|
|
1148
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
1149
1149
|
$attrs: {
|
|
1150
1150
|
[x: string]: unknown;
|
|
1151
1151
|
};
|
|
@@ -1260,11 +1260,11 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1260
1260
|
visible: boolean;
|
|
1261
1261
|
size: "small" | "medium" | "mini";
|
|
1262
1262
|
height: any;
|
|
1263
|
+
draggable: boolean;
|
|
1263
1264
|
loading: boolean;
|
|
1264
1265
|
scrollTop: boolean;
|
|
1265
1266
|
minHeight: any;
|
|
1266
1267
|
showFooter: boolean;
|
|
1267
|
-
draggable: boolean;
|
|
1268
1268
|
testId: any;
|
|
1269
1269
|
modal: boolean;
|
|
1270
1270
|
cancelText: string;
|
|
@@ -1305,11 +1305,11 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1305
1305
|
visible: boolean;
|
|
1306
1306
|
size: "small" | "medium" | "mini";
|
|
1307
1307
|
height: any;
|
|
1308
|
+
draggable: boolean;
|
|
1308
1309
|
loading: boolean;
|
|
1309
1310
|
scrollTop: boolean;
|
|
1310
1311
|
minHeight: any;
|
|
1311
1312
|
showFooter: boolean;
|
|
1312
|
-
draggable: boolean;
|
|
1313
1313
|
testId: any;
|
|
1314
1314
|
modal: boolean;
|
|
1315
1315
|
cancelText: string;
|
|
@@ -1411,7 +1411,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1411
1411
|
};
|
|
1412
1412
|
}>> & Readonly<{
|
|
1413
1413
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1414
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "
|
|
1414
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1415
1415
|
onScrollBottom: () => void;
|
|
1416
1416
|
elm: import('vue').Ref<any, any>;
|
|
1417
1417
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -1570,6 +1570,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1570
1570
|
size: "small" | "medium" | "mini";
|
|
1571
1571
|
center: boolean;
|
|
1572
1572
|
height: any;
|
|
1573
|
+
draggable: boolean;
|
|
1573
1574
|
loading: boolean;
|
|
1574
1575
|
modelValue: boolean;
|
|
1575
1576
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1577,7 +1578,6 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1577
1578
|
minHeight: any;
|
|
1578
1579
|
showFooter: boolean;
|
|
1579
1580
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1580
|
-
draggable: boolean;
|
|
1581
1581
|
testId: any;
|
|
1582
1582
|
modal: boolean;
|
|
1583
1583
|
cancelText: string;
|
|
@@ -1756,6 +1756,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1756
1756
|
size: "small" | "medium" | "mini";
|
|
1757
1757
|
center: boolean;
|
|
1758
1758
|
height: any;
|
|
1759
|
+
draggable: boolean;
|
|
1759
1760
|
loading: boolean;
|
|
1760
1761
|
modelValue: boolean;
|
|
1761
1762
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1763,7 +1764,6 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1763
1764
|
minHeight: any;
|
|
1764
1765
|
showFooter: boolean;
|
|
1765
1766
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1766
|
-
draggable: boolean;
|
|
1767
1767
|
testId: any;
|
|
1768
1768
|
modal: boolean;
|
|
1769
1769
|
cancelText: string;
|
|
@@ -26,11 +26,11 @@ declare function __VLS_template(): {
|
|
|
26
26
|
visible: boolean;
|
|
27
27
|
size: "small" | "medium" | "mini";
|
|
28
28
|
height: any;
|
|
29
|
+
draggable: boolean;
|
|
29
30
|
loading: boolean;
|
|
30
31
|
scrollTop: boolean;
|
|
31
32
|
minHeight: any;
|
|
32
33
|
showFooter: boolean;
|
|
33
|
-
draggable: boolean;
|
|
34
34
|
testId: any;
|
|
35
35
|
modal: boolean;
|
|
36
36
|
cancelText: string;
|
|
@@ -51,11 +51,11 @@ declare function __VLS_template(): {
|
|
|
51
51
|
readonly visible: boolean;
|
|
52
52
|
readonly size: "small" | "medium" | "mini";
|
|
53
53
|
readonly height: any;
|
|
54
|
+
readonly draggable: boolean;
|
|
54
55
|
readonly loading: boolean;
|
|
55
56
|
readonly scrollTop: boolean;
|
|
56
57
|
readonly minHeight: any;
|
|
57
58
|
readonly showFooter: boolean;
|
|
58
|
-
readonly draggable: boolean;
|
|
59
59
|
readonly testId: any;
|
|
60
60
|
readonly modal: boolean;
|
|
61
61
|
readonly cancelText: string;
|
|
@@ -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" | "fullscreen" | "visible" | "size" | "height" | "
|
|
78
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
79
79
|
$attrs: {
|
|
80
80
|
[x: string]: unknown;
|
|
81
81
|
};
|
|
@@ -190,11 +190,11 @@ declare function __VLS_template(): {
|
|
|
190
190
|
visible: boolean;
|
|
191
191
|
size: "small" | "medium" | "mini";
|
|
192
192
|
height: any;
|
|
193
|
+
draggable: boolean;
|
|
193
194
|
loading: boolean;
|
|
194
195
|
scrollTop: boolean;
|
|
195
196
|
minHeight: any;
|
|
196
197
|
showFooter: boolean;
|
|
197
|
-
draggable: boolean;
|
|
198
198
|
testId: any;
|
|
199
199
|
modal: boolean;
|
|
200
200
|
cancelText: string;
|
|
@@ -235,11 +235,11 @@ declare function __VLS_template(): {
|
|
|
235
235
|
visible: boolean;
|
|
236
236
|
size: "small" | "medium" | "mini";
|
|
237
237
|
height: any;
|
|
238
|
+
draggable: boolean;
|
|
238
239
|
loading: boolean;
|
|
239
240
|
scrollTop: boolean;
|
|
240
241
|
minHeight: any;
|
|
241
242
|
showFooter: boolean;
|
|
242
|
-
draggable: boolean;
|
|
243
243
|
testId: any;
|
|
244
244
|
modal: boolean;
|
|
245
245
|
cancelText: string;
|
|
@@ -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" | "fullscreen" | "visible" | "size" | "height" | "
|
|
344
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "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 & {} & {
|
|
@@ -631,6 +631,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
631
631
|
size: "small" | "medium" | "mini";
|
|
632
632
|
center: boolean;
|
|
633
633
|
height: any;
|
|
634
|
+
draggable: boolean;
|
|
634
635
|
loading: boolean;
|
|
635
636
|
modelValue: boolean;
|
|
636
637
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -638,7 +639,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
638
639
|
minHeight: any;
|
|
639
640
|
showFooter: boolean;
|
|
640
641
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
641
|
-
draggable: boolean;
|
|
642
642
|
testId: any;
|
|
643
643
|
modal: boolean;
|
|
644
644
|
cancelText: string;
|
|
@@ -675,11 +675,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
675
675
|
visible: boolean;
|
|
676
676
|
size: "small" | "medium" | "mini";
|
|
677
677
|
height: any;
|
|
678
|
+
draggable: boolean;
|
|
678
679
|
loading: boolean;
|
|
679
680
|
scrollTop: boolean;
|
|
680
681
|
minHeight: any;
|
|
681
682
|
showFooter: boolean;
|
|
682
|
-
draggable: boolean;
|
|
683
683
|
testId: any;
|
|
684
684
|
modal: boolean;
|
|
685
685
|
cancelText: string;
|
|
@@ -700,11 +700,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
700
700
|
readonly visible: boolean;
|
|
701
701
|
readonly size: "small" | "medium" | "mini";
|
|
702
702
|
readonly height: any;
|
|
703
|
+
readonly draggable: boolean;
|
|
703
704
|
readonly loading: boolean;
|
|
704
705
|
readonly scrollTop: boolean;
|
|
705
706
|
readonly minHeight: any;
|
|
706
707
|
readonly showFooter: boolean;
|
|
707
|
-
readonly draggable: boolean;
|
|
708
708
|
readonly testId: any;
|
|
709
709
|
readonly modal: boolean;
|
|
710
710
|
readonly cancelText: string;
|
|
@@ -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" | "fullscreen" | "visible" | "size" | "height" | "
|
|
727
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
728
728
|
$attrs: {
|
|
729
729
|
[x: string]: unknown;
|
|
730
730
|
};
|
|
@@ -839,11 +839,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
839
839
|
visible: boolean;
|
|
840
840
|
size: "small" | "medium" | "mini";
|
|
841
841
|
height: any;
|
|
842
|
+
draggable: boolean;
|
|
842
843
|
loading: boolean;
|
|
843
844
|
scrollTop: boolean;
|
|
844
845
|
minHeight: any;
|
|
845
846
|
showFooter: boolean;
|
|
846
|
-
draggable: boolean;
|
|
847
847
|
testId: any;
|
|
848
848
|
modal: boolean;
|
|
849
849
|
cancelText: string;
|
|
@@ -884,11 +884,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
884
884
|
visible: boolean;
|
|
885
885
|
size: "small" | "medium" | "mini";
|
|
886
886
|
height: any;
|
|
887
|
+
draggable: boolean;
|
|
887
888
|
loading: boolean;
|
|
888
889
|
scrollTop: boolean;
|
|
889
890
|
minHeight: any;
|
|
890
891
|
showFooter: boolean;
|
|
891
|
-
draggable: boolean;
|
|
892
892
|
testId: any;
|
|
893
893
|
modal: boolean;
|
|
894
894
|
cancelText: string;
|
|
@@ -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" | "fullscreen" | "visible" | "size" | "height" | "
|
|
993
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "testId" | "modal" | "cancelText" | "okText" | "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 & {} & {
|
|
@@ -193,11 +193,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
193
193
|
visible: boolean;
|
|
194
194
|
size: "small" | "medium" | "mini";
|
|
195
195
|
height: any;
|
|
196
|
+
draggable: boolean;
|
|
196
197
|
loading: boolean;
|
|
197
198
|
scrollTop: boolean;
|
|
198
199
|
minHeight: any;
|
|
199
200
|
showFooter: boolean;
|
|
200
|
-
draggable: boolean;
|
|
201
201
|
testId: any;
|
|
202
202
|
modal: boolean;
|
|
203
203
|
cancelText: string;
|
|
@@ -14,6 +14,7 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
14
14
|
size: "small" | "medium" | "mini";
|
|
15
15
|
center: boolean;
|
|
16
16
|
height: any;
|
|
17
|
+
draggable: boolean;
|
|
17
18
|
loading: boolean;
|
|
18
19
|
modelValue: boolean;
|
|
19
20
|
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -21,7 +22,6 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
21
22
|
minHeight: any;
|
|
22
23
|
showFooter: boolean;
|
|
23
24
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
-
draggable: boolean;
|
|
25
25
|
testId: any;
|
|
26
26
|
modal: boolean;
|
|
27
27
|
cancelText: string;
|
|
@@ -57,13 +57,13 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
57
57
|
readonly size: "small" | "medium" | "mini";
|
|
58
58
|
readonly center: boolean;
|
|
59
59
|
readonly height: any;
|
|
60
|
+
readonly draggable: boolean;
|
|
60
61
|
readonly loading: boolean;
|
|
61
62
|
readonly modelValue: boolean;
|
|
62
63
|
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
64
|
readonly scrollTop: boolean;
|
|
64
65
|
readonly minHeight: any;
|
|
65
66
|
readonly showFooter: boolean;
|
|
66
|
-
readonly draggable: boolean;
|
|
67
67
|
readonly testId: any;
|
|
68
68
|
readonly modal: boolean;
|
|
69
69
|
readonly cancelText: string;
|
|
@@ -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" | "showClose" | "appendTo" | "fullscreen" | "visible" | "transition" | "size" | "center" | "height" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "showClose" | "appendTo" | "fullscreen" | "visible" | "transition" | "size" | "center" | "height" | "draggable" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "testId" | "modal" | "cancelText" | "okText" | "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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const TtNavAnchor: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<import('./src/types').TtNavAnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
change: (key: string) => any;
|
|
3
|
+
"update:modelValue": (key: string) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<import('./src/types').TtNavAnchorProps> & Readonly<{
|
|
5
|
+
onChange?: ((key: string) => any) | undefined;
|
|
6
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
title: string;
|
|
9
|
+
top: number | string;
|
|
10
|
+
right: number | string;
|
|
11
|
+
modelValue: string;
|
|
12
|
+
position: "fixed" | "static" | "sticky";
|
|
13
|
+
badgeCounts: Record<string, number>;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
navRef: HTMLDivElement;
|
|
16
|
+
headerRef: HTMLDivElement;
|
|
17
|
+
}, any>> & Record<string, any>;
|
|
18
|
+
export type { NavAnchorItem } from './src/types';
|
|
19
|
+
export default TtNavAnchor;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TtNavAnchorProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TtNavAnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
change: (key: string) => any;
|
|
4
|
+
"update:modelValue": (key: string) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<TtNavAnchorProps> & Readonly<{
|
|
6
|
+
onChange?: ((key: string) => any) | undefined;
|
|
7
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
title: string;
|
|
10
|
+
top: number | string;
|
|
11
|
+
right: number | string;
|
|
12
|
+
modelValue: string;
|
|
13
|
+
position: "fixed" | "static" | "sticky";
|
|
14
|
+
badgeCounts: Record<string, number>;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
navRef: HTMLDivElement;
|
|
17
|
+
headerRef: HTMLDivElement;
|
|
18
|
+
}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** 导航项 */
|
|
2
|
+
export interface NavAnchorItem {
|
|
3
|
+
/** 唯一标识,同时用于定位锚点元素 [data-group-key="xxx"] */
|
|
4
|
+
key: string;
|
|
5
|
+
/** 显示标题 */
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
8
|
+
/** 导航锚点组件 props */
|
|
9
|
+
export interface TtNavAnchorProps {
|
|
10
|
+
/** 导航项列表 */
|
|
11
|
+
items: NavAnchorItem[];
|
|
12
|
+
/** 当前激活项 key */
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
/** 导航栏标题 */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** 各项的错误/徽标数量,key → count */
|
|
17
|
+
badgeCounts?: Record<string, number>;
|
|
18
|
+
/**
|
|
19
|
+
* 定位方式:
|
|
20
|
+
* - 'fixed' 固定在视口(默认),不占布局空间
|
|
21
|
+
* - 'sticky' 粘性定位,跟随滚动容器
|
|
22
|
+
* - 'static' 普通文档流定位
|
|
23
|
+
*/
|
|
24
|
+
position?: "fixed" | "static" | "sticky";
|
|
25
|
+
/** fixed/sticky 时距顶部的距离 */
|
|
26
|
+
top?: number | string;
|
|
27
|
+
/** fixed/sticky 时距右侧的距离 */
|
|
28
|
+
right?: number | string;
|
|
29
|
+
}
|