@vueuse/components 12.7.0 → 12.8.0

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/index.iife.js CHANGED
@@ -1,7 +1,7 @@
1
1
  (function (exports, core, vue, shared) {
2
2
  'use strict';
3
3
 
4
- const OnClickOutside = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
4
+ const OnClickOutside = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
5
5
  name: "OnClickOutside",
6
6
  props: ["as", "options"],
7
7
  emits: ["trigger"],
@@ -330,7 +330,7 @@
330
330
  return stop;
331
331
  }
332
332
 
333
- const OnLongPress = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
333
+ const OnLongPress = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
334
334
  name: "OnLongPress",
335
335
  props: ["as", "options"],
336
336
  emits: ["trigger"],
@@ -359,7 +359,7 @@
359
359
  }
360
360
  };
361
361
 
362
- const UseActiveElement = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
362
+ const UseActiveElement = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
363
363
  name: "UseActiveElement",
364
364
  setup(props, { slots }) {
365
365
  const data = vue.reactive({
@@ -372,7 +372,7 @@
372
372
  }
373
373
  });
374
374
 
375
- const UseBattery = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
375
+ const UseBattery = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
376
376
  name: "UseBattery",
377
377
  setup(props, { slots }) {
378
378
  const data = vue.reactive(core.useBattery(props));
@@ -383,7 +383,7 @@
383
383
  }
384
384
  });
385
385
 
386
- const UseBrowserLocation = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
386
+ const UseBrowserLocation = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
387
387
  name: "UseBrowserLocation",
388
388
  setup(props, { slots }) {
389
389
  const data = vue.reactive(core.useBrowserLocation());
@@ -394,7 +394,7 @@
394
394
  }
395
395
  });
396
396
 
397
- const UseClipboard = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
397
+ const UseClipboard = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
398
398
  name: "UseClipboard",
399
399
  props: [
400
400
  "source",
@@ -452,7 +452,7 @@
452
452
  function useMediaQuery(query, options = {}) {
453
453
  const { window = defaultWindow, ssrWidth = useSSRWidth() } = options;
454
454
  const isSupported = useSupported(() => window && "matchMedia" in window && typeof window.matchMedia === "function");
455
- const ssrSupport = vue.ref(typeof ssrWidth === "number");
455
+ const ssrSupport = vue.shallowRef(typeof ssrWidth === "number");
456
456
  const mediaQuery = vue.shallowRef();
457
457
  const matches = vue.shallowRef(false);
458
458
  const handler = (event) => {
@@ -747,7 +747,7 @@
747
747
  return Object.assign(auto, { store, system, state });
748
748
  }
749
749
 
750
- const UseColorMode = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
750
+ const UseColorMode = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
751
751
  name: "UseColorMode",
752
752
  props: ["selector", "attribute", "modes", "onChanged", "storageKey", "storage", "emitAuto"],
753
753
  setup(props, { slots }) {
@@ -764,7 +764,7 @@
764
764
  }
765
765
  });
766
766
 
767
- const UseDark = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
767
+ const UseDark = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
768
768
  name: "UseDark",
769
769
  props: ["selector", "attribute", "valueDark", "valueLight", "onChanged", "storageKey", "storage"],
770
770
  setup(props, { slots }) {
@@ -780,7 +780,7 @@
780
780
  }
781
781
  });
782
782
 
783
- const UseDeviceMotion = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
783
+ const UseDeviceMotion = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
784
784
  name: "UseDeviceMotion",
785
785
  setup(props, { slots }) {
786
786
  const data = core.useDeviceMotion();
@@ -791,7 +791,7 @@
791
791
  }
792
792
  });
793
793
 
794
- const UseDeviceOrientation = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
794
+ const UseDeviceOrientation = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
795
795
  name: "UseDeviceOrientation",
796
796
  setup(props, { slots }) {
797
797
  const data = vue.reactive(core.useDeviceOrientation());
@@ -802,7 +802,7 @@
802
802
  }
