yc-pro-components 0.0.26 → 0.0.27
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 +57 -57
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +22 -22
- package/es/components/check-card-group/src/index.vue.d.ts +19 -19
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +19 -19
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +32 -32
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +28 -28
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +107 -107
- package/es/components/form/src/form-content.vue.d.ts +17 -17
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +128 -128
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +895 -895
- package/es/components/page/src/index.vue.d.ts +289 -289
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +26 -26
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +328 -328
- package/es/components/search/src/index.vue.d.ts +95 -95
- 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 +74 -74
- package/es/components/table/src/index.vue.d.ts +19 -19
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +28 -28
- package/es/components/utils/index.d.ts +15 -15
- 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-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- 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 +729 -887
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +193 -193
- package/es/index.css +1 -1
- package/index.css +6 -6
- package/index.js +6 -4
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +6 -4
- package/lib/components/check-card/index.d.ts +57 -57
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +22 -22
- package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +19 -19
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +32 -32
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +28 -28
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +107 -107
- package/lib/components/form/src/form-content.vue.d.ts +17 -17
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +128 -128
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +895 -895
- package/lib/components/page/src/index.vue.d.ts +289 -289
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +26 -26
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +328 -328
- package/lib/components/search/src/index.vue.d.ts +95 -95
- 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 +74 -74
- package/lib/components/table/src/index.vue.d.ts +19 -19
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +28 -28
- package/lib/components/utils/index.d.ts +15 -15
- 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-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- 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 +729 -887
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +193 -193
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlusColumn, PlusFormProps,
|
|
1
|
+
import { RecordType, PlusColumn, PlusFormProps, FieldValueType, TableFormRefRow } from 'packages/yc-components';
|
|
2
2
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
3
|
import { default as Descriptions } from './src/index.vue';
|
|
4
4
|
|
|
@@ -6,14 +6,6 @@ export type PlusDescriptionsInstance = InstanceType<typeof Descriptions>;
|
|
|
6
6
|
export type { PlusDescriptionsProps } from './src/index.vue';
|
|
7
7
|
export declare const PlusDescriptions: {
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
columns: {
|
|
10
|
-
type: PropType< PlusColumn[]>;
|
|
11
|
-
default: () => never[];
|
|
12
|
-
};
|
|
13
|
-
formProps: {
|
|
14
|
-
type: PropType<PlusFormProps>;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
9
|
data: {
|
|
18
10
|
type: PropType<RecordType>;
|
|
19
11
|
required: true;
|
|
@@ -23,6 +15,14 @@ export declare const PlusDescriptions: {
|
|
|
23
15
|
type: PropType<string>;
|
|
24
16
|
default: string;
|
|
25
17
|
};
|
|
18
|
+
columns: {
|
|
19
|
+
type: PropType< PlusColumn[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
formProps: {
|
|
23
|
+
type: PropType<PlusFormProps>;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
26
|
border: {
|
|
27
27
|
type: PropType<boolean>;
|
|
28
28
|
default: boolean;
|
|
@@ -60,14 +60,6 @@ export declare const PlusDescriptions: {
|
|
|
60
60
|
value: FieldValueType;
|
|
61
61
|
}) => void;
|
|
62
62
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
63
|
-
columns: {
|
|
64
|
-
type: PropType< PlusColumn[]>;
|
|
65
|
-
default: () => never[];
|
|
66
|
-
};
|
|
67
|
-
formProps: {
|
|
68
|
-
type: PropType<PlusFormProps>;
|
|
69
|
-
default: undefined;
|
|
70
|
-
};
|
|
71
63
|
data: {
|
|
72
64
|
type: PropType<RecordType>;
|
|
73
65
|
required: true;
|
|
@@ -77,6 +69,14 @@ export declare const PlusDescriptions: {
|
|
|
77
69
|
type: PropType<string>;
|
|
78
70
|
default: string;
|
|
79
71
|
};
|
|
72
|
+
columns: {
|
|
73
|
+
type: PropType< PlusColumn[]>;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
formProps: {
|
|
77
|
+
type: PropType<PlusFormProps>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
80
|
border: {
|
|
81
81
|
type: PropType<boolean>;
|
|
82
82
|
default: boolean;
|
|
@@ -102,10 +102,10 @@ export declare const PlusDescriptions: {
|
|
|
102
102
|
value: FieldValueType;
|
|
103
103
|
}) => any) | undefined;
|
|
104
104
|
}, {
|
|
105
|
-
columns: PlusColumn[];
|
|
106
|
-
formProps: PlusFormProps;
|
|
107
105
|
data: RecordType;
|
|
108
106
|
title: string;
|
|
107
|
+
columns: PlusColumn[];
|
|
108
|
+
formProps: PlusFormProps;
|
|
109
109
|
border: boolean;
|
|
110
110
|
column: number;
|
|
111
111
|
editable: boolean;
|
|
@@ -118,14 +118,6 @@ export declare const PlusDescriptions: {
|
|
|
118
118
|
M: {};
|
|
119
119
|
Defaults: {};
|
|
120
120
|
}, Readonly< ExtractPropTypes<{
|
|
121
|
-
columns: {
|
|
122
|
-
type: PropType< PlusColumn[]>;
|
|
123
|
-
default: () => never[];
|
|
124
|
-
};
|
|
125
|
-
formProps: {
|
|
126
|
-
type: PropType<PlusFormProps>;
|
|
127
|
-
default: undefined;
|
|
128
|
-
};
|
|
129
121
|
data: {
|
|
130
122
|
type: PropType<RecordType>;
|
|
131
123
|
required: true;
|
|
@@ -135,6 +127,14 @@ export declare const PlusDescriptions: {
|
|
|
135
127
|
type: PropType<string>;
|
|
136
128
|
default: string;
|
|
137
129
|
};
|
|
130
|
+
columns: {
|
|
131
|
+
type: PropType< PlusColumn[]>;
|
|
132
|
+
default: () => never[];
|
|
133
|
+
};
|
|
134
|
+
formProps: {
|
|
135
|
+
type: PropType<PlusFormProps>;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
138
|
border: {
|
|
139
139
|
type: PropType<boolean>;
|
|
140
140
|
default: boolean;
|
|
@@ -164,10 +164,10 @@ export declare const PlusDescriptions: {
|
|
|
164
164
|
validate: () => Promise<undefined>;
|
|
165
165
|
clearValidate: () => void;
|
|
166
166
|
}, {}, {}, {}, {
|
|
167
|
-
columns: PlusColumn[];
|
|
168
|
-
formProps: PlusFormProps;
|
|
169
167
|
data: RecordType;
|
|
170
168
|
title: string;
|
|
169
|
+
columns: PlusColumn[];
|
|
170
|
+
formProps: PlusFormProps;
|
|
171
171
|
border: boolean;
|
|
172
172
|
column: number;
|
|
173
173
|
editable: boolean;
|
|
@@ -177,14 +177,6 @@ export declare const PlusDescriptions: {
|
|
|
177
177
|
__isTeleport?: undefined;
|
|
178
178
|
__isSuspense?: undefined;
|
|
179
179
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
180
|
-
columns: {
|
|
181
|
-
type: PropType< PlusColumn[]>;
|
|
182
|
-
default: () => never[];
|
|
183
|
-
};
|
|
184
|
-
formProps: {
|
|
185
|
-
type: PropType<PlusFormProps>;
|
|
186
|
-
default: undefined;
|
|
187
|
-
};
|
|
188
180
|
data: {
|
|
189
181
|
type: PropType<RecordType>;
|
|
190
182
|
required: true;
|
|
@@ -194,6 +186,14 @@ export declare const PlusDescriptions: {
|
|
|
194
186
|
type: PropType<string>;
|
|
195
187
|
default: string;
|
|
196
188
|
};
|
|
189
|
+
columns: {
|
|
190
|
+
type: PropType< PlusColumn[]>;
|
|
191
|
+
default: () => never[];
|
|
192
|
+
};
|
|
193
|
+
formProps: {
|
|
194
|
+
type: PropType<PlusFormProps>;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
197
|
border: {
|
|
198
198
|
type: PropType<boolean>;
|
|
199
199
|
default: boolean;
|
|
@@ -231,10 +231,10 @@ export declare const PlusDescriptions: {
|
|
|
231
231
|
value: FieldValueType;
|
|
232
232
|
}) => void;
|
|
233
233
|
}, string, {
|
|
234
|
-
columns: PlusColumn[];
|
|
235
|
-
formProps: PlusFormProps;
|
|
236
234
|
data: RecordType;
|
|
237
235
|
title: string;
|
|
236
|
+
columns: PlusColumn[];
|
|
237
|
+
formProps: PlusFormProps;
|
|
238
238
|
border: boolean;
|
|
239
239
|
column: number;
|
|
240
240
|
editable: boolean;
|
|
@@ -69,10 +69,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
69
69
|
}>>> & {
|
|
70
70
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
71
71
|
}, {
|
|
72
|
-
columns: PlusColumn[];
|
|
73
|
-
formProps: PlusFormProps;
|
|
74
72
|
data: RecordType;
|
|
75
73
|
title: string;
|
|
74
|
+
columns: PlusColumn[];
|
|
75
|
+
formProps: PlusFormProps;
|
|
76
76
|
border: boolean;
|
|
77
77
|
column: number;
|
|
78
78
|
editable: boolean;
|
|
@@ -5,6 +5,10 @@ export type PlusDialogInstance = InstanceType<typeof Dialog>;
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export declare const PlusDialog: {
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
+
title: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
width: {
|
|
9
13
|
type: PropType<string | number>;
|
|
10
14
|
default: string;
|
|
@@ -17,10 +21,6 @@ export declare const PlusDialog: {
|
|
|
17
21
|
type: PropType<boolean>;
|
|
18
22
|
default: boolean;
|
|
19
23
|
};
|
|
20
|
-
title: {
|
|
21
|
-
type: PropType<string>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
24
|
hasFooter: {
|
|
25
25
|
type: PropType<boolean>;
|
|
26
26
|
default: boolean;
|
|
@@ -50,6 +50,10 @@ export declare const PlusDialog: {
|
|
|
50
50
|
cancel: () => void;
|
|
51
51
|
confirm: () => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
+
title: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
53
57
|
width: {
|
|
54
58
|
type: PropType<string | number>;
|
|
55
59
|
default: string;
|
|
@@ -62,10 +66,6 @@ export declare const PlusDialog: {
|
|
|
62
66
|
type: PropType<boolean>;
|
|
63
67
|
default: boolean;
|
|
64
68
|
};
|
|
65
|
-
title: {
|
|
66
|
-
type: PropType<string>;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
69
|
hasFooter: {
|
|
70
70
|
type: PropType<boolean>;
|
|
71
71
|
default: boolean;
|
|
@@ -91,10 +91,10 @@ export declare const PlusDialog: {
|
|
|
91
91
|
onCancel?: (() => any) | undefined;
|
|
92
92
|
onConfirm?: (() => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
+
title: string;
|
|
94
95
|
width: string | number;
|
|
95
96
|
top: string;
|
|
96
97
|
modelValue: boolean;
|
|
97
|
-
title: string;
|
|
98
98
|
hasFooter: boolean;
|
|
99
99
|
footerAlign: "right" | "left" | "center";
|
|
100
100
|
confirmLoading: boolean;
|
|
@@ -108,6 +108,10 @@ export declare const PlusDialog: {
|
|
|
108
108
|
M: {};
|
|
109
109
|
Defaults: {};
|
|
110
110
|
}, Readonly< ExtractPropTypes<{
|
|
111
|
+
title: {
|
|
112
|
+
type: PropType<string>;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
111
115
|
width: {
|
|
112
116
|
type: PropType<string | number>;
|
|
113
117
|
default: string;
|
|
@@ -120,10 +124,6 @@ export declare const PlusDialog: {
|
|
|
120
124
|
type: PropType<boolean>;
|
|
121
125
|
default: boolean;
|
|
122
126
|
};
|
|
123
|
-
title: {
|
|
124
|
-
type: PropType<string>;
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
127
|
hasFooter: {
|
|
128
128
|
type: PropType<boolean>;
|
|
129
129
|
default: boolean;
|
|
@@ -149,10 +149,10 @@ export declare const PlusDialog: {
|
|
|
149
149
|
onCancel?: (() => any) | undefined;
|
|
150
150
|
onConfirm?: (() => any) | undefined;
|
|
151
151
|
}, {}, {}, {}, {}, {
|
|
152
|
+
title: string;
|
|
152
153
|
width: string | number;
|
|
153
154
|
top: string;
|
|
154
155
|
modelValue: boolean;
|
|
155
|
-
title: string;
|
|
156
156
|
hasFooter: boolean;
|
|
157
157
|
footerAlign: "right" | "left" | "center";
|
|
158
158
|
confirmLoading: boolean;
|
|
@@ -163,6 +163,10 @@ export declare const PlusDialog: {
|
|
|
163
163
|
__isTeleport?: undefined;
|
|
164
164
|
__isSuspense?: undefined;
|
|
165
165
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
166
|
+
title: {
|
|
167
|
+
type: PropType<string>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
166
170
|
width: {
|
|
167
171
|
type: PropType<string | number>;
|
|
168
172
|
default: string;
|
|
@@ -175,10 +179,6 @@ export declare const PlusDialog: {
|
|
|
175
179
|
type: PropType<boolean>;
|
|
176
180
|
default: boolean;
|
|
177
181
|
};
|
|
178
|
-
title: {
|
|
179
|
-
type: PropType<string>;
|
|
180
|
-
default: string;
|
|
181
|
-
};
|
|
182
182
|
hasFooter: {
|
|
183
183
|
type: PropType<boolean>;
|
|
184
184
|
default: boolean;
|
|
@@ -208,10 +208,10 @@ export declare const PlusDialog: {
|
|
|
208
208
|
cancel: () => void;
|
|
209
209
|
confirm: () => void;
|
|
210
210
|
}, string, {
|
|
211
|
+
title: string;
|
|
211
212
|
width: string | number;
|
|
212
213
|
top: string;
|
|
213
214
|
modelValue: boolean;
|
|
214
|
-
title: string;
|
|
215
215
|
hasFooter: boolean;
|
|
216
216
|
footerAlign: "right" | "left" | "center";
|
|
217
217
|
confirmLoading: boolean;
|
|
@@ -30,10 +30,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
onCancel?: (() => any) | undefined;
|
|
31
31
|
onConfirm?: (() => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
+
title: string;
|
|
33
34
|
width: string | number;
|
|
34
35
|
top: string;
|
|
35
36
|
modelValue: boolean;
|
|
36
|
-
title: string;
|
|
37
37
|
hasFooter: boolean;
|
|
38
38
|
footerAlign: "right" | "left" | "center";
|
|
39
39
|
confirmLoading: boolean;
|
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, 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 { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
|
-
import { PlusDialogProps,
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, FieldValues, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
|
|
7
7
|
import { default as DialogForm } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,30 +10,30 @@ export type { PlusDialogFormProps } from './src/index.vue';
|
|
|
10
10
|
export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
|
|
11
11
|
export declare const PlusDialogForm: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
visible: {
|
|
14
|
-
type: PropType<boolean>;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
13
|
dialog: {
|
|
18
14
|
type: PropType<PlusDialogProps>;
|
|
19
15
|
default: () => {};
|
|
20
16
|
};
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: PropType<FieldValues>;
|
|
23
|
-
default: () => {};
|
|
24
|
-
};
|
|
25
17
|
form: {
|
|
26
18
|
type: PropType<PlusFormProps>;
|
|
27
19
|
default: () => {};
|
|
28
20
|
};
|
|
21
|
+
visible: {
|
|
22
|
+
type: PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: PropType<FieldValues>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
29
|
hasErrorTip: {
|
|
30
30
|
type: PropType<boolean>;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>> & {
|
|
34
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
34
35
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
35
36
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
36
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
37
37
|
onClose?: (() => any) | undefined;
|
|
38
38
|
onCancel?: (() => any) | undefined;
|
|
39
39
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -332,39 +332,39 @@ export declare const PlusDialogForm: {
|
|
|
332
332
|
close: () => void;
|
|
333
333
|
confirmError: (errors: unknown) => void;
|
|
334
334
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
335
|
-
visible: {
|
|
336
|
-
type: PropType<boolean>;
|
|
337
|
-
default: boolean;
|
|
338
|
-
};
|
|
339
335
|
dialog: {
|
|
340
336
|
type: PropType<PlusDialogProps>;
|
|
341
337
|
default: () => {};
|
|
342
338
|
};
|
|
343
|
-
modelValue: {
|
|
344
|
-
type: PropType<FieldValues>;
|
|
345
|
-
default: () => {};
|
|
346
|
-
};
|
|
347
339
|
form: {
|
|
348
340
|
type: PropType<PlusFormProps>;
|
|
349
341
|
default: () => {};
|
|
350
342
|
};
|
|
343
|
+
visible: {
|
|
344
|
+
type: PropType<boolean>;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
modelValue: {
|
|
348
|
+
type: PropType<FieldValues>;
|
|
349
|
+
default: () => {};
|
|
350
|
+
};
|
|
351
351
|
hasErrorTip: {
|
|
352
352
|
type: PropType<boolean>;
|
|
353
353
|
default: boolean;
|
|
354
354
|
};
|
|
355
355
|
}>> & {
|
|
356
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
356
357
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
357
358
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
358
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
359
359
|
onClose?: (() => any) | undefined;
|
|
360
360
|
onCancel?: (() => any) | undefined;
|
|
361
361
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
362
362
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
363
363
|
}, {
|
|
364
|
-
visible: boolean;
|
|
365
364
|
dialog: PlusDialogProps;
|
|
366
|
-
modelValue: FieldValues;
|
|
367
365
|
form: PlusFormProps;
|
|
366
|
+
visible: boolean;
|
|
367
|
+
modelValue: FieldValues;
|
|
368
368
|
hasErrorTip: boolean;
|
|
369
369
|
}, true, {}, {}, {
|
|
370
370
|
P: {};
|
|
@@ -374,30 +374,30 @@ export declare const PlusDialogForm: {
|
|
|
374
374
|
M: {};
|
|
375
375
|
Defaults: {};
|
|
376
376
|
}, Readonly< ExtractPropTypes<{
|
|
377
|
-
visible: {
|
|
378
|
-
type: PropType<boolean>;
|
|
379
|
-
default: boolean;
|
|
380
|
-
};
|
|
381
377
|
dialog: {
|
|
382
378
|
type: PropType<PlusDialogProps>;
|
|
383
379
|
default: () => {};
|
|
384
380
|
};
|
|
385
|
-
modelValue: {
|
|
386
|
-
type: PropType<FieldValues>;
|
|
387
|
-
default: () => {};
|
|
388
|
-
};
|
|
389
381
|
form: {
|
|
390
382
|
type: PropType<PlusFormProps>;
|
|
391
383
|
default: () => {};
|
|
392
384
|
};
|
|
385
|
+
visible: {
|
|
386
|
+
type: PropType<boolean>;
|
|
387
|
+
default: boolean;
|
|
388
|
+
};
|
|
389
|
+
modelValue: {
|
|
390
|
+
type: PropType<FieldValues>;
|
|
391
|
+
default: () => {};
|
|
392
|
+
};
|
|
393
393
|
hasErrorTip: {
|
|
394
394
|
type: PropType<boolean>;
|
|
395
395
|
default: boolean;
|
|
396
396
|
};
|
|
397
397
|
}>> & {
|
|
398
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
398
399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
399
400
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
400
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
401
401
|
onClose?: (() => any) | undefined;
|
|
402
402
|
onCancel?: (() => any) | undefined;
|
|
403
403
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -688,40 +688,40 @@ export declare const PlusDialogForm: {
|
|
|
688
688
|
readonly scrollToError: boolean;
|
|
689
689
|
}>>;
|
|
690
690
|
}, {}, {}, {}, {
|
|
691
|
-
visible: boolean;
|
|
692
691
|
dialog: PlusDialogProps;
|
|
693
|
-
modelValue: FieldValues;
|
|
694
692
|
form: PlusFormProps;
|
|
693
|
+
visible: boolean;
|
|
694
|
+
modelValue: FieldValues;
|
|
695
695
|
hasErrorTip: boolean;
|
|
696
696
|
}>;
|
|
697
697
|
__isFragment?: undefined;
|
|
698
698
|
__isTeleport?: undefined;
|
|
699
699
|
__isSuspense?: undefined;
|
|
700
700
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
701
|
-
visible: {
|
|
702
|
-
type: PropType<boolean>;
|
|
703
|
-
default: boolean;
|
|
704
|
-
};
|
|
705
701
|
dialog: {
|
|
706
702
|
type: PropType<PlusDialogProps>;
|
|
707
703
|
default: () => {};
|
|
708
704
|
};
|
|
709
|
-
modelValue: {
|
|
710
|
-
type: PropType<FieldValues>;
|
|
711
|
-
default: () => {};
|
|
712
|
-
};
|
|
713
705
|
form: {
|
|
714
706
|
type: PropType<PlusFormProps>;
|
|
715
707
|
default: () => {};
|
|
716
708
|
};
|
|
709
|
+
visible: {
|
|
710
|
+
type: PropType<boolean>;
|
|
711
|
+
default: boolean;
|
|
712
|
+
};
|
|
713
|
+
modelValue: {
|
|
714
|
+
type: PropType<FieldValues>;
|
|
715
|
+
default: () => {};
|
|
716
|
+
};
|
|
717
717
|
hasErrorTip: {
|
|
718
718
|
type: PropType<boolean>;
|
|
719
719
|
default: boolean;
|
|
720
720
|
};
|
|
721
721
|
}>> & {
|
|
722
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
722
723
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
723
724
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
724
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
725
725
|
onClose?: (() => any) | undefined;
|
|
726
726
|
onCancel?: (() => any) | undefined;
|
|
727
727
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1020,16 +1020,16 @@ export declare const PlusDialogForm: {
|
|
|
1020
1020
|
close: () => void;
|
|
1021
1021
|
confirmError: (errors: unknown) => void;
|
|
1022
1022
|
}, string, {
|
|
1023
|
-
visible: boolean;
|
|
1024
1023
|
dialog: PlusDialogProps;
|
|
1025
|
-
modelValue: FieldValues;
|
|
1026
1024
|
form: PlusFormProps;
|
|
1025
|
+
visible: boolean;
|
|
1026
|
+
modelValue: FieldValues;
|
|
1027
1027
|
hasErrorTip: boolean;
|
|
1028
1028
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1029
1029
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1030
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1030
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1031
1031
|
readonly label: string | ComputedRef<string>;
|
|
1032
|
-
readonly modelValue: string | number | boolean |
|
|
1032
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1033
1033
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1034
1034
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1035
1035
|
style?: CSSProperties | undefined;
|
|
@@ -1056,7 +1056,7 @@ export declare const PlusDialogForm: {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
rows: number;
|
|
1058
1058
|
autocomplete: string;
|
|
1059
|
-
type: "" | "number" | "default" | "
|
|
1059
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1060
1060
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1061
1061
|
step: string | number;
|
|
1062
1062
|
format: string | ProgressFn | undefined;
|
|
@@ -1101,7 +1101,7 @@ export declare const PlusDialogForm: {
|
|
|
1101
1101
|
fieldInstance?: any;
|
|
1102
1102
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1103
1103
|
prop: string;
|
|
1104
|
-
modelValue: string | number | boolean |
|
|
1104
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1105
1105
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1106
1106
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1107
1107
|
style?: CSSProperties | undefined;
|
|
@@ -330,23 +330,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
330
330
|
dialog: () => {};
|
|
331
331
|
form: () => {};
|
|
332
332
|
}>>> & {
|
|
333
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
333
334
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
334
335
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
335
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
336
336
|
onClose?: (() => any) | undefined;
|
|
337
337
|
onCancel?: (() => any) | undefined;
|
|
338
338
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
339
339
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
visible: boolean;
|
|
342
341
|
dialog: PlusDialogProps;
|
|
343
|
-
modelValue: FieldValues;
|
|
344
342
|
form: PlusFormProps;
|
|
343
|
+
visible: boolean;
|
|
344
|
+
modelValue: FieldValues;
|
|
345
345
|
hasErrorTip: boolean;
|
|
346
346
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
347
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
347
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
348
348
|
readonly label: string | ComputedRef<string>;
|
|
349
|
-
readonly modelValue: string | number | boolean |
|
|
349
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
350
350
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
351
351
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
352
352
|
style?: CSSProperties | undefined;
|
|
@@ -373,7 +373,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
373
373
|
};
|
|
374
374
|
rows: number;
|
|
375
375
|
autocomplete: string;
|
|
376
|
-
type: "" | "number" | "default" | "
|
|
376
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
377
377
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
378
378
|
step: string | number;
|
|
379
379
|
format: string | ProgressFn | undefined;
|
|
@@ -418,7 +418,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
418
418
|
fieldInstance?: any;
|
|
419
419
|
valueIsReady?: Ref<boolean> | undefined;
|
|
420
420
|
prop: string;
|
|
421
|
-
modelValue: string | number | boolean |
|
|
421
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
422
422
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
423
423
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
424
424
|
style?: CSSProperties | undefined;
|