@vtj/ui 0.12.28 → 0.12.30

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/ui",
3
3
  "private": false,
4
- "version": "0.12.28",
4
+ "version": "0.12.30",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -29,8 +29,8 @@
29
29
  "sortablejs": "~1.15.6",
30
30
  "vxe-table": "~4.6.17",
31
31
  "vxe-table-plugin-menus": "~4.0.3",
32
- "@vtj/icons": "~0.12.28",
33
- "@vtj/utils": "~0.12.28"
32
+ "@vtj/utils": "~0.12.30",
33
+ "@vtj/icons": "~0.12.30"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/qrcode": "^1.5.5",
@@ -114,7 +114,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
114
114
  readonly __epPropKey: true;
115
115
  };
116
116
  readonly type: {
117
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
117
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
118
118
  readonly required: false;
119
119
  readonly validator: ((val: unknown) => boolean) | undefined;
120
120
  __epPropKey: true;
@@ -311,7 +311,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
311
311
  readonly __epPropKey: true;
312
312
  };
313
313
  readonly type: {
314
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
314
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
315
315
  readonly required: false;
316
316
  readonly validator: ((val: unknown) => boolean) | undefined;
317
317
  __epPropKey: true;
@@ -507,7 +507,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
507
507
  readonly __epPropKey: true;
508
508
  };
509
509
  readonly type: {
510
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
510
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
511
511
  readonly required: false;
512
512
  readonly validator: ((val: unknown) => boolean) | undefined;
513
513
  __epPropKey: true;
@@ -756,7 +756,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
756
756
  readonly __epPropKey: true;
757
757
  };
758
758
  readonly type: {
759
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
759
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
760
760
  readonly required: false;
761
761
  readonly validator: ((val: unknown) => boolean) | undefined;
762
762
  __epPropKey: true;
@@ -953,7 +953,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
953
953
  readonly __epPropKey: true;
954
954
  };
955
955
  readonly type: {
956
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
956
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
957
957
  readonly required: false;
958
958
  readonly validator: ((val: unknown) => boolean) | undefined;
959
959
  __epPropKey: true;
@@ -1149,7 +1149,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1149
1149
  readonly __epPropKey: true;
1150
1150
  };
1151
1151
  readonly type: {
1152
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
1152
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
1153
1153
  readonly required: false;
1154
1154
  readonly validator: ((val: unknown) => boolean) | undefined;
1155
1155
  __epPropKey: true;
@@ -28,7 +28,7 @@ export declare function useDropdown(props: ActionProps): ComputedRef<Partial< Ex
28
28
  readonly __epPropKey: true;
29
29
  };
30
30
  readonly type: {
31
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
31
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
32
32
  readonly required: false;
33
33
  readonly validator: ((val: unknown) => boolean) | undefined;
34
34
  __epPropKey: true;
@@ -95,7 +95,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
95
95
  readonly __epPropKey: true;
96
96
  };
97
97
  readonly type: {
98
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
98
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
99
99
  readonly required: false;
100
100
  readonly validator: ((val: unknown) => boolean) | undefined;
101
101
  __epPropKey: true;
@@ -291,7 +291,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
291
291
  readonly __epPropKey: true;
292
292
  };
293
293
  readonly type: {
294
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
294
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
295
295
  readonly required: false;
296
296
  readonly validator: ((val: unknown) => boolean) | undefined;
297
297
  __epPropKey: true;
@@ -525,7 +525,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
525
525
  readonly __epPropKey: true;
526
526
  };
527
527
  readonly type: {
528
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
528
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
529
529
  readonly required: false;
530
530
  readonly validator: ((val: unknown) => boolean) | undefined;
531
531
  __epPropKey: true;
@@ -721,7 +721,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
721
721
  readonly __epPropKey: true;
722
722
  };
723
723
  readonly type: {
724
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
724
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
725
725
  readonly required: false;
726
726
  readonly validator: ((val: unknown) => boolean) | undefined;
727
727
  __epPropKey: true;
@@ -118,7 +118,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
118
118
  readonly __epPropKey: true;
119
119
  };
120
120
  readonly type: {
121
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
121
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
122
122
  readonly required: false;
123
123
  readonly validator: ((val: unknown) => boolean) | undefined;
124
124
  __epPropKey: true;
@@ -314,7 +314,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
314
314
  readonly __epPropKey: true;
315
315
  };
316
316
  readonly type: {
317
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
317
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
318
318
  readonly required: false;
319
319
  readonly validator: ((val: unknown) => boolean) | undefined;
320
320
  __epPropKey: true;
@@ -560,7 +560,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
560
560
  readonly __epPropKey: true;
561
561
  };
