@vueuse/metadata 9.0.0-beta.1 → 9.0.1
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.cjs +68 -44
- package/index.json +66 -42
- package/index.mjs +68 -44
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -137,11 +137,11 @@ var categories$1 = [
|
|
|
137
137
|
"Browser",
|
|
138
138
|
"Component",
|
|
139
139
|
"Elements",
|
|
140
|
-
"Misc",
|
|
141
140
|
"Network",
|
|
142
141
|
"Reactivity",
|
|
143
142
|
"Sensors",
|
|
144
143
|
"State",
|
|
144
|
+
"Time",
|
|
145
145
|
"Utilities",
|
|
146
146
|
"Watch",
|
|
147
147
|
"@Electron",
|
|
@@ -442,7 +442,7 @@ var functions$1 = [
|
|
|
442
442
|
{
|
|
443
443
|
name: "reactiveOmit",
|
|
444
444
|
"package": "shared",
|
|
445
|
-
lastUpdated:
|
|
445
|
+
lastUpdated: 1658645224000,
|
|
446
446
|
docs: "https://vueuse.org/shared/reactiveOmit/",
|
|
447
447
|
category: "Reactivity",
|
|
448
448
|
description: "reactively omit fields from a reactive object"
|
|
@@ -450,7 +450,7 @@ var functions$1 = [
|
|
|
450
450
|
{
|
|
451
451
|
name: "reactivePick",
|
|
452
452
|
"package": "shared",
|
|
453
|
-
lastUpdated:
|
|
453
|
+
lastUpdated: 1658645224000,
|
|
454
454
|
docs: "https://vueuse.org/shared/reactivePick/",
|
|
455
455
|
category: "Reactivity",
|
|
456
456
|
description: "reactively pick fields from a reactive object"
|
|
@@ -551,7 +551,7 @@ var functions$1 = [
|
|
|
551
551
|
{
|
|
552
552
|
name: "syncRef",
|
|
553
553
|
"package": "shared",
|
|
554
|
-
lastUpdated:
|
|
554
|
+
lastUpdated: 1658655180000,
|
|
555
555
|
docs: "https://vueuse.org/shared/syncRef/",
|
|
556
556
|
category: "Reactivity",
|
|
557
557
|
description: "two-way refs synchronization",
|
|
@@ -584,7 +584,7 @@ var functions$1 = [
|
|
|
584
584
|
lastUpdated: 1631130736000,
|
|
585
585
|
docs: "https://vueuse.org/rxjs/toObserver/",
|
|
586
586
|
category: "@RxJS",
|
|
587
|
-
description: "sugar function to convert a ref
|
|
587
|
+
description: "sugar function to convert a `ref` into an RxJS [Observer](https://rxjs.dev/guide/observer)"
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
590
|
name: "toReactive",
|
|
@@ -678,7 +678,7 @@ var functions$1 = [
|
|
|
678
678
|
{
|
|
679
679
|
name: "useArrayEvery",
|
|
680
680
|
"package": "shared",
|
|
681
|
-
lastUpdated:
|
|
681
|
+
lastUpdated: 1658903741000,
|
|
682
682
|
docs: "https://vueuse.org/shared/useArrayEvery/",
|
|
683
683
|
category: "Array",
|
|
684
684
|
description: "reactive `Array.every`"
|
|
@@ -686,7 +686,7 @@ var functions$1 = [
|
|
|
686
686
|
{
|
|
687
687
|
name: "useArrayFilter",
|
|
688
688
|
"package": "shared",
|
|
689
|
-
lastUpdated:
|
|
689
|
+
lastUpdated: 1658903741000,
|
|
690
690
|
docs: "https://vueuse.org/shared/useArrayFilter/",
|
|
691
691
|
category: "Array",
|
|
692
692
|
description: "reactive `Array.filter`"
|
|
@@ -694,23 +694,31 @@ var functions$1 = [
|
|
|
694
694
|
{
|
|
695
695
|
name: "useArrayFind",
|
|
696
696
|
"package": "shared",
|
|
697
|
-
lastUpdated:
|
|
697
|
+
lastUpdated: 1658903741000,
|
|
698
698
|
docs: "https://vueuse.org/shared/useArrayFind/",
|
|
699
699
|
category: "Array",
|
|
700
700
|
description: "reactive `Array.find`"
|
|
701
701
|
},
|
|
702
|
+
{
|
|
703
|
+
name: "useArrayFindIndex",
|
|
704
|
+
"package": "shared",
|
|
705
|
+
lastUpdated: 1658903741000,
|
|
706
|
+
docs: "https://vueuse.org/shared/useArrayFindIndex/",
|
|
707
|
+
category: "Array",
|
|
708
|
+
description: "reactive `Array.findIndex`"
|
|
709
|
+
},
|
|
702
710
|
{
|
|
703
711
|
name: "useArrayJoin",
|
|
704
712
|
"package": "shared",
|
|
705
|
-
lastUpdated:
|
|
713
|
+
lastUpdated: 1658903741000,
|
|
706
714
|
docs: "https://vueuse.org/shared/useArrayJoin/",
|
|
707
|
-
category: "
|
|
715
|
+
category: "Array",
|
|
708
716
|
description: "reactive `Array.join`"
|
|
709
717
|
},
|
|
710
718
|
{
|
|
711
719
|
name: "useArrayMap",
|
|
712
720
|
"package": "shared",
|
|
713
|
-
lastUpdated:
|
|
721
|
+
lastUpdated: 1658903741000,
|
|
714
722
|
docs: "https://vueuse.org/shared/useArrayMap/",
|
|
715
723
|
category: "Array",
|
|
716
724
|
description: "reactive `Array.map`"
|
|
@@ -718,7 +726,7 @@ var functions$1 = [
|
|
|
718
726
|
{
|
|
719
727
|
name: "useArrayReduce",
|
|
720
728
|
"package": "shared",
|
|
721
|
-
lastUpdated:
|
|
729
|
+
lastUpdated: 1658903741000,
|
|
722
730
|
docs: "https://vueuse.org/shared/useArrayReduce/",
|
|
723
731
|
category: "Array",
|
|
724
732
|
description: "reactive `Array.reduce`"
|
|
@@ -726,7 +734,7 @@ var functions$1 = [
|
|
|
726
734
|
{
|
|
727
735
|
name: "useArraySome",
|
|
728
736
|
"package": "shared",
|
|
729
|
-
lastUpdated:
|
|
737
|
+
lastUpdated: 1658903741000,
|
|
730
738
|
docs: "https://vueuse.org/shared/useArraySome/",
|
|
731
739
|
category: "Array",
|
|
732
740
|
description: "reactive `Array.some`"
|
|
@@ -742,7 +750,7 @@ var functions$1 = [
|
|
|
742
750
|
{
|
|
743
751
|
name: "useAsyncState",
|
|
744
752
|
"package": "core",
|
|
745
|
-
lastUpdated:
|
|
753
|
+
lastUpdated: 1658656516000,
|
|
746
754
|
docs: "https://vueuse.org/core/useAsyncState/",
|
|
747
755
|
category: "State",
|
|
748
756
|
description: "reactive async state"
|
|
@@ -760,7 +768,7 @@ var functions$1 = [
|
|
|
760
768
|
{
|
|
761
769
|
name: "useAuth",
|
|
762
770
|
"package": "firebase",
|
|
763
|
-
lastUpdated:
|
|
771
|
+
lastUpdated: 1658645224000,
|
|
764
772
|
docs: "https://vueuse.org/firebase/useAuth/",
|
|
765
773
|
category: "@Firebase",
|
|
766
774
|
description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding",
|
|
@@ -877,7 +885,7 @@ var functions$1 = [
|
|
|
877
885
|
{
|
|
878
886
|
name: "useColorMode",
|
|
879
887
|
"package": "core",
|
|
880
|
-
lastUpdated:
|
|
888
|
+
lastUpdated: 1659105659000,
|
|
881
889
|
component: true,
|
|
882
890
|
docs: "https://vueuse.org/core/useColorMode/",
|
|
883
891
|
category: "Browser",
|
|
@@ -954,9 +962,9 @@ var functions$1 = [
|
|
|
954
962
|
{
|
|
955
963
|
name: "useDateFormat",
|
|
956
964
|
"package": "shared",
|
|
957
|
-
lastUpdated:
|
|
965
|
+
lastUpdated: 1659105614000,
|
|
958
966
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
959
|
-
category: "
|
|
967
|
+
category: "Time",
|
|
960
968
|
description: "get the formatted date according to the string of tokens passed in"
|
|
961
969
|
},
|
|
962
970
|
{
|
|
@@ -974,7 +982,7 @@ var functions$1 = [
|
|
|
974
982
|
{
|
|
975
983
|
name: "useDebounceFn",
|
|
976
984
|
"package": "shared",
|
|
977
|
-
lastUpdated:
|
|
985
|
+
lastUpdated: 1658645224000,
|
|
978
986
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
979
987
|
category: "Utilities",
|
|
980
988
|
description: "debounce execution of a function",
|
|
@@ -1171,7 +1179,7 @@ var functions$1 = [
|
|
|
1171
1179
|
{
|
|
1172
1180
|
name: "useFetch",
|
|
1173
1181
|
"package": "core",
|
|
1174
|
-
lastUpdated:
|
|
1182
|
+
lastUpdated: 1659105604000,
|
|
1175
1183
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1176
1184
|
category: "Network",
|
|
1177
1185
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1195,7 +1203,7 @@ var functions$1 = [
|
|
|
1195
1203
|
{
|
|
1196
1204
|
name: "useFirestore",
|
|
1197
1205
|
"package": "firebase",
|
|
1198
|
-
lastUpdated:
|
|
1206
|
+
lastUpdated: 1659105595000,
|
|
1199
1207
|
docs: "https://vueuse.org/firebase/useFirestore/",
|
|
1200
1208
|
category: "@Firebase",
|
|
1201
1209
|
description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding",
|
|
@@ -1324,7 +1332,7 @@ var functions$1 = [
|
|
|
1324
1332
|
{
|
|
1325
1333
|
name: "useInterval",
|
|
1326
1334
|
"package": "shared",
|
|
1327
|
-
lastUpdated:
|
|
1335
|
+
lastUpdated: 1658645224000,
|
|
1328
1336
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1329
1337
|
category: "Animation",
|
|
1330
1338
|
description: "reactive counter increases on every interval"
|
|
@@ -1340,15 +1348,15 @@ var functions$1 = [
|
|
|
1340
1348
|
{
|
|
1341
1349
|
name: "useIpcRenderer",
|
|
1342
1350
|
"package": "electron",
|
|
1343
|
-
lastUpdated:
|
|
1351
|
+
lastUpdated: 1658645224000,
|
|
1344
1352
|
docs: "https://vueuse.org/electron/useIpcRenderer/",
|
|
1345
1353
|
category: "@Electron",
|
|
1346
|
-
description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and
|
|
1354
|
+
description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and all of its APIs"
|
|
1347
1355
|
},
|
|
1348
1356
|
{
|
|
1349
1357
|
name: "useIpcRendererInvoke",
|
|
1350
1358
|
"package": "electron",
|
|
1351
|
-
lastUpdated:
|
|
1359
|
+
lastUpdated: 1658645224000,
|
|
1352
1360
|
docs: "https://vueuse.org/electron/useIpcRendererInvoke/",
|
|
1353
1361
|
category: "@Electron",
|
|
1354
1362
|
description: "reactive [ipcRenderer.invoke API](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererinvokechannel-args) result"
|
|
@@ -1356,7 +1364,7 @@ var functions$1 = [
|
|
|
1356
1364
|
{
|
|
1357
1365
|
name: "useIpcRendererOn",
|
|
1358
1366
|
"package": "electron",
|
|
1359
|
-
lastUpdated:
|
|
1367
|
+
lastUpdated: 1658645224000,
|
|
1360
1368
|
docs: "https://vueuse.org/electron/useIpcRendererOn/",
|
|
1361
1369
|
category: "@Electron",
|
|
1362
1370
|
description: "use [ipcRenderer.on](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendereronchannel-listener) with ease and [ipcRenderer.removeListener](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererremovelistenerchannel-listener) automatically on unmounted"
|
|
@@ -1383,7 +1391,7 @@ var functions$1 = [
|
|
|
1383
1391
|
"package": "shared",
|
|
1384
1392
|
lastUpdated: 1642756441000,
|
|
1385
1393
|
docs: "https://vueuse.org/shared/useLastChanged/",
|
|
1386
|
-
category: "
|
|
1394
|
+
category: "State",
|
|
1387
1395
|
description: "records the timestamp of the last change"
|
|
1388
1396
|
},
|
|
1389
1397
|
{
|
|
@@ -1565,7 +1573,7 @@ var functions$1 = [
|
|
|
1565
1573
|
{
|
|
1566
1574
|
name: "useNProgress",
|
|
1567
1575
|
"package": "integrations",
|
|
1568
|
-
lastUpdated:
|
|
1576
|
+
lastUpdated: 1658758826000,
|
|
1569
1577
|
docs: "https://vueuse.org/integrations/useNProgress/",
|
|
1570
1578
|
category: "@Integrations",
|
|
1571
1579
|
description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)",
|
|
@@ -1586,7 +1594,7 @@ var functions$1 = [
|
|
|
1586
1594
|
lastUpdated: 1651595539000,
|
|
1587
1595
|
docs: "https://vueuse.org/rxjs/useObservable/",
|
|
1588
1596
|
category: "@RxJS",
|
|
1589
|
-
description: "use an Observable"
|
|
1597
|
+
description: "use an RxJS [`Observable`](https://rxjs.dev/guide/observable)"
|
|
1590
1598
|
},
|
|
1591
1599
|
{
|
|
1592
1600
|
name: "useOffsetPagination",
|
|
@@ -1746,7 +1754,7 @@ var functions$1 = [
|
|
|
1746
1754
|
lastUpdated: 1639442454000,
|
|
1747
1755
|
docs: "https://vueuse.org/router/useRouteHash/",
|
|
1748
1756
|
category: "@Router",
|
|
1749
|
-
description: "shorthand for reactive route.hash"
|
|
1757
|
+
description: "shorthand for a reactive `route.hash`"
|
|
1750
1758
|
},
|
|
1751
1759
|
{
|
|
1752
1760
|
name: "useRouteParams",
|
|
@@ -1754,7 +1762,7 @@ var functions$1 = [
|
|
|
1754
1762
|
lastUpdated: 1657133143000,
|
|
1755
1763
|
docs: "https://vueuse.org/router/useRouteParams/",
|
|
1756
1764
|
category: "@Router",
|
|
1757
|
-
description: "shorthand for reactive route.params"
|
|
1765
|
+
description: "shorthand for a reactive `route.params`"
|
|
1758
1766
|
},
|
|
1759
1767
|
{
|
|
1760
1768
|
name: "useRouteQuery",
|
|
@@ -1762,12 +1770,12 @@ var functions$1 = [
|
|
|
1762
1770
|
lastUpdated: 1649931974000,
|
|
1763
1771
|
docs: "https://vueuse.org/router/useRouteQuery/",
|
|
1764
1772
|
category: "@Router",
|
|
1765
|
-
description: "shorthand for reactive route.query"
|
|
1773
|
+
description: "shorthand for a reactive `route.query`"
|
|
1766
1774
|
},
|
|
1767
1775
|
{
|
|
1768
1776
|
name: "useRTDB",
|
|
1769
1777
|
"package": "firebase",
|
|
1770
|
-
lastUpdated:
|
|
1778
|
+
lastUpdated: 1658645224000,
|
|
1771
1779
|
docs: "https://vueuse.org/firebase/useRTDB/",
|
|
1772
1780
|
category: "@Firebase",
|
|
1773
1781
|
description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
|
|
@@ -1883,7 +1891,7 @@ var functions$1 = [
|
|
|
1883
1891
|
{
|
|
1884
1892
|
name: "useStorage",
|
|
1885
1893
|
"package": "core",
|
|
1886
|
-
lastUpdated:
|
|
1894
|
+
lastUpdated: 1658657648000,
|
|
1887
1895
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1888
1896
|
category: "State",
|
|
1889
1897
|
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)",
|
|
@@ -1920,7 +1928,7 @@ var functions$1 = [
|
|
|
1920
1928
|
lastUpdated: 1651595539000,
|
|
1921
1929
|
docs: "https://vueuse.org/rxjs/useSubject/",
|
|
1922
1930
|
category: "@RxJS",
|
|
1923
|
-
description: "bind Subject to ref and propagate value changes both ways"
|
|
1931
|
+
description: "bind an RxJS [`Subject`](https://rxjs.dev/guide/subject) to a `ref` and propagate value changes both ways"
|
|
1924
1932
|
},
|
|
1925
1933
|
{
|
|
1926
1934
|
name: "useSubscription",
|
|
@@ -1928,7 +1936,7 @@ var functions$1 = [
|
|
|
1928
1936
|
lastUpdated: 1628521945000,
|
|
1929
1937
|
docs: "https://vueuse.org/rxjs/useSubscription/",
|
|
1930
1938
|
category: "@RxJS",
|
|
1931
|
-
description: "
|
|
1939
|
+
description: "use an RxJS [`Subscription`](https://rxjs.dev/guide/subscription) without worrying about unsubscribing from it or creating memory leaks"
|
|
1932
1940
|
},
|
|
1933
1941
|
{
|
|
1934
1942
|
name: "useSum",
|
|
@@ -1970,6 +1978,14 @@ var functions$1 = [
|
|
|
1970
1978
|
category: "Browser",
|
|
1971
1979
|
description: "automatically update the height of a textarea depending on the content"
|
|
1972
1980
|
},
|
|
1981
|
+
{
|
|
1982
|
+
name: "useTextDirection",
|
|
1983
|
+
"package": "core",
|
|
1984
|
+
lastUpdated: 1658657118000,
|
|
1985
|
+
docs: "https://vueuse.org/core/useTextDirection/",
|
|
1986
|
+
category: "Browser",
|
|
1987
|
+
description: "reactive [dir](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) of the element's text"
|
|
1988
|
+
},
|
|
1973
1989
|
{
|
|
1974
1990
|
name: "useTextSelection",
|
|
1975
1991
|
"package": "core",
|
|
@@ -2009,7 +2025,7 @@ var functions$1 = [
|
|
|
2009
2025
|
lastUpdated: 1658083596000,
|
|
2010
2026
|
component: true,
|
|
2011
2027
|
docs: "https://vueuse.org/core/useTimeAgo/",
|
|
2012
|
-
category: "
|
|
2028
|
+
category: "Time",
|
|
2013
2029
|
description: "reactive time ago"
|
|
2014
2030
|
},
|
|
2015
2031
|
{
|
|
@@ -2053,6 +2069,14 @@ var functions$1 = [
|
|
|
2053
2069
|
category: "Browser",
|
|
2054
2070
|
description: "reactive document title"
|
|
2055
2071
|
},
|
|
2072
|
+
{
|
|
2073
|
+
name: "useToFixed",
|
|
2074
|
+
"package": "math",
|
|
2075
|
+
lastUpdated: 1659101366000,
|
|
2076
|
+
docs: "https://vueuse.org/math/useToFixed/",
|
|
2077
|
+
category: "@Math",
|
|
2078
|
+
description: "reactive `toFixed`"
|
|
2079
|
+
},
|
|
2056
2080
|
{
|
|
2057
2081
|
name: "useToggle",
|
|
2058
2082
|
"package": "shared",
|
|
@@ -2166,7 +2190,7 @@ var functions$1 = [
|
|
|
2166
2190
|
"package": "core",
|
|
2167
2191
|
lastUpdated: 1647220329000,
|
|
2168
2192
|
docs: "https://vueuse.org/core/useWebWorker/",
|
|
2169
|
-
category: "
|
|
2193
|
+
category: "Browser",
|
|
2170
2194
|
description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
|
|
2171
2195
|
related: [
|
|
2172
2196
|
"useWebWorkerFn"
|
|
@@ -2177,7 +2201,7 @@ var functions$1 = [
|
|
|
2177
2201
|
"package": "core",
|
|
2178
2202
|
lastUpdated: 1657730737000,
|
|
2179
2203
|
docs: "https://vueuse.org/core/useWebWorkerFn/",
|
|
2180
|
-
category: "
|
|
2204
|
+
category: "Browser",
|
|
2181
2205
|
description: "run expensive functions without blocking the UI",
|
|
2182
2206
|
related: [
|
|
2183
2207
|
"useWebWorker"
|
|
@@ -2212,7 +2236,7 @@ var functions$1 = [
|
|
|
2212
2236
|
{
|
|
2213
2237
|
name: "useZoomFactor",
|
|
2214
2238
|
"package": "electron",
|
|
2215
|
-
lastUpdated:
|
|
2239
|
+
lastUpdated: 1658645224000,
|
|
2216
2240
|
docs: "https://vueuse.org/electron/useZoomFactor/",
|
|
2217
2241
|
category: "@Electron",
|
|
2218
2242
|
description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom factor"
|
|
@@ -2220,7 +2244,7 @@ var functions$1 = [
|
|
|
2220
2244
|
{
|
|
2221
2245
|
name: "useZoomLevel",
|
|
2222
2246
|
"package": "electron",
|
|
2223
|
-
lastUpdated:
|
|
2247
|
+
lastUpdated: 1658645224000,
|
|
2224
2248
|
docs: "https://vueuse.org/electron/useZoomLevel/",
|
|
2225
2249
|
category: "@Electron",
|
|
2226
2250
|
description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom level"
|
|
@@ -2318,7 +2342,7 @@ var functions$1 = [
|
|
|
2318
2342
|
{
|
|
2319
2343
|
name: "whenever",
|
|
2320
2344
|
"package": "shared",
|
|
2321
|
-
lastUpdated:
|
|
2345
|
+
lastUpdated: 1658645224000,
|
|
2322
2346
|
docs: "https://vueuse.org/shared/whenever/",
|
|
2323
2347
|
category: "Watch",
|
|
2324
2348
|
description: "shorthand for watching value to be truthy"
|
|
@@ -2341,8 +2365,8 @@ const categoriesOrder = [
|
|
|
2341
2365
|
"Watch",
|
|
2342
2366
|
"Reactivity",
|
|
2343
2367
|
"Array",
|
|
2344
|
-
"
|
|
2345
|
-
"
|
|
2368
|
+
"Time",
|
|
2369
|
+
"Utilities"
|
|
2346
2370
|
];
|
|
2347
2371
|
const metadata = _metadata;
|
|
2348
2372
|
const functions = functions$1;
|
package/index.json
CHANGED
|
@@ -134,11 +134,11 @@
|
|
|
134
134
|
"Browser",
|
|
135
135
|
"Component",
|
|
136
136
|
"Elements",
|
|
137
|
-
"Misc",
|
|
138
137
|
"Network",
|
|
139
138
|
"Reactivity",
|
|
140
139
|
"Sensors",
|
|
141
140
|
"State",
|
|
141
|
+
"Time",
|
|
142
142
|
"Utilities",
|
|
143
143
|
"Watch",
|
|
144
144
|
"@Electron",
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
{
|
|
440
440
|
"name": "reactiveOmit",
|
|
441
441
|
"package": "shared",
|
|
442
|
-
"lastUpdated":
|
|
442
|
+
"lastUpdated": 1658645224000,
|
|
443
443
|
"docs": "https://vueuse.org/shared/reactiveOmit/",
|
|
444
444
|
"category": "Reactivity",
|
|
445
445
|
"description": "reactively omit fields from a reactive object"
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
{
|
|
448
448
|
"name": "reactivePick",
|
|
449
449
|
"package": "shared",
|
|
450
|
-
"lastUpdated":
|
|
450
|
+
"lastUpdated": 1658645224000,
|
|
451
451
|
"docs": "https://vueuse.org/shared/reactivePick/",
|
|
452
452
|
"category": "Reactivity",
|
|
453
453
|
"description": "reactively pick fields from a reactive object"
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
{
|
|
549
549
|
"name": "syncRef",
|
|
550
550
|
"package": "shared",
|
|
551
|
-
"lastUpdated":
|
|
551
|
+
"lastUpdated": 1658655180000,
|
|
552
552
|
"docs": "https://vueuse.org/shared/syncRef/",
|
|
553
553
|
"category": "Reactivity",
|
|
554
554
|
"description": "two-way refs synchronization",
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
"lastUpdated": 1631130736000,
|
|
582
582
|
"docs": "https://vueuse.org/rxjs/toObserver/",
|
|
583
583
|
"category": "@RxJS",
|
|
584
|
-
"description": "sugar function to convert a ref
|
|
584
|
+
"description": "sugar function to convert a `ref` into an RxJS [Observer](https://rxjs.dev/guide/observer)"
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
587
|
"name": "toReactive",
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
{
|
|
676
676
|
"name": "useArrayEvery",
|
|
677
677
|
"package": "shared",
|
|
678
|
-
"lastUpdated":
|
|
678
|
+
"lastUpdated": 1658903741000,
|
|
679
679
|
"docs": "https://vueuse.org/shared/useArrayEvery/",
|
|
680
680
|
"category": "Array",
|
|
681
681
|
"description": "reactive `Array.every`"
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
{
|
|
684
684
|
"name": "useArrayFilter",
|
|
685
685
|
"package": "shared",
|
|
686
|
-
"lastUpdated":
|
|
686
|
+
"lastUpdated": 1658903741000,
|
|
687
687
|
"docs": "https://vueuse.org/shared/useArrayFilter/",
|
|
688
688
|
"category": "Array",
|
|
689
689
|
"description": "reactive `Array.filter`"
|
|
@@ -691,23 +691,31 @@
|
|
|
691
691
|
{
|
|
692
692
|
"name": "useArrayFind",
|
|
693
693
|
"package": "shared",
|
|
694
|
-
"lastUpdated":
|
|
694
|
+
"lastUpdated": 1658903741000,
|
|
695
695
|
"docs": "https://vueuse.org/shared/useArrayFind/",
|
|
696
696
|
"category": "Array",
|
|
697
697
|
"description": "reactive `Array.find`"
|
|
698
698
|
},
|
|
699
|
+
{
|
|
700
|
+
"name": "useArrayFindIndex",
|
|
701
|
+
"package": "shared",
|
|
702
|
+
"lastUpdated": 1658903741000,
|
|
703
|
+
"docs": "https://vueuse.org/shared/useArrayFindIndex/",
|
|
704
|
+
"category": "Array",
|
|
705
|
+
"description": "reactive `Array.findIndex`"
|
|
706
|
+
},
|
|
699
707
|
{
|
|
700
708
|
"name": "useArrayJoin",
|
|
701
709
|
"package": "shared",
|
|
702
|
-
"lastUpdated":
|
|
710
|
+
"lastUpdated": 1658903741000,
|
|
703
711
|
"docs": "https://vueuse.org/shared/useArrayJoin/",
|
|
704
|
-
"category": "
|
|
712
|
+
"category": "Array",
|
|
705
713
|
"description": "reactive `Array.join`"
|
|
706
714
|
},
|
|
707
715
|
{
|
|
708
716
|
"name": "useArrayMap",
|
|
709
717
|
"package": "shared",
|
|
710
|
-
"lastUpdated":
|
|
718
|
+
"lastUpdated": 1658903741000,
|
|
711
719
|
"docs": "https://vueuse.org/shared/useArrayMap/",
|
|
712
720
|
"category": "Array",
|
|
713
721
|
"description": "reactive `Array.map`"
|
|
@@ -715,7 +723,7 @@
|
|
|
715
723
|
{
|
|
716
724
|
"name": "useArrayReduce",
|
|
717
725
|
"package": "shared",
|
|
718
|
-
"lastUpdated":
|
|
726
|
+
"lastUpdated": 1658903741000,
|
|
719
727
|
"docs": "https://vueuse.org/shared/useArrayReduce/",
|
|
720
728
|
"category": "Array",
|
|
721
729
|
"description": "reactive `Array.reduce`"
|
|
@@ -723,7 +731,7 @@
|
|
|
723
731
|
{
|
|
724
732
|
"name": "useArraySome",
|
|
725
733
|
"package": "shared",
|
|
726
|
-
"lastUpdated":
|
|
734
|
+
"lastUpdated": 1658903741000,
|
|
727
735
|
"docs": "https://vueuse.org/shared/useArraySome/",
|
|
728
736
|
"category": "Array",
|
|
729
737
|
"description": "reactive `Array.some`"
|
|
@@ -739,7 +747,7 @@
|
|
|
739
747
|
{
|
|
740
748
|
"name": "useAsyncState",
|
|
741
749
|
"package": "core",
|
|
742
|
-
"lastUpdated":
|
|
750
|
+
"lastUpdated": 1658656516000,
|
|
743
751
|
"docs": "https://vueuse.org/core/useAsyncState/",
|
|
744
752
|
"category": "State",
|
|
745
753
|
"description": "reactive async state"
|
|
@@ -757,7 +765,7 @@
|
|
|
757
765
|
{
|
|
758
766
|
"name": "useAuth",
|
|
759
767
|
"package": "firebase",
|
|
760
|
-
"lastUpdated":
|
|
768
|
+
"lastUpdated": 1658645224000,
|
|
761
769
|
"docs": "https://vueuse.org/firebase/useAuth/",
|
|
762
770
|
"category": "@Firebase",
|
|
763
771
|
"description": "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding",
|
|
@@ -874,7 +882,7 @@
|
|
|
874
882
|
{
|
|
875
883
|
"name": "useColorMode",
|
|
876
884
|
"package": "core",
|
|
877
|
-
"lastUpdated":
|
|
885
|
+
"lastUpdated": 1659105659000,
|
|
878
886
|
"component": true,
|
|
879
887
|
"docs": "https://vueuse.org/core/useColorMode/",
|
|
880
888
|
"category": "Browser",
|
|
@@ -951,9 +959,9 @@
|
|
|
951
959
|
{
|
|
952
960
|
"name": "useDateFormat",
|
|
953
961
|
"package": "shared",
|
|
954
|
-
"lastUpdated":
|
|
962
|
+
"lastUpdated": 1659105614000,
|
|
955
963
|
"docs": "https://vueuse.org/shared/useDateFormat/",
|
|
956
|
-
"category": "
|
|
964
|
+
"category": "Time",
|
|
957
965
|
"description": "get the formatted date according to the string of tokens passed in"
|
|
958
966
|
},
|
|
959
967
|
{
|
|
@@ -971,7 +979,7 @@
|
|
|
971
979
|
{
|
|
972
980
|
"name": "useDebounceFn",
|
|
973
981
|
"package": "shared",
|
|
974
|
-
"lastUpdated":
|
|
982
|
+
"lastUpdated": 1658645224000,
|
|
975
983
|
"docs": "https://vueuse.org/shared/useDebounceFn/",
|
|
976
984
|
"category": "Utilities",
|
|
977
985
|
"description": "debounce execution of a function",
|
|
@@ -1168,7 +1176,7 @@
|
|
|
1168
1176
|
{
|
|
1169
1177
|
"name": "useFetch",
|
|
1170
1178
|
"package": "core",
|
|
1171
|
-
"lastUpdated":
|
|
1179
|
+
"lastUpdated": 1659105604000,
|
|
1172
1180
|
"docs": "https://vueuse.org/core/useFetch/",
|
|
1173
1181
|
"category": "Network",
|
|
1174
1182
|
"description": "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1192,7 +1200,7 @@
|
|
|
1192
1200
|
{
|
|
1193
1201
|
"name": "useFirestore",
|
|
1194
1202
|
"package": "firebase",
|
|
1195
|
-
"lastUpdated":
|
|
1203
|
+
"lastUpdated": 1659105595000,
|
|
1196
1204
|
"docs": "https://vueuse.org/firebase/useFirestore/",
|
|
1197
1205
|
"category": "@Firebase",
|
|
1198
1206
|
"description": "reactive [Firestore](https://firebase.google.com/docs/firestore) binding",
|
|
@@ -1321,7 +1329,7 @@
|
|
|
1321
1329
|
{
|
|
1322
1330
|
"name": "useInterval",
|
|
1323
1331
|
"package": "shared",
|
|
1324
|
-
"lastUpdated":
|
|
1332
|
+
"lastUpdated": 1658645224000,
|
|
1325
1333
|
"docs": "https://vueuse.org/shared/useInterval/",
|
|
1326
1334
|
"category": "Animation",
|
|
1327
1335
|
"description": "reactive counter increases on every interval"
|
|
@@ -1337,15 +1345,15 @@
|
|
|
1337
1345
|
{
|
|
1338
1346
|
"name": "useIpcRenderer",
|
|
1339
1347
|
"package": "electron",
|
|
1340
|
-
"lastUpdated":
|
|
1348
|
+
"lastUpdated": 1658645224000,
|
|
1341
1349
|
"docs": "https://vueuse.org/electron/useIpcRenderer/",
|
|
1342
1350
|
"category": "@Electron",
|
|
1343
|
-
"description": "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and
|
|
1351
|
+
"description": "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and all of its APIs"
|
|
1344
1352
|
},
|
|
1345
1353
|
{
|
|
1346
1354
|
"name": "useIpcRendererInvoke",
|
|
1347
1355
|
"package": "electron",
|
|
1348
|
-
"lastUpdated":
|
|
1356
|
+
"lastUpdated": 1658645224000,
|
|
1349
1357
|
"docs": "https://vueuse.org/electron/useIpcRendererInvoke/",
|
|
1350
1358
|
"category": "@Electron",
|
|
1351
1359
|
"description": "reactive [ipcRenderer.invoke API](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererinvokechannel-args) result"
|
|
@@ -1353,7 +1361,7 @@
|
|
|
1353
1361
|
{
|
|
1354
1362
|
"name": "useIpcRendererOn",
|
|
1355
1363
|
"package": "electron",
|
|
1356
|
-
"lastUpdated":
|
|
1364
|
+
"lastUpdated": 1658645224000,
|
|
1357
1365
|
"docs": "https://vueuse.org/electron/useIpcRendererOn/",
|
|
1358
1366
|
"category": "@Electron",
|
|
1359
1367
|
"description": "use [ipcRenderer.on](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendereronchannel-listener) with ease and [ipcRenderer.removeListener](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererremovelistenerchannel-listener) automatically on unmounted"
|
|
@@ -1380,7 +1388,7 @@
|
|
|
1380
1388
|
"package": "shared",
|
|
1381
1389
|
"lastUpdated": 1642756441000,
|
|
1382
1390
|
"docs": "https://vueuse.org/shared/useLastChanged/",
|
|
1383
|
-
"category": "
|
|
1391
|
+
"category": "State",
|
|
1384
1392
|
"description": "records the timestamp of the last change"
|
|
1385
1393
|
},
|
|
1386
1394
|
{
|
|
@@ -1562,7 +1570,7 @@
|
|
|
1562
1570
|
{
|
|
1563
1571
|
"name": "useNProgress",
|
|
1564
1572
|
"package": "integrations",
|
|
1565
|
-
"lastUpdated":
|
|
1573
|
+
"lastUpdated": 1658758826000,
|
|
1566
1574
|
"docs": "https://vueuse.org/integrations/useNProgress/",
|
|
1567
1575
|
"category": "@Integrations",
|
|
1568
1576
|
"description": "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)",
|
|
@@ -1583,7 +1591,7 @@
|
|
|
1583
1591
|
"lastUpdated": 1651595539000,
|
|
1584
1592
|
"docs": "https://vueuse.org/rxjs/useObservable/",
|
|
1585
1593
|
"category": "@RxJS",
|
|
1586
|
-
"description": "use an Observable"
|
|
1594
|
+
"description": "use an RxJS [`Observable`](https://rxjs.dev/guide/observable)"
|
|
1587
1595
|
},
|
|
1588
1596
|
{
|
|
1589
1597
|
"name": "useOffsetPagination",
|
|
@@ -1743,7 +1751,7 @@
|
|
|
1743
1751
|
"lastUpdated": 1639442454000,
|
|
1744
1752
|
"docs": "https://vueuse.org/router/useRouteHash/",
|
|
1745
1753
|
"category": "@Router",
|
|
1746
|
-
"description": "shorthand for reactive route.hash"
|
|
1754
|
+
"description": "shorthand for a reactive `route.hash`"
|
|
1747
1755
|
},
|
|
1748
1756
|
{
|
|
1749
1757
|
"name": "useRouteParams",
|
|
@@ -1751,7 +1759,7 @@
|
|
|
1751
1759
|
"lastUpdated": 1657133143000,
|
|
1752
1760
|
"docs": "https://vueuse.org/router/useRouteParams/",
|
|
1753
1761
|
"category": "@Router",
|
|
1754
|
-
"description": "shorthand for reactive route.params"
|
|
1762
|
+
"description": "shorthand for a reactive `route.params`"
|
|
1755
1763
|
},
|
|
1756
1764
|
{
|
|
1757
1765
|
"name": "useRouteQuery",
|
|
@@ -1759,12 +1767,12 @@
|
|
|
1759
1767
|
"lastUpdated": 1649931974000,
|
|
1760
1768
|
"docs": "https://vueuse.org/router/useRouteQuery/",
|
|
1761
1769
|
"category": "@Router",
|
|
1762
|
-
"description": "shorthand for reactive route.query"
|
|
1770
|
+
"description": "shorthand for a reactive `route.query`"
|
|
1763
1771
|
},
|
|
1764
1772
|
{
|
|
1765
1773
|
"name": "useRTDB",
|
|
1766
1774
|
"package": "firebase",
|
|
1767
|
-
"lastUpdated":
|
|
1775
|
+
"lastUpdated": 1658645224000,
|
|
1768
1776
|
"docs": "https://vueuse.org/firebase/useRTDB/",
|
|
1769
1777
|
"category": "@Firebase",
|
|
1770
1778
|
"description": "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
|
|
@@ -1880,7 +1888,7 @@
|
|
|
1880
1888
|
{
|
|
1881
1889
|
"name": "useStorage",
|
|
1882
1890
|
"package": "core",
|
|
1883
|
-
"lastUpdated":
|
|
1891
|
+
"lastUpdated": 1658657648000,
|
|
1884
1892
|
"docs": "https://vueuse.org/core/useStorage/",
|
|
1885
1893
|
"category": "State",
|
|
1886
1894
|
"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)",
|
|
@@ -1917,7 +1925,7 @@
|
|
|
1917
1925
|
"lastUpdated": 1651595539000,
|
|
1918
1926
|
"docs": "https://vueuse.org/rxjs/useSubject/",
|
|
1919
1927
|
"category": "@RxJS",
|
|
1920
|
-
"description": "bind Subject to ref and propagate value changes both ways"
|
|
1928
|
+
"description": "bind an RxJS [`Subject`](https://rxjs.dev/guide/subject) to a `ref` and propagate value changes both ways"
|
|
1921
1929
|
},
|
|
1922
1930
|
{
|
|
1923
1931
|
"name": "useSubscription",
|
|
@@ -1925,7 +1933,7 @@
|
|
|
1925
1933
|
"lastUpdated": 1628521945000,
|
|
1926
1934
|
"docs": "https://vueuse.org/rxjs/useSubscription/",
|
|
1927
1935
|
"category": "@RxJS",
|
|
1928
|
-
"description": "
|
|
1936
|
+
"description": "use an RxJS [`Subscription`](https://rxjs.dev/guide/subscription) without worrying about unsubscribing from it or creating memory leaks"
|
|
1929
1937
|
},
|
|
1930
1938
|
{
|
|
1931
1939
|
"name": "useSum",
|
|
@@ -1967,6 +1975,14 @@
|
|
|
1967
1975
|
"category": "Browser",
|
|
1968
1976
|
"description": "automatically update the height of a textarea depending on the content"
|
|
1969
1977
|
},
|
|
1978
|
+
{
|
|
1979
|
+
"name": "useTextDirection",
|
|
1980
|
+
"package": "core",
|
|
1981
|
+
"lastUpdated": 1658657118000,
|
|
1982
|
+
"docs": "https://vueuse.org/core/useTextDirection/",
|
|
1983
|
+
"category": "Browser",
|
|
1984
|
+
"description": "reactive [dir](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) of the element's text"
|
|
1985
|
+
},
|
|
1970
1986
|
{
|
|
1971
1987
|
"name": "useTextSelection",
|
|
1972
1988
|
"package": "core",
|
|
@@ -2006,7 +2022,7 @@
|
|
|
2006
2022
|
"lastUpdated": 1658083596000,
|
|
2007
2023
|
"component": true,
|
|
2008
2024
|
"docs": "https://vueuse.org/core/useTimeAgo/",
|
|
2009
|
-
"category": "
|
|
2025
|
+
"category": "Time",
|
|
2010
2026
|
"description": "reactive time ago"
|
|
2011
2027
|
},
|
|
2012
2028
|
{
|
|
@@ -2050,6 +2066,14 @@
|
|
|
2050
2066
|
"category": "Browser",
|
|
2051
2067
|
"description": "reactive document title"
|
|
2052
2068
|
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "useToFixed",
|
|
2071
|
+
"package": "math",
|
|
2072
|
+
"lastUpdated": 1659101366000,
|
|
2073
|
+
"docs": "https://vueuse.org/math/useToFixed/",
|
|
2074
|
+
"category": "@Math",
|
|
2075
|
+
"description": "reactive `toFixed`"
|
|
2076
|
+
},
|
|
2053
2077
|
{
|
|
2054
2078
|
"name": "useToggle",
|
|
2055
2079
|
"package": "shared",
|
|
@@ -2163,7 +2187,7 @@
|
|
|
2163
2187
|
"package": "core",
|
|
2164
2188
|
"lastUpdated": 1647220329000,
|
|
2165
2189
|
"docs": "https://vueuse.org/core/useWebWorker/",
|
|
2166
|
-
"category": "
|
|
2190
|
+
"category": "Browser",
|
|
2167
2191
|
"description": "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
|
|
2168
2192
|
"related": [
|
|
2169
2193
|
"useWebWorkerFn"
|
|
@@ -2174,7 +2198,7 @@
|
|
|
2174
2198
|
"package": "core",
|
|
2175
2199
|
"lastUpdated": 1657730737000,
|
|
2176
2200
|
"docs": "https://vueuse.org/core/useWebWorkerFn/",
|
|
2177
|
-
"category": "
|
|
2201
|
+
"category": "Browser",
|
|
2178
2202
|
"description": "run expensive functions without blocking the UI",
|
|
2179
2203
|
"related": [
|
|
2180
2204
|
"useWebWorker"
|
|
@@ -2209,7 +2233,7 @@
|
|
|
2209
2233
|
{
|
|
2210
2234
|
"name": "useZoomFactor",
|
|
2211
2235
|
"package": "electron",
|
|
2212
|
-
"lastUpdated":
|
|
2236
|
+
"lastUpdated": 1658645224000,
|
|
2213
2237
|
"docs": "https://vueuse.org/electron/useZoomFactor/",
|
|
2214
2238
|
"category": "@Electron",
|
|
2215
2239
|
"description": "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom factor"
|
|
@@ -2217,7 +2241,7 @@
|
|
|
2217
2241
|
{
|
|
2218
2242
|
"name": "useZoomLevel",
|
|
2219
2243
|
"package": "electron",
|
|
2220
|
-
"lastUpdated":
|
|
2244
|
+
"lastUpdated": 1658645224000,
|
|
2221
2245
|
"docs": "https://vueuse.org/electron/useZoomLevel/",
|
|
2222
2246
|
"category": "@Electron",
|
|
2223
2247
|
"description": "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom level"
|
|
@@ -2315,7 +2339,7 @@
|
|
|
2315
2339
|
{
|
|
2316
2340
|
"name": "whenever",
|
|
2317
2341
|
"package": "shared",
|
|
2318
|
-
"lastUpdated":
|
|
2342
|
+
"lastUpdated": 1658645224000,
|
|
2319
2343
|
"docs": "https://vueuse.org/shared/whenever/",
|
|
2320
2344
|
"category": "Watch",
|
|
2321
2345
|
"description": "shorthand for watching value to be truthy"
|
package/index.mjs
CHANGED
|
@@ -133,11 +133,11 @@ var categories$1 = [
|
|
|
133
133
|
"Browser",
|
|
134
134
|
"Component",
|
|
135
135
|
"Elements",
|
|
136
|
-
"Misc",
|
|
137
136
|
"Network",
|
|
138
137
|
"Reactivity",
|
|
139
138
|
"Sensors",
|
|
140
139
|
"State",
|
|
140
|
+
"Time",
|
|
141
141
|
"Utilities",
|
|
142
142
|
"Watch",
|
|
143
143
|
"@Electron",
|
|
@@ -438,7 +438,7 @@ var functions$1 = [
|
|
|
438
438
|
{
|
|
439
439
|
name: "reactiveOmit",
|
|
440
440
|
"package": "shared",
|
|
441
|
-
lastUpdated:
|
|
441
|
+
lastUpdated: 1658645224000,
|
|
442
442
|
docs: "https://vueuse.org/shared/reactiveOmit/",
|
|
443
443
|
category: "Reactivity",
|
|
444
444
|
description: "reactively omit fields from a reactive object"
|
|
@@ -446,7 +446,7 @@ var functions$1 = [
|
|
|
446
446
|
{
|
|
447
447
|
name: "reactivePick",
|
|
448
448
|
"package": "shared",
|
|
449
|
-
lastUpdated:
|
|
449
|
+
lastUpdated: 1658645224000,
|
|
450
450
|
docs: "https://vueuse.org/shared/reactivePick/",
|
|
451
451
|
category: "Reactivity",
|
|
452
452
|
description: "reactively pick fields from a reactive object"
|
|
@@ -547,7 +547,7 @@ var functions$1 = [
|
|
|
547
547
|
{
|
|
548
548
|
name: "syncRef",
|
|
549
549
|
"package": "shared",
|
|
550
|
-
lastUpdated:
|
|
550
|
+
lastUpdated: 1658655180000,
|
|
551
551
|
docs: "https://vueuse.org/shared/syncRef/",
|
|
552
552
|
category: "Reactivity",
|
|
553
553
|
description: "two-way refs synchronization",
|
|
@@ -580,7 +580,7 @@ var functions$1 = [
|
|
|
580
580
|
lastUpdated: 1631130736000,
|
|
581
581
|
docs: "https://vueuse.org/rxjs/toObserver/",
|
|
582
582
|
category: "@RxJS",
|
|
583
|
-
description: "sugar function to convert a ref
|
|
583
|
+
description: "sugar function to convert a `ref` into an RxJS [Observer](https://rxjs.dev/guide/observer)"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
586
|
name: "toReactive",
|
|
@@ -674,7 +674,7 @@ var functions$1 = [
|
|
|
674
674
|
{
|
|
675
675
|
name: "useArrayEvery",
|
|
676
676
|
"package": "shared",
|
|
677
|
-
lastUpdated:
|
|
677
|
+
lastUpdated: 1658903741000,
|
|
678
678
|
docs: "https://vueuse.org/shared/useArrayEvery/",
|
|
679
679
|
category: "Array",
|
|
680
680
|
description: "reactive `Array.every`"
|
|
@@ -682,7 +682,7 @@ var functions$1 = [
|
|
|
682
682
|
{
|
|
683
683
|
name: "useArrayFilter",
|
|
684
684
|
"package": "shared",
|
|
685
|
-
lastUpdated:
|
|
685
|
+
lastUpdated: 1658903741000,
|
|
686
686
|
docs: "https://vueuse.org/shared/useArrayFilter/",
|
|
687
687
|
category: "Array",
|
|
688
688
|
description: "reactive `Array.filter`"
|
|
@@ -690,23 +690,31 @@ var functions$1 = [
|
|
|
690
690
|
{
|
|
691
691
|
name: "useArrayFind",
|
|
692
692
|
"package": "shared",
|
|
693
|
-
lastUpdated:
|
|
693
|
+
lastUpdated: 1658903741000,
|
|
694
694
|
docs: "https://vueuse.org/shared/useArrayFind/",
|
|
695
695
|
category: "Array",
|
|
696
696
|
description: "reactive `Array.find`"
|
|
697
697
|
},
|
|
698
|
+
{
|
|
699
|
+
name: "useArrayFindIndex",
|
|
700
|
+
"package": "shared",
|
|
701
|
+
lastUpdated: 1658903741000,
|
|
702
|
+
docs: "https://vueuse.org/shared/useArrayFindIndex/",
|
|
703
|
+
category: "Array",
|
|
704
|
+
description: "reactive `Array.findIndex`"
|
|
705
|
+
},
|
|
698
706
|
{
|
|
699
707
|
name: "useArrayJoin",
|
|
700
708
|
"package": "shared",
|
|
701
|
-
lastUpdated:
|
|
709
|
+
lastUpdated: 1658903741000,
|
|
702
710
|
docs: "https://vueuse.org/shared/useArrayJoin/",
|
|
703
|
-
category: "
|
|
711
|
+
category: "Array",
|
|
704
712
|
description: "reactive `Array.join`"
|
|
705
713
|
},
|
|
706
714
|
{
|
|
707
715
|
name: "useArrayMap",
|
|
708
716
|
"package": "shared",
|
|
709
|
-
lastUpdated:
|
|
717
|
+
lastUpdated: 1658903741000,
|
|
710
718
|
docs: "https://vueuse.org/shared/useArrayMap/",
|
|
711
719
|
category: "Array",
|
|
712
720
|
description: "reactive `Array.map`"
|
|
@@ -714,7 +722,7 @@ var functions$1 = [
|
|
|
714
722
|
{
|
|
715
723
|
name: "useArrayReduce",
|
|
716
724
|
"package": "shared",
|
|
717
|
-
lastUpdated:
|
|
725
|
+
lastUpdated: 1658903741000,
|
|
718
726
|
docs: "https://vueuse.org/shared/useArrayReduce/",
|
|
719
727
|
category: "Array",
|
|
720
728
|
description: "reactive `Array.reduce`"
|
|
@@ -722,7 +730,7 @@ var functions$1 = [
|
|
|
722
730
|
{
|
|
723
731
|
name: "useArraySome",
|
|
724
732
|
"package": "shared",
|
|
725
|
-
lastUpdated:
|
|
733
|
+
lastUpdated: 1658903741000,
|
|
726
734
|
docs: "https://vueuse.org/shared/useArraySome/",
|
|
727
735
|
category: "Array",
|
|
728
736
|
description: "reactive `Array.some`"
|
|
@@ -738,7 +746,7 @@ var functions$1 = [
|
|
|
738
746
|
{
|
|
739
747
|
name: "useAsyncState",
|
|
740
748
|
"package": "core",
|
|
741
|
-
lastUpdated:
|
|
749
|
+
lastUpdated: 1658656516000,
|
|
742
750
|
docs: "https://vueuse.org/core/useAsyncState/",
|
|
743
751
|
category: "State",
|
|
744
752
|
description: "reactive async state"
|
|
@@ -756,7 +764,7 @@ var functions$1 = [
|
|
|
756
764
|
{
|
|
757
765
|
name: "useAuth",
|
|
758
766
|
"package": "firebase",
|
|
759
|
-
lastUpdated:
|
|
767
|
+
lastUpdated: 1658645224000,
|
|
760
768
|
docs: "https://vueuse.org/firebase/useAuth/",
|
|
761
769
|
category: "@Firebase",
|
|
762
770
|
description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding",
|
|
@@ -873,7 +881,7 @@ var functions$1 = [
|
|
|
873
881
|
{
|
|
874
882
|
name: "useColorMode",
|
|
875
883
|
"package": "core",
|
|
876
|
-
lastUpdated:
|
|
884
|
+
lastUpdated: 1659105659000,
|
|
877
885
|
component: true,
|
|
878
886
|
docs: "https://vueuse.org/core/useColorMode/",
|
|
879
887
|
category: "Browser",
|
|
@@ -950,9 +958,9 @@ var functions$1 = [
|
|
|
950
958
|
{
|
|
951
959
|
name: "useDateFormat",
|
|
952
960
|
"package": "shared",
|
|
953
|
-
lastUpdated:
|
|
961
|
+
lastUpdated: 1659105614000,
|
|
954
962
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
955
|
-
category: "
|
|
963
|
+
category: "Time",
|
|
956
964
|
description: "get the formatted date according to the string of tokens passed in"
|
|
957
965
|
},
|
|
958
966
|
{
|
|
@@ -970,7 +978,7 @@ var functions$1 = [
|
|
|
970
978
|
{
|
|
971
979
|
name: "useDebounceFn",
|
|
972
980
|
"package": "shared",
|
|
973
|
-
lastUpdated:
|
|
981
|
+
lastUpdated: 1658645224000,
|
|
974
982
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
975
983
|
category: "Utilities",
|
|
976
984
|
description: "debounce execution of a function",
|
|
@@ -1167,7 +1175,7 @@ var functions$1 = [
|
|
|
1167
1175
|
{
|
|
1168
1176
|
name: "useFetch",
|
|
1169
1177
|
"package": "core",
|
|
1170
|
-
lastUpdated:
|
|
1178
|
+
lastUpdated: 1659105604000,
|
|
1171
1179
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1172
1180
|
category: "Network",
|
|
1173
1181
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1191,7 +1199,7 @@ var functions$1 = [
|
|
|
1191
1199
|
{
|
|
1192
1200
|
name: "useFirestore",
|
|
1193
1201
|
"package": "firebase",
|
|
1194
|
-
lastUpdated:
|
|
1202
|
+
lastUpdated: 1659105595000,
|
|
1195
1203
|
docs: "https://vueuse.org/firebase/useFirestore/",
|
|
1196
1204
|
category: "@Firebase",
|
|
1197
1205
|
description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding",
|
|
@@ -1320,7 +1328,7 @@ var functions$1 = [
|
|
|
1320
1328
|
{
|
|
1321
1329
|
name: "useInterval",
|
|
1322
1330
|
"package": "shared",
|
|
1323
|
-
lastUpdated:
|
|
1331
|
+
lastUpdated: 1658645224000,
|
|
1324
1332
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1325
1333
|
category: "Animation",
|
|
1326
1334
|
description: "reactive counter increases on every interval"
|
|
@@ -1336,15 +1344,15 @@ var functions$1 = [
|
|
|
1336
1344
|
{
|
|
1337
1345
|
name: "useIpcRenderer",
|
|
1338
1346
|
"package": "electron",
|
|
1339
|
-
lastUpdated:
|
|
1347
|
+
lastUpdated: 1658645224000,
|
|
1340
1348
|
docs: "https://vueuse.org/electron/useIpcRenderer/",
|
|
1341
1349
|
category: "@Electron",
|
|
1342
|
-
description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and
|
|
1350
|
+
description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and all of its APIs"
|
|
1343
1351
|
},
|
|
1344
1352
|
{
|
|
1345
1353
|
name: "useIpcRendererInvoke",
|
|
1346
1354
|
"package": "electron",
|
|
1347
|
-
lastUpdated:
|
|
1355
|
+
lastUpdated: 1658645224000,
|
|
1348
1356
|
docs: "https://vueuse.org/electron/useIpcRendererInvoke/",
|
|
1349
1357
|
category: "@Electron",
|
|
1350
1358
|
description: "reactive [ipcRenderer.invoke API](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererinvokechannel-args) result"
|
|
@@ -1352,7 +1360,7 @@ var functions$1 = [
|
|
|
1352
1360
|
{
|
|
1353
1361
|
name: "useIpcRendererOn",
|
|
1354
1362
|
"package": "electron",
|
|
1355
|
-
lastUpdated:
|
|
1363
|
+
lastUpdated: 1658645224000,
|
|
1356
1364
|
docs: "https://vueuse.org/electron/useIpcRendererOn/",
|
|
1357
1365
|
category: "@Electron",
|
|
1358
1366
|
description: "use [ipcRenderer.on](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendereronchannel-listener) with ease and [ipcRenderer.removeListener](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererremovelistenerchannel-listener) automatically on unmounted"
|
|
@@ -1379,7 +1387,7 @@ var functions$1 = [
|
|
|
1379
1387
|
"package": "shared",
|
|
1380
1388
|
lastUpdated: 1642756441000,
|
|
1381
1389
|
docs: "https://vueuse.org/shared/useLastChanged/",
|
|
1382
|
-
category: "
|
|
1390
|
+
category: "State",
|
|
1383
1391
|
description: "records the timestamp of the last change"
|
|
1384
1392
|
},
|
|
1385
1393
|
{
|
|
@@ -1561,7 +1569,7 @@ var functions$1 = [
|
|
|
1561
1569
|
{
|
|
1562
1570
|
name: "useNProgress",
|
|
1563
1571
|
"package": "integrations",
|
|
1564
|
-
lastUpdated:
|
|
1572
|
+
lastUpdated: 1658758826000,
|
|
1565
1573
|
docs: "https://vueuse.org/integrations/useNProgress/",
|
|
1566
1574
|
category: "@Integrations",
|
|
1567
1575
|
description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)",
|
|
@@ -1582,7 +1590,7 @@ var functions$1 = [
|
|
|
1582
1590
|
lastUpdated: 1651595539000,
|
|
1583
1591
|
docs: "https://vueuse.org/rxjs/useObservable/",
|
|
1584
1592
|
category: "@RxJS",
|
|
1585
|
-
description: "use an Observable"
|
|
1593
|
+
description: "use an RxJS [`Observable`](https://rxjs.dev/guide/observable)"
|
|
1586
1594
|
},
|
|
1587
1595
|
{
|
|
1588
1596
|
name: "useOffsetPagination",
|
|
@@ -1742,7 +1750,7 @@ var functions$1 = [
|
|
|
1742
1750
|
lastUpdated: 1639442454000,
|
|
1743
1751
|
docs: "https://vueuse.org/router/useRouteHash/",
|
|
1744
1752
|
category: "@Router",
|
|
1745
|
-
description: "shorthand for reactive route.hash"
|
|
1753
|
+
description: "shorthand for a reactive `route.hash`"
|
|
1746
1754
|
},
|
|
1747
1755
|
{
|
|
1748
1756
|
name: "useRouteParams",
|
|
@@ -1750,7 +1758,7 @@ var functions$1 = [
|
|
|
1750
1758
|
lastUpdated: 1657133143000,
|
|
1751
1759
|
docs: "https://vueuse.org/router/useRouteParams/",
|
|
1752
1760
|
category: "@Router",
|
|
1753
|
-
description: "shorthand for reactive route.params"
|
|
1761
|
+
description: "shorthand for a reactive `route.params`"
|
|
1754
1762
|
},
|
|
1755
1763
|
{
|
|
1756
1764
|
name: "useRouteQuery",
|
|
@@ -1758,12 +1766,12 @@ var functions$1 = [
|
|
|
1758
1766
|
lastUpdated: 1649931974000,
|
|
1759
1767
|
docs: "https://vueuse.org/router/useRouteQuery/",
|
|
1760
1768
|
category: "@Router",
|
|
1761
|
-
description: "shorthand for reactive route.query"
|
|
1769
|
+
description: "shorthand for a reactive `route.query`"
|
|
1762
1770
|
},
|
|
1763
1771
|
{
|
|
1764
1772
|
name: "useRTDB",
|
|
1765
1773
|
"package": "firebase",
|
|
1766
|
-
lastUpdated:
|
|
1774
|
+
lastUpdated: 1658645224000,
|
|
1767
1775
|
docs: "https://vueuse.org/firebase/useRTDB/",
|
|
1768
1776
|
category: "@Firebase",
|
|
1769
1777
|
description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
|
|
@@ -1879,7 +1887,7 @@ var functions$1 = [
|
|
|
1879
1887
|
{
|
|
1880
1888
|
name: "useStorage",
|
|
1881
1889
|
"package": "core",
|
|
1882
|
-
lastUpdated:
|
|
1890
|
+
lastUpdated: 1658657648000,
|
|
1883
1891
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1884
1892
|
category: "State",
|
|
1885
1893
|
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)",
|
|
@@ -1916,7 +1924,7 @@ var functions$1 = [
|
|
|
1916
1924
|
lastUpdated: 1651595539000,
|
|
1917
1925
|
docs: "https://vueuse.org/rxjs/useSubject/",
|
|
1918
1926
|
category: "@RxJS",
|
|
1919
|
-
description: "bind Subject to ref and propagate value changes both ways"
|
|
1927
|
+
description: "bind an RxJS [`Subject`](https://rxjs.dev/guide/subject) to a `ref` and propagate value changes both ways"
|
|
1920
1928
|
},
|
|
1921
1929
|
{
|
|
1922
1930
|
name: "useSubscription",
|
|
@@ -1924,7 +1932,7 @@ var functions$1 = [
|
|
|
1924
1932
|
lastUpdated: 1628521945000,
|
|
1925
1933
|
docs: "https://vueuse.org/rxjs/useSubscription/",
|
|
1926
1934
|
category: "@RxJS",
|
|
1927
|
-
description: "
|
|
1935
|
+
description: "use an RxJS [`Subscription`](https://rxjs.dev/guide/subscription) without worrying about unsubscribing from it or creating memory leaks"
|
|
1928
1936
|
},
|
|
1929
1937
|
{
|
|
1930
1938
|
name: "useSum",
|
|
@@ -1966,6 +1974,14 @@ var functions$1 = [
|
|
|
1966
1974
|
category: "Browser",
|
|
1967
1975
|
description: "automatically update the height of a textarea depending on the content"
|
|
1968
1976
|
},
|
|
1977
|
+
{
|
|
1978
|
+
name: "useTextDirection",
|
|
1979
|
+
"package": "core",
|
|
1980
|
+
lastUpdated: 1658657118000,
|
|
1981
|
+
docs: "https://vueuse.org/core/useTextDirection/",
|
|
1982
|
+
category: "Browser",
|
|
1983
|
+
description: "reactive [dir](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) of the element's text"
|
|
1984
|
+
},
|
|
1969
1985
|
{
|
|
1970
1986
|
name: "useTextSelection",
|
|
1971
1987
|
"package": "core",
|
|
@@ -2005,7 +2021,7 @@ var functions$1 = [
|
|
|
2005
2021
|
lastUpdated: 1658083596000,
|
|
2006
2022
|
component: true,
|
|
2007
2023
|
docs: "https://vueuse.org/core/useTimeAgo/",
|
|
2008
|
-
category: "
|
|
2024
|
+
category: "Time",
|
|
2009
2025
|
description: "reactive time ago"
|
|
2010
2026
|
},
|
|
2011
2027
|
{
|
|
@@ -2049,6 +2065,14 @@ var functions$1 = [
|
|
|
2049
2065
|
category: "Browser",
|
|
2050
2066
|
description: "reactive document title"
|
|
2051
2067
|
},
|
|
2068
|
+
{
|
|
2069
|
+
name: "useToFixed",
|
|
2070
|
+
"package": "math",
|
|
2071
|
+
lastUpdated: 1659101366000,
|
|
2072
|
+
docs: "https://vueuse.org/math/useToFixed/",
|
|
2073
|
+
category: "@Math",
|
|
2074
|
+
description: "reactive `toFixed`"
|
|
2075
|
+
},
|
|
2052
2076
|
{
|
|
2053
2077
|
name: "useToggle",
|
|
2054
2078
|
"package": "shared",
|
|
@@ -2162,7 +2186,7 @@ var functions$1 = [
|
|
|
2162
2186
|
"package": "core",
|
|
2163
2187
|
lastUpdated: 1647220329000,
|
|
2164
2188
|
docs: "https://vueuse.org/core/useWebWorker/",
|
|
2165
|
-
category: "
|
|
2189
|
+
category: "Browser",
|
|
2166
2190
|
description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
|
|
2167
2191
|
related: [
|
|
2168
2192
|
"useWebWorkerFn"
|
|
@@ -2173,7 +2197,7 @@ var functions$1 = [
|
|
|
2173
2197
|
"package": "core",
|
|
2174
2198
|
lastUpdated: 1657730737000,
|
|
2175
2199
|
docs: "https://vueuse.org/core/useWebWorkerFn/",
|
|
2176
|
-
category: "
|
|
2200
|
+
category: "Browser",
|
|
2177
2201
|
description: "run expensive functions without blocking the UI",
|
|
2178
2202
|
related: [
|
|
2179
2203
|
"useWebWorker"
|
|
@@ -2208,7 +2232,7 @@ var functions$1 = [
|
|
|
2208
2232
|
{
|
|
2209
2233
|
name: "useZoomFactor",
|
|
2210
2234
|
"package": "electron",
|
|
2211
|
-
lastUpdated:
|
|
2235
|
+
lastUpdated: 1658645224000,
|
|
2212
2236
|
docs: "https://vueuse.org/electron/useZoomFactor/",
|
|
2213
2237
|
category: "@Electron",
|
|
2214
2238
|
description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom factor"
|
|
@@ -2216,7 +2240,7 @@ var functions$1 = [
|
|
|
2216
2240
|
{
|
|
2217
2241
|
name: "useZoomLevel",
|
|
2218
2242
|
"package": "electron",
|
|
2219
|
-
lastUpdated:
|
|
2243
|
+
lastUpdated: 1658645224000,
|
|
2220
2244
|
docs: "https://vueuse.org/electron/useZoomLevel/",
|
|
2221
2245
|
category: "@Electron",
|
|
2222
2246
|
description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom level"
|
|
@@ -2314,7 +2338,7 @@ var functions$1 = [
|
|
|
2314
2338
|
{
|
|
2315
2339
|
name: "whenever",
|
|
2316
2340
|
"package": "shared",
|
|
2317
|
-
lastUpdated:
|
|
2341
|
+
lastUpdated: 1658645224000,
|
|
2318
2342
|
docs: "https://vueuse.org/shared/whenever/",
|
|
2319
2343
|
category: "Watch",
|
|
2320
2344
|
description: "shorthand for watching value to be truthy"
|
|
@@ -2337,8 +2361,8 @@ const categoriesOrder = [
|
|
|
2337
2361
|
"Watch",
|
|
2338
2362
|
"Reactivity",
|
|
2339
2363
|
"Array",
|
|
2340
|
-
"
|
|
2341
|
-
"
|
|
2364
|
+
"Time",
|
|
2365
|
+
"Utilities"
|
|
2342
2366
|
];
|
|
2343
2367
|
const metadata = _metadata;
|
|
2344
2368
|
const functions = functions$1;
|