@vueuse/metadata 9.0.1 → 9.1.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 +78 -31
- package/index.json +78 -31
- package/index.mjs +78 -31
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -108,11 +108,15 @@ var packages$1 = {
|
|
|
108
108
|
submodules: true,
|
|
109
109
|
external: [
|
|
110
110
|
"firebase",
|
|
111
|
-
"firebase/app"
|
|
111
|
+
"firebase/app",
|
|
112
|
+
"firebase/database",
|
|
113
|
+
"firebase/firestore"
|
|
112
114
|
],
|
|
113
115
|
globals: {
|
|
114
116
|
firebase: "firebase",
|
|
115
|
-
"firebase/app": "firebase"
|
|
117
|
+
"firebase/app": "firebase",
|
|
118
|
+
"firebase/database": "firebase",
|
|
119
|
+
"firebase/firestore": "firebase"
|
|
116
120
|
},
|
|
117
121
|
dir: "packages/firebase",
|
|
118
122
|
docs: "https://vueuse.org/firebase/README.html"
|
|
@@ -458,7 +462,7 @@ var functions$1 = [
|
|
|
458
462
|
{
|
|
459
463
|
name: "refAutoReset",
|
|
460
464
|
"package": "shared",
|
|
461
|
-
lastUpdated:
|
|
465
|
+
lastUpdated: 1660291797000,
|
|
462
466
|
docs: "https://vueuse.org/shared/refAutoReset/",
|
|
463
467
|
category: "Reactivity",
|
|
464
468
|
description: "a ref which will be reset to the default value after some time",
|
|
@@ -669,7 +673,7 @@ var functions$1 = [
|
|
|
669
673
|
{
|
|
670
674
|
name: "useActiveElement",
|
|
671
675
|
"package": "core",
|
|
672
|
-
lastUpdated:
|
|
676
|
+
lastUpdated: 1661239180000,
|
|
673
677
|
component: true,
|
|
674
678
|
docs: "https://vueuse.org/core/useActiveElement/",
|
|
675
679
|
category: "Elements",
|
|
@@ -678,7 +682,7 @@ var functions$1 = [
|
|
|
678
682
|
{
|
|
679
683
|
name: "useArrayEvery",
|
|
680
684
|
"package": "shared",
|
|
681
|
-
lastUpdated:
|
|
685
|
+
lastUpdated: 1660291797000,
|
|
682
686
|
docs: "https://vueuse.org/shared/useArrayEvery/",
|
|
683
687
|
category: "Array",
|
|
684
688
|
description: "reactive `Array.every`"
|
|
@@ -686,7 +690,7 @@ var functions$1 = [
|
|
|
686
690
|
{
|
|
687
691
|
name: "useArrayFilter",
|
|
688
692
|
"package": "shared",
|
|
689
|
-
lastUpdated:
|
|
693
|
+
lastUpdated: 1660291797000,
|
|
690
694
|
docs: "https://vueuse.org/shared/useArrayFilter/",
|
|
691
695
|
category: "Array",
|
|
692
696
|
description: "reactive `Array.filter`"
|
|
@@ -694,7 +698,7 @@ var functions$1 = [
|
|
|
694
698
|
{
|
|
695
699
|
name: "useArrayFind",
|
|
696
700
|
"package": "shared",
|
|
697
|
-
lastUpdated:
|
|
701
|
+
lastUpdated: 1660291797000,
|
|
698
702
|
docs: "https://vueuse.org/shared/useArrayFind/",
|
|
699
703
|
category: "Array",
|
|
700
704
|
description: "reactive `Array.find`"
|
|
@@ -702,7 +706,7 @@ var functions$1 = [
|
|
|
702
706
|
{
|
|
703
707
|
name: "useArrayFindIndex",
|
|
704
708
|
"package": "shared",
|
|
705
|
-
lastUpdated:
|
|
709
|
+
lastUpdated: 1660291797000,
|
|
706
710
|
docs: "https://vueuse.org/shared/useArrayFindIndex/",
|
|
707
711
|
category: "Array",
|
|
708
712
|
description: "reactive `Array.findIndex`"
|
|
@@ -710,7 +714,7 @@ var functions$1 = [
|
|
|
710
714
|
{
|
|
711
715
|
name: "useArrayJoin",
|
|
712
716
|
"package": "shared",
|
|
713
|
-
lastUpdated:
|
|
717
|
+
lastUpdated: 1660291797000,
|
|
714
718
|
docs: "https://vueuse.org/shared/useArrayJoin/",
|
|
715
719
|
category: "Array",
|
|
716
720
|
description: "reactive `Array.join`"
|
|
@@ -718,7 +722,7 @@ var functions$1 = [
|
|
|
718
722
|
{
|
|
719
723
|
name: "useArrayMap",
|
|
720
724
|
"package": "shared",
|
|
721
|
-
lastUpdated:
|
|
725
|
+
lastUpdated: 1660291797000,
|
|
722
726
|
docs: "https://vueuse.org/shared/useArrayMap/",
|
|
723
727
|
category: "Array",
|
|
724
728
|
description: "reactive `Array.map`"
|
|
@@ -726,7 +730,7 @@ var functions$1 = [
|
|
|
726
730
|
{
|
|
727
731
|
name: "useArrayReduce",
|
|
728
732
|
"package": "shared",
|
|
729
|
-
lastUpdated:
|
|
733
|
+
lastUpdated: 1660291797000,
|
|
730
734
|
docs: "https://vueuse.org/shared/useArrayReduce/",
|
|
731
735
|
category: "Array",
|
|
732
736
|
description: "reactive `Array.reduce`"
|
|
@@ -734,7 +738,7 @@ var functions$1 = [
|
|
|
734
738
|
{
|
|
735
739
|
name: "useArraySome",
|
|
736
740
|
"package": "shared",
|
|
737
|
-
lastUpdated:
|
|
741
|
+
lastUpdated: 1660291797000,
|
|
738
742
|
docs: "https://vueuse.org/shared/useArraySome/",
|
|
739
743
|
category: "Array",
|
|
740
744
|
description: "reactive `Array.some`"
|
|
@@ -932,7 +936,7 @@ var functions$1 = [
|
|
|
932
936
|
{
|
|
933
937
|
name: "useCurrentElement",
|
|
934
938
|
"package": "core",
|
|
935
|
-
lastUpdated:
|
|
939
|
+
lastUpdated: 1661239180000,
|
|
936
940
|
docs: "https://vueuse.org/core/useCurrentElement/",
|
|
937
941
|
category: "Component",
|
|
938
942
|
description: "get the DOM element of current component as a ref"
|
|
@@ -940,7 +944,7 @@ var functions$1 = [
|
|
|
940
944
|
{
|
|
941
945
|
name: "useCycleList",
|
|
942
946
|
"package": "core",
|
|
943
|
-
lastUpdated:
|
|
947
|
+
lastUpdated: 1659556886000,
|
|
944
948
|
docs: "https://vueuse.org/core/useCycleList/",
|
|
945
949
|
category: "Utilities",
|
|
946
950
|
description: "cycle through a list of items"
|
|
@@ -962,7 +966,7 @@ var functions$1 = [
|
|
|
962
966
|
{
|
|
963
967
|
name: "useDateFormat",
|
|
964
968
|
"package": "shared",
|
|
965
|
-
lastUpdated:
|
|
969
|
+
lastUpdated: 1660291797000,
|
|
966
970
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
967
971
|
category: "Time",
|
|
968
972
|
description: "get the formatted date according to the string of tokens passed in"
|
|
@@ -982,7 +986,7 @@ var functions$1 = [
|
|
|
982
986
|
{
|
|
983
987
|
name: "useDebounceFn",
|
|
984
988
|
"package": "shared",
|
|
985
|
-
lastUpdated:
|
|
989
|
+
lastUpdated: 1660291797000,
|
|
986
990
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
987
991
|
category: "Utilities",
|
|
988
992
|
description: "debounce execution of a function",
|
|
@@ -1095,7 +1099,7 @@ var functions$1 = [
|
|
|
1095
1099
|
{
|
|
1096
1100
|
name: "useElementHover",
|
|
1097
1101
|
"package": "core",
|
|
1098
|
-
lastUpdated:
|
|
1102
|
+
lastUpdated: 1660290815000,
|
|
1099
1103
|
directive: true,
|
|
1100
1104
|
docs: "https://vueuse.org/core/useElementHover/",
|
|
1101
1105
|
category: "Sensors",
|
|
@@ -1171,7 +1175,7 @@ var functions$1 = [
|
|
|
1171
1175
|
{
|
|
1172
1176
|
name: "useFavicon",
|
|
1173
1177
|
"package": "core",
|
|
1174
|
-
lastUpdated:
|
|
1178
|
+
lastUpdated: 1659585871000,
|
|
1175
1179
|
docs: "https://vueuse.org/core/useFavicon/",
|
|
1176
1180
|
category: "Browser",
|
|
1177
1181
|
description: "reactive favicon"
|
|
@@ -1332,7 +1336,7 @@ var functions$1 = [
|
|
|
1332
1336
|
{
|
|
1333
1337
|
name: "useInterval",
|
|
1334
1338
|
"package": "shared",
|
|
1335
|
-
lastUpdated:
|
|
1339
|
+
lastUpdated: 1660751262000,
|
|
1336
1340
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1337
1341
|
category: "Animation",
|
|
1338
1342
|
description: "reactive counter increases on every interval"
|
|
@@ -1340,7 +1344,7 @@ var functions$1 = [
|
|
|
1340
1344
|
{
|
|
1341
1345
|
name: "useIntervalFn",
|
|
1342
1346
|
"package": "shared",
|
|
1343
|
-
lastUpdated:
|
|
1347
|
+
lastUpdated: 1659611339000,
|
|
1344
1348
|
docs: "https://vueuse.org/shared/useIntervalFn/",
|
|
1345
1349
|
category: "Animation",
|
|
1346
1350
|
description: "wrapper for `setInterval` with controls"
|
|
@@ -1416,7 +1420,7 @@ var functions$1 = [
|
|
|
1416
1420
|
{
|
|
1417
1421
|
name: "useManualRefHistory",
|
|
1418
1422
|
"package": "core",
|
|
1419
|
-
lastUpdated:
|
|
1423
|
+
lastUpdated: 1660751262000,
|
|
1420
1424
|
docs: "https://vueuse.org/core/useManualRefHistory/",
|
|
1421
1425
|
category: "State",
|
|
1422
1426
|
description: "manually track the change history of a ref when the using calls `commit()`",
|
|
@@ -1599,7 +1603,7 @@ var functions$1 = [
|
|
|
1599
1603
|
{
|
|
1600
1604
|
name: "useOffsetPagination",
|
|
1601
1605
|
"package": "core",
|
|
1602
|
-
lastUpdated:
|
|
1606
|
+
lastUpdated: 1659592690000,
|
|
1603
1607
|
component: true,
|
|
1604
1608
|
docs: "https://vueuse.org/core/useOffsetPagination/",
|
|
1605
1609
|
category: "Utilities",
|
|
@@ -1659,6 +1663,14 @@ var functions$1 = [
|
|
|
1659
1663
|
category: "Sensors",
|
|
1660
1664
|
description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
|
|
1661
1665
|
},
|
|
1666
|
+
{
|
|
1667
|
+
name: "usePrecision",
|
|
1668
|
+
"package": "math",
|
|
1669
|
+
lastUpdated: 1659586173000,
|
|
1670
|
+
docs: "https://vueuse.org/math/usePrecision/",
|
|
1671
|
+
category: "@Math",
|
|
1672
|
+
description: "reactively set the precision of a number"
|
|
1673
|
+
},
|
|
1662
1674
|
{
|
|
1663
1675
|
name: "usePreferredColorScheme",
|
|
1664
1676
|
"package": "core",
|
|
@@ -1668,6 +1680,15 @@ var functions$1 = [
|
|
|
1668
1680
|
category: "Browser",
|
|
1669
1681
|
description: "reactive [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query"
|
|
1670
1682
|
},
|
|
1683
|
+
{
|
|
1684
|
+
name: "usePreferredContrast",
|
|
1685
|
+
"package": "core",
|
|
1686
|
+
lastUpdated: 1661240113000,
|
|
1687
|
+
component: true,
|
|
1688
|
+
docs: "https://vueuse.org/core/usePreferredContrast/",
|
|
1689
|
+
category: "Browser",
|
|
1690
|
+
description: "reactive [prefers-contrast](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast) media query"
|
|
1691
|
+
},
|
|
1671
1692
|
{
|
|
1672
1693
|
name: "usePreferredDark",
|
|
1673
1694
|
"package": "core",
|
|
@@ -1690,6 +1711,15 @@ var functions$1 = [
|
|
|
1690
1711
|
category: "Browser",
|
|
1691
1712
|
description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
|
|
1692
1713
|
},
|
|
1714
|
+
{
|
|
1715
|
+
name: "usePreferredReducedMotion",
|
|
1716
|
+
"package": "core",
|
|
1717
|
+
lastUpdated: 1659593252000,
|
|
1718
|
+
component: true,
|
|
1719
|
+
docs: "https://vueuse.org/core/usePreferredReducedMotion/",
|
|
1720
|
+
category: "Browser",
|
|
1721
|
+
description: "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
|
|
1722
|
+
},
|
|
1693
1723
|
{
|
|
1694
1724
|
name: "useProjection",
|
|
1695
1725
|
"package": "math",
|
|
@@ -1722,7 +1752,7 @@ var functions$1 = [
|
|
|
1722
1752
|
{
|
|
1723
1753
|
name: "useRefHistory",
|
|
1724
1754
|
"package": "core",
|
|
1725
|
-
lastUpdated:
|
|
1755
|
+
lastUpdated: 1660751262000,
|
|
1726
1756
|
docs: "https://vueuse.org/core/useRefHistory/",
|
|
1727
1757
|
category: "State",
|
|
1728
1758
|
description: "track the change history of a ref",
|
|
@@ -1808,7 +1838,7 @@ var functions$1 = [
|
|
|
1808
1838
|
{
|
|
1809
1839
|
name: "useScriptTag",
|
|
1810
1840
|
"package": "core",
|
|
1811
|
-
lastUpdated:
|
|
1841
|
+
lastUpdated: 1659556839000,
|
|
1812
1842
|
docs: "https://vueuse.org/core/useScriptTag/",
|
|
1813
1843
|
category: "Browser",
|
|
1814
1844
|
description: "script tag injecting"
|
|
@@ -1816,7 +1846,7 @@ var functions$1 = [
|
|
|
1816
1846
|
{
|
|
1817
1847
|
name: "useScroll",
|
|
1818
1848
|
"package": "core",
|
|
1819
|
-
lastUpdated:
|
|
1849
|
+
lastUpdated: 1659805128000,
|
|
1820
1850
|
directive: true,
|
|
1821
1851
|
docs: "https://vueuse.org/core/useScroll/",
|
|
1822
1852
|
category: "Sensors",
|
|
@@ -2031,7 +2061,7 @@ var functions$1 = [
|
|
|
2031
2061
|
{
|
|
2032
2062
|
name: "useTimeout",
|
|
2033
2063
|
"package": "shared",
|
|
2034
|
-
lastUpdated:
|
|
2064
|
+
lastUpdated: 1660751262000,
|
|
2035
2065
|
docs: "https://vueuse.org/shared/useTimeout/",
|
|
2036
2066
|
category: "Animation",
|
|
2037
2067
|
description: "update value after a given time with controls"
|
|
@@ -2039,7 +2069,7 @@ var functions$1 = [
|
|
|
2039
2069
|
{
|
|
2040
2070
|
name: "useTimeoutFn",
|
|
2041
2071
|
"package": "shared",
|
|
2042
|
-
lastUpdated:
|
|
2072
|
+
lastUpdated: 1660751262000,
|
|
2043
2073
|
docs: "https://vueuse.org/shared/useTimeoutFn/",
|
|
2044
2074
|
category: "Animation",
|
|
2045
2075
|
description: "wrapper for `setTimeout` with controls"
|
|
@@ -2072,10 +2102,11 @@ var functions$1 = [
|
|
|
2072
2102
|
{
|
|
2073
2103
|
name: "useToFixed",
|
|
2074
2104
|
"package": "math",
|
|
2075
|
-
lastUpdated:
|
|
2105
|
+
lastUpdated: 1659586610000,
|
|
2076
2106
|
docs: "https://vueuse.org/math/useToFixed/",
|
|
2077
2107
|
category: "@Math",
|
|
2078
|
-
description: "reactive `toFixed`"
|
|
2108
|
+
description: "reactive `toFixed`",
|
|
2109
|
+
deprecated: true
|
|
2079
2110
|
},
|
|
2080
2111
|
{
|
|
2081
2112
|
name: "useToggle",
|
|
@@ -2085,10 +2116,26 @@ var functions$1 = [
|
|
|
2085
2116
|
category: "Utilities",
|
|
2086
2117
|
description: "a boolean switcher with utility functions"
|
|
2087
2118
|
},
|
|
2119
|
+
{
|
|
2120
|
+
name: "useToNumber",
|
|
2121
|
+
"package": "shared",
|
|
2122
|
+
lastUpdated: 1659592336000,
|
|
2123
|
+
docs: "https://vueuse.org/shared/useToNumber/",
|
|
2124
|
+
category: "Utilities",
|
|
2125
|
+
description: "reactively convert a string ref to number"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
name: "useToString",
|
|
2129
|
+
"package": "shared",
|
|
2130
|
+
lastUpdated: 1659592531000,
|
|
2131
|
+
docs: "https://vueuse.org/shared/useToString/",
|
|
2132
|
+
category: "Utilities",
|
|
2133
|
+
description: "reactively convert a ref to string"
|
|
2134
|
+
},
|
|
2088
2135
|
{
|
|
2089
2136
|
name: "useTransition",
|
|
2090
2137
|
"package": "core",
|
|
2091
|
-
lastUpdated:
|
|
2138
|
+
lastUpdated: 1660293053000,
|
|
2092
2139
|
docs: "https://vueuse.org/core/useTransition/",
|
|
2093
2140
|
category: "Animation",
|
|
2094
2141
|
description: "transition between values"
|
|
@@ -2104,7 +2151,7 @@ var functions$1 = [
|
|
|
2104
2151
|
{
|
|
2105
2152
|
name: "useUrlSearchParams",
|
|
2106
2153
|
"package": "core",
|
|
2107
|
-
lastUpdated:
|
|
2154
|
+
lastUpdated: 1660065668000,
|
|
2108
2155
|
docs: "https://vueuse.org/core/useUrlSearchParams/",
|
|
2109
2156
|
category: "Browser",
|
|
2110
2157
|
description: "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|
package/index.json
CHANGED
|
@@ -105,11 +105,15 @@
|
|
|
105
105
|
"submodules": true,
|
|
106
106
|
"external": [
|
|
107
107
|
"firebase",
|
|
108
|
-
"firebase/app"
|
|
108
|
+
"firebase/app",
|
|
109
|
+
"firebase/database",
|
|
110
|
+
"firebase/firestore"
|
|
109
111
|
],
|
|
110
112
|
"globals": {
|
|
111
113
|
"firebase": "firebase",
|
|
112
|
-
"firebase/app": "firebase"
|
|
114
|
+
"firebase/app": "firebase",
|
|
115
|
+
"firebase/database": "firebase",
|
|
116
|
+
"firebase/firestore": "firebase"
|
|
113
117
|
},
|
|
114
118
|
"dir": "packages/firebase",
|
|
115
119
|
"docs": "https://vueuse.org/firebase/README.html"
|
|
@@ -455,7 +459,7 @@
|
|
|
455
459
|
{
|
|
456
460
|
"name": "refAutoReset",
|
|
457
461
|
"package": "shared",
|
|
458
|
-
"lastUpdated":
|
|
462
|
+
"lastUpdated": 1660291797000,
|
|
459
463
|
"docs": "https://vueuse.org/shared/refAutoReset/",
|
|
460
464
|
"category": "Reactivity",
|
|
461
465
|
"description": "a ref which will be reset to the default value after some time",
|
|
@@ -666,7 +670,7 @@
|
|
|
666
670
|
{
|
|
667
671
|
"name": "useActiveElement",
|
|
668
672
|
"package": "core",
|
|
669
|
-
"lastUpdated":
|
|
673
|
+
"lastUpdated": 1661239180000,
|
|
670
674
|
"component": true,
|
|
671
675
|
"docs": "https://vueuse.org/core/useActiveElement/",
|
|
672
676
|
"category": "Elements",
|
|
@@ -675,7 +679,7 @@
|
|
|
675
679
|
{
|
|
676
680
|
"name": "useArrayEvery",
|
|
677
681
|
"package": "shared",
|
|
678
|
-
"lastUpdated":
|
|
682
|
+
"lastUpdated": 1660291797000,
|
|
679
683
|
"docs": "https://vueuse.org/shared/useArrayEvery/",
|
|
680
684
|
"category": "Array",
|
|
681
685
|
"description": "reactive `Array.every`"
|
|
@@ -683,7 +687,7 @@
|
|
|
683
687
|
{
|
|
684
688
|
"name": "useArrayFilter",
|
|
685
689
|
"package": "shared",
|
|
686
|
-
"lastUpdated":
|
|
690
|
+
"lastUpdated": 1660291797000,
|
|
687
691
|
"docs": "https://vueuse.org/shared/useArrayFilter/",
|
|
688
692
|
"category": "Array",
|
|
689
693
|
"description": "reactive `Array.filter`"
|
|
@@ -691,7 +695,7 @@
|
|
|
691
695
|
{
|
|
692
696
|
"name": "useArrayFind",
|
|
693
697
|
"package": "shared",
|
|
694
|
-
"lastUpdated":
|
|
698
|
+
"lastUpdated": 1660291797000,
|
|
695
699
|
"docs": "https://vueuse.org/shared/useArrayFind/",
|
|
696
700
|
"category": "Array",
|
|
697
701
|
"description": "reactive `Array.find`"
|
|
@@ -699,7 +703,7 @@
|
|
|
699
703
|
{
|
|
700
704
|
"name": "useArrayFindIndex",
|
|
701
705
|
"package": "shared",
|
|
702
|
-
"lastUpdated":
|
|
706
|
+
"lastUpdated": 1660291797000,
|
|
703
707
|
"docs": "https://vueuse.org/shared/useArrayFindIndex/",
|
|
704
708
|
"category": "Array",
|
|
705
709
|
"description": "reactive `Array.findIndex`"
|
|
@@ -707,7 +711,7 @@
|
|
|
707
711
|
{
|
|
708
712
|
"name": "useArrayJoin",
|
|
709
713
|
"package": "shared",
|
|
710
|
-
"lastUpdated":
|
|
714
|
+
"lastUpdated": 1660291797000,
|
|
711
715
|
"docs": "https://vueuse.org/shared/useArrayJoin/",
|
|
712
716
|
"category": "Array",
|
|
713
717
|
"description": "reactive `Array.join`"
|
|
@@ -715,7 +719,7 @@
|
|
|
715
719
|
{
|
|
716
720
|
"name": "useArrayMap",
|
|
717
721
|
"package": "shared",
|
|
718
|
-
"lastUpdated":
|
|
722
|
+
"lastUpdated": 1660291797000,
|
|
719
723
|
"docs": "https://vueuse.org/shared/useArrayMap/",
|
|
720
724
|
"category": "Array",
|
|
721
725
|
"description": "reactive `Array.map`"
|
|
@@ -723,7 +727,7 @@
|
|
|
723
727
|
{
|
|
724
728
|
"name": "useArrayReduce",
|
|
725
729
|
"package": "shared",
|
|
726
|
-
"lastUpdated":
|
|
730
|
+
"lastUpdated": 1660291797000,
|
|
727
731
|
"docs": "https://vueuse.org/shared/useArrayReduce/",
|
|
728
732
|
"category": "Array",
|
|
729
733
|
"description": "reactive `Array.reduce`"
|
|
@@ -731,7 +735,7 @@
|
|
|
731
735
|
{
|
|
732
736
|
"name": "useArraySome",
|
|
733
737
|
"package": "shared",
|
|
734
|
-
"lastUpdated":
|
|
738
|
+
"lastUpdated": 1660291797000,
|
|
735
739
|
"docs": "https://vueuse.org/shared/useArraySome/",
|
|
736
740
|
"category": "Array",
|
|
737
741
|
"description": "reactive `Array.some`"
|
|
@@ -929,7 +933,7 @@
|
|
|
929
933
|
{
|
|
930
934
|
"name": "useCurrentElement",
|
|
931
935
|
"package": "core",
|
|
932
|
-
"lastUpdated":
|
|
936
|
+
"lastUpdated": 1661239180000,
|
|
933
937
|
"docs": "https://vueuse.org/core/useCurrentElement/",
|
|
934
938
|
"category": "Component",
|
|
935
939
|
"description": "get the DOM element of current component as a ref"
|
|
@@ -937,7 +941,7 @@
|
|
|
937
941
|
{
|
|
938
942
|
"name": "useCycleList",
|
|
939
943
|
"package": "core",
|
|
940
|
-
"lastUpdated":
|
|
944
|
+
"lastUpdated": 1659556886000,
|
|
941
945
|
"docs": "https://vueuse.org/core/useCycleList/",
|
|
942
946
|
"category": "Utilities",
|
|
943
947
|
"description": "cycle through a list of items"
|
|
@@ -959,7 +963,7 @@
|
|
|
959
963
|
{
|
|
960
964
|
"name": "useDateFormat",
|
|
961
965
|
"package": "shared",
|
|
962
|
-
"lastUpdated":
|
|
966
|
+
"lastUpdated": 1660291797000,
|
|
963
967
|
"docs": "https://vueuse.org/shared/useDateFormat/",
|
|
964
968
|
"category": "Time",
|
|
965
969
|
"description": "get the formatted date according to the string of tokens passed in"
|
|
@@ -979,7 +983,7 @@
|
|
|
979
983
|
{
|
|
980
984
|
"name": "useDebounceFn",
|
|
981
985
|
"package": "shared",
|
|
982
|
-
"lastUpdated":
|
|
986
|
+
"lastUpdated": 1660291797000,
|
|
983
987
|
"docs": "https://vueuse.org/shared/useDebounceFn/",
|
|
984
988
|
"category": "Utilities",
|
|
985
989
|
"description": "debounce execution of a function",
|
|
@@ -1092,7 +1096,7 @@
|
|
|
1092
1096
|
{
|
|
1093
1097
|
"name": "useElementHover",
|
|
1094
1098
|
"package": "core",
|
|
1095
|
-
"lastUpdated":
|
|
1099
|
+
"lastUpdated": 1660290815000,
|
|
1096
1100
|
"directive": true,
|
|
1097
1101
|
"docs": "https://vueuse.org/core/useElementHover/",
|
|
1098
1102
|
"category": "Sensors",
|
|
@@ -1168,7 +1172,7 @@
|
|
|
1168
1172
|
{
|
|
1169
1173
|
"name": "useFavicon",
|
|
1170
1174
|
"package": "core",
|
|
1171
|
-
"lastUpdated":
|
|
1175
|
+
"lastUpdated": 1659585871000,
|
|
1172
1176
|
"docs": "https://vueuse.org/core/useFavicon/",
|
|
1173
1177
|
"category": "Browser",
|
|
1174
1178
|
"description": "reactive favicon"
|
|
@@ -1329,7 +1333,7 @@
|
|
|
1329
1333
|
{
|
|
1330
1334
|
"name": "useInterval",
|
|
1331
1335
|
"package": "shared",
|
|
1332
|
-
"lastUpdated":
|
|
1336
|
+
"lastUpdated": 1660751262000,
|
|
1333
1337
|
"docs": "https://vueuse.org/shared/useInterval/",
|
|
1334
1338
|
"category": "Animation",
|
|
1335
1339
|
"description": "reactive counter increases on every interval"
|
|
@@ -1337,7 +1341,7 @@
|
|
|
1337
1341
|
{
|
|
1338
1342
|
"name": "useIntervalFn",
|
|
1339
1343
|
"package": "shared",
|
|
1340
|
-
"lastUpdated":
|
|
1344
|
+
"lastUpdated": 1659611339000,
|
|
1341
1345
|
"docs": "https://vueuse.org/shared/useIntervalFn/",
|
|
1342
1346
|
"category": "Animation",
|
|
1343
1347
|
"description": "wrapper for `setInterval` with controls"
|
|
@@ -1413,7 +1417,7 @@
|
|
|
1413
1417
|
{
|
|
1414
1418
|
"name": "useManualRefHistory",
|
|
1415
1419
|
"package": "core",
|
|
1416
|
-
"lastUpdated":
|
|
1420
|
+
"lastUpdated": 1660751262000,
|
|
1417
1421
|
"docs": "https://vueuse.org/core/useManualRefHistory/",
|
|
1418
1422
|
"category": "State",
|
|
1419
1423
|
"description": "manually track the change history of a ref when the using calls `commit()`",
|
|
@@ -1596,7 +1600,7 @@
|
|
|
1596
1600
|
{
|
|
1597
1601
|
"name": "useOffsetPagination",
|
|
1598
1602
|
"package": "core",
|
|
1599
|
-
"lastUpdated":
|
|
1603
|
+
"lastUpdated": 1659592690000,
|
|
1600
1604
|
"component": true,
|
|
1601
1605
|
"docs": "https://vueuse.org/core/useOffsetPagination/",
|
|
1602
1606
|
"category": "Utilities",
|
|
@@ -1656,6 +1660,14 @@
|
|
|
1656
1660
|
"category": "Sensors",
|
|
1657
1661
|
"description": "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
|
|
1658
1662
|
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "usePrecision",
|
|
1665
|
+
"package": "math",
|
|
1666
|
+
"lastUpdated": 1659586173000,
|
|
1667
|
+
"docs": "https://vueuse.org/math/usePrecision/",
|
|
1668
|
+
"category": "@Math",
|
|
1669
|
+
"description": "reactively set the precision of a number"
|
|
1670
|
+
},
|
|
1659
1671
|
{
|
|
1660
1672
|
"name": "usePreferredColorScheme",
|
|
1661
1673
|
"package": "core",
|
|
@@ -1665,6 +1677,15 @@
|
|
|
1665
1677
|
"category": "Browser",
|
|
1666
1678
|
"description": "reactive [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query"
|
|
1667
1679
|
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "usePreferredContrast",
|
|
1682
|
+
"package": "core",
|
|
1683
|
+
"lastUpdated": 1661240113000,
|
|
1684
|
+
"component": true,
|
|
1685
|
+
"docs": "https://vueuse.org/core/usePreferredContrast/",
|
|
1686
|
+
"category": "Browser",
|
|
1687
|
+
"description": "reactive [prefers-contrast](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast) media query"
|
|
1688
|
+
},
|
|
1668
1689
|
{
|
|
1669
1690
|
"name": "usePreferredDark",
|
|
1670
1691
|
"package": "core",
|
|
@@ -1687,6 +1708,15 @@
|
|
|
1687
1708
|
"category": "Browser",
|
|
1688
1709
|
"description": "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
|
|
1689
1710
|
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "usePreferredReducedMotion",
|
|
1713
|
+
"package": "core",
|
|
1714
|
+
"lastUpdated": 1659593252000,
|
|
1715
|
+
"component": true,
|
|
1716
|
+
"docs": "https://vueuse.org/core/usePreferredReducedMotion/",
|
|
1717
|
+
"category": "Browser",
|
|
1718
|
+
"description": "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
|
|
1719
|
+
},
|
|
1690
1720
|
{
|
|
1691
1721
|
"name": "useProjection",
|
|
1692
1722
|
"package": "math",
|
|
@@ -1719,7 +1749,7 @@
|
|
|
1719
1749
|
{
|
|
1720
1750
|
"name": "useRefHistory",
|
|
1721
1751
|
"package": "core",
|
|
1722
|
-
"lastUpdated":
|
|
1752
|
+
"lastUpdated": 1660751262000,
|
|
1723
1753
|
"docs": "https://vueuse.org/core/useRefHistory/",
|
|
1724
1754
|
"category": "State",
|
|
1725
1755
|
"description": "track the change history of a ref",
|
|
@@ -1805,7 +1835,7 @@
|
|
|
1805
1835
|
{
|
|
1806
1836
|
"name": "useScriptTag",
|
|
1807
1837
|
"package": "core",
|
|
1808
|
-
"lastUpdated":
|
|
1838
|
+
"lastUpdated": 1659556839000,
|
|
1809
1839
|
"docs": "https://vueuse.org/core/useScriptTag/",
|
|
1810
1840
|
"category": "Browser",
|
|
1811
1841
|
"description": "script tag injecting"
|
|
@@ -1813,7 +1843,7 @@
|
|
|
1813
1843
|
{
|
|
1814
1844
|
"name": "useScroll",
|
|
1815
1845
|
"package": "core",
|
|
1816
|
-
"lastUpdated":
|
|
1846
|
+
"lastUpdated": 1659805128000,
|
|
1817
1847
|
"directive": true,
|
|
1818
1848
|
"docs": "https://vueuse.org/core/useScroll/",
|
|
1819
1849
|
"category": "Sensors",
|
|
@@ -2028,7 +2058,7 @@
|
|
|
2028
2058
|
{
|
|
2029
2059
|
"name": "useTimeout",
|
|
2030
2060
|
"package": "shared",
|
|
2031
|
-
"lastUpdated":
|
|
2061
|
+
"lastUpdated": 1660751262000,
|
|
2032
2062
|
"docs": "https://vueuse.org/shared/useTimeout/",
|
|
2033
2063
|
"category": "Animation",
|
|
2034
2064
|
"description": "update value after a given time with controls"
|
|
@@ -2036,7 +2066,7 @@
|
|
|
2036
2066
|
{
|
|
2037
2067
|
"name": "useTimeoutFn",
|
|
2038
2068
|
"package": "shared",
|
|
2039
|
-
"lastUpdated":
|
|
2069
|
+
"lastUpdated": 1660751262000,
|
|
2040
2070
|
"docs": "https://vueuse.org/shared/useTimeoutFn/",
|
|
2041
2071
|
"category": "Animation",
|
|
2042
2072
|
"description": "wrapper for `setTimeout` with controls"
|
|
@@ -2069,10 +2099,11 @@
|
|
|
2069
2099
|
{
|
|
2070
2100
|
"name": "useToFixed",
|
|
2071
2101
|
"package": "math",
|
|
2072
|
-
"lastUpdated":
|
|
2102
|
+
"lastUpdated": 1659586610000,
|
|
2073
2103
|
"docs": "https://vueuse.org/math/useToFixed/",
|
|
2074
2104
|
"category": "@Math",
|
|
2075
|
-
"description": "reactive `toFixed`"
|
|
2105
|
+
"description": "reactive `toFixed`",
|
|
2106
|
+
"deprecated": true
|
|
2076
2107
|
},
|
|
2077
2108
|
{
|
|
2078
2109
|
"name": "useToggle",
|
|
@@ -2082,10 +2113,26 @@
|
|
|
2082
2113
|
"category": "Utilities",
|
|
2083
2114
|
"description": "a boolean switcher with utility functions"
|
|
2084
2115
|
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "useToNumber",
|
|
2118
|
+
"package": "shared",
|
|
2119
|
+
"lastUpdated": 1659592336000,
|
|
2120
|
+
"docs": "https://vueuse.org/shared/useToNumber/",
|
|
2121
|
+
"category": "Utilities",
|
|
2122
|
+
"description": "reactively convert a string ref to number"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"name": "useToString",
|
|
2126
|
+
"package": "shared",
|
|
2127
|
+
"lastUpdated": 1659592531000,
|
|
2128
|
+
"docs": "https://vueuse.org/shared/useToString/",
|
|
2129
|
+
"category": "Utilities",
|
|
2130
|
+
"description": "reactively convert a ref to string"
|
|
2131
|
+
},
|
|
2085
2132
|
{
|
|
2086
2133
|
"name": "useTransition",
|
|
2087
2134
|
"package": "core",
|
|
2088
|
-
"lastUpdated":
|
|
2135
|
+
"lastUpdated": 1660293053000,
|
|
2089
2136
|
"docs": "https://vueuse.org/core/useTransition/",
|
|
2090
2137
|
"category": "Animation",
|
|
2091
2138
|
"description": "transition between values"
|
|
@@ -2101,7 +2148,7 @@
|
|
|
2101
2148
|
{
|
|
2102
2149
|
"name": "useUrlSearchParams",
|
|
2103
2150
|
"package": "core",
|
|
2104
|
-
"lastUpdated":
|
|
2151
|
+
"lastUpdated": 1660065668000,
|
|
2105
2152
|
"docs": "https://vueuse.org/core/useUrlSearchParams/",
|
|
2106
2153
|
"category": "Browser",
|
|
2107
2154
|
"description": "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|
package/index.mjs
CHANGED
|
@@ -104,11 +104,15 @@ var packages$1 = {
|
|
|
104
104
|
submodules: true,
|
|
105
105
|
external: [
|
|
106
106
|
"firebase",
|
|
107
|
-
"firebase/app"
|
|
107
|
+
"firebase/app",
|
|
108
|
+
"firebase/database",
|
|
109
|
+
"firebase/firestore"
|
|
108
110
|
],
|
|
109
111
|
globals: {
|
|
110
112
|
firebase: "firebase",
|
|
111
|
-
"firebase/app": "firebase"
|
|
113
|
+
"firebase/app": "firebase",
|
|
114
|
+
"firebase/database": "firebase",
|
|
115
|
+
"firebase/firestore": "firebase"
|
|
112
116
|
},
|
|
113
117
|
dir: "packages/firebase",
|
|
114
118
|
docs: "https://vueuse.org/firebase/README.html"
|
|
@@ -454,7 +458,7 @@ var functions$1 = [
|
|
|
454
458
|
{
|
|
455
459
|
name: "refAutoReset",
|
|
456
460
|
"package": "shared",
|
|
457
|
-
lastUpdated:
|
|
461
|
+
lastUpdated: 1660291797000,
|
|
458
462
|
docs: "https://vueuse.org/shared/refAutoReset/",
|
|
459
463
|
category: "Reactivity",
|
|
460
464
|
description: "a ref which will be reset to the default value after some time",
|
|
@@ -665,7 +669,7 @@ var functions$1 = [
|
|
|
665
669
|
{
|
|
666
670
|
name: "useActiveElement",
|
|
667
671
|
"package": "core",
|
|
668
|
-
lastUpdated:
|
|
672
|
+
lastUpdated: 1661239180000,
|
|
669
673
|
component: true,
|
|
670
674
|
docs: "https://vueuse.org/core/useActiveElement/",
|
|
671
675
|
category: "Elements",
|
|
@@ -674,7 +678,7 @@ var functions$1 = [
|
|
|
674
678
|
{
|
|
675
679
|
name: "useArrayEvery",
|
|
676
680
|
"package": "shared",
|
|
677
|
-
lastUpdated:
|
|
681
|
+
lastUpdated: 1660291797000,
|
|
678
682
|
docs: "https://vueuse.org/shared/useArrayEvery/",
|
|
679
683
|
category: "Array",
|
|
680
684
|
description: "reactive `Array.every`"
|
|
@@ -682,7 +686,7 @@ var functions$1 = [
|
|
|
682
686
|
{
|
|
683
687
|
name: "useArrayFilter",
|
|
684
688
|
"package": "shared",
|
|
685
|
-
lastUpdated:
|
|
689
|
+
lastUpdated: 1660291797000,
|
|
686
690
|
docs: "https://vueuse.org/shared/useArrayFilter/",
|
|
687
691
|
category: "Array",
|
|
688
692
|
description: "reactive `Array.filter`"
|
|
@@ -690,7 +694,7 @@ var functions$1 = [
|
|
|
690
694
|
{
|
|
691
695
|
name: "useArrayFind",
|
|
692
696
|
"package": "shared",
|
|
693
|
-
lastUpdated:
|
|
697
|
+
lastUpdated: 1660291797000,
|
|
694
698
|
docs: "https://vueuse.org/shared/useArrayFind/",
|
|
695
699
|
category: "Array",
|
|
696
700
|
description: "reactive `Array.find`"
|
|
@@ -698,7 +702,7 @@ var functions$1 = [
|
|
|
698
702
|
{
|
|
699
703
|
name: "useArrayFindIndex",
|
|
700
704
|
"package": "shared",
|
|
701
|
-
lastUpdated:
|
|
705
|
+
lastUpdated: 1660291797000,
|
|
702
706
|
docs: "https://vueuse.org/shared/useArrayFindIndex/",
|
|
703
707
|
category: "Array",
|
|
704
708
|
description: "reactive `Array.findIndex`"
|
|
@@ -706,7 +710,7 @@ var functions$1 = [
|
|
|
706
710
|
{
|
|
707
711
|
name: "useArrayJoin",
|
|
708
712
|
"package": "shared",
|
|
709
|
-
lastUpdated:
|
|
713
|
+
lastUpdated: 1660291797000,
|
|
710
714
|
docs: "https://vueuse.org/shared/useArrayJoin/",
|
|
711
715
|
category: "Array",
|
|
712
716
|
description: "reactive `Array.join`"
|
|
@@ -714,7 +718,7 @@ var functions$1 = [
|
|
|
714
718
|
{
|
|
715
719
|
name: "useArrayMap",
|
|
716
720
|
"package": "shared",
|
|
717
|
-
lastUpdated:
|
|
721
|
+
lastUpdated: 1660291797000,
|
|
718
722
|
docs: "https://vueuse.org/shared/useArrayMap/",
|
|
719
723
|
category: "Array",
|
|
720
724
|
description: "reactive `Array.map`"
|
|
@@ -722,7 +726,7 @@ var functions$1 = [
|
|
|
722
726
|
{
|
|
723
727
|
name: "useArrayReduce",
|
|
724
728
|
"package": "shared",
|
|
725
|
-
lastUpdated:
|
|
729
|
+
lastUpdated: 1660291797000,
|
|
726
730
|
docs: "https://vueuse.org/shared/useArrayReduce/",
|
|
727
731
|
category: "Array",
|
|
728
732
|
description: "reactive `Array.reduce`"
|
|
@@ -730,7 +734,7 @@ var functions$1 = [
|
|
|
730
734
|
{
|
|
731
735
|
name: "useArraySome",
|
|
732
736
|
"package": "shared",
|
|
733
|
-
lastUpdated:
|
|
737
|
+
lastUpdated: 1660291797000,
|
|
734
738
|
docs: "https://vueuse.org/shared/useArraySome/",
|
|
735
739
|
category: "Array",
|
|
736
740
|
description: "reactive `Array.some`"
|
|
@@ -928,7 +932,7 @@ var functions$1 = [
|
|
|
928
932
|
{
|
|
929
933
|
name: "useCurrentElement",
|
|
930
934
|
"package": "core",
|
|
931
|
-
lastUpdated:
|
|
935
|
+
lastUpdated: 1661239180000,
|
|
932
936
|
docs: "https://vueuse.org/core/useCurrentElement/",
|
|
933
937
|
category: "Component",
|
|
934
938
|
description: "get the DOM element of current component as a ref"
|
|
@@ -936,7 +940,7 @@ var functions$1 = [
|
|
|
936
940
|
{
|
|
937
941
|
name: "useCycleList",
|
|
938
942
|
"package": "core",
|
|
939
|
-
lastUpdated:
|
|
943
|
+
lastUpdated: 1659556886000,
|
|
940
944
|
docs: "https://vueuse.org/core/useCycleList/",
|
|
941
945
|
category: "Utilities",
|
|
942
946
|
description: "cycle through a list of items"
|
|
@@ -958,7 +962,7 @@ var functions$1 = [
|
|
|
958
962
|
{
|
|
959
963
|
name: "useDateFormat",
|
|
960
964
|
"package": "shared",
|
|
961
|
-
lastUpdated:
|
|
965
|
+
lastUpdated: 1660291797000,
|
|
962
966
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
963
967
|
category: "Time",
|
|
964
968
|
description: "get the formatted date according to the string of tokens passed in"
|
|
@@ -978,7 +982,7 @@ var functions$1 = [
|
|
|
978
982
|
{
|
|
979
983
|
name: "useDebounceFn",
|
|
980
984
|
"package": "shared",
|
|
981
|
-
lastUpdated:
|
|
985
|
+
lastUpdated: 1660291797000,
|
|
982
986
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
983
987
|
category: "Utilities",
|
|
984
988
|
description: "debounce execution of a function",
|
|
@@ -1091,7 +1095,7 @@ var functions$1 = [
|
|
|
1091
1095
|
{
|
|
1092
1096
|
name: "useElementHover",
|
|
1093
1097
|
"package": "core",
|
|
1094
|
-
lastUpdated:
|
|
1098
|
+
lastUpdated: 1660290815000,
|
|
1095
1099
|
directive: true,
|
|
1096
1100
|
docs: "https://vueuse.org/core/useElementHover/",
|
|
1097
1101
|
category: "Sensors",
|
|
@@ -1167,7 +1171,7 @@ var functions$1 = [
|
|
|
1167
1171
|
{
|
|
1168
1172
|
name: "useFavicon",
|
|
1169
1173
|
"package": "core",
|
|
1170
|
-
lastUpdated:
|
|
1174
|
+
lastUpdated: 1659585871000,
|
|
1171
1175
|
docs: "https://vueuse.org/core/useFavicon/",
|
|
1172
1176
|
category: "Browser",
|
|
1173
1177
|
description: "reactive favicon"
|
|
@@ -1328,7 +1332,7 @@ var functions$1 = [
|
|
|
1328
1332
|
{
|
|
1329
1333
|
name: "useInterval",
|
|
1330
1334
|
"package": "shared",
|
|
1331
|
-
lastUpdated:
|
|
1335
|
+
lastUpdated: 1660751262000,
|
|
1332
1336
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1333
1337
|
category: "Animation",
|
|
1334
1338
|
description: "reactive counter increases on every interval"
|
|
@@ -1336,7 +1340,7 @@ var functions$1 = [
|
|
|
1336
1340
|
{
|
|
1337
1341
|
name: "useIntervalFn",
|
|
1338
1342
|
"package": "shared",
|
|
1339
|
-
lastUpdated:
|
|
1343
|
+
lastUpdated: 1659611339000,
|
|
1340
1344
|
docs: "https://vueuse.org/shared/useIntervalFn/",
|
|
1341
1345
|
category: "Animation",
|
|
1342
1346
|
description: "wrapper for `setInterval` with controls"
|
|
@@ -1412,7 +1416,7 @@ var functions$1 = [
|
|
|
1412
1416
|
{
|
|
1413
1417
|
name: "useManualRefHistory",
|
|
1414
1418
|
"package": "core",
|
|
1415
|
-
lastUpdated:
|
|
1419
|
+
lastUpdated: 1660751262000,
|
|
1416
1420
|
docs: "https://vueuse.org/core/useManualRefHistory/",
|
|
1417
1421
|
category: "State",
|
|
1418
1422
|
description: "manually track the change history of a ref when the using calls `commit()`",
|
|
@@ -1595,7 +1599,7 @@ var functions$1 = [
|
|
|
1595
1599
|
{
|
|
1596
1600
|
name: "useOffsetPagination",
|
|
1597
1601
|
"package": "core",
|
|
1598
|
-
lastUpdated:
|
|
1602
|
+
lastUpdated: 1659592690000,
|
|
1599
1603
|
component: true,
|
|
1600
1604
|
docs: "https://vueuse.org/core/useOffsetPagination/",
|
|
1601
1605
|
category: "Utilities",
|
|
@@ -1655,6 +1659,14 @@ var functions$1 = [
|
|
|
1655
1659
|
category: "Sensors",
|
|
1656
1660
|
description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
|
|
1657
1661
|
},
|
|
1662
|
+
{
|
|
1663
|
+
name: "usePrecision",
|
|
1664
|
+
"package": "math",
|
|
1665
|
+
lastUpdated: 1659586173000,
|
|
1666
|
+
docs: "https://vueuse.org/math/usePrecision/",
|
|
1667
|
+
category: "@Math",
|
|
1668
|
+
description: "reactively set the precision of a number"
|
|
1669
|
+
},
|
|
1658
1670
|
{
|
|
1659
1671
|
name: "usePreferredColorScheme",
|
|
1660
1672
|
"package": "core",
|
|
@@ -1664,6 +1676,15 @@ var functions$1 = [
|
|
|
1664
1676
|
category: "Browser",
|
|
1665
1677
|
description: "reactive [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query"
|
|
1666
1678
|
},
|
|
1679
|
+
{
|
|
1680
|
+
name: "usePreferredContrast",
|
|
1681
|
+
"package": "core",
|
|
1682
|
+
lastUpdated: 1661240113000,
|
|
1683
|
+
component: true,
|
|
1684
|
+
docs: "https://vueuse.org/core/usePreferredContrast/",
|
|
1685
|
+
category: "Browser",
|
|
1686
|
+
description: "reactive [prefers-contrast](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast) media query"
|
|
1687
|
+
},
|
|
1667
1688
|
{
|
|
1668
1689
|
name: "usePreferredDark",
|
|
1669
1690
|
"package": "core",
|
|
@@ -1686,6 +1707,15 @@ var functions$1 = [
|
|
|
1686
1707
|
category: "Browser",
|
|
1687
1708
|
description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
|
|
1688
1709
|
},
|
|
1710
|
+
{
|
|
1711
|
+
name: "usePreferredReducedMotion",
|
|
1712
|
+
"package": "core",
|
|
1713
|
+
lastUpdated: 1659593252000,
|
|
1714
|
+
component: true,
|
|
1715
|
+
docs: "https://vueuse.org/core/usePreferredReducedMotion/",
|
|
1716
|
+
category: "Browser",
|
|
1717
|
+
description: "reactive [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) media query"
|
|
1718
|
+
},
|
|
1689
1719
|
{
|
|
1690
1720
|
name: "useProjection",
|
|
1691
1721
|
"package": "math",
|
|
@@ -1718,7 +1748,7 @@ var functions$1 = [
|
|
|
1718
1748
|
{
|
|
1719
1749
|
name: "useRefHistory",
|
|
1720
1750
|
"package": "core",
|
|
1721
|
-
lastUpdated:
|
|
1751
|
+
lastUpdated: 1660751262000,
|
|
1722
1752
|
docs: "https://vueuse.org/core/useRefHistory/",
|
|
1723
1753
|
category: "State",
|
|
1724
1754
|
description: "track the change history of a ref",
|
|
@@ -1804,7 +1834,7 @@ var functions$1 = [
|
|
|
1804
1834
|
{
|
|
1805
1835
|
name: "useScriptTag",
|
|
1806
1836
|
"package": "core",
|
|
1807
|
-
lastUpdated:
|
|
1837
|
+
lastUpdated: 1659556839000,
|
|
1808
1838
|
docs: "https://vueuse.org/core/useScriptTag/",
|
|
1809
1839
|
category: "Browser",
|
|
1810
1840
|
description: "script tag injecting"
|
|
@@ -1812,7 +1842,7 @@ var functions$1 = [
|
|
|
1812
1842
|
{
|
|
1813
1843
|
name: "useScroll",
|
|
1814
1844
|
"package": "core",
|
|
1815
|
-
lastUpdated:
|
|
1845
|
+
lastUpdated: 1659805128000,
|
|
1816
1846
|
directive: true,
|
|
1817
1847
|
docs: "https://vueuse.org/core/useScroll/",
|
|
1818
1848
|
category: "Sensors",
|
|
@@ -2027,7 +2057,7 @@ var functions$1 = [
|
|
|
2027
2057
|
{
|
|
2028
2058
|
name: "useTimeout",
|
|
2029
2059
|
"package": "shared",
|
|
2030
|
-
lastUpdated:
|
|
2060
|
+
lastUpdated: 1660751262000,
|
|
2031
2061
|
docs: "https://vueuse.org/shared/useTimeout/",
|
|
2032
2062
|
category: "Animation",
|
|
2033
2063
|
description: "update value after a given time with controls"
|
|
@@ -2035,7 +2065,7 @@ var functions$1 = [
|
|
|
2035
2065
|
{
|
|
2036
2066
|
name: "useTimeoutFn",
|
|
2037
2067
|
"package": "shared",
|
|
2038
|
-
lastUpdated:
|
|
2068
|
+
lastUpdated: 1660751262000,
|
|
2039
2069
|
docs: "https://vueuse.org/shared/useTimeoutFn/",
|
|
2040
2070
|
category: "Animation",
|
|
2041
2071
|
description: "wrapper for `setTimeout` with controls"
|
|
@@ -2068,10 +2098,11 @@ var functions$1 = [
|
|
|
2068
2098
|
{
|
|
2069
2099
|
name: "useToFixed",
|
|
2070
2100
|
"package": "math",
|
|
2071
|
-
lastUpdated:
|
|
2101
|
+
lastUpdated: 1659586610000,
|
|
2072
2102
|
docs: "https://vueuse.org/math/useToFixed/",
|
|
2073
2103
|
category: "@Math",
|
|
2074
|
-
description: "reactive `toFixed`"
|
|
2104
|
+
description: "reactive `toFixed`",
|
|
2105
|
+
deprecated: true
|
|
2075
2106
|
},
|
|
2076
2107
|
{
|
|
2077
2108
|
name: "useToggle",
|
|
@@ -2081,10 +2112,26 @@ var functions$1 = [
|
|
|
2081
2112
|
category: "Utilities",
|
|
2082
2113
|
description: "a boolean switcher with utility functions"
|
|
2083
2114
|
},
|
|
2115
|
+
{
|
|
2116
|
+
name: "useToNumber",
|
|
2117
|
+
"package": "shared",
|
|
2118
|
+
lastUpdated: 1659592336000,
|
|
2119
|
+
docs: "https://vueuse.org/shared/useToNumber/",
|
|
2120
|
+
category: "Utilities",
|
|
2121
|
+
description: "reactively convert a string ref to number"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: "useToString",
|
|
2125
|
+
"package": "shared",
|
|
2126
|
+
lastUpdated: 1659592531000,
|
|
2127
|
+
docs: "https://vueuse.org/shared/useToString/",
|
|
2128
|
+
category: "Utilities",
|
|
2129
|
+
description: "reactively convert a ref to string"
|
|
2130
|
+
},
|
|
2084
2131
|
{
|
|
2085
2132
|
name: "useTransition",
|
|
2086
2133
|
"package": "core",
|
|
2087
|
-
lastUpdated:
|
|
2134
|
+
lastUpdated: 1660293053000,
|
|
2088
2135
|
docs: "https://vueuse.org/core/useTransition/",
|
|
2089
2136
|
category: "Animation",
|
|
2090
2137
|
description: "transition between values"
|
|
@@ -2100,7 +2147,7 @@ var functions$1 = [
|
|
|
2100
2147
|
{
|
|
2101
2148
|
name: "useUrlSearchParams",
|
|
2102
2149
|
"package": "core",
|
|
2103
|
-
lastUpdated:
|
|
2150
|
+
lastUpdated: 1660065668000,
|
|
2104
2151
|
docs: "https://vueuse.org/core/useUrlSearchParams/",
|
|
2105
2152
|
category: "Browser",
|
|
2106
2153
|
description: "reactive [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)"
|