yc-pro-components 0.0.15 → 0.0.17
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 +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- 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/form/index.d.ts +5 -0
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form-item/index.d.ts +32 -32
- 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 +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +25 -25
- package/es/components/radio/src/index.vue.d.ts +25 -25
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- 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/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- 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-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +97 -0
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- 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 +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- 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/form/index.d.ts +5 -0
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form-item/index.d.ts +32 -32
- 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 +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +25 -25
- package/lib/components/radio/src/index.vue.d.ts +25 -25
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- 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/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- 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-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +97 -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
|
@@ -4,26 +4,26 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
4
4
|
export type { PlusCheckCardProps } from './src/index.vue';
|
|
5
5
|
export declare const PlusCheckCard: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
+
size: {
|
|
8
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
7
11
|
title: {
|
|
8
12
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
9
13
|
default: undefined;
|
|
10
14
|
};
|
|
11
|
-
disabled: {
|
|
12
|
-
type: PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
15
|
avatar: {
|
|
16
16
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
17
17
|
default: undefined;
|
|
18
18
|
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
extra: {
|
|
20
24
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
21
25
|
default: undefined;
|
|
22
26
|
};
|
|
23
|
-
size: {
|
|
24
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
27
|
modelValue: {
|
|
28
28
|
type: PropType<boolean>;
|
|
29
29
|
default: boolean;
|
|
@@ -45,26 +45,26 @@ export declare const PlusCheckCard: {
|
|
|
45
45
|
change: (checked: boolean) => void;
|
|
46
46
|
extra: () => void;
|
|
47
47
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
48
|
+
size: {
|
|
49
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
48
52
|
title: {
|
|
49
53
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
50
54
|
default: undefined;
|
|
51
55
|
};
|
|
52
|
-
disabled: {
|
|
53
|
-
type: PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
56
|
avatar: {
|
|
57
57
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
58
58
|
default: undefined;
|
|
59
59
|
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
60
64
|
extra: {
|
|
61
65
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
62
66
|
default: undefined;
|
|
63
67
|
};
|
|
64
|
-
size: {
|
|
65
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
68
|
modelValue: {
|
|
69
69
|
type: PropType<boolean>;
|
|
70
70
|
default: boolean;
|
|
@@ -82,11 +82,11 @@ export declare const PlusCheckCard: {
|
|
|
82
82
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
83
83
|
onExtra?: (() => any) | undefined;
|
|
84
84
|
}, {
|
|
85
|
+
size: "" | "default" | "small" | "large";
|
|
85
86
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
86
|
-
disabled: boolean;
|
|
87
87
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
88
|
+
disabled: boolean;
|
|
88
89
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
89
|
-
size: "" | "default" | "small" | "large";
|
|
90
90
|
modelValue: boolean;
|
|
91
91
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
92
92
|
avatarProps: RecordType;
|
|
@@ -98,26 +98,26 @@ export declare const PlusCheckCard: {
|
|
|
98
98
|
M: {};
|
|
99
99
|
Defaults: {};
|
|
100
100
|
}, Readonly< ExtractPropTypes<{
|
|
101
|
+
size: {
|
|
102
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
101
105
|
title: {
|
|
102
106
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
103
107
|
default: undefined;
|
|
104
108
|
};
|
|
105
|
-
disabled: {
|
|
106
|
-
type: PropType<boolean>;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
109
|
avatar: {
|
|
110
110
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
111
111
|
default: undefined;
|
|
112
112
|
};
|
|
113
|
+
disabled: {
|
|
114
|
+
type: PropType<boolean>;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
113
117
|
extra: {
|
|
114
118
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
115
119
|
default: undefined;
|
|
116
120
|
};
|
|
117
|
-
size: {
|
|
118
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
121
|
modelValue: {
|
|
122
122
|
type: PropType<boolean>;
|
|
123
123
|
default: boolean;
|
|
@@ -135,11 +135,11 @@ export declare const PlusCheckCard: {
|
|
|
135
135
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
136
136
|
onExtra?: (() => any) | undefined;
|
|
137
137
|
}, {}, {}, {}, {}, {
|
|
138
|
+
size: "" | "default" | "small" | "large";
|
|
138
139
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
139
|
-
disabled: boolean;
|
|
140
140
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
141
|
+
disabled: boolean;
|
|
141
142
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
142
|
-
size: "" | "default" | "small" | "large";
|
|
143
143
|
modelValue: boolean;
|
|
144
144
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
145
145
|
avatarProps: RecordType;
|
|
@@ -148,26 +148,26 @@ export declare const PlusCheckCard: {
|
|
|
148
148
|
__isTeleport?: undefined;
|
|
149
149
|
__isSuspense?: undefined;
|
|
150
150
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
151
|
+
size: {
|
|
152
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
151
155
|
title: {
|
|
152
156
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
153
157
|
default: undefined;
|
|
154
158
|
};
|
|
155
|
-
disabled: {
|
|
156
|
-
type: PropType<boolean>;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
159
|
avatar: {
|
|
160
160
|
type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
|
|
161
161
|
default: undefined;
|
|
162
162
|
};
|
|
163
|
+
disabled: {
|
|
164
|
+
type: PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
163
167
|
extra: {
|
|
164
168
|
type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
|
|
165
169
|
default: undefined;
|
|
166
170
|
};
|
|
167
|
-
size: {
|
|
168
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
169
|
-
default: string;
|
|
170
|
-
};
|
|
171
171
|
modelValue: {
|
|
172
172
|
type: PropType<boolean>;
|
|
173
173
|
default: boolean;
|
|
@@ -189,11 +189,11 @@ export declare const PlusCheckCard: {
|
|
|
189
189
|
change: (checked: boolean) => void;
|
|
190
190
|
extra: () => void;
|
|
191
191
|
}, string, {
|
|
192
|
+
size: "" | "default" | "small" | "large";
|
|
192
193
|
title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
193
|
-
disabled: boolean;
|
|
194
194
|
avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
195
|
+
disabled: boolean;
|
|
195
196
|
extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
196
|
-
size: "" | "default" | "small" | "large";
|
|
197
197
|
modelValue: boolean;
|
|
198
198
|
description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
199
199
|
avatarProps: RecordType;
|
|
@@ -47,11 +47,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
47
47
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
48
48
|
onExtra?: (() => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
+
size: "" | "default" | "small" | "large";
|
|
50
51
|
title: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
51
|
-
disabled: boolean;
|
|
52
52
|
avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
53
|
+
disabled: boolean;
|
|
53
54
|
extra: (data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
|
|
54
|
-
size: "" | "default" | "small" | "large";
|
|
55
55
|
modelValue: boolean;
|
|
56
56
|
description: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
|
|
57
57
|
avatarProps: RecordType;
|
|
@@ -4,14 +4,14 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
4
4
|
export type { PlusCheckCardGroupProps } from './src/index.vue';
|
|
5
5
|
export declare const PlusCheckCardGroup: {
|
|
6
6
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
-
disabled: {
|
|
8
|
-
type: PropType<boolean>;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
7
|
size: {
|
|
12
8
|
type: PropType<"" | "default" | "small" | "large">;
|
|
13
9
|
default: undefined;
|
|
14
10
|
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
15
|
options: {
|
|
16
16
|
type: PropType<( PlusCheckCardProps & {
|
|
17
17
|
value: string | number;
|
|
@@ -39,14 +39,14 @@ export declare const PlusCheckCardGroup: {
|
|
|
39
39
|
value: string | number;
|
|
40
40
|
}) => void;
|
|
41
41
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
42
|
-
disabled: {
|
|
43
|
-
type: PropType<boolean>;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
42
|
size: {
|
|
47
43
|
type: PropType<"" | "default" | "small" | "large">;
|
|
48
44
|
default: undefined;
|
|
49
45
|
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
50
|
options: {
|
|
51
51
|
type: PropType<( PlusCheckCardProps & {
|
|
52
52
|
value: string | number;
|
|
@@ -68,8 +68,8 @@ export declare const PlusCheckCardGroup: {
|
|
|
68
68
|
value: string | number;
|
|
69
69
|
}) => any) | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
disabled: boolean;
|
|
72
71
|
size: "" | "default" | "small" | "large";
|
|
72
|
+
disabled: boolean;
|
|
73
73
|
options: ( PlusCheckCardProps & {
|
|
74
74
|
value: string | number;
|
|
75
75
|
})[];
|
|
@@ -83,14 +83,14 @@ export declare const PlusCheckCardGroup: {
|
|
|
83
83
|
M: {};
|
|
84
84
|
Defaults: {};
|
|
85
85
|
}, Readonly< ExtractPropTypes<{
|
|
86
|
-
disabled: {
|
|
87
|
-
type: PropType<boolean>;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
86
|
size: {
|
|
91
87
|
type: PropType<"" | "default" | "small" | "large">;
|
|
92
88
|
default: undefined;
|
|
93
89
|
};
|
|
90
|
+
disabled: {
|
|
91
|
+
type: PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
94
|
options: {
|
|
95
95
|
type: PropType<( PlusCheckCardProps & {
|
|
96
96
|
value: string | number;
|
|
@@ -112,8 +112,8 @@ export declare const PlusCheckCardGroup: {
|
|
|
112
112
|
value: string | number;
|
|
113
113
|
}) => any) | undefined;
|
|
114
114
|
}, {}, {}, {}, {}, {
|
|
115
|
-
disabled: boolean;
|
|
116
115
|
size: "" | "default" | "small" | "large";
|
|
116
|
+
disabled: boolean;
|
|
117
117
|
options: ( PlusCheckCardProps & {
|
|
118
118
|
value: string | number;
|
|
119
119
|
})[];
|
|
@@ -124,14 +124,14 @@ export declare const PlusCheckCardGroup: {
|
|
|
124
124
|
__isTeleport?: undefined;
|
|
125
125
|
__isSuspense?: undefined;
|
|
126
126
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
127
|
-
disabled: {
|
|
128
|
-
type: PropType<boolean>;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
127
|
size: {
|
|
132
128
|
type: PropType<"" | "default" | "small" | "large">;
|
|
133
129
|
default: undefined;
|
|
134
130
|
};
|
|
131
|
+
disabled: {
|
|
132
|
+
type: PropType<boolean>;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
135
|
options: {
|
|
136
136
|
type: PropType<( PlusCheckCardProps & {
|
|
137
137
|
value: string | number;
|
|
@@ -159,8 +159,8 @@ export declare const PlusCheckCardGroup: {
|
|
|
159
159
|
value: string | number;
|
|
160
160
|
}) => void;
|
|
161
161
|
}, string, {
|
|
162
|
-
disabled: boolean;
|
|
163
162
|
size: "" | "default" | "small" | "large";
|
|
163
|
+
disabled: boolean;
|
|
164
164
|
options: ( PlusCheckCardProps & {
|
|
165
165
|
value: string | number;
|
|
166
166
|
})[];
|
|
@@ -51,8 +51,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
51
51
|
value: string | number;
|
|
52
52
|
}) => any) | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
disabled: boolean;
|
|
55
54
|
size: "" | "default" | "small" | "large";
|
|
55
|
+
disabled: boolean;
|
|
56
56
|
options: (PlusCheckCardProps & {
|
|
57
57
|
value: string | number;
|
|
58
58
|
})[];
|
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
3
3
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { LooseRequired } from '@vue/shared';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusFormProps, RecordType, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
|
|
7
7
|
import { default as DisplayItem } from './src/index.vue';
|
|
8
8
|
|
|
@@ -14,14 +14,14 @@ export declare const PlusDisplayItem: {
|
|
|
14
14
|
type: PropType<number>;
|
|
15
15
|
default: number;
|
|
16
16
|
};
|
|
17
|
-
rest: {
|
|
18
|
-
type: PropType<RecordType>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
17
|
formProps: {
|
|
22
18
|
type: PropType<PlusFormProps>;
|
|
23
19
|
default: () => {};
|
|
24
20
|
};
|
|
21
|
+
rest: {
|
|
22
|
+
type: PropType<RecordType>;
|
|
23
|
+
default: () => {};
|
|
24
|
+
};
|
|
25
25
|
column: {
|
|
26
26
|
type: PropType<PlusColumn>;
|
|
27
27
|
required: true;
|
|
@@ -67,14 +67,14 @@ export declare const PlusDisplayItem: {
|
|
|
67
67
|
type: PropType<number>;
|
|
68
68
|
default: number;
|
|
69
69
|
};
|
|
70
|
-
rest: {
|
|
71
|
-
type: PropType<RecordType>;
|
|
72
|
-
default: () => {};
|
|
73
|
-
};
|
|
74
70
|
formProps: {
|
|
75
71
|
type: PropType<PlusFormProps>;
|
|
76
72
|
default: () => {};
|
|
77
73
|
};
|
|
74
|
+
rest: {
|
|
75
|
+
type: PropType<RecordType>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
78
|
column: {
|
|
79
79
|
type: PropType<PlusColumn>;
|
|
80
80
|
required: true;
|
|
@@ -100,8 +100,8 @@ export declare const PlusDisplayItem: {
|
|
|
100
100
|
}) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
index: number;
|
|
103
|
-
rest: RecordType;
|
|
104
103
|
formProps: PlusFormProps;
|
|
104
|
+
rest: RecordType;
|
|
105
105
|
column: PlusColumn;
|
|
106
106
|
row: RecordType;
|
|
107
107
|
editable: boolean | "click" | "dblclick";
|
|
@@ -117,14 +117,14 @@ export declare const PlusDisplayItem: {
|
|
|
117
117
|
type: PropType<number>;
|
|
118
118
|
default: number;
|
|
119
119
|
};
|
|
120
|
-
rest: {
|
|
121
|
-
type: PropType<RecordType>;
|
|
122
|
-
default: () => {};
|
|
123
|
-
};
|
|
124
120
|
formProps: {
|
|
125
121
|
type: PropType<PlusFormProps>;
|
|
126
122
|
default: () => {};
|
|
127
123
|
};
|
|
124
|
+
rest: {
|
|
125
|
+
type: PropType<RecordType>;
|
|
126
|
+
default: () => {};
|
|
127
|
+
};
|
|
128
128
|
column: {
|
|
129
129
|
type: PropType<PlusColumn>;
|
|
130
130
|
required: true;
|
|
@@ -161,8 +161,8 @@ export declare const PlusDisplayItem: {
|
|
|
161
161
|
};
|
|
162
162
|
}, {}, {}, {}, {
|
|
163
163
|
index: number;
|
|
164
|
-
rest: RecordType;
|
|
165
164
|
formProps: PlusFormProps;
|
|
165
|
+
rest: RecordType;
|
|
166
166
|
column: PlusColumn;
|
|
167
167
|
row: RecordType;
|
|
168
168
|
editable: boolean | "click" | "dblclick";
|
|
@@ -175,14 +175,14 @@ export declare const PlusDisplayItem: {
|
|
|
175
175
|
type: PropType<number>;
|
|
176
176
|
default: number;
|
|
177
177
|
};
|
|
178
|
-
rest: {
|
|
179
|
-
type: PropType<RecordType>;
|
|
180
|
-
default: () => {};
|
|
181
|
-
};
|
|
182
178
|
formProps: {
|
|
183
179
|
type: PropType<PlusFormProps>;
|
|
184
180
|
default: () => {};
|
|
185
181
|
};
|
|
182
|
+
rest: {
|
|
183
|
+
type: PropType<RecordType>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
186
186
|
column: {
|
|
187
187
|
type: PropType<PlusColumn>;
|
|
188
188
|
required: true;
|
|
@@ -225,8 +225,8 @@ export declare const PlusDisplayItem: {
|
|
|
225
225
|
}) => void;
|
|
226
226
|
}, string, {
|
|
227
227
|
index: number;
|
|
228
|
-
rest: RecordType;
|
|
229
228
|
formProps: PlusFormProps;
|
|
229
|
+
rest: RecordType;
|
|
230
230
|
column: PlusColumn;
|
|
231
231
|
row: RecordType;
|
|
232
232
|
editable: boolean | "click" | "dblclick";
|
|
@@ -234,12 +234,12 @@ export declare const PlusDisplayItem: {
|
|
|
234
234
|
$slots: Partial<Record<string, (_: {
|
|
235
235
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
236
236
|
readonly label: string | ComputedRef<string>;
|
|
237
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
237
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
238
238
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
239
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
239
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
240
240
|
style?: CSSProperties | undefined;
|
|
241
241
|
class?: any;
|
|
242
|
-
} & RecordType> | ComputedRef<
|
|
242
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
243
243
|
style?: CSSProperties | undefined;
|
|
244
244
|
class?: any;
|
|
245
245
|
} & RecordType>>;
|
|
@@ -261,7 +261,7 @@ export declare const PlusDisplayItem: {
|
|
|
261
261
|
};
|
|
262
262
|
rows: number;
|
|
263
263
|
autocomplete: string;
|
|
264
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
264
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
265
265
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
266
266
|
step: string | number;
|
|
267
267
|
format: string | ProgressFn | undefined;
|
|
@@ -306,12 +306,12 @@ export declare const PlusDisplayItem: {
|
|
|
306
306
|
fieldInstance?: any;
|
|
307
307
|
valueIsReady?: Ref<boolean> | undefined;
|
|
308
308
|
prop: string;
|
|
309
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
309
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
310
310
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
311
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
311
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
312
312
|
style?: CSSProperties | undefined;
|
|
313
313
|
class?: any;
|
|
314
|
-
} & RecordType> | ComputedRef<
|
|
314
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
315
315
|
style?: CSSProperties | undefined;
|
|
316
316
|
class?: any;
|
|
317
317
|
} & RecordType>>;
|
|
@@ -342,12 +342,12 @@ export declare const PlusDisplayItem: {
|
|
|
342
342
|
}) => any>> & Partial<Record<string, (_: {
|
|
343
343
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
344
344
|
readonly label: string | ComputedRef<string>;
|
|
345
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
345
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
346
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
347
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
347
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
348
348
|
style?: CSSProperties | undefined;
|
|
349
349
|
class?: any;
|
|
350
|
-
} & RecordType> | ComputedRef<
|
|
350
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
351
351
|
style?: CSSProperties | undefined;
|
|
352
352
|
class?: any;
|
|
353
353
|
} & RecordType>>;
|
|
@@ -369,7 +369,7 @@ export declare const PlusDisplayItem: {
|
|
|
369
369
|
};
|
|
370
370
|
rows: number;
|
|
371
371
|
autocomplete: string;
|
|
372
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
372
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
373
373
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
374
374
|
step: string | number;
|
|
375
375
|
format: string | ProgressFn | undefined;
|
|
@@ -414,12 +414,12 @@ export declare const PlusDisplayItem: {
|
|
|
414
414
|
fieldInstance?: any;
|
|
415
415
|
valueIsReady?: Ref<boolean> | undefined;
|
|
416
416
|
prop: string;
|
|
417
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
417
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
418
418
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
419
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
419
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
420
420
|
style?: CSSProperties | undefined;
|
|
421
421
|
class?: any;
|
|
422
|
-
} & RecordType> | ComputedRef<
|
|
422
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
423
423
|
style?: CSSProperties | undefined;
|
|
424
424
|
class?: any;
|
|
425
425
|
} & RecordType>>;
|
|
@@ -450,12 +450,12 @@ export declare const PlusDisplayItem: {
|
|
|
450
450
|
}) => any>> & Partial<Record<string, (_: {
|
|
451
451
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
452
452
|
readonly label: string | ComputedRef<string>;
|
|
453
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
453
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
454
454
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
455
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
455
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
456
456
|
style?: CSSProperties | undefined;
|
|
457
457
|
class?: any;
|
|
458
|
-
} & RecordType> | ComputedRef<
|
|
458
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
459
459
|
style?: CSSProperties | undefined;
|
|
460
460
|
class?: any;
|
|
461
461
|
} & RecordType>>;
|
|
@@ -477,7 +477,7 @@ export declare const PlusDisplayItem: {
|
|
|
477
477
|
};
|
|
478
478
|
rows: number;
|
|
479
479
|
autocomplete: string;
|
|
480
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
480
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
481
481
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
482
482
|
step: string | number;
|
|
483
483
|
format: string | ProgressFn | undefined;
|
|
@@ -522,12 +522,12 @@ export declare const PlusDisplayItem: {
|
|
|
522
522
|
fieldInstance?: any;
|
|
523
523
|
valueIsReady?: Ref<boolean> | undefined;
|
|
524
524
|
prop: string;
|
|
525
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
525
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
526
526
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
527
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
527
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
528
528
|
style?: CSSProperties | undefined;
|
|
529
529
|
class?: any;
|
|
530
|
-
} & RecordType> | ComputedRef<
|
|
530
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
531
531
|
style?: CSSProperties | undefined;
|
|
532
532
|
class?: any;
|
|
533
533
|
} & RecordType>>;
|