lew-ui 2.3.6 → 2.3.8

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.
Files changed (105) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +33 -33
  3. package/README.zh-CN.md +35 -35
  4. package/dist/components/alert/src/LewAlert.vue.d.ts +9 -7
  5. package/dist/components/alert/src/props.d.ts +8 -6
  6. package/dist/components/avatar/src/LewAvatar.vue.d.ts +37 -38
  7. package/dist/components/avatar/src/props.d.ts +22 -20
  8. package/dist/components/backtop/src/LewBackTop.vue.d.ts +9 -1
  9. package/dist/components/backtop/src/props.d.ts +4 -0
  10. package/dist/components/badge/src/LewBadge.vue.d.ts +12 -8
  11. package/dist/components/badge/src/props.d.ts +7 -5
  12. package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +14 -10
  13. package/dist/components/breadcrumb/src/props.d.ts +10 -8
  14. package/dist/components/button/src/LewButton.vue.d.ts +60 -36
  15. package/dist/components/button/src/props.d.ts +31 -19
  16. package/dist/components/cascader/src/LewCascader.vue.d.ts +51 -48
  17. package/dist/components/cascader/src/props.d.ts +29 -21
  18. package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +41 -39
  19. package/dist/components/checkbox/src/props.d.ts +43 -38
  20. package/dist/components/collapse/src/LewCollapse.vue.d.ts +4 -0
  21. package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +10 -4
  22. package/dist/components/collapse/src/props.d.ts +8 -2
  23. package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +31 -27
  24. package/dist/components/date-picker/src/props.d.ts +21 -18
  25. package/dist/components/date-range-picker/src/LewDateRange.vue.d.ts +4 -0
  26. package/dist/components/date-range-picker/src/LewDateRangePicker.vue.d.ts +41 -35
  27. package/dist/components/date-range-picker/src/props.d.ts +24 -19
  28. package/dist/components/drawer/src/LewDrawer.vue.d.ts +36 -30
  29. package/dist/components/drawer/src/props.d.ts +18 -15
  30. package/dist/components/dropdown/src/LewDropdown.vue.d.ts +24 -16
  31. package/dist/components/dropdown/src/props.d.ts +14 -12
  32. package/dist/components/empty/src/LewEmpty.vue.d.ts +15 -5
  33. package/dist/components/empty/src/props.d.ts +7 -2
  34. package/dist/components/flex/src/LewFlex.vue.d.ts +32 -26
  35. package/dist/components/flex/src/props.d.ts +18 -12
  36. package/dist/components/form/src/LewForm.vue.d.ts +35 -23
  37. package/dist/components/form/src/LewFormItem.vue.d.ts +70 -62
  38. package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +5 -3
  39. package/dist/components/form/src/props.d.ts +47 -36
  40. package/dist/components/image/src/LewImage.vue.d.ts +48 -33
  41. package/dist/components/image/src/props.d.ts +25 -16
  42. package/dist/components/input/src/LewInput.vue.d.ts +67 -64
  43. package/dist/components/input/src/props.d.ts +33 -29
  44. package/dist/components/input-number/src/LewInputNumber.vue.d.ts +52 -40
  45. package/dist/components/input-number/src/props.d.ts +28 -20
  46. package/dist/components/input-table/src/props.d.ts +62 -15
  47. package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
  48. package/dist/components/input-tag/src/props.d.ts +6 -4
  49. package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +3 -3
  50. package/dist/components/magic-number/src/props.d.ts +1 -1
  51. package/dist/components/mark/src/LewMark.vue.d.ts +20 -16
  52. package/dist/components/mark/src/props.d.ts +13 -9
  53. package/dist/components/menu/src/LewMenu.vue.d.ts +11 -7
  54. package/dist/components/menu/src/props.d.ts +7 -5
  55. package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +3 -3
  56. package/dist/components/menu-tree/src/props.d.ts +3 -3
  57. package/dist/components/modal/src/LewModal.vue.d.ts +10 -4
  58. package/dist/components/modal/src/props.d.ts +4 -1
  59. package/dist/components/pagination/src/LewPagination.vue.d.ts +7 -3
  60. package/dist/components/pagination/src/props.d.ts +10 -5
  61. package/dist/components/popok/src/LewPopok.vue.d.ts +18 -10
  62. package/dist/components/popok/src/props.d.ts +7 -3
  63. package/dist/components/popover/src/LewPopover.vue.d.ts +38 -34
  64. package/dist/components/popover/src/props.d.ts +20 -16
  65. package/dist/components/radio/src/LewRadio.vue.d.ts +33 -31
  66. package/dist/components/radio/src/LewRadioGroup.vue.d.ts +27 -23
  67. package/dist/components/radio/src/props.d.ts +32 -28
  68. package/dist/components/result/src/LewResult.vue.d.ts +9 -3
  69. package/dist/components/result/src/props.d.ts +7 -1
  70. package/dist/components/select/src/LewSelect.vue.d.ts +20 -20
  71. package/dist/components/select/src/props.d.ts +10 -8
  72. package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +29 -23
  73. package/dist/components/select-multiple/src/props.d.ts +13 -10
  74. package/dist/components/steps/src/LewSteps.vue.d.ts +10 -6
  75. package/dist/components/steps/src/props.d.ts +7 -4
  76. package/dist/components/switch/src/LewSwitch.vue.d.ts +12 -8
  77. package/dist/components/switch/src/props.d.ts +9 -3
  78. package/dist/components/table/src/LewTable.vue.d.ts +30 -23
  79. package/dist/components/table/src/props.d.ts +23 -11
  80. package/dist/components/tabs/src/LewTabs.vue.d.ts +27 -17
  81. package/dist/components/tabs/src/props.d.ts +16 -11
  82. package/dist/components/tag/src/LewTag.vue.d.ts +12 -6
  83. package/dist/components/tag/src/props.d.ts +6 -3
  84. package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +42 -30
  85. package/dist/components/text-trim/src/props.d.ts +21 -13
  86. package/dist/components/textarea/src/LewTextarea.vue.d.ts +37 -42
  87. package/dist/components/textarea/src/props.d.ts +17 -18
  88. package/dist/components/title/src/LewTitle.vue.d.ts +17 -11
  89. package/dist/components/title/src/props.d.ts +10 -10
  90. package/dist/components/tree/src/LewTree.vue.d.ts +11 -9
  91. package/dist/components/tree/src/props.d.ts +5 -4
  92. package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +100 -90
  93. package/dist/components/tree-select/src/props.d.ts +56 -44
  94. package/dist/components/upload/src/LewUpload.vue.d.ts +49 -39
  95. package/dist/components/upload/src/props.d.ts +26 -21
  96. package/dist/directives/backtop/src/index.d.ts +2 -2
  97. package/dist/directives/dialog/src/LewDialog.vue.d.ts +16 -12
  98. package/dist/directives/dialog/src/index.d.ts +5 -5
  99. package/dist/directives/dialog/src/props.d.ts +8 -7
  100. package/dist/index.d.ts +1 -0
  101. package/dist/index.mjs +2732 -1333
  102. package/dist/index.umd.js +46 -46
  103. package/dist/style.css +1 -1
  104. package/package.json +1 -1
  105. package/dist/components/input-table/src/LewInputTable.vue.d.ts +0 -87
