@vuetify/nightly 3.7.3-master.2024-11-01 → 3.7.3-master.2024-11-04

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.3-master.2024-11-01
2
+ * Vuetify v3.7.3-master.2024-11-04
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11213,7 +11213,10 @@
11213
11213
  }, 40);
11214
11214
  }
11215
11215
  });
11216
- vue.onBeforeUnmount(() => parent?.unregister());
11216
+ vue.onBeforeUnmount(() => {
11217
+ parent?.unregister();
11218
+ document.removeEventListener('focusin', onFocusIn);
11219
+ });
11217
11220
  vue.onDeactivated(() => isActive.value = false);
11218
11221
  async function onFocusIn(e) {
11219
11222
  const before = e.relatedTarget;
@@ -11233,13 +11236,19 @@
11233
11236
  vue.watch(isActive, val => {
11234
11237
  if (val) {
11235
11238
  parent?.register();
11236
- document.addEventListener('focusin', onFocusIn, {
11237
- once: true
11238
- });
11239
+ if (IN_BROWSER) {
11240
+ document.addEventListener('focusin', onFocusIn, {
11241
+ once: true
11242
+ });
11243
+ }
11239
11244
  } else {
11240
11245
  parent?.unregister();
11241
- document.removeEventListener('focusin', onFocusIn);
11246
+ if (IN_BROWSER) {
11247
+ document.removeEventListener('focusin', onFocusIn);
11248
+ }
11242
11249
  }
11250
+ }, {
11251
+ immediate: true
11243
11252
  });
11244
11253
  function onClickOutside(e) {
11245
11254
  parent?.closeParents(e);
@@ -13755,6 +13764,9 @@
13755
13764
  }
13756
13765
  }
13757
13766
  }
13767
+ vue.onBeforeUnmount(() => {
13768
+ document.removeEventListener('focusin', onFocusin);
13769
+ });
13758
13770
  if (IN_BROWSER) {
13759
13771
  vue.watch(() => isActive.value && props.retainFocus, val => {
13760
13772
  val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
@@ -30385,7 +30397,7 @@
30385
30397
  goTo
30386
30398
  };
30387
30399
  }
30388
- const version$1 = "3.7.3-master.2024-11-01";
30400
+ const version$1 = "3.7.3-master.2024-11-04";
30389
30401
  createVuetify$1.version = version$1;
30390
30402
 
30391
30403
  // Vue's inject() can only be used in setup
@@ -30638,7 +30650,7 @@
30638
30650
 
30639
30651
  /* eslint-disable local-rules/sort-imports */
30640
30652
 
30641
- const version = "3.7.3-master.2024-11-01";
30653
+ const version = "3.7.3-master.2024-11-04";
30642
30654
 
30643
30655
  /* eslint-disable local-rules/sort-imports */
30644
30656