@vtj/designer 0.13.32 → 0.13.34

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.
@@ -4,6 +4,8 @@ import { BaseSize, DialogMode, DraggableOptions, IconParam, ResizableOptions, Co
4
4
  import { UseMouseSourceType, Position } from '@vueuse/core';
5
5
  import { OnCleanup } from '@vue/reactivity';
6
6
  import { ElTooltipProps, FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext, ComponentSize, FormItemValidateState } from 'element-plus';
7
+ import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
8
+ import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
7
9
  import { RuleType, Rule, InternalRuleItem, ValidateError, Value, Values, ValidateOption, SyncValidateResult } from 'async-validator';
8
10
  export interface Props {
9
11
  model?: ApiSchema;
@@ -1219,33 +1221,33 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1219
1221
  $props: Partial<{
1220
1222
  readonly disabled: boolean;
1221
1223
  readonly inline: boolean;
1222
- readonly labelWidth: string | number;
1223
- readonly labelPosition: "top" | "left" | "right";
1224
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1225
+ readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
1224
1226
  readonly inlineMessage: boolean;
1225
- readonly showMessage: boolean;
1226
- readonly requireAsteriskPosition: "left" | "right";
1227
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1228
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
1227
1229
  readonly labelSuffix: string;
1228
- readonly validateOnRuleChange: boolean;
1229
- readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
1230
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1231
+ readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
1230
1232
  readonly statusIcon: boolean;
1231
1233
  readonly hideRequiredAsterisk: boolean;
1232
1234
  readonly scrollToError: boolean;
1233
1235
  }> & Omit<{
1234
1236
  readonly disabled: boolean;
1235
1237
  readonly inline: boolean;
1236
- readonly labelWidth: string | number;
1237
- readonly labelPosition: "top" | "left" | "right";
1238
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1239
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
1238
1240
  readonly inlineMessage: boolean;
1239
- readonly showMessage: boolean;
1240
- readonly requireAsteriskPosition: "left" | "right";
1241
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1242
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
1241
1243
  readonly labelSuffix: string;
1242
1244
  readonly statusIcon: boolean;
1243
- readonly validateOnRuleChange: boolean;
1245
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1244
1246
  readonly hideRequiredAsterisk: boolean;
1245
1247
  readonly scrollToError: boolean;
1246
- readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
1247
- readonly size?: ("" | "large" | "default" | "small") | undefined;
1248
- readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
1248
+ readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
1249
+ readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
1250
+ readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
1249
1251
  readonly model?: Record<string, any> | undefined;
1250
1252
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
1251
1253
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
@@ -1266,74 +1268,25 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1266
1268
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1267
1269
  readonly model: ObjectConstructor;
1268
1270
  readonly rules: {
1269
- readonly type: PropType<Partial<Record<string, FormItemRule | FormItemRule[]>>>;
1271
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1270
1272
  readonly required: false;
1271
1273
  readonly validator: ((val: unknown) => boolean) | undefined;
1272
1274
  __epPropKey: true;
1273
1275
  };
1274
- readonly labelPosition: {
1275
- readonly type: PropType<"top" | "left" | "right">;
1276
- readonly required: false;
1277
- readonly validator: ((val: unknown) => boolean) | undefined;
1278
- __epPropKey: true;
1279
- } & {
1280
- readonly default: "right";
1281
- };
1282
- readonly requireAsteriskPosition: {
1283
- readonly type: PropType<"left" | "right">;
1284
- readonly required: false;
1285
- readonly validator: ((val: unknown) => boolean) | undefined;
1286
- __epPropKey: true;
1287
- } & {
1288
- readonly default: "left";
1289
- };
1290
- readonly labelWidth: {
1291
- readonly type: PropType<string | number>;
1292
- readonly required: false;
1293
- readonly validator: ((val: unknown) => boolean) | undefined;
1294
- __epPropKey: true;
1295
- } & {
1296
- readonly default: "";
1297
- };
1298
- readonly labelSuffix: {
1299
- readonly type: PropType<string>;
1300
- readonly required: false;
1301
- readonly validator: ((val: unknown) => boolean) | undefined;
1302
- __epPropKey: true;
1303
- } & {
1304
- readonly default: "";
1305
- };
1276
+ readonly labelPosition: EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
1277
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
1278
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1279
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
1306
1280
  readonly inline: BooleanConstructor;
1307
1281
  readonly inlineMessage: BooleanConstructor;
1308
1282
  readonly statusIcon: BooleanConstructor;
1309
- readonly showMessage: {
1310
- readonly type: PropType<boolean>;
1311
- readonly required: false;
1312
- readonly validator: ((val: unknown) => boolean) | undefined;
1313
- __epPropKey: true;
1314
- } & {
1315
- readonly default: true;
1316
- };
1317
- readonly validateOnRuleChange: {
1318
- readonly type: PropType<boolean>;
1319
- readonly required: false;
1320
- readonly validator: ((val: unknown) => boolean) | undefined;
1321
- __epPropKey: true;
1322
- } & {
1323
- readonly default: true;
1324
- };
1283
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1284
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1325
1285
  readonly hideRequiredAsterisk: BooleanConstructor;
1326
1286
  readonly scrollToError: BooleanConstructor;
1327
- readonly scrollIntoViewOptions: {
1328
- readonly type: PropType<boolean | ScrollIntoViewOptions>;
1329
- readonly required: false;
1330
- readonly validator: ((val: unknown) => boolean) | undefined;
1331
- __epPropKey: true;
1332
- } & {
1333
- readonly default: true;
1334
- };
1287
+ readonly scrollIntoViewOptions: EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
1335
1288
  readonly size: {
1336
- readonly type: PropType<"" | "large" | "default" | "small">;
1289
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
1337
1290
  readonly required: false;
1338
1291
  readonly validator: ((val: unknown) => boolean) | undefined;
1339
1292
  __epPropKey: true;
@@ -1343,9 +1296,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1343
1296
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
1344
1297
  }, {
1345
1298
  validate: (callback?: FormValidateCallback) => FormValidationResult;
1346
- validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
1347
- resetFields: (props?: FormItemProp | FormItemProp[]) => void;
1348
- clearValidate: (props?: FormItemProp | FormItemProp[]) => void;
1299
+ validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
1300
+ resetFields: (props?: Arrayable<FormItemProp>) => void;
1301
+ clearValidate: (props?: Arrayable<FormItemProp>) => void;
1349
1302
  scrollToField: (prop: FormItemProp) => void;
1350
1303
  getField: (prop: FormItemProp) => FormItemContext | undefined;
1351
1304
  fields: {
@@ -1364,15 +1317,15 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1364
1317
  validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
1365
1318
  resetField: () => void;
1366
1319
  clearValidate: () => void;
1367
- readonly labelWidth: string | number;
1368
- readonly labelPosition: "" | "top" | "left" | "right";
1369
- readonly showMessage: boolean;
1320
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1321
+ readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
1322
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1370
1323
  readonly label?: string | undefined;
1371
- readonly prop?: FormItemProp | undefined;
1372
- readonly required?: boolean | undefined;
1324
+ readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
1325
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1373
1326
  readonly error?: string | undefined;
1374
1327
  readonly rules?: {
1375
- trigger?: (string | string[]) | undefined;
1328
+ trigger?: Arrayable<string> | undefined;
1376
1329
  type?: RuleType | undefined;
1377
1330
  required?: boolean | undefined;
1378
1331
  pattern?: string | {
@@ -1643,7 +1596,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1643
1596
  asyncValidator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => void | Promise<void>) | undefined;
1644
1597
  validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1645
1598
  } | {
1646
- trigger?: (string | string[]) | undefined;
1599
+ trigger?: Arrayable<string> | undefined;
1647
1600
  type?: RuleType | undefined;
1648
1601
  required?: boolean | undefined;
1649
1602
  pattern?: string | {
@@ -1914,8 +1867,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1914
1867
  asyncValidator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => void | Promise<void>) | undefined;
1915
1868
  validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1916
1869
  }[] | undefined;
1917
- readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
1918
- readonly inlineMessage?: boolean | undefined;
1870
+ readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
1871
+ readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1919
1872
  readonly for?: string | undefined;
1920
1873
  }[];
1921
1874
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -1923,14 +1876,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1923
1876
  }, string, {
1924
1877
  readonly disabled: boolean;
1925
1878
  readonly inline: boolean;
1926
- readonly labelWidth: string | number;
1927
- readonly labelPosition: "top" | "left" | "right";
1879
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1880
+ readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
1928
1881
  readonly inlineMessage: boolean;
1929
- readonly showMessage: boolean;
1930
- readonly requireAsteriskPosition: "left" | "right";
1882
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1883
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
1931
1884
  readonly labelSuffix: string;
1932
- readonly validateOnRuleChange: boolean;
1933
- readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
1885
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1886
+ readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
1934
1887
  readonly statusIcon: boolean;
1935
1888
  readonly hideRequiredAsterisk: boolean;
1936
1889
  readonly scrollToError: boolean;
@@ -1957,88 +1910,39 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1957
1910
  } & Readonly<{
1958
1911
  readonly disabled: boolean;
1959
1912
  readonly inline: boolean;
1960
- readonly labelWidth: string | number;
1961
- readonly labelPosition: "top" | "left" | "right";
1913
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1914
+ readonly labelPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
1962
1915
  readonly inlineMessage: boolean;
1963
- readonly showMessage: boolean;
1964
- readonly requireAsteriskPosition: "left" | "right";
1916
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1917
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
1965
1918
  readonly labelSuffix: string;
1966
- readonly validateOnRuleChange: boolean;
1967
- readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
1919
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1920
+ readonly scrollIntoViewOptions: EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
1968
1921
  readonly statusIcon: boolean;
1969
1922
  readonly hideRequiredAsterisk: boolean;
1970
1923
  readonly scrollToError: boolean;
1971
1924
  }> & Omit<Readonly< ExtractPropTypes<{
1972
1925
  readonly model: ObjectConstructor;
1973
1926
  readonly rules: {
1974
- readonly type: PropType<Partial<Record<string, FormItemRule | FormItemRule[]>>>;
1927
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1975
1928
  readonly required: false;
1976
1929
  readonly validator: ((val: unknown) => boolean) | undefined;
1977
1930
  __epPropKey: true;
1978
1931
  };
1979
- readonly labelPosition: {
1980
- readonly type: PropType<"top" | "left" | "right">;
1981
- readonly required: false;
1982
- readonly validator: ((val: unknown) => boolean) | undefined;
1983
- __epPropKey: true;
1984
- } & {
1985
- readonly default: "right";
1986
- };
1987
- readonly requireAsteriskPosition: {
1988
- readonly type: PropType<"left" | "right">;
1989
- readonly required: false;
1990
- readonly validator: ((val: unknown) => boolean) | undefined;
1991
- __epPropKey: true;
1992
- } & {
1993
- readonly default: "left";
1994
- };
1995
- readonly labelWidth: {
1996
- readonly type: PropType<string | number>;
1997
- readonly required: false;
1998
- readonly validator: ((val: unknown) => boolean) | undefined;
1999
- __epPropKey: true;
2000
- } & {
2001
- readonly default: "";
2002
- };
2003
- readonly labelSuffix: {
2004
- readonly type: PropType<string>;
2005
- readonly required: false;
2006
- readonly validator: ((val: unknown) => boolean) | undefined;
2007
- __epPropKey: true;
2008
- } & {
2009
- readonly default: "";
2010
- };
1932
+ readonly labelPosition: EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
1933
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
1934
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1935
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
2011
1936
  readonly inline: BooleanConstructor;
2012
1937
  readonly inlineMessage: BooleanConstructor;
2013
1938
  readonly statusIcon: BooleanConstructor;
2014
- readonly showMessage: {
2015
- readonly type: PropType<boolean>;
2016
- readonly required: false;
2017
- readonly validator: ((val: unknown) => boolean) | undefined;
2018
- __epPropKey: true;
2019
- } & {
2020
- readonly default: true;
2021
- };
2022
- readonly validateOnRuleChange: {
2023
- readonly type: PropType<boolean>;
2024
- readonly required: false;
2025
- readonly validator: ((val: unknown) => boolean) | undefined;
2026
- __epPropKey: true;
2027
- } & {
2028
- readonly default: true;
2029
- };
1939
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1940
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
2030
1941
  readonly hideRequiredAsterisk: BooleanConstructor;
2031
1942
  readonly scrollToError: BooleanConstructor;
2032
- readonly scrollIntoViewOptions: {
2033
- readonly type: PropType<boolean | ScrollIntoViewOptions>;
2034
- readonly required: false;
2035
- readonly validator: ((val: unknown) => boolean) | undefined;
2036
- __epPropKey: true;
2037
- } & {
2038
- readonly default: true;
2039
- };
1943
+ readonly scrollIntoViewOptions: EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
2040
1944
  readonly size: {
2041
- readonly type: PropType<"" | "large" | "default" | "small">;
1945
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
2042
1946
  readonly required: false;
2043
1947
  readonly validator: ((val: unknown) => boolean) | undefined;
2044
1948
  __epPropKey: true;
@@ -2048,9 +1952,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
2048
1952
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
2049
1953
  }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField"> & ShallowUnwrapRef<{
2050
1954
  validate: (callback?: FormValidateCallback) => FormValidationResult;
2051
- validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
2052
- resetFields: (props?: FormItemProp | FormItemProp[]) => void;
2053
- clearValidate: (props?: FormItemProp | FormItemProp[]) => void;
1955
+ validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
1956
+ resetFields: (props?: Arrayable<FormItemProp>) => void;
1957
+ clearValidate: (props?: Arrayable<FormItemProp>) => void;
2054
1958
  scrollToField: (prop: FormItemProp) => void;
2055
1959
  getField: (prop: FormItemProp) => FormItemContext | undefined;
2056
1960
  fields: {
@@ -2069,15 +1973,15 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
2069
1973
  validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
2070
1974
  resetField: () => void;
2071
1975
  clearValidate: () => void;
2072
- readonly labelWidth: string | number;
2073
- readonly labelPosition: "" | "top" | "left" | "right";
2074
- readonly showMessage: boolean;
1976
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1977
+ readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
1978
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
2075
1979
  readonly label?: string | undefined;
2076
- readonly prop?: FormItemProp | undefined;
2077
- readonly required?: boolean | undefined;
1980
+ readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
1981
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
2078
1982
  readonly error?: string | undefined;
2079
1983
  readonly rules?: {
2080
- trigger?: (string | string[]) | undefined;
1984
+ trigger?: Arrayable<string> | undefined;
2081
1985
  type?: RuleType | undefined;
2082
1986
  required?: boolean | undefined;
2083
1987
  pattern?: string | {
@@ -2348,7 +2252,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
2348
2252
  asyncValidator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => void | Promise<void>) | undefined;
2349
2253
  validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
2350
2254
  } | {
2351
- trigger?: (string | string[]) | undefined;
2255
+ trigger?: Arrayable<string> | undefined;
2352
2256
  type?: RuleType | undefined;
2353
2257
  required?: boolean | undefined;
2354
2258
  pattern?: string | {
@@ -2619,8 +2523,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
2619
2523
  asyncValidator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => void | Promise<void>) | undefined;
2620
2524
  validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
2621
2525
  }[] | undefined;
2622
- readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
2623
- readonly inlineMessage?: boolean | undefined;
2526
+ readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
2527
+ readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
2624
2528
  readonly for?: string | undefined;
2625
2529
  }[];
2626
2530
  }> & {} & ComponentCustomProperties & {} & {
@@ -50,8 +50,8 @@ declare const _default: DefineComponent<Props, {
50
50
  card: boolean;
51
51
  }> & Omit<{
52
52
  readonly radius: boolean;
53
- readonly border: boolean;
54
53
  readonly fit: boolean;
54
+ readonly border: boolean;
55
55
  readonly card: boolean;
56
56
  readonly size?: BaseSize | undefined;
57
57
  readonly height?: string | number | undefined;
@@ -216,7 +216,7 @@ declare const _default: DefineComponent<Props, {
216
216
  };
217
217
  }>>> | null | undefined;
218
218
  readonly shadow?: "hover" | "none" | "always" | undefined;
219
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
219
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
220
220
  $attrs: {
221
221
  [x: string]: unknown;
222
222
  };
@@ -594,7 +594,7 @@ declare const _default: DefineComponent<Props, {
594
594
  footer: {
595
595
  type: PropType<ContainerProps>;
596
596
  };
597
- }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
597
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
598
598
  bodyRef: Ref<any, any>;
599
599
  }> & {} & ComponentCustomProperties & {} & {
600
600
  $slots: {
@@ -321,8 +321,8 @@ export declare const widgets: {
321
321
  card: boolean;
322
322
  }> & Omit<{
323
323
  readonly radius: boolean;
324
- readonly border: boolean;
325
324
  readonly fit: boolean;
325
+ readonly border: boolean;
326
326
  readonly card: boolean;
327
327
  readonly size?: BaseSize | undefined;
328
328
  readonly height?: string | number | undefined;
@@ -487,7 +487,7 @@ export declare const widgets: {
487
487
  };
488
488
  }>>> | null | undefined;
489
489
  readonly shadow?: "hover" | "none" | "always" | undefined;
490
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
490
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
491
491
  $attrs: {
492
492
  [x: string]: unknown;
493
493
  };
@@ -865,7 +865,7 @@ export declare const widgets: {
865
865
  footer: {
866
866
  type: PropType<ContainerProps>;
867
867
  };
868
- }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
868
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
869
869
  bodyRef: Ref<any, any>;
870
870
  }> & {} & ComponentCustomProperties & {} & {
871
871
  $slots: {
@@ -1000,8 +1000,8 @@ export declare const widgets: {
1000
1000
  card: boolean;
1001
1001
  }> & Omit<{
1002
1002
  readonly radius: boolean;
1003
- readonly border: boolean;
1004
1003
  readonly fit: boolean;
1004
+ readonly border: boolean;
1005
1005
  readonly card: boolean;
1006
1006
  readonly size?: BaseSize | undefined;
1007
1007
  readonly height?: string | number | undefined;
@@ -1166,7 +1166,7 @@ export declare const widgets: {
1166
1166
  };
1167
1167
  }>>> | null | undefined;
1168
1168
  readonly shadow?: "hover" | "none" | "always" | undefined;
1169
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
1169
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1170
1170
  $attrs: {
1171
1171
  [x: string]: unknown;
1172
1172
  };
@@ -1544,7 +1544,7 @@ export declare const widgets: {
1544
1544
  footer: {
1545
1545
  type: PropType<ContainerProps>;
1546
1546
  };
1547
- }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1547
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1548
1548
  bodyRef: Ref<any, any>;
1549
1549
  }> & {} & ComponentCustomProperties & {} & {
1550
1550
  $slots: {
@@ -1678,8 +1678,8 @@ export declare const widgets: {
1678
1678
  card: boolean;
1679
1679
  }> & Omit<{
1680
1680
  readonly radius: boolean;
1681
- readonly border: boolean;
1682
1681
  readonly fit: boolean;
1682
+ readonly border: boolean;
1683
1683
  readonly card: boolean;
1684
1684
  readonly size?: BaseSize | undefined;
1685
1685
  readonly height?: string | number | undefined;
@@ -1844,7 +1844,7 @@ export declare const widgets: {
1844
1844
  };
1845
1845
  }>>> | null | undefined;
1846
1846
  readonly shadow?: "hover" | "none" | "always" | undefined;
1847
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
1847
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1848
1848
  $attrs: {
1849
1849
  [x: string]: unknown;
1850
1850
  };
@@ -2222,7 +2222,7 @@ export declare const widgets: {
2222
2222
  footer: {
2223
2223
  type: PropType<ContainerProps>;
2224
2224
  };
2225
- }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
2225
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
2226
2226
  bodyRef: Ref<any, any>;
2227
2227
  }> & {} & ComponentCustomProperties & {} & {
2228
2228
  $slots: {
@@ -44,8 +44,8 @@ declare const _default: DefineComponent<{}, {
44
44
  card: boolean;
45
45
  }> & Omit<{
46
46
  readonly radius: boolean;
47
- readonly border: boolean;
48
47
  readonly fit: boolean;
48
+ readonly border: boolean;
49
49
  readonly card: boolean;
50
50
  readonly size?: BaseSize | undefined;
51
51
  readonly height?: string | number | undefined;
@@ -210,7 +210,7 @@ declare const _default: DefineComponent<{}, {
210
210
  };
211
211
  }>>> | null | undefined;
212
212
  readonly shadow?: "hover" | "none" | "always" | undefined;
213
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
213
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
214
214
  $attrs: {
215
215
  [x: string]: unknown;
216
216
  };
@@ -588,7 +588,7 @@ declare const _default: DefineComponent<{}, {
588
588
  footer: {
589
589
  type: PropType<ContainerProps>;
590
590
  };
591
- }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
591
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
592
592
  bodyRef: Ref<any, any>;
593
593
  }> & {} & ComponentCustomProperties & {} & {
594
594
  $slots: {