@aplus-frontend/ui 0.4.0 → 0.4.2

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 (118) hide show
  1. package/es/src/ap-field/number/index.vue.d.ts +322 -1
  2. package/es/src/ap-field/radio/index.vue.d.ts +98 -2
  3. package/es/src/ap-field/rate/index.vue.d.ts +82 -1
  4. package/es/src/ap-field/segmented/index.vue.d.ts +1 -7
  5. package/es/src/ap-field/select/index.vue.d.ts +423 -1
  6. package/es/src/ap-field/select/index.vue.mjs +4 -3
  7. package/es/src/ap-field/slider/index.vue.d.ts +257 -1
  8. package/es/src/ap-field/text/index.vue.d.ts +1 -13
  9. package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
  10. package/es/src/ap-form/ap-form.vue.d.ts +636 -1
  11. package/es/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  12. package/es/src/ap-form/item/index.vue.d.ts +777 -1
  13. package/es/src/ap-form/items/number/index.vue.d.ts +783 -2
  14. package/es/src/ap-form/items/radio/index.vue.d.ts +221 -3
  15. package/es/src/ap-form/items/text/index.vue.d.ts +128 -15
  16. package/es/src/ap-form/items/text/password.vue.d.ts +148 -1
  17. package/es/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  18. package/es/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  19. package/es/src/ap-form/modal-form/index.vue.mjs +77 -75
  20. package/es/src/ap-form/search-form/index.vue.d.ts +1454 -3
  21. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  22. package/es/src/ap-list/index.vue.d.ts +1 -1
  23. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  24. package/es/src/ap-scroll-bar/index.d.ts +3 -1
  25. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  26. package/es/src/ap-table/ap-table.vue2.mjs +98 -97
  27. package/es/src/ap-table/constants.d.ts +2260 -26
  28. package/es/src/ap-table/context.d.ts +1 -0
  29. package/es/src/ap-table/context.mjs +11 -10
  30. package/es/src/ap-table/utils.d.ts +1168 -8
  31. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  32. package/es/src/ap-upload/apUpload.vue.d.ts +3 -1
  33. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  34. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -1
  35. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  36. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  37. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +66 -61
  38. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  39. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -4
  40. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  41. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
  42. package/es/src/business/ap-group-search/index.d.ts +444 -4
  43. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  44. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +1 -0
  45. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  46. package/es/src/business/ap-table-modal/index.d.ts +22 -2
  47. package/es/src/business/ap-table-modal/interface.d.ts +2 -2
  48. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  49. package/es/src/business/batch-input-group/index.vue.d.ts +134 -3
  50. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  51. package/es/src/business/hooks/usePageListApTable.d.ts +2 -2
  52. package/es/src/business/hooks/usePageListApTable.mjs +35 -33
  53. package/es/src/editable-table/form-item.vue.d.ts +1 -1
  54. package/es/src/editable-table/index.vue.d.ts +1 -1
  55. package/es/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  56. package/lib/src/ap-field/number/index.vue.d.ts +322 -1
  57. package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
  58. package/lib/src/ap-field/rate/index.vue.d.ts +82 -1
  59. package/lib/src/ap-field/segmented/index.vue.d.ts +1 -7
  60. package/lib/src/ap-field/select/index.vue.d.ts +423 -1
  61. package/lib/src/ap-field/select/index.vue.js +1 -1
  62. package/lib/src/ap-field/slider/index.vue.d.ts +257 -1
  63. package/lib/src/ap-field/text/index.vue.d.ts +1 -13
  64. package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
  65. package/lib/src/ap-form/ap-form.vue.d.ts +636 -1
  66. package/lib/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  67. package/lib/src/ap-form/item/index.vue.d.ts +777 -1
  68. package/lib/src/ap-form/items/number/index.vue.d.ts +783 -2
  69. package/lib/src/ap-form/items/radio/index.vue.d.ts +221 -3
  70. package/lib/src/ap-form/items/text/index.vue.d.ts +128 -15
  71. package/lib/src/ap-form/items/text/password.vue.d.ts +148 -1
  72. package/lib/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  73. package/lib/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  74. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  75. package/lib/src/ap-form/search-form/index.vue.d.ts +1454 -3
  76. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  77. package/lib/src/ap-list/index.vue.d.ts +1 -1
  78. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  79. package/lib/src/ap-scroll-bar/index.d.ts +3 -1
  80. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  81. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  82. package/lib/src/ap-table/constants.d.ts +2260 -26
  83. package/lib/src/ap-table/context.d.ts +1 -0
  84. package/lib/src/ap-table/context.js +1 -1
  85. package/lib/src/ap-table/utils.d.ts +1168 -8
  86. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  87. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -1
  88. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  89. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -1
  90. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  91. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  92. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  93. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  94. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  95. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  96. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  97. package/lib/src/business/ap-group-search/index.d.ts +444 -4
  98. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  99. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +1 -1
  100. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  101. package/lib/src/business/ap-table-modal/index.d.ts +22 -2
  102. package/lib/src/business/ap-table-modal/interface.d.ts +2 -2
  103. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  104. package/lib/src/business/batch-input-group/index.vue.d.ts +134 -3
  105. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  106. package/lib/src/business/hooks/usePageListApTable.d.ts +2 -2
  107. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  108. package/lib/src/editable-table/form-item.vue.d.ts +1 -1
  109. package/lib/src/editable-table/index.vue.d.ts +1 -1
  110. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  111. package/package.json +5 -5
  112. package/theme/ap-form/index.css +3 -4
  113. package/theme/ap-form/modal-form.css +3 -4
  114. package/theme/ap-form/modal-form.less +3 -4
  115. package/theme/ap-table/ap-table.css +3 -4
  116. package/theme/ap-table-modal/index.css +3 -4
  117. package/theme/editable-table/index.css +3 -4
  118. package/theme/index.css +3 -4
