@drax/crud-vue 0.5.12 → 0.5.16

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.5.12",
6
+ "version": "0.5.16",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@drax/common-front": "^0.5.11",
28
28
  "@drax/crud-front": "^0.5.3",
29
- "@drax/crud-share": "^0.5.12"
29
+ "@drax/crud-share": "^0.5.16"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "pinia": "^2.2.2",
@@ -63,5 +63,5 @@
63
63
  "vue-tsc": "^2.0.11",
64
64
  "vuetify": "^3.7.1"
65
65
  },
66
- "gitHead": "440be142d8877498814d5c4914e645004fd60f90"
66
+ "gitHead": "4233d302b134b351965288bc7fe981e0afc94fc4"
67
67
  }
@@ -88,6 +88,29 @@ defineEmits(['updateValue'])
88
88
  @update:modelValue="$emit('updateValue')"
89
89
  />
90
90
 
91
+ <v-combobox
92
+ v-if="field.type === 'enum'"
93
+ type="text"
94
+ :name="name"
95
+ :label="label"
96
+ v-model="valueModel"
97
+ :items="field.enum"
98
+ :readonly="readonly"
99
+ :error-messages="inputErrors"
100
+ :density="density"
101
+ :variant="variant"
102
+ :clearable="clearable"
103
+ :hide-details="hideDetails"
104
+ :single-line="singleLine"
105
+ :rules="rules"
106
+ @update:modelValue="$emit('updateValue')"
107
+ :prepend-icon="prependIcon"
108
+ :append-icon="appendIcon"
109
+ :prepend-inner-icon="prependInnerIcon"
110
+ :append-inner-icon="appendInnerIcon"
111
+ >
112
+ </v-combobox>
113
+
91
114
  <v-text-field
92
115
  v-if="field.type === 'number'"
93
116
  type="number"
@@ -224,6 +247,32 @@ defineEmits(['updateValue'])
224
247
  >
225
248
  </v-combobox>
226
249
 
250
+ <v-combobox
251
+ v-if="field.type === 'array.enum'"
252
+ type="text"
253
+ :name="name"
254
+ :label="label"
255
+ v-model="valueModel"
256
+ :items="field.enum"
257
+ :multiple="true"
258
+ :chips="true"
259
+ :closable-chips="true"
260
+ :readonly="readonly"
261
+ :error-messages="inputErrors"
262
+ :density="density"
263
+ :variant="variant"
264
+ :clearable="clearable"
265
+ :hide-details="hideDetails"
266
+ :single-line="singleLine"
267
+ :rules="rules"
268
+ @update:modelValue="$emit('updateValue')"
269
+ :prepend-icon="prependIcon"
270
+ :append-icon="appendIcon"
271
+ :prepend-inner-icon="prependInnerIcon"
272
+ :append-inner-icon="appendInnerIcon"
273
+ >
274
+ </v-combobox>
275
+
227
276
 
228
277
  <crud-autocomplete
229
278
  v-if="field.type === 'array.ref'"