atom-nuxt 1.0.139 → 1.0.141
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/dist/module.json
CHANGED
|
@@ -19,6 +19,9 @@ watch(() => props.modelValue, (newValue) => {
|
|
|
19
19
|
model.value = newValue;
|
|
20
20
|
});
|
|
21
21
|
const filter = ref(props.filter);
|
|
22
|
+
watch(() => props.filter, (newValue) => {
|
|
23
|
+
filter.value = newValue;
|
|
24
|
+
});
|
|
22
25
|
const searchDialogSelectedValue = ref(null);
|
|
23
26
|
const search = ref(null);
|
|
24
27
|
const searchDialog = ref(false);
|
|
@@ -61,7 +64,11 @@ const selectedValue = computed({
|
|
|
61
64
|
} else {
|
|
62
65
|
model.value = val;
|
|
63
66
|
}
|
|
64
|
-
|
|
67
|
+
if (props.filter.type === "search" || props.filter.type === "multiSearch" || props.filter.type === "option" || props.filter.type === "multiOption" || props.filter.type === "multiOptionTree") {
|
|
68
|
+
emitUpdate();
|
|
69
|
+
} else {
|
|
70
|
+
debouncedUpdate();
|
|
71
|
+
}
|
|
65
72
|
}
|
|
66
73
|
});
|
|
67
74
|
const {
|
|
@@ -148,13 +155,13 @@ const displayForChip = (item) => {
|
|
|
148
155
|
</template>
|
|
149
156
|
</v-date-picker>
|
|
150
157
|
</v-menu>
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
<crud-address-search-field
|
|
159
|
+
v-else-if="filter.optionType === 'LocationPoint'"
|
|
160
|
+
:id="filter.key"
|
|
161
|
+
:disabled="disabled"
|
|
162
|
+
:label="filter.label"
|
|
163
|
+
v-model="selectedValue"
|
|
164
|
+
/>
|
|
158
165
|
<v-text-field
|
|
159
166
|
v-else
|
|
160
167
|
dense
|
|
@@ -239,20 +246,20 @@ const displayForChip = (item) => {
|
|
|
239
246
|
|
|
240
247
|
<template v-else-if="filter.type === 'multiOptionTree'">
|
|
241
248
|
<div class="bg-white border">
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
249
|
+
<v-treeview
|
|
250
|
+
class="ma-0 pa-0"
|
|
251
|
+
:id="filter.key"
|
|
252
|
+
v-model="selectedValue"
|
|
253
|
+
:disabled="disabled"
|
|
254
|
+
select-strategy="default"
|
|
255
|
+
:hint="filter.description"
|
|
256
|
+
:items="filter.options"
|
|
257
|
+
item-title="label"
|
|
258
|
+
:clearable="true"
|
|
259
|
+
item-value="value"
|
|
260
|
+
:selectable="true"
|
|
261
|
+
density="compact"
|
|
262
|
+
></v-treeview>
|
|
256
263
|
</div>
|
|
257
264
|
</template>
|
|
258
265
|
<template v-else-if="filter.type === 'search' || filter.type === 'multiSearch' ">
|