@fy-/fws-vue 0.1.7 → 0.1.9

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
  >
@@ -162,7 +164,6 @@ defineExpose({ focus, getInputRef });
162
164
  showTime
163
165
  hourFormat="24"
164
166
  showIcon
165
- dateFormat="dd/mm/yy"
166
167
  :aria-describedby="
167
168
  help && !['checkbox', 'radio'].includes(type)
168
169
  ? `${id}-help`
@@ -200,6 +201,20 @@ defineExpose({ focus, getInputRef });
200
201
  "
201
202
  v-if="type == 'select'"
202
203
  />
204
+ <!-- @vue-skip -->
205
+ <Chips
206
+ :id="id"
207
+ v-model="model"
208
+ :placeholder="placeholder"
209
+ separator=","
210
+ :invalid="checkErrors ? true : false"
211
+ :aria-describedby="
212
+ help && !['checkbox', 'radio'].includes(type)
213
+ ? `${id}-help`
214
+ : undefined
215
+ "
216
+ v-if="type == 'chips'"
217
+ />
203
218
  <small
204
219
  :id="`${id}-help`"
205
220
  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.9",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {