@aplus-frontend/ui 0.4.1 → 0.4.3

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