@@ -1,7 +1,12 @@
1
1
  import { ApFormItemRadioProps } from '../interface';
2
2
  import { ApFormItemSlots } from '../../interface';
3
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
3
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ExtractPropTypes, PropType, ComponentProvideOptions, DefineComponent } from 'vue';
4
4
  import { ApFieldRadioProps, FieldMode } from '../../..';
5
+ import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
6
+ import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
7
+ import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
8
+ import { RadioChangeEvent } from '@aplus-frontend/antdv';
9
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
5
10
  type ApFormItemRadioSlots = Omit<ApFormItemSlots, 'default'>;
6
11
  declare function __VLS_template(): {
7
12
  attrs: Partial<{}>;
@@ -19,7 +24,98 @@ declare function __VLS_template(): {
19
24
  vertical: boolean;
20
25
  disabled: boolean;
21
26
  emptyText: string;
22
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
27
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
28
+ radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
29
+ prefixCls: StringConstructor;
30
+ value: VueTypeValidableDef<any>;
31
+ size: {
32
+ type: PropType<"default" | "small" | "large">;
33
+ default: "default" | "small" | "large";
34
+ };
35
+ options: {
36
+ type: PropType<(string | number | RadioGroupChildOption)[]>;
37
+ default: (string | number | RadioGroupChildOption)[];
38
+ };
39
+ disabled: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ name: StringConstructor;
44
+ buttonStyle: {
45
+ type: PropType<RadioGroupButtonStyle>;
46
+ default: RadioGroupButtonStyle;
47
+ };
48
+ id: StringConstructor;
49
+ optionType: {
50
+ type: PropType<RadioGroupOptionType>;
51
+ default: RadioGroupOptionType;
52
+ };
53
+ onChange: {
54
+ type: PropType<(e: RadioChangeEvent) => void>;
55
+ default: (e: RadioChangeEvent) => void;
56
+ };
57
+ 'onUpdate:value': {
58
+ type: PropType<(val: any) => void>;
59
+ default: (val: any) => void;
60
+ };
61
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
62
+ size: "default" | "small" | "large";
63
+ onChange: (e: RadioChangeEvent) => void;
64
+ disabled: boolean;
65
+ 'onUpdate:value': (val: any) => void;
66
+ options: (string | number | RadioGroupChildOption)[];
67
+ buttonStyle: RadioGroupButtonStyle;
68
+ optionType: RadioGroupOptionType;
69
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
70
+ P: {};
71
+ B: {};
72
+ D: {};
73
+ C: {};
74
+ M: {};
75
+ Defaults: {};
76
+ }, Readonly< ExtractPropTypes<{
77
+ prefixCls: StringConstructor;
78
+ value: VueTypeValidableDef<any>;
79
+ size: {
80
+ type: PropType<"default" | "small" | "large">;
81
+ default: "default" | "small" | "large";
82
+ };
83
+ options: {
84
+ type: PropType<(string | number | RadioGroupChildOption)[]>;
85
+ default: (string | number | RadioGroupChildOption)[];
86
+ };
87
+ disabled: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ name: StringConstructor;
92
+ buttonStyle: {
93
+ type: PropType<RadioGroupButtonStyle>;
94
+ default: RadioGroupButtonStyle;
95
+ };
96
+ id: StringConstructor;
97
+ optionType: {
98
+ type: PropType<RadioGroupOptionType>;
99
+ default: RadioGroupOptionType;
100
+ };
101
+ onChange: {
102
+ type: PropType<(e: RadioChangeEvent) => void>;
103
+ default: (e: RadioChangeEvent) => void;
104
+ };
105
+ 'onUpdate:value': {
106
+ type: PropType<(val: any) => void>;
107
+ default: (val: any) => void;
108
+ };
109
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
110
+ size: "default" | "small" | "large";
111
+ onChange: (e: RadioChangeEvent) => void;
112
+ disabled: boolean;
113
+ 'onUpdate:value': (val: any) => void;
114
+ options: (string | number | RadioGroupChildOption)[];
115
+ buttonStyle: RadioGroupButtonStyle;
116
+ optionType: RadioGroupOptionType;
117
+ }> | null;
118
+ }, any, ComponentProvideOptions, {
23
119
  P: {};
24
120
  B: {};
25
121
  D: {};
@@ -52,7 +148,129 @@ declare const __VLS_component: DefineComponent<ApFormItemRadioProps, {
52
148
  hasFeedback: boolean;
53
149
  autoLink: boolean;
54
150
  validateFirst: boolean;
55
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
151
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
152
+ radioRef: CreateComponentPublicInstanceWithMixins<Readonly< ApFieldRadioProps> & Readonly<{
153
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
154
+ }>, {
155
+ focus: () => void;
156
+ blur: () => void;
157
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
158
+ "update:value": (...args: any[]) => void;
159
+ }, PublicProps, {
160
+ mode: FieldMode;
161
+ vertical: boolean;
162
+ disabled: boolean;
163
+ emptyText: string;
164
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
165
+ radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
166
+ prefixCls: StringConstructor;
167
+ value: VueTypeValidableDef<any>;
168
+ size: {
169
+ type: PropType<"default" | "small" | "large">;
170
+ default: "default" | "small" | "large";
171
+ };
172
+ options: {
173
+ type: PropType<(string | number | RadioGroupChildOption)[]>;
174
+ default: (string | number | RadioGroupChildOption)[];
175
+ };
176
+ disabled: {
177
+ type: BooleanConstructor;
178
+ default: boolean;
179
+ };
180
+ name: StringConstructor;
181
+ buttonStyle: {
182
+ type: PropType<RadioGroupButtonStyle>;
183
+ default: RadioGroupButtonStyle;
184
+ };
185
+ id: StringConstructor;
186
+ optionType: {
187
+ type: PropType<RadioGroupOptionType>;
188
+ default: RadioGroupOptionType;
189
+ };
190
+ onChange: {
191
+ type: PropType<(e: RadioChangeEvent) => void>;
192
+ default: (e: RadioChangeEvent) => void;
193
+ };
194
+ 'onUpdate:value': {
195
+ type: PropType<(val: any) => void>;
196
+ default: (val: any) => void;
197
+ };
198
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
199
+ size: "default" | "small" | "large";
200
+ onChange: (e: RadioChangeEvent) => void;
201
+ disabled: boolean;
202
+ 'onUpdate:value': (val: any) => void;
203
+ options: (string | number | RadioGroupChildOption)[];
204
+ buttonStyle: RadioGroupButtonStyle;
205
+ optionType: RadioGroupOptionType;
206
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
207
+ P: {};
208
+ B: {};
209
+ D: {};
210
+ C: {};
211
+ M: {};
212
+ Defaults: {};
213
+ }, Readonly< ExtractPropTypes<{
214
+ prefixCls: StringConstructor;
215
+ value: VueTypeValidableDef<any>;
216
+ size: {
217
+ type: PropType<"default" | "small" | "large">;
218
+ default: "default" | "small" | "large";
219
+ };
220
+ options: {
221
+ type: PropType<(string | number | RadioGroupChildOption)[]>;
222
+ default: (string | number | RadioGroupChildOption)[];
223
+ };
224
+ disabled: {
225
+ type: BooleanConstructor;
226
+ default: boolean;
227
+ };
228
+ name: StringConstructor;
229
+ buttonStyle: {
230
+ type: PropType<RadioGroupButtonStyle>;
231
+ default: RadioGroupButtonStyle;
232
+ };
233
+ id: StringConstructor;
234
+ optionType: {
235
+ type: PropType<RadioGroupOptionType>;
236
+ default: RadioGroupOptionType;
237
+ };
238
+ onChange: {
239
+ type: PropType<(e: RadioChangeEvent) => void>;
240
+ default: (e: RadioChangeEvent) => void;
241
+ };
242
+ 'onUpdate:value': {
243
+ type: PropType<(val: any) => void>;
244
+ default: (val: any) => void;
245
+ };
246
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
247
+ size: "default" | "small" | "large";
248
+ onChange: (e: RadioChangeEvent) => void;
249
+ disabled: boolean;
250
+ 'onUpdate:value': (val: any) => void;
251
+ options: (string | number | RadioGroupChildOption)[];
252
+ buttonStyle: RadioGroupButtonStyle;
253
+ optionType: RadioGroupOptionType;
254
+ }> | null;
255
+ }, any, ComponentProvideOptions, {
256
+ P: {};
257
+ B: {};
258
+ D: {};
259
+ C: {};
260
+ M: {};
261
+ Defaults: {};
262
+ }, Readonly< ApFieldRadioProps> & Readonly<{
263
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
264
+ }>, {
265
+ focus: () => void;
266
+ blur: () => void;
267
+ }, {}, {}, {}, {
268
+ mode: FieldMode;
269
+ vertical: boolean;
270
+ disabled: boolean;
271
+ emptyText: string;
272
+ }> | null;
273
+ }, any>;
56
274
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
57
275
  export default _default;
