@vueuse/metadata 8.1.1 → 8.2.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 +26 -9
- package/index.json +26 -9
- package/index.mjs +26 -9
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -66,7 +66,8 @@ var packages$1 = {
|
|
|
66
66
|
"jwt-decode": "jwt_decode",
|
|
67
67
|
"focus-trap": "focusTrap",
|
|
68
68
|
drauu: "Drauu",
|
|
69
|
-
"fuse.js": "Fuse"
|
|
69
|
+
"fuse.js": "Fuse",
|
|
70
|
+
"change-case": "changeCase"
|
|
70
71
|
},
|
|
71
72
|
dir: "packages/integrations",
|
|
72
73
|
docs: "https://vueuse.org/integrations/README.html"
|
|
@@ -206,6 +207,14 @@ var functions$1 = [
|
|
|
206
207
|
category: "@Head",
|
|
207
208
|
external: "https://github.com/vueuse/head#api"
|
|
208
209
|
},
|
|
210
|
+
{
|
|
211
|
+
name: "createInjectionState",
|
|
212
|
+
"package": "shared",
|
|
213
|
+
lastUpdated: 1648221687000,
|
|
214
|
+
docs: "https://vueuse.org/shared/createInjectionState/",
|
|
215
|
+
category: "State",
|
|
216
|
+
description: "create global state that can be injected into components"
|
|
217
|
+
},
|
|
209
218
|
{
|
|
210
219
|
name: "createSharedComposable",
|
|
211
220
|
"package": "shared",
|
|
@@ -280,7 +289,7 @@ var functions$1 = [
|
|
|
280
289
|
category: "Utilities",
|
|
281
290
|
description: "`NOT` condition for ref",
|
|
282
291
|
alias: [
|
|
283
|
-
"
|
|
292
|
+
"not"
|
|
284
293
|
],
|
|
285
294
|
related: [
|
|
286
295
|
"logicAnd",
|
|
@@ -512,6 +521,14 @@ var functions$1 = [
|
|
|
512
521
|
category: "Utilities",
|
|
513
522
|
description: "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
|
|
514
523
|
},
|
|
524
|
+
{
|
|
525
|
+
name: "tryOnBeforeMount",
|
|
526
|
+
"package": "shared",
|
|
527
|
+
lastUpdated: 1648316956000,
|
|
528
|
+
docs: "https://vueuse.org/shared/tryOnBeforeMount/",
|
|
529
|
+
category: "Component",
|
|
530
|
+
description: "safe `onBeforeMount`"
|
|
531
|
+
},
|
|
515
532
|
{
|
|
516
533
|
name: "tryOnBeforeUnmount",
|
|
517
534
|
"package": "shared",
|
|
@@ -596,7 +613,7 @@ var functions$1 = [
|
|
|
596
613
|
{
|
|
597
614
|
name: "useAxios",
|
|
598
615
|
"package": "integrations",
|
|
599
|
-
lastUpdated:
|
|
616
|
+
lastUpdated: 1648362823000,
|
|
600
617
|
docs: "https://vueuse.org/integrations/useAxios/",
|
|
601
618
|
category: "@Integrations",
|
|
602
619
|
description: "wrapper for [`axios`](https://github.com/axios/axios)"
|
|
@@ -1121,7 +1138,7 @@ var functions$1 = [
|
|
|
1121
1138
|
{
|
|
1122
1139
|
name: "useKeyModifier",
|
|
1123
1140
|
"package": "core",
|
|
1124
|
-
lastUpdated:
|
|
1141
|
+
lastUpdated: 1648316929000,
|
|
1125
1142
|
docs: "https://vueuse.org/core/useKeyModifier/",
|
|
1126
1143
|
category: "Sensors",
|
|
1127
1144
|
description: "reactive [Modifier State](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"
|
|
@@ -1145,7 +1162,7 @@ var functions$1 = [
|
|
|
1145
1162
|
{
|
|
1146
1163
|
name: "useMagicKeys",
|
|
1147
1164
|
"package": "core",
|
|
1148
|
-
lastUpdated:
|
|
1165
|
+
lastUpdated: 1648221737000,
|
|
1149
1166
|
docs: "https://vueuse.org/core/useMagicKeys/",
|
|
1150
1167
|
category: "Sensors",
|
|
1151
1168
|
description: "reactive keys pressed state"
|
|
@@ -1169,7 +1186,7 @@ var functions$1 = [
|
|
|
1169
1186
|
{
|
|
1170
1187
|
name: "useMediaQuery",
|
|
1171
1188
|
"package": "core",
|
|
1172
|
-
lastUpdated:
|
|
1189
|
+
lastUpdated: 1648316956000,
|
|
1173
1190
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1174
1191
|
category: "Browser",
|
|
1175
1192
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1334,7 +1351,7 @@ var functions$1 = [
|
|
|
1334
1351
|
{
|
|
1335
1352
|
name: "usePermission",
|
|
1336
1353
|
"package": "core",
|
|
1337
|
-
lastUpdated:
|
|
1354
|
+
lastUpdated: 1648358685000,
|
|
1338
1355
|
docs: "https://vueuse.org/core/usePermission/",
|
|
1339
1356
|
category: "Browser",
|
|
1340
1357
|
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)"
|
|
@@ -1530,7 +1547,7 @@ var functions$1 = [
|
|
|
1530
1547
|
{
|
|
1531
1548
|
name: "useStorage",
|
|
1532
1549
|
"package": "core",
|
|
1533
|
-
lastUpdated:
|
|
1550
|
+
lastUpdated: 1648221748000,
|
|
1534
1551
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1535
1552
|
category: "State",
|
|
1536
1553
|
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)",
|
|
@@ -1751,7 +1768,7 @@ var functions$1 = [
|
|
|
1751
1768
|
{
|
|
1752
1769
|
name: "useWebSocket",
|
|
1753
1770
|
"package": "core",
|
|
1754
|
-
lastUpdated:
|
|
1771
|
+
lastUpdated: 1647674451000,
|
|
1755
1772
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
1756
1773
|
category: "Network",
|
|
1757
1774
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
package/index.json
CHANGED
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
"jwt-decode": "jwt_decode",
|
|
64
64
|
"focus-trap": "focusTrap",
|
|
65
65
|
"drauu": "Drauu",
|
|
66
|
-
"fuse.js": "Fuse"
|
|
66
|
+
"fuse.js": "Fuse",
|
|
67
|
+
"change-case": "changeCase"
|
|
67
68
|
},
|
|
68
69
|
"dir": "packages/integrations",
|
|
69
70
|
"docs": "https://vueuse.org/integrations/README.html"
|
|
@@ -203,6 +204,14 @@
|
|
|
203
204
|
"category": "@Head",
|
|
204
205
|
"external": "https://github.com/vueuse/head#api"
|
|
205
206
|
},
|
|
207
|
+
{
|
|
208
|
+
"name": "createInjectionState",
|
|
209
|
+
"package": "shared",
|
|
210
|
+
"lastUpdated": 1648221687000,
|
|
211
|
+
"docs": "https://vueuse.org/shared/createInjectionState/",
|
|
212
|
+
"category": "State",
|
|
213
|
+
"description": "create global state that can be injected into components"
|
|
214
|
+
},
|
|
206
215
|
{
|
|
207
216
|
"name": "createSharedComposable",
|
|
208
217
|
"package": "shared",
|
|
@@ -277,7 +286,7 @@
|
|
|
277
286
|
"category": "Utilities",
|
|
278
287
|
"description": "`NOT` condition for ref",
|
|
279
288
|
"alias": [
|
|
280
|
-
"
|
|
289
|
+
"not"
|
|
281
290
|
],
|
|
282
291
|
"related": [
|
|
283
292
|
"logicAnd",
|
|
@@ -509,6 +518,14 @@
|
|
|
509
518
|
"category": "Utilities",
|
|
510
519
|
"description": "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
|
|
511
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"name": "tryOnBeforeMount",
|
|
523
|
+
"package": "shared",
|
|
524
|
+
"lastUpdated": 1648316956000,
|
|
525
|
+
"docs": "https://vueuse.org/shared/tryOnBeforeMount/",
|
|
526
|
+
"category": "Component",
|
|
527
|
+
"description": "safe `onBeforeMount`"
|
|
528
|
+
},
|
|
512
529
|
{
|
|
513
530
|
"name": "tryOnBeforeUnmount",
|
|
514
531
|
"package": "shared",
|
|
@@ -593,7 +610,7 @@
|
|
|
593
610
|
{
|
|
594
611
|
"name": "useAxios",
|
|
595
612
|
"package": "integrations",
|
|
596
|
-
"lastUpdated":
|
|
613
|
+
"lastUpdated": 1648362823000,
|
|
597
614
|
"docs": "https://vueuse.org/integrations/useAxios/",
|
|
598
615
|
"category": "@Integrations",
|
|
599
616
|
"description": "wrapper for [`axios`](https://github.com/axios/axios)"
|
|
@@ -1118,7 +1135,7 @@
|
|
|
1118
1135
|
{
|
|
1119
1136
|
"name": "useKeyModifier",
|
|
1120
1137
|
"package": "core",
|
|
1121
|
-
"lastUpdated":
|
|
1138
|
+
"lastUpdated": 1648316929000,
|
|
1122
1139
|
"docs": "https://vueuse.org/core/useKeyModifier/",
|
|
1123
1140
|
"category": "Sensors",
|
|
1124
1141
|
"description": "reactive [Modifier State](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"
|
|
@@ -1142,7 +1159,7 @@
|
|
|
1142
1159
|
{
|
|
1143
1160
|
"name": "useMagicKeys",
|
|
1144
1161
|
"package": "core",
|
|
1145
|
-
"lastUpdated":
|
|
1162
|
+
"lastUpdated": 1648221737000,
|
|
1146
1163
|
"docs": "https://vueuse.org/core/useMagicKeys/",
|
|
1147
1164
|
"category": "Sensors",
|
|
1148
1165
|
"description": "reactive keys pressed state"
|
|
@@ -1166,7 +1183,7 @@
|
|
|
1166
1183
|
{
|
|
1167
1184
|
"name": "useMediaQuery",
|
|
1168
1185
|
"package": "core",
|
|
1169
|
-
"lastUpdated":
|
|
1186
|
+
"lastUpdated": 1648316956000,
|
|
1170
1187
|
"docs": "https://vueuse.org/core/useMediaQuery/",
|
|
1171
1188
|
"category": "Browser",
|
|
1172
1189
|
"description": "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1331,7 +1348,7 @@
|
|
|
1331
1348
|
{
|
|
1332
1349
|
"name": "usePermission",
|
|
1333
1350
|
"package": "core",
|
|
1334
|
-
"lastUpdated":
|
|
1351
|
+
"lastUpdated": 1648358685000,
|
|
1335
1352
|
"docs": "https://vueuse.org/core/usePermission/",
|
|
1336
1353
|
"category": "Browser",
|
|
1337
1354
|
"description": "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)"
|
|
@@ -1527,7 +1544,7 @@
|
|
|
1527
1544
|
{
|
|
1528
1545
|
"name": "useStorage",
|
|
1529
1546
|
"package": "core",
|
|
1530
|
-
"lastUpdated":
|
|
1547
|
+
"lastUpdated": 1648221748000,
|
|
1531
1548
|
"docs": "https://vueuse.org/core/useStorage/",
|
|
1532
1549
|
"category": "State",
|
|
1533
1550
|
"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)",
|
|
@@ -1748,7 +1765,7 @@
|
|
|
1748
1765
|
{
|
|
1749
1766
|
"name": "useWebSocket",
|
|
1750
1767
|
"package": "core",
|
|
1751
|
-
"lastUpdated":
|
|
1768
|
+
"lastUpdated": 1647674451000,
|
|
1752
1769
|
"docs": "https://vueuse.org/core/useWebSocket/",
|
|
1753
1770
|
"category": "Network",
|
|
1754
1771
|
"description": "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
package/index.mjs
CHANGED
|
@@ -62,7 +62,8 @@ var packages$1 = {
|
|
|
62
62
|
"jwt-decode": "jwt_decode",
|
|
63
63
|
"focus-trap": "focusTrap",
|
|
64
64
|
drauu: "Drauu",
|
|
65
|
-
"fuse.js": "Fuse"
|
|
65
|
+
"fuse.js": "Fuse",
|
|
66
|
+
"change-case": "changeCase"
|
|
66
67
|
},
|
|
67
68
|
dir: "packages/integrations",
|
|
68
69
|
docs: "https://vueuse.org/integrations/README.html"
|
|
@@ -202,6 +203,14 @@ var functions$1 = [
|
|
|
202
203
|
category: "@Head",
|
|
203
204
|
external: "https://github.com/vueuse/head#api"
|
|
204
205
|
},
|
|
206
|
+
{
|
|
207
|
+
name: "createInjectionState",
|
|
208
|
+
"package": "shared",
|
|
209
|
+
lastUpdated: 1648221687000,
|
|
210
|
+
docs: "https://vueuse.org/shared/createInjectionState/",
|
|
211
|
+
category: "State",
|
|
212
|
+
description: "create global state that can be injected into components"
|
|
213
|
+
},
|
|
205
214
|
{
|
|
206
215
|
name: "createSharedComposable",
|
|
207
216
|
"package": "shared",
|
|
@@ -276,7 +285,7 @@ var functions$1 = [
|
|
|
276
285
|
category: "Utilities",
|
|
277
286
|
description: "`NOT` condition for ref",
|
|
278
287
|
alias: [
|
|
279
|
-
"
|
|
288
|
+
"not"
|
|
280
289
|
],
|
|
281
290
|
related: [
|
|
282
291
|
"logicAnd",
|
|
@@ -508,6 +517,14 @@ var functions$1 = [
|
|
|
508
517
|
category: "Utilities",
|
|
509
518
|
description: "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
|
|
510
519
|
},
|
|
520
|
+
{
|
|
521
|
+
name: "tryOnBeforeMount",
|
|
522
|
+
"package": "shared",
|
|
523
|
+
lastUpdated: 1648316956000,
|
|
524
|
+
docs: "https://vueuse.org/shared/tryOnBeforeMount/",
|
|
525
|
+
category: "Component",
|
|
526
|
+
description: "safe `onBeforeMount`"
|
|
527
|
+
},
|
|
511
528
|
{
|
|
512
529
|
name: "tryOnBeforeUnmount",
|
|
513
530
|
"package": "shared",
|
|
@@ -592,7 +609,7 @@ var functions$1 = [
|
|
|
592
609
|
{
|
|
593
610
|
name: "useAxios",
|
|
594
611
|
"package": "integrations",
|
|
595
|
-
lastUpdated:
|
|
612
|
+
lastUpdated: 1648362823000,
|
|
596
613
|
docs: "https://vueuse.org/integrations/useAxios/",
|
|
597
614
|
category: "@Integrations",
|
|
598
615
|
description: "wrapper for [`axios`](https://github.com/axios/axios)"
|
|
@@ -1117,7 +1134,7 @@ var functions$1 = [
|
|
|
1117
1134
|
{
|
|
1118
1135
|
name: "useKeyModifier",
|
|
1119
1136
|
"package": "core",
|
|
1120
|
-
lastUpdated:
|
|
1137
|
+
lastUpdated: 1648316929000,
|
|
1121
1138
|
docs: "https://vueuse.org/core/useKeyModifier/",
|
|
1122
1139
|
category: "Sensors",
|
|
1123
1140
|
description: "reactive [Modifier State](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"
|
|
@@ -1141,7 +1158,7 @@ var functions$1 = [
|
|
|
1141
1158
|
{
|
|
1142
1159
|
name: "useMagicKeys",
|
|
1143
1160
|
"package": "core",
|
|
1144
|
-
lastUpdated:
|
|
1161
|
+
lastUpdated: 1648221737000,
|
|
1145
1162
|
docs: "https://vueuse.org/core/useMagicKeys/",
|
|
1146
1163
|
category: "Sensors",
|
|
1147
1164
|
description: "reactive keys pressed state"
|
|
@@ -1165,7 +1182,7 @@ var functions$1 = [
|
|
|
1165
1182
|
{
|
|
1166
1183
|
name: "useMediaQuery",
|
|
1167
1184
|
"package": "core",
|
|
1168
|
-
lastUpdated:
|
|
1185
|
+
lastUpdated: 1648316956000,
|
|
1169
1186
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1170
1187
|
category: "Browser",
|
|
1171
1188
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1330,7 +1347,7 @@ var functions$1 = [
|
|
|
1330
1347
|
{
|
|
1331
1348
|
name: "usePermission",
|
|
1332
1349
|
"package": "core",
|
|
1333
|
-
lastUpdated:
|
|
1350
|
+
lastUpdated: 1648358685000,
|
|
1334
1351
|
docs: "https://vueuse.org/core/usePermission/",
|
|
1335
1352
|
category: "Browser",
|
|
1336
1353
|
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)"
|
|
@@ -1526,7 +1543,7 @@ var functions$1 = [
|
|
|
1526
1543
|
{
|
|
1527
1544
|
name: "useStorage",
|
|
1528
1545
|
"package": "core",
|
|
1529
|
-
lastUpdated:
|
|
1546
|
+
lastUpdated: 1648221748000,
|
|
1530
1547
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1531
1548
|
category: "State",
|
|
1532
1549
|
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)",
|
|
@@ -1747,7 +1764,7 @@ var functions$1 = [
|
|
|
1747
1764
|
{
|
|
1748
1765
|
name: "useWebSocket",
|
|
1749
1766
|
"package": "core",
|
|
1750
|
-
lastUpdated:
|
|
1767
|
+
lastUpdated: 1647674451000,
|
|
1751
1768
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
1752
1769
|
category: "Network",
|
|
1753
1770
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|