atom-nuxt 1.0.140 → 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomengine/atom-nuxt",
3
3
  "configKey": "atomNuxt",
4
- "version": "1.0.140",
4
+ "version": "1.0.141",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -20,7 +20,6 @@ watch(() => props.modelValue, (newValue) => {
20
20
  });
21
21
  const filter = ref(props.filter);
22
22
  watch(() => props.filter, (newValue) => {
23
- debugger;
24
23
  filter.value = newValue;
25
24
  });
26
25
  const searchDialogSelectedValue = ref(null);
@@ -65,7 +64,11 @@ const selectedValue = computed({
65
64
  } else {
66
65
  model.value = val;
67
66
  }
68
- debouncedUpdate();
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
+ }
69
72
  }
70
73
  });
71
74
  const {
@@ -152,13 +155,13 @@ const displayForChip = (item) => {
152
155
  </template>
153
156
  </v-date-picker>
154
157
  </v-menu>
155
- <crud-address-search-field
156
- v-else-if="filter.optionType === 'LocationPoint'"
157
- :id="filter.key"
158
- :disabled="disabled"
159
- :label="filter.label"
160
- v-model="selectedValue"
161
- />
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
+ />
162
165
  <v-text-field
163
166
  v-else
164
167
  dense
@@ -243,20 +246,20 @@ const displayForChip = (item) => {
243
246
 
244
247
  <template v-else-if="filter.type === 'multiOptionTree'">
245
248
  <div class="bg-white border">
246
- <v-treeview
247
- class="ma-0 pa-0"
248
- :id="filter.key"
249
- v-model="selectedValue"
250
- :disabled="disabled"
251
- select-strategy="default"
252
- :hint="filter.description"
253
- :items="filter.options"
254
- item-title="label"
255
- :clearable="true"
256
- item-value="value"
257
- :selectable="true"
258
- density="compact"
259
- ></v-treeview>
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>
260
263
  </div>
261
264
  </template>
262
265
  <template v-else-if="filter.type === 'search' || filter.type === 'multiSearch' ">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom-nuxt",
3
- "version": "1.0.140",
3
+ "version": "1.0.141",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "atomengine/atom-nuxt",
6
6
  "license": "MIT",