@vrojs/element-plus 0.0.21 → 0.0.23
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 +1 -0
- package/dist/index.js +142 -134
- package/dist/locale/index.d.ts +1 -0
- package/dist/locale/index.js +5 -3
- package/dist/locale/lang/en.d.ts +3 -0
- package/dist/locale/lang/en.js +3 -0
- package/dist/locale/lang/zh-cn.d.ts +3 -0
- package/dist/locale/lang/zh-cn.js +3 -0
- package/dist/locale/lang/zh-tw.d.ts +57 -0
- package/dist/locale/lang/zh-tw.js +59 -0
- package/dist/style/deps.js +1 -0
- package/dist/style/index.css +1 -1
- package/dist/vro-el-schema-descs/function-call.d.ts +15 -0
- package/dist/vro-el-schema-descs/function-call.js +35 -0
- package/dist/vro-el-schema-descs/index.d.ts +105 -0
- package/dist/vro-el-schema-descs/index.js +11 -0
- package/dist/vro-el-schema-descs/style/css.d.ts +0 -0
- package/dist/vro-el-schema-descs/style/css.js +4 -0
- package/dist/vro-el-schema-descs/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-descs/style/deps.js +4 -0
- package/dist/vro-el-schema-descs/style/index.css +1 -0
- package/dist/vro-el-schema-descs/style/index.d.ts +0 -0
- package/dist/vro-el-schema-descs/style/index.js +2 -0
- package/dist/vro-el-schema-descs/types.d.ts +122 -0
- package/dist/vro-el-schema-descs/types.js +33 -0
- package/dist/vro-el-schema-descs/vro-el-schema-descs.vue.d.ts +70 -0
- package/dist/vro-el-schema-descs/vro-el-schema-descs.vue.js +86 -0
- package/dist/vro-el-schema-descs/vro-el-schema-descs.vue2.js +4 -0
- package/dist/vro-el-schema-filter/index.d.ts +15 -15
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +20 -20
- package/dist/vro-el-schema-form/index.d.ts +7 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +18 -18
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +4 -4
- package/dist/vro-el-schema-form-dialog/index.d.ts +39 -39
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +28 -28
- package/dist/vro-el-schema-form-drawer/index.d.ts +39 -39
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +28 -28
- package/dist/vro-el-table-actions-column/index.d.ts +3 -3
- package/dist/vro-el-table-actions-column/types.d.ts +1 -1
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +1 -1
- package/dist/vro-el-table-column/index.d.ts +3 -3
- package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -185,20 +185,20 @@ declare function __VLS_template(): {
|
|
|
185
185
|
$: import('vue').ComponentInternalInstance;
|
|
186
186
|
$data: {};
|
|
187
187
|
$props: Partial<{
|
|
188
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
188
189
|
colProps: Partial<import('element-plus').ColProps>;
|
|
189
190
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
190
191
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
191
192
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
192
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
193
193
|
}> & Omit<{
|
|
194
|
+
readonly schema: import('..').VroElSchemaFormSchema;
|
|
194
195
|
readonly colProps: Partial<import('element-plus').ColProps>;
|
|
195
196
|
readonly formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
196
197
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
197
198
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
198
|
-
readonly schema: import('..').VroElSchemaFormSchema;
|
|
199
199
|
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
200
200
|
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
201
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
201
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "schema" | "colProps" | "formItemProps" | "formProps" | "rowProps">;
|
|
202
202
|
$attrs: {
|
|
203
203
|
[x: string]: unknown;
|
|
204
204
|
};
|
|
@@ -292,7 +292,7 @@ declare function __VLS_template(): {
|
|
|
292
292
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
293
293
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
294
294
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
295
|
-
}>, "
|
|
295
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
296
296
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
297
297
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
298
298
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -428,7 +428,7 @@ declare function __VLS_template(): {
|
|
|
428
428
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
429
429
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
430
430
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
431
|
-
}>, "
|
|
431
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
432
432
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
433
433
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
434
434
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -455,11 +455,11 @@ declare function __VLS_template(): {
|
|
|
455
455
|
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
456
456
|
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
457
457
|
}, string, {
|
|
458
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
458
459
|
colProps: Partial<import('element-plus').ColProps>;
|
|
459
460
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
460
461
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
461
462
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
462
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
463
463
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
464
464
|
beforeCreate?: (() => void) | (() => void)[];
|
|
465
465
|
created?: (() => void) | (() => void)[];
|
|
@@ -481,11 +481,11 @@ declare function __VLS_template(): {
|
|
|
481
481
|
$nextTick: typeof import('vue').nextTick;
|
|
482
482
|
$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;
|
|
483
483
|
} & Readonly<{
|
|
484
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
484
485
|
colProps: Partial<import('element-plus').ColProps>;
|
|
485
486
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
486
487
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
487
488
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
488
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
489
489
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
490
490
|
formProps: {
|
|
491
491
|
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
@@ -510,7 +510,7 @@ declare function __VLS_template(): {
|
|
|
510
510
|
}>> & Readonly<{
|
|
511
511
|
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
512
512
|
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
513
|
-
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("
|
|
513
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("schema" | "colProps" | "formItemProps" | "formProps" | "rowProps") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
514
514
|
elForm: {
|
|
515
515
|
$: import('vue').ComponentInternalInstance;
|
|
516
516
|
$data: {};
|
|
@@ -598,7 +598,7 @@ declare function __VLS_template(): {
|
|
|
598
598
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
599
599
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
600
600
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
601
|
-
}>, "
|
|
601
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
602
602
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
603
603
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
604
604
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -693,20 +693,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
693
693
|
$: import('vue').ComponentInternalInstance;
|
|
694
694
|
$data: {};
|
|
695
695
|
$props: Partial<{
|
|
696
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
696
697
|
colProps: Partial<import('element-plus').ColProps>;
|
|
697
698
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
698
699
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
699
700
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
700
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
701
701
|
}> & Omit<{
|
|
702
|
+
readonly schema: import('..').VroElSchemaFormSchema;
|
|
702
703
|
readonly colProps: Partial<import('element-plus').ColProps>;
|
|
703
704
|
readonly formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
704
705
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
705
706
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
706
|
-
readonly schema: import('..').VroElSchemaFormSchema;
|
|
707
707
|
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
708
708
|
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
709
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
709
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "schema" | "colProps" | "formItemProps" | "formProps" | "rowProps">;
|
|
710
710
|
$attrs: {
|
|
711
711
|
[x: string]: unknown;
|
|
712
712
|
};
|
|
@@ -800,7 +800,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
800
800
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
801
801
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
802
802
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
803
|
-
}>, "
|
|
803
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
804
804
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
805
805
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
806
806
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -936,7 +936,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
936
936
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
937
937
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
938
938
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
939
|
-
}>, "
|
|
939
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
940
940
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
941
941
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
942
942
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -963,11 +963,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
963
963
|
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
964
964
|
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
965
965
|
}, string, {
|
|
966
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
966
967
|
colProps: Partial<import('element-plus').ColProps>;
|
|
967
968
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
968
969
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
969
970
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
970
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
971
971
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
972
972
|
beforeCreate?: (() => void) | (() => void)[];
|
|
973
973
|
created?: (() => void) | (() => void)[];
|
|
@@ -989,11 +989,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
989
989
|
$nextTick: typeof import('vue').nextTick;
|
|
990
990
|
$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;
|
|
991
991
|
} & Readonly<{
|
|
992
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
992
993
|
colProps: Partial<import('element-plus').ColProps>;
|
|
993
994
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
994
995
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
995
996
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
996
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
997
997
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
998
998
|
formProps: {
|
|
999
999
|
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
@@ -1018,7 +1018,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1018
1018
|
}>> & Readonly<{
|
|
1019
1019
|
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1020
1020
|
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1021
|
-
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("
|
|
1021
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("schema" | "colProps" | "formItemProps" | "formProps" | "rowProps") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
1022
1022
|
elForm: {
|
|
1023
1023
|
$: import('vue').ComponentInternalInstance;
|
|
1024
1024
|
$data: {};
|
|
@@ -1106,7 +1106,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1106
1106
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1107
1107
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
1108
1108
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1109
|
-
}>, "
|
|
1109
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
1110
1110
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1111
1111
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1112
1112
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -1209,11 +1209,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1209
1209
|
style: import('vue').CSSProperties;
|
|
1210
1210
|
size: string | number | undefined;
|
|
1211
1211
|
direction: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
1212
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
1212
1213
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1213
1214
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1214
1215
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1215
1216
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1216
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
1217
1217
|
showCancelButton: boolean;
|
|
1218
1218
|
showConfirmButton: boolean;
|
|
1219
1219
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
@@ -1401,20 +1401,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1401
1401
|
$: import('vue').ComponentInternalInstance;
|
|
1402
1402
|
$data: {};
|
|
1403
1403
|
$props: Partial<{
|
|
1404
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
1404
1405
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1405
1406
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1406
1407
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1407
1408
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1408
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
1409
1409
|
}> & Omit<{
|
|
1410
|
+
readonly schema: import('..').VroElSchemaFormSchema;
|
|
1410
1411
|
readonly colProps: Partial<import('element-plus').ColProps>;
|
|
1411
1412
|
readonly formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1412
1413
|
readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1413
1414
|
readonly rowProps: Partial<import('element-plus').RowProps>;
|
|
1414
|
-
readonly schema: import('..').VroElSchemaFormSchema;
|
|
1415
1415
|
readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1416
1416
|
readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1417
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
1417
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "schema" | "colProps" | "formItemProps" | "formProps" | "rowProps">;
|
|
1418
1418
|
$attrs: {
|
|
1419
1419
|
[x: string]: unknown;
|
|
1420
1420
|
};
|
|
@@ -1508,7 +1508,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1508
1508
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1509
1509
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
1510
1510
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1511
|
-
}>, "
|
|
1511
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
1512
1512
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1513
1513
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1514
1514
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -1644,7 +1644,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1644
1644
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1645
1645
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
1646
1646
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1647
|
-
}>, "
|
|
1647
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
1648
1648
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1649
1649
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1650
1650
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -1671,11 +1671,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1671
1671
|
"change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1672
1672
|
"input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
|
|
1673
1673
|
}, string, {
|
|
1674
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
1674
1675
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1675
1676
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1676
1677
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1677
1678
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1678
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
1679
1679
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1680
1680
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1681
1681
|
created?: (() => void) | (() => void)[];
|
|
@@ -1697,11 +1697,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1697
1697
|
$nextTick: typeof import('vue').nextTick;
|
|
1698
1698
|
$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;
|
|
1699
1699
|
} & Readonly<{
|
|
1700
|
+
schema: import('..').VroElSchemaFormSchema;
|
|
1700
1701
|
colProps: Partial<import('element-plus').ColProps>;
|
|
1701
1702
|
formItemProps: Partial<import('element-plus').FormItemProps>;
|
|
1702
1703
|
formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
|
|
1703
1704
|
rowProps: Partial<import('element-plus').RowProps>;
|
|
1704
|
-
schema: import('..').VroElSchemaFormSchema;
|
|
1705
1705
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1706
1706
|
formProps: {
|
|
1707
1707
|
type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
|
|
@@ -1726,7 +1726,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1726
1726
|
}>> & Readonly<{
|
|
1727
1727
|
"onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1728
1728
|
"onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
|
|
1729
|
-
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("
|
|
1729
|
+
}>, "trigger" | "validate" | "validateField" | "resetFields" | ("schema" | "colProps" | "formItemProps" | "formProps" | "rowProps") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
|
|
1730
1730
|
elForm: {
|
|
1731
1731
|
$: import('vue').ComponentInternalInstance;
|
|
1732
1732
|
$data: {};
|
|
@@ -1814,7 +1814,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1814
1814
|
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
1815
1815
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
1816
1816
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1817
|
-
}>, "
|
|
1817
|
+
}>, "labelWidth" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
1818
1818
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1819
1819
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
1820
1820
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -78,8 +78,8 @@ export declare const VroElTableActionsColumn: import('@vrojs/base').WithInstall<
|
|
|
78
78
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
79
79
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
80
80
|
width: string | number;
|
|
81
|
-
resizable: boolean;
|
|
82
81
|
minWidth: string | number;
|
|
82
|
+
resizable: boolean;
|
|
83
83
|
sortable: string | boolean;
|
|
84
84
|
reserveSelection: boolean;
|
|
85
85
|
filterMultiple: boolean;
|
|
@@ -172,8 +172,8 @@ export declare const VroElTableActionsColumn: import('@vrojs/base').WithInstall<
|
|
|
172
172
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
173
173
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
174
174
|
width: string | number;
|
|
175
|
-
resizable: boolean;
|
|
176
175
|
minWidth: string | number;
|
|
176
|
+
resizable: boolean;
|
|
177
177
|
sortable: string | boolean;
|
|
178
178
|
reserveSelection: boolean;
|
|
179
179
|
filterMultiple: boolean;
|
|
@@ -263,8 +263,8 @@ export declare const VroElTableActionsColumn: import('@vrojs/base').WithInstall<
|
|
|
263
263
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
264
264
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
265
265
|
width: string | number;
|
|
266
|
-
resizable: boolean;
|
|
267
266
|
minWidth: string | number;
|
|
267
|
+
resizable: boolean;
|
|
268
268
|
sortable: string | boolean;
|
|
269
269
|
reserveSelection: boolean;
|
|
270
270
|
filterMultiple: boolean;
|
|
@@ -34,7 +34,7 @@ export interface VroElTableActionsColumnAction<T = any> {
|
|
|
34
34
|
* - 数组中每项是返回单个操作项的工厂函数,入参为 (row, index),可省略,适合复用操作定义、延迟创建;
|
|
35
35
|
* - 传函数,按行返回操作项数组,适合按行数据决定展示哪些操作。
|
|
36
36
|
*/
|
|
37
|
-
export type VroElTableActionsColumnActions<T = any> = Maybe<VroElTableActionsColumnAction<T
|
|
37
|
+
export type VroElTableActionsColumnActions<T = any> = Maybe<VroElTableActionsColumnAction<T> | ((row: T, index: number) => Maybe<VroElTableActionsColumnAction<T>>)>[] | ((row: T, index: number) => Maybe<VroElTableActionsColumnAction<T> | ((row: T, index: number) => Maybe<VroElTableActionsColumnAction<T>>)>[]);
|
|
38
38
|
export declare const vroElTableActionsColumnProps: {
|
|
39
39
|
/**
|
|
40
40
|
* 列标题。
|
|
@@ -157,8 +157,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
157
157
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
158
158
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
159
159
|
width: string | number;
|
|
160
|
-
resizable: boolean;
|
|
161
160
|
minWidth: string | number;
|
|
161
|
+
resizable: boolean;
|
|
162
162
|
sortable: string | boolean;
|
|
163
163
|
reserveSelection: boolean;
|
|
164
164
|
filterMultiple: boolean;
|
|
@@ -73,8 +73,8 @@ export declare const VroElTableColumn: import('@vrojs/base').WithInstall<{
|
|
|
73
73
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
74
74
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
75
75
|
width: string | number;
|
|
76
|
-
resizable: boolean;
|
|
77
76
|
minWidth: string | number;
|
|
77
|
+
resizable: boolean;
|
|
78
78
|
sortable: string | boolean;
|
|
79
79
|
reserveSelection: boolean;
|
|
80
80
|
filterMultiple: boolean;
|
|
@@ -158,8 +158,8 @@ export declare const VroElTableColumn: import('@vrojs/base').WithInstall<{
|
|
|
158
158
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
159
159
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
160
160
|
width: string | number;
|
|
161
|
-
resizable: boolean;
|
|
162
161
|
minWidth: string | number;
|
|
162
|
+
resizable: boolean;
|
|
163
163
|
sortable: string | boolean;
|
|
164
164
|
reserveSelection: boolean;
|
|
165
165
|
filterMultiple: boolean;
|
|
@@ -240,8 +240,8 @@ export declare const VroElTableColumn: import('@vrojs/base').WithInstall<{
|
|
|
240
240
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
241
241
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
242
242
|
width: string | number;
|
|
243
|
-
resizable: boolean;
|
|
244
243
|
minWidth: string | number;
|
|
244
|
+
resizable: boolean;
|
|
245
245
|
sortable: string | boolean;
|
|
246
246
|
reserveSelection: boolean;
|
|
247
247
|
filterMultiple: boolean;
|
|
@@ -146,8 +146,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
146
146
|
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
147
147
|
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
148
148
|
width: string | number;
|
|
149
|
-
resizable: boolean;
|
|
150
149
|
minWidth: string | number;
|
|
150
|
+
resizable: boolean;
|
|
151
151
|
sortable: string | boolean;
|
|
152
152
|
reserveSelection: boolean;
|
|
153
153
|
filterMultiple: boolean;
|