yc-pro-components 0.0.18 → 0.0.19
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 +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/display-item/src/index.vue2.mjs +18 -5
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +22 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +519 -455
- package/es/components/page/src/index.vue.d.ts +198 -203
- package/es/components/page/src/index.vue2.mjs +4 -2
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +73 -54
- package/es/components/table/src/index.vue.d.ts +21 -18
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/type.d.ts +9 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/form.d.ts +5 -0
- package/es/constants/form.mjs +2 -1
- package/es/constants/index.mjs +1 -1
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.mjs +1 -1
- package/es/types/plus.d.ts +29 -0
- package/index.js +26 -7
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +26 -8
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/display-item/src/index.vue2.js +16 -3
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +22 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +519 -455
- package/lib/components/page/src/index.vue.d.ts +198 -203
- package/lib/components/page/src/index.vue2.js +4 -2
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +73 -54
- package/lib/components/table/src/index.vue.d.ts +21 -18
- package/lib/components/table/src/index.vue2.js +3 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/type.d.ts +9 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/form.d.ts +5 -0
- package/lib/constants/form.js +2 -0
- package/lib/constants/index.js +1 -0
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.js +1 -0
- package/lib/types/plus.d.ts +29 -0
- 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
|
@@ -41,6 +41,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
41
41
|
expandTableColumnProps: () => {};
|
|
42
42
|
editable: boolean;
|
|
43
43
|
adaptive: boolean;
|
|
44
|
+
columnsEmptyText: string;
|
|
44
45
|
}>, {
|
|
45
46
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
46
47
|
tableInstance: ShallowRef< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -54,9 +55,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
54
55
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
56
|
__epPropKey: true;
|
|
56
57
|
};
|
|
57
|
-
width: (
|
|
58
|
-
height: (
|
|
59
|
-
maxHeight: (
|
|
58
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
59
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
60
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
60
61
|
fit: {
|
|
61
62
|
type: BooleanConstructor;
|
|
62
63
|
default: boolean;
|
|
@@ -80,13 +81,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
80
81
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
81
82
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
82
83
|
highlightCurrentRow: BooleanConstructor;
|
|
83
|
-
currentRowKey: (
|
|
84
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
84
85
|
emptyText: StringConstructor;
|
|
85
86
|
expandRowKeys: PropType<any[] | undefined>;
|
|
86
87
|
defaultExpandAll: BooleanConstructor;
|
|
87
88
|
defaultSort: PropType< Sort | undefined>;
|
|
88
89
|
tooltipEffect: StringConstructor;
|
|
89
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
90
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
90
91
|
spanMethod: PropType<((data: {
|
|
91
92
|
row: any;
|
|
92
93
|
rowIndex: number;
|
|
@@ -130,7 +131,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
130
131
|
};
|
|
131
132
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
132
133
|
flexible: BooleanConstructor;
|
|
133
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
134
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
134
135
|
}>> & {
|
|
135
136
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
136
137
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -250,9 +251,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
250
251
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
252
|
__epPropKey: true;
|
|
252
253
|
};
|
|
253
|
-
width: (
|
|
254
|
-
height: (
|
|
255
|
-
maxHeight: (
|
|
254
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
255
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
256
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
256
257
|
fit: {
|
|
257
258
|
type: BooleanConstructor;
|
|
258
259
|
default: boolean;
|
|
@@ -276,13 +277,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
276
277
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
277
278
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
278
279
|
highlightCurrentRow: BooleanConstructor;
|
|
279
|
-
currentRowKey: (
|
|
280
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
280
281
|
emptyText: StringConstructor;
|
|
281
282
|
expandRowKeys: PropType<any[] | undefined>;
|
|
282
283
|
defaultExpandAll: BooleanConstructor;
|
|
283
284
|
defaultSort: PropType< Sort | undefined>;
|
|
284
285
|
tooltipEffect: StringConstructor;
|
|
285
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
286
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
286
287
|
spanMethod: PropType<((data: {
|
|
287
288
|
row: any;
|
|
288
289
|
rowIndex: number;
|
|
@@ -326,7 +327,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
327
|
};
|
|
327
328
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
328
329
|
flexible: BooleanConstructor;
|
|
329
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
330
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
330
331
|
}>> & {
|
|
331
332
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
332
333
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -385,9 +386,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
385
386
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
387
|
__epPropKey: true;
|
|
387
388
|
};
|
|
388
|
-
width: (
|
|
389
|
-
height: (
|
|
390
|
-
maxHeight: (
|
|
389
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
390
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
391
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
391
392
|
fit: {
|
|
392
393
|
type: BooleanConstructor;
|
|
393
394
|
default: boolean;
|
|
@@ -411,13 +412,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
411
412
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
412
413
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
413
414
|
highlightCurrentRow: BooleanConstructor;
|
|
414
|
-
currentRowKey: (
|
|
415
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
415
416
|
emptyText: StringConstructor;
|
|
416
417
|
expandRowKeys: PropType<any[] | undefined>;
|
|
417
418
|
defaultExpandAll: BooleanConstructor;
|
|
418
419
|
defaultSort: PropType< Sort | undefined>;
|
|
419
420
|
tooltipEffect: StringConstructor;
|
|
420
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
421
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
421
422
|
spanMethod: PropType<((data: {
|
|
422
423
|
row: any;
|
|
423
424
|
rowIndex: number;
|
|
@@ -461,7 +462,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
461
462
|
};
|
|
462
463
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
463
464
|
flexible: BooleanConstructor;
|
|
464
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
465
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
465
466
|
}>> & {
|
|
466
467
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
467
468
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -636,6 +637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
636
637
|
expandTableColumnProps: () => {};
|
|
637
638
|
editable: boolean;
|
|
638
639
|
adaptive: boolean;
|
|
640
|
+
columnsEmptyText: string;
|
|
639
641
|
}>>> & {
|
|
640
642
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
641
643
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
@@ -694,6 +696,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
694
696
|
offsetBottom?: number | undefined;
|
|
695
697
|
timeout?: number | undefined;
|
|
696
698
|
};
|
|
699
|
+
columnsEmptyText: string;
|
|
697
700
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
698
701
|
column: any;
|
|
699
702
|
prop: string;
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, shallowRef, reactive, watchEffect, computed, prov
|
|
|
2
2
|
import { PlusPagination } from '../../pagination/index.mjs';
|
|
3
3
|
import { PlusRadio } from '../../radio/index.mjs';
|
|
4
4
|
import { DefaultPageInfo } from '../../../constants/page.mjs';
|
|
5
|
-
import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey } from '../../../constants/form.mjs';
|
|
5
|
+
import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey, TableColumnsEmptyTextInjectionKey } from '../../../constants/form.mjs';
|
|
6
6
|
import { ElTable, ElTableColumn, vLoading } from 'element-plus';
|
|
7
7
|
import { debounce, isEqual } from 'lodash-es';
|
|
8
8
|
import PlusTableActionBar from './table-action-bar.vue.mjs';
|
|
@@ -52,7 +52,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
indexContentStyle: { type: [Object, Function], default: () => ({}) },
|
|
53
53
|
editable: { type: [Boolean, String], default: false },
|
|
54
54
|
adaptive: { type: [Boolean, Object], default: false },
|
|
55
|
-
filterTableHeaderOverflowLabelLength: {}
|
|
55
|
+
filterTableHeaderOverflowLabelLength: {},
|
|
56
|
+
columnsEmptyText: { default: "-" }
|
|
56
57
|
},
|
|
57
58
|
emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
|
|
58
59
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -84,6 +85,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
85
|
provide(TableFormRefInjectionKey, formRefs);
|
|
85
86
|
const formFieldRefs = shallowRef({});
|
|
86
87
|
provide(TableFormFieldRefInjectionKey, formFieldRefs);
|
|
88
|
+
provide(TableColumnsEmptyTextInjectionKey, computed(() => props.columnsEmptyText));
|
|
87
89
|
watch(
|
|
88
90
|
() => props.columns,
|
|
89
91
|
(val) => {
|
|
@@ -39,9 +39,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
41
41
|
};
|
|
42
|
-
width: (
|
|
43
|
-
height: (
|
|
44
|
-
maxHeight: (
|
|
42
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
43
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
44
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
45
45
|
fit: {
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
@@ -65,13 +65,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
65
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
66
66
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
67
67
|
highlightCurrentRow: BooleanConstructor;
|
|
68
|
-
currentRowKey: (
|
|
68
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
69
69
|
emptyText: StringConstructor;
|
|
70
70
|
expandRowKeys: PropType<any[] | undefined>;
|
|
71
71
|
defaultExpandAll: BooleanConstructor;
|
|
72
72
|
defaultSort: PropType< Sort | undefined>;
|
|
73
73
|
tooltipEffect: StringConstructor;
|
|
74
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
74
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "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, "
|
|
118
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
119
119
|
}>> & {
|
|
120
120
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -235,9 +235,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
235
235
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
236
|
__epPropKey: true;
|
|
237
237
|
};
|
|
238
|
-
width: (
|
|
239
|
-
height: (
|
|
240
|
-
maxHeight: (
|
|
238
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
239
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
240
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
241
241
|
fit: {
|
|
242
242
|
type: BooleanConstructor;
|
|
243
243
|
default: boolean;
|
|
@@ -261,13 +261,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
261
261
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
262
262
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
263
263
|
highlightCurrentRow: BooleanConstructor;
|
|
264
|
-
currentRowKey: (
|
|
264
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
265
265
|
emptyText: StringConstructor;
|
|
266
266
|
expandRowKeys: PropType<any[] | undefined>;
|
|
267
267
|
defaultExpandAll: BooleanConstructor;
|
|
268
268
|
defaultSort: PropType< Sort | undefined>;
|
|
269
269
|
tooltipEffect: StringConstructor;
|
|
270
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
270
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "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, "
|
|
314
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
315
315
|
}>> & {
|
|
316
316
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
317
317
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -370,9 +370,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
370
370
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
371
|
__epPropKey: true;
|
|
372
372
|
};
|
|
373
|
-
width: (
|
|
374
|
-
height: (
|
|
375
|
-
maxHeight: (
|
|
373
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
374
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
375
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
376
376
|
fit: {
|
|
377
377
|
type: BooleanConstructor;
|
|
378
378
|
default: boolean;
|
|
@@ -396,13 +396,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
396
396
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
397
397
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
398
398
|
highlightCurrentRow: BooleanConstructor;
|
|
399
|
-
currentRowKey: (
|
|
399
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
400
400
|
emptyText: StringConstructor;
|
|
401
401
|
expandRowKeys: PropType<any[] | undefined>;
|
|
402
402
|
defaultExpandAll: BooleanConstructor;
|
|
403
403
|
defaultSort: PropType< Sort | undefined>;
|
|
404
404
|
tooltipEffect: StringConstructor;
|
|
405
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
405
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "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, "
|
|
449
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
450
450
|
}>> & {
|
|
451
451
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
452
452
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -27,15 +27,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
27
|
$data: {};
|
|
28
28
|
$props: Partial<{
|
|
29
29
|
index: number;
|
|
30
|
-
rest: RecordType;
|
|
31
30
|
formProps: PlusFormProps;
|
|
31
|
+
rest: RecordType;
|
|
32
32
|
column: PlusColumn;
|
|
33
33
|
row: RecordType;
|
|
34
34
|
editable: boolean | "click" | "dblclick";
|
|
35
35
|
}> & Omit<{
|
|
36
36
|
readonly index: number;
|
|
37
|
-
readonly rest: RecordType;
|
|
38
37
|
readonly formProps: PlusFormProps;
|
|
38
|
+
readonly rest: RecordType;
|
|
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
|
-
rest: {
|
|
53
|
-
type: PropType<RecordType>;
|
|
54
|
-
default: () => {};
|
|
55
|
-
};
|
|
56
52
|
formProps: {
|
|
57
53
|
type: PropType<PlusFormProps>;
|
|
58
54
|
default: () => {};
|
|
59
55
|
};
|
|
56
|
+
rest: {
|
|
57
|
+
type: PropType<RecordType>;
|
|
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" | "formProps" | "rest" | "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
|
-
rest: {
|
|
107
|
-
type: PropType<RecordType>;
|
|
108
|
-
default: () => {};
|
|
109
|
-
};
|
|
110
106
|
formProps: {
|
|
111
107
|
type: PropType<PlusFormProps>;
|
|
112
108
|
default: () => {};
|
|
113
109
|
};
|
|
110
|
+
rest: {
|
|
111
|
+
type: PropType<RecordType>;
|
|
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
|
-
rest: RecordType;
|
|
157
156
|
formProps: PlusFormProps;
|
|
157
|
+
rest: RecordType;
|
|
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
|
-
rest: {
|
|
187
|
-
type: PropType<RecordType>;
|
|
188
|
-
default: () => {};
|
|
189
|
-
};
|
|
190
186
|
formProps: {
|
|
191
187
|
type: PropType<PlusFormProps>;
|
|
192
188
|
default: () => {};
|
|
193
189
|
};
|
|
190
|
+
rest: {
|
|
191
|
+
type: PropType<RecordType>;
|
|
192
|
+
default: () => {};
|
|
193
|
+
};
|
|
194
194
|
column: {
|
|
195
195
|
type: PropType<PlusColumn>;
|
|
196
196
|
required: true;
|
|
@@ -227,14 +227,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
227
227
|
};
|
|
228
228
|
}> & {} & ComponentCustomProperties & {} & {
|
|
229
229
|
$slots: Partial<Record<string, (_: {
|
|
230
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
230
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
233
233
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
234
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
235
235
|
style?: CSSProperties | undefined;
|
|
236
236
|
class?: any;
|
|
237
|
-
} & RecordType> | ComputedRef<
|
|
237
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
238
238
|
style?: CSSProperties | undefined;
|
|
239
239
|
class?: any;
|
|
240
240
|
} & RecordType>>;
|
|
@@ -301,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
fieldInstance?: any;
|
|
302
302
|
valueIsReady?: Ref<boolean> | undefined;
|
|
303
303
|
prop: string;
|
|
304
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
304
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
305
305
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
306
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
307
307
|
style?: CSSProperties | undefined;
|
|
308
308
|
class?: any;
|
|
309
|
-
} & RecordType> | ComputedRef<
|
|
309
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
310
310
|
style?: CSSProperties | undefined;
|
|
311
311
|
class?: any;
|
|
312
312
|
} & RecordType>>;
|
|
@@ -335,14 +335,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
335
335
|
clearable: boolean;
|
|
336
336
|
index: number;
|
|
337
337
|
}) => any>> & Partial<Record<string, (_: {
|
|
338
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
338
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
339
339
|
readonly label: string | ComputedRef<string>;
|
|
340
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
340
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
341
341
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
342
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
343
343
|
style?: CSSProperties | undefined;
|
|
344
344
|
class?: any;
|
|
345
|
-
} & RecordType> | ComputedRef<
|
|
345
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
346
346
|
style?: CSSProperties | undefined;
|
|
347
347
|
class?: any;
|
|
348
348
|
} & RecordType>>;
|
|
@@ -409,12 +409,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
409
409
|
fieldInstance?: any;
|
|
410
410
|
valueIsReady?: Ref<boolean> | undefined;
|
|
411
411
|
prop: string;
|
|
412
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
412
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
413
413
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
414
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
415
415
|
style?: CSSProperties | undefined;
|
|
416
416
|
class?: any;
|
|
417
|
-
} & RecordType> | ComputedRef<
|
|
417
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
418
418
|
style?: CSSProperties | undefined;
|
|
419
419
|
class?: any;
|
|
420
420
|
} & RecordType>>;
|
|
@@ -443,14 +443,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
443
|
clearable: boolean;
|
|
444
444
|
index: number;
|
|
445
445
|
}) => any>> & Partial<Record<string, (_: {
|
|
446
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
446
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
447
447
|
readonly label: string | ComputedRef<string>;
|
|
448
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
448
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
449
449
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
450
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
451
451
|
style?: CSSProperties | undefined;
|
|
452
452
|
class?: any;
|
|
453
|
-
} & RecordType> | ComputedRef<
|
|
453
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
454
454
|
style?: CSSProperties | undefined;
|
|
455
455
|
class?: any;
|
|
456
456
|
} & RecordType>>;
|
|
@@ -517,12 +517,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
517
517
|
fieldInstance?: any;
|
|
518
518
|
valueIsReady?: Ref<boolean> | undefined;
|
|
519
519
|
prop: string;
|
|
520
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
520
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
521
521
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
522
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
523
523
|
style?: CSSProperties | undefined;
|
|
524
524
|
class?: any;
|
|
525
|
-
} & RecordType> | ComputedRef<
|
|
525
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
526
526
|
style?: CSSProperties | undefined;
|
|
527
527
|
class?: any;
|
|
528
528
|
} & RecordType>>;
|
|
@@ -454,6 +454,15 @@ export type PlusTableSelfProps = {
|
|
|
454
454
|
* @version 0.1.23
|
|
455
455
|
*/
|
|
456
456
|
filterTableHeaderOverflowLabelLength?: number;
|
|
457
|
+
/**
|
|
458
|
+
* 所有列字段为空时显示的默认文本(全局配置)
|
|
459
|
+
* @version v0.2.0
|
|
460
|
+
* @default "-"
|
|
461
|
+
* @desc 当字段值为 null、undefined 或空字符串时,显示此文本
|
|
462
|
+
* @desc 优先级:列级别的 emptyText > columnsEmptyText > 默认 "-"
|
|
463
|
+
* @desc 仅对未定义 render/renderHTML 的字段生效
|
|
464
|
+
*/
|
|
465
|
+
columnsEmptyText?: string;
|
|
457
466
|
};
|
|
458
467
|
export type PlusTableProps = PlusTableSelfProps & Partial<TableProps<any[]>> & RecordType;
|
|
459
468
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteRecordName, RouteLocationNormalized,
|
|
1
|
+
import { RouteRecordName, RouteLocationNormalized, RouteComponent, RouteMeta, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
|
|
2
2
|
import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
|
|
3
3
|
import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
|
|
4
4
|
|
|
@@ -120,6 +120,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
120
120
|
__children: PlusRouteRecordRaw[] | undefined;
|
|
121
121
|
name?: RouteRecordName | undefined;
|
|
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
|
+
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
123
124
|
meta?: ( RouteMeta & {
|
|
124
125
|
title?: string | undefined;
|
|
125
126
|
icon?: VNode<RendererNode, RendererElement, {
|
|
@@ -137,7 +138,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
137
138
|
end?: boolean | undefined;
|
|
138
139
|
sensitive?: boolean | undefined;
|
|
139
140
|
strict?: boolean | undefined;
|
|
140
|
-
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
141
141
|
redirect?: RouteRecordRedirectOption | undefined;
|
|
142
142
|
alias?: string | string[] | undefined;
|
|
143
143
|
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|