@vueuse/metadata 9.12.0 → 10.0.0-beta.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.
Files changed (4) hide show
  1. package/index.cjs +103 -47
  2. package/index.json +103 -47
  3. package/index.mjs +103 -47
  4. package/package.json +1 -1
package/index.cjs CHANGED
@@ -163,7 +163,7 @@ var functions$1 = [
163
163
  {
164
164
  name: "computedAsync",
165
165
  "package": "core",
166
- lastUpdated: 1672940168000,
166
+ lastUpdated: 1677934598000,
167
167
  docs: "https://vueuse.org/core/computedAsync/",
168
168
  category: "Reactivity",
169
169
  description: "computed for async functions",
@@ -207,7 +207,7 @@ var functions$1 = [
207
207
  {
208
208
  name: "createEventHook",
209
209
  "package": "shared",
210
- lastUpdated: 1671205540000,
210
+ lastUpdated: 1677939657000,
211
211
  docs: "https://vueuse.org/shared/createEventHook/",
212
212
  category: "Utilities",
213
213
  description: "utility for creating event hooks"
@@ -227,7 +227,7 @@ var functions$1 = [
227
227
  {
228
228
  name: "createGlobalState",
229
229
  "package": "shared",
230
- lastUpdated: 1625749207000,
230
+ lastUpdated: 1678811060000,
231
231
  docs: "https://vueuse.org/shared/createGlobalState/",
232
232
  category: "State",
233
233
  description: "keep states in the global scope to be reusable across Vue instances",
@@ -272,7 +272,7 @@ var functions$1 = [
272
272
  {
273
273
  name: "createSharedComposable",
274
274
  "package": "shared",
275
- lastUpdated: 1639442454000,
275
+ lastUpdated: 1678811060000,
276
276
  docs: "https://vueuse.org/shared/createSharedComposable/",
277
277
  category: "State",
278
278
  description: "make a composable function usable with multiple Vue instances",
@@ -379,7 +379,7 @@ var functions$1 = [
379
379
  {
380
380
  name: "onClickOutside",
381
381
  "package": "core",
382
- lastUpdated: 1671535188000,
382
+ lastUpdated: 1675466376000,
383
383
  component: true,
384
384
  directive: true,
385
385
  docs: "https://vueuse.org/core/onClickOutside/",
@@ -430,7 +430,7 @@ var functions$1 = [
430
430
  {
431
431
  name: "reactifyObject",
432
432
  "package": "shared",
433
- lastUpdated: 1667952962000,
433
+ lastUpdated: 1678811060000,
434
434
  docs: "https://vueuse.org/shared/reactifyObject/",
435
435
  category: "Reactivity",
436
436
  description: "apply `reactify` to an object"
@@ -536,7 +536,7 @@ var functions$1 = [
536
536
  {
537
537
  name: "resolveUnref",
538
538
  "package": "shared",
539
- lastUpdated: 1667054063000,
539
+ lastUpdated: 1678811060000,
540
540
  docs: "https://vueuse.org/shared/resolveUnref/",
541
541
  category: "Reactivity",
542
542
  description: "get the value of value/ref/getter",
@@ -633,7 +633,7 @@ var functions$1 = [
633
633
  {
634
634
  name: "tryOnScopeDispose",
635
635
  "package": "shared",
636
- lastUpdated: 1639442454000,
636
+ lastUpdated: 1675070075000,
637
637
  docs: "https://vueuse.org/shared/tryOnScopeDispose/",
638
638
  category: "Component",
639
639
  description: "safe `onScopeDispose`"
@@ -679,6 +679,14 @@ var functions$1 = [
679
679
  category: "Elements",
680
680
  description: "reactive `document.activeElement`"
681
681
  },
682
+ {
683
+ name: "useArrayDifference",
684
+ "package": "shared",
685
+ lastUpdated: 1677935013000,
686
+ docs: "https://vueuse.org/shared/useArrayDifference/",
687
+ category: "Array",
688
+ description: "reactive get array difference of two array"
689
+ },
682
690
  {
683
691
  name: "useArrayEvery",
684
692
  "package": "shared",
@@ -711,6 +719,22 @@ var functions$1 = [
711
719
  category: "Array",
712
720
  description: "reactive `Array.findIndex`"
713
721
  },
722
+ {
723
+ name: "useArrayFindLast",
724
+ "package": "shared",
725
+ lastUpdated: 1676713178000,
726
+ docs: "https://vueuse.org/shared/useArrayFindLast/",
727
+ category: "Array",
728
+ description: "reactive `Array.findLast`"
729
+ },
730
+ {
731
+ name: "useArrayIncludes",
732
+ "package": "shared",
733
+ lastUpdated: 1677935050000,
734
+ docs: "https://vueuse.org/shared/useArrayIncludes/",
735
+ category: "Array",
736
+ description: "reactive `Array.includes`"
737
+ },
714
738
  {
715
739
  name: "useArrayJoin",
716
740
  "package": "shared",
@@ -762,7 +786,7 @@ var functions$1 = [
762
786
  {
763
787
  name: "useAsyncState",
764
788
  "package": "core",
765
- lastUpdated: 1671824332000,
789
+ lastUpdated: 1676388144000,
766
790
  docs: "https://vueuse.org/core/useAsyncState/",
767
791
  category: "State",
768
792
  description: "reactive async state"
@@ -770,7 +794,7 @@ var functions$1 = [
770
794
  {
771
795
  name: "useAsyncValidator",
772
796
  "package": "integrations",
773
- lastUpdated: 1657259100000,
797
+ lastUpdated: 1676801066000,
774
798
  component: true,
775
799
  docs: "https://vueuse.org/integrations/useAsyncValidator/",
776
800
  category: "@Integrations",
@@ -797,7 +821,7 @@ var functions$1 = [
797
821
  {
798
822
  name: "useAxios",
799
823
  "package": "integrations",
800
- lastUpdated: 1674205335000,
824
+ lastUpdated: 1678813845000,
801
825
  docs: "https://vueuse.org/integrations/useAxios/",
802
826
  category: "@Integrations",
803
827
  description: "wrapper for [`axios`](https://github.com/axios/axios)",
@@ -847,7 +871,7 @@ var functions$1 = [
847
871
  {
848
872
  name: "useBrowserLocation",
849
873
  "package": "core",
850
- lastUpdated: 1639442454000,
874
+ lastUpdated: 1677934301000,
851
875
  component: true,
852
876
  docs: "https://vueuse.org/core/useBrowserLocation/",
853
877
  category: "Browser",
@@ -881,7 +905,7 @@ var functions$1 = [
881
905
  {
882
906
  name: "useClamp",
883
907
  "package": "math",
884
- lastUpdated: 1657431142000,
908
+ lastUpdated: 1676714120000,
885
909
  docs: "https://vueuse.org/math/useClamp/",
886
910
  category: "@Math",
887
911
  description: "reactively clamp a value between two other values"
@@ -905,7 +929,7 @@ var functions$1 = [
905
929
  {
906
930
  name: "useColorMode",
907
931
  "package": "core",
908
- lastUpdated: 1674955241000,
932
+ lastUpdated: 1677249459000,
909
933
  component: true,
910
934
  docs: "https://vueuse.org/core/useColorMode/",
911
935
  category: "Browser",
@@ -927,7 +951,7 @@ var functions$1 = [
927
951
  {
928
952
  name: "useCookies",
929
953
  "package": "integrations",
930
- lastUpdated: 1642756753000,
954
+ lastUpdated: 1678811272000,
931
955
  docs: "https://vueuse.org/integrations/useCookies/",
932
956
  category: "@Integrations",
933
957
  description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
@@ -944,7 +968,7 @@ var functions$1 = [
944
968
  {
945
969
  name: "useCssVar",
946
970
  "package": "core",
947
- lastUpdated: 1657259100000,
971
+ lastUpdated: 1677757262000,
948
972
  docs: "https://vueuse.org/core/useCssVar/",
949
973
  category: "Browser",
950
974
  description: "manipulate CSS variables"
@@ -960,7 +984,7 @@ var functions$1 = [
960
984
  {
961
985
  name: "useCycleList",
962
986
  "package": "core",
963
- lastUpdated: 1659556886000,
987
+ lastUpdated: 1678812178000,
964
988
  docs: "https://vueuse.org/core/useCycleList/",
965
989
  category: "Utilities",
966
990
  description: "cycle through a list of items"
@@ -1031,7 +1055,7 @@ var functions$1 = [
1031
1055
  {
1032
1056
  name: "useDevicePixelRatio",
1033
1057
  "package": "core",
1034
- lastUpdated: 1662386570000,
1058
+ lastUpdated: 1676712461000,
1035
1059
  component: true,
1036
1060
  docs: "https://vueuse.org/core/useDevicePixelRatio/",
1037
1061
  category: "Sensors",
@@ -1093,7 +1117,7 @@ var functions$1 = [
1093
1117
  lastUpdated: 1658043158000,
1094
1118
  docs: "https://vueuse.org/core/useDropZone/",
1095
1119
  category: "Elements",
1096
- description: "create an zone where files can be dropped"
1120
+ description: "create a zone where files can be dropped"
1097
1121
  },
1098
1122
  {
1099
1123
  name: "useElementBounding",
@@ -1115,7 +1139,7 @@ var functions$1 = [
1115
1139
  {
1116
1140
  name: "useElementHover",
1117
1141
  "package": "core",
1118
- lastUpdated: 1660290815000,
1142
+ lastUpdated: 1676891150000,
1119
1143
  directive: true,
1120
1144
  docs: "https://vueuse.org/core/useElementHover/",
1121
1145
  category: "Sensors",
@@ -1158,7 +1182,7 @@ var functions$1 = [
1158
1182
  {
1159
1183
  name: "useEventBus",
1160
1184
  "package": "core",
1161
- lastUpdated: 1674955241000,
1185
+ lastUpdated: 1677934962000,
1162
1186
  docs: "https://vueuse.org/core/useEventBus/",
1163
1187
  category: "Utilities",
1164
1188
  description: "a basic event bus"
@@ -1166,7 +1190,7 @@ var functions$1 = [
1166
1190
  {
1167
1191
  name: "useEventListener",
1168
1192
  "package": "core",
1169
- lastUpdated: 1672753027000,
1193
+ lastUpdated: 1676715818000,
1170
1194
  docs: "https://vueuse.org/core/useEventListener/",
1171
1195
  category: "Browser",
1172
1196
  description: "use EventListener with ease"
@@ -1199,7 +1223,7 @@ var functions$1 = [
1199
1223
  {
1200
1224
  name: "useFetch",
1201
1225
  "package": "core",
1202
- lastUpdated: 1674955241000,
1226
+ lastUpdated: 1678811463000,
1203
1227
  docs: "https://vueuse.org/core/useFetch/",
1204
1228
  category: "Network",
1205
1229
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1240,7 +1264,7 @@ var functions$1 = [
1240
1264
  {
1241
1265
  name: "useFocus",
1242
1266
  "package": "core",
1243
- lastUpdated: 1672752994000,
1267
+ lastUpdated: 1674992405000,
1244
1268
  docs: "https://vueuse.org/core/useFocus/",
1245
1269
  category: "Sensors",
1246
1270
  description: "reactive utility to track or set the focus state of a DOM element"
@@ -1274,7 +1298,7 @@ var functions$1 = [
1274
1298
  {
1275
1299
  name: "useFullscreen",
1276
1300
  "package": "core",
1277
- lastUpdated: 1657430593000,
1301
+ lastUpdated: 1678813589000,
1278
1302
  component: true,
1279
1303
  docs: "https://vueuse.org/core/useFullscreen/",
1280
1304
  category: "Browser",
@@ -1316,7 +1340,7 @@ var functions$1 = [
1316
1340
  {
1317
1341
  name: "useIDBKeyval",
1318
1342
  "package": "integrations",
1319
- lastUpdated: 1668302379000,
1343
+ lastUpdated: 1677934368000,
1320
1344
  docs: "https://vueuse.org/integrations/useIDBKeyval/",
1321
1345
  category: "@Integrations",
1322
1346
  description: "wrapper for [`idb-keyval`](https://www.npmjs.com/package/idb-keyval)",
@@ -1361,7 +1385,7 @@ var functions$1 = [
1361
1385
  {
1362
1386
  name: "useInterval",
1363
1387
  "package": "shared",
1364
- lastUpdated: 1664157082000,
1388
+ lastUpdated: 1676713336000,
1365
1389
  docs: "https://vueuse.org/shared/useInterval/",
1366
1390
  category: "Animation",
1367
1391
  description: "reactive counter increases on every interval"
@@ -1445,7 +1469,7 @@ var functions$1 = [
1445
1469
  {
1446
1470
  name: "useManualRefHistory",
1447
1471
  "package": "core",
1448
- lastUpdated: 1662386652000,
1472
+ lastUpdated: 1677182138000,
1449
1473
  docs: "https://vueuse.org/core/useManualRefHistory/",
1450
1474
  category: "State",
1451
1475
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1660,6 +1684,14 @@ var functions$1 = [
1660
1684
  category: "Sensors",
1661
1685
  description: "create parallax effect easily"
1662
1686
  },
1687
+ {
1688
+ name: "usePerformanceObserver",
1689
+ "package": "core",
1690
+ lastUpdated: 1677935193000,
1691
+ docs: "https://vueuse.org/core/usePerformanceObserver/",
1692
+ category: "Browser",
1693
+ description: "observe performance metrics"
1694
+ },
1663
1695
  {
1664
1696
  name: "usePermission",
1665
1697
  "package": "core",
@@ -1692,7 +1724,7 @@ var functions$1 = [
1692
1724
  {
1693
1725
  name: "usePointerSwipe",
1694
1726
  "package": "core",
1695
- lastUpdated: 1667953110000,
1727
+ lastUpdated: 1678813240000,
1696
1728
  docs: "https://vueuse.org/core/usePointerSwipe/",
1697
1729
  category: "Sensors",
1698
1730
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
@@ -1888,7 +1920,7 @@ var functions$1 = [
1888
1920
  {
1889
1921
  name: "useScroll",
1890
1922
  "package": "core",
1891
- lastUpdated: 1667950710000,
1923
+ lastUpdated: 1676711938000,
1892
1924
  directive: true,
1893
1925
  docs: "https://vueuse.org/core/useScroll/",
1894
1926
  category: "Sensors",
@@ -1897,7 +1929,7 @@ var functions$1 = [
1897
1929
  {
1898
1930
  name: "useScrollLock",
1899
1931
  "package": "core",
1900
- lastUpdated: 1672751802000,
1932
+ lastUpdated: 1676713396000,
1901
1933
  directive: true,
1902
1934
  docs: "https://vueuse.org/core/useScrollLock/",
1903
1935
  category: "Sensors",
@@ -1922,6 +1954,16 @@ var functions$1 = [
1922
1954
  category: "Browser",
1923
1955
  description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
1924
1956
  },
1957
+ {
1958
+ name: "useSortable",
1959
+ "package": "integrations",
1960
+ lastUpdated: 1678811414000,
1961
+ component: true,
1962
+ docs: "https://vueuse.org/integrations/useSortable/",
1963
+ category: "@Integrations",
1964
+ description: "wrapper for [`sortable`](https://github.com/SortableJS/Sortable)",
1965
+ importPath: "integrations/useSortable"
1966
+ },
1925
1967
  {
1926
1968
  name: "useSorted",
1927
1969
  "package": "core",
@@ -1948,7 +1990,7 @@ var functions$1 = [
1948
1990
  {
1949
1991
  name: "useSpeechSynthesis",
1950
1992
  "package": "core",
1951
- lastUpdated: 1658083561000,
1993
+ lastUpdated: 1676650547000,
1952
1994
  docs: "https://vueuse.org/core/useSpeechSynthesis/",
1953
1995
  category: "Sensors",
1954
1996
  description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -1971,7 +2013,7 @@ var functions$1 = [
1971
2013
  {
1972
2014
  name: "useStorage",
1973
2015
  "package": "core",
1974
- lastUpdated: 1671545826000,
2016
+ lastUpdated: 1676387907000,
1975
2017
  docs: "https://vueuse.org/core/useStorage/",
1976
2018
  category: "State",
1977
2019
  description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)/[SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)",
@@ -1986,7 +2028,7 @@ var functions$1 = [
1986
2028
  {
1987
2029
  name: "useStorageAsync",
1988
2030
  "package": "core",
1989
- lastUpdated: 1657718694000,
2031
+ lastUpdated: 1676546331000,
1990
2032
  docs: "https://vueuse.org/core/useStorageAsync/",
1991
2033
  category: "State",
1992
2034
  description: "reactive Storage in with async support",
@@ -2037,7 +2079,7 @@ var functions$1 = [
2037
2079
  {
2038
2080
  name: "useSwipe",
2039
2081
  "package": "core",
2040
- lastUpdated: 1657721393000,
2082
+ lastUpdated: 1678813240000,
2041
2083
  docs: "https://vueuse.org/core/useSwipe/",
2042
2084
  category: "Sensors",
2043
2085
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2053,7 +2095,7 @@ var functions$1 = [
2053
2095
  {
2054
2096
  name: "useTextareaAutosize",
2055
2097
  "package": "core",
2056
- lastUpdated: 1671205095000,
2098
+ lastUpdated: 1678813570000,
2057
2099
  docs: "https://vueuse.org/core/useTextareaAutosize/",
2058
2100
  category: "Browser",
2059
2101
  description: "automatically update the height of a textarea depending on the content"
@@ -2119,7 +2161,7 @@ var functions$1 = [
2119
2161
  {
2120
2162
  name: "useTimeoutFn",
2121
2163
  "package": "shared",
2122
- lastUpdated: 1674954620000,
2164
+ lastUpdated: 1678811060000,
2123
2165
  docs: "https://vueuse.org/shared/useTimeoutFn/",
2124
2166
  category: "Animation",
2125
2167
  description: "wrapper for `setTimeout` with controls"
@@ -2185,7 +2227,7 @@ var functions$1 = [
2185
2227
  {
2186
2228
  name: "useTransition",
2187
2229
  "package": "core",
2188
- lastUpdated: 1674955241000,
2230
+ lastUpdated: 1678812989000,
2189
2231
  docs: "https://vueuse.org/core/useTransition/",
2190
2232
  category: "Animation",
2191
2233
  description: "transition between values"
@@ -2209,7 +2251,7 @@ var functions$1 = [
2209
2251
  {
2210
2252
  name: "useUserMedia",
2211
2253
  "package": "core",
2212
- lastUpdated: 1657430593000,
2254
+ lastUpdated: 1677938854000,
2213
2255
  docs: "https://vueuse.org/core/useUserMedia/",
2214
2256
  category: "Sensors",
2215
2257
  description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
@@ -2230,12 +2272,11 @@ var functions$1 = [
2230
2272
  {
2231
2273
  name: "useVirtualList",
2232
2274
  "package": "core",
2233
- lastUpdated: 1673939486000,
2275
+ lastUpdated: 1676174012000,
2234
2276
  component: true,
2235
2277
  docs: "https://vueuse.org/core/useVirtualList/",
2236
2278
  category: "Component",
2237
- description: "create virtual lists with ease",
2238
- deprecated: true
2279
+ description: "create virtual lists with ease"
2239
2280
  },
2240
2281
  {
2241
2282
  name: "useVModel",
@@ -2270,7 +2311,7 @@ var functions$1 = [
2270
2311
  {
2271
2312
  name: "useWebNotification",
2272
2313
  "package": "core",
2273
- lastUpdated: 1658083596000,
2314
+ lastUpdated: 1677939548000,
2274
2315
  docs: "https://vueuse.org/core/useWebNotification/",
2275
2316
  category: "Browser",
2276
2317
  description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2317,11 +2358,10 @@ var functions$1 = [
2317
2358
  {
2318
2359
  name: "useWindowScroll",
2319
2360
  "package": "core",
2320
- lastUpdated: 1673942987000,
2361
+ lastUpdated: 1676590806000,
2321
2362
  docs: "https://vueuse.org/core/useWindowScroll/",
2322
2363
  category: "Elements",
2323
- description: "reactive window scroll",
2324
- deprecated: true
2364
+ description: "reactive window scroll"
2325
2365
  },
2326
2366
  {
2327
2367
  name: "useWindowSize",
@@ -2351,7 +2391,7 @@ var functions$1 = [
2351
2391
  {
2352
2392
  name: "utils",
2353
2393
  "package": "shared",
2354
- lastUpdated: 1672752994000,
2394
+ lastUpdated: 1677934301000,
2355
2395
  internal: true
2356
2396
  },
2357
2397
  {
@@ -2381,6 +2421,14 @@ var functions$1 = [
2381
2421
  "debouncedWatch"
2382
2422
  ]
2383
2423
  },
2424
+ {
2425
+ name: "watchDeep",
2426
+ "package": "shared",
2427
+ lastUpdated: 1677934625000,
2428
+ docs: "https://vueuse.org/shared/watchDeep/",
2429
+ category: "Watch",
2430
+ description: "shorthand for watching value with {deep: true}"
2431
+ },
2384
2432
  {
2385
2433
  name: "watchIgnorable",
2386
2434
  "package": "shared",
@@ -2392,6 +2440,14 @@ var functions$1 = [
2392
2440
  "ignorableWatch"
2393
2441
  ]
2394
2442
  },
2443
+ {
2444
+ name: "watchImmediate",
2445
+ "package": "shared",
2446
+ lastUpdated: 1678354793000,
2447
+ docs: "https://vueuse.org/shared/watchImmediate/",
2448
+ category: "Watch",
2449
+ description: "shorthand for watching value with {immediate: true}"
2450
+ },
2395
2451
  {
2396
2452
  name: "watchOnce",
2397
2453
  "package": "shared",