@@ -1,35 +1,34 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- id: {
3
- type: StringConstructor;
4
- default: string;
5
- description: string;
6
- hidden: boolean;
7
- };
8
2
  options: {
9
- type: ArrayConstructor;
3
+ type: globalThis.PropType<Array<Record<string, any>>>;
10
4
  required: boolean;
11
- default: never[];
5
+ default: () => never[];
12
6
  description: string;
7
+ validator(value: Array<Record<string, any>>): boolean;
13
8
  };
14
9
  size: {
15
- type: globalThis.PropType<import('./props').FormSize>;
10
+ type: globalThis.PropType<import('../../..').LewSize>;
16
11
  default: string;
17
12
  description: string;
13
+ validator(value: import('../../..').LewSize): boolean;
18
14
  };
19
15
  width: {
20
16
  type: (StringConstructor | NumberConstructor)[];
21
17
  default: string;
22
18
  description: string;
19
+ validator(value: number | string): boolean;
23
20
  };
24
21
  columns: {
25
22
  type: (StringConstructor | NumberConstructor)[];
26
23
  default: number;
27
24
  description: string;
25
+ validator(value: number | string): boolean;
28
26
  };
29
27
  labelWidth: {
30
28
  type: (StringConstructor | NumberConstructor)[];
31
29
  default: string;
32
30
  description: string;
31
+ validator(value: number | string): boolean;
33
32
  };
