@web-utils/form-ui 1.0.0-beta86 → 1.0.0-beta88

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 (212) hide show
  1. package/affix/index.mjs +1 -1
  2. package/chunks/{4kjeIiag2.mjs → 5RCAxanu2.mjs} +3 -3
  3. package/chunks/{vebd58-O.mjs → 9ec0Wti82.mjs} +1 -1
  4. package/chunks/{BxcsELcB2.mjs → B7BaAm4k2.mjs} +2 -2
  5. package/chunks/{DSTNXl142.mjs → BFhVUqpP2.mjs} +2 -2
  6. package/chunks/BLKcXIrX.mjs +517 -0
  7. package/chunks/{C8h_P_kl2.mjs → BSOrm2U4.mjs} +2 -2
  8. package/chunks/BbUUI4mF.mjs +204 -0
  9. package/chunks/{D_q3C3v4.mjs → BegZOXrr.mjs} +4 -4
  10. package/chunks/{BIy6bO4j.mjs → Bg01eBVa2.mjs} +2 -2
  11. package/chunks/{DJlgX5ty.mjs → BhPVs8Ju.mjs} +1 -1
  12. package/chunks/{DrvwVjzq2.mjs → BmbhIxPF2.mjs} +2 -2
  13. package/chunks/{BYu4QaK72.mjs → Br3whXEJ2.mjs} +2 -2
  14. package/chunks/{y1Q66LEa2.mjs → BuI82QMb2.mjs} +1 -1
  15. package/chunks/{CCpKg0cM.mjs → Bv7b2DXh2.mjs} +2 -2
  16. package/chunks/{ofu8wJKp.mjs → C-s-88fN2.mjs} +1 -1
  17. package/chunks/{CET31mBi.mjs → C54nZqvy2.mjs} +1 -1
  18. package/chunks/CBHGpbDK.mjs +56 -0
  19. package/chunks/CFpGTE5U2.mjs +221 -0
  20. package/chunks/CIihGrgY.mjs +30 -0
  21. package/chunks/{XQwnPkab2.mjs → CW021IPm2.mjs} +1 -1
  22. package/chunks/{CLn5E7NV.mjs → CW1nopZH.mjs} +1 -1
  23. package/chunks/CY2YrwMT.mjs +302 -0
  24. package/chunks/{DVF9q3oX.mjs → CdvD0NRo2.mjs} +2 -2
  25. package/chunks/Cf_h9S62.mjs +378 -0
  26. package/chunks/{8h-xBLL82.mjs → CixNVW_T2.mjs} +10 -10
  27. package/chunks/{By-W0XXn2.mjs → ClkLQjZ82.mjs} +1 -1
  28. package/chunks/CsNZt53l.mjs +4074 -0
  29. package/chunks/{HFLY8Wla.mjs → D1mQTnJ8.mjs} +181 -185
  30. package/chunks/{CjCNtCWd.mjs → D20CQ-B6.mjs} +1 -1
  31. package/chunks/{BxuM-fgJ.mjs → D2kLAzxW.mjs} +1 -1
  32. package/chunks/{tfaGdZX2.mjs → D8_fl5Oq.mjs} +4 -4
  33. package/chunks/{C28bnMcw.mjs → DC3DNg_r.mjs} +1 -1
  34. package/chunks/{DWN5uzm02.mjs → DL4xcGES2.mjs} +10 -10
  35. package/chunks/{SWO35fS42.mjs → Dd4RtBO02.mjs} +1 -1
  36. package/chunks/{3nLaRSbR2.mjs → DdHN2Nv72.mjs} +1 -1
  37. package/chunks/{BrSqLOi5.mjs → DmJaItEY.mjs} +6 -6
  38. package/chunks/{CkHQY4ME2.mjs → Dnapnskp2.mjs} +1 -1
  39. package/chunks/{vHsAJZRT.mjs → MUk_IdeO2.mjs} +2 -2
  40. package/chunks/NAZ8HFBg.mjs +340 -0
  41. package/chunks/{saZ_qJOT.mjs → aOv3rI7q.mjs} +1 -1
  42. package/chunks/{mqi8hesW2.mjs → dxZzZgUn.mjs} +2 -2
  43. package/chunks/{Tq3_dajC2.mjs → m5oFTe8Y2.mjs} +1 -1
  44. package/chunks/{Dst9_BmZ.mjs → n7IipIUY.mjs} +3 -3
  45. package/chunks/{SInS7QSL.mjs → vCOhFr2x.mjs} +1 -1
  46. package/constants/index.d.ts +2 -0
  47. package/constants/index.mjs +2 -2
  48. package/data-table-picker/index.mjs +1 -1
  49. package/dialog-form/index.d.ts +4 -0
  50. package/dialog-form/index.mjs +154 -0
  51. package/dialog-form/style.css +1 -0
  52. package/empty-view/index.d.ts +2 -2
  53. package/flex-box/index.mjs +1 -1
  54. package/flex-column/index.mjs +1 -1
  55. package/flex-item/index.mjs +1 -1
  56. package/flex-row/index.mjs +1 -1
  57. package/flow-designer/index.mjs +1 -1
  58. package/form-cascader/index.mjs +1 -1
  59. package/form-checkbox/index.mjs +1 -1
  60. package/form-checkbox-group/index.mjs +1 -1
  61. package/form-date-picker/index.d.ts +4 -4
  62. package/form-date-picker/index.mjs +1 -1
  63. package/form-holder/index.mjs +1 -1
  64. package/form-image/index.mjs +1 -1
  65. package/form-input/index.mjs +1 -1
  66. package/form-input-cron-expression/index.mjs +1 -1
  67. package/form-input-email/index.mjs +1 -1
  68. package/form-input-id-card/index.mjs +1 -1
  69. package/form-input-number/index.mjs +1 -1
  70. package/form-input-phone-number/index.mjs +1 -1
  71. package/form-input-tag/index.mjs +1 -1
  72. package/form-input-time/index.mjs +1 -1
  73. package/form-item/index.mjs +1 -1
  74. package/form-item-group/index.mjs +1 -1
  75. package/form-radio-group/index.mjs +1 -1
  76. package/form-rate/index.mjs +1 -1
  77. package/form-row/index.mjs +1 -1
  78. package/form-select/index.mjs +1 -1
  79. package/form-slider/index.mjs +1 -1
  80. package/form-switch/index.mjs +1 -1
  81. package/form-table/index.mjs +1 -1
  82. package/form-table-plus/index.mjs +1 -1
  83. package/form-text/index.mjs +1 -1
  84. package/form-textarea/index.mjs +1 -1
  85. package/form-time-select/index.mjs +1 -1
  86. package/form-tree-select/index.mjs +1 -1
  87. package/form-tree-select-multiple/index.mjs +1 -1
  88. package/form-view/index.mjs +2 -2
  89. package/fy-array/index.d.ts +234 -0
  90. package/fy-array/index.mjs +130 -0
  91. package/fy-array/style.css +1 -0
  92. package/fy-button/index.d.ts +18 -0
  93. package/fy-button/index.mjs +2 -0
  94. package/fy-button/style.css +1 -0
  95. package/fy-cascader/index.d.ts +298 -0
  96. package/fy-cascader/index.mjs +116 -0
  97. package/fy-checkbox/index.d.ts +231 -0
  98. package/fy-checkbox/index.mjs +100 -0
  99. package/fy-checkbox/style.css +1 -0
  100. package/fy-curd/index.d.ts +908 -0
  101. package/fy-curd/index.mjs +2 -0
  102. package/fy-date/index.d.ts +246 -0
  103. package/fy-date/index.mjs +79 -0
  104. package/fy-date/style.css +1 -0
  105. package/fy-dynamic/index.d.ts +268 -0
  106. package/fy-dynamic/index.mjs +2 -0
  107. package/fy-empty/index.d.ts +31 -0
  108. package/fy-empty/index.mjs +35 -0
  109. package/fy-empty/style.css +1 -0
  110. package/fy-form/index.d.ts +522 -0
  111. package/fy-form/index.mjs +2 -0
  112. package/fy-form/style.css +1 -0
  113. package/fy-input/index.d.ts +316 -0
  114. package/fy-input/index.mjs +122 -0
  115. package/fy-input-color/index.d.ts +235 -0
  116. package/fy-input-color/index.mjs +80 -0
  117. package/fy-input-icon/index.d.ts +244 -0
  118. package/fy-input-icon/index.mjs +133 -0
  119. package/fy-input-icon/style.css +1 -0
  120. package/fy-input-map/index.d.ts +266 -0
  121. package/fy-input-map/index.mjs +248 -0
  122. package/fy-input-map/style.css +1 -0
  123. package/fy-input-number/index.d.ts +266 -0
  124. package/fy-input-number/index.mjs +78 -0
  125. package/fy-input-table/index.d.ts +248 -0
  126. package/fy-input-table/index.mjs +166 -0
  127. package/fy-input-table/style.css +1 -0
  128. package/fy-input-tree/index.d.ts +351 -0
  129. package/fy-input-tree/index.mjs +266 -0
  130. package/fy-input-tree/style.css +1 -0
  131. package/fy-radio/index.d.ts +218 -0
  132. package/fy-radio/index.mjs +56 -0
  133. package/fy-radio/style.css +1 -0
  134. package/fy-rate/index.d.ts +288 -0
  135. package/fy-rate/index.mjs +90 -0
  136. package/fy-rate/style.css +1 -0
  137. package/fy-select/index.d.ts +324 -0
  138. package/fy-select/index.mjs +2 -0
  139. package/fy-select/style.css +1 -0
  140. package/fy-slider/index.d.ts +249 -0
  141. package/fy-slider/index.mjs +72 -0
  142. package/fy-switch/index.d.ts +229 -0
  143. package/fy-switch/index.mjs +71 -0
  144. package/fy-tabs/index.d.ts +20 -0
  145. package/fy-tabs/index.mjs +50 -0
  146. package/fy-time/index.d.ts +704 -0
  147. package/fy-time/index.mjs +85 -0
  148. package/fy-title/index.d.ts +224 -0
  149. package/fy-title/index.mjs +18 -0
  150. package/fy-title/style.css +1 -0
  151. package/fy-tree/index.d.ts +141 -0
  152. package/fy-tree/index.mjs +390 -0
  153. package/fy-tree/style.css +1 -0
  154. package/fy-u-editor/index.d.ts +116 -0
  155. package/fy-u-editor/index.mjs +2 -0
  156. package/fy-u-editor/style.css +1 -0
  157. package/fy-upload/index.d.ts +379 -0
  158. package/fy-upload/index.mjs +2 -0
  159. package/fy-upload/style.css +1 -0
  160. package/helper/avue.d.ts +36 -0
  161. package/helper/avue.mjs +35 -0
  162. package/helper/input.mjs +1 -1
  163. package/icon-temp/index.d.ts +19 -0
  164. package/icon-temp/index.mjs +27 -0
  165. package/icon-temp/style.css +1 -0
  166. package/image-viewer/index.d.ts +1 -1
  167. package/index.css +1 -1
  168. package/index.d.ts +31 -1
  169. package/index.mjs +118 -90
  170. package/keyboard/index.mjs +1 -1
  171. package/monaco-editor/index.d.ts +126 -0
  172. package/monaco-editor/index.mjs +2 -0
  173. package/monaco-editor/style.css +1 -0
  174. package/package.json +3 -1
  175. package/pageable-table/index.d.ts +1 -1
  176. package/pageable-table/index.mjs +1 -1
  177. package/photo-swipe/index.mjs +1 -1
  178. package/resolver/components.mjs +1 -1
  179. package/split-pane/index.mjs +1 -1
  180. package/sub-table/index.mjs +1 -1
  181. package/sub-table-plus/index.mjs +1 -1
  182. package/table-column-def/index.d.ts +6 -6
  183. package/table-view/index.mjs +4 -4
  184. package/tag-render/index.d.ts +1 -1
  185. package/toolbar/index.mjs +1 -1
  186. package/vue-cron/index.mjs +1 -1
  187. package/vue-tags-input/index.d.ts +1 -1
  188. package/vue-tree-select/index.mjs +1 -1
  189. package/watermark/index.mjs +1 -1
  190. package/web-types.json +1 -1
  191. package/x-input-tag/index.mjs +1 -1
  192. package/chunks/{DCqyZyF6.mjs → BCYFaOiB.mjs} +0 -0
  193. package/chunks/{B1luuf_A2.mjs → BJDeTpmp2.mjs} +0 -0
  194. package/chunks/{BhHMGhJ8.mjs → BcsscZAM.mjs} +0 -0
  195. package/chunks/{DbcxJ45j.mjs → BfW25VbY.mjs} +1 -1
  196. package/chunks/{6dNVtIN32.mjs → BjccroM8.mjs} +0 -0
  197. package/chunks/{BTGrh7dw2.mjs → Br0vC3nS2.mjs} +0 -0
  198. package/chunks/{BM5LdxU72.mjs → CB0zQsKV2.mjs} +0 -0
  199. package/chunks/{Bs926z902.mjs → CHqxWrj7.mjs} +1 -1
  200. package/chunks/{B5c0s3IR.mjs → CJwAjhLy.mjs} +1 -1
  201. package/chunks/{BAG_R87k2.mjs → CZnwC17w.mjs} +0 -0
  202. package/chunks/{tVHVSu5h.mjs → CbedyG4s.mjs} +4 -4
  203. package/chunks/{BwL9Xz1F.mjs → Cp1olyWc.mjs} +0 -0
  204. package/chunks/{KOJEsarR2.mjs → CpmWELPU.mjs} +0 -0
  205. package/chunks/{C-zPVdz-.mjs → D9ft-f6n.mjs} +1 -1
  206. package/chunks/{PEU1JRcN2.mjs → DEHzWyyp.mjs} +0 -0
  207. package/chunks/{CHmZyvFr.mjs → DJe2Reym.mjs} +0 -0
  208. package/chunks/{CpsHWpwH2.mjs → DNq7pbXh2.mjs} +0 -0
  209. package/chunks/{X-ckP2Hj.mjs → DOLQ28wD.mjs} +0 -0
  210. package/chunks/{tqW2DSco.mjs → fT8tFJVO.mjs} +1 -1
  211. /package/chunks/{Dkw6LNCq2.mjs → jG7vu3RX.mjs} +0 -0
  212. /package/chunks/{b0ve2YgF.mjs → mQG01w6Y.mjs} +0 -0