803
803
  });
804
804
 
805
- const UseDevicePixelRatio = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
805
+ const UseDevicePixelRatio = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
806
806
  name: "UseDevicePixelRatio",
807
807
  setup(props, { slots }) {
808
808
  const data = vue.reactive({
@@ -815,7 +815,7 @@
815
815
  }
816
816
  });
817
817
 
818
- const UseDevicesList = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
818
+ const UseDevicesList = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
819
819
  name: "UseDevicesList",
820
820
  props: ["onUpdated", "requestPermissions", "constraints"],
821
821
  setup(props, { slots }) {
@@ -827,7 +827,7 @@
827
827
  }
828
828
  });
829
829
 
830
- const UseDocumentVisibility = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
830
+ const UseDocumentVisibility = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
831
831
  name: "UseDocumentVisibility",
832
832
  setup(props, { slots }) {
833
833
  const data = vue.reactive({
@@ -840,7 +840,7 @@
840
840
  }
841
841
  });
842
842
 
843
- const UseDraggable = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
843
+ const UseDraggable = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
844
844
  name: "UseDraggable",
845
845
  props: [
846
846
  "storageKey",
@@ -900,7 +900,7 @@
900
900
  }
901
901
  });
902
902
 
903
- const UseElementBounding = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
903
+ const UseElementBounding = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
904
904
  name: "UseElementBounding",
905
905
  props: ["box", "as"],
906
906
  setup(props, { slots }) {
@@ -1171,7 +1171,7 @@
1171
1171
  }
1172
1172
  };
1173
1173
 
1174
- const UseElementSize = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1174
+ const UseElementSize = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1175
1175
  name: "UseElementSize",
1176
1176
  props: ["width", "height", "box", "as"],
1177
1177
  setup(props, { slots }) {
@@ -1190,8 +1190,8 @@
1190
1190
  var _a, _b;
1191
1191
  return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
1192
1192
  });
1193
- const width = vue.ref(initialSize.width);
1194
- const height = vue.ref(initialSize.height);
1193
+ const width = vue.shallowRef(initialSize.width);
1194
+ const height = vue.shallowRef(initialSize.height);
1195
1195
  const { stop: stop1 } = useResizeObserver(
1196
1196
  target,
1197
1197
  ([entry]) => {
@@ -1251,7 +1251,7 @@
1251
1251
  }
1252
1252
  };
1253
1253
 
1254
- const UseElementVisibility = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1254
+ const UseElementVisibility = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1255
1255
  name: "UseElementVisibility",
1256
1256
  props: ["as"],
1257
1257
  setup(props, { slots }) {
@@ -1280,7 +1280,7 @@
1280
1280
  return shared.toArray(_target).map(unrefElement).filter(shared.notNullish);
1281
1281
  });
1282
1282
  let cleanup = shared.noop;
1283
- const isActive = vue.ref(immediate);
1283
+ const isActive = vue.shallowRef(immediate);
1284
1284
  const stopWatch = isSupported.value ? vue.watch(
1285
1285
  () => [targets.value, unrefElement(root), isActive.value],
1286
1286
  ([targets2, root2]) => {
@@ -1376,7 +1376,7 @@
1376
1376
  }
1377
1377
  };
1378
1378
 
1379
- const UseEyeDropper = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1379
+ const UseEyeDropper = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1380
1380
  name: "UseEyeDropper",
1381
1381
  props: {
1382
1382
  sRGBHex: String
@@ -1390,7 +1390,7 @@
1390
1390
  }
1391
1391
  });
1392
1392
 
1393
- const UseFullscreen = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1393
+ const UseFullscreen = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1394
1394
  name: "UseFullscreen",
1395
1395
  props: ["as"],
1396
1396
  setup(props, { slots }) {
@@ -1403,7 +1403,7 @@
1403
1403
  }
1404
1404
  });
1405
1405
 
