@bildvitta/quasar-ui-asteroid 3.12.0-beta.2 → 3.12.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.12.0-beta.2",
4
+ "version": "3.12.0-beta.4",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "dist/asteroid.cjs.min.js",
@@ -178,6 +178,12 @@ export default {
178
178
  if (this.hasFuse) this.setFuse()
179
179
  },
180
180
 
181
+ mx_isFetching (value) {
182
+ if (!this.isPopupContentOpen || !this.useLazyLoading) return
183
+
184
+ this.togglePopupContentClass(value)
185
+ },
186
+
181
187
  options: {
182
188
  handler () {
183
189
  if (this.useLazyLoading && this.mx_hasFilteredOptions) return
@@ -193,7 +199,6 @@ export default {
193
199
 
194
200
  created () {
195
201
  this.setSearchMethod()
196
- this.setIsFetchingWatcher()
197
202
  },
198
203
 
199
204
  methods: {
@@ -238,16 +243,6 @@ export default {
238
243
  }
239
244
  },
240
245
 
241
- setIsFetchingWatcher () {
242
- if (this.useLazyLoading) {
243
- this.$watch('mx_isFetching', value => {
244
- if (!this.isPopupContentOpen) return
245
-
246
- this.togglePopupContentClass(value)
247
- })
248
- }
249
- },
250
-
251
246
  setLazyLoading () {
252
247
  this.mx_setCachedOptions('options')
253
248