@primevue/mcp 4.5.5 → 5.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/LICENSE.md +45 -21
  2. package/README.md +48 -250
  3. package/data/components.json +47269 -0
  4. package/data/llms/components/accordion.md +629 -0
  5. package/data/llms/components/animateonscroll.md +165 -0
  6. package/data/llms/components/autocomplete.md +995 -0
  7. package/data/llms/components/avatar.md +264 -0
  8. package/data/llms/components/badge.md +200 -0
  9. package/data/llms/components/blockui.md +99 -0
  10. package/data/llms/components/breadcrumb.md +269 -0
  11. package/data/llms/components/button.md +902 -0
  12. package/data/llms/components/card.md +209 -0
  13. package/data/llms/components/carousel.md +506 -0
  14. package/data/llms/components/cascadeselect.md +1207 -0
  15. package/data/llms/components/chart.md +1022 -0
  16. package/data/llms/components/checkbox.md +401 -0
  17. package/data/llms/components/chip.md +206 -0
  18. package/data/llms/components/colorpicker.md +213 -0
  19. package/data/llms/components/commandmenu.md +660 -0
  20. package/data/llms/components/compare.md +407 -0
  21. package/data/llms/components/confirmdialog.md +343 -0
  22. package/data/llms/components/confirmpopup.md +252 -0
  23. package/data/llms/components/contextmenu.md +522 -0
  24. package/data/llms/components/datatable.md +5266 -0
  25. package/data/llms/components/dataview.md +569 -0
  26. package/data/llms/components/datepicker.md +964 -0
  27. package/data/llms/components/deferredcontent.md +96 -0
  28. package/data/llms/components/dialog.md +702 -0
  29. package/data/llms/components/divider.md +152 -0
  30. package/data/llms/components/dock.md +488 -0
  31. package/data/llms/components/drawer.md +469 -0
  32. package/data/llms/components/dynamicdialog.md +214 -0
  33. package/data/llms/components/editor.md +205 -0
  34. package/data/llms/components/fieldset.md +253 -0
  35. package/data/llms/components/fileupload.md +459 -0
  36. package/data/llms/components/floatlabel.md +144 -0
  37. package/data/llms/components/fluid.md +104 -0
  38. package/data/llms/components/focustrap.md +59 -0
  39. package/data/llms/components/forms.md +344 -0
  40. package/data/llms/components/galleria.md +1119 -0
  41. package/data/llms/components/gallery.md +1003 -0
  42. package/data/llms/components/iconfield.md +283 -0
  43. package/data/llms/components/iftalabel.md +96 -0
  44. package/data/llms/components/image.md +179 -0
  45. package/data/llms/components/imagecompare.md +108 -0
  46. package/data/llms/components/inplace.md +183 -0
  47. package/data/llms/components/inputcolor.md +869 -0
  48. package/data/llms/components/inputgroup.md +419 -0
  49. package/data/llms/components/inputmask.md +345 -0
  50. package/data/llms/components/inputnumber.md +551 -0
  51. package/data/llms/components/inputotp.md +345 -0
  52. package/data/llms/components/inputpassword.md +738 -0
  53. package/data/llms/components/inputtags.md +432 -0
  54. package/data/llms/components/inputtext.md +569 -0
  55. package/data/llms/components/installation.md +1 -0
  56. package/data/llms/components/keyfilter.md +116 -0
  57. package/data/llms/components/knob.md +318 -0
  58. package/data/llms/components/label.md +151 -0
  59. package/data/llms/components/laravel.md +53 -0
  60. package/data/llms/components/listbox.md +636 -0
  61. package/data/llms/components/mask.md +203 -0
  62. package/data/llms/components/mcp.md +39 -0
  63. package/data/llms/components/megamenu.md +563 -0
  64. package/data/llms/components/menu.md +651 -0
  65. package/data/llms/components/menubar.md +446 -0
  66. package/data/llms/components/message.md +497 -0
  67. package/data/llms/components/metergroup.md +281 -0
  68. package/data/llms/components/multiselect.md +752 -0
  69. package/data/llms/components/orderlist.md +224 -0
  70. package/data/llms/components/organizationchart.md +418 -0
  71. package/data/llms/components/paginator.md +221 -0
  72. package/data/llms/components/panel.md +321 -0
  73. package/data/llms/components/panelmenu.md +703 -0
  74. package/data/llms/components/password.md +657 -0
  75. package/data/llms/components/picklist.md +286 -0
  76. package/data/llms/components/popover.md +145 -0
  77. package/data/llms/components/progressbar.md +242 -0
  78. package/data/llms/components/progressspinner.md +104 -0
  79. package/data/llms/components/radiobutton.md +427 -0
  80. package/data/llms/components/rating.md +312 -0
  81. package/data/llms/components/ripple.md +91 -0
  82. package/data/llms/components/scrollarea.md +700 -0
  83. package/data/llms/components/scrollpanel.md +131 -0
  84. package/data/llms/components/scrolltop.md +87 -0
  85. package/data/llms/components/select.md +1251 -0
  86. package/data/llms/components/selectbutton.md +268 -0
  87. package/data/llms/components/sidebar.md +2232 -0
  88. package/data/llms/components/skeleton.md +302 -0
  89. package/data/llms/components/slider.md +416 -0
  90. package/data/llms/components/speeddial.md +402 -0
  91. package/data/llms/components/splitbutton.md +840 -0
  92. package/data/llms/components/splitter.md +447 -0
  93. package/data/llms/components/stepper.md +551 -0
  94. package/data/llms/components/styleclass.md +226 -0
  95. package/data/llms/components/tabs.md +609 -0
  96. package/data/llms/components/tag.md +178 -0
  97. package/data/llms/components/terminal.md +123 -0
  98. package/data/llms/components/textarea.md +519 -0
  99. package/data/llms/components/tieredmenu.md +578 -0
  100. package/data/llms/components/timeline.md +494 -0
  101. package/data/llms/components/toast.md +472 -0
  102. package/data/llms/components/togglebutton.md +276 -0
  103. package/data/llms/components/toggleswitch.md +271 -0
  104. package/data/llms/components/toolbar.md +140 -0
  105. package/data/llms/components/tooltip.md +160 -0
  106. package/data/llms/components/tree.md +1076 -0
  107. package/data/llms/components/treeselect.md +660 -0
  108. package/data/llms/components/treetable.md +2493 -0
  109. package/data/llms/components/virtualscroller.md +265 -0
  110. package/data/llms/guides/autoimport.md +28 -0
  111. package/data/llms/guides/cdn.md +72 -0
  112. package/data/llms/guides/configuration.md +158 -0
  113. package/data/llms/guides/customicons.md +67 -0
  114. package/data/llms/guides/guides/accessibility.md +27 -0
  115. package/data/llms/guides/guides/animations.md +119 -0
  116. package/data/llms/guides/guides/rtl.md +7 -0
  117. package/data/llms/guides/icons.md +136 -0
  118. package/data/llms/guides/installation.md +3 -0
  119. package/data/llms/guides/laravel.md +66 -0
  120. package/data/llms/guides/llms.md +15 -0
  121. package/data/llms/guides/mcp.md +104 -0
  122. package/data/llms/guides/migration/v4.md +15 -0
  123. package/data/llms/guides/migration/v5.md +15 -0
  124. package/data/llms/guides/nuxt.md +141 -0
  125. package/data/llms/guides/passthrough.md +137 -0
  126. package/data/llms/guides/primeclt.md +43 -0
  127. package/data/llms/guides/tailwind.md +151 -0
  128. package/data/llms/guides/theming/styled.md +497 -0
  129. package/data/llms/guides/theming/unstyled.md +57 -0
  130. package/data/llms/guides/uikit.md +3 -0
  131. package/data/llms/guides/vite.md +90 -0
  132. package/data/llms/llms-full.txt +54465 -0
  133. package/data/llms/llms.txt +132 -0
  134. package/data/llms/pages/accessibility.md +27 -0
  135. package/data/llms/pages/animations.md +119 -0
  136. package/data/llms/pages/autoimport.md +28 -0
  137. package/data/llms/pages/cdn.md +72 -0
  138. package/data/llms/pages/configuration.md +158 -0
  139. package/data/llms/pages/contribution.md +31 -0
  140. package/data/llms/pages/customicons.md +67 -0
  141. package/data/llms/pages/designer.md +79 -0
  142. package/data/llms/pages/dynamicimports.md +7 -0
  143. package/data/llms/pages/forms.md +63 -0
  144. package/data/llms/pages/guides/accessibility.md +27 -0
  145. package/data/llms/pages/guides/animations.md +119 -0
  146. package/data/llms/pages/guides/rtl.md +7 -0
  147. package/data/llms/pages/icons.md +136 -0
  148. package/data/llms/pages/installation.md +3 -0
  149. package/data/llms/pages/introduction.md +23 -0
  150. package/data/llms/pages/laravel.md +66 -0
  151. package/data/llms/pages/llms.md +15 -0
  152. package/data/llms/pages/mcp.md +104 -0
  153. package/data/llms/pages/migration/v4.md +15 -0
  154. package/data/llms/pages/migration/v5.md +15 -0
  155. package/data/llms/pages/nuxt.md +141 -0
  156. package/data/llms/pages/passthrough.md +137 -0
  157. package/data/llms/pages/primeclt.md +43 -0
  158. package/data/llms/pages/rtl.md +7 -0
  159. package/data/llms/pages/setup.md +3 -0
  160. package/data/llms/pages/styled.md +497 -0
  161. package/data/llms/pages/tailwind.md +151 -0
  162. package/data/llms/pages/theming/styled.md +497 -0
  163. package/data/llms/pages/theming/unstyled.md +57 -0
  164. package/data/llms/pages/uikit.md +3 -0
  165. package/data/llms/pages/unstyled.md +57 -0
  166. package/data/llms/pages/v4.md +15 -0
  167. package/data/llms/pages/v5.md +15 -0
  168. package/data/llms/pages/vite.md +90 -0
  169. package/data/manifest.json +11117 -0
  170. package/data/mcp-data.json +55940 -0
  171. package/dist/index.d.ts +17 -1
  172. package/dist/index.js +66066 -72541
  173. package/package.json +10 -12