34
33
  disabled: {
35
34
  type: BooleanConstructor;
@@ -42,9 +41,16 @@ declare const _default: import('vue').DefineComponent<{
42
41
  description: string;
43
42
  };
44
43
  direction: {
44
+ type: globalThis.PropType<import('./props').FormDirection>;
45
+ default: string;
46
+ description: string;
47
+ validator(value: import('./props').FormDirection): boolean;
48
+ };
49
+ id: {
45
50
  type: StringConstructor;
46
51
  default: string;
47
52
  description: string;
53
+ hidden: boolean;
48
54
  };
49
55
  }, {
50
56
  getForm: () => {};
@@ -55,37 +61,36 @@ declare const _default: import('vue').DefineComponent<{
55
61
  change: (...args: any[]) => void;
56
62
  mounted: (...args: any[]) => void;
57
63
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
- id: {
59
- type: StringConstructor;
60
- default: string;
61
- description: string;
62
- hidden: boolean;
63
- };
64
64
  options: {
65
- type: ArrayConstructor;
65
+ type: globalThis.PropType<Array<Record<string, any>>>;
66
66
  required: boolean;
67
- default: never[];
67
+ default: () => never[];
68
68
  description: string;
69
+ validator(value: Array<Record<string, any>>): boolean;
69
70
  };
70
71
  size: {
71
- type: globalThis.PropType<import('./props').FormSize>;
72
+ type: globalThis.PropType<import('../../..').LewSize>;
72
73
  default: string;
73
74
  description: string;
75
+ validator(value: import('../../..').LewSize): boolean;
74
76
  };
75
77
  width: {
76
78
  type: (StringConstructor | NumberConstructor)[];
77
79
  default: string;
78
80
  description: string;
81
+ validator(value: number | string): boolean;
79
82
  };
80
83
  columns: {
81
84
  type: (StringConstructor | NumberConstructor)[];
82
85
  default: number;
83
86
  description: string;
87
+ validator(value: number | string): boolean;
84
88
  };
85
89
  labelWidth: {
86
90
  type: (StringConstructor | NumberConstructor)[];
87
91
  default: string;
88
92
  description: string;
93
+ validator(value: number | string): boolean;
89
94
  };
90
95
  disabled: {
91
96
  type: BooleanConstructor;
@@ -98,22 +103,29 @@ declare const _default: import('vue').DefineComponent<{
98
103
  description: string;
99
104
  };
100
105
  direction: {
106
+ type: globalThis.PropType<import('./props').FormDirection>;
107
+ default: string;
108
+ description: string;
109
+ validator(value: import('./props').FormDirection): boolean;
110
+ };
111
+ id: {
101
112
  type: StringConstructor;
102
113
  default: string;
103
114
  description: string;
115
+ hidden: boolean;
104
116
  };
105
117
  }>> & {
106
118
  onChange?: ((...args: any[]) => any) | undefined;
107
119
  onMounted?: ((...args: any[]) => any) | undefined;
108
120
  }, {
109
- direction: string;
121
+ direction: import('./props').FormDirection;
110
122
  width: string | number;
111
- size: import('./props').FormSize;
112
- options: unknown[];
113
- readonly: boolean;
123
+ size: import('../../..').LewSize;
124
+ options: Record<string, any>[];
114
125
  disabled: boolean;
115
- id: string;
126
+ readonly: boolean;
116
127
  columns: string | number;
117
128
  labelWidth: string | number;
129
+ id: string;
118
130
  }, {}>;
119
131
  export default _default;
@@ -1,52 +1,50 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
2
  modelValue: import('vue').PropType<any>;
3
- id: {
3
+ label: {
4
4
  type: StringConstructor;
5
5
  default: string;
6
6
  description: string;
7
- hidden: boolean;
8
7
  };
9
- label: {
8
+ field: {
10
9
  type: StringConstructor;
11
10
  default: string;
12
11
  description: string;
13
12
  };
14
- tips: {
15
- type: StringConstructor;
16
- default: string;
13
+ required: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
17
16
  description: string;
18
17
  };
19
- field: {
18
+ as: {
20
19
  type: StringConstructor;
21
20
  default: string;
22
21
  description: string;
23
22
  };
24
- gridArea: {
25
- type: StringConstructor;
23
+ size: {
24
+ type: globalThis.PropType<import('../../..').LewSize>;
26
25
  default: string;
27
26
  description: string;
27
+ validator(value: import('../../..').LewSize): boolean;
28
28
  };
29
29
  width: {
30
30
  type: (StringConstructor | NumberConstructor)[];
31
31
  default: string;
32
32
  description: string;
33
+ validator(value: number | string): boolean;
33
34
  };
34
35
  labelWidth: {
35
36
  type: (StringConstructor | NumberConstructor)[];
36
37
  default: string;
37
38
  description: string;
39
+ validator(value: number | string): boolean;
38
40
  };
39
41
  direction: {
40
- type: StringConstructor;
41
- default: string;
42
- description: string;
43
- };
44
- size: {
45
- type: globalThis.PropType<import('../../..').FormSize>;
42
+ type: globalThis.PropType<import('../../..').FormDirection>;
46
43
  default: string;
47
44
  description: string;
45
+ validator(value: import('../../..').FormDirection): boolean;
48
46
  };
49
- required: {
47
+ disabled: {
50
48
  type: BooleanConstructor;
51
49
  default: boolean;
52
50
  description: string;
@@ -56,13 +54,9 @@ declare const _default: import('vue').DefineComponent<{
56
54
  default: boolean;
57
55
  description: string;
58
56
  };
59
- disabled: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- description: string;
63
- };
64
- rule: {
65
- type: globalThis.PropType<Record<string, any>>;
57
+ tips: {
58
+ type: StringConstructor;
59
+ default: string;
66
60
  description: string;
67
61
  };
68
62
  errMessage: {
@@ -70,14 +64,13 @@ declare const _default: import('vue').DefineComponent<{
70
64
  default: string;
71
65
  description: string;
72
66
  };
73
- as: {
74
- type: StringConstructor;
75
- default: string;
67
+ rule: {
68
+ type: globalThis.PropType<Record<string, any>>;
76
69
  description: string;
77
70
  };
78
71
  props: {
79
72
  type: globalThis.PropType<Record<string, any>>;
80
- default: {};
73
+ default: () => {};
81
74
  description: string;
82
75
  };
83
76
  between: {
@@ -85,6 +78,17 @@ declare const _default: import('vue').DefineComponent<{
85
78
  default: boolean;
86
79
  description: string;
87
80
  };
81
+ gridArea: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ description: string;
85
+ };
86
+ id: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ description: string;
90
+ hidden: boolean;
91
+ };
88
92
  }, {
89
93
  validate: () => void;
90
94
  setError: (message: any) => void;
@@ -92,53 +96,51 @@ declare const _default: import('vue').DefineComponent<{
92
96
  change: (...args: any[]) => void;
93
97
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
94
98
  modelValue: import('vue').PropType<any>;
95
- id: {
99
+ label: {
96
100
  type: StringConstructor;
97
101
  default: string;
98
102
  description: string;
99
- hidden: boolean;
100
103
  };
101
- label: {
104
+ field: {
102
105
  type: StringConstructor;
103
106
  default: string;
104
107
  description: string;
105
108
  };
106
- tips: {
107
- type: StringConstructor;
108
- default: string;
109
+ required: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
109
112
  description: string;
110
113
  };
111
- field: {
114
+ as: {
112
115
  type: StringConstructor;
113
116
  default: string;
114
117
  description: string;
115
118
  };
116
- gridArea: {
117
- type: StringConstructor;
119
+ size: {
120
+ type: globalThis.PropType<import('../../..').LewSize>;
118
121
  default: string;
119
122
  description: string;
123
+ validator(value: import('../../..').LewSize): boolean;
120
124
  };
121
125
  width: {
122
126
  type: (StringConstructor | NumberConstructor)[];
123
127
  default: string;
124
128
  description: string;
129
+ validator(value: number | string): boolean;
125
130
  };
126
131
  labelWidth: {
127
132
  type: (StringConstructor | NumberConstructor)[];
128
133
  default: string;
129
134
  description: string;
135
+ validator(value: number | string): boolean;
130
136
  };
131
137
  direction: {
132
- type: StringConstructor;
133
- default: string;
134
- description: string;
135
- };
136
- size: {
137
- type: globalThis.PropType<import('../../..').FormSize>;
138
+ type: globalThis.PropType<import('../../..').FormDirection>;
138
139
  default: string;
139
140
  description: string;
141
+ validator(value: import('../../..').FormDirection): boolean;
140
142
  };
141
- required: {
143
+ disabled: {
142
144
  type: BooleanConstructor;
143
145
  default: boolean;
144
146
  description: string;
@@ -148,13 +150,9 @@ declare const _default: import('vue').DefineComponent<{
148
150
  default: boolean;
149
151
  description: string;
150
152
  };
151
- disabled: {
152
- type: BooleanConstructor;
153
- default: boolean;
154
- description: string;
155
- };
156
- rule: {
157
- type: globalThis.PropType<Record<string, any>>;
153
+ tips: {
154
+ type: StringConstructor;
155
+ default: string;
158
156
  description: string;
159
157
  };
160
158
  errMessage: {
@@ -162,14 +160,13 @@ declare const _default: import('vue').DefineComponent<{
162
160
  default: string;
163
161
  description: string;
164
162
  };
165
- as: {
166
- type: StringConstructor;
167
- default: string;
163
+ rule: {
164
+ type: globalThis.PropType<Record<string, any>>;
168
165
  description: string;
169
166
  };
170
167
  props: {
171
168
  type: globalThis.PropType<Record<string, any>>;
172
- default: {};
169
+ default: () => {};
173
170
  description: string;
174
171
  };
175
172
  between: {
@@ -177,24 +174,35 @@ declare const _default: import('vue').DefineComponent<{
177
174
  default: boolean;
178
175
  description: string;
179
176
  };
177
+ gridArea: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ description: string;
181
+ };
182
+ id: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ description: string;
186
+ hidden: boolean;
187
+ };
180
188
  }>> & {
181
189
  onChange?: ((...args: any[]) => any) | undefined;
182
190
  }, {
183
- direction: string;
191
+ between: boolean;
192
+ direction: import('../../..').FormDirection;
184
193
  width: string | number;
185
194
  props: Record<string, any>;
186
195
  label: string;
187
- size: import('../../..').FormSize;
188
- readonly: boolean;
196
+ size: import('../../..').LewSize;
189
197
  disabled: boolean;
198
+ readonly: boolean;
190
199
  required: boolean;
191
- id: string;
192
200
  labelWidth: string | number;
193
- tips: string;
201
+ id: string;
194
202
  field: string;
195
- gridArea: string;
196
- errMessage: string;
197
203
  as: string;
198
- between: boolean;
204
+ tips: string;
205
+ errMessage: string;
206
+ gridArea: string;
199
207
  }, {}>;
200
208
  export default _default;
@@ -1,6 +1,8 @@
1
+ import { LewSize } from '../../..';
2
+
1
3
  declare const _default: import('vue').DefineComponent<{
2
4
  size: {
3
- type: StringConstructor;
5
+ type: PropType<LewSize>;
4
6
  default: string;
5
7
  };
6
8
  options: {
@@ -10,13 +12,13 @@ declare const _default: import('vue').DefineComponent<{
10
12
  getWidth: () => number | undefined;
11
13
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
14
  size: {
13
- type: StringConstructor;
15
+ type: PropType<LewSize>;
14
16
  default: string;
15
17
  };
16
18
  options: {
17
19
  type: PropType<any>;
18
20
  };
19
21
  }>>, {
20
- size: string;
22
+ size: LewSize;
21
23
  }, {}>;
22
24
  export default _default;
@@ -1,38 +1,38 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ import { LewSize } from '../../..';
2
3
 
3
- export type FormSize = 'small' | 'medium' | 'large';
4
+ export type FormDirection = 'x' | 'y';
4
5
  export declare const formProps: {
5
- id: {
6
- type: StringConstructor;
7
- default: string;
8
- description: string;
9
- hidden: boolean;
10
- };
11
6
  options: {
12
- type: ArrayConstructor;
7
+ type: PropType<Array<Record<string, any>>>;
13
8
  required: boolean;
14
- default: never[];
9
+ default: () => never[];
15
10
  description: string;
11
+ validator(value: Array<Record<string, any>>): boolean;
16
12
  };
17
13
  size: {
18
- type: PropType<FormSize>;
14
+ type: PropType<LewSize>;
19
15
  default: string;
20
16
  description: string;
17
+ validator(value: LewSize): boolean;
21
18
  };
22
19
  width: {
23
20
  type: (StringConstructor | NumberConstructor)[];
24
21
  default: string;
25
22
  description: string;
23
+ validator(value: number | string): boolean;
26
24
  };
27
25
  columns: {
28
26
  type: (StringConstructor | NumberConstructor)[];
29
27
  default: number;
30
28
  description: string;
29
+ validator(value: number | string): boolean;
31
30
  };
32
31
  labelWidth: {
33
32
  type: (StringConstructor | NumberConstructor)[];
34
33
  default: string;
35
34
  description: string;
35
+ validator(value: number | string): boolean;
36
36
  };
37
37
  disabled: {
38
38
  type: BooleanConstructor;
@@ -45,59 +45,64 @@ export declare const formProps: {
45
45
  description: string;
46
46
  };
47
47
  direction: {
48
- type: StringConstructor;
48
+ type: PropType<FormDirection>;
49
49
  default: string;
50
50
  description: string;
51
+ validator(value: FormDirection): boolean;
51
52
  };
52
- };
53
- export declare const formItemProps: {
54
53
  id: {
55
54
  type: StringConstructor;
56
55
  default: string;
57
56
  description: string;
58
57
  hidden: boolean;
59
58
  };
59
+ };
60
+ export declare const formItemProps: {
60
61
  label: {
61
62
  type: StringConstructor;
62
63
  default: string;
63
64
  description: string;
64
65
  };
65
- tips: {
66
+ field: {
66
67
  type: StringConstructor;
67
68
  default: string;
68
69
  description: string;
69
70
  };
70
- field: {
71
+ required: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ description: string;
75
+ };
76
+ as: {
71
77
  type: StringConstructor;
72
78
  default: string;
73
79
  description: string;
74
80
  };
75
- gridArea: {
76
- type: StringConstructor;
81
+ size: {
82
+ type: PropType<LewSize>;
77
83
  default: string;
78
84
  description: string;
85
+ validator(value: LewSize): boolean;
79
86
  };
80
87
  width: {
81
88
  type: (StringConstructor | NumberConstructor)[];
82
89
  default: string;
83
90
  description: string;
91
+ validator(value: number | string): boolean;
84
92
  };
85
93
  labelWidth: {
86
94
  type: (StringConstructor | NumberConstructor)[];
87
95
  default: string;
88
96
  description: string;
97
+ validator(value: number | string): boolean;
89
98
  };
90
99
  direction: {
91
- type: StringConstructor;
92
- default: string;
93
- description: string;
94
- };
95
- size: {
96
- type: PropType<FormSize>;
100
+ type: PropType<FormDirection>;
97
101
  default: string;
98
102
  description: string;
103
+ validator(value: FormDirection): boolean;
99
104
  };
100
- required: {
105
+ disabled: {
101
106
  type: BooleanConstructor;
102
107
  default: boolean;
103
108
  description: string;
@@ -107,13 +112,9 @@ export declare const formItemProps: {
107
112
  default: boolean;
108
113
  description: string;
109
114
  };
110
- disabled: {
111
- type: BooleanConstructor;
112
- default: boolean;
113
- description: string;
114
- };
115
- rule: {
116
- type: PropType<Record<string, any>>;
115
+ tips: {
116
+ type: StringConstructor;
117
+ default: string;
117
118
  description: string;
118
119
  };
119
120
  errMessage: {
@@ -121,14 +122,13 @@ export declare const formItemProps: {
121
122
  default: string;
122
123
  description: string;
123
124
  };
124
- as: {
125
- type: StringConstructor;
126
- default: string;
125
+ rule: {
126
+ type: PropType<Record<string, any>>;
127
127
  description: string;
128
128
  };
129
129
  props: {
130
130
  type: PropType<Record<string, any>>;
131
- default: {};
131
+ default: () => {};
132
132
  description: string;
133
133
  };
134
134
  between: {
@@ -136,7 +136,18 @@ export declare const formItemProps: {
136
136
  default: boolean;
137
137
  description: string;
138
138
  };
139
+ gridArea: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ description: string;
143
+ };
144
+ id: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ description: string;
148
+ hidden: boolean;
149
+ };
139
150
  };
140
- export declare const requiredIconSizeMap: Record<string, number>;
151
+ export declare const requiredIconSizeMap: Record<LewSize, number>;
141
152
  export type FormProps = ExtractPropTypes<typeof formProps>;
142
153
  export type FormItemProps = ExtractPropTypes<typeof formItemProps>;