@bildvitta/quasar-ui-asteroid 3.10.0-beta.2 → 3.10.0-beta.4
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
|
@@ -388,7 +388,6 @@ export default {
|
|
|
388
388
|
.q-btn {
|
|
389
389
|
border: 0;
|
|
390
390
|
box-shadow: none;
|
|
391
|
-
color: $grey-9;
|
|
392
391
|
height: 30px !important;
|
|
393
392
|
min-height: 30px;
|
|
394
393
|
min-width: 30px;
|
|
@@ -407,6 +406,10 @@ export default {
|
|
|
407
406
|
@include set-typography($subtitle2);
|
|
408
407
|
}
|
|
409
408
|
}
|
|
409
|
+
|
|
410
|
+
&__today {
|
|
411
|
+
color: $primary;
|
|
412
|
+
}
|
|
410
413
|
}
|
|
411
414
|
}
|
|
412
415
|
</style>
|
|
@@ -272,7 +272,17 @@ export default {
|
|
|
272
272
|
this.$watch(model, options => {
|
|
273
273
|
if (!options?.length) return
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
/*
|
|
276
|
+
* pode ser que as opções sejam inicializadas após o primeiro fetch de opções
|
|
277
|
+
* fazendo com que as opções sobrescreva as que vieram através do fetch, então é
|
|
278
|
+
* preciso tratar para nestes casos serem incrementadas ao invés de sobrescrever.
|
|
279
|
+
*/
|
|
280
|
+
if (this.mx_fetchCount === 1) {
|
|
281
|
+
this.mx_filteredOptions.unshift(...options)
|
|
282
|
+
} else {
|
|
283
|
+
this.mx_filteredOptions = [...options]
|
|
284
|
+
}
|
|
285
|
+
|
|
276
286
|
this.mx_cachedOptions = [...options]
|
|
277
287
|
}, { immediate: true })
|
|
278
288
|
}
|