1406
- const UseGeolocation = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1406
+ const UseGeolocation = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1407
1407
  name: "UseGeolocation",
1408
1408
  props: ["enableHighAccuracy", "maximumAge", "timeout", "navigator"],
1409
1409
  setup(props, { slots }) {
@@ -1415,7 +1415,7 @@
1415
1415
  }
1416
1416
  });
1417
1417
 
1418
- const UseIdle = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1418
+ const UseIdle = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1419
1419
  name: "UseIdle",
1420
1420
  props: ["timeout", "events", "listenForVisibilityChange", "initialState"],
1421
1421
  setup(props, { slots }) {
@@ -1538,7 +1538,7 @@
1538
1538
  return state;
1539
1539
  }
1540
1540
 
1541
- const UseImage = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1541
+ const UseImage = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1542
1542
  name: "UseImage",
1543
1543
  props: [
1544
1544
  "src",
@@ -1672,8 +1672,8 @@
1672
1672
  const scrollLeft = el.scrollLeft;
1673
1673
  directions.left = scrollLeft < internalX.value;
1674
1674
  directions.right = scrollLeft > internalX.value;
1675
- const left = scrollLeft * directionMultipler <= (offset.left || 0);
1676
- const right = scrollLeft * directionMultipler + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
1675
+ const left = Math.abs(scrollLeft * directionMultipler) <= (offset.left || 0);
1676
+ const right = Math.abs(scrollLeft * directionMultipler) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
1677
1677
  if (display === "flex" && flexDirection === "row-reverse") {
1678
1678
  arrivedState.left = right;
1679
1679
  arrivedState.right = left;
@@ -1687,8 +1687,8 @@
1687
1687
  scrollTop = window.document.body.scrollTop;
1688
1688
  directions.top = scrollTop < internalY.value;
1689
1689
  directions.bottom = scrollTop > internalY.value;
1690
- const top = scrollTop <= (offset.top || 0);
1691
- const bottom = scrollTop + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
1690
+ const top = Math.abs(scrollTop) <= (offset.top || 0);
1691
+ const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
1692
1692
  if (display === "flex" && flexDirection === "column-reverse") {
1693
1693
  arrivedState.top = bottom;
1694
1694
  arrivedState.bottom = top;
@@ -1817,7 +1817,7 @@
1817
1817
  }
1818
1818
  };
1819
1819
 
1820
- const UseMouse = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1820
+ const UseMouse = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1821
1821
  name: "UseMouse",
1822
1822
  props: ["touch", "resetOnTouchEnds", "initialValue"],
1823
1823
  setup(props, { slots }) {
@@ -1829,7 +1829,7 @@
1829
1829
  }
1830
1830
  });
1831
1831
 
1832
- const UseMouseInElement = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1832
+ const UseMouseInElement = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1833
1833
  name: "UseMouseElement",
1834
1834
  props: ["handleOutside", "as"],
1835
1835
  setup(props, { slots }) {
@@ -1928,7 +1928,7 @@
1928
1928
  } = options;
1929
1929
  const type = options.type || "page";
1930
1930
  const { x, y, sourceType } = useMouse(options);
1931
- const targetRef = vue.ref(target != null ? target : window == null ? void 0 : window.document.body);
1931
+ const targetRef = vue.shallowRef(target != null ? target : window == null ? void 0 : window.document.body);
1932
1932
  const elementX = vue.shallowRef(0);
1933
1933
  const elementY = vue.shallowRef(0);
1934
1934
  const elementPositionX = vue.shallowRef(0);
@@ -1995,7 +1995,7 @@
1995
1995
  }
1996
1996
  };
1997
1997
 
1998
- const UseMousePressed = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
1998
+ const UseMousePressed = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
1999
1999
  name: "UseMousePressed",
2000
2000
  props: ["touch", "initialValue", "as"],
2001
2001
  setup(props, { slots }) {
@@ -2008,7 +2008,7 @@
2008
2008
  }
