@vtj/ui 0.12.29 → 0.12.31

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.
@@ -58,6 +58,7 @@ declare function __VLS_template(): {
58
58
  readonly requireAsteriskPosition: "left" | "right";
59
59
  readonly labelSuffix: string;
60
60
  readonly validateOnRuleChange: boolean;
61
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
61
62
  readonly statusIcon: boolean;
62
63
  readonly hideRequiredAsterisk: boolean;
63
64
  readonly scrollToError: boolean;
@@ -74,12 +75,12 @@ declare function __VLS_template(): {
74
75
  readonly validateOnRuleChange: boolean;
75
76
  readonly hideRequiredAsterisk: boolean;
76
77
  readonly scrollToError: boolean;
78
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
77
79
  readonly size?: ("" | "large" | "default" | "small") | undefined;
78
80
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
79
81
  readonly model?: Record<string, any> | undefined;
80
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
81
82
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
82
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
83
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
83
84
  $attrs: {
84
85
  [x: string]: unknown;
85
86
  };
@@ -160,6 +161,8 @@ declare function __VLS_template(): {
160
161
  readonly required: false;
161
162
  readonly validator: ((val: unknown) => boolean) | undefined;
162
163
  __epPropKey: true;
164
+ } & {
165
+ readonly default: true;
163
166
  };
164
167
  readonly size: {
165
168
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -756,6 +759,7 @@ declare function __VLS_template(): {
756
759
  readonly requireAsteriskPosition: "left" | "right";
757
760
  readonly labelSuffix: string;
758
761
  readonly validateOnRuleChange: boolean;
762
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
759
763
  readonly statusIcon: boolean;
760
764
  readonly hideRequiredAsterisk: boolean;
761
765
  readonly scrollToError: boolean;
@@ -789,6 +793,7 @@ declare function __VLS_template(): {
789
793
  readonly requireAsteriskPosition: "left" | "right";
790
794
  readonly labelSuffix: string;
791
795
  readonly validateOnRuleChange: boolean;
796
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
792
797
  readonly statusIcon: boolean;
793
798
  readonly hideRequiredAsterisk: boolean;
794
799
  readonly scrollToError: boolean;
@@ -858,6 +863,8 @@ declare function __VLS_template(): {
858
863
  readonly required: false;
859
864
  readonly validator: ((val: unknown) => boolean) | undefined;
860
865
  __epPropKey: true;
866
+ } & {
867
+ readonly default: true;
861
868
  };
862
869
  readonly size: {
863
870
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -868,7 +875,7 @@ declare function __VLS_template(): {
868
875
  readonly disabled: BooleanConstructor;
869
876
  }>> & {
870
877
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
871
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
878
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
872
879
  validate: (callback?: FormValidateCallback) => FormValidationResult;
873
880
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
874
881
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -1685,6 +1692,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1685
1692
  readonly requireAsteriskPosition: "left" | "right";
1686
1693
  readonly labelSuffix: string;
1687
1694
  readonly validateOnRuleChange: boolean;
1695
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1688
1696
  readonly statusIcon: boolean;
1689
1697
  readonly hideRequiredAsterisk: boolean;
1690
1698
  readonly scrollToError: boolean;
@@ -1701,12 +1709,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1701
1709
  readonly validateOnRuleChange: boolean;
1702
1710
  readonly hideRequiredAsterisk: boolean;
1703
1711
  readonly scrollToError: boolean;
1712
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
1704
1713
  readonly size?: ("" | "large" | "default" | "small") | undefined;
1705
1714
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
1706
1715
  readonly model?: Record<string, any> | undefined;
1707
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
1708
1716
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
1709
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
1717
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
1710
1718
  $attrs: {
1711
1719
  [x: string]: unknown;
1712
1720
  };
@@ -1787,6 +1795,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1787
1795
  readonly required: false;
1788
1796
  readonly validator: ((val: unknown) => boolean) | undefined;
1789
1797
  __epPropKey: true;
1798
+ } & {
1799
+ readonly default: true;
1790
1800
  };
1791
1801
  readonly size: {
1792
1802
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -2383,6 +2393,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2383
2393
  readonly requireAsteriskPosition: "left" | "right";
2384
2394
  readonly labelSuffix: string;
2385
2395
  readonly validateOnRuleChange: boolean;
2396
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
2386
2397
  readonly statusIcon: boolean;
2387
2398
  readonly hideRequiredAsterisk: boolean;
2388
2399
  readonly scrollToError: boolean;
@@ -2416,6 +2427,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2416
2427
  readonly requireAsteriskPosition: "left" | "right";
2417
2428
  readonly labelSuffix: string;
2418
2429
  readonly validateOnRuleChange: boolean;
2430
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
2419
2431
  readonly statusIcon: boolean;
2420
2432
  readonly hideRequiredAsterisk: boolean;
2421
2433
  readonly scrollToError: boolean;
@@ -2485,6 +2497,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2485
2497
  readonly required: false;
2486
2498
  readonly validator: ((val: unknown) => boolean) | undefined;
2487
2499
  __epPropKey: true;
2500
+ } & {
2501
+ readonly default: true;
2488
2502
  };
2489
2503
  readonly size: {
2490
2504
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -2495,7 +2509,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2495
2509
  readonly disabled: BooleanConstructor;
2496
2510
  }>> & {
2497
2511
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
2498
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2512
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
2499
2513
  validate: (callback?: FormValidateCallback) => FormValidationResult;
2500
2514
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
2501
2515
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -3287,6 +3301,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
3287
3301
  readonly requireAsteriskPosition: "left" | "right";
3288
3302
  readonly labelSuffix: string;
3289
3303
  readonly validateOnRuleChange: boolean;
3304
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
3290
3305
  readonly statusIcon: boolean;
3291
3306
  readonly hideRequiredAsterisk: boolean;
3292
3307
  readonly scrollToError: boolean;
@@ -3303,12 +3318,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
3303
3318
  readonly validateOnRuleChange: boolean;
3304
3319
  readonly hideRequiredAsterisk: boolean;
3305
3320
  readonly scrollToError: boolean;
3321
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
3306
3322
  readonly size?: ("" | "large" | "default" | "small") | undefined;
3307
3323
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
3308
3324
  readonly model?: Record<string, any> | undefined;
3309
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
3310
3325
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
3311
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
3326
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
3312
3327
  $attrs: {
3313
3328
  [x: string]: unknown;
3314
3329
  };
@@ -3389,6 +3404,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
3389
3404
  readonly required: false;
3390
3405
  readonly validator: ((val: unknown) => boolean) | undefined;
3391
3406
  __epPropKey: true;
3407
+ } & {
3408
+ readonly default: true;
3392
3409
  };
3393
3410
  readonly size: {
3394
3411
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -3985,6 +4002,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
3985
4002
  readonly requireAsteriskPosition: "left" | "right";
3986
4003
  readonly labelSuffix: string;
3987
4004
  readonly validateOnRuleChange: boolean;
4005
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
3988
4006
  readonly statusIcon: boolean;
3989
4007
  readonly hideRequiredAsterisk: boolean;
3990
4008
  readonly scrollToError: boolean;
@@ -4018,6 +4036,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4018
4036
  readonly requireAsteriskPosition: "left" | "right";
4019
4037
  readonly labelSuffix: string;
4020
4038
  readonly validateOnRuleChange: boolean;
4039
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4021
4040
  readonly statusIcon: boolean;
4022
4041
  readonly hideRequiredAsterisk: boolean;
4023
4042
  readonly scrollToError: boolean;
@@ -4087,6 +4106,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4087
4106
  readonly required: false;
4088
4107
  readonly validator: ((val: unknown) => boolean) | undefined;
4089
4108
  __epPropKey: true;
4109
+ } & {
4110
+ readonly default: true;
4090
4111
  };
4091
4112
  readonly size: {
4092
4113
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -4097,7 +4118,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4097
4118
  readonly disabled: BooleanConstructor;
4098
4119
  }>> & {
4099
4120
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
4100
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
4121
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
4101
4122
  validate: (callback?: FormValidateCallback) => FormValidationResult;
4102
4123
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
4103
4124
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -4915,6 +4936,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4915
4936
  readonly requireAsteriskPosition: "left" | "right";
4916
4937
  readonly labelSuffix: string;
4917
4938
  readonly validateOnRuleChange: boolean;
4939
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4918
4940
  readonly statusIcon: boolean;
4919
4941
  readonly hideRequiredAsterisk: boolean;
4920
4942
  readonly scrollToError: boolean;
@@ -4931,12 +4953,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
4931
4953
  readonly validateOnRuleChange: boolean;
4932
4954
  readonly hideRequiredAsterisk: boolean;
4933
4955
  readonly scrollToError: boolean;
4956
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
4934
4957
  readonly size?: ("" | "large" | "default" | "small") | undefined;
4935
4958
  readonly rules?: Partial<Record<string, FormItemRule | FormItemRule[]>> | undefined;
4936
4959
  readonly model?: Record<string, any> | undefined;
4937
- readonly scrollIntoViewOptions?: (boolean | Record<string, any>) | undefined;
4938
4960
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
4939
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
4961
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
4940
4962
  $attrs: {
4941
4963
  [x: string]: unknown;
4942
4964
  };
@@ -5017,6 +5039,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
5017
5039
  readonly required: false;
5018
5040
  readonly validator: ((val: unknown) => boolean) | undefined;
5019
5041
  __epPropKey: true;
5042
+ } & {
5043
+ readonly default: true;
5020
5044
  };
5021
5045
  readonly size: {
5022
5046
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -5613,6 +5637,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
5613
5637
  readonly requireAsteriskPosition: "left" | "right";
5614
5638
  readonly labelSuffix: string;
5615
5639
  readonly validateOnRuleChange: boolean;
5640
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
5616
5641
  readonly statusIcon: boolean;
5617
5642
  readonly hideRequiredAsterisk: boolean;
5618
5643
  readonly scrollToError: boolean;
@@ -5646,6 +5671,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
5646
5671
  readonly requireAsteriskPosition: "left" | "right";
5647
5672
  readonly labelSuffix: string;
5648
5673
  readonly validateOnRuleChange: boolean;
5674
+ readonly scrollIntoViewOptions: boolean | Record<string, any>;
5649
5675
  readonly statusIcon: boolean;
5650
5676
  readonly hideRequiredAsterisk: boolean;
5651
5677
  readonly scrollToError: boolean;
@@ -5715,6 +5741,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
5715
5741
  readonly required: false;
5716
5742
  readonly validator: ((val: unknown) => boolean) | undefined;
5717
5743
  __epPropKey: true;
5744
+ } & {
5745
+ readonly default: true;
5718
5746
  };
5719
5747
  readonly size: {
5720
5748
  readonly type: PropType<"" | "large" | "default" | "small">;
@@ -5725,7 +5753,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
5725
5753
  readonly disabled: BooleanConstructor;
5726
5754
  }>> & {
5727
5755
  onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
5728
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
5756
+ }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
5729
5757
  validate: (callback?: FormValidateCallback) => FormValidationResult;
5730
5758
  validateField: (props?: FormItemProp | FormItemProp[], callback?: FormValidateCallback) => FormValidationResult;
5731
5759
  resetFields: (props?: FormItemProp | FormItemProp[]) => void;
@@ -123,7 +123,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
123
123
  readonly __epPropKey: true;
124
124
  };
125
125
  readonly type: {
126
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
126
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
127
127
  readonly required: false;
128
128
  readonly validator: ((val: unknown) => boolean) | undefined;
129
129
  __epPropKey: true;
@@ -335,7 +335,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
335
335
  readonly __epPropKey: true;
336
336
  };
337
337
  readonly type: {
338
- readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
338
+ readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text">;
339
339
  readonly required: false;
340
340
  readonly validator: ((val: unknown) => boolean) | undefined;
341
341
  __epPropKey: true;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.12.28
5
+ * @version 0.12.30
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.12.28";
8
+ export declare const version = "0.12.30";