yc-pro-components 0.0.42 → 0.0.44
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/component.mjs +2 -0
- 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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- 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/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +4 -0
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +50 -50
- package/es/components/layout/src/index.vue.d.ts +11 -11
- package/es/components/page/index.d.ts +4166 -2538
- package/es/components/page/src/index.vue.d.ts +712 -137
- package/es/components/page/src/index.vue2.mjs +120 -31
- 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/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/virtual-table/index.d.ts +646 -0
- package/es/components/virtual-table/index.mjs +8 -0
- package/es/components/virtual-table/src/index.vue.d.ts +139 -0
- package/es/components/virtual-table/src/index.vue.mjs +6 -0
- package/es/components/virtual-table/src/index.vue2.mjs +327 -0
- package/es/components/virtual-table/src/type.d.ts +295 -0
- package/es/components/virtual-table/src/type.mjs +1 -0
- package/es/components/virtual-table/src/use-column-adapter.d.ts +40 -0
- package/es/components/virtual-table/src/use-column-adapter.mjs +137 -0
- package/es/components/virtual-table/src/use-virtual-scroll.d.ts +35 -0
- package/es/components/virtual-table/src/use-virtual-scroll.mjs +71 -0
- package/es/components/virtual-table/src/use-virtual-selection.d.ts +40 -0
- package/es/components/virtual-table/src/use-virtual-selection.mjs +112 -0
- package/es/components/virtual-table/src/virtual-table-action-bar.d.ts +11 -0
- package/es/components/virtual-table/src/virtual-table-action-bar.mjs +121 -0
- package/es/components/virtual-table/src/virtual-table-cell-renderer.d.ts +16 -0
- package/es/components/virtual-table/src/virtual-table-cell-renderer.mjs +170 -0
- package/es/components/virtual-table/src/virtual-table-header-renderer.d.ts +10 -0
- package/es/components/virtual-table/src/virtual-table-header-renderer.mjs +51 -0
- package/es/components/virtual-table/style/css.d.ts +3 -0
- package/es/components/virtual-table/style/css.mjs +1 -0
- package/es/components/virtual-table/style/index.d.ts +12 -0
- package/es/components/virtual-table/style/index.mjs +1 -0
- 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 +2445 -1430
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/type.d.ts +8 -2
- 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/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +20 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +4 -0
- package/es/yc-components/index.d.ts +1 -0
- package/index.css +111 -6
- package/index.js +1141 -149
- package/index.min.css +2 -1
- package/index.min.js +13 -10
- package/index.min.mjs +13 -10
- package/index.mjs +1139 -151
- package/lib/component.js +42 -40
- 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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- 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/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +98 -90
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +50 -50
- package/lib/components/layout/src/index.vue.d.ts +11 -11
- package/lib/components/page/index.d.ts +4166 -2538
- package/lib/components/page/src/index.vue.d.ts +712 -137
- package/lib/components/page/src/index.vue2.js +125 -36
- 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/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/virtual-table/index.d.ts +646 -0
- package/lib/components/virtual-table/index.js +13 -0
- package/lib/components/virtual-table/src/index.vue.d.ts +139 -0
- package/lib/components/virtual-table/src/index.vue.js +10 -0
- package/lib/components/virtual-table/src/index.vue2.js +331 -0
- package/lib/components/virtual-table/src/type.d.ts +295 -0
- package/lib/components/virtual-table/src/type.js +2 -0
- package/lib/components/virtual-table/src/use-column-adapter.d.ts +40 -0
- package/lib/components/virtual-table/src/use-column-adapter.js +139 -0
- package/lib/components/virtual-table/src/use-virtual-scroll.d.ts +35 -0
- package/lib/components/virtual-table/src/use-virtual-scroll.js +73 -0
- package/lib/components/virtual-table/src/use-virtual-selection.d.ts +40 -0
- package/lib/components/virtual-table/src/use-virtual-selection.js +114 -0
- package/lib/components/virtual-table/src/virtual-table-action-bar.d.ts +11 -0
- package/lib/components/virtual-table/src/virtual-table-action-bar.js +123 -0
- package/lib/components/virtual-table/src/virtual-table-cell-renderer.d.ts +16 -0
- package/lib/components/virtual-table/src/virtual-table-cell-renderer.js +172 -0
- package/lib/components/virtual-table/src/virtual-table-header-renderer.d.ts +10 -0
- package/lib/components/virtual-table/src/virtual-table-header-renderer.js +53 -0
- package/lib/components/virtual-table/style/css.d.ts +3 -0
- package/lib/components/virtual-table/style/css.js +2 -0
- package/lib/components/virtual-table/style/index.d.ts +12 -0
- package/lib/components/virtual-table/style/index.js +2 -0
- 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 +2445 -1430
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/type.d.ts +8 -2
- 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/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +20 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +143 -135
- package/lib/yc-components/index.d.ts +1 -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
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-virtual-table.css +1 -0
- package/theme-chalk/src/index.scss +3 -0
- package/theme-chalk/src/virtual-table.scss +128 -0
|
@@ -6,10 +6,6 @@ export type { PlusStepsFormProps } from './src/index.vue';
|
|
|
6
6
|
export * from './src/type';
|
|
7
7
|
export declare const PlusStepsForm: {
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: PropType<number>;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
9
|
data: {
|
|
14
10
|
type: PropType< PlusStepFromRow[]>;
|
|
15
11
|
default: () => never[];
|
|
@@ -18,6 +14,10 @@ export declare const PlusStepsForm: {
|
|
|
18
14
|
type: PropType<string>;
|
|
19
15
|
default: undefined;
|
|
20
16
|
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
21
|
submitText: {
|
|
22
22
|
type: PropType<string>;
|
|
23
23
|
default: undefined;
|
|
@@ -27,9 +27,9 @@ export declare const PlusStepsForm: {
|
|
|
27
27
|
default: undefined;
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
31
30
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
32
31
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
33
33
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
34
34
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
35
35
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -39,10 +39,6 @@ export declare const PlusStepsForm: {
|
|
|
39
39
|
"update:modelValue": (active: number) => void;
|
|
40
40
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
41
41
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: PropType<number>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
42
|
data: {
|
|
47
43
|
type: PropType< PlusStepFromRow[]>;
|
|
48
44
|
default: () => never[];
|
|
@@ -51,6 +47,10 @@ export declare const PlusStepsForm: {
|
|
|
51
47
|
type: PropType<string>;
|
|
52
48
|
default: undefined;
|
|
53
49
|
};
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: PropType<number>;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
54
|
submitText: {
|
|
55
55
|
type: PropType<string>;
|
|
56
56
|
default: undefined;
|
|
@@ -60,15 +60,15 @@ export declare const PlusStepsForm: {
|
|
|
60
60
|
default: undefined;
|
|
61
61
|
};
|
|
62
62
|
}>> & {
|
|
63
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
64
63
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
65
64
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
65
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
66
66
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
67
67
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
modelValue: number;
|
|
70
69
|
data: PlusStepFromRow[];
|
|
71
70
|
nextText: string;
|
|
71
|
+
modelValue: number;
|
|
72
72
|
submitText: string;
|
|
73
73
|
preText: string;
|
|
74
74
|
}, true, {}, {}, {
|
|
@@ -79,10 +79,6 @@ export declare const PlusStepsForm: {
|
|
|
79
79
|
M: {};
|
|
80
80
|
Defaults: {};
|
|
81
81
|
}, Readonly< ExtractPropTypes<{
|
|
82
|
-
modelValue: {
|
|
83
|
-
type: PropType<number>;
|
|
84
|
-
default: number;
|
|
85
|
-
};
|
|
86
82
|
data: {
|
|
87
83
|
type: PropType< PlusStepFromRow[]>;
|
|
88
84
|
default: () => never[];
|
|
@@ -91,6 +87,10 @@ export declare const PlusStepsForm: {
|
|
|
91
87
|
type: PropType<string>;
|
|
92
88
|
default: undefined;
|
|
93
89
|
};
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: PropType<number>;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
94
|
submitText: {
|
|
95
95
|
type: PropType<string>;
|
|
96
96
|
default: undefined;
|
|
@@ -100,15 +100,15 @@ export declare const PlusStepsForm: {
|
|
|
100
100
|
default: undefined;
|
|
101
101
|
};
|
|
102
102
|
}>> & {
|
|
103
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
104
103
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
105
104
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
105
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
106
106
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
107
107
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
108
108
|
}, {}, {}, {}, {}, {
|
|
109
|
-
modelValue: number;
|
|
110
109
|
data: PlusStepFromRow[];
|
|
111
110
|
nextText: string;
|
|
111
|
+
modelValue: number;
|
|
112
112
|
submitText: string;
|
|
113
113
|
preText: string;
|
|
114
114
|
}>;
|
|
@@ -116,10 +116,6 @@ export declare const PlusStepsForm: {
|
|
|
116
116
|
__isTeleport?: undefined;
|
|
117
117
|
__isSuspense?: undefined;
|
|
118
118
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
119
|
-
modelValue: {
|
|
120
|
-
type: PropType<number>;
|
|
121
|
-
default: number;
|
|
122
|
-
};
|
|
123
119
|
data: {
|
|
124
120
|
type: PropType< PlusStepFromRow[]>;
|
|
125
121
|
default: () => never[];
|
|
@@ -128,6 +124,10 @@ export declare const PlusStepsForm: {
|
|
|
128
124
|
type: PropType<string>;
|
|
129
125
|
default: undefined;
|
|
130
126
|
};
|
|
127
|
+
modelValue: {
|
|
128
|
+
type: PropType<number>;
|
|
129
|
+
default: number;
|
|
130
|
+
};
|
|
131
131
|
submitText: {
|
|
132
132
|
type: PropType<string>;
|
|
133
133
|
default: undefined;
|
|
@@ -137,9 +137,9 @@ export declare const PlusStepsForm: {
|
|
|
137
137
|
default: undefined;
|
|
138
138
|
};
|
|
139
139
|
}>> & {
|
|
140
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
141
140
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
142
141
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
142
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
143
143
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
144
144
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
145
145
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -149,9 +149,9 @@ export declare const PlusStepsForm: {
|
|
|
149
149
|
"update:modelValue": (active: number) => void;
|
|
150
150
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
151
151
|
}, string, {
|
|
152
|
-
modelValue: number;
|
|
153
152
|
data: PlusStepFromRow[];
|
|
154
153
|
nextText: string;
|
|
154
|
+
modelValue: number;
|
|
155
155
|
submitText: string;
|
|
156
156
|
preText: string;
|
|
157
157
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -66,15 +66,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
66
66
|
nextText: undefined;
|
|
67
67
|
preText: undefined;
|
|
68
68
|
}>>> & {
|
|
69
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
70
69
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
71
70
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
71
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
72
72
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
73
73
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
modelValue: number;
|
|
76
75
|
data: PlusStepFromRow[];
|
|
77
76
|
nextText: string;
|
|
77
|
+
modelValue: number;
|
|
78
78
|
submitText: string;
|
|
79
79
|
preText: string;
|
|
80
80
|
}, {}>, Partial<Record<string, (_: {
|
|
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
$data: {};
|
|
27
27
|
$props: Partial<{
|
|
28
28
|
index: number;
|
|
29
|
-
formProps: PlusFormProps;
|
|
30
29
|
rest: RecordType;
|
|
30
|
+
formProps: PlusFormProps;
|
|
31
31
|
column: PlusColumn;
|
|
32
32
|
row: RecordType;
|
|
33
33
|
editable: boolean | "click" | "dblclick";
|
|
34
34
|
}> & Omit<{
|
|
35
35
|
readonly index: number;
|
|
36
|
-
readonly formProps: PlusFormProps;
|
|
37
36
|
readonly rest: RecordType;
|
|
37
|
+
readonly formProps: PlusFormProps;
|
|
38
38
|
readonly column: PlusColumn;
|
|
39
39
|
readonly row: RecordType;
|
|
40
40
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
type: PropType<number>;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
formProps: {
|
|
52
|
-
type: PropType<PlusFormProps>;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
51
|
rest: {
|
|
56
52
|
type: PropType<RecordType>;
|
|
57
53
|
default: () => {};
|
|
58
54
|
};
|
|
55
|
+
formProps: {
|
|
56
|
+
type: PropType<PlusFormProps>;
|
|
57
|
+
default: () => {};
|
|
58
|
+
};
|
|
59
59
|
column: {
|
|
60
60
|
type: PropType<PlusColumn>;
|
|
61
61
|
required: true;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
79
79
|
prop: string;
|
|
80
80
|
row: RecordType;
|
|
81
81
|
}) => any) | undefined;
|
|
82
|
-
}, "index" | "
|
|
82
|
+
}, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
|
|
83
83
|
$attrs: {
|
|
84
84
|
[x: string]: unknown;
|
|
85
85
|
};
|
|
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
102
102
|
type: PropType<number>;
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
|
-
formProps: {
|
|
106
|
-
type: PropType<PlusFormProps>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
105
|
rest: {
|
|
110
106
|
type: PropType<RecordType>;
|
|
111
107
|
default: () => {};
|
|
112
108
|
};
|
|
109
|
+
formProps: {
|
|
110
|
+
type: PropType<PlusFormProps>;
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
113
|
column: {
|
|
114
114
|
type: PropType<PlusColumn>;
|
|
115
115
|
required: true;
|
|
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
152
152
|
}) => void;
|
|
153
153
|
}, string, {
|
|
154
154
|
index: number;
|
|
155
|
-
formProps: PlusFormProps;
|
|
156
155
|
rest: RecordType;
|
|
156
|
+
formProps: PlusFormProps;
|
|
157
157
|
column: PlusColumn;
|
|
158
158
|
row: RecordType;
|
|
159
159
|
editable: boolean | "click" | "dblclick";
|
|
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
182
182
|
type: PropType<number>;
|
|
183
183
|
default: number;
|
|
184
184
|
};
|
|
185
|
-
formProps: {
|
|
186
|
-
type: PropType<PlusFormProps>;
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
185
|
rest: {
|
|
190
186
|
type: PropType<RecordType>;
|
|
191
187
|
default: () => {};
|
|
192
188
|
};
|
|
189
|
+
formProps: {
|
|
190
|
+
type: PropType<PlusFormProps>;
|
|
191
|
+
default: () => {};
|
|
192
|
+
};
|
|
193
193
|
column: {
|
|
194
194
|
type: PropType<PlusColumn>;
|
|
195
195
|
required: true;
|
|
@@ -226,14 +226,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
};
|
|
227
227
|
}> & {} & ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: Partial<Record<string, (_: {
|
|
229
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
229
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
230
230
|
readonly label: string | ComputedRef<string>;
|
|
231
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
231
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
|
-
readonly tooltip: string |
|
|
233
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
235
235
|
class?: any;
|
|
236
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
236
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
237
237
|
style?: CSSProperties | undefined;
|
|
238
238
|
class?: any;
|
|
239
239
|
} & RecordType>>;
|
|
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
300
|
fieldInstance?: any;
|
|
301
301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
302
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
303
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string |
|
|
305
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
306
|
style?: CSSProperties | undefined;
|
|
307
307
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
308
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
309
309
|
style?: CSSProperties | undefined;
|
|
310
310
|
class?: any;
|
|
311
311
|
} & RecordType>>;
|
|
@@ -334,14 +334,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
334
|
clearable: boolean;
|
|
335
335
|
index: number;
|
|
336
336
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
337
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
338
338
|
readonly label: string | ComputedRef<string>;
|
|
339
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
339
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
340
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
|
-
readonly tooltip: string |
|
|
341
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
342
|
style?: CSSProperties | undefined;
|
|
343
343
|
class?: any;
|
|
344
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
344
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
345
345
|
style?: CSSProperties | undefined;
|
|
346
346
|
class?: any;
|
|
347
347
|
} & RecordType>>;
|
|
@@ -408,12 +408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
408
408
|
fieldInstance?: any;
|
|
409
409
|
valueIsReady?: Ref<boolean> | undefined;
|
|
410
410
|
prop: string;
|
|
411
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
411
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
412
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
|
-
tooltip: string |
|
|
413
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
414
|
style?: CSSProperties | undefined;
|
|
415
415
|
class?: any;
|
|
416
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
416
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
417
417
|
style?: CSSProperties | undefined;
|
|
418
418
|
class?: any;
|
|
419
419
|
} & RecordType>>;
|
|
@@ -442,14 +442,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
442
442
|
clearable: boolean;
|
|
443
443
|
index: number;
|
|
444
444
|
}) => any>> & Partial<Record<string, (_: {
|
|
445
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
445
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
446
446
|
readonly label: string | ComputedRef<string>;
|
|
447
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
447
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
448
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
|
-
readonly tooltip: string |
|
|
449
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
452
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
453
453
|
style?: CSSProperties | undefined;
|
|
454
454
|
class?: any;
|
|
455
455
|
} & RecordType>>;
|
|
@@ -516,12 +516,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
516
516
|
fieldInstance?: any;
|
|
517
517
|
valueIsReady?: Ref<boolean> | undefined;
|
|
518
518
|
prop: string;
|
|
519
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
519
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
520
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
|
-
tooltip: string |
|
|
521
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
522
|
style?: CSSProperties | undefined;
|
|
523
523
|
class?: any;
|
|
524
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
524
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
525
525
|
style?: CSSProperties | undefined;
|
|
526
526
|
class?: any;
|
|
527
527
|
} & RecordType>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteRecordName, RouteLocationNormalized,
|
|
1
|
+
import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, 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,7 +120,6 @@ 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;
|
|
124
123
|
meta?: ( RouteMeta & {
|
|
125
124
|
title?: string | undefined;
|
|
126
125
|
icon?: VNode<RendererNode, RendererElement, {
|
|
@@ -138,6 +137,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
138
137
|
end?: boolean | undefined;
|
|
139
138
|
sensitive?: boolean | undefined;
|
|
140
139
|
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;
|