58
276
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -138,26 +138,14 @@ declare function __VLS_template(): {
138
138
  emptyText: string;
139
139
  }> & Omit<Readonly< ApFieldTextProps> & Readonly<{
140
140
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
141
- }>, "blur" | "focus" | "input" | "select" | "setSelectionRange" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText")> & ShallowUnwrapRef<{
141
+ }>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
142
142
  focus: (options?: InputFocusOptions) => void;
143
143
  blur: () => void;
144
144
  input: any;
145
145
  setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
146
146
  select: () => void;
147
147
  }> & {} & ComponentCustomProperties & {} & {
148
- $slots: Readonly<{
149
- addonAfter?: any;
150
- addonBefore?: any;
151
- prefix?: any;
152
- suffix?: any;
153
- clearIcon?: any;
154
- }> & {
155
- addonAfter?: any;
156
- addonBefore?: any;
157
- prefix?: any;
158
- suffix?: any;
159
- clearIcon?: any;
160
- };
148
+ $slots: any;
161
149
  }) | null;
162
150
  };
163
151
  rootEl: any;
@@ -177,7 +165,132 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
177
165
  hasFeedback: boolean;
178
166
  autoLink: boolean;
179
167
  validateFirst: boolean;
180
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
168
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
169
+ inputRef: ({
170
+ $: ComponentInternalInstance;
171
+ $data: {};
172
+ $props: {
173
+ readonly mode?: FieldMode | undefined;
174
+ readonly class?: unknown;
175
+ readonly style?: unknown;
176
+ readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
177
+ readonly lazy?: boolean | undefined;
178
+ readonly size?: ButtonSize;
179
+ readonly hidden?: boolean | undefined;
180
+ readonly onBlur?: FocusEventHandler | undefined;
181
+ readonly onChange?: ChangeEventHandler | undefined;
182
+ readonly onCompositionend?: CompositionEventHandler | undefined;
183
+ readonly onCompositionstart?: CompositionEventHandler | undefined;
184
+ readonly onFocus?: FocusEventHandler | undefined;
185
+ readonly onInput?: ChangeEventHandler | undefined;
186
+ readonly onKeydown?: KeyboardEventHandler | undefined;
187
+ readonly onKeyup?: KeyboardEventHandler | undefined;
188
+ readonly onMousedown?: MouseEventHandler | undefined;
189
+ readonly value?: string | number | undefined;
190
+ readonly disabled?: boolean | undefined;
191
+ readonly bordered?: boolean | undefined;
192
+ readonly prefixCls?: string | undefined;
193
+ readonly name?: string | undefined;
194
+ readonly autocomplete?: string | undefined;
195
+ readonly status?: "" | "error" | "warning" | undefined;
196
+ readonly id?: string | undefined;
197
+ readonly placeholder?: string | number | undefined;
198
+ readonly prefix?: any;
199
+ readonly loading?: boolean | undefined;
200
+ readonly autofocus?: boolean | undefined;
201
+ readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
202
+ readonly suffix?: any;
203
+ readonly focused?: boolean | undefined;
204
+ readonly defaultValue?: string | number | undefined;
205
+ readonly maxlength?: number | undefined;
206
+ readonly showCount?: boolean | ShowCountProps | undefined;
207
+ readonly htmlSize?: number | undefined;
208
+ readonly onPressEnter?: KeyboardEventHandler | undefined;
209
+ readonly onMouseUp?: MouseEventHandler | undefined;
210
+ readonly onRawInput?: ChangeEventHandler | undefined;
211
+ readonly valueModifiers?: Record<string, any> | undefined;
212
+ readonly inputElement?: any;
213
+ readonly triggerFocus?: (() => void) | undefined;
214
+ readonly readonly?: boolean | undefined;
215
+ readonly handleReset?: MouseEventHandler | undefined;
216
+ readonly addonBefore?: any;
217
+ readonly addonAfter?: any;
218
+ readonly clearIcon?: any;
219
+ readonly allowClear?: boolean | undefined;
220
+ readonly emptyText?: string | undefined;
221
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
222
+ $attrs: {
223
+ [x: string]: unknown;
224
+ };
225
+ $refs: {
226
+ [x: string]: unknown;
227
+ };
228
+ $slots: Readonly<{
229
+ [name: string]: Slot<any> | undefined;
230
+ }>;
231
+ $root: ComponentPublicInstance | null;
232
+ $parent: ComponentPublicInstance | null;
233
+ $host: Element | null;
234
+ $emit: (event: "update:value", ...args: any[]) => void;
235
+ $el: any;
236
+ $options: ComponentOptionsBase<Readonly< ApFieldTextProps> & Readonly<{
237
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
238
+ }>, {
239
+ focus: (options?: InputFocusOptions) => void;
240
+ blur: () => void;
241
+ input: any;
242
+ setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
243
+ select: () => void;
244
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
245
+ "update:value": (...args: any[]) => void;
246
+ }, string, {
247
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
248
+ mode: FieldMode;
249
+ disabled: boolean;
250
+ bordered: boolean;
251
+ lazy: boolean;
252
+ allowClear: boolean;
253
+ emptyText: string;
254
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
255
+ beforeCreate?: (() => void) | (() => void)[];
256
+ created?: (() => void) | (() => void)[];
257
+ beforeMount?: (() => void) | (() => void)[];
258
+ mounted?: (() => void) | (() => void)[];
259
+ beforeUpdate?: (() => void) | (() => void)[];
260
+ updated?: (() => void) | (() => void)[];
261
+ activated?: (() => void) | (() => void)[];
262
+ deactivated?: (() => void) | (() => void)[];
263
+ beforeDestroy?: (() => void) | (() => void)[];
264
+ beforeUnmount?: (() => void) | (() => void)[];
265
+ destroyed?: (() => void) | (() => void)[];
266
+ unmounted?: (() => void) | (() => void)[];
267
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
268
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
269
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
270
+ };
271
+ $forceUpdate: () => void;
272
+ $nextTick: nextTick;
273
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
274
+ } & Readonly<{
275
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
276
+ mode: FieldMode;
277
+ disabled: boolean;
278
+ bordered: boolean;
279
+ lazy: boolean;
280
+ allowClear: boolean;
281
+ emptyText: string;
282
+ }> & Omit<Readonly< ApFieldTextProps> & Readonly<{
283
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
284
+ }>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
285
+ focus: (options?: InputFocusOptions) => void;
286
+ blur: () => void;
287
+ input: any;
288
+ setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
289
+ select: () => void;
290
+ }> & {} & ComponentCustomProperties & {} & {
291
+ $slots: any;
292
+ }) | null;
293
+ }, any>;
181
294
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
182
295
  export default _default;
