@fy-/fws-vue 0.1.7 → 0.1.8

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.
@@ -9,6 +9,7 @@ import Calendar from "primevue/calendar";
9
9
  import Password from "primevue/password";
10
10
  import Checkbox from "primevue/checkbox";
11
11
  import Dropdown from "primevue/dropdown";
12
+ import Chips from "primevue/chips";
12
13
 
13
14
  type modelValueType = string | number | string[] | number[] | undefined;
14
15
 
@@ -101,6 +102,7 @@ defineExpose({ focus, getInputRef });
101
102
  'textarea',
102
103
  'select',
103
104
  'phone',
105
+ 'chips',
104
106
  ].includes(type)
105
107
  "
106
108
  >
@@ -200,6 +202,20 @@ defineExpose({ focus, getInputRef });
200
202
  "
201
203
  v-if="type == 'select'"
202
204
  />
205
+ <!-- @vue-skip -->
206
+ <Chips
207
+ :id="id"
208
+ v-model="model"
209
+ :placeholder="placeholder"
210
+ separator=","
211
+ :invalid="checkErrors ? true : false"
212
+ :aria-describedby="
213
+ help && !['checkbox', 'radio'].includes(type)
214
+ ? `${id}-help`
215
+ : undefined
216
+ "
217
+ v-if="type == 'chips'"
218
+ />
203
219
  <small
204
220
  :id="`${id}-help`"
205
221
  v-if="help && !['checkbox', 'radio'].includes(type)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {