@vrojs/element-plus 0.0.7 → 0.0.8
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/dist/index.d.ts +5 -0
- package/dist/index.js +125 -83
- package/dist/locale/index.js +6 -7
- package/dist/locale/lang/en.d.ts +8 -0
- package/dist/locale/lang/en.js +8 -0
- package/dist/locale/lang/zh-cn.d.ts +8 -0
- package/dist/locale/lang/zh-cn.js +8 -0
- package/dist/locale/useLocale.d.ts +1 -48
- package/dist/locale/useLocale.js +16 -17
- package/dist/style/deps.js +7 -0
- package/dist/style/index.css +1 -1
- package/dist/style/index.js +7 -0
- package/dist/utils/elTableColumnProps.d.ts +149 -0
- package/dist/utils/elTableColumnProps.js +152 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -2
- package/dist/vro-el-checkbox-group/index.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +10 -10
- package/dist/vro-el-config-provider/config.d.ts +14 -0
- package/dist/vro-el-config-provider/config.js +36 -0
- package/dist/vro-el-config-provider/index.d.ts +16 -0
- package/dist/vro-el-config-provider/index.js +8 -2
- package/dist/vro-el-config-provider/types.d.ts +7 -0
- package/dist/vro-el-config-provider/types.js +7 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +9 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +11 -11
- package/dist/vro-el-file-upload/index.d.ts +6 -6
- package/dist/vro-el-file-upload/style/index.css +1 -1
- package/dist/vro-el-file-upload/types.d.ts +9 -2
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +7 -6
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +55 -51
- package/dist/vro-el-icon/index.d.ts +28 -40
- package/dist/vro-el-icon/style/css.js +1 -0
- package/dist/vro-el-icon/style/deps.js +1 -1
- package/dist/vro-el-icon/style/index.js +1 -1
- package/dist/vro-el-icon/types.d.ts +16 -13
- package/dist/vro-el-icon/types.js +8 -1
- package/dist/vro-el-icon/vro-el-icon.vue.d.ts +18 -27
- package/dist/vro-el-icon/vro-el-icon.vue.js +27 -23
- package/dist/vro-el-image/index.d.ts +10 -4
- package/dist/vro-el-image/style/css.js +4 -0
- package/dist/vro-el-image/style/index.css +1 -0
- package/dist/vro-el-image/style/index.js +4 -0
- package/dist/vro-el-image/types.d.ts +35 -0
- package/dist/vro-el-image/types.js +24 -1
- package/dist/vro-el-image/utils.d.ts +1 -1
- package/dist/vro-el-image/vro-el-image.vue.d.ts +7 -2
- package/dist/vro-el-image/vro-el-image.vue.js +55 -24
- package/dist/vro-el-image-upload/index.d.ts +1 -1
- package/dist/vro-el-image-upload/style/css.js +4 -0
- package/dist/vro-el-image-upload/style/index.css +1 -1
- package/dist/vro-el-image-upload/style/index.js +4 -0
- package/dist/vro-el-image-upload/types.d.ts +24 -7
- package/dist/vro-el-image-upload/types.js +21 -7
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +1 -1
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +82 -68
- package/dist/vro-el-radio-group/index.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +12 -12
- package/dist/vro-el-schema-filter/index.d.ts +27 -31
- package/dist/vro-el-schema-filter/style/css.js +5 -0
- package/dist/vro-el-schema-filter/style/index.css +1 -1
- package/dist/vro-el-schema-filter/style/index.js +5 -0
- package/dist/vro-el-schema-filter/types.d.ts +17 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +38 -43
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +63 -44
- package/dist/vro-el-schema-form/index.d.ts +16 -18
- package/dist/vro-el-schema-form/style/css.js +5 -0
- package/dist/vro-el-schema-form/style/index.css +1 -1
- package/dist/vro-el-schema-form/style/index.js +5 -0
- package/dist/vro-el-schema-form/types.d.ts +65 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +33 -37
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +13 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +11 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +79 -79
- package/dist/vro-el-schema-form-dialog/function-call.js +10 -7
- package/dist/vro-el-schema-form-dialog/index.d.ts +111 -142
- package/dist/vro-el-schema-form-dialog/style/css.js +5 -0
- package/dist/vro-el-schema-form-dialog/style/index.css +1 -1
- package/dist/vro-el-schema-form-dialog/style/index.js +5 -0
- package/dist/vro-el-schema-form-dialog/types.d.ts +25 -16
- package/dist/vro-el-schema-form-dialog/types.js +6 -11
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +92 -113
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +83 -87
- package/dist/vro-el-schema-form-drawer/function-call.d.ts +4 -0
- package/dist/vro-el-schema-form-drawer/function-call.js +20 -0
- package/dist/vro-el-schema-form-drawer/index.d.ts +2207 -0
- package/dist/vro-el-schema-form-drawer/index.js +16 -0
- package/dist/vro-el-schema-form-drawer/injection.d.ts +9 -0
- package/dist/vro-el-schema-form-drawer/injection.js +9 -0
- package/dist/vro-el-schema-form-drawer/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/css.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/deps.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/index.css +1 -0
- package/dist/vro-el-schema-form-drawer/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/index.js +48 -0
- package/dist/vro-el-schema-form-drawer/types.d.ts +110 -0
- package/dist/vro-el-schema-form-drawer/types.js +75 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.d.ts +14 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js +18 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +1832 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.js +134 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue2.js +4 -0
- package/dist/vro-el-select/index.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.js +11 -11
- package/dist/vro-el-skeleton/index.d.ts +9 -73
- package/dist/vro-el-skeleton/style/index.css +1 -1
- package/dist/vro-el-skeleton/types.d.ts +32 -24
- package/dist/vro-el-skeleton/types.js +3 -23
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +7 -48
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +48 -46
- package/dist/vro-el-table/createUseVroElTable.d.ts +9 -0
- package/dist/vro-el-table/createUseVroElTable.js +7 -0
- package/dist/vro-el-table/index.js +13 -0
- package/dist/vro-el-table/style/css.d.ts +0 -0
- package/dist/vro-el-table/style/css.js +29 -0
- package/dist/vro-el-table/style/deps.d.ts +0 -0
- package/dist/vro-el-table/style/deps.js +28 -0
- package/dist/vro-el-table/style/index.css +1 -0
- package/dist/vro-el-table/style/index.d.ts +0 -0
- package/dist/vro-el-table/style/index.js +57 -0
- package/dist/vro-el-table/types.d.ts +97 -0
- package/dist/vro-el-table/types.js +66 -0
- package/dist/vro-el-table/useVroElTable.d.ts +43 -0
- package/dist/vro-el-table/useVroElTable.js +47 -0
- package/dist/vro-el-table/vro-el-table.vue.js +94 -0
- package/dist/vro-el-table/vro-el-table.vue2.js +4 -0
- package/dist/vro-el-table-actions-column/index.d.ts +269 -0
- package/dist/vro-el-table-actions-column/index.js +9 -0
- package/dist/vro-el-table-actions-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/css.js +4 -0
- package/dist/vro-el-table-actions-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/deps.js +5 -0
- package/dist/vro-el-table-actions-column/style/index.css +1 -0
- package/dist/vro-el-table-actions-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/index.js +9 -0
- package/dist/vro-el-table-actions-column/types.d.ts +139 -0
- package/dist/vro-el-table-actions-column/types.js +37 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +167 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.js +101 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue2.js +4 -0
- package/dist/vro-el-table-column/index.d.ts +257 -0
- package/dist/vro-el-table-column/index.js +9 -0
- package/dist/vro-el-table-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-column/style/css.js +6 -0
- package/dist/vro-el-table-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column/style/deps.js +1 -0
- package/dist/vro-el-table-column/style/index.css +1 -0
- package/dist/vro-el-table-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-column/style/index.js +7 -0
- package/dist/vro-el-table-column/types.d.ts +141 -0
- package/dist/vro-el-table-column/types.js +43 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +161 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.js +66 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue2.js +4 -0
- package/dist/vro-el-table-column-group/index.d.ts +23 -0
- package/dist/vro-el-table-column-group/index.js +13 -0
- package/dist/vro-el-table-column-group/style/css.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/css.js +9 -0
- package/dist/vro-el-table-column-group/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/deps.js +5 -0
- package/dist/vro-el-table-column-group/style/index.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/index.js +14 -0
- package/dist/vro-el-table-column-group/types.d.ts +87 -0
- package/dist/vro-el-table-column-group/types.js +12 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.d.ts +2 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.js +10 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.d.ts +14 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.js +29 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue2.js +4 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.d.ts +2 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.js +9 -0
- package/dist/vro-el-tags/index.d.ts +234 -187
- package/dist/vro-el-tags/style/css.js +1 -0
- package/dist/vro-el-tags/style/index.css +1 -0
- package/dist/vro-el-tags/style/index.js +1 -0
- package/dist/vro-el-tags/types.d.ts +37 -1
- package/dist/vro-el-tags/types.js +17 -1
- package/dist/vro-el-tags/vro-el-tags.vue.d.ts +219 -8
- package/dist/vro-el-tags/vro-el-tags.vue.js +55 -45
- package/dist/vro-el-tree/index.d.ts +3235 -32
- package/dist/vro-el-tree/style/index.css +1 -1
- package/dist/vro-el-tree/types.d.ts +124 -5
- package/dist/vro-el-tree/types.js +12 -6
- package/dist/vro-el-tree/vro-el-tree.vue.d.ts +6020 -20
- package/dist/vro-el-tree/vro-el-tree.vue.js +54 -36
- package/package.json +6 -6
|
@@ -10,13 +10,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
10
10
|
default: () => {};
|
|
11
11
|
};
|
|
12
12
|
request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
|
|
13
|
-
|
|
14
|
-
type: import('vue').PropType<
|
|
15
|
-
default:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
13
|
+
formProps: {
|
|
14
|
+
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
15
|
+
default: () => {
|
|
16
|
+
labelPosition: string;
|
|
17
|
+
};
|
|
20
18
|
};
|
|
21
19
|
showCancelButton: {
|
|
22
20
|
type: BooleanConstructor;
|
|
@@ -28,10 +26,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
28
26
|
};
|
|
29
27
|
cancelButtonText: StringConstructor;
|
|
30
28
|
confirmButtonText: StringConstructor;
|
|
31
|
-
formProps: {
|
|
32
|
-
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
33
|
-
default: () => {};
|
|
34
|
-
};
|
|
35
29
|
rowProps: {
|
|
36
30
|
type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
|
|
37
31
|
default: () => {};
|
|
@@ -49,13 +43,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
49
43
|
default: () => {};
|
|
50
44
|
};
|
|
51
45
|
}>> & Readonly<{
|
|
52
|
-
onCancel?: ((
|
|
53
|
-
onConfirm?: ((
|
|
54
|
-
onClosed?: ((
|
|
55
|
-
"onChange-field"?: ((
|
|
56
|
-
"onInput-field"?: ((
|
|
46
|
+
onCancel?: ((reason?: any) => any) | undefined;
|
|
47
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
48
|
+
onClosed?: (() => any) | undefined;
|
|
49
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
50
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
57
51
|
}>, {
|
|
58
|
-
|
|
52
|
+
elDialog: import('element-plus').DialogInstance;
|
|
53
|
+
vroElSchemaForm: {
|
|
59
54
|
$: import('vue').ComponentInternalInstance;
|
|
60
55
|
$data: {};
|
|
61
56
|
$props: Partial<{
|
|
@@ -70,8 +65,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
70
65
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
71
66
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
72
67
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
73
|
-
readonly "onChange-field"?: ((
|
|
74
|
-
readonly "onInput-field"?: ((
|
|
68
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
69
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
75
70
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
76
71
|
$attrs: {
|
|
77
72
|
[x: string]: unknown;
|
|
@@ -79,7 +74,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
79
74
|
$refs: {
|
|
80
75
|
[x: string]: unknown;
|
|
81
76
|
} & {
|
|
82
|
-
|
|
77
|
+
formRef: ({
|
|
83
78
|
$: import('vue').ComponentInternalInstance;
|
|
84
79
|
$data: {};
|
|
85
80
|
$props: {
|
|
@@ -180,7 +175,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
180
175
|
default?: (props: {}) => any;
|
|
181
176
|
};
|
|
182
177
|
}) | null;
|
|
183
|
-
|
|
178
|
+
componentRefs: unknown;
|
|
184
179
|
};
|
|
185
180
|
$slots: Readonly<{
|
|
186
181
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -188,7 +183,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
188
183
|
$root: import('vue').ComponentPublicInstance | null;
|
|
189
184
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
190
185
|
$host: Element | null;
|
|
191
|
-
$emit: ((event: "change-field",
|
|
186
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
192
187
|
$el: any;
|
|
193
188
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
194
189
|
formProps: {
|
|
@@ -212,10 +207,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
212
207
|
default: () => {};
|
|
213
208
|
};
|
|
214
209
|
}>> & Readonly<{
|
|
215
|
-
"onChange-field"?: ((
|
|
216
|
-
"onInput-field"?: ((
|
|
210
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
211
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
217
212
|
}>, {
|
|
218
|
-
|
|
213
|
+
elForm: {
|
|
219
214
|
$: import('vue').ComponentInternalInstance;
|
|
220
215
|
$data: {};
|
|
221
216
|
$props: {
|
|
@@ -326,8 +321,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
326
321
|
extractValues: () => Promise<Record<string, any>>;
|
|
327
322
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
328
323
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
329
|
-
"change-field": (
|
|
330
|
-
"input-field": (
|
|
324
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
325
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
331
326
|
}, string, {
|
|
332
327
|
colProps: Partial<import('element-plus').ColProps>;
|
|
333
328
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -382,10 +377,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
382
377
|
default: () => {};
|
|
383
378
|
};
|
|
384
379
|
}>> & Readonly<{
|
|
385
|
-
"onChange-field"?: ((
|
|
386
|
-
"onInput-field"?: ((
|
|
387
|
-
}>, "
|
|
388
|
-
|
|
380
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
381
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
382
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
383
|
+
elForm: {
|
|
389
384
|
$: import('vue').ComponentInternalInstance;
|
|
390
385
|
$data: {};
|
|
391
386
|
$props: {
|
|
@@ -496,31 +491,27 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
496
491
|
extractValues: () => Promise<Record<string, any>>;
|
|
497
492
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
498
493
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
499
|
-
$slots:
|
|
500
|
-
default?(_: {}): any;
|
|
501
|
-
};
|
|
494
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
502
495
|
};
|
|
503
496
|
show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
|
|
504
497
|
hide: (reason?: any) => Promise<void>;
|
|
505
498
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
506
|
-
cancel: (
|
|
507
|
-
confirm: (
|
|
508
|
-
closed: (
|
|
509
|
-
"change-field": (
|
|
510
|
-
"input-field": (
|
|
499
|
+
cancel: (reason?: any) => any;
|
|
500
|
+
confirm: (data: any) => any;
|
|
501
|
+
closed: () => any;
|
|
502
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
503
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
511
504
|
}, import('vue').PublicProps, {
|
|
512
505
|
style: import('vue').CSSProperties;
|
|
513
506
|
colProps: Partial<import('element-plus').ColProps>;
|
|
514
507
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
515
|
-
labelPosition: "top" | "right" | "left";
|
|
516
|
-
labelWidth: string;
|
|
517
508
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
518
509
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
519
510
|
schema: import('..').VroElSchemaFormSchema;
|
|
520
511
|
showCancelButton: boolean;
|
|
521
512
|
showConfirmButton: boolean;
|
|
522
513
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
523
|
-
|
|
514
|
+
dialogRef: ({
|
|
524
515
|
$: import('vue').ComponentInternalInstance;
|
|
525
516
|
$data: {};
|
|
526
517
|
$props: {
|
|
@@ -575,7 +566,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
575
566
|
$root: import('vue').ComponentPublicInstance | null;
|
|
576
567
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
577
568
|
$host: Element | null;
|
|
578
|
-
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "
|
|
569
|
+
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
|
|
579
570
|
$el: any;
|
|
580
571
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DialogProps> & Readonly<{
|
|
581
572
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -658,7 +649,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
658
649
|
onClosed?: (() => any) | undefined;
|
|
659
650
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
660
651
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
661
|
-
}>, "title" | "ariaLevel" | "
|
|
652
|
+
}>, "title" | "ariaLevel" | "visible" | "appendTo" | "transition" | "closeOnPressEscape" | "draggable" | "handleClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "overflow" | "showClose" | "dialogContentRef" | "resetPosition"> & import('vue').ShallowUnwrapRef<{
|
|
662
653
|
visible: import('vue').Ref<boolean, boolean>;
|
|
663
654
|
dialogContentRef: import('vue').Ref<any, any>;
|
|
664
655
|
resetPosition: () => void;
|
|
@@ -678,7 +669,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
678
669
|
footer?: (props: {}) => any;
|
|
679
670
|
};
|
|
680
671
|
}) | null;
|
|
681
|
-
|
|
672
|
+
schemaFormRef: ({
|
|
682
673
|
$: import('vue').ComponentInternalInstance;
|
|
683
674
|
$data: {};
|
|
684
675
|
$props: Partial<{
|
|
@@ -693,8 +684,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
693
684
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
694
685
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
695
686
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
696
|
-
readonly "onChange-field"?: ((
|
|
697
|
-
readonly "onInput-field"?: ((
|
|
687
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
688
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
698
689
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
699
690
|
$attrs: {
|
|
700
691
|
[x: string]: unknown;
|
|
@@ -702,7 +693,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
702
693
|
$refs: {
|
|
703
694
|
[x: string]: unknown;
|
|
704
695
|
} & {
|
|
705
|
-
|
|
696
|
+
formRef: ({
|
|
706
697
|
$: import('vue').ComponentInternalInstance;
|
|
707
698
|
$data: {};
|
|
708
699
|
$props: {
|
|
@@ -803,7 +794,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
803
794
|
default?: (props: {}) => any;
|
|
804
795
|
};
|
|
805
796
|
}) | null;
|
|
806
|
-
|
|
797
|
+
componentRefs: unknown;
|
|
807
798
|
};
|
|
808
799
|
$slots: Readonly<{
|
|
809
800
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -811,7 +802,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
811
802
|
$root: import('vue').ComponentPublicInstance | null;
|
|
812
803
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
813
804
|
$host: Element | null;
|
|
814
|
-
$emit: ((event: "change-field",
|
|
805
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
815
806
|
$el: any;
|
|
816
807
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
817
808
|
formProps: {
|
|
@@ -835,10 +826,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
835
826
|
default: () => {};
|
|
836
827
|
};
|
|
837
828
|
}>> & Readonly<{
|
|
838
|
-
"onChange-field"?: ((
|
|
839
|
-
"onInput-field"?: ((
|
|
829
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
830
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
840
831
|
}>, {
|
|
841
|
-
|
|
832
|
+
elForm: {
|
|
842
833
|
$: import('vue').ComponentInternalInstance;
|
|
843
834
|
$data: {};
|
|
844
835
|
$props: {
|
|
@@ -949,8 +940,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
949
940
|
extractValues: () => Promise<Record<string, any>>;
|
|
950
941
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
951
942
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
952
|
-
"change-field": (
|
|
953
|
-
"input-field": (
|
|
943
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
944
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
954
945
|
}, string, {
|
|
955
946
|
colProps: Partial<import('element-plus').ColProps>;
|
|
956
947
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -1005,10 +996,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1005
996
|
default: () => {};
|
|
1006
997
|
};
|
|
1007
998
|
}>> & Readonly<{
|
|
1008
|
-
"onChange-field"?: ((
|
|
1009
|
-
"onInput-field"?: ((
|
|
1010
|
-
}>, "
|
|
1011
|
-
|
|
999
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1000
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1001
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
1002
|
+
elForm: {
|
|
1012
1003
|
$: import('vue').ComponentInternalInstance;
|
|
1013
1004
|
$data: {};
|
|
1014
1005
|
$props: {
|
|
@@ -1119,9 +1110,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1119
1110
|
extractValues: () => Promise<Record<string, any>>;
|
|
1120
1111
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1121
1112
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1122
|
-
$slots:
|
|
1123
|
-
default?(_: {}): any;
|
|
1124
|
-
};
|
|
1113
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
1125
1114
|
}) | null;
|
|
1126
1115
|
}, any, import('vue').ComponentProvideOptions, {
|
|
1127
1116
|
P: {};
|
|
@@ -1137,13 +1126,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1137
1126
|
default: () => {};
|
|
1138
1127
|
};
|
|
1139
1128
|
request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
|
|
1140
|
-
|
|
1141
|
-
type: import('vue').PropType<
|
|
1142
|
-
default:
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
type: StringConstructor;
|
|
1146
|
-
default: string;
|
|
1129
|
+
formProps: {
|
|
1130
|
+
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1131
|
+
default: () => {
|
|
1132
|
+
labelPosition: string;
|
|
1133
|
+
};
|
|
1147
1134
|
};
|
|
1148
1135
|
showCancelButton: {
|
|
1149
1136
|
type: BooleanConstructor;
|
|
@@ -1155,10 +1142,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1155
1142
|
};
|
|
1156
1143
|
cancelButtonText: StringConstructor;
|
|
1157
1144
|
confirmButtonText: StringConstructor;
|
|
1158
|
-
formProps: {
|
|
1159
|
-
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1160
|
-
default: () => {};
|
|
1161
|
-
};
|
|
1162
1145
|
rowProps: {
|
|
1163
1146
|
type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
|
|
1164
1147
|
default: () => {};
|
|
@@ -1176,13 +1159,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1176
1159
|
default: () => {};
|
|
1177
1160
|
};
|
|
1178
1161
|
}>> & Readonly<{
|
|
1179
|
-
onCancel?: ((
|
|
1180
|
-
onConfirm?: ((
|
|
1181
|
-
onClosed?: ((
|
|
1182
|
-
"onChange-field"?: ((
|
|
1183
|
-
"onInput-field"?: ((
|
|
1162
|
+
onCancel?: ((reason?: any) => any) | undefined;
|
|
1163
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
1164
|
+
onClosed?: (() => any) | undefined;
|
|
1165
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1166
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1184
1167
|
}>, {
|
|
1185
|
-
|
|
1168
|
+
elDialog: import('element-plus').DialogInstance;
|
|
1169
|
+
vroElSchemaForm: {
|
|
1186
1170
|
$: import('vue').ComponentInternalInstance;
|
|
1187
1171
|
$data: {};
|
|
1188
1172
|
$props: Partial<{
|
|
@@ -1197,8 +1181,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1197
1181
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1198
1182
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
1199
1183
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
1200
|
-
readonly "onChange-field"?: ((
|
|
1201
|
-
readonly "onInput-field"?: ((
|
|
1184
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1185
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1202
1186
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
1203
1187
|
$attrs: {
|
|
1204
1188
|
[x: string]: unknown;
|
|
@@ -1206,7 +1190,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1206
1190
|
$refs: {
|
|
1207
1191
|
[x: string]: unknown;
|
|
1208
1192
|
} & {
|
|
1209
|
-
|
|
1193
|
+
formRef: ({
|
|
1210
1194
|
$: import('vue').ComponentInternalInstance;
|
|
1211
1195
|
$data: {};
|
|
1212
1196
|
$props: {
|
|
@@ -1307,7 +1291,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1307
1291
|
default?: (props: {}) => any;
|
|
1308
1292
|
};
|
|
1309
1293
|
}) | null;
|
|
1310
|
-
|
|
1294
|
+
componentRefs: unknown;
|
|
1311
1295
|
};
|
|
1312
1296
|
$slots: Readonly<{
|
|
1313
1297
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -1315,7 +1299,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1315
1299
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1316
1300
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1317
1301
|
$host: Element | null;
|
|
1318
|
-
$emit: ((event: "change-field",
|
|
1302
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
1319
1303
|
$el: any;
|
|
1320
1304
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1321
1305
|
formProps: {
|
|
@@ -1339,10 +1323,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1339
1323
|
default: () => {};
|
|
1340
1324
|
};
|
|
1341
1325
|
}>> & Readonly<{
|
|
1342
|
-
"onChange-field"?: ((
|
|
1343
|
-
"onInput-field"?: ((
|
|
1326
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1327
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1344
1328
|
}>, {
|
|
1345
|
-
|
|
1329
|
+
elForm: {
|
|
1346
1330
|
$: import('vue').ComponentInternalInstance;
|
|
1347
1331
|
$data: {};
|
|
1348
1332
|
$props: {
|
|
@@ -1453,8 +1437,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1453
1437
|
extractValues: () => Promise<Record<string, any>>;
|
|
1454
1438
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1455
1439
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1456
|
-
"change-field": (
|
|
1457
|
-
"input-field": (
|
|
1440
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1441
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1458
1442
|
}, string, {
|
|
1459
1443
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1460
1444
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -1509,10 +1493,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1509
1493
|
default: () => {};
|
|
1510
1494
|
};
|
|
1511
1495
|
}>> & Readonly<{
|
|
1512
|
-
"onChange-field"?: ((
|
|
1513
|
-
"onInput-field"?: ((
|
|
1514
|
-
}>, "
|
|
1515
|
-
|
|
1496
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1497
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1498
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
1499
|
+
elForm: {
|
|
1516
1500
|
$: import('vue').ComponentInternalInstance;
|
|
1517
1501
|
$data: {};
|
|
1518
1502
|
$props: {
|
|
@@ -1623,9 +1607,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1623
1607
|
extractValues: () => Promise<Record<string, any>>;
|
|
1624
1608
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1625
1609
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1626
|
-
$slots:
|
|
1627
|
-
default?(_: {}): any;
|
|
1628
|
-
};
|
|
1610
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
1629
1611
|
};
|
|
1630
1612
|
show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
|
|
1631
1613
|
hide: (reason?: any) => Promise<void>;
|
|
@@ -1633,8 +1615,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1633
1615
|
style: import('vue').CSSProperties;
|
|
1634
1616
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1635
1617
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1636
|
-
labelPosition: "top" | "right" | "left";
|
|
1637
|
-
labelWidth: string;
|
|
1638
1618
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1639
1619
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1640
1620
|
schema: import('..').VroElSchemaFormSchema;
|
|
@@ -1651,13 +1631,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1651
1631
|
default: () => {};
|
|
1652
1632
|
};
|
|
1653
1633
|
request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
|
|
1654
|
-
|
|
1655
|
-
type: import('vue').PropType<
|
|
1656
|
-
default:
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
type: StringConstructor;
|
|
1660
|
-
default: string;
|
|
1634
|
+
formProps: {
|
|
1635
|
+
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1636
|
+
default: () => {
|
|
1637
|
+
labelPosition: string;
|
|
1638
|
+
};
|
|
1661
1639
|
};
|
|
1662
1640
|
showCancelButton: {
|
|
1663
1641
|
type: BooleanConstructor;
|
|
@@ -1669,10 +1647,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1669
1647
|
};
|
|
1670
1648
|
cancelButtonText: StringConstructor;
|
|
1671
1649
|
confirmButtonText: StringConstructor;
|
|
1672
|
-
formProps: {
|
|
1673
|
-
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1674
|
-
default: () => {};
|
|
1675
|
-
};
|
|
1676
1650
|
rowProps: {
|
|
1677
1651
|
type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
|
|
1678
1652
|
default: () => {};
|
|
@@ -1690,13 +1664,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1690
1664
|
default: () => {};
|
|
1691
1665
|
};
|
|
1692
1666
|
}>> & Readonly<{
|
|
1693
|
-
onCancel?: ((
|
|
1694
|
-
onConfirm?: ((
|
|
1695
|
-
onClosed?: ((
|
|
1696
|
-
"onChange-field"?: ((
|
|
1697
|
-
"onInput-field"?: ((
|
|
1667
|
+
onCancel?: ((reason?: any) => any) | undefined;
|
|
1668
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
1669
|
+
onClosed?: (() => any) | undefined;
|
|
1670
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1671
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1698
1672
|
}>, {
|
|
1699
|
-
|
|
1673
|
+
elDialog: import('element-plus').DialogInstance;
|
|
1674
|
+
vroElSchemaForm: {
|
|
1700
1675
|
$: import('vue').ComponentInternalInstance;
|
|
1701
1676
|
$data: {};
|
|
1702
1677
|
$props: Partial<{
|
|
@@ -1711,8 +1686,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1711
1686
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1712
1687
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
1713
1688
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
1714
|
-
readonly "onChange-field"?: ((
|
|
1715
|
-
readonly "onInput-field"?: ((
|
|
1689
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1690
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1716
1691
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
1717
1692
|
$attrs: {
|
|
1718
1693
|
[x: string]: unknown;
|
|
@@ -1720,7 +1695,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1720
1695
|
$refs: {
|
|
1721
1696
|
[x: string]: unknown;
|
|
1722
1697
|
} & {
|
|
1723
|
-
|
|
1698
|
+
formRef: ({
|
|
1724
1699
|
$: import('vue').ComponentInternalInstance;
|
|
1725
1700
|
$data: {};
|
|
1726
1701
|
$props: {
|
|
@@ -1821,7 +1796,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1821
1796
|
default?: (props: {}) => any;
|
|
1822
1797
|
};
|
|
1823
1798
|
}) | null;
|
|
1824
|
-
|
|
1799
|
+
componentRefs: unknown;
|
|
1825
1800
|
};
|
|
1826
1801
|
$slots: Readonly<{
|
|
1827
1802
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -1829,7 +1804,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1829
1804
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1830
1805
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1831
1806
|
$host: Element | null;
|
|
1832
|
-
$emit: ((event: "change-field",
|
|
1807
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
1833
1808
|
$el: any;
|
|
1834
1809
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1835
1810
|
formProps: {
|
|
@@ -1853,10 +1828,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1853
1828
|
default: () => {};
|
|
1854
1829
|
};
|
|
1855
1830
|
}>> & Readonly<{
|
|
1856
|
-
"onChange-field"?: ((
|
|
1857
|
-
"onInput-field"?: ((
|
|
1831
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1832
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1858
1833
|
}>, {
|
|
1859
|
-
|
|
1834
|
+
elForm: {
|
|
1860
1835
|
$: import('vue').ComponentInternalInstance;
|
|
1861
1836
|
$data: {};
|
|
1862
1837
|
$props: {
|
|
@@ -1967,8 +1942,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
1967
1942
|
extractValues: () => Promise<Record<string, any>>;
|
|
1968
1943
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1969
1944
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1970
|
-
"change-field": (
|
|
1971
|
-
"input-field": (
|
|
1945
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1946
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1972
1947
|
}, string, {
|
|
1973
1948
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1974
1949
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -2023,10 +1998,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
2023
1998
|
default: () => {};
|
|
2024
1999
|
};
|
|
2025
2000
|
}>> & Readonly<{
|
|
2026
|
-
"onChange-field"?: ((
|
|
2027
|
-
"onInput-field"?: ((
|
|
2028
|
-
}>, "
|
|
2029
|
-
|
|
2001
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
2002
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
2003
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
2004
|
+
elForm: {
|
|
2030
2005
|
$: import('vue').ComponentInternalInstance;
|
|
2031
2006
|
$data: {};
|
|
2032
2007
|
$props: {
|
|
@@ -2137,33 +2112,27 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
|
|
|
2137
2112
|
extractValues: () => Promise<Record<string, any>>;
|
|
2138
2113
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
2139
2114
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
2140
|
-
$slots:
|
|
2141
|
-
default?(_: {}): any;
|
|
2142
|
-
};
|
|
2115
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
2143
2116
|
};
|
|
2144
2117
|
show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
|
|
2145
2118
|
hide: (reason?: any) => Promise<void>;
|
|
2146
2119
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2147
|
-
cancel: (
|
|
2148
|
-
confirm: (
|
|
2149
|
-
closed: (
|
|
2150
|
-
"change-field": (
|
|
2151
|
-
"input-field": (
|
|
2120
|
+
cancel: (reason?: any) => any;
|
|
2121
|
+
confirm: (data: any) => any;
|
|
2122
|
+
closed: () => any;
|
|
2123
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
2124
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
2152
2125
|
}, string, {
|
|
2153
2126
|
style: import('vue').CSSProperties;
|
|
2154
2127
|
colProps: Partial<import('element-plus').ColProps>;
|
|
2155
2128
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
2156
|
-
labelPosition: "top" | "right" | "left";
|
|
2157
|
-
labelWidth: string;
|
|
2158
2129
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
2159
2130
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
2160
2131
|
schema: import('..').VroElSchemaFormSchema;
|
|
2161
2132
|
showCancelButton: boolean;
|
|
2162
2133
|
showConfirmButton: boolean;
|
|
2163
2134
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
2164
|
-
$slots:
|
|
2165
|
-
default?(_: {}): any;
|
|
2166
|
-
};
|
|
2135
|
+
$slots: Readonly<import('./types').VroElSchemaFormDialogSlots> & import('./types').VroElSchemaFormDialogSlots;
|
|
2167
2136
|
})>;
|
|
2168
2137
|
export default VroElSchemaFormDialog;
|
|
2169
2138
|
export type VroElSchemaFormDialogInstance = InstanceType<typeof VroElSchemaFormDialog>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import '../../style/base.css';
|
|
2
2
|
import '../../vro-el-file-upload/style/index.css';
|
|
3
3
|
import '../../vro-el-image-upload/style/index.css';
|
|
4
|
+
import '../../vro-el-image/style/index.css';
|
|
4
5
|
import './index.css';
|
|
5
6
|
import '../../vro-el-schema-form/style/index.css';
|
|
7
|
+
import '../../vro-el-tags/style/index.css';
|
|
6
8
|
import '../../vro-el-tree/style/index.css';
|
|
7
9
|
/* empty css */
|
|
8
10
|
/* empty css */
|
|
9
11
|
/* empty css */
|
|
12
|
+
import "@vrojs/base/src/vro-loading/style/css";
|
|
13
|
+
import "@vrojs/base/src/vro-icon/style/css";
|
|
14
|
+
/* empty css */
|
|
10
15
|
/* empty css */
|
|
11
16
|
/* empty css */
|
|
12
17
|
/* empty css */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vro-el-schema-form-dialog{--el-dialog-width:
|
|
1
|
+
:root,:host{--vro-el-schema-form-dialog-width: 520px}.vro-el-schema-form-dialog{--el-dialog-width: var(--vro-el-schema-form-dialog-width);width:var(--el-dialog-width)}
|