@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.mjs CHANGED
@@ -161,7 +161,7 @@ var functions$1 = [
161
161
  {
162
162
  name: "computedAsync",
163
163
  "package": "core",
164
- lastUpdated: 1672940168000,
164
+ lastUpdated: 1677934598000,
165
165
  docs: "https://vueuse.org/core/computedAsync/",
166
166
  category: "Reactivity",
167
167
  description: "computed for async functions",
@@ -205,7 +205,7 @@ var functions$1 = [
205
205
  {
206
206
  name: "createEventHook",
207
207
  "package": "shared",
208
- lastUpdated: 1671205540000,
208
+ lastUpdated: 1677939657000,
209
209
  docs: "https://vueuse.org/shared/createEventHook/",
210
210
  category: "Utilities",
211
211
  description: "utility for creating event hooks"
@@ -225,7 +225,7 @@ var functions$1 = [
225
225
  {
226
226
  name: "createGlobalState",
227
227
  "package": "shared",
228
- lastUpdated: 1625749207000,
228
+ lastUpdated: 1678811060000,
229
229
  docs: "https://vueuse.org/shared/createGlobalState/",
230
230
  category: "State",
231
231
  description: "keep states in the global scope to be reusable across Vue instances",
@@ -270,7 +270,7 @@ var functions$1 = [
270
270
  {
271
271
  name: "createSharedComposable",
272
272
  "package": "shared",
273
- lastUpdated: 1639442454000,
273
+ lastUpdated: 1678811060000,
274
274
  docs: "https://vueuse.org/shared/createSharedComposable/",
275
275
  category: "State",
276
276
  description: "make a composable function usable with multiple Vue instances",
@@ -377,7 +377,7 @@ var functions$1 = [
377
377
  {
378
378
  name: "onClickOutside",
379
379
  "package": "core",
380
- lastUpdated: 1671535188000,
380
+ lastUpdated: 1675466376000,
381
381
  component: true,
382
382
  directive: true,
383
383
  docs: "https://vueuse.org/core/onClickOutside/",
@@ -428,7 +428,7 @@ var functions$1 = [
428
428
  {
429
429
  name: "reactifyObject",
430
430
  "package": "shared",
431
- lastUpdated: 1667952962000,
431
+ lastUpdated: 1678811060000,
432
432
  docs: "https://vueuse.org/shared/reactifyObject/",
433
433
  category: "Reactivity",
434
434
  description: "apply `reactify` to an object"
@@ -534,7 +534,7 @@ var functions$1 = [
534
534
  {
535
535
  name: "resolveUnref",
536
536
  "package": "shared",
537
- lastUpdated: 1667054063000,
537
+ lastUpdated: 1678811060000,
538
538
  docs: "https://vueuse.org/shared/resolveUnref/",
539
539
  category: "Reactivity",
540
540
  description: "get the value of value/ref/getter",
@@ -631,7 +631,7 @@ var functions$1 = [
631
631
  {
632
632
  name: "tryOnScopeDispose",
633
633
  "package": "shared",
634
- lastUpdated: 1639442454000,
634
+ lastUpdated: 1675070075000,
635
635
  docs: "https://vueuse.org/shared/tryOnScopeDispose/",
636
636
  category: "Component",
637
637
  description: "safe `onScopeDispose`"
@@ -677,6 +677,14 @@ var functions$1 = [
677
677
  category: "Elements",
678
678
  description: "reactive `document.activeElement`"
679
679
  },
680
+ {
681
+ name: "useArrayDifference",
682
+ "package": "shared",
683
+ lastUpdated: 1677935013000,
684
+ docs: "https://vueuse.org/shared/useArrayDifference/",
685
+ category: "Array",
686
+ description: "reactive get array difference of two array"
687
+ },
680
688
  {
681
689
  name: "useArrayEvery",
682
690
  "package": "shared",
@@ -709,6 +717,22 @@ var functions$1 = [
709
717
  category: "Array",
710
718
  description: "reactive `Array.findIndex`"
711
719
  },
720
+ {
721
+ name: "useArrayFindLast",
722
+ "package": "shared",
723
+ lastUpdated: 1676713178000,
724
+ docs: "https://vueuse.org/shared/useArrayFindLast/",
725
+ category: "Array",
726
+ description: "reactive `Array.findLast`"
727
+ },
728
+ {
729
+ name: "useArrayIncludes",
730
+ "package": "shared",
731
+ lastUpdated: 1677935050000,
732
+ docs: "https://vueuse.org/shared/useArrayIncludes/",
733
+ category: "Array",
734
+ description: "reactive `Array.includes`"
735
+ },
712
736
  {
713
737
  name: "useArrayJoin",
714
738
  "package": "shared",
@@ -760,7 +784,7 @@ var functions$1 = [
760
784
  {
761
785
  name: "useAsyncState",
762
786
  "package": "core",
763
- lastUpdated: 1671824332000,
787
+ lastUpdated: 1676388144000,
764
788
  docs: "https://vueuse.org/core/useAsyncState/",
765
789
  category: "State",
766
790
  description: "reactive async state"
@@ -768,7 +792,7 @@ var functions$1 = [
768
792
  {
769
793
  name: "useAsyncValidator",
770
794
  "package": "integrations",
771
- lastUpdated: 1657259100000,
795
+ lastUpdated: 1676801066000,
772
796
  component: true,
773
797
  docs: "https://vueuse.org/integrations/useAsyncValidator/",
774
798
  category: "@Integrations",
@@ -795,7 +819,7 @@ var functions$1 = [
795
819
  {
796
820
  name: "useAxios",
797
821
  "package": "integrations",
798
- lastUpdated: 1674205335000,
822
+ lastUpdated: 1678813845000,
799
823
  docs: "https://vueuse.org/integrations/useAxios/",
800
824
  category: "@Integrations",
801
825
  description: "wrapper for [`axios`](https://github.com/axios/axios)",
@@ -845,7 +869,7 @@ var functions$1 = [
845
869
  {
846
870
  name: "useBrowserLocation",
847
871
  "package": "core",
848
- lastUpdated: 1639442454000,
872
+ lastUpdated: 1677934301000,
849
873
  component: true,
850
874
  docs: "https://vueuse.org/core/useBrowserLocation/",
851
875
  category: "Browser",
@@ -879,7 +903,7 @@ var functions$1 = [
879
903
  {
880
904
  name: "useClamp",
881
905
  "package": "math",
882
- lastUpdated: 1657431142000,
906
+ lastUpdated: 1676714120000,
883
907
  docs: "https://vueuse.org/math/useClamp/",
884
908
  category: "@Math",
885
909
  description: "reactively clamp a value between two other values"
@@ -903,7 +927,7 @@ var functions$1 = [
903
927
  {
904
928
  name: "useColorMode",
905
929
  "package": "core",
906
- lastUpdated: 1674955241000,
930
+ lastUpdated: 1677249459000,
907
931
  component: true,
908
932
  docs: "https://vueuse.org/core/useColorMode/",
909
933
  category: "Browser",
@@ -925,7 +949,7 @@ var functions$1 = [
925
949
  {
926
950
  name: "useCookies",
927
951
  "package": "integrations",
928
- lastUpdated: 1642756753000,
952
+ lastUpdated: 1678811272000,
929
953
  docs: "https://vueuse.org/integrations/useCookies/",
930
954
  category: "@Integrations",
931
955
  description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
@@ -942,7 +966,7 @@ var functions$1 = [
942
966
  {
943
967
  name: "useCssVar",
944
968
  "package": "core",
945
- lastUpdated: 1657259100000,
969
+ lastUpdated: 1677757262000,
946
970
  docs: "https://vueuse.org/core/useCssVar/",
947
971
  category: "Browser",
948
972
  description: "manipulate CSS variables"
@@ -958,7 +982,7 @@ var functions$1 = [
958
982
  {
959
983
  name: "useCycleList",
960
984
  "package": "core",
961
- lastUpdated: 1659556886000,
985
+ lastUpdated: 1678812178000,
962
986
  docs: "https://vueuse.org/core/useCycleList/",
963
987
  category: "Utilities",
964
988
  description: "cycle through a list of items"
@@ -1029,7 +1053,7 @@ var functions$1 = [
1029
1053
  {
1030
1054
  name: "useDevicePixelRatio",
1031
1055
  "package": "core",
1032
- lastUpdated: 1662386570000,
1056
+ lastUpdated: 1676712461000,
1033
1057
  component: true,
1034
1058
  docs: "https://vueuse.org/core/useDevicePixelRatio/",
1035
1059
  category: "Sensors",
@@ -1091,7 +1115,7 @@ var functions$1 = [
1091
1115
  lastUpdated: 1658043158000,
1092
1116
  docs: "https://vueuse.org/core/useDropZone/",
1093
1117
  category: "Elements",
1094
- description: "create an zone where files can be dropped"
1118
+ description: "create a zone where files can be dropped"
1095
1119
  },
1096
1120
  {
1097
1121
  name: "useElementBounding",
@@ -1113,7 +1137,7 @@ var functions$1 = [
1113
1137
  {
1114
1138
  name: "useElementHover",
1115
1139
  "package": "core",
1116
- lastUpdated: 1660290815000,
1140
+ lastUpdated: 1676891150000,
1117
1141
  directive: true,
1118
1142
  docs: "https://vueuse.org/core/useElementHover/",
1119
1143
  category: "Sensors",
@@ -1156,7 +1180,7 @@ var functions$1 = [
1156
1180
  {
1157
1181
  name: "useEventBus",
1158
1182
  "package": "core",
1159
- lastUpdated: 1674955241000,
1183
+ lastUpdated: 1677934962000,
1160
1184
  docs: "https://vueuse.org/core/useEventBus/",
1161
1185
  category: "Utilities",
1162
1186
  description: "a basic event bus"
@@ -1164,7 +1188,7 @@ var functions$1 = [
1164
1188
  {
1165
1189
  name: "useEventListener",
1166
1190
  "package": "core",
1167
- lastUpdated: 1672753027000,
1191
+ lastUpdated: 1676715818000,
1168
1192
  docs: "https://vueuse.org/core/useEventListener/",
1169
1193
  category: "Browser",
1170
1194
  description: "use EventListener with ease"
@@ -1197,7 +1221,7 @@ var functions$1 = [
1197
1221
  {
1198
1222
  name: "useFetch",
1199
1223
  "package": "core",
1200
- lastUpdated: 1674955241000,
1224
+ lastUpdated: 1678811463000,
1201
1225
  docs: "https://vueuse.org/core/useFetch/",
1202
1226
  category: "Network",
1203
1227
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1238,7 +1262,7 @@ var functions$1 = [
1238
1262
  {
1239
1263
  name: "useFocus",
1240
1264
  "package": "core",
1241
- lastUpdated: 1672752994000,
1265
+ lastUpdated: 1674992405000,
1242
1266
  docs: "https://vueuse.org/core/useFocus/",
1243
1267
  category: "Sensors",
1244
1268
  description: "reactive utility to track or set the focus state of a DOM element"
@@ -1272,7 +1296,7 @@ var functions$1 = [
1272
1296
  {
1273
1297
  name: "useFullscreen",
1274
1298
  "package": "core",
1275
- lastUpdated: 1657430593000,
1299
+ lastUpdated: 1678813589000,
1276
1300
  component: true,
1277
1301
  docs: "https://vueuse.org/core/useFullscreen/",
1278
1302
  category: "Browser",
@@ -1314,7 +1338,7 @@ var functions$1 = [
1314
1338
  {
1315
1339
  name: "useIDBKeyval",
1316
1340
  "package": "integrations",
1317
- lastUpdated: 1668302379000,
1341
+ lastUpdated: 1677934368000,
1318
1342
  docs: "https://vueuse.org/integrations/useIDBKeyval/",
1319
1343
  category: "@Integrations",
1320
1344
  description: "wrapper for [`idb-keyval`](https://www.npmjs.com/package/idb-keyval)",
@@ -1359,7 +1383,7 @@ var functions$1 = [
1359
1383
  {
1360
1384
  name: "useInterval",
1361
1385
  "package": "shared",
1362
- lastUpdated: 1664157082000,
1386
+ lastUpdated: 1676713336000,
1363
1387
  docs: "https://vueuse.org/shared/useInterval/",
1364
1388
  category: "Animation",
1365
1389
  description: "reactive counter increases on every interval"
@@ -1443,7 +1467,7 @@ var functions$1 = [
1443
1467
  {
1444
1468
  name: "useManualRefHistory",
1445
1469
  "package": "core",
1446
- lastUpdated: 1662386652000,
1470
+ lastUpdated: 1677182138000,
1447
1471
  docs: "https://vueuse.org/core/useManualRefHistory/",
1448
1472
  category: "State",
1449
1473
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1658,6 +1682,14 @@ var functions$1 = [
1658
1682
  category: "Sensors",
1659
1683
  description: "create parallax effect easily"
1660
1684
  },
1685
+ {
1686
+ name: "usePerformanceObserver",
1687
+ "package": "core",
1688
+ lastUpdated: 1677935193000,
1689
+ docs: "https://vueuse.org/core/usePerformanceObserver/",
1690
+ category: "Browser",
1691
+ description: "observe performance metrics"
1692
+ },
1661
1693
  {
1662
1694
  name: "usePermission",
1663
1695
  "package": "core",
@@ -1690,7 +1722,7 @@ var functions$1 = [
1690
1722
  {
1691
1723
  name: "usePointerSwipe",
1692
1724
  "package": "core",
1693
- lastUpdated: 1667953110000,
1725
+ lastUpdated: 1678813240000,
1694
1726
  docs: "https://vueuse.org/core/usePointerSwipe/",
1695
1727
  category: "Sensors",
1696
1728
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
@@ -1886,7 +1918,7 @@ var functions$1 = [
1886
1918
  {
1887
1919
  name: "useScroll",
1888
1920
  "package": "core",
1889
- lastUpdated: 1667950710000,
1921
+ lastUpdated: 1676711938000,
1890
1922
  directive: true,
1891
1923
  docs: "https://vueuse.org/core/useScroll/",
1892
1924
  category: "Sensors",
@@ -1895,7 +1927,7 @@ var functions$1 = [
1895
1927
  {
1896
1928
  name: "useScrollLock",
1897
1929
  "package": "core",
1898
- lastUpdated: 1672751802000,
1930
+ lastUpdated: 1676713396000,
1899
1931
  directive: true,
1900
1932
  docs: "https://vueuse.org/core/useScrollLock/",
1901
1933
  category: "Sensors",
@@ -1920,6 +1952,16 @@ var functions$1 = [
1920
1952
  category: "Browser",
1921
1953
  description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
1922
1954
  },
1955
+ {
1956
+ name: "useSortable",
1957
+ "package": "integrations",
1958
+ lastUpdated: 1678811414000,
1959
+ component: true,
1960
+ docs: "https://vueuse.org/integrations/useSortable/",
1961
+ category: "@Integrations",
1962
+ description: "wrapper for [`sortable`](https://github.com/SortableJS/Sortable)",
1963
+ importPath: "integrations/useSortable"
1964
+ },
1923
1965
  {
1924
1966
  name: "useSorted",
1925
1967
  "package": "core",
@@ -1946,7 +1988,7 @@ var functions$1 = [
1946
1988
  {
1947
1989
  name: "useSpeechSynthesis",
1948
1990
  "package": "core",
1949
- lastUpdated: 1658083561000,
1991
+ lastUpdated: 1676650547000,
1950
1992
  docs: "https://vueuse.org/core/useSpeechSynthesis/",
1951
1993
  category: "Sensors",
1952
1994
  description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -1969,7 +2011,7 @@ var functions$1 = [
1969
2011
  {
1970
2012
  name: "useStorage",
1971
2013
  "package": "core",
1972
- lastUpdated: 1671545826000,
2014
+ lastUpdated: 1676387907000,
1973
2015
  docs: "https://vueuse.org/core/useStorage/",
1974
2016
  category: "State",
1975
2017
  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)",
@@ -1984,7 +2026,7 @@ var functions$1 = [
1984
2026
  {
1985
2027
  name: "useStorageAsync",
1986
2028
  "package": "core",
1987
- lastUpdated: 1657718694000,
2029
+ lastUpdated: 1676546331000,
1988
2030
  docs: "https://vueuse.org/core/useStorageAsync/",
1989
2031
  category: "State",
1990
2032
  description: "reactive Storage in with async support",
@@ -2035,7 +2077,7 @@ var functions$1 = [
2035
2077
  {
2036
2078
  name: "useSwipe",
2037
2079
  "package": "core",
2038
- lastUpdated: 1657721393000,
2080
+ lastUpdated: 1678813240000,
2039
2081
  docs: "https://vueuse.org/core/useSwipe/",
2040
2082
  category: "Sensors",
2041
2083
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2051,7 +2093,7 @@ var functions$1 = [
2051
2093
  {
2052
2094
  name: "useTextareaAutosize",
2053
2095
  "package": "core",
2054
- lastUpdated: 1671205095000,
2096
+ lastUpdated: 1678813570000,
2055
2097
  docs: "https://vueuse.org/core/useTextareaAutosize/",
2056
2098
  category: "Browser",
2057
2099
  description: "automatically update the height of a textarea depending on the content"
@@ -2117,7 +2159,7 @@ var functions$1 = [
2117
2159
  {
2118
2160
  name: "useTimeoutFn",
2119
2161
  "package": "shared",
2120
- lastUpdated: 1674954620000,
2162
+ lastUpdated: 1678811060000,
2121
2163
  docs: "https://vueuse.org/shared/useTimeoutFn/",
2122
2164
  category: "Animation",
2123
2165
  description: "wrapper for `setTimeout` with controls"
@@ -2183,7 +2225,7 @@ var functions$1 = [
2183
2225
  {
2184
2226
  name: "useTransition",
2185
2227
  "package": "core",
2186
- lastUpdated: 1674955241000,
2228
+ lastUpdated: 1678812989000,
2187
2229
  docs: "https://vueuse.org/core/useTransition/",
2188
2230
  category: "Animation",
2189
2231
  description: "transition between values"
@@ -2207,7 +2249,7 @@ var functions$1 = [
2207
2249
  {
2208
2250
  name: "useUserMedia",
2209
2251
  "package": "core",
2210
- lastUpdated: 1657430593000,
2252
+ lastUpdated: 1677938854000,
2211
2253
  docs: "https://vueuse.org/core/useUserMedia/",
2212
2254
  category: "Sensors",
2213
2255
  description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
@@ -2228,12 +2270,11 @@ var functions$1 = [
2228
2270
  {
2229
2271
  name: "useVirtualList",
2230
2272
  "package": "core",
2231
- lastUpdated: 1673939486000,
2273
+ lastUpdated: 1676174012000,
2232
2274
  component: true,
2233
2275
  docs: "https://vueuse.org/core/useVirtualList/",
2234
2276
  category: "Component",
2235
- description: "create virtual lists with ease",
2236
- deprecated: true
2277
+ description: "create virtual lists with ease"
2237
2278
  },
2238
2279
  {
2239
2280
  name: "useVModel",
@@ -2268,7 +2309,7 @@ var functions$1 = [
2268
2309
  {
2269
2310
  name: "useWebNotification",
2270
2311
  "package": "core",
2271
- lastUpdated: 1658083596000,
2312
+ lastUpdated: 1677939548000,
2272
2313
  docs: "https://vueuse.org/core/useWebNotification/",
2273
2314
  category: "Browser",
2274
2315
  description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2315,11 +2356,10 @@ var functions$1 = [
2315
2356
  {
2316
2357
  name: "useWindowScroll",
2317
2358
  "package": "core",
2318
- lastUpdated: 1673942987000,
2359
+ lastUpdated: 1676590806000,
2319
2360
  docs: "https://vueuse.org/core/useWindowScroll/",
2320
2361
  category: "Elements",
2321
- description: "reactive window scroll",
2322
- deprecated: true
2362
+ description: "reactive window scroll"
2323
2363
  },
2324
2364
  {
2325
2365
  name: "useWindowSize",
@@ -2349,7 +2389,7 @@ var functions$1 = [
2349
2389
  {
2350
2390
  name: "utils",
2351
2391
  "package": "shared",
2352
- lastUpdated: 1672752994000,
2392
+ lastUpdated: 1677934301000,
2353
2393
  internal: true
2354
2394
  },
2355
2395
  {
@@ -2379,6 +2419,14 @@ var functions$1 = [
2379
2419
  "debouncedWatch"
2380
2420
  ]
2381
2421
  },
2422
+ {
2423
+ name: "watchDeep",
2424
+ "package": "shared",
2425
+ lastUpdated: 1677934625000,
2426
+ docs: "https://vueuse.org/shared/watchDeep/",
2427
+ category: "Watch",
2428
+ description: "shorthand for watching value with {deep: true}"
2429
+ },
2382
2430
  {
2383
2431
  name: "watchIgnorable",
2384
2432
  "package": "shared",
@@ -2390,6 +2438,14 @@ var functions$1 = [
2390
2438
  "ignorableWatch"
2391
2439
  ]
2392
2440
  },
2441
+ {
2442
+ name: "watchImmediate",
2443
+ "package": "shared",
2444
+ lastUpdated: 1678354793000,
2445
+ docs: "https://vueuse.org/shared/watchImmediate/",
2446
+ category: "Watch",
2447
+ description: "shorthand for watching value with {immediate: true}"
2448
+ },
2393
2449
  {
2394
2450
  name: "watchOnce",
2395
2451
  "package": "shared",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/metadata",
3
- "version": "9.12.0",
3
+ "version": "10.0.0-beta.0",
4
4
  "description": "Metadata for VueUse functions",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",