183
296
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -185,7 +185,154 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
185
185
  hasFeedback: boolean;
186
186
  autoLink: boolean;
187
187
  validateFirst: boolean;
188
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
188
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
189
+ inputRef: ({
190
+ $: ComponentInternalInstance;
191
+ $data: {};
192
+ $props: {
193
+ readonly mode?: FieldMode | undefined;
194
+ readonly class?: unknown;
195
+ readonly style?: unknown;
196
+ readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
197
+ readonly lazy?: boolean | undefined;
198
+ readonly size?: ButtonSize;
199
+ readonly hidden?: boolean | undefined;
200
+ readonly onBlur?: FocusEventHandler | undefined;
201
+ readonly onChange?: ChangeEventHandler | undefined;
202
+ readonly onCompositionend?: CompositionEventHandler | undefined;
203
+ readonly onCompositionstart?: CompositionEventHandler | undefined;
204
+ readonly onFocus?: FocusEventHandler | undefined;
205
+ readonly onInput?: ChangeEventHandler | undefined;
206
+ readonly onKeydown?: KeyboardEventHandler | undefined;
207
+ readonly onKeyup?: KeyboardEventHandler | undefined;
208
+ readonly onMousedown?: MouseEventHandler | undefined;
209
+ readonly value?: string | number | undefined;
210
+ readonly disabled?: boolean | undefined;
211
+ readonly bordered?: boolean | undefined;
212
+ readonly prefixCls?: string | undefined;
213
+ readonly name?: string | undefined;
214
+ readonly autocomplete?: string | undefined;
215
+ readonly status?: "" | "error" | "warning" | undefined;
216
+ readonly id?: string | undefined;
217
+ readonly placeholder?: string | number | undefined;
218
+ readonly prefix?: any;
219
+ readonly loading?: boolean | undefined;
220
+ readonly autofocus?: boolean | undefined;
221
+ readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
222
+ readonly suffix?: any;
223
+ readonly focused?: boolean | undefined;
224
+ readonly defaultValue?: string | number | undefined;
225
+ readonly maxlength?: number | undefined;
226
+ readonly showCount?: boolean | ShowCountProps | undefined;
227
+ readonly htmlSize?: number | undefined;
228
+ readonly onPressEnter?: KeyboardEventHandler | undefined;
229
+ readonly onMouseUp?: MouseEventHandler | undefined;
230
+ readonly onRawInput?: ChangeEventHandler | undefined;
231
+ readonly valueModifiers?: Record<string, any> | undefined;
232
+ readonly inputElement?: any;
233
+ readonly triggerFocus?: (() => void) | undefined;
234
+ readonly readonly?: boolean | undefined;
235
+ readonly handleReset?: MouseEventHandler | undefined;
236
+ readonly addonBefore?: any;
237
+ readonly addonAfter?: any;
238
+ readonly clearIcon?: any;
239
+ readonly allowClear?: boolean | undefined;
240
+ readonly inputPrefixCls?: string | undefined;
241
+ readonly action?: string | undefined;
242
+ readonly visibilityToggle?: boolean | undefined;
243
+ readonly visible?: boolean | undefined;
244
+ readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((...args: any[]) => any)) | undefined;
245
+ readonly emptyText?: string | undefined;
246
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
247
+ $attrs: {
248
+ [x: string]: unknown;
249
+ };
250
+ $refs: {
251
+ [x: string]: unknown;
252
+ };
253
+ $slots: Readonly<{
254
+ [name: string]: Slot<any> | undefined;
255
+ }>;
256
+ $root: ComponentPublicInstance | null;
257
+ $parent: ComponentPublicInstance | null;
258
+ $host: Element | null;
259
+ $emit: ((event: "update:value", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void);
260
+ $el: any;
261
+ $options: ComponentOptionsBase<Readonly< ApFieldTextPasswordProps> & Readonly<{
262
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
263
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
264
+ }>, {
265
+ focus: () => void;
266
+ blur: () => void;
267
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
268
+ "update:value": (...args: any[]) => void;
269
+ "update:visible": (...args: any[]) => void;
270
+ }, string, {
271
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
272
+ mode: FieldMode;
273
+ visible: boolean;
274
+ disabled: boolean;
275
+ bordered: boolean;
276
+ lazy: boolean;
277
+ allowClear: boolean;
278
+ emptyText: string;
279
+ action: string;
280
+ visibilityToggle: boolean;
281
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
282
+ beforeCreate?: (() => void) | (() => void)[];
283
+ created?: (() => void) | (() => void)[];
284
+ beforeMount?: (() => void) | (() => void)[];
285
+ mounted?: (() => void) | (() => void)[];
286
+ beforeUpdate?: (() => void) | (() => void)[];
287
+ updated?: (() => void) | (() => void)[];
288
+ activated?: (() => void) | (() => void)[];
289
+ deactivated?: (() => void) | (() => void)[];
290
+ beforeDestroy?: (() => void) | (() => void)[];
291
+ beforeUnmount?: (() => void) | (() => void)[];
292
+ destroyed?: (() => void) | (() => void)[];
293
+ unmounted?: (() => void) | (() => void)[];
294
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
295
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
296
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
297
+ };
298
+ $forceUpdate: () => void;
299
+ $nextTick: nextTick;
300
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
301
+ } & Readonly<{
302
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
303
+ mode: FieldMode;
304
+ visible: boolean;
305
+ disabled: boolean;
306
+ bordered: boolean;
307
+ lazy: boolean;
308
+ allowClear: boolean;
309
+ emptyText: string;
310
+ action: string;
311
+ visibilityToggle: boolean;
312
+ }> & Omit<Readonly< ApFieldTextPasswordProps> & Readonly<{
313
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
314
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
315
+ }>, "blur" | "focus" | ("type" | "mode" | "visible" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText" | "action" | "visibilityToggle")> & ShallowUnwrapRef<{
316
+ focus: () => void;
317
+ blur: () => void;
318
+ }> & {} & ComponentCustomProperties & {} & {
319
+ $slots: Readonly<{
320
+ addonAfter: any;
321
+ addonBefore: any;
322
+ prefix: any;
323
+ suffix: any;
324
+ clearIcon: any;
325
+ iconRender: any;
326
+ }> & {
327
+ addonAfter: any;
328
+ addonBefore: any;
329
+ prefix: any;
330
+ suffix: any;
331
+ clearIcon: any;
332
+ iconRender: any;
333
+ };
334
+ }) | null;
335
+ }, any>;
189
336
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
190
337
  export default _default;
191
338
  type __VLS_WithTemplateSlots<T, S> = T & {