@exhaustive-ui/mcp 22.4.0 → 22.6.0

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 (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -13,8 +13,8 @@ InputMask is used as a controlled input with ngModel properties.
13
13
  ```typescript
14
14
  import { Component } from '@angular/core';
15
15
  import { FormsModule } from '@angular/forms';
16
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
17
16
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
17
+ import { InputText } from '@exhaustive-ui/core/inputtext';
18
18
 
19
19
  @Component({
20
20
  template: `
@@ -23,7 +23,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
23
23
  </div>
24
24
  `,
25
25
  standalone: true,
26
- imports: [InputTextModule, InputMaskModule, FormsModule]
26
+ imports: [FormsModule, InputMaskModule, InputText]
27
27
  })
28
28
  export class InputmaskBasicDemo {
29
29
  value: string | undefined;
@@ -46,7 +46,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
46
46
  </div>
47
47
  `,
48
48
  standalone: true,
49
- imports: [InputMaskModule, FormsModule]
49
+ imports: [FormsModule, InputMaskModule]
50
50
  })
51
51
  export class InputmaskCleariconDemo {
52
52
  value: string | undefined;
@@ -60,17 +60,17 @@ When disabled is present, the element cannot be edited and focused.
60
60
  ```typescript
61
61
  import { Component } from '@angular/core';
62
62
  import { FormsModule } from '@angular/forms';
63
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
64
63
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
64
+ import { InputText } from '@exhaustive-ui/core/inputtext';
65
65
 
66
66
  @Component({
67
67
  template: `
68
68
  <div class="card flex justify-center">
69
- <input pInputText pInputMask="999-99-9999" [(ngModel)]="value" disabled />
69
+ <input pInputText pInputMask="999-99-9999" [(ngModel)]="value" disabled aria-label="SSN" />
70
70
  </div>
71
71
  `,
72
72
  standalone: true,
73
- imports: [InputTextModule, InputMaskModule, FormsModule]
73
+ imports: [FormsModule, InputMaskModule, InputText]
74
74
  })
75
75
  export class InputmaskDisabledDemo {
76
76
  value: string | undefined;
@@ -84,8 +84,8 @@ Specify the variant property as filled to display the component with a higher vi
84
84
  ```typescript
85
85
  import { Component } from '@angular/core';
86
86
  import { FormsModule } from '@angular/forms';
87
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
88
87
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
88
+ import { InputText } from '@exhaustive-ui/core/inputtext';
89
89
 
90
90
  @Component({
91
91
  template: `
@@ -94,7 +94,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
94
94
  </div>
95
95
  `,
96
96
  standalone: true,
97
- imports: [InputTextModule, InputMaskModule, FormsModule]
97
+ imports: [FormsModule, InputMaskModule, InputText]
98
98
  })
99
99
  export class InputmaskFilledDemo {
100
100
  value: string | undefined;
@@ -108,9 +108,10 @@ FloatLabel visually integrates a label with its form element. Visit FloatLabel d
108
108
  ```typescript
109
109
  import { Component } from '@angular/core';
110
110
  import { FormsModule } from '@angular/forms';
111
- import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
112
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
111
+ import { RouterModule } from '@angular/router';
113
112
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
113
+ import { InputText } from '@exhaustive-ui/core/inputtext';
114
+ import { FloatLabelModule } from '@exhaustive-ui/core/floatlabel';
114
115
 
115
116
  @Component({
116
117
  template: `
@@ -130,11 +131,13 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
130
131
  </div>
131
132
  `,
132
133
  standalone: true,
133
- imports: [FloatLabelModule, InputTextModule, InputMaskModule, FormsModule]
134
+ imports: [FormsModule, RouterModule, InputMaskModule, InputText, FloatLabelModule]
134
135
  })
135
136
  export class InputmaskFloatlabelDemo {
136
137
  value1: string | undefined;
138
+
137
139
  value2: string | undefined;
140
+
138
141
  value3: string | undefined;
139
142
  }
140
143
  ```
@@ -146,8 +149,8 @@ The fluid prop makes the component take up the full width of its container when
146
149
  ```typescript
147
150
  import { Component } from '@angular/core';
148
151
  import { FormsModule } from '@angular/forms';
149
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
150
152
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
153
+ import { InputText } from '@exhaustive-ui/core/inputtext';
151
154
 
152
155
  @Component({
153
156
  template: `
@@ -156,7 +159,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
156
159
  </div>
157
160
  `,
158
161
  standalone: true,
159
- imports: [InputTextModule, InputMaskModule, FormsModule]
162
+ imports: [FormsModule, InputMaskModule, InputText]
160
163
  })
161
164
  export class InputmaskFluidDemo {
162
165
  value: string | undefined;
@@ -170,9 +173,10 @@ IftaLabel is used to create infield top aligned labels. Visit IftaLabel document
170
173
  ```typescript
171
174
  import { Component } from '@angular/core';
172
175
  import { FormsModule } from '@angular/forms';
173
- import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
174
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
176
+ import { RouterModule } from '@angular/router';
175
177
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
178
+ import { InputText } from '@exhaustive-ui/core/inputtext';
179
+ import { IftaLabelModule } from '@exhaustive-ui/core/iftalabel';
176
180
 
177
181
  @Component({
178
182
  template: `
@@ -184,7 +188,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
184
188
  </div>
185
189
  `,
186
190
  standalone: true,
187
- imports: [IftaLabelModule, InputTextModule, InputMaskModule, FormsModule]
191
+ imports: [FormsModule, RouterModule, InputMaskModule, InputText, IftaLabelModule]
188
192
  })
189
193
  export class InputmaskIftalabelDemo {
190
194
  value: string | undefined;
@@ -198,8 +202,8 @@ The invalid state is applied using the ⁠invalid property to indicate failed va
198
202
  ```typescript
199
203
  import { Component } from '@angular/core';
200
204
  import { FormsModule } from '@angular/forms';
201
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
202
205
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
206
+ import { InputText } from '@exhaustive-ui/core/inputtext';
203
207
 
204
208
  @Component({
205
209
  template: `
@@ -209,10 +213,11 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
209
213
  </div>
210
214
  `,
211
215
  standalone: true,
212
- imports: [InputTextModule, InputMaskModule, FormsModule]
216
+ imports: [FormsModule, InputMaskModule, InputText]
213
217
  })
214
218
  export class InputmaskInvalidDemo {
215
219
  value1: string | undefined;
220
+
216
221
  value2: string | undefined;
217
222
  }
218
223
  ```
@@ -224,8 +229,9 @@ Mask format can be a combination of the following definitions; a for alphabetic
224
229
  ```typescript
225
230
  import { Component } from '@angular/core';
226
231
  import { FormsModule } from '@angular/forms';
227
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
228
232
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
233
+ import { InputText } from '@exhaustive-ui/core/inputtext';
234
+ import { FluidModule } from '@exhaustive-ui/core/fluid';
229
235
 
230
236
  @Component({
231
237
  template: `
@@ -245,11 +251,13 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
245
251
  </p-fluid>
246
252
  `,
247
253
  standalone: true,
248
- imports: [InputTextModule, InputMaskModule, FormsModule]
254
+ imports: [FormsModule, InputMaskModule, InputText, FluidModule]
249
255
  })
250
256
  export class InputmaskMaskDemo {
251
257
  value1: string | undefined;
258
+
252
259
  value2: string | undefined;
260
+
253
261
  value3: string | undefined;
254
262
  }
255
263
  ```
@@ -261,8 +269,8 @@ When the input does not complete the mask definition, it is cleared by default.
261
269
  ```typescript
262
270
  import { Component } from '@angular/core';
263
271
  import { FormsModule } from '@angular/forms';
264
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
265
272
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
273
+ import { InputText } from '@exhaustive-ui/core/inputtext';
266
274
 
267
275
  @Component({
268
276
  template: `
@@ -271,7 +279,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
271
279
  </div>
272
280
  `,
273
281
  standalone: true,
274
- imports: [InputTextModule, InputMaskModule, FormsModule]
282
+ imports: [FormsModule, InputMaskModule, InputText]
275
283
  })
276
284
  export class InputmaskOptionalDemo {
277
285
  value: string | undefined;
@@ -284,13 +292,14 @@ InputMask can also be used with reactive forms. In this case, the formControlNam
284
292
 
285
293
  ```typescript
286
294
  import { Component, inject } from '@angular/core';
287
- import { ReactiveFormsModule } from '@angular/forms';
288
- import { MessageModule } from '@exhaustive-ui/core/message';
289
- import { ToastModule } from '@exhaustive-ui/core/toast';
290
- import { ButtonModule } from '@exhaustive-ui/core/button';
291
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
292
- import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
295
+ import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
293
296
  import { MessageService } from '@exhaustive-ui/core/api';
297
+ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
298
+ import { InputText } from '@exhaustive-ui/core/inputtext';
299
+ import { ButtonModule } from '@exhaustive-ui/core/button';
300
+ import { ToastModule } from '@exhaustive-ui/core/toast';
301
+ import { MessageModule } from '@exhaustive-ui/core/message';
302
+ import { FluidModule } from '@exhaustive-ui/core/fluid';
294
303
 
295
304
  @Component({
296
305
  template: `
@@ -308,18 +317,22 @@ import { MessageService } from '@exhaustive-ui/core/api';
308
317
  </div>
309
318
  `,
310
319
  standalone: true,
311
- imports: [MessageModule, ToastModule, ButtonModule, InputTextModule, InputMaskModule, ReactiveFormsModule]
320
+ imports: [ReactiveFormsModule, InputMaskModule, InputText, ButtonModule, ToastModule, MessageModule, FluidModule],
321
+ providers: [MessageService]
312
322
  })
313
323
  export class InputmaskReactiveformsDemo {
324
+ private fb = inject(FormBuilder);
325
+
314
326
  messageService = inject(MessageService);
315
- items: any[] | undefined;
327
+
316
328
  exampleForm: FormGroup | undefined;
329
+
317
330
  formSubmitted: boolean = false;
318
331
 
319
332
  constructor() {
320
333
  this.exampleForm = this.fb.group({
321
- value: ['', Validators.required]
322
- });
334
+ value: ['', Validators.required]
335
+ });
323
336
  }
324
337
 
325
338
  onSubmit() {
@@ -345,12 +358,12 @@ InputMask can also be used with Angular Signal Forms , the @angular/forms/signal
345
358
  ```typescript
346
359
  import { Component, inject, signal } from '@angular/core';
347
360
  import { form, FormField, required, submit } from '@angular/forms/signals';
348
- import { MessageModule } from '@exhaustive-ui/core/message';
349
- import { ToastModule } from '@exhaustive-ui/core/toast';
350
- import { ButtonModule } from '@exhaustive-ui/core/button';
351
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
352
- import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
353
361
  import { MessageService } from '@exhaustive-ui/core/api';
362
+ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
363
+ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
364
+ import { ButtonModule } from '@exhaustive-ui/core/button';
365
+ import { ToastModule } from '@exhaustive-ui/core/toast';
366
+ import { MessageModule } from '@exhaustive-ui/core/message';
354
367
 
355
368
  @Component({
356
369
  template: `
@@ -369,11 +382,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
369
382
  </div>
370
383
  `,
371
384
  standalone: true,
372
- imports: [MessageModule, ToastModule, ButtonModule, InputTextModule, InputMaskModule, FormField]
385
+ imports: [FormField, InputMaskModule, InputTextModule, ButtonModule, ToastModule, MessageModule],
386
+ providers: [MessageService]
373
387
  })
374
388
  export class InputmaskSignalformsDemo {
375
389
  messageService = inject(MessageService);
390
+
376
391
  model = signal({ value: '' });
392
+
377
393
  exampleForm = form(this.model, (f) => {
378
394
  required(f.value);
379
395
  });
@@ -395,8 +411,8 @@ InputMask provides small and large sizes as alternatives to the base.
395
411
  ```typescript
396
412
  import { Component } from '@angular/core';
397
413
  import { FormsModule } from '@angular/forms';
398
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
399
414
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
415
+ import { InputText } from '@exhaustive-ui/core/inputtext';
400
416
 
401
417
  @Component({
402
418
  template: `
@@ -407,11 +423,13 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
407
423
  </div>
408
424
  `,
409
425
  standalone: true,
410
- imports: [InputTextModule, InputMaskModule, FormsModule]
426
+ imports: [FormsModule, InputMaskModule, InputText]
411
427
  })
412
428
  export class InputmaskSizesDemo {
413
429
  value1: string | undefined;
430
+
414
431
  value2: string | undefined;
432
+
415
433
  value3: string | undefined;
416
434
  }
417
435
  ```
@@ -423,8 +441,8 @@ Default placeholder for a mask is underscore that can be customized using slotCh
423
441
  ```typescript
424
442
  import { Component } from '@angular/core';
425
443
  import { FormsModule } from '@angular/forms';
426
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
427
444
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
445
+ import { InputText } from '@exhaustive-ui/core/inputtext';
428
446
 
429
447
  @Component({
430
448
  template: `
@@ -433,7 +451,7 @@ import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
433
451
  </div>
434
452
  `,
435
453
  standalone: true,
436
- imports: [InputTextModule, InputMaskModule, FormsModule]
454
+ imports: [FormsModule, InputMaskModule, InputText]
437
455
  })
438
456
  export class InputmaskSlotcharDemo {
439
457
  value: string | undefined;
@@ -445,12 +463,13 @@ export class InputmaskSlotcharDemo {
445
463
  ```typescript
446
464
  import { Component, inject } from '@angular/core';
447
465
  import { FormsModule } from '@angular/forms';
448
- import { MessageModule } from '@exhaustive-ui/core/message';
449
- import { ToastModule } from '@exhaustive-ui/core/toast';
466
+ import { MessageService } from '@exhaustive-ui/core/api';
450
467
  import { ButtonModule } from '@exhaustive-ui/core/button';
451
- import { InputTextModule } from '@exhaustive-ui/core/inputtext';
468
+ import { FluidModule } from '@exhaustive-ui/core/fluid';
452
469
  import { InputMaskModule } from '@exhaustive-ui/core/inputmask';
453
- import { MessageService } from '@exhaustive-ui/core/api';
470
+ import { InputText } from '@exhaustive-ui/core/inputtext';
471
+ import { MessageModule } from '@exhaustive-ui/core/message';
472
+ import { ToastModule } from '@exhaustive-ui/core/toast';
454
473
 
455
474
  @Component({
456
475
  template: `
@@ -468,11 +487,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
468
487
  </div>
469
488
  `,
470
489
  standalone: true,
471
- imports: [MessageModule, ToastModule, ButtonModule, InputTextModule, InputMaskModule, FormsModule]
490
+ imports: [FormsModule, InputMaskModule, InputText, ButtonModule, ToastModule, MessageModule, FluidModule],
491
+ providers: [MessageService]
472
492
  })
473
493
  export class InputmaskTemplatedrivenformsDemo {
474
494
  messageService = inject(MessageService);
495
+
475
496
  items: any[] = [];
497
+
476
498
  value: any;
477
499
 
478
500
  onSubmit(form: any) {
@@ -492,44 +514,44 @@ InputMask component is used to enter input in a certain format such as numeric,
492
514
 
493
515
  | Name | Type | Default | Description |
494
516
  |------|------|---------|-------------|
495
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
496
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
497
- | pt | InputSignal<InputMaskPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
498
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
499
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
500
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
501
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
502
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
503
- | fluid | InputSignalWithTransform<boolean, unknown> | false | Spans 100% width of the container when enabled. |
504
- | variant | InputSignal<"outlined" \| "filled"> | 'outlined' | Specifies the input variant of the component. |
505
- | size | InputSignal<"small" \| "large"> | undefined | Specifies the size of the component. |
506
- | inputSize | InputSignal<number> | undefined | Specifies the visible width of the input element in characters. |
507
- | pattern | InputSignalWithTransform<string, string \| readonly RegExp[]> | undefined | Specifies the value must match the pattern. |
508
- | min | InputSignalWithTransform<number, unknown> | undefined | The value must be greater than or equal to the value. |
509
- | max | InputSignalWithTransform<number, unknown> | undefined | The value must be less than or equal to the value. |
510
- | step | InputSignal<number> | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
511
- | minlength | InputSignal<number> | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
512
- | maxlength | InputSignal<number> | undefined | The number of characters (code points) must not exceed the value of the attribute. |
513
- | type | InputSignal<string> | ... | HTML5 input type. |
514
- | slotChar | InputSignal<string> | ... | Placeholder character in mask, default is underscore. |
515
- | autoClear | InputSignalWithTransform<boolean, unknown> | ... | Clears the incomplete value on blur. |
516
- | showClear | InputSignalWithTransform<boolean, unknown> | ... | When enabled, a clear icon is displayed to clear the value. |
517
- | style | InputSignal<{ [klass: string]: any }> | ... | Inline style of the input field. |
518
- | inputId | InputSignal<string> | ... | Identifier of the focus input to match a label defined for the component. |
519
- | styleClass | InputSignal<string> | ... | Style class of the input field. |
520
- | placeholder | InputSignal<string> | ... | Advisory information to display on input. |
521
- | tabindex | InputSignal<string> | ... | Specifies tab order of the element. |
522
- | title | InputSignal<string> | ... | Title text of the input text. |
523
- | ariaLabel | InputSignal<string> | ... | Used to define a string that labels the input element. |
524
- | ariaLabelledBy | InputSignal<string> | ... | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
525
- | ariaRequired | InputSignalWithTransform<boolean, unknown> | ... | Used to indicate that user input is required on an element before a form can be submitted. |
526
- | readonly | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that an input field is read-only. |
527
- | unmask | InputSignalWithTransform<boolean, unknown> | ... | Defines if ngModel sets the raw unmasked value to bound value or the formatted mask value. |
528
- | characterPattern | InputSignal<string> | ... | Regex pattern for alpha characters |
529
- | autofocus | InputSignalWithTransform<boolean, unknown> | ... | When present, the input gets a focus automatically on load. |
530
- | autocomplete | InputSignal<string> | ... | Used to define a string that autocomplete attribute the current element. |
531
- | keepBuffer | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that whether to clean buffer value from model. |
532
- | mask | InputSignal<string> | ... | Mask pattern. A backslash makes the next character a literal, e.g. mask="+\9 999" for a fixed '+9' prefix. |
517
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
518
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
519
+ | pt | InputMaskPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
520
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
521
+ | required | boolean | false | There must be a value (if set). |
522
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
523
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
524
+ | name | string | undefined | When present, it specifies that the name of the input. |
525
+ | fluid | boolean | false | Spans 100% width of the container when enabled. |
526
+ | variant | "outlined" \| "filled" | 'outlined' | Specifies the input variant of the component. |
527
+ | size | "small" \| "large" | undefined | Specifies the size of the component. |
528
+ | inputSize | number | undefined | Specifies the visible width of the input element in characters. |
529
+ | pattern | string | undefined | Specifies the value must match the pattern. |
530
+ | min | number | undefined | The value must be greater than or equal to the value. |
531
+ | max | number | undefined | The value must be less than or equal to the value. |
532
+ | step | number | undefined | Unless the step is set to the any literal, the value must be min + an integral multiple of the step. |
533
+ | minlength | number | undefined | The number of characters (code points) must not be less than the value of the attribute, if non-empty. |
534
+ | maxlength | number | undefined | The number of characters (code points) must not exceed the value of the attribute. |
535
+ | type | string | 'text' | HTML5 input type. |
536
+ | slotChar | string | '_' | Placeholder character in mask, default is underscore. |
537
+ | autoClear | boolean | true | Clears the incomplete value on blur. |
538
+ | showClear | boolean | false | When enabled, a clear icon is displayed to clear the value. |
539
+ | style | { [klass: string]: any } | - | Inline style of the input field. |
540
+ | inputId | string | - | Identifier of the focus input to match a label defined for the component. |
541
+ | styleClass | string | - | Style class of the input field. |
542
+ | placeholder | string | - | Advisory information to display on input. |
543
+ | tabindex | string | - | Specifies tab order of the element. |
544
+ | title | string | - | Title text of the input text. |
545
+ | ariaLabel | string | - | Used to define a string that labels the input element. |
546
+ | ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
547
+ | ariaRequired | boolean | - | Used to indicate that user input is required on an element before a form can be submitted. |
548
+ | readonly | boolean | - | When present, it specifies that an input field is read-only. |
549
+ | unmask | boolean | - | Defines if ngModel sets the raw unmasked value to bound value or the formatted mask value. |
550
+ | characterPattern | string | '[A-Za-z]' | Regex pattern for alpha characters |
551
+ | autofocus | boolean | - | When present, the input gets a focus automatically on load. |
552
+ | autocomplete | string | - | Used to define a string that autocomplete attribute the current element. |
553
+ | keepBuffer | boolean | false | When present, it specifies that whether to clean buffer value from model. |
554
+ | mask | string | - | Mask pattern. A backslash makes the next character a literal, e.g. mask="+\9 999" for a fixed '+9' prefix. |
533
555
 
534
556
  ### Emits
535
557