2009
2009
  });
2010
2010
 
2011
- const UseNetwork = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2011
+ const UseNetwork = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2012
2012
  name: "UseNetwork",
2013
2013
  setup(props, { slots }) {
2014
2014
  const data = vue.reactive(core.useNetwork());
@@ -2019,7 +2019,7 @@
2019
2019
  }
2020
2020
  });
2021
2021
 
2022
- const UseNow = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2022
+ const UseNow = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2023
2023
  name: "UseNow",
2024
2024
  props: ["interval"],
2025
2025
  setup(props, { slots }) {
@@ -2031,7 +2031,7 @@
2031
2031
  }
2032
2032
  });
2033
2033
 
2034
- const UseObjectUrl = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2034
+ const UseObjectUrl = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2035
2035
  name: "UseObjectUrl",
2036
2036
  props: [
2037
2037
  "object"
@@ -2046,7 +2046,7 @@
2046
2046
  }
2047
2047
  });
2048
2048
 
2049
- const UseOffsetPagination = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2049
+ const UseOffsetPagination = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2050
2050
  name: "UseOffsetPagination",
2051
2051
  props: [
2052
2052
  "total",
@@ -2087,7 +2087,7 @@
2087
2087
  }
2088
2088
  });
2089
2089
 
2090
- const UseOnline = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2090
+ const UseOnline = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2091
2091
  name: "UseOnline",
2092
2092
  setup(props, { slots }) {
2093
2093
  const data = vue.reactive({
@@ -2100,7 +2100,7 @@
2100
2100
  }
2101
2101
  });
2102
2102
 
2103
- const UsePageLeave = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2103
+ const UsePageLeave = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2104
2104
  name: "UsePageLeave",
2105
2105
  setup(props, { slots }) {
2106
2106
  const data = vue.reactive({
@@ -2113,7 +2113,7 @@
2113
2113
  }
2114
2114
  });
2115
2115
 
2116
- const UsePointer = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2116
+ const UsePointer = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2117
2117
  name: "UsePointer",
2118
2118
  props: [
2119
2119
  "pointerTypes",
@@ -2133,7 +2133,7 @@
2133
2133
  }
2134
2134
  });
2135
2135
 