@@ -0,0 +1,316 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ showPassword: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ showWordLimit: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ prefixIcon: {
11
+ type: StringConstructor;
12
+ };
13
+ suffixIcon: {
14
+ type: StringConstructor;
15
+ };
16
+ prependClick: {
17
+ type: FunctionConstructor;
18
+ default: () => void;
19
+ };
20
+ prepend: {
21
+ type: StringConstructor;
22
+ };
23
+ appendClick: {
24
+ type: FunctionConstructor;
25
+ default: () => void;
26
+ };
27
+ append: {
28
+ type: StringConstructor;
29
+ };
30
+ minlength: {
31
+ type: NumberConstructor;
32
+ };
33
+ maxlength: {
34
+ type: NumberConstructor;
35
+ };
36
+ rows: NumberConstructor;
37
+ minRows: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ maxRows: {
42
+ type: NumberConstructor;
43
+ default: number;
44
+ };
45
+ autocomplete: {
46
+ type: StringConstructor;
47
+ };
48
+ }>, {}, {}, {
49
+ isSearch(): boolean;
50
+ typeParam(): "text" | "textarea" | "password";
51
+ }, {}, {
52
+ mixins: {
53
+ methods: {
54
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
55
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
56
+ };
57
+ }[];
58
+ data(): {
59
+ stringMode: boolean;
60
+ name: string;
61
+ text: undefined;
62
+ propsHttpDefault: {
63
+ name: string;
64
+ url: string;
65
+ fileName: string;
66
+ res: string;
67
+ };
68
+ propsDefault: {
69
+ rowKey: string;
70
+ rowParentKey: string;
71
+ nodeKey: string;
72
+ label: string;
73
+ value: string;
74
+ desc: string;
75
+ groups: string;
76
+ title: string;
77
+ leaf: string;
78
+ children: string;
79
+ hasChildren: string;
80
+ labelText: string;
81
+ disabled: string;
82
+ };
83
+ };
84
+ props: {
85
+ blur: FunctionConstructor;
86
+ focus: FunctionConstructor;
87
+ change: FunctionConstructor;
88
+ click: FunctionConstructor;
89
+ typeformat: FunctionConstructor;
90
+ control: FunctionConstructor;
91
+ separator: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ params: {
96
+ type: ObjectConstructor;
97
+ default: () => {};
98
+ };
99
+ listType: {
100
+ type: StringConstructor;
101
+ };
102
+ tableData: {
103
+ type: ObjectConstructor;
104
+ };
105
+ modelValue: {};
106
+ column: {
107
+ type: ObjectConstructor;
108
+ default: () => {};
109
+ };
110
+ label: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ readonly: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ size: StringConstructor;
119
+ tip: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ disabled: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ dataType: {
128
+ type: StringConstructor;
129
+ };
130
+ clearable: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ type: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ dicUrl: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ dicMethod: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ dicFormatter: FunctionConstructor;
147
+ dicQuery: {
148
+ type: ObjectConstructor;
149
+ default: () => {};
150
+ };
151
+ dic: {
152
+ type: ArrayConstructor;
153
+ default: () => never[];
154
+ };
155
+ placeholder: {
156
+ type: StringConstructor;
157
+ default: string;
158
+ };
159
+ rules: {
160
+ type: ArrayConstructor;
161
+ };
162
+ min: {
163
+ type: NumberConstructor;
164
+ };
165
+ max: {
166
+ type: NumberConstructor;
167
+ };
168
+ multiple: {
169
+ type: BooleanConstructor;
170
+ default: boolean;
171
+ };
172
+ button: {
173
+ type: BooleanConstructor;
174
+ default: boolean;
175
+ };
176
+ group: {
177
+ type: BooleanConstructor;
178
+ default: boolean;
179
+ };
180
+ row: {
181
+ type: BooleanConstructor;
182
+ default: boolean;
183
+ };
184
+ prop: {
185
+ type: StringConstructor;
186
+ default: string;
187
+ };
188
+ border: {
189
+ type: BooleanConstructor;
190
+ default: boolean;
191
+ };
192
+ popperClass: {
193
+ type: StringConstructor;
194
+ };
195
+ propsHttp: {
196
+ type: ObjectConstructor;
197
+ default: () => {
198
+ name: string;
199
+ url: string;
200
+ fileName: string;
201
+ res: string;
202
+ };
203
+ };
204
+ props: {
205
+ type: ObjectConstructor;
206
+ default: () => {
207
+ rowKey: string;
208
+ rowParentKey: string;
209
+ nodeKey: string;
210
+ label: string;
211
+ value: string;
212
+ desc: string;
213
+ groups: string;
214
+ title: string;
215
+ leaf: string;
216
+ children: string;
217
+ hasChildren: string;
218
+ labelText: string;
219
+ disabled: string;
220
+ };
221
+ };
222
+ };
223
+ watch: {
224
+ text: {
225
+ handler(this: any, n: any): void;
226
+ };
227
+ modelValue: {
228
+ handler(this: any): void;
229
+ };
230
+ };
231
+ computed: {
232
+ clearableVal(this: any): any;
233
+ componentName(this: any): string;
234
+ required(this: any): boolean;
235
+ isArray(this: any): boolean;
236
+ isString(this: any): boolean;
237
+ isNumber(this: any): boolean;
238
+ nameKey(this: any): any;
239
+ urlKey(this: any): any;
240
+ resKey(this: any): any;
241
+ groupsKey(this: any): any;
242
+ valueKey(this: any): any;
243
+ descKey(this: any): any;
244
+ leafKey(this: any): any;
245
+ labelKey(this: any): any;
246
+ childrenKey(this: any): any;
247
+ disabledKey(this: any): any;
248
+ idKey(this: any): any;
249
+ };
250
+ created(this: any): void;
251
+ } | {
252
+ methods: {
253
+ bindEvent(this: any, name: any, params: any): void;
254
+ initVal(this: any): void;
255
+ getLabelText(this: any, item: any): any;
256
+ handleFocus(this: any, event: any): void;
257
+ handleBlur(this: any, event: any): void;
258
+ handleClick(this: any, event: any): void;
259
+ handleChange(this: any, value: any): void;
260
+ };
261
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
262
+ showPassword: {
263
+ type: BooleanConstructor;
264
+ default: boolean;
265
+ };
266
+ showWordLimit: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ };
270
+ prefixIcon: {
271
+ type: StringConstructor;
272
+ };
273
+ suffixIcon: {
274
+ type: StringConstructor;
275
+ };
276
+ prependClick: {
277
+ type: FunctionConstructor;
278
+ default: () => void;
279
+ };
280
+ prepend: {
281
+ type: StringConstructor;
282
+ };
283
+ appendClick: {
284
+ type: FunctionConstructor;
285
+ default: () => void;
286
+ };
287
+ append: {
288
+ type: StringConstructor;
289
+ };
290
+ minlength: {
291
+ type: NumberConstructor;
292
+ };
293
+ maxlength: {
294
+ type: NumberConstructor;
295
+ };
296
+ rows: NumberConstructor;
297
+ minRows: {
298
+ type: NumberConstructor;
299
+ default: number;
300
+ };
301
+ maxRows: {
302
+ type: NumberConstructor;
303
+ default: number;
304
+ };
305
+ autocomplete: {
306
+ type: StringConstructor;
307
+ };
308
+ }>> & Readonly<{}>, {
309
+ showWordLimit: boolean;
310
+ showPassword: boolean;
311
+ prependClick: Function;
312
+ appendClick: Function;
313
+ minRows: number;
314
+ maxRows: number;
315
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
316
+ export default _default;
@@ -0,0 +1,122 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { t } from "../chunks/CIihGrgY.mjs";
3
+ import { n, t as r } from "../chunks/Cf_h9S62.mjs";
4
+ import { ElInput as i } from "element-plus/es";
5
+ import "element-plus/es/components/base/style/css";
6
+ import "element-plus/es/components/input/style/css";
7
+ import { createBlock as a, createElementVNode as o, createSlots as s, createVNode as c, openBlock as l, toDisplayString as u, withCtx as d, withKeys as f } from "vue";
8
+ //#region src/components/avue/fy-from/input/FyInput.vue
9
+ var p = {
10
+ name: "FyInput",
11
+ mixins: [n, r],
12
+ props: {
13
+ showPassword: {
14
+ type: Boolean,
15
+ default: !0
16
+ },
17
+ showWordLimit: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ prefixIcon: { type: String },
22
+ suffixIcon: { type: String },
23
+ prependClick: {
24
+ type: Function,
25
+ default: () => {}
26
+ },
27
+ prepend: { type: String },
28
+ appendClick: {
29
+ type: Function,
30
+ default: () => {}
31
+ },
32
+ append: { type: String },
33
+ minlength: { type: Number },
34
+ maxlength: { type: Number },
35
+ rows: Number,
36
+ minRows: {
37
+ type: Number,
38
+ default: 5
39
+ },
40
+ maxRows: {
41
+ type: Number,
42
+ default: 10
43
+ },
44
+ autocomplete: { type: String }
45
+ },
46
+ computed: {
47
+ isSearch() {
48
+ return this.type === "search";
49
+ },
50
+ typeParam() {
51
+ return this.type === "textarea" ? "textarea" : this.type === "password" ? "password" : "text";
52
+ }
53
+ }
54
+ };
55
+ function m(e, n, r, p, m, h) {
56
+ let g = t, _ = i;
57
+ return l(), a(_, {
58
+ modelValue: e.text,
59
+ "onUpdate:modelValue": n[3] || (n[3] = (t) => e.text = t),
60
+ class: "avue-input",
61
+ size: e.size,
62
+ clearable: e.clearableVal,
63
+ type: h.typeParam,
64
+ maxlength: r.maxlength,
65
+ minlength: r.minlength,
66
+ "show-password": h.typeParam === "password" ? r.showPassword : !1,
67
+ rows: r.rows,
68
+ autosize: {
69
+ minRows: r.minRows,
70
+ maxRows: r.maxRows
71
+ },
72
+ "prefix-icon": r.prefixIcon,
73
+ "suffix-icon": r.suffixIcon,
74
+ readonly: e.readonly,
75
+ placeholder: e.placeholder,
76
+ "show-word-limit": r.showWordLimit,
77
+ disabled: e.disabled,
78
+ autocomplete: r.autocomplete,
79
+ onKeyup: n[4] || (n[4] = f((e) => h.isSearch ? r.appendClick() : "", ["enter"])),
80
+ onClick: e.handleClick,
81
+ onFocus: e.handleFocus,
82
+ onBlur: e.handleBlur
83
+ }, s({ _: 2 }, [r.prepend ? {
84
+ name: "prepend",
85
+ fn: d(() => [o("span", { onClick: n[0] || (n[0] = (e) => r.prependClick()) }, u(r.prepend), 1)]),
86
+ key: "0"
87
+ } : void 0, r.append ? {
88
+ name: "append",
89
+ fn: d(() => [o("span", { onClick: n[1] || (n[1] = (e) => r.appendClick()) }, u(r.append), 1)]),
90
+ key: "1"
91
+ } : h.isSearch ? {
92
+ name: "append",
93
+ fn: d(() => [c(g, {
94
+ icon: "el-icon-search",
95
+ onClick: n[2] || (n[2] = (e) => r.appendClick())
96
+ })]),
97
+ key: "2"
98
+ } : void 0]), 1032, [
99
+ "modelValue",
100
+ "size",
101
+ "clearable",
102
+ "type",
103
+ "maxlength",
104
+ "minlength",
105
+ "show-password",
106
+ "rows",
107
+ "autosize",
108
+ "prefix-icon",
109
+ "suffix-icon",
110
+ "readonly",
111
+ "placeholder",
112
+ "show-word-limit",
113
+ "disabled",
114
+ "autocomplete",
115
+ "onClick",
116
+ "onFocus",
117
+ "onBlur"
118
+ ]);
119
+ }
120
+ var h = /* @__PURE__ */ e(p, [["render", m]]);
121
+ //#endregion
122
+ export { h as default };
@@ -0,0 +1,235 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ colorFormat: StringConstructor;
3
+ predefine: {
4
+ type: ArrayConstructor;
5
+ default: () => string[];
6
+ };
7
+ showAlpha: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>, {}, {}, {}, {}, {
12
+ mixins: {
13
+ methods: {
14
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
15
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
16
+ };
17
+ }[];
18
+ data(): {
19
+ stringMode: boolean;
20
+ name: string;
21
+ text: undefined;
22
+ propsHttpDefault: {
23
+ name: string;
24
+ url: string;
25
+ fileName: string;
26
+ res: string;
27
+ };
28
+ propsDefault: {
29
+ rowKey: string;
30
+ rowParentKey: string;
31
+ nodeKey: string;
32
+ label: string;
33
+ value: string;
34
+ desc: string;
35
+ groups: string;
36
+ title: string;
37
+ leaf: string;
38
+ children: string;
39
+ hasChildren: string;
40
+ labelText: string;
41
+ disabled: string;
42
+ };
43
+ };
44
+ props: {
45
+ blur: FunctionConstructor;
46
+ focus: FunctionConstructor;
47
+ change: FunctionConstructor;
48
+ click: FunctionConstructor;
49
+ typeformat: FunctionConstructor;
50
+ control: FunctionConstructor;
51
+ separator: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ params: {
56
+ type: ObjectConstructor;
57
+ default: () => {};
58
+ };
59
+ listType: {
60
+ type: StringConstructor;
61
+ };
62
+ tableData: {
63
+ type: ObjectConstructor;
64
+ };
65
+ modelValue: {};
66
+ column: {
67
+ type: ObjectConstructor;
68
+ default: () => {};
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ readonly: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ size: StringConstructor;
79
+ tip: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ disabled: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ dataType: {
88
+ type: StringConstructor;
89
+ };
90
+ clearable: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ type: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ dicUrl: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ dicMethod: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ dicFormatter: FunctionConstructor;
107
+ dicQuery: {
108
+ type: ObjectConstructor;
109
+ default: () => {};
110
+ };
111
+ dic: {
112
+ type: ArrayConstructor;
113
+ default: () => never[];
114
+ };
115
+ placeholder: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ rules: {
120
+ type: ArrayConstructor;
121
+ };
122
+ min: {
123
+ type: NumberConstructor;
124
+ };
125
+ max: {
126
+ type: NumberConstructor;
127
+ };
128
+ multiple: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ button: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ group: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ row: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ prop: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ };
148
+ border: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ popperClass: {
153
+ type: StringConstructor;
154
+ };
155
+ propsHttp: {
156
+ type: ObjectConstructor;
157
+ default: () => {
158
+ name: string;
159
+ url: string;
160
+ fileName: string;
161
+ res: string;
162
+ };
163
+ };
164
+ props: {
165
+ type: ObjectConstructor;
166
+ default: () => {
167
+ rowKey: string;
168
+ rowParentKey: string;
169
+ nodeKey: string;
170
+ label: string;
171
+ value: string;
172
+ desc: string;
173
+ groups: string;
174
+ title: string;
175
+ leaf: string;
176
+ children: string;
177
+ hasChildren: string;
178
+ labelText: string;
179
+ disabled: string;
180
+ };
181
+ };
182
+ };
183
+ watch: {
184
+ text: {
185
+ handler(this: any, n: any): void;
186
+ };
187
+ modelValue: {
188
+ handler(this: any): void;
189
+ };
190
+ };
191
+ computed: {
192
+ clearableVal(this: any): any;
193
+ componentName(this: any): string;
194
+ required(this: any): boolean;
195
+ isArray(this: any): boolean;
196
+ isString(this: any): boolean;
197
+ isNumber(this: any): boolean;
198
+ nameKey(this: any): any;
199
+ urlKey(this: any): any;
200
+ resKey(this: any): any;
201
+ groupsKey(this: any): any;
202
+ valueKey(this: any): any;
203
+ descKey(this: any): any;
204
+ leafKey(this: any): any;
205
+ labelKey(this: any): any;
206
+ childrenKey(this: any): any;
207
+ disabledKey(this: any): any;
208
+ idKey(this: any): any;
209
+ };
210
+ created(this: any): void;
211
+ } | {
212
+ methods: {
213
+ bindEvent(this: any, name: any, params: any): void;
214
+ initVal(this: any): void;
215
+ getLabelText(this: any, item: any): any;
216
+ handleFocus(this: any, event: any): void;
217
+ handleBlur(this: any, event: any): void;
218
+ handleClick(this: any, event: any): void;
219
+ handleChange(this: any, value: any): void;
220
+ };
221
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
222
+ colorFormat: StringConstructor;
223
+ predefine: {
224
+ type: ArrayConstructor;
225
+ default: () => string[];
226
+ };
227
+ showAlpha: {
228
+ type: BooleanConstructor;
229
+ default: boolean;
230
+ };
231
+ }>> & Readonly<{}>, {
232
+ predefine: unknown[];
233
+ showAlpha: boolean;
234
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
235
+ export default _default;