@@ -0,0 +1,432 @@
1
+ # InputTags
2
+
3
+ InputTags is used to enter multiple tags.
4
+
5
+ ## Basic
6
+
7
+ InputTags is used to enter multiple tags. Press Enter to add a tag and Backspace to remove the last one.
8
+
9
+ ```vue
10
+ <template>
11
+ <div>
12
+ <InputTags v-model="tags" fluid />
13
+ </div>
14
+ </template>
15
+
16
+ <script setup>
17
+ import { ref } from 'vue';
18
+
19
+ const tags = ref(['Vue']);
20
+ <\/script>
21
+ ```
22
+
23
+ ## Delimiter
24
+
25
+ A custom delimiter like a comma can be used in addition to the Enter key to add tags. Enable addOnPaste to split pasted text using the delimiter.
26
+
27
+ ```vue
28
+ <template>
29
+ <div>
30
+ <InputTags v-model="tags" delimiter="," addOnPaste fluid />
31
+ </div>
32
+ </template>
33
+
34
+ <script setup>
35
+ import { ref } from 'vue';
36
+
37
+ const tags = ref([]);
38
+ <\/script>
39
+ ```
40
+
41
+ ## Allow Duplicate
42
+
43
+ By default, duplicate values are not allowed. Set allowDuplicate to enable adding the same value multiple times.
44
+
45
+ ```vue
46
+ <template>
47
+ <div>
48
+ <InputTags v-model="tags" allowDuplicate fluid />
49
+ </div>
50
+ </template>
51
+
52
+ <script setup>
53
+ import { ref } from 'vue';
54
+
55
+ const tags = ref(['a', 'A', 'a']);
56
+ <\/script>
57
+ ```
58
+
59
+ ## Max
60
+
61
+ The maximum number of tags is limited using the max property.
62
+
63
+ ```vue
64
+ <template>
65
+ <div>
66
+ <InputTags v-model="tags" :max="5" fluid />
67
+ </div>
68
+ </template>
69
+
70
+ <script setup>
71
+ import { ref } from 'vue';
72
+
73
+ const tags = ref(['Vue', 'React']);
74
+ <\/script>
75
+ ```
76
+
77
+ ## Template
78
+
79
+ Custom content can be displayed for each tag using the chip slot.
80
+
81
+ ```vue
82
+ <template>
83
+ <div>
84
+ <InputTags v-model="tags" fluid>
85
+ <template #chip="{ value, removeCallback }">
86
+ <Tag rounded>
87
+ {{ value }}
88
+ <Times class="cursor-pointer ml-2" style="width: 12px; height: 12px" @click="removeCallback($event)" />
89
+ </Tag>
90
+ </template>
91
+ </InputTags>
92
+ </div>
93
+ </template>
94
+
95
+ <script setup>
96
+ import { ref } from 'vue';
97
+ import Times from '@primeicons/vue/times';
98
+
99
+ const tags = ref(['JavaScript', 'TypeScript']);
100
+ <\/script>
101
+ ```
102
+
103
+ ## Typeahead
104
+
105
+ When typeahead is enabled, a dropdown with suggestions is displayed as the user types. Define a suggestions array along with optionLabel to specify the display field. For grouped suggestions, use optionGroupLabel and optionGroupChildren properties. The complete event is triggered on input change, enabling dynamic filtering and updating of suggestions.
106
+
107
+ ```vue
108
+ <template>
109
+ <div class="flex justify-center">
110
+ <InputTags
111
+ v-model="values"
112
+ typeahead
113
+ allowDuplicate
114
+ :suggestions="filteredItems"
115
+ optionLabel="label"
116
+ optionGroupLabel="label"
117
+ optionGroupChildren="items"
118
+ placeholder="Search technologies..."
119
+ class="w-full md:w-56"
120
+ @complete="search"
121
+ />
122
+ </div>
123
+ </template>
124
+
125
+ <script setup>
126
+ import { ref } from 'vue';
127
+
128
+ const values = ref([]);
129
+ const items = ref([
130
+ {
131
+ label: 'Frontend',
132
+ items: [{ label: 'React' }, { label: 'Vue' }, { label: 'Angular' }, { label: 'Svelte' }, { label: 'Next.js' }, { label: 'Nuxt' }]
133
+ },
134
+ {
135
+ label: 'Backend',
136
+ items: [{ label: 'Node.js' }, { label: 'Python' }, { label: 'Java' }, { label: 'Go' }, { label: 'Rust' }, { label: 'Ruby' }]
137
+ }
138
+ ]);
139
+ const filteredItems = ref([]);
140
+
141
+ const search = (event) => {
142
+ const query = event.query.toLowerCase();
143
+
144
+ filteredItems.value = items.value
145
+ .map((group) => ({
146
+ ...group,
147
+ items: group.items.filter((item) => item.label.toLowerCase().includes(query))
148
+ }))
149
+ .filter((group) => group.items.length > 0);
150
+ };
151
+ <\/script>
152
+ ```
153
+
154
+ ## Events
155
+
156
+ Use add and remove callbacks to listen for tag changes.
157
+
158
+ ```vue
159
+ <template>
160
+ <div>
161
+ <InputTags v-model="tags" placeholder="Add tags and watch the event log..." fluid @add="onAdd" @remove="onRemove" />
162
+ <div v-if="tags.length" class="mt-4 text-sm">
163
+ <span class="text-sm font-medium text-surface-500 dark:text-surface-400 flex items-center gap-2 mb-2">
164
+ <TagIcon size="14" />
165
+ Event Log
166
+ </span>
167
+ <p v-for="(entry, i) of log" :key="\`\${entry}_\${i}\`" class="mb-1!">{{ entry }}</p>
168
+ </div>
169
+ </div>
170
+ </template>
171
+
172
+ <script setup>
173
+ import { ref } from 'vue';
174
+ import TagIcon from '@primeicons/vue/tag';
175
+
176
+ const tags = ref(['Vue']);
177
+ const log = ref([]);
178
+
179
+ const onAdd = (event) => {
180
+ log.value = [\`Added: "\${event.value}"\`, ...log.value].slice(0, 5);
181
+ };
182
+
183
+ const onRemove = (event) => {
184
+ log.value = [\`Removed: "\${event.value}" at index \${event.index}\`, ...log.value].slice(0, 5);
185
+ };
186
+ <\/script>
187
+ ```
188
+
189
+ ## Float Label
190
+
191
+ A floating label appears on top of the input field when focused.
192
+
193
+ ```vue
194
+ <template>
195
+ <div>
196
+ <FloatLabel>
197
+ <InputTags v-model="tags" inputId="tags" fluid />
198
+ <label for="tags">Technologies</label>
199
+ </FloatLabel>
200
+ </div>
201
+ </template>
202
+
203
+ <script setup>
204
+ import { ref } from 'vue';
205
+
206
+ const tags = ref([]);
207
+ <\/script>
208
+ ```
209
+
210
+ ## Ifta Label
211
+
212
+ IftaLabel is used to create infield top aligned labels. Visit IftaLabel documentation for more information.
213
+
214
+ ```vue
215
+ <template>
216
+ <div>
217
+ <IftaLabel>
218
+ <InputTags v-model="tags" inputId="it_tags" fluid />
219
+ <label for="it_tags">Technologies</label>
220
+ </IftaLabel>
221
+ </div>
222
+ </template>
223
+
224
+ <script setup>
225
+ import { ref } from 'vue';
226
+
227
+ const tags = ref([]);
228
+ <\/script>
229
+ ```
230
+
231
+ ## Filled
232
+
233
+ Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.
234
+
235
+ ```vue
236
+ <template>
237
+ <div>
238
+ <InputTags v-model="tags" variant="filled" fluid />
239
+ </div>
240
+ </template>
241
+
242
+ <script setup>
243
+ import { ref } from 'vue';
244
+
245
+ const tags = ref(['Vue']);
246
+ <\/script>
247
+ ```
248
+
249
+ ## Disabled
250
+
251
+ When disabled is present, the element cannot be edited and focused.
252
+
253
+ ```vue
254
+ <template>
255
+ <div>
256
+ <InputTags v-model="tags" disabled fluid />
257
+ </div>
258
+ </template>
259
+
260
+ <script setup>
261
+ import { ref } from 'vue';
262
+
263
+ const tags = ref(['Vue']);
264
+ <\/script>
265
+ ```
266
+
267
+ ## Invalid
268
+
269
+ The invalid property is used to indicate an invalid state.
270
+
271
+ ```vue
272
+ <template>
273
+ <div>
274
+ <InputTags v-model="tags" :invalid="tags.length === 0" fluid />
275
+ </div>
276
+ </template>
277
+
278
+ <script setup>
279
+ import { ref } from 'vue';
280
+
281
+ const tags = ref([]);
282
+ <\/script>
283
+ ```
284
+
285
+ ## Forms
286
+
287
+ InputTags integrates seamlessly with the PrimeVue Forms library.
288
+
289
+ ```vue
290
+ <template>
291
+ <div class="flex justify-center">
292
+ <Form v-slot="$form" :resolver="resolver" :initialValues="initialValues" @submit="onFormSubmit" class="flex justify-center flex-col gap-4 w-full md:w-56">
293
+ <div class="flex flex-col gap-1">
294
+ <InputTags name="tags" placeholder="Add a tag" />
295
+ <Message v-if="$form.tags?.invalid" severity="error" size="small" variant="simple">{{ $form.tags.error?.message }}</Message>
296
+ </div>
297
+ <Button type="submit" severity="secondary">Submit</Button>
298
+ </Form>
299
+ </div>
300
+ </template>
301
+
302
+ <script setup>
303
+ import { ref } from "vue";
304
+ import { zodResolver } from '@primevue/forms/resolvers/zod';
305
+ import { useToast } from "primevue/usetoast";
306
+ import { z } from 'zod';
307
+
308
+ const initialValues = ref({
309
+ tags: []
310
+ });
311
+ const resolver = ref(zodResolver(
312
+ z.object({
313
+ tags: z.array(z.string()).min(1, { message: 'At least one tag is required.' })
314
+ })
315
+ ));
316
+ const toast = useToast();
317
+
318
+ const onFormSubmit = ({ valid }) => {
319
+ if (valid) {
320
+ toast.add({ severity: 'success', summary: 'Form is submitted.', life: 3000 });
321
+ }
322
+ };
323
+ <\/script>
324
+ ```
325
+
326
+ ## Accessibility
327
+
328
+ Screen Reader The container of the chip list uses listbox role with aria-orientation set to horizontal. The aria-label and aria-labelledby props can be used to describe the component. When typeahead is enabled, the input element has combobox role in addition to aria-autocomplete , aria-haspopup and aria-expanded attributes. The relation between the input and the popup is created with aria-controls and aria-activedescendant is used to instruct the screen reader which option to read during keyboard navigation within the popup list. A live region with aria-live set to polite announces the number of available results, and the input is linked to it via aria-describedby . Keyboard Support Key Function tab Moves focus to the input element. enter Adds a new tag with the current input value. backspace Removes the last tag when input is empty. left arrow Moves focus to the previous tag when input is empty. right arrow Moves focus to the next tag when focused on a tag. Tag Keyboard Support Key Function backspace Removes the focused tag. delete Removes the focused tag. Popup Keyboard Support (Typeahead) Key Function tab Selects the focused option and closes the popup, then moves focus to next element in page. enter Selects the focused option and closes the popup. escape Closes the popup. down arrow Moves focus to the next option. up arrow Moves focus to the previous option. home Moves focus to the first option. end Moves focus to the last option.
329
+
330
+ ## Input Tags API
331
+
332
+ ### Props
333
+
334
+ | Name |Type |Default |Description |
335
+ | --- | --- | --- | --- |
336
+ | modelValue | string[] | - | Value of the component (array of tag strings). |
337
+ | defaultValue | string[] | - | The default value when not controlled by `modelValue` . |
338
+ | name | string | - | The name attribute used in form submissions. |
339
+ | typeahead | boolean | false | When enabled, an autocomplete dropdown is shown with the values from the suggestions array. |
340
+ | suggestions | any[] | - | An array of suggestions to display in the dropdown when typeahead is enabled. |
341
+ | optionLabel | string \| Function | - | Property name or getter function to use as the label of an option. |
342
+ | optionDisabled | string \| Function | - | Property name or getter function to use as the disabled flag of an option. |
343
+ | optionGroupLabel | string \| Function | - | Property name or getter function to use as the label of an option group. |
344
+ | optionGroupChildren | string \| Function | - | Property name or getter function that refers to the children options of an option group. |
345
+ | scrollHeight | string | 14rem | Maximum height of the suggestions overlay. |
346
+ | placeholder | string | - | Default placeholder text for the input field. |
347
+ | size | HintedString<"small" \| "large"> | - | Defines the size of the component. |
348
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
349
+ | disabled | boolean | false | When present, it specifies that the component should be disabled. |
350
+ | variant | null \| HintedString<"outlined" \| "filled"> | null | Specifies the input variant of the component. |
351
+ | dataKey | string | - | Property to uniquely identify an option. |
352
+ | max | number | - | Maximum number of tags allowed. |
353
+ | delimiter | string \| RegExp | - | Character or pattern to use as a delimiter when typing or pasting tags. |
354
+ | allowDuplicate | boolean | false | Whether duplicate tags are allowed. |
355
+ | addOnBlur | boolean | false | Add the current input value as a tag when the input loses focus. |
356
+ | addOnPaste | boolean | false | Add tags from pasted content (split by delimiter when present). |
357
+ | addOnTab | boolean | false | Add the current input value as a tag when the Tab key is pressed. |
358
+ | minLength | number | 1 | Minimum number of characters required before search is triggered. |
359
+ | delay | number | 300 | Delay in milliseconds before sending a search query. |
360
+ | appendTo | HTMLElement \| HintedString<"body" \| "self"> | body | A valid query selector or HTMLElement to specify where the overlay attaches. |
361
+ | inputId | string | - | Identifier of the underlying input element. |
362
+ | inputStyle | object | - | Inline style of the input field. |
363
+ | inputClass | string \| object | - | Style class of the input field. |
364
+ | inputProps | object | - | Used to pass all properties of the HTMLInputElement to the input element. |
365
+ | overlayStyle | object | - | Inline style of the overlay. |
366
+ | overlayClass | string \| object | - | Style class of the overlay. |
367
+ | autoOptionFocus | boolean | false | Whether to focus on the first visible option when the overlay is shown. |
368
+ | focusOnHover | boolean | true | When enabled, the focus is placed on the hovered option. |
369
+ | searchMessage | string | - | Text shown in hidden accessible field when filtering returns results. Defaults to PrimeVue locale. |
370
+ | emptySearchMessage | string | - | Text shown when filtering returns no results. Defaults to PrimeVue locale. |
371
+ | emptyMessage | string | - | Text shown when there are no options to display. Defaults to PrimeVue locale. |
372
+ | showEmptyMessage | boolean | true | When enabled, empty message is rendered when there are no options. |
373
+ | fluid | boolean | null | Spans 100% width of the container when enabled. |
374
+ | ariaLabel | string | - | Defines a string value that labels an interactive element. |
375
+ | ariaLabelledby | string | - | Identifier of the element that labels the input. |
376
+ | formControl | Record<string, any> | - | Form control object, typically used for handling validation and form state. |
377
+ | dt | any | - | It generates scoped CSS variables using design tokens for the component. |
378
+ | pt | PassThrough<InputTagsPassThroughOptions> | - | Used to pass attributes to DOM elements inside the component. |
379
+ | ptOptions | any | - | Used to configure passthrough(pt) options of the component. |
380
+ | unstyled | boolean | false | When enabled, it removes component related styles in the core. |
381
+
382
+ ### Pass Through Options
383
+
384
+ | Name |Type |Description |
385
+ | --- | --- | --- |
386
+ | root | InputTagsPassThroughOptionType | Used to pass attributes to the root's DOM element. |
387
+ | item | InputTagsPassThroughOptionType | Used to pass attributes to the chip item element. |
388
+ | pcChip | any | Used to pass attributes to the Chip component. |
389
+ | pcAutoComplete | any | Used to pass attributes to the AutoComplete component that powers the typeahead suggestion overlay. |
390
+ | hiddenInput | InputTagsPassThroughOptionType | Used to pass attributes to the hidden form input's DOM element. |
391
+ | hooks | any | Used to manage all lifecycle hooks. |
392
+ | transition | InputTagsPassThroughTransitionType | Used to control Vue Transition API. |
393
+
394
+ ### Theming
395
+
396
+ ### CSS Classes
397
+
398
+ | Class |Description |
399
+ | --- | --- |
400
+ | p-inputtags | Class name of the root element |
401
+ | p-inputtags-item | Class name of the item element |
402
+ | p-inputtags-chip-icon | Class name of the chip icon element |
403
+ | p-inputtags-autocomplete | Class name applied to the nested AutoComplete instance. |
404
+
405
+ ### Design Tokens
406
+
407
+ | Token |CSS Variable |Description |
408
+ | --- | --- | --- |
409
+ | inputtags.background | --p-inputtags-background | Background of root |
410
+ | inputtags.disabled.background | --p-inputtags-disabled-background | Disabled background of root |
411
+ | inputtags.filled.background | --p-inputtags-filled-background | Filled background of root |
412
+ | inputtags.filled.hover.background | --p-inputtags-filled-hover-background | Filled hover background of root |
413
+ | inputtags.filled.focus.background | --p-inputtags-filled-focus-background | Filled focus background of root |
414
+ | inputtags.border.color | --p-inputtags-border-color | Border color of root |
415
+ | inputtags.hover.border.color | --p-inputtags-hover-border-color | Hover border color of root |
416
+ | inputtags.focus.border.color | --p-inputtags-focus-border-color | Focus border color of root |
417
+ | inputtags.invalid.border.color | --p-inputtags-invalid-border-color | Invalid border color of root |
418
+ | inputtags.color | --p-inputtags-color | Color of root |
419
+ | inputtags.disabled.color | --p-inputtags-disabled-color | Disabled color of root |
420
+ | inputtags.shadow | --p-inputtags-shadow | Shadow of root |
421
+ | inputtags.padding.x | --p-inputtags-padding-x | Padding x of root |
422
+ | inputtags.padding.y | --p-inputtags-padding-y | Padding y of root |
423
+ | inputtags.border.radius | --p-inputtags-border-radius | Border radius of root |
424
+ | inputtags.focus.ring.width | --p-inputtags-focus-ring-width | Focus ring width of root |
425
+ | inputtags.focus.ring.style | --p-inputtags-focus-ring-style | Focus ring style of root |
426
+ | inputtags.focus.ring.color | --p-inputtags-focus-ring-color | Focus ring color of root |
427
+ | inputtags.focus.ring.offset | --p-inputtags-focus-ring-offset | Focus ring offset of root |
428
+ | inputtags.focus.ring.shadow | --p-inputtags-focus-ring-shadow | Focus ring shadow of root |
429
+ | inputtags.transition.duration | --p-inputtags-transition-duration | Transition duration of root |
430
+ | inputtags.gap | --p-inputtags-gap | Gap of root |
431
+ | inputtags.item.border.radius | --p-inputtags-item-border-radius | Border radius of item |
432
+ | inputtags.item.focus.background | --p-inputtags-item-focus-background | Focus background of item |