@vrojs/element-plus 0.0.7 → 0.0.9
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 +66 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +39 -40
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +15 -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 +7 -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 +44 -0
- package/dist/vro-el-table/useVroElTable.js +49 -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
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { VroElSchemaFormDialogProps } from './types';
|
|
1
|
+
import { DialogInstance } from 'element-plus';
|
|
2
|
+
import { VroElSchemaFormDialogProps, VroElSchemaFormDialogSlots } from './types';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
|
-
slots:
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
5
|
+
slots: Readonly<VroElSchemaFormDialogSlots> & VroElSchemaFormDialogSlots;
|
|
8
6
|
refs: {
|
|
9
|
-
|
|
7
|
+
dialogRef: ({
|
|
10
8
|
$: import('vue').ComponentInternalInstance;
|
|
11
9
|
$data: {};
|
|
12
10
|
$props: {
|
|
@@ -61,7 +59,7 @@ declare function __VLS_template(): {
|
|
|
61
59
|
$root: import('vue').ComponentPublicInstance | null;
|
|
62
60
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
63
61
|
$host: Element | null;
|
|
64
|
-
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "
|
|
62
|
+
$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);
|
|
65
63
|
$el: any;
|
|
66
64
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DialogProps> & Readonly<{
|
|
67
65
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -118,7 +116,7 @@ declare function __VLS_template(): {
|
|
|
118
116
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
119
117
|
};
|
|
120
118
|
$forceUpdate: () => void;
|
|
121
|
-
$nextTick: typeof nextTick;
|
|
119
|
+
$nextTick: typeof import('vue').nextTick;
|
|
122
120
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
123
121
|
} & Readonly<{
|
|
124
122
|
title: string;
|
|
@@ -144,7 +142,7 @@ declare function __VLS_template(): {
|
|
|
144
142
|
onClosed?: (() => any) | undefined;
|
|
145
143
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
146
144
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
147
|
-
}>, "title" | "ariaLevel" | "
|
|
145
|
+
}>, "title" | "ariaLevel" | "visible" | "appendTo" | "transition" | "closeOnPressEscape" | "draggable" | "handleClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "overflow" | "showClose" | "dialogContentRef" | "resetPosition"> & import('vue').ShallowUnwrapRef<{
|
|
148
146
|
visible: import('vue').Ref<boolean, boolean>;
|
|
149
147
|
dialogContentRef: import('vue').Ref<any, any>;
|
|
150
148
|
resetPosition: () => void;
|
|
@@ -164,7 +162,7 @@ declare function __VLS_template(): {
|
|
|
164
162
|
footer?: (props: {}) => any;
|
|
165
163
|
};
|
|
166
164
|
}) | null;
|
|
167
|
-
|
|
165
|
+
schemaFormRef: ({
|
|
168
166
|
$: import('vue').ComponentInternalInstance;
|
|
169
167
|
$data: {};
|
|
170
168
|
$props: Partial<{
|
|
@@ -179,8 +177,8 @@ declare function __VLS_template(): {
|
|
|
179
177
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
180
178
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
181
179
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
182
|
-
readonly "onChange-field"?: ((
|
|
183
|
-
readonly "onInput-field"?: ((
|
|
180
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
181
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
184
182
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
185
183
|
$attrs: {
|
|
186
184
|
[x: string]: unknown;
|
|
@@ -188,7 +186,7 @@ declare function __VLS_template(): {
|
|
|
188
186
|
$refs: {
|
|
189
187
|
[x: string]: unknown;
|
|
190
188
|
} & {
|
|
191
|
-
|
|
189
|
+
formRef: ({
|
|
192
190
|
$: import('vue').ComponentInternalInstance;
|
|
193
191
|
$data: {};
|
|
194
192
|
$props: {
|
|
@@ -263,7 +261,7 @@ declare function __VLS_template(): {
|
|
|
263
261
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
264
262
|
};
|
|
265
263
|
$forceUpdate: () => void;
|
|
266
|
-
$nextTick: typeof nextTick;
|
|
264
|
+
$nextTick: typeof import('vue').nextTick;
|
|
267
265
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
268
266
|
} & Readonly<{
|
|
269
267
|
labelWidth: string | number;
|
|
@@ -289,7 +287,7 @@ declare function __VLS_template(): {
|
|
|
289
287
|
default?: (props: {}) => any;
|
|
290
288
|
};
|
|
291
289
|
}) | null;
|
|
292
|
-
|
|
290
|
+
componentRefs: unknown;
|
|
293
291
|
};
|
|
294
292
|
$slots: Readonly<{
|
|
295
293
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -297,7 +295,7 @@ declare function __VLS_template(): {
|
|
|
297
295
|
$root: import('vue').ComponentPublicInstance | null;
|
|
298
296
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
299
297
|
$host: Element | null;
|
|
300
|
-
$emit: ((event: "change-field",
|
|
298
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
301
299
|
$el: any;
|
|
302
300
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
303
301
|
formProps: {
|
|
@@ -321,10 +319,10 @@ declare function __VLS_template(): {
|
|
|
321
319
|
default: () => {};
|
|
322
320
|
};
|
|
323
321
|
}>> & Readonly<{
|
|
324
|
-
"onChange-field"?: ((
|
|
325
|
-
"onInput-field"?: ((
|
|
322
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
323
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
326
324
|
}>, {
|
|
327
|
-
|
|
325
|
+
elForm: {
|
|
328
326
|
$: import('vue').ComponentInternalInstance;
|
|
329
327
|
$data: {};
|
|
330
328
|
$props: {
|
|
@@ -399,7 +397,7 @@ declare function __VLS_template(): {
|
|
|
399
397
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
400
398
|
};
|
|
401
399
|
$forceUpdate: () => void;
|
|
402
|
-
$nextTick: typeof nextTick;
|
|
400
|
+
$nextTick: typeof import('vue').nextTick;
|
|
403
401
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
404
402
|
} & Readonly<{
|
|
405
403
|
labelWidth: string | number;
|
|
@@ -435,8 +433,8 @@ declare function __VLS_template(): {
|
|
|
435
433
|
extractValues: () => Promise<Record<string, any>>;
|
|
436
434
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
437
435
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
438
|
-
"change-field": (
|
|
439
|
-
"input-field": (
|
|
436
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
437
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
440
438
|
}, string, {
|
|
441
439
|
colProps: Partial<import('element-plus').ColProps>;
|
|
442
440
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -461,7 +459,7 @@ declare function __VLS_template(): {
|
|
|
461
459
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
462
460
|
};
|
|
463
461
|
$forceUpdate: () => void;
|
|
464
|
-
$nextTick: typeof nextTick;
|
|
462
|
+
$nextTick: typeof import('vue').nextTick;
|
|
465
463
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
466
464
|
} & Readonly<{
|
|
467
465
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -491,10 +489,10 @@ declare function __VLS_template(): {
|
|
|
491
489
|
default: () => {};
|
|
492
490
|
};
|
|
493
491
|
}>> & Readonly<{
|
|
494
|
-
"onChange-field"?: ((
|
|
495
|
-
"onInput-field"?: ((
|
|
496
|
-
}>, "
|
|
497
|
-
|
|
492
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
493
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
494
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
495
|
+
elForm: {
|
|
498
496
|
$: import('vue').ComponentInternalInstance;
|
|
499
497
|
$data: {};
|
|
500
498
|
$props: {
|
|
@@ -569,7 +567,7 @@ declare function __VLS_template(): {
|
|
|
569
567
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
570
568
|
};
|
|
571
569
|
$forceUpdate: () => void;
|
|
572
|
-
$nextTick: typeof nextTick;
|
|
570
|
+
$nextTick: typeof import('vue').nextTick;
|
|
573
571
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
574
572
|
} & Readonly<{
|
|
575
573
|
labelWidth: string | number;
|
|
@@ -605,9 +603,7 @@ declare function __VLS_template(): {
|
|
|
605
603
|
extractValues: () => Promise<Record<string, any>>;
|
|
606
604
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
607
605
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
608
|
-
$slots:
|
|
609
|
-
default?(_: {}): any;
|
|
610
|
-
};
|
|
606
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
611
607
|
}) | null;
|
|
612
608
|
};
|
|
613
609
|
rootEl: any;
|
|
@@ -620,13 +616,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
620
616
|
default: () => {};
|
|
621
617
|
};
|
|
622
618
|
request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
|
|
623
|
-
|
|
624
|
-
type: import('vue').PropType<
|
|
625
|
-
default:
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
type: StringConstructor;
|
|
629
|
-
default: string;
|
|
619
|
+
formProps: {
|
|
620
|
+
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
621
|
+
default: () => {
|
|
622
|
+
labelPosition: string;
|
|
623
|
+
};
|
|
630
624
|
};
|
|
631
625
|
showCancelButton: {
|
|
632
626
|
type: BooleanConstructor;
|
|
@@ -638,10 +632,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
638
632
|
};
|
|
639
633
|
cancelButtonText: StringConstructor;
|
|
640
634
|
confirmButtonText: StringConstructor;
|
|
641
|
-
formProps: {
|
|
642
|
-
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
643
|
-
default: () => {};
|
|
644
|
-
};
|
|
645
635
|
rowProps: {
|
|
646
636
|
type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
|
|
647
637
|
default: () => {};
|
|
@@ -659,7 +649,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
659
649
|
default: () => {};
|
|
660
650
|
};
|
|
661
651
|
}>, {
|
|
662
|
-
|
|
652
|
+
elDialog: DialogInstance;
|
|
653
|
+
vroElSchemaForm: {
|
|
663
654
|
$: import('vue').ComponentInternalInstance;
|
|
664
655
|
$data: {};
|
|
665
656
|
$props: Partial<{
|
|
@@ -674,8 +665,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
674
665
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
675
666
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
676
667
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
677
|
-
readonly "onChange-field"?: ((
|
|
678
|
-
readonly "onInput-field"?: ((
|
|
668
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
669
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
679
670
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
680
671
|
$attrs: {
|
|
681
672
|
[x: string]: unknown;
|
|
@@ -683,7 +674,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
683
674
|
$refs: {
|
|
684
675
|
[x: string]: unknown;
|
|
685
676
|
} & {
|
|
686
|
-
|
|
677
|
+
formRef: ({
|
|
687
678
|
$: import('vue').ComponentInternalInstance;
|
|
688
679
|
$data: {};
|
|
689
680
|
$props: {
|
|
@@ -758,7 +749,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
758
749
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
759
750
|
};
|
|
760
751
|
$forceUpdate: () => void;
|
|
761
|
-
$nextTick: typeof nextTick;
|
|
752
|
+
$nextTick: typeof import('vue').nextTick;
|
|
762
753
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
763
754
|
} & Readonly<{
|
|
764
755
|
labelWidth: string | number;
|
|
@@ -784,7 +775,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
784
775
|
default?: (props: {}) => any;
|
|
785
776
|
};
|
|
786
777
|
}) | null;
|
|
787
|
-
|
|
778
|
+
componentRefs: unknown;
|
|
788
779
|
};
|
|
789
780
|
$slots: Readonly<{
|
|
790
781
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -792,7 +783,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
792
783
|
$root: import('vue').ComponentPublicInstance | null;
|
|
793
784
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
794
785
|
$host: Element | null;
|
|
795
|
-
$emit: ((event: "change-field",
|
|
786
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
796
787
|
$el: any;
|
|
797
788
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
798
789
|
formProps: {
|
|
@@ -816,10 +807,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
816
807
|
default: () => {};
|
|
817
808
|
};
|
|
818
809
|
}>> & Readonly<{
|
|
819
|
-
"onChange-field"?: ((
|
|
820
|
-
"onInput-field"?: ((
|
|
810
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
811
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
821
812
|
}>, {
|
|
822
|
-
|
|
813
|
+
elForm: {
|
|
823
814
|
$: import('vue').ComponentInternalInstance;
|
|
824
815
|
$data: {};
|
|
825
816
|
$props: {
|
|
@@ -894,7 +885,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
894
885
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
895
886
|
};
|
|
896
887
|
$forceUpdate: () => void;
|
|
897
|
-
$nextTick: typeof nextTick;
|
|
888
|
+
$nextTick: typeof import('vue').nextTick;
|
|
898
889
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
899
890
|
} & Readonly<{
|
|
900
891
|
labelWidth: string | number;
|
|
@@ -930,8 +921,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
930
921
|
extractValues: () => Promise<Record<string, any>>;
|
|
931
922
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
932
923
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
933
|
-
"change-field": (
|
|
934
|
-
"input-field": (
|
|
924
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
925
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
935
926
|
}, string, {
|
|
936
927
|
colProps: Partial<import('element-plus').ColProps>;
|
|
937
928
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -956,7 +947,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
956
947
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
957
948
|
};
|
|
958
949
|
$forceUpdate: () => void;
|
|
959
|
-
$nextTick: typeof nextTick;
|
|
950
|
+
$nextTick: typeof import('vue').nextTick;
|
|
960
951
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
961
952
|
} & Readonly<{
|
|
962
953
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -986,10 +977,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
986
977
|
default: () => {};
|
|
987
978
|
};
|
|
988
979
|
}>> & Readonly<{
|
|
989
|
-
"onChange-field"?: ((
|
|
990
|
-
"onInput-field"?: ((
|
|
991
|
-
}>, "
|
|
992
|
-
|
|
980
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
981
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
982
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
983
|
+
elForm: {
|
|
993
984
|
$: import('vue').ComponentInternalInstance;
|
|
994
985
|
$data: {};
|
|
995
986
|
$props: {
|
|
@@ -1064,7 +1055,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1064
1055
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1065
1056
|
};
|
|
1066
1057
|
$forceUpdate: () => void;
|
|
1067
|
-
$nextTick: typeof nextTick;
|
|
1058
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1068
1059
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1069
1060
|
} & Readonly<{
|
|
1070
1061
|
labelWidth: string | number;
|
|
@@ -1100,18 +1091,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1100
1091
|
extractValues: () => Promise<Record<string, any>>;
|
|
1101
1092
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1102
1093
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1103
|
-
$slots:
|
|
1104
|
-
default?(_: {}): any;
|
|
1105
|
-
};
|
|
1094
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
1106
1095
|
};
|
|
1107
1096
|
show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
|
|
1108
1097
|
hide: (reason?: any) => Promise<void>;
|
|
1109
1098
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1110
|
-
cancel: (
|
|
1111
|
-
confirm: (
|
|
1112
|
-
closed: (
|
|
1113
|
-
"change-field": (
|
|
1114
|
-
"input-field": (
|
|
1099
|
+
cancel: (reason?: any) => any;
|
|
1100
|
+
confirm: (data: any) => any;
|
|
1101
|
+
closed: () => any;
|
|
1102
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1103
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1115
1104
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1116
1105
|
title: StringConstructor;
|
|
1117
1106
|
style: {
|
|
@@ -1119,13 +1108,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1119
1108
|
default: () => {};
|
|
1120
1109
|
};
|
|
1121
1110
|
request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
|
|
1122
|
-
|
|
1123
|
-
type: import('vue').PropType<
|
|
1124
|
-
default:
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
type: StringConstructor;
|
|
1128
|
-
default: string;
|
|
1111
|
+
formProps: {
|
|
1112
|
+
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1113
|
+
default: () => {
|
|
1114
|
+
labelPosition: string;
|
|
1115
|
+
};
|
|
1129
1116
|
};
|
|
1130
1117
|
showCancelButton: {
|
|
1131
1118
|
type: BooleanConstructor;
|
|
@@ -1137,10 +1124,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1137
1124
|
};
|
|
1138
1125
|
cancelButtonText: StringConstructor;
|
|
1139
1126
|
confirmButtonText: StringConstructor;
|
|
1140
|
-
formProps: {
|
|
1141
|
-
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
1142
|
-
default: () => {};
|
|
1143
|
-
};
|
|
1144
1127
|
rowProps: {
|
|
1145
1128
|
type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
|
|
1146
1129
|
default: () => {};
|
|
@@ -1158,24 +1141,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1158
1141
|
default: () => {};
|
|
1159
1142
|
};
|
|
1160
1143
|
}>> & Readonly<{
|
|
1161
|
-
onCancel?: ((
|
|
1162
|
-
onConfirm?: ((
|
|
1163
|
-
onClosed?: ((
|
|
1164
|
-
"onChange-field"?: ((
|
|
1165
|
-
"onInput-field"?: ((
|
|
1144
|
+
onCancel?: ((reason?: any) => any) | undefined;
|
|
1145
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
1146
|
+
onClosed?: (() => any) | undefined;
|
|
1147
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1148
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1166
1149
|
}>, {
|
|
1167
1150
|
style: import('vue').CSSProperties;
|
|
1168
1151
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1169
1152
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1170
|
-
labelPosition: "top" | "right" | "left";
|
|
1171
|
-
labelWidth: string;
|
|
1172
1153
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1173
1154
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1174
1155
|
schema: import('..').VroElSchemaFormSchema;
|
|
1175
1156
|
showCancelButton: boolean;
|
|
1176
1157
|
showConfirmButton: boolean;
|
|
1177
1158
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1178
|
-
|
|
1159
|
+
dialogRef: ({
|
|
1179
1160
|
$: import('vue').ComponentInternalInstance;
|
|
1180
1161
|
$data: {};
|
|
1181
1162
|
$props: {
|
|
@@ -1230,7 +1211,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1230
1211
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1231
1212
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1232
1213
|
$host: Element | null;
|
|
1233
|
-
$emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "
|
|
1214
|
+
$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);
|
|
1234
1215
|
$el: any;
|
|
1235
1216
|
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DialogProps> & Readonly<{
|
|
1236
1217
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1287,7 +1268,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1287
1268
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1288
1269
|
};
|
|
1289
1270
|
$forceUpdate: () => void;
|
|
1290
|
-
$nextTick: typeof nextTick;
|
|
1271
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1291
1272
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1292
1273
|
} & Readonly<{
|
|
1293
1274
|
title: string;
|
|
@@ -1313,7 +1294,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1313
1294
|
onClosed?: (() => any) | undefined;
|
|
1314
1295
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
1315
1296
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1316
|
-
}>, "title" | "ariaLevel" | "
|
|
1297
|
+
}>, "title" | "ariaLevel" | "visible" | "appendTo" | "transition" | "closeOnPressEscape" | "draggable" | "handleClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "overflow" | "showClose" | "dialogContentRef" | "resetPosition"> & import('vue').ShallowUnwrapRef<{
|
|
1317
1298
|
visible: import('vue').Ref<boolean, boolean>;
|
|
1318
1299
|
dialogContentRef: import('vue').Ref<any, any>;
|
|
1319
1300
|
resetPosition: () => void;
|
|
@@ -1333,7 +1314,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1333
1314
|
footer?: (props: {}) => any;
|
|
1334
1315
|
};
|
|
1335
1316
|
}) | null;
|
|
1336
|
-
|
|
1317
|
+
schemaFormRef: ({
|
|
1337
1318
|
$: import('vue').ComponentInternalInstance;
|
|
1338
1319
|
$data: {};
|
|
1339
1320
|
$props: Partial<{
|
|
@@ -1348,8 +1329,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1348
1329
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1349
1330
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
1350
1331
|
readonly schema: import('..').VroElSchemaFormSchema;
|
|
1351
|
-
readonly "onChange-field"?: ((
|
|
1352
|
-
readonly "onInput-field"?: ((
|
|
1332
|
+
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1333
|
+
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1353
1334
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
|
|
1354
1335
|
$attrs: {
|
|
1355
1336
|
[x: string]: unknown;
|
|
@@ -1357,7 +1338,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1357
1338
|
$refs: {
|
|
1358
1339
|
[x: string]: unknown;
|
|
1359
1340
|
} & {
|
|
1360
|
-
|
|
1341
|
+
formRef: ({
|
|
1361
1342
|
$: import('vue').ComponentInternalInstance;
|
|
1362
1343
|
$data: {};
|
|
1363
1344
|
$props: {
|
|
@@ -1432,7 +1413,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1432
1413
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1433
1414
|
};
|
|
1434
1415
|
$forceUpdate: () => void;
|
|
1435
|
-
$nextTick: typeof nextTick;
|
|
1416
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1436
1417
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1437
1418
|
} & Readonly<{
|
|
1438
1419
|
labelWidth: string | number;
|
|
@@ -1458,7 +1439,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1458
1439
|
default?: (props: {}) => any;
|
|
1459
1440
|
};
|
|
1460
1441
|
}) | null;
|
|
1461
|
-
|
|
1442
|
+
componentRefs: unknown;
|
|
1462
1443
|
};
|
|
1463
1444
|
$slots: Readonly<{
|
|
1464
1445
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -1466,7 +1447,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1466
1447
|
$root: import('vue').ComponentPublicInstance | null;
|
|
1467
1448
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
1468
1449
|
$host: Element | null;
|
|
1469
|
-
$emit: ((event: "change-field",
|
|
1450
|
+
$emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
|
|
1470
1451
|
$el: any;
|
|
1471
1452
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1472
1453
|
formProps: {
|
|
@@ -1490,10 +1471,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1490
1471
|
default: () => {};
|
|
1491
1472
|
};
|
|
1492
1473
|
}>> & Readonly<{
|
|
1493
|
-
"onChange-field"?: ((
|
|
1494
|
-
"onInput-field"?: ((
|
|
1474
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1475
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1495
1476
|
}>, {
|
|
1496
|
-
|
|
1477
|
+
elForm: {
|
|
1497
1478
|
$: import('vue').ComponentInternalInstance;
|
|
1498
1479
|
$data: {};
|
|
1499
1480
|
$props: {
|
|
@@ -1568,7 +1549,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1568
1549
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1569
1550
|
};
|
|
1570
1551
|
$forceUpdate: () => void;
|
|
1571
|
-
$nextTick: typeof nextTick;
|
|
1552
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1572
1553
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1573
1554
|
} & Readonly<{
|
|
1574
1555
|
labelWidth: string | number;
|
|
@@ -1604,8 +1585,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1604
1585
|
extractValues: () => Promise<Record<string, any>>;
|
|
1605
1586
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1606
1587
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1607
|
-
"change-field": (
|
|
1608
|
-
"input-field": (
|
|
1588
|
+
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1589
|
+
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1609
1590
|
}, string, {
|
|
1610
1591
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1611
1592
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
@@ -1630,7 +1611,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1630
1611
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1631
1612
|
};
|
|
1632
1613
|
$forceUpdate: () => void;
|
|
1633
|
-
$nextTick: typeof nextTick;
|
|
1614
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1634
1615
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1635
1616
|
} & Readonly<{
|
|
1636
1617
|
colProps: Partial<import('element-plus').ColProps>;
|
|
@@ -1660,10 +1641,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1660
1641
|
default: () => {};
|
|
1661
1642
|
};
|
|
1662
1643
|
}>> & Readonly<{
|
|
1663
|
-
"onChange-field"?: ((
|
|
1664
|
-
"onInput-field"?: ((
|
|
1665
|
-
}>, "
|
|
1666
|
-
|
|
1644
|
+
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1645
|
+
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1646
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
1647
|
+
elForm: {
|
|
1667
1648
|
$: import('vue').ComponentInternalInstance;
|
|
1668
1649
|
$data: {};
|
|
1669
1650
|
$props: {
|
|
@@ -1738,7 +1719,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1738
1719
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1739
1720
|
};
|
|
1740
1721
|
$forceUpdate: () => void;
|
|
1741
|
-
$nextTick: typeof nextTick;
|
|
1722
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1742
1723
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1743
1724
|
} & Readonly<{
|
|
1744
1725
|
labelWidth: string | number;
|
|
@@ -1774,9 +1755,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1774
1755
|
extractValues: () => Promise<Record<string, any>>;
|
|
1775
1756
|
validateField: (key: string) => Promise<boolean | undefined>;
|
|
1776
1757
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1777
|
-
$slots:
|
|
1778
|
-
default?(_: {}): any;
|
|
1779
|
-
};
|
|
1758
|
+
$slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
|
|
1780
1759
|
}) | null;
|
|
1781
1760
|
}, any>;
|
|
1782
1761
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|