2136
- const UsePointerLock = /* #__PURE__ */ vue.defineComponent({
2136
+ const UsePointerLock = /*@__PURE__*/ vue.defineComponent({
2137
2137
  name: "UsePointerLock",
2138
2138
  props: ["as"],
2139
2139
  setup(props, { slots }) {
@@ -2146,7 +2146,7 @@
2146
2146
  }
2147
2147
  });
2148
2148
 
2149
- const UsePreferredColorScheme = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2149
+ const UsePreferredColorScheme = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2150
2150
  name: "UsePreferredColorScheme",
2151
2151
  setup(props, { slots }) {
2152
2152
  const data = vue.reactive({
@@ -2159,7 +2159,7 @@
2159
2159
  }
2160
2160
  });
2161
2161
 
2162
- const UsePreferredContrast = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2162
+ const UsePreferredContrast = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2163
2163
  name: "UsePreferredContrast",
2164
2164
  setup(props, { slots }) {
2165
2165
  const data = vue.reactive({
@@ -2172,7 +2172,7 @@
2172
2172
  }
2173
2173
  });
2174
2174
 
2175
- const UsePreferredDark = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2175
+ const UsePreferredDark = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2176
2176
  name: "UsePreferredDark",
2177
2177
  setup(props, { slots }) {
2178
2178
  const data = vue.reactive({
@@ -2185,7 +2185,7 @@
2185
2185
  }
2186
2186
  });
2187
2187
 
2188
- const UsePreferredLanguages = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2188
+ const UsePreferredLanguages = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2189
2189
  name: "UsePreferredLanguages",
2190
2190
  setup(props, { slots }) {
2191
2191
  const data = vue.reactive({
@@ -2198,7 +2198,7 @@
2198
2198
  }
2199
2199
  });
2200
2200
 
2201
- const UsePreferredReducedMotion = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2201
+ const UsePreferredReducedMotion = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2202
2202
  name: "UsePreferredReducedMotion",
2203
2203
  setup(props, { slots }) {
2204
2204
  const data = vue.reactive({
@@ -2211,7 +2211,7 @@
2211
2211
  }
2212
2212
  });
2213
2213
 
2214
- const UsePreferredReducedTransparency = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2214
+ const UsePreferredReducedTransparency = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2215
2215
  name: "UsePreferredReducedTransparency",
2216
2216
  setup(props, { slots }) {
2217
2217
  const data = vue.reactive({
@@ -2261,7 +2261,8 @@
2261
2261
  if (old[0] && old[1])
2262
2262
  old[0].style.removeProperty(old[1]);
2263
2263
  updateCssVar();
2264
- }
2264
+ },
2265
+ { immediate: true }
2265
2266
  );
2266
2267
  vue.watch(
2267
2268
  [variable, elRef],
@@ -2318,7 +2319,7 @@
2318
2319
  return getComputedStyle(document.documentElement).getPropertyValue(position);
2319
2320
  }
2320
2321
 
2321
- const UseScreenSafeArea = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2322
+ const UseScreenSafeArea = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2322
2323
  name: "UseScreenSafeArea",
2323
2324
  props: {
2324
2325
  top: Boolean,
@@ -2407,7 +2408,7 @@
2407
2408
  }
2408
2409
  const elInitialOverflow = /* @__PURE__ */ new WeakMap();
2409
2410
  function useScrollLock(element, initialState = false) {
2410
- const isLocked = vue.ref(initialState);
2411
+ const isLocked = vue.shallowRef(initialState);
2411
2412
  let stopTouchMoveListener = null;
2412
2413
  let initialOverflow = "";
2413
2414
  vue.watch(shared.toRef(element), (el) => {
@@ -2480,7 +2481,7 @@
2480
2481
  }
2481
2482
  const vScrollLock = onScrollLock();
2482
2483
 
2483
- const UseTimeAgo = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2484
+ const UseTimeAgo = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2484
2485
  name: "UseTimeAgo",
2485
2486
  props: ["time", "updateInterval", "max", "fullDateFormatter", "messages", "showSecond"],
2486
2487
  setup(props, { slots }) {
@@ -2492,7 +2493,7 @@
2492
2493
  }
2493
2494
  });
2494
2495
 
2495
- const UseTimestamp = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2496
+ const UseTimestamp = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2496
2497
  name: "UseTimestamp",
2497
2498
  props: ["immediate", "interval", "offset"],
2498
2499
  setup(props, { slots }) {
@@ -2504,7 +2505,7 @@
2504
2505
  }
2505
2506
  });
2506
2507
 
2507
- const UseVirtualList = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2508
+ const UseVirtualList = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2508
2509
  name: "UseVirtualList",
2509
2510
  props: [
2510
2511
  "list",
@@ -2523,7 +2524,7 @@
2523
2524
  }
2524
2525
  });
2525
2526
 
2526
- const UseWindowFocus = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2527
+ const UseWindowFocus = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2527
2528
  name: "UseWindowFocus",
2528
2529
  setup(props, { slots }) {
2529
2530
  const data = vue.reactive({
@@ -2536,7 +2537,7 @@
2536
2537
  }
2537
2538
  });
2538
2539
 
2539
- const UseWindowSize = /* @__PURE__ */ /* #__PURE__ */ vue.defineComponent({
2540
+ const UseWindowSize = /* @__PURE__ */ /*@__PURE__*/ vue.defineComponent({
2540
2541
  name: "UseWindowSize",
2541
2542
  props: ["initialWidth", "initialHeight"],
2542
2543
  setup(props, { slots }) {