yc-pro-components 0.0.10 → 0.0.12
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/es/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +7 -7
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +16 -16
- package/es/components/date-picker/src/index.vue.d.ts +8 -8
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +80 -80
- package/es/components/dialog-form/src/index.vue.d.ts +28 -28
- package/es/components/display-item/index.d.ts +29 -29
- package/es/components/display-item/src/index.vue.d.ts +10 -10
- package/es/components/drawer-form/index.d.ts +95 -95
- package/es/components/drawer-form/src/index.vue.d.ts +28 -28
- package/es/components/form/index.d.ts +89 -89
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +31 -31
- package/es/components/form-item/index.d.ts +46 -46
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/input-tag/index.d.ts +28 -28
- package/es/components/input-tag/src/index.vue.d.ts +28 -28
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +601 -511
- package/es/components/page/src/index.vue.d.ts +203 -173
- package/es/components/pagination/index.d.ts +7 -7
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +37 -37
- package/es/components/radio/src/index.vue.d.ts +37 -37
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +244 -206
- package/es/components/search/src/index.vue.d.ts +75 -69
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/table/index.d.ts +40 -40
- package/es/components/table/src/index.vue.d.ts +12 -12
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/es/components/table/src/table-column.vue.d.ts +25 -25
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +5 -5
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-more-actions/index.d.ts +84 -84
- package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +4 -4
- package/es/components/yc-segmented/src/index.d.ts +4 -4
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +384 -384
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +7 -7
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +16 -16
- package/lib/components/date-picker/src/index.vue.d.ts +8 -8
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +80 -80
- package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
- package/lib/components/display-item/index.d.ts +29 -29
- package/lib/components/display-item/src/index.vue.d.ts +10 -10
- package/lib/components/drawer-form/index.d.ts +95 -95
- package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
- package/lib/components/form/index.d.ts +89 -89
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +31 -31
- package/lib/components/form-item/index.d.ts +46 -46
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/input-tag/index.d.ts +28 -28
- package/lib/components/input-tag/src/index.vue.d.ts +28 -28
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +601 -511
- package/lib/components/page/src/index.vue.d.ts +203 -173
- package/lib/components/pagination/index.d.ts +7 -7
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +37 -37
- package/lib/components/radio/src/index.vue.d.ts +37 -37
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +244 -206
- package/lib/components/search/src/index.vue.d.ts +75 -69
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/src/index.vue.d.ts +12 -12
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/lib/components/table/src/table-column.vue.d.ts +25 -25
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +5 -5
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-more-actions/index.d.ts +84 -84
- package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +465 -538
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +4 -4
- package/lib/components/yc-segmented/src/index.d.ts +4 -4
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +384 -384
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/mixins/mixins.scss +4 -0
- package/theme-chalk/src/page.scss +1 -1
|
@@ -49,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
49
49
|
default: () => never[];
|
|
50
50
|
};
|
|
51
51
|
size: {
|
|
52
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
52
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
53
53
|
readonly required: false;
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
@@ -86,7 +86,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
86
86
|
defaultExpandAll: BooleanConstructor;
|
|
87
87
|
defaultSort: PropType< Sort | undefined>;
|
|
88
88
|
tooltipEffect: StringConstructor;
|
|
89
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
89
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
90
90
|
spanMethod: PropType<((data: {
|
|
91
91
|
row: any;
|
|
92
92
|
rowIndex: number;
|
|
@@ -130,7 +130,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
130
130
|
};
|
|
131
131
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
132
132
|
flexible: BooleanConstructor;
|
|
133
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
133
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
134
134
|
}>> & {
|
|
135
135
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -174,7 +174,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
174
174
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
175
175
|
handleMouseLeave: () => void;
|
|
176
176
|
tableId: string;
|
|
177
|
-
tableSize: ComputedRef<"" | "
|
|
177
|
+
tableSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
178
178
|
isHidden: Ref<boolean>;
|
|
179
179
|
isEmpty: ComputedRef<boolean>;
|
|
180
180
|
renderExpanded: Ref<null>;
|
|
@@ -245,7 +245,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
245
245
|
default: () => never[];
|
|
246
246
|
};
|
|
247
247
|
size: {
|
|
248
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
248
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
249
249
|
readonly required: false;
|
|
250
250
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
251
|
__epPropKey: true;
|
|
@@ -282,7 +282,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
282
282
|
defaultExpandAll: BooleanConstructor;
|
|
283
283
|
defaultSort: PropType< Sort | undefined>;
|
|
284
284
|
tooltipEffect: StringConstructor;
|
|
285
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
285
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
286
286
|
spanMethod: PropType<((data: {
|
|
287
287
|
row: any;
|
|
288
288
|
rowIndex: number;
|
|
@@ -326,7 +326,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
326
|
};
|
|
327
327
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
328
328
|
flexible: BooleanConstructor;
|
|
329
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
329
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
330
330
|
}>> & {
|
|
331
331
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
332
332
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -380,7 +380,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
380
|
default: () => never[];
|
|
381
381
|
};
|
|
382
382
|
size: {
|
|
383
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
383
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
384
384
|
readonly required: false;
|
|
385
385
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
386
|
__epPropKey: true;
|
|
@@ -417,7 +417,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
417
|
defaultExpandAll: BooleanConstructor;
|
|
418
418
|
defaultSort: PropType< Sort | undefined>;
|
|
419
419
|
tooltipEffect: StringConstructor;
|
|
420
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
420
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
421
421
|
spanMethod: PropType<((data: {
|
|
422
422
|
row: any;
|
|
423
423
|
rowIndex: number;
|
|
@@ -461,7 +461,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
461
461
|
};
|
|
462
462
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
463
463
|
flexible: BooleanConstructor;
|
|
464
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
464
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
465
465
|
}>> & {
|
|
466
466
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
467
467
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -505,7 +505,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
505
505
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
506
506
|
handleMouseLeave: () => void;
|
|
507
507
|
tableId: string;
|
|
508
|
-
tableSize: ComputedRef<"" | "
|
|
508
|
+
tableSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
509
509
|
isHidden: Ref<boolean>;
|
|
510
510
|
isEmpty: ComputedRef<boolean>;
|
|
511
511
|
renderExpanded: Ref<null>;
|
|
@@ -673,7 +673,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
673
673
|
color?: string | undefined;
|
|
674
674
|
} | undefined;
|
|
675
675
|
}>>;
|
|
676
|
-
defaultSize: "" | "
|
|
676
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
677
677
|
tableData: RecordType[];
|
|
678
678
|
pagination: false | Partial<PlusPaginationProps>;
|
|
679
679
|
hasIndexColumn: boolean;
|
|
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
34
34
|
default: () => never[];
|
|
35
35
|
};
|
|
36
36
|
size: {
|
|
37
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
37
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
38
38
|
readonly required: false;
|
|
39
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
@@ -71,7 +71,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
71
71
|
defaultExpandAll: BooleanConstructor;
|
|
72
72
|
defaultSort: PropType< Sort | undefined>;
|
|
73
73
|
tooltipEffect: StringConstructor;
|
|
74
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
74
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
75
75
|
spanMethod: PropType<((data: {
|
|
76
76
|
row: any;
|
|
77
77
|
rowIndex: number;
|
|
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
115
115
|
};
|
|
116
116
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
117
117
|
flexible: BooleanConstructor;
|
|
118
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
118
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
119
119
|
}>> & {
|
|
120
120
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -159,7 +159,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
159
159
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
160
160
|
handleMouseLeave: () => void;
|
|
161
161
|
tableId: string;
|
|
162
|
-
tableSize: ComputedRef<"" | "
|
|
162
|
+
tableSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
163
163
|
isHidden: Ref<boolean>;
|
|
164
164
|
isEmpty: ComputedRef<boolean>;
|
|
165
165
|
renderExpanded: Ref<null>;
|
|
@@ -230,7 +230,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
230
230
|
default: () => never[];
|
|
231
231
|
};
|
|
232
232
|
size: {
|
|
233
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
233
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
234
234
|
readonly required: false;
|
|
235
235
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
236
|
__epPropKey: true;
|
|
@@ -267,7 +267,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
267
267
|
defaultExpandAll: BooleanConstructor;
|
|
268
268
|
defaultSort: PropType< Sort | undefined>;
|
|
269
269
|
tooltipEffect: StringConstructor;
|
|
270
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
270
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
271
271
|
spanMethod: PropType<((data: {
|
|
272
272
|
row: any;
|
|
273
273
|
rowIndex: number;
|
|
@@ -311,7 +311,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
311
311
|
};
|
|
312
312
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
313
313
|
flexible: BooleanConstructor;
|
|
314
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
314
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
315
315
|
}>> & {
|
|
316
316
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
317
317
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -365,7 +365,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
365
365
|
default: () => never[];
|
|
366
366
|
};
|
|
367
367
|
size: {
|
|
368
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
368
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
369
369
|
readonly required: false;
|
|
370
370
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
371
|
__epPropKey: true;
|
|
@@ -402,7 +402,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
402
402
|
defaultExpandAll: BooleanConstructor;
|
|
403
403
|
defaultSort: PropType< Sort | undefined>;
|
|
404
404
|
tooltipEffect: StringConstructor;
|
|
405
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "
|
|
405
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
406
406
|
spanMethod: PropType<((data: {
|
|
407
407
|
row: any;
|
|
408
408
|
rowIndex: number;
|
|
@@ -446,7 +446,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
446
446
|
};
|
|
447
447
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
448
448
|
flexible: BooleanConstructor;
|
|
449
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "
|
|
449
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
450
450
|
}>> & {
|
|
451
451
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
452
452
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -490,7 +490,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
490
490
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
491
491
|
handleMouseLeave: () => void;
|
|
492
492
|
tableId: string;
|
|
493
|
-
tableSize: ComputedRef<"" | "
|
|
493
|
+
tableSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
494
494
|
isHidden: Ref<boolean>;
|
|
495
495
|
isEmpty: ComputedRef<boolean>;
|
|
496
496
|
renderExpanded: Ref<null>;
|
|
@@ -27,15 +27,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
27
|
$data: {};
|
|
28
28
|
$props: Partial<{
|
|
29
29
|
index: number;
|
|
30
|
-
formProps: PlusFormProps;
|
|
31
30
|
rest: RecordType;
|
|
31
|
+
formProps: PlusFormProps;
|
|
32
32
|
column: PlusColumn;
|
|
33
33
|
row: RecordType;
|
|
34
34
|
editable: boolean | "click" | "dblclick";
|
|
35
35
|
}> & Omit<{
|
|
36
36
|
readonly index: number;
|
|
37
|
-
readonly formProps: PlusFormProps;
|
|
38
37
|
readonly rest: RecordType;
|
|
38
|
+
readonly formProps: PlusFormProps;
|
|
39
39
|
readonly column: PlusColumn;
|
|
40
40
|
readonly row: RecordType;
|
|
41
41
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -49,14 +49,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
49
49
|
type: PropType<number>;
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
|
-
formProps: {
|
|
53
|
-
type: PropType<PlusFormProps>;
|
|
54
|
-
default: () => {};
|
|
55
|
-
};
|
|
56
52
|
rest: {
|
|
57
53
|
type: PropType<RecordType>;
|
|
58
54
|
default: () => {};
|
|
59
55
|
};
|
|
56
|
+
formProps: {
|
|
57
|
+
type: PropType<PlusFormProps>;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
60
|
column: {
|
|
61
61
|
type: PropType<PlusColumn>;
|
|
62
62
|
required: true;
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
80
80
|
prop: string;
|
|
81
81
|
row: RecordType;
|
|
82
82
|
}) => any) | undefined;
|
|
83
|
-
}, "index" | "
|
|
83
|
+
}, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -103,14 +103,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
103
103
|
type: PropType<number>;
|
|
104
104
|
default: number;
|
|
105
105
|
};
|
|
106
|
-
formProps: {
|
|
107
|
-
type: PropType<PlusFormProps>;
|
|
108
|
-
default: () => {};
|
|
109
|
-
};
|
|
110
106
|
rest: {
|
|
111
107
|
type: PropType<RecordType>;
|
|
112
108
|
default: () => {};
|
|
113
109
|
};
|
|
110
|
+
formProps: {
|
|
111
|
+
type: PropType<PlusFormProps>;
|
|
112
|
+
default: () => {};
|
|
113
|
+
};
|
|
114
114
|
column: {
|
|
115
115
|
type: PropType<PlusColumn>;
|
|
116
116
|
required: true;
|
|
@@ -153,8 +153,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
153
153
|
}) => void;
|
|
154
154
|
}, string, {
|
|
155
155
|
index: number;
|
|
156
|
-
formProps: PlusFormProps;
|
|
157
156
|
rest: RecordType;
|
|
157
|
+
formProps: PlusFormProps;
|
|
158
158
|
column: PlusColumn;
|
|
159
159
|
row: RecordType;
|
|
160
160
|
editable: boolean | "click" | "dblclick";
|
|
@@ -183,14 +183,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
183
183
|
type: PropType<number>;
|
|
184
184
|
default: number;
|
|
185
185
|
};
|
|
186
|
-
formProps: {
|
|
187
|
-
type: PropType<PlusFormProps>;
|
|
188
|
-
default: () => {};
|
|
189
|
-
};
|
|
190
186
|
rest: {
|
|
191
187
|
type: PropType<RecordType>;
|
|
192
188
|
default: () => {};
|
|
193
189
|
};
|
|
190
|
+
formProps: {
|
|
191
|
+
type: PropType<PlusFormProps>;
|
|
192
|
+
default: () => {};
|
|
193
|
+
};
|
|
194
194
|
column: {
|
|
195
195
|
type: PropType<PlusColumn>;
|
|
196
196
|
required: true;
|
|
@@ -229,7 +229,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
229
229
|
$slots: Partial<Record<string, (_: {
|
|
230
230
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
231
231
|
readonly label: string | ComputedRef<string>;
|
|
232
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
232
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
233
233
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
234
234
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
235
235
|
style?: CSSProperties | undefined;
|
|
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
256
256
|
};
|
|
257
257
|
rows: number;
|
|
258
258
|
autocomplete: string;
|
|
259
|
-
type: "" | "number" | "
|
|
259
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
260
260
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
261
261
|
step: string | number;
|
|
262
262
|
format: string | ProgressFn | undefined;
|
|
@@ -295,7 +295,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
295
295
|
fieldInstance?: any;
|
|
296
296
|
valueIsReady?: Ref<boolean> | undefined;
|
|
297
297
|
prop: string;
|
|
298
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
298
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
299
299
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
300
300
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
301
301
|
style?: CSSProperties | undefined;
|
|
@@ -325,7 +325,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
325
325
|
}) => any>> & Partial<Record<string, (_: {
|
|
326
326
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
327
327
|
readonly label: string | ComputedRef<string>;
|
|
328
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
328
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
329
329
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
330
330
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
331
331
|
style?: CSSProperties | undefined;
|
|
@@ -352,7 +352,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
352
352
|
};
|
|
353
353
|
rows: number;
|
|
354
354
|
autocomplete: string;
|
|
355
|
-
type: "" | "number" | "
|
|
355
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
356
356
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
357
357
|
step: string | number;
|
|
358
358
|
format: string | ProgressFn | undefined;
|
|
@@ -391,7 +391,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
391
391
|
fieldInstance?: any;
|
|
392
392
|
valueIsReady?: Ref<boolean> | undefined;
|
|
393
393
|
prop: string;
|
|
394
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
394
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
395
395
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
396
396
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
397
397
|
style?: CSSProperties | undefined;
|
|
@@ -421,7 +421,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
421
421
|
}) => any>> & Partial<Record<string, (_: {
|
|
422
422
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
423
423
|
readonly label: string | ComputedRef<string>;
|
|
424
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
424
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
425
425
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
426
426
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
427
427
|
style?: CSSProperties | undefined;
|
|
@@ -448,7 +448,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
448
448
|
};
|
|
449
449
|
rows: number;
|
|
450
450
|
autocomplete: string;
|
|
451
|
-
type: "" | "number" | "
|
|
451
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
452
452
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
453
453
|
step: string | number;
|
|
454
454
|
format: string | ProgressFn | undefined;
|
|
@@ -487,7 +487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
487
487
|
fieldInstance?: any;
|
|
488
488
|
valueIsReady?: Ref<boolean> | undefined;
|
|
489
489
|
prop: string;
|
|
490
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
490
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
491
491
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
492
492
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
493
493
|
style?: CSSProperties | undefined;
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
32
32
|
columnsIsChange: boolean;
|
|
33
33
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
34
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
35
|
-
clickDensity: (size: "" | "
|
|
35
|
+
clickDensity: (size: "" | "default" | "small" | "large") => void;
|
|
36
36
|
refresh: () => void;
|
|
37
37
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusTableToolbarProps>, {
|
|
38
38
|
originColumns: () => never[];
|
|
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
43
43
|
}>>> & {
|
|
44
44
|
onRefresh?: (() => any) | undefined;
|
|
45
45
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
46
|
-
onClickDensity?: ((size: "" | "
|
|
46
|
+
onClickDensity?: ((size: "" | "default" | "small" | "large") => any) | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
columns: PlusColumn[];
|
|
49
49
|
originColumns: PlusColumn[];
|
|
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
57
57
|
color?: string | undefined;
|
|
58
58
|
} | undefined;
|
|
59
59
|
}>>;
|
|
60
|
-
defaultSize: "" | "
|
|
60
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
61
61
|
columnsIsChange: boolean;
|
|
62
62
|
}, {}>, {
|
|
63
63
|
title?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
|
|
2
|
-
import { SetupContext,
|
|
2
|
+
import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
|
|
3
3
|
import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
|
|
4
4
|
|
|
5
5
|
export * from './format';
|
|
@@ -122,9 +122,9 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
122
122
|
props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
|
|
123
123
|
meta?: ( RouteMeta & {
|
|
124
124
|
title?: string | undefined;
|
|
125
|
-
icon?:
|
|
125
|
+
icon?: VNode<RendererNode, RendererElement, {
|
|
126
126
|
[key: string]: any;
|
|
127
|
-
}> | ((route: PlusRouteRecordRaw) => VNode<RendererNode, RendererElement, {
|
|
127
|
+
}> | Component | ((route: PlusRouteRecordRaw) => VNode<RendererNode, RendererElement, {
|
|
128
128
|
[key: string]: any;
|
|
129
129
|
}>) | undefined;
|
|
130
130
|
sort?: number | undefined;
|
|
@@ -132,13 +132,13 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
132
132
|
hideInBreadcrumb?: boolean | undefined;
|
|
133
133
|
disabled?: boolean | undefined;
|
|
134
134
|
}) | undefined;
|
|
135
|
-
|
|
135
|
+
path?: string | undefined;
|
|
136
136
|
component?: ( RouteComponent | (() => Promise< RouteComponent>)) | null | undefined;
|
|
137
137
|
end?: boolean | undefined;
|
|
138
138
|
sensitive?: boolean | undefined;
|
|
139
139
|
strict?: boolean | undefined;
|
|
140
|
+
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
140
141
|
redirect?: RouteRecordRedirectOption | undefined;
|
|
141
|
-
path?: string | undefined;
|
|
142
142
|
alias?: string | string[] | undefined;
|
|
143
143
|
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|
|
144
144
|
};
|
|
@@ -126,8 +126,8 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
126
126
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
color: string;
|
|
130
129
|
duration: number;
|
|
130
|
+
color: string;
|
|
131
131
|
separator: string;
|
|
132
132
|
fontSize: string;
|
|
133
133
|
prefix: string;
|
|
@@ -172,8 +172,8 @@ declare const YcReboundCountToWithInstall: SFCWithInstall<DefineComponent<{
|
|
|
172
172
|
validator(value: number): boolean;
|
|
173
173
|
};
|
|
174
174
|
}>>, {
|
|
175
|
-
blur: number;
|
|
176
175
|
i: number;
|
|
176
|
+
blur: number;
|
|
177
177
|
delay: number;
|
|
178
178
|
}, {}>>;
|
|
179
179
|
export { YcCountTo, YcReboundCountTo, YcReboundCountToWithInstall };
|
|
@@ -119,8 +119,8 @@ declare const _default: DefineComponent<{
|
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
color: string;
|
|
123
122
|
duration: number;
|
|
123
|
+
color: string;
|
|
124
124
|
separator: string;
|
|
125
125
|
fontSize: string;
|
|
126
126
|
prefix: string;
|