562
562
  readonly type: {
563
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
563
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
564
564
  readonly required: false;
565
565
  readonly validator: ((val: unknown) => boolean) | undefined;
566
566
  __epPropKey: true;
@@ -756,7 +756,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
756
756
  readonly __epPropKey: true;
757
757
  };
758
758
  readonly type: {
759
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
759
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
760
760
  readonly required: false;
761
761
  readonly validator: ((val: unknown) => boolean) | undefined;
762
762
  __epPropKey: true;
@@ -1217,6 +1217,7 @@ declare function __VLS_template(): {
1217
1217
  readonly requireAsteriskPosition: "left" | "right";
1218
1218
  readonly labelSuffix: string;
1219
1219
  readonly validateOnRuleChange: boolean;
1220
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1220
1221
  readonly statusIcon: boolean;
1221
1222
  readonly hideRequiredAsterisk: boolean;
1222
1223
  readonly scrollToError: boolean;
@@ -1233,12 +1234,12 @@ declare function __VLS_template(): {
1233
1234
  readonly validateOnRuleChange: boolean;
1234
1235
  readonly hideRequiredAsterisk: boolean;
1235
1236
  readonly scrollToError: boolean;
1237
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1236
1238
  readonly size?: ("" | "large" | "default" | "small") | undefined;
1237
1239
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
1238
1240
  readonly model?: Record<string, any> | undefined;
1239
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
1240
1241
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
1241
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
1242
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
1242
1243
  $attrs: {
1243
1244
  [x: string]: unknown;
1244
1245
  };
@@ -1319,6 +1320,8 @@ declare function __VLS_template(): {
1319
1320
  readonly required: false;
1320
1321
  readonly validator: ((val: unknown) => boolean) | undefined;
1321
1322
  __epPropKey: true;
1323
+ } & {
1324
+ readonly default: true;
1322
1325
  };
1323
1326
  readonly size: {
1324
1327
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -1915,6 +1918,7 @@ declare function __VLS_template(): {
1915
1918
  readonly requireAsteriskPosition: "left" | "right";
1916
1919
  readonly labelSuffix: string;
1917
1920
  readonly validateOnRuleChange: boolean;
1921
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1918
1922
  readonly statusIcon: boolean;
1919
1923
  readonly hideRequiredAsterisk: boolean;
1920
1924
  readonly scrollToError: boolean;
@@ -1948,6 +1952,7 @@ declare function __VLS_template(): {
1948
1952
  readonly requireAsteriskPosition: "left" | "right";
1949
1953
  readonly labelSuffix: string;
1950
1954
  readonly validateOnRuleChange: boolean;
1955
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1951
1956
  readonly statusIcon: boolean;
1952
1957
  readonly hideRequiredAsterisk: boolean;
1953
1958
  readonly scrollToError: boolean;
@@ -2017,6 +2022,8 @@ declare function __VLS_template(): {
2017
2022
  readonly required: false;
2018
2023
  readonly validator: ((val: unknown) => boolean) | undefined;
2019
2024
  __epPropKey: true;
2025
+ } & {
2026
+ readonly default: true;
2020
2027
  };
2021
2028
  readonly size: {
2022
2029
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -2027,7 +2034,7 @@ declare function __VLS_template(): {
2027
2034
  readonly disabled: BooleanConstructor;
2028
2035
  }>> & {
2029
2036
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
2030
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2037
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2031
2038
  validate: (callback?: FormValidateCallback) => FormValidationResult;
2032
2039
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
2033
2040
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -4050,6 +4057,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4050
4057
  readonly requireAsteriskPosition: "left" | "right";
4051
4058
  readonly labelSuffix: string;
4052
4059
  readonly validateOnRuleChange: boolean;
4060
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4053
4061
  readonly statusIcon: boolean;
4054
4062
  readonly hideRequiredAsterisk: boolean;
4055
4063
  readonly scrollToError: boolean;
@@ -4066,12 +4074,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4066
4074
  readonly validateOnRuleChange: boolean;
4067
4075
  readonly hideRequiredAsterisk: boolean;
4068
4076
  readonly scrollToError: boolean;
4077
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4069
4078
  readonly size?: ("" | "large" | "default" | "small") | undefined;
4070
4079
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
4071
4080
  readonly model?: Record<string, any> | undefined;
4072
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
4073
4081
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
4074
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
4082
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
4075
4083
  $attrs: {
4076
4084
  [x: string]: unknown;
4077
4085
  };
@@ -4152,6 +4160,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4152
4160
  readonly required: false;
4153
4161
  readonly validator: ((val: unknown) => boolean) | undefined;
4154
4162
  __epPropKey: true;
4163
+ } & {
4164
+ readonly default: true;
4155
4165
  };
4156
4166
  readonly size: {
4157
4167
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -4748,6 +4758,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4748
4758
  readonly requireAsteriskPosition: "left" | "right";
4749
4759
  readonly labelSuffix: string;
4750
4760
  readonly validateOnRuleChange: boolean;
4761
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4751
4762
  readonly statusIcon: boolean;
4752
4763
  readonly hideRequiredAsterisk: boolean;
4753
4764
  readonly scrollToError: boolean;
@@ -4781,6 +4792,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4781
4792
  readonly requireAsteriskPosition: "left" | "right";
4782
4793
  readonly labelSuffix: string;
4783
4794
  readonly validateOnRuleChange: boolean;
4795
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4784
4796
  readonly statusIcon: boolean;
4785
4797
  readonly hideRequiredAsterisk: boolean;
4786
4798
  readonly scrollToError: boolean;
@@ -4850,6 +4862,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4850
4862
  readonly required: false;
4851
4863
  readonly validator: ((val: unknown) => boolean) | undefined;
4852
4864
  __epPropKey: true;
4865
+ } & {
4866
+ readonly default: true;
4853
4867
  };
4854
4868
  readonly size: {
4855
4869
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -4860,7 +4874,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4860
4874
  readonly disabled: BooleanConstructor;
4861
4875
  }>> & {
4862
4876
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
4863
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
4877
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
4864
4878
  validate: (callback?: FormValidateCallback) => FormValidationResult;
4865
4879
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
4866
4880
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -24,6 +24,7 @@ declare function __VLS_template(): {
24
24
  readonly requireAsteriskPosition: "left" | "right";
25
25
  readonly labelSuffix: string;
26
26
  readonly validateOnRuleChange: boolean;
27
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
27
28
  readonly statusIcon: boolean;
28
29
  readonly hideRequiredAsterisk: boolean;
29
30
  readonly scrollToError: boolean;
@@ -40,12 +41,12 @@ declare function __VLS_template(): {
40
41
  readonly validateOnRuleChange: boolean;
41
42
  readonly hideRequiredAsterisk: boolean;
42
43
  readonly scrollToError: boolean;
44
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
43
45
  readonly size?: ("" | "large" | "default" | "small") | undefined;
44
46
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
45
47
  readonly model?: Record<string, any> | undefined;
46
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
47
48
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
48
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
49
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
49
50
  $attrs: {
50
51
  [x: string]: unknown;
51
52
  };
@@ -126,6 +127,8 @@ declare function __VLS_template(): {
126
127
  readonly required: false;
127
128
  readonly validator: ((val: unknown) => boolean) | undefined;
128
129
  __epPropKey: true;
130
+ } & {
131
+ readonly default: true;
129
132
  };
130
133
  readonly size: {
131
134
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -722,6 +725,7 @@ declare function __VLS_template(): {
722
725
  readonly requireAsteriskPosition: "left" | "right";
723
726
  readonly labelSuffix: string;
724
727
  readonly validateOnRuleChange: boolean;
728
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
725
729
  readonly statusIcon: boolean;
726
730
  readonly hideRequiredAsterisk: boolean;
727
731
  readonly scrollToError: boolean;
@@ -755,6 +759,7 @@ declare function __VLS_template(): {
755
759
  readonly requireAsteriskPosition: "left" | "right";
756
760
  readonly labelSuffix: string;
757
761
  readonly validateOnRuleChange: boolean;
762
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
758
763
  readonly statusIcon: boolean;
759
764
  readonly hideRequiredAsterisk: boolean;
760
765
  readonly scrollToError: boolean;
@@ -824,6 +829,8 @@ declare function __VLS_template(): {
824
829
  readonly required: false;
825
830
  readonly validator: ((val: unknown) => boolean) | undefined;
826
831
  __epPropKey: true;
832
+ } & {
833
+ readonly default: true;
827
834
  };
828
835
  readonly size: {
829
836
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -834,7 +841,7 @@ declare function __VLS_template(): {
834
841
  readonly disabled: BooleanConstructor;
835
842
  }>> & {
836
843
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
837
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
844
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
838
845
  validate: (callback?: FormValidateCallback) => FormValidationResult;
839
846
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
840
847
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -1540,6 +1547,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1540
1547
  readonly requireAsteriskPosition: "left" | "right";
1541
1548
  readonly labelSuffix: string;
1542
1549
  readonly validateOnRuleChange: boolean;
1550
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1543
1551
  readonly statusIcon: boolean;
1544
1552
  readonly hideRequiredAsterisk: boolean;
1545
1553
  readonly scrollToError: boolean;
@@ -1556,12 +1564,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1556
1564
  readonly validateOnRuleChange: boolean;
1557
1565
  readonly hideRequiredAsterisk: boolean;
1558
1566
  readonly scrollToError: boolean;
1567
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1559
1568
  readonly size?: ("" | "large" | "default" | "small") | undefined;
1560
1569
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
1561
1570
  readonly model?: Record<string, any> | undefined;
1562
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
1563
1571
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
1564
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
1572
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
1565
1573
  $attrs: {
1566
1574
  [x: string]: unknown;
1567
1575
  };
@@ -1642,6 +1650,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1642
1650
  readonly required: false;
1643
1651
  readonly validator: ((val: unknown) => boolean) | undefined;
1644
1652
  __epPropKey: true;
1653
+ } & {
1654
+ readonly default: true;
1645
1655
  };
1646
1656
  readonly size: {
1647
1657
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -2238,6 +2248,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2238
2248
  readonly requireAsteriskPosition: "left" | "right";
2239
2249
  readonly labelSuffix: string;
2240
2250
  readonly validateOnRuleChange: boolean;
2251
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
2241
2252
  readonly statusIcon: boolean;
2242
2253
  readonly hideRequiredAsterisk: boolean;
2243
2254
  readonly scrollToError: boolean;
@@ -2271,6 +2282,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2271
2282
  readonly requireAsteriskPosition: "left" | "right";
2272
2283
  readonly labelSuffix: string;
2273
2284
  readonly validateOnRuleChange: boolean;
2285
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
2274
2286
  readonly statusIcon: boolean;
2275
2287
  readonly hideRequiredAsterisk: boolean;
2276
2288
  readonly scrollToError: boolean;
@@ -2340,6 +2352,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2340
2352
  readonly required: false;
2341
2353
  readonly validator: ((val: unknown) => boolean) | undefined;
2342
2354
  __epPropKey: true;
2355
+ } & {
2356
+ readonly default: true;
2343
2357
  };
2344
2358
  readonly size: {
2345
2359
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -2350,7 +2364,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2350
2364
  readonly disabled: BooleanConstructor;
2351
2365
  }>> & {
2352
2366
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
2353
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2367
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2354
2368
  validate: (callback?: FormValidateCallback) => FormValidationResult;
2355
2369
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
2356
2370
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -1,5 +1,5 @@
1
1
  import { VxeGlobalRendererHandles } from '../../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { GridEditorProps } from '../../..';
4
4
  import { InputAutoSize } from 'element-plus';
5
5
  import { OnCleanup } from '@vue/reactivity';
@@ -48,7 +48,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
48
48
  readonly disabled: boolean;
49
49
  readonly tabindex: string | number;
50
50
  readonly autofocus: boolean;
51
- readonly modelValue: string | number | null | undefined;
51
+ readonly modelValue: string | number | null;
52
52
  readonly validateEvent: boolean;
53
53
  readonly autosize: InputAutoSize;
54
54
  readonly autocomplete: string;
@@ -56,7 +56,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
56
56
  readonly clearable: boolean;
57
57
  readonly showPassword: boolean;
58
58
  readonly showWordLimit: boolean;
59
- readonly inputStyle: StyleValue;
59
+ readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
60
60
  readonly rows: number;
61
61
  readonly size?: ("" | "large" | "default" | "small") | undefined;
62
62
  readonly form?: string | undefined;
@@ -253,7 +253,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
253
253
  };
254
254
  tagType: {
255
255
  default: string;
256
- type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
256
+ type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
257
257
  required: false;
258
258
  validator: ((val: unknown) => boolean) | undefined;
259
259
  __epPropKey: true;
@@ -498,7 +498,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
498
498
  collapseTags: boolean;
499
499
  maxCollapseTags: number;
500
500
  collapseTagsTooltip: boolean;
501
- tagType: "success" | "warning" | "info" | "primary" | "danger";
501
+ tagType: "primary" | "success" | "warning" | "info" | "danger";
502
502
  tagEffect: "dark" | "light" | "plain";
503
503
  automaticDropdown: boolean;
504
504
  allowCreate: boolean;
@@ -658,7 +658,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
658
658
  };
659
659
  tagType: {
660
660
  default: string;
661
- type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
661
+ type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
662
662
  required: false;
663
663
  validator: ((val: unknown) => boolean) | undefined;
664
664
  __epPropKey: true;
@@ -903,7 +903,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
903
903
  collapseTags: boolean;
904
904
  maxCollapseTags: number;
905
905
  collapseTagsTooltip: boolean;
906
- tagType: "success" | "warning" | "info" | "primary" | "danger";
906
+ tagType: "primary" | "success" | "warning" | "info" | "danger";
907
907
  tagEffect: "dark" | "light" | "plain";
908
908
  automaticDropdown: boolean;
909
909
  allowCreate: boolean;
@@ -1,5 +1,5 @@
1
1
  import { GridEditorProps } from './types';
2
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { InputAutoSize } from 'element-plus';
4
4
  import { OnCleanup } from '@vue/reactivity';
5
5
  declare const _default: DefineComponent<GridEditorProps, {
@@ -42,7 +42,7 @@ declare const _default: DefineComponent<GridEditorProps, {
42
42
  readonly disabled: boolean;
43
43
  readonly tabindex: string | number;
44
44
  readonly autofocus: boolean;
45
- readonly modelValue: string | number | null | undefined;
45
+ readonly modelValue: string | number | null;
46
46
  readonly validateEvent: boolean;
47
47
  readonly autosize: InputAutoSize;
48
48
  readonly autocomplete: string;
@@ -50,7 +50,7 @@ declare const _default: DefineComponent<GridEditorProps, {
50
50
  readonly clearable: boolean;
51
51
  readonly showPassword: boolean;
52
52
  readonly showWordLimit: boolean;
53
- readonly inputStyle: StyleValue;
53
+ readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
54
54
  readonly rows: number;
55
55
  readonly size?: ("" | "large" | "default" | "small") | undefined;
56
56
  readonly form?: string | undefined;
@@ -406,7 +406,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
406
406
  readonly __epPropKey: true;
407
407
  };
408
408
  readonly type: {
409
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
409
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
410
410
  readonly required: false;
411
411
  readonly validator: ((val: unknown) => boolean) | undefined;
412
412
  __epPropKey: true;
@@ -602,7 +602,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
602
602
  readonly __epPropKey: true;
603
603
  };
604
604
  readonly type: {
605
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
605
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
606
606
  readonly required: false;
607
607
  readonly validator: ((val: unknown) => boolean) | undefined;
608
608
  __epPropKey: true;
@@ -853,7 +853,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
853
853
  readonly __epPropKey: true;
854
854
  };
855
855
  readonly type: {
856
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
856
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
857
857
  readonly required: false;
858
858
  readonly validator: ((val: unknown) => boolean) | undefined;
859
859
  __epPropKey: true;
@@ -1049,7 +1049,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1049
1049
  readonly __epPropKey: true;
1050
1050
  };
1051
1051
  readonly type: {
1052
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
1052
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
1053
1053
  readonly required: false;
1054
1054
  readonly validator: ((val: unknown) => boolean) | undefined;
1055
1055
  __epPropKey: true;
@@ -310,7 +310,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
310
310
  };
311
311
  tagType: {
312
312
  default: string;
313
- type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
313
+ type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
314
314
  required: false;
315
315
  validator: ((val: unknown) => boolean) | undefined;
316
316
  __epPropKey: true;
@@ -555,7 +555,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
555
555
  collapseTags: boolean;
556
556
  maxCollapseTags: number;
557
557
  collapseTagsTooltip: boolean;
558
- tagType: "success" | "warning" | "info" | "primary" | "danger";
558
+ tagType: "primary" | "success" | "warning" | "info" | "danger";
559
559
  tagEffect: "dark" | "light" | "plain";
560
560
  automaticDropdown: boolean;
561
561
  allowCreate: boolean;
@@ -715,7 +715,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
715
715
  };
716
716
  tagType: {
717
717
  default: string;
718
- type: PropType<"success" | "warning" | "info" | "primary" | "danger">;
718
+ type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
719
719
  required: false;
720
720
  validator: ((val: unknown) => boolean) | undefined;
721
721
  __epPropKey: true;
@@ -960,7 +960,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
960
960
  collapseTags: boolean;
961
961
  maxCollapseTags: number;
962
962
  collapseTagsTooltip: boolean;
963
- tagType: "success" | "warning" | "info" | "primary" | "danger";
963
+ tagType: "primary" | "success" | "warning" | "info" | "danger";
964
964
  tagEffect: "dark" | "light" | "plain";
965
965
  automaticDropdown: boolean;
966
966
  allowCreate: boolean;