@vueuse/metadata 8.9.3 → 9.0.0-beta.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 +450 -183
- package/index.d.ts +1 -0
- package/index.json +445 -180
- package/index.mjs +450 -183
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -25,6 +25,15 @@ var packages$1 = {
|
|
|
25
25
|
],
|
|
26
26
|
dir: "packages/components"
|
|
27
27
|
},
|
|
28
|
+
math: {
|
|
29
|
+
name: "math",
|
|
30
|
+
display: "Math",
|
|
31
|
+
description: "Math functions for VueUse",
|
|
32
|
+
external: [
|
|
33
|
+
"@vueuse/shared"
|
|
34
|
+
],
|
|
35
|
+
dir: "packages/math"
|
|
36
|
+
},
|
|
28
37
|
router: {
|
|
29
38
|
name: "router",
|
|
30
39
|
display: "Router",
|
|
@@ -57,7 +66,8 @@ var packages$1 = {
|
|
|
57
66
|
"drauu",
|
|
58
67
|
"@vueuse/core",
|
|
59
68
|
"@vueuse/shared",
|
|
60
|
-
"fuse.js"
|
|
69
|
+
"fuse.js",
|
|
70
|
+
"async-validator"
|
|
61
71
|
],
|
|
62
72
|
globals: {
|
|
63
73
|
axios: "axios",
|
|
@@ -68,7 +78,8 @@ var packages$1 = {
|
|
|
68
78
|
"focus-trap": "focusTrap",
|
|
69
79
|
drauu: "Drauu",
|
|
70
80
|
"fuse.js": "Fuse",
|
|
71
|
-
"change-case": "changeCase"
|
|
81
|
+
"change-case": "changeCase",
|
|
82
|
+
"async-validator": "AsyncValidator"
|
|
72
83
|
},
|
|
73
84
|
dir: "packages/integrations",
|
|
74
85
|
docs: "https://vueuse.org/integrations/README.html"
|
|
@@ -122,11 +133,13 @@ var packages$1 = {
|
|
|
122
133
|
};
|
|
123
134
|
var categories$1 = [
|
|
124
135
|
"Animation",
|
|
136
|
+
"Array",
|
|
125
137
|
"Browser",
|
|
126
138
|
"Component",
|
|
127
139
|
"Elements",
|
|
128
140
|
"Misc",
|
|
129
141
|
"Network",
|
|
142
|
+
"Reactivity",
|
|
130
143
|
"Sensors",
|
|
131
144
|
"State",
|
|
132
145
|
"Utilities",
|
|
@@ -135,6 +148,7 @@ var categories$1 = [
|
|
|
135
148
|
"@Firebase",
|
|
136
149
|
"@Head",
|
|
137
150
|
"@Integrations",
|
|
151
|
+
"@Math",
|
|
138
152
|
"@Motion",
|
|
139
153
|
"@Router",
|
|
140
154
|
"@RxJS",
|
|
@@ -147,7 +161,7 @@ var functions$1 = [
|
|
|
147
161
|
"package": "core",
|
|
148
162
|
lastUpdated: 1651597361000,
|
|
149
163
|
docs: "https://vueuse.org/core/computedAsync/",
|
|
150
|
-
category: "
|
|
164
|
+
category: "Reactivity",
|
|
151
165
|
description: "computed for async functions",
|
|
152
166
|
alias: [
|
|
153
167
|
"asyncComputed"
|
|
@@ -158,7 +172,7 @@ var functions$1 = [
|
|
|
158
172
|
"package": "shared",
|
|
159
173
|
lastUpdated: 1645956777000,
|
|
160
174
|
docs: "https://vueuse.org/shared/computedEager/",
|
|
161
|
-
category: "
|
|
175
|
+
category: "Reactivity",
|
|
162
176
|
description: "eager computed without lazy evaluation",
|
|
163
177
|
alias: [
|
|
164
178
|
"eagerComputed"
|
|
@@ -177,7 +191,7 @@ var functions$1 = [
|
|
|
177
191
|
"package": "shared",
|
|
178
192
|
lastUpdated: 1657102664000,
|
|
179
193
|
docs: "https://vueuse.org/shared/computedWithControl/",
|
|
180
|
-
category: "
|
|
194
|
+
category: "Reactivity",
|
|
181
195
|
description: "explicitly define the dependencies of computed",
|
|
182
196
|
alias: [
|
|
183
197
|
"controlledComputed"
|
|
@@ -194,13 +208,28 @@ var functions$1 = [
|
|
|
194
208
|
category: "Utilities",
|
|
195
209
|
description: "utility for creating event hooks"
|
|
196
210
|
},
|
|
211
|
+
{
|
|
212
|
+
name: "createGenericProjection",
|
|
213
|
+
"package": "math",
|
|
214
|
+
lastUpdated: 1657437998000,
|
|
215
|
+
docs: "https://vueuse.org/math/createGenericProjection/",
|
|
216
|
+
category: "@Math",
|
|
217
|
+
description: "generic version of `createProjection`",
|
|
218
|
+
related: [
|
|
219
|
+
"createProjection",
|
|
220
|
+
"useProjection"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
197
223
|
{
|
|
198
224
|
name: "createGlobalState",
|
|
199
225
|
"package": "shared",
|
|
200
226
|
lastUpdated: 1625749207000,
|
|
201
227
|
docs: "https://vueuse.org/shared/createGlobalState/",
|
|
202
228
|
category: "State",
|
|
203
|
-
description: "keep states in the global scope to be reusable across Vue instances"
|
|
229
|
+
description: "keep states in the global scope to be reusable across Vue instances",
|
|
230
|
+
related: [
|
|
231
|
+
"createSharedComposable"
|
|
232
|
+
]
|
|
204
233
|
},
|
|
205
234
|
{
|
|
206
235
|
name: "createHead",
|
|
@@ -217,6 +246,18 @@ var functions$1 = [
|
|
|
217
246
|
category: "State",
|
|
218
247
|
description: "create global state that can be injected into components"
|
|
219
248
|
},
|
|
249
|
+
{
|
|
250
|
+
name: "createProjection",
|
|
251
|
+
"package": "math",
|
|
252
|
+
lastUpdated: 1657437998000,
|
|
253
|
+
docs: "https://vueuse.org/math/createProjection/",
|
|
254
|
+
category: "@Math",
|
|
255
|
+
description: "reactive numeric projection from one domain to another",
|
|
256
|
+
related: [
|
|
257
|
+
"createGenericProjection",
|
|
258
|
+
"useProjection"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
220
261
|
{
|
|
221
262
|
name: "createSchemaOrg",
|
|
222
263
|
"package": "schema-org",
|
|
@@ -230,7 +271,10 @@ var functions$1 = [
|
|
|
230
271
|
lastUpdated: 1639442454000,
|
|
231
272
|
docs: "https://vueuse.org/shared/createSharedComposable/",
|
|
232
273
|
category: "State",
|
|
233
|
-
description: "make a composable function usable with multiple Vue instances"
|
|
274
|
+
description: "make a composable function usable with multiple Vue instances",
|
|
275
|
+
related: [
|
|
276
|
+
"createGlobalState"
|
|
277
|
+
]
|
|
234
278
|
},
|
|
235
279
|
{
|
|
236
280
|
name: "createUnrefFn",
|
|
@@ -248,7 +292,7 @@ var functions$1 = [
|
|
|
248
292
|
"package": "shared",
|
|
249
293
|
lastUpdated: 1639442454000,
|
|
250
294
|
docs: "https://vueuse.org/shared/extendRef/",
|
|
251
|
-
category: "
|
|
295
|
+
category: "Reactivity",
|
|
252
296
|
description: "add extra attributes to Ref"
|
|
253
297
|
},
|
|
254
298
|
{
|
|
@@ -277,10 +321,10 @@ var functions$1 = [
|
|
|
277
321
|
},
|
|
278
322
|
{
|
|
279
323
|
name: "logicAnd",
|
|
280
|
-
"package": "
|
|
281
|
-
lastUpdated:
|
|
282
|
-
docs: "https://vueuse.org/
|
|
283
|
-
category: "
|
|
324
|
+
"package": "math",
|
|
325
|
+
lastUpdated: 1657261466000,
|
|
326
|
+
docs: "https://vueuse.org/math/logicAnd/",
|
|
327
|
+
category: "@Math",
|
|
284
328
|
description: "`AND` condition for refs",
|
|
285
329
|
alias: [
|
|
286
330
|
"and"
|
|
@@ -292,10 +336,10 @@ var functions$1 = [
|
|
|
292
336
|
},
|
|
293
337
|
{
|
|
294
338
|
name: "logicNot",
|
|
295
|
-
"package": "
|
|
296
|
-
lastUpdated:
|
|
297
|
-
docs: "https://vueuse.org/
|
|
298
|
-
category: "
|
|
339
|
+
"package": "math",
|
|
340
|
+
lastUpdated: 1657261466000,
|
|
341
|
+
docs: "https://vueuse.org/math/logicNot/",
|
|
342
|
+
category: "@Math",
|
|
299
343
|
description: "`NOT` condition for ref",
|
|
300
344
|
alias: [
|
|
301
345
|
"not"
|
|
@@ -307,10 +351,10 @@ var functions$1 = [
|
|
|
307
351
|
},
|
|
308
352
|
{
|
|
309
353
|
name: "logicOr",
|
|
310
|
-
"package": "
|
|
311
|
-
lastUpdated:
|
|
312
|
-
docs: "https://vueuse.org/
|
|
313
|
-
category: "
|
|
354
|
+
"package": "math",
|
|
355
|
+
lastUpdated: 1657261466000,
|
|
356
|
+
docs: "https://vueuse.org/math/logicOr/",
|
|
357
|
+
category: "@Math",
|
|
314
358
|
description: "`OR` conditions for refs",
|
|
315
359
|
alias: [
|
|
316
360
|
"or"
|
|
@@ -331,7 +375,7 @@ var functions$1 = [
|
|
|
331
375
|
{
|
|
332
376
|
name: "onClickOutside",
|
|
333
377
|
"package": "core",
|
|
334
|
-
lastUpdated:
|
|
378
|
+
lastUpdated: 1658285512000,
|
|
335
379
|
component: true,
|
|
336
380
|
directive: true,
|
|
337
381
|
docs: "https://vueuse.org/core/onClickOutside/",
|
|
@@ -341,7 +385,7 @@ var functions$1 = [
|
|
|
341
385
|
{
|
|
342
386
|
name: "onKeyStroke",
|
|
343
387
|
"package": "core",
|
|
344
|
-
lastUpdated:
|
|
388
|
+
lastUpdated: 1657430566000,
|
|
345
389
|
directive: true,
|
|
346
390
|
docs: "https://vueuse.org/core/onKeyStroke/",
|
|
347
391
|
category: "Sensors",
|
|
@@ -368,9 +412,9 @@ var functions$1 = [
|
|
|
368
412
|
{
|
|
369
413
|
name: "reactify",
|
|
370
414
|
"package": "shared",
|
|
371
|
-
lastUpdated:
|
|
415
|
+
lastUpdated: 1657634926000,
|
|
372
416
|
docs: "https://vueuse.org/shared/reactify/",
|
|
373
|
-
category: "
|
|
417
|
+
category: "Reactivity",
|
|
374
418
|
description: "converts plain functions into reactive functions",
|
|
375
419
|
alias: [
|
|
376
420
|
"createReactiveFn"
|
|
@@ -382,9 +426,9 @@ var functions$1 = [
|
|
|
382
426
|
{
|
|
383
427
|
name: "reactifyObject",
|
|
384
428
|
"package": "shared",
|
|
385
|
-
lastUpdated:
|
|
429
|
+
lastUpdated: 1657634926000,
|
|
386
430
|
docs: "https://vueuse.org/shared/reactifyObject/",
|
|
387
|
-
category: "
|
|
431
|
+
category: "Reactivity",
|
|
388
432
|
description: "apply `reactify` to an object"
|
|
389
433
|
},
|
|
390
434
|
{
|
|
@@ -392,7 +436,7 @@ var functions$1 = [
|
|
|
392
436
|
"package": "shared",
|
|
393
437
|
lastUpdated: 1645876129000,
|
|
394
438
|
docs: "https://vueuse.org/shared/reactiveComputed/",
|
|
395
|
-
category: "
|
|
439
|
+
category: "Reactivity",
|
|
396
440
|
description: "computed reactive object"
|
|
397
441
|
},
|
|
398
442
|
{
|
|
@@ -400,7 +444,7 @@ var functions$1 = [
|
|
|
400
444
|
"package": "shared",
|
|
401
445
|
lastUpdated: 1657076758000,
|
|
402
446
|
docs: "https://vueuse.org/shared/reactiveOmit/",
|
|
403
|
-
category: "
|
|
447
|
+
category: "Reactivity",
|
|
404
448
|
description: "reactively omit fields from a reactive object"
|
|
405
449
|
},
|
|
406
450
|
{
|
|
@@ -408,15 +452,15 @@ var functions$1 = [
|
|
|
408
452
|
"package": "shared",
|
|
409
453
|
lastUpdated: 1657076758000,
|
|
410
454
|
docs: "https://vueuse.org/shared/reactivePick/",
|
|
411
|
-
category: "
|
|
455
|
+
category: "Reactivity",
|
|
412
456
|
description: "reactively pick fields from a reactive object"
|
|
413
457
|
},
|
|
414
458
|
{
|
|
415
459
|
name: "refAutoReset",
|
|
416
460
|
"package": "shared",
|
|
417
|
-
lastUpdated:
|
|
461
|
+
lastUpdated: 1657259100000,
|
|
418
462
|
docs: "https://vueuse.org/shared/refAutoReset/",
|
|
419
|
-
category: "
|
|
463
|
+
category: "Reactivity",
|
|
420
464
|
description: "a ref which will be reset to the default value after some time",
|
|
421
465
|
alias: [
|
|
422
466
|
"autoResetRef"
|
|
@@ -427,11 +471,14 @@ var functions$1 = [
|
|
|
427
471
|
"package": "shared",
|
|
428
472
|
lastUpdated: 1645956777000,
|
|
429
473
|
docs: "https://vueuse.org/shared/refDebounced/",
|
|
430
|
-
category: "
|
|
474
|
+
category: "Reactivity",
|
|
431
475
|
description: "debounce execution of a ref value",
|
|
432
476
|
alias: [
|
|
433
477
|
"useDebounce",
|
|
434
478
|
"debouncedRef"
|
|
479
|
+
],
|
|
480
|
+
related: [
|
|
481
|
+
"useThrottleFn"
|
|
435
482
|
]
|
|
436
483
|
},
|
|
437
484
|
{
|
|
@@ -439,7 +486,7 @@ var functions$1 = [
|
|
|
439
486
|
"package": "shared",
|
|
440
487
|
lastUpdated: 1639442454000,
|
|
441
488
|
docs: "https://vueuse.org/shared/refDefault/",
|
|
442
|
-
category: "
|
|
489
|
+
category: "Reactivity",
|
|
443
490
|
description: "apply default value to a ref"
|
|
444
491
|
},
|
|
445
492
|
{
|
|
@@ -447,11 +494,14 @@ var functions$1 = [
|
|
|
447
494
|
"package": "shared",
|
|
448
495
|
lastUpdated: 1645956777000,
|
|
449
496
|
docs: "https://vueuse.org/shared/refThrottled/",
|
|
450
|
-
category: "
|
|
497
|
+
category: "Reactivity",
|
|
451
498
|
description: "throttle changing of a ref value",
|
|
452
499
|
alias: [
|
|
453
500
|
"useThrottle",
|
|
454
501
|
"throttledRef"
|
|
502
|
+
],
|
|
503
|
+
related: [
|
|
504
|
+
"useThrottleFn"
|
|
455
505
|
]
|
|
456
506
|
},
|
|
457
507
|
{
|
|
@@ -459,7 +509,7 @@ var functions$1 = [
|
|
|
459
509
|
"package": "shared",
|
|
460
510
|
lastUpdated: 1645956154000,
|
|
461
511
|
docs: "https://vueuse.org/shared/refWithControl/",
|
|
462
|
-
category: "
|
|
512
|
+
category: "Reactivity",
|
|
463
513
|
description: "fine-grained controls over ref and its reactivity",
|
|
464
514
|
alias: [
|
|
465
515
|
"controlledRef"
|
|
@@ -471,9 +521,9 @@ var functions$1 = [
|
|
|
471
521
|
{
|
|
472
522
|
name: "resolveRef",
|
|
473
523
|
"package": "shared",
|
|
474
|
-
lastUpdated:
|
|
524
|
+
lastUpdated: 1657259100000,
|
|
475
525
|
docs: "https://vueuse.org/shared/resolveRef/",
|
|
476
|
-
category: "
|
|
526
|
+
category: "Reactivity",
|
|
477
527
|
description: "normalize value/ref/getter to `ref` or `computed`",
|
|
478
528
|
related: [
|
|
479
529
|
"resolveUnref"
|
|
@@ -484,7 +534,7 @@ var functions$1 = [
|
|
|
484
534
|
"package": "shared",
|
|
485
535
|
lastUpdated: 1657075685000,
|
|
486
536
|
docs: "https://vueuse.org/shared/resolveUnref/",
|
|
487
|
-
category: "
|
|
537
|
+
category: "Reactivity",
|
|
488
538
|
description: "get the value of value/ref/getter",
|
|
489
539
|
related: [
|
|
490
540
|
"resolveRef"
|
|
@@ -503,7 +553,7 @@ var functions$1 = [
|
|
|
503
553
|
"package": "shared",
|
|
504
554
|
lastUpdated: 1645952177000,
|
|
505
555
|
docs: "https://vueuse.org/shared/syncRef/",
|
|
506
|
-
category: "
|
|
556
|
+
category: "Reactivity",
|
|
507
557
|
description: "two-way refs synchronization",
|
|
508
558
|
related: [
|
|
509
559
|
"syncRefs"
|
|
@@ -514,7 +564,7 @@ var functions$1 = [
|
|
|
514
564
|
"package": "shared",
|
|
515
565
|
lastUpdated: 1645952177000,
|
|
516
566
|
docs: "https://vueuse.org/shared/syncRefs/",
|
|
517
|
-
category: "
|
|
567
|
+
category: "Reactivity",
|
|
518
568
|
description: "keep target refs in sync with a source ref",
|
|
519
569
|
related: [
|
|
520
570
|
"syncRef"
|
|
@@ -541,7 +591,7 @@ var functions$1 = [
|
|
|
541
591
|
"package": "shared",
|
|
542
592
|
lastUpdated: 1645878866000,
|
|
543
593
|
docs: "https://vueuse.org/shared/toReactive/",
|
|
544
|
-
category: "
|
|
594
|
+
category: "Reactivity",
|
|
545
595
|
description: "converts ref to reactive"
|
|
546
596
|
},
|
|
547
597
|
{
|
|
@@ -549,7 +599,7 @@ var functions$1 = [
|
|
|
549
599
|
"package": "shared",
|
|
550
600
|
lastUpdated: 1655284952000,
|
|
551
601
|
docs: "https://vueuse.org/shared/toRefs/",
|
|
552
|
-
category: "
|
|
602
|
+
category: "Reactivity",
|
|
553
603
|
description: "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
|
|
554
604
|
},
|
|
555
605
|
{
|
|
@@ -595,7 +645,7 @@ var functions$1 = [
|
|
|
595
645
|
{
|
|
596
646
|
name: "unrefElement",
|
|
597
647
|
"package": "core",
|
|
598
|
-
lastUpdated:
|
|
648
|
+
lastUpdated: 1657259100000,
|
|
599
649
|
docs: "https://vueuse.org/core/unrefElement/",
|
|
600
650
|
category: "Component",
|
|
601
651
|
description: "unref for dom element"
|
|
@@ -603,11 +653,19 @@ var functions$1 = [
|
|
|
603
653
|
{
|
|
604
654
|
name: "until",
|
|
605
655
|
"package": "shared",
|
|
606
|
-
lastUpdated:
|
|
656
|
+
lastUpdated: 1657259100000,
|
|
607
657
|
docs: "https://vueuse.org/shared/until/",
|
|
608
658
|
category: "Watch",
|
|
609
659
|
description: "promised one-time watch for changes"
|
|
610
660
|
},
|
|
661
|
+
{
|
|
662
|
+
name: "useAbs",
|
|
663
|
+
"package": "math",
|
|
664
|
+
lastUpdated: 1658041562000,
|
|
665
|
+
docs: "https://vueuse.org/math/useAbs/",
|
|
666
|
+
category: "@Math",
|
|
667
|
+
description: "reactive `Math.abs`"
|
|
668
|
+
},
|
|
611
669
|
{
|
|
612
670
|
name: "useActiveElement",
|
|
613
671
|
"package": "core",
|
|
@@ -617,6 +675,62 @@ var functions$1 = [
|
|
|
617
675
|
category: "Elements",
|
|
618
676
|
description: "reactive `document.activeElement`"
|
|
619
677
|
},
|
|
678
|
+
{
|
|
679
|
+
name: "useArrayEvery",
|
|
680
|
+
"package": "shared",
|
|
681
|
+
lastUpdated: 1657954423000,
|
|
682
|
+
docs: "https://vueuse.org/shared/useArrayEvery/",
|
|
683
|
+
category: "Array",
|
|
684
|
+
description: "reactive `Array.every`"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: "useArrayFilter",
|
|
688
|
+
"package": "shared",
|
|
689
|
+
lastUpdated: 1657813280000,
|
|
690
|
+
docs: "https://vueuse.org/shared/useArrayFilter/",
|
|
691
|
+
category: "Array",
|
|
692
|
+
description: "reactive `Array.filter`"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: "useArrayFind",
|
|
696
|
+
"package": "shared",
|
|
697
|
+
lastUpdated: 1658040382000,
|
|
698
|
+
docs: "https://vueuse.org/shared/useArrayFind/",
|
|
699
|
+
category: "Array",
|
|
700
|
+
description: "reactive `Array.find`"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: "useArrayJoin",
|
|
704
|
+
"package": "shared",
|
|
705
|
+
lastUpdated: 1657955066000,
|
|
706
|
+
docs: "https://vueuse.org/shared/useArrayJoin/",
|
|
707
|
+
category: "Utilities",
|
|
708
|
+
description: "reactive `Array.join`"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
name: "useArrayMap",
|
|
712
|
+
"package": "shared",
|
|
713
|
+
lastUpdated: 1657813311000,
|
|
714
|
+
docs: "https://vueuse.org/shared/useArrayMap/",
|
|
715
|
+
category: "Array",
|
|
716
|
+
description: "reactive `Array.map`"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
name: "useArrayReduce",
|
|
720
|
+
"package": "shared",
|
|
721
|
+
lastUpdated: 1657954977000,
|
|
722
|
+
docs: "https://vueuse.org/shared/useArrayReduce/",
|
|
723
|
+
category: "Array",
|
|
724
|
+
description: "reactive `Array.reduce`"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: "useArraySome",
|
|
728
|
+
"package": "shared",
|
|
729
|
+
lastUpdated: 1657954423000,
|
|
730
|
+
docs: "https://vueuse.org/shared/useArraySome/",
|
|
731
|
+
category: "Array",
|
|
732
|
+
description: "reactive `Array.some`"
|
|
733
|
+
},
|
|
620
734
|
{
|
|
621
735
|
name: "useAsyncQueue",
|
|
622
736
|
"package": "core",
|
|
@@ -628,7 +742,7 @@ var functions$1 = [
|
|
|
628
742
|
{
|
|
629
743
|
name: "useAsyncState",
|
|
630
744
|
"package": "core",
|
|
631
|
-
lastUpdated:
|
|
745
|
+
lastUpdated: 1657430549000,
|
|
632
746
|
docs: "https://vueuse.org/core/useAsyncState/",
|
|
633
747
|
category: "State",
|
|
634
748
|
description: "reactive async state"
|
|
@@ -636,11 +750,12 @@ var functions$1 = [
|
|
|
636
750
|
{
|
|
637
751
|
name: "useAsyncValidator",
|
|
638
752
|
"package": "integrations",
|
|
639
|
-
lastUpdated:
|
|
753
|
+
lastUpdated: 1657259100000,
|
|
640
754
|
component: true,
|
|
641
755
|
docs: "https://vueuse.org/integrations/useAsyncValidator/",
|
|
642
756
|
category: "@Integrations",
|
|
643
|
-
description: "wrapper for [`async-validator`](https://github.com/yiminghe/async-validator)"
|
|
757
|
+
description: "wrapper for [`async-validator`](https://github.com/yiminghe/async-validator)",
|
|
758
|
+
importPath: "integrations/useAsyncValidator"
|
|
644
759
|
},
|
|
645
760
|
{
|
|
646
761
|
name: "useAuth",
|
|
@@ -648,20 +763,30 @@ var functions$1 = [
|
|
|
648
763
|
lastUpdated: 1639442454000,
|
|
649
764
|
docs: "https://vueuse.org/firebase/useAuth/",
|
|
650
765
|
category: "@Firebase",
|
|
651
|
-
description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding"
|
|
766
|
+
description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding",
|
|
767
|
+
importPath: "firebase/useAuth"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
name: "useAverage",
|
|
771
|
+
"package": "math",
|
|
772
|
+
lastUpdated: 1658041190000,
|
|
773
|
+
docs: "https://vueuse.org/math/useAverage/",
|
|
774
|
+
category: "@Math",
|
|
775
|
+
description: "get the average of an array reactively"
|
|
652
776
|
},
|
|
653
777
|
{
|
|
654
778
|
name: "useAxios",
|
|
655
779
|
"package": "integrations",
|
|
656
|
-
lastUpdated:
|
|
780
|
+
lastUpdated: 1657259100000,
|
|
657
781
|
docs: "https://vueuse.org/integrations/useAxios/",
|
|
658
782
|
category: "@Integrations",
|
|
659
|
-
description: "wrapper for [`axios`](https://github.com/axios/axios)"
|
|
783
|
+
description: "wrapper for [`axios`](https://github.com/axios/axios)",
|
|
784
|
+
importPath: "integrations/useAxios"
|
|
660
785
|
},
|
|
661
786
|
{
|
|
662
787
|
name: "useBase64",
|
|
663
788
|
"package": "core",
|
|
664
|
-
lastUpdated:
|
|
789
|
+
lastUpdated: 1657259100000,
|
|
665
790
|
docs: "https://vueuse.org/core/useBase64/",
|
|
666
791
|
category: "Utilities",
|
|
667
792
|
description: "reactive base64 transforming"
|
|
@@ -669,7 +794,7 @@ var functions$1 = [
|
|
|
669
794
|
{
|
|
670
795
|
name: "useBattery",
|
|
671
796
|
"package": "core",
|
|
672
|
-
lastUpdated:
|
|
797
|
+
lastUpdated: 1657430593000,
|
|
673
798
|
component: true,
|
|
674
799
|
docs: "https://vueuse.org/core/useBattery/",
|
|
675
800
|
category: "Sensors",
|
|
@@ -678,7 +803,7 @@ var functions$1 = [
|
|
|
678
803
|
{
|
|
679
804
|
name: "useBluetooth",
|
|
680
805
|
"package": "core",
|
|
681
|
-
lastUpdated:
|
|
806
|
+
lastUpdated: 1658083596000,
|
|
682
807
|
docs: "https://vueuse.org/core/useBluetooth/",
|
|
683
808
|
category: "Browser",
|
|
684
809
|
description: "reactive [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API)"
|
|
@@ -694,7 +819,7 @@ var functions$1 = [
|
|
|
694
819
|
{
|
|
695
820
|
name: "useBroadcastChannel",
|
|
696
821
|
"package": "core",
|
|
697
|
-
lastUpdated:
|
|
822
|
+
lastUpdated: 1658083596000,
|
|
698
823
|
docs: "https://vueuse.org/core/useBroadcastChannel/",
|
|
699
824
|
category: "Browser",
|
|
700
825
|
description: "reactive [BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)"
|
|
@@ -716,26 +841,35 @@ var functions$1 = [
|
|
|
716
841
|
category: "Utilities",
|
|
717
842
|
description: "cache a ref with a custom comparator"
|
|
718
843
|
},
|
|
844
|
+
{
|
|
845
|
+
name: "useCeil",
|
|
846
|
+
"package": "math",
|
|
847
|
+
lastUpdated: 1657638060000,
|
|
848
|
+
docs: "https://vueuse.org/math/useCeil/",
|
|
849
|
+
category: "@Math",
|
|
850
|
+
description: "reactive `Math.ceil`"
|
|
851
|
+
},
|
|
719
852
|
{
|
|
720
853
|
name: "useChangeCase",
|
|
721
854
|
"package": "integrations",
|
|
722
|
-
lastUpdated:
|
|
855
|
+
lastUpdated: 1657259100000,
|
|
723
856
|
docs: "https://vueuse.org/integrations/useChangeCase/",
|
|
724
857
|
category: "@Integrations",
|
|
725
|
-
description: "wrapper for [`change-case`](https://github.com/blakeembrey/change-case)"
|
|
858
|
+
description: "reactive wrapper for [`change-case`](https://github.com/blakeembrey/change-case)",
|
|
859
|
+
importPath: "integrations/useChangeCase"
|
|
726
860
|
},
|
|
727
861
|
{
|
|
728
862
|
name: "useClamp",
|
|
729
|
-
"package": "
|
|
730
|
-
lastUpdated:
|
|
731
|
-
docs: "https://vueuse.org/
|
|
732
|
-
category: "
|
|
863
|
+
"package": "math",
|
|
864
|
+
lastUpdated: 1657431142000,
|
|
865
|
+
docs: "https://vueuse.org/math/useClamp/",
|
|
866
|
+
category: "@Math",
|
|
733
867
|
description: "reactively clamp a value between two other values"
|
|
734
868
|
},
|
|
735
869
|
{
|
|
736
870
|
name: "useClipboard",
|
|
737
871
|
"package": "core",
|
|
738
|
-
lastUpdated:
|
|
872
|
+
lastUpdated: 1657634287000,
|
|
739
873
|
docs: "https://vueuse.org/core/useClipboard/",
|
|
740
874
|
category: "Browser",
|
|
741
875
|
description: "reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)"
|
|
@@ -743,7 +877,7 @@ var functions$1 = [
|
|
|
743
877
|
{
|
|
744
878
|
name: "useColorMode",
|
|
745
879
|
"package": "core",
|
|
746
|
-
lastUpdated:
|
|
880
|
+
lastUpdated: 1657634978000,
|
|
747
881
|
component: true,
|
|
748
882
|
docs: "https://vueuse.org/core/useColorMode/",
|
|
749
883
|
category: "Browser",
|
|
@@ -768,7 +902,8 @@ var functions$1 = [
|
|
|
768
902
|
lastUpdated: 1642756753000,
|
|
769
903
|
docs: "https://vueuse.org/integrations/useCookies/",
|
|
770
904
|
category: "@Integrations",
|
|
771
|
-
description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)"
|
|
905
|
+
description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
|
|
906
|
+
importPath: "integrations/useCookies"
|
|
772
907
|
},
|
|
773
908
|
{
|
|
774
909
|
name: "useCounter",
|
|
@@ -781,7 +916,7 @@ var functions$1 = [
|
|
|
781
916
|
{
|
|
782
917
|
name: "useCssVar",
|
|
783
918
|
"package": "core",
|
|
784
|
-
lastUpdated:
|
|
919
|
+
lastUpdated: 1657259100000,
|
|
785
920
|
docs: "https://vueuse.org/core/useCssVar/",
|
|
786
921
|
category: "Browser",
|
|
787
922
|
description: "manipulate CSS variables"
|
|
@@ -797,7 +932,7 @@ var functions$1 = [
|
|
|
797
932
|
{
|
|
798
933
|
name: "useCycleList",
|
|
799
934
|
"package": "core",
|
|
800
|
-
lastUpdated:
|
|
935
|
+
lastUpdated: 1658083596000,
|
|
801
936
|
docs: "https://vueuse.org/core/useCycleList/",
|
|
802
937
|
category: "Utilities",
|
|
803
938
|
description: "cycle through a list of items"
|
|
@@ -819,7 +954,7 @@ var functions$1 = [
|
|
|
819
954
|
{
|
|
820
955
|
name: "useDateFormat",
|
|
821
956
|
"package": "shared",
|
|
822
|
-
lastUpdated:
|
|
957
|
+
lastUpdated: 1657259100000,
|
|
823
958
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
824
959
|
category: "Utilities",
|
|
825
960
|
description: "get the formatted date according to the string of tokens passed in"
|
|
@@ -827,7 +962,7 @@ var functions$1 = [
|
|
|
827
962
|
{
|
|
828
963
|
name: "useDebouncedRefHistory",
|
|
829
964
|
"package": "core",
|
|
830
|
-
lastUpdated:
|
|
965
|
+
lastUpdated: 1657259100000,
|
|
831
966
|
docs: "https://vueuse.org/core/useDebouncedRefHistory/",
|
|
832
967
|
category: "State",
|
|
833
968
|
description: "shorthand for `useRefHistory` with debounced filter",
|
|
@@ -839,10 +974,13 @@ var functions$1 = [
|
|
|
839
974
|
{
|
|
840
975
|
name: "useDebounceFn",
|
|
841
976
|
"package": "shared",
|
|
842
|
-
lastUpdated:
|
|
977
|
+
lastUpdated: 1657259100000,
|
|
843
978
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
844
979
|
category: "Utilities",
|
|
845
|
-
description: "debounce execution of a function"
|
|
980
|
+
description: "debounce execution of a function",
|
|
981
|
+
related: [
|
|
982
|
+
"useThrottleFn"
|
|
983
|
+
]
|
|
846
984
|
},
|
|
847
985
|
{
|
|
848
986
|
name: "useDeviceMotion",
|
|
@@ -856,7 +994,7 @@ var functions$1 = [
|
|
|
856
994
|
{
|
|
857
995
|
name: "useDeviceOrientation",
|
|
858
996
|
"package": "core",
|
|
859
|
-
lastUpdated:
|
|
997
|
+
lastUpdated: 1657430593000,
|
|
860
998
|
component: true,
|
|
861
999
|
docs: "https://vueuse.org/core/useDeviceOrientation/",
|
|
862
1000
|
category: "Sensors",
|
|
@@ -874,16 +1012,19 @@ var functions$1 = [
|
|
|
874
1012
|
{
|
|
875
1013
|
name: "useDevicesList",
|
|
876
1014
|
"package": "core",
|
|
877
|
-
lastUpdated:
|
|
1015
|
+
lastUpdated: 1657430593000,
|
|
878
1016
|
component: true,
|
|
879
1017
|
docs: "https://vueuse.org/core/useDevicesList/",
|
|
880
1018
|
category: "Sensors",
|
|
881
|
-
description: "reactive [enumerateDevices](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices) listing avaliable input/output devices"
|
|
1019
|
+
description: "reactive [enumerateDevices](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices) listing avaliable input/output devices",
|
|
1020
|
+
related: [
|
|
1021
|
+
"useUserMedia"
|
|
1022
|
+
]
|
|
882
1023
|
},
|
|
883
1024
|
{
|
|
884
1025
|
name: "useDisplayMedia",
|
|
885
1026
|
"package": "core",
|
|
886
|
-
lastUpdated:
|
|
1027
|
+
lastUpdated: 1657430593000,
|
|
887
1028
|
docs: "https://vueuse.org/core/useDisplayMedia/",
|
|
888
1029
|
category: "Sensors",
|
|
889
1030
|
description: "reactive [`mediaDevices.getDisplayMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia) streaming",
|
|
@@ -894,7 +1035,7 @@ var functions$1 = [
|
|
|
894
1035
|
{
|
|
895
1036
|
name: "useDocumentVisibility",
|
|
896
1037
|
"package": "core",
|
|
897
|
-
lastUpdated:
|
|
1038
|
+
lastUpdated: 1658083596000,
|
|
898
1039
|
component: true,
|
|
899
1040
|
docs: "https://vueuse.org/core/useDocumentVisibility/",
|
|
900
1041
|
category: "Elements",
|
|
@@ -903,7 +1044,7 @@ var functions$1 = [
|
|
|
903
1044
|
{
|
|
904
1045
|
name: "useDraggable",
|
|
905
1046
|
"package": "core",
|
|
906
|
-
lastUpdated:
|
|
1047
|
+
lastUpdated: 1658083596000,
|
|
907
1048
|
component: true,
|
|
908
1049
|
docs: "https://vueuse.org/core/useDraggable/",
|
|
909
1050
|
category: "Elements",
|
|
@@ -912,15 +1053,16 @@ var functions$1 = [
|
|
|
912
1053
|
{
|
|
913
1054
|
name: "useDrauu",
|
|
914
1055
|
"package": "integrations",
|
|
915
|
-
lastUpdated:
|
|
1056
|
+
lastUpdated: 1657259100000,
|
|
916
1057
|
docs: "https://vueuse.org/integrations/useDrauu/",
|
|
917
1058
|
category: "@Integrations",
|
|
918
|
-
description: "reactive instance for [drauu](https://github.com/antfu/drauu)"
|
|
1059
|
+
description: "reactive instance for [drauu](https://github.com/antfu/drauu)",
|
|
1060
|
+
importPath: "integrations/useDrauu"
|
|
919
1061
|
},
|
|
920
1062
|
{
|
|
921
1063
|
name: "useDropZone",
|
|
922
1064
|
"package": "core",
|
|
923
|
-
lastUpdated:
|
|
1065
|
+
lastUpdated: 1658043158000,
|
|
924
1066
|
docs: "https://vueuse.org/core/useDropZone/",
|
|
925
1067
|
category: "Elements",
|
|
926
1068
|
description: "create an zone where files can be dropped"
|
|
@@ -928,7 +1070,7 @@ var functions$1 = [
|
|
|
928
1070
|
{
|
|
929
1071
|
name: "useElementBounding",
|
|
930
1072
|
"package": "core",
|
|
931
|
-
lastUpdated:
|
|
1073
|
+
lastUpdated: 1657259100000,
|
|
932
1074
|
component: true,
|
|
933
1075
|
docs: "https://vueuse.org/core/useElementBounding/",
|
|
934
1076
|
category: "Elements",
|
|
@@ -937,7 +1079,7 @@ var functions$1 = [
|
|
|
937
1079
|
{
|
|
938
1080
|
name: "useElementByPoint",
|
|
939
1081
|
"package": "core",
|
|
940
|
-
lastUpdated:
|
|
1082
|
+
lastUpdated: 1657259100000,
|
|
941
1083
|
docs: "https://vueuse.org/core/useElementByPoint/",
|
|
942
1084
|
category: "Sensors",
|
|
943
1085
|
description: "reactive element by point"
|
|
@@ -945,7 +1087,7 @@ var functions$1 = [
|
|
|
945
1087
|
{
|
|
946
1088
|
name: "useElementHover",
|
|
947
1089
|
"package": "core",
|
|
948
|
-
lastUpdated:
|
|
1090
|
+
lastUpdated: 1657259100000,
|
|
949
1091
|
directive: true,
|
|
950
1092
|
docs: "https://vueuse.org/core/useElementHover/",
|
|
951
1093
|
category: "Sensors",
|
|
@@ -954,7 +1096,7 @@ var functions$1 = [
|
|
|
954
1096
|
{
|
|
955
1097
|
name: "useElementSize",
|
|
956
1098
|
"package": "core",
|
|
957
|
-
lastUpdated:
|
|
1099
|
+
lastUpdated: 1657634277000,
|
|
958
1100
|
component: true,
|
|
959
1101
|
directive: true,
|
|
960
1102
|
docs: "https://vueuse.org/core/useElementSize/",
|
|
@@ -978,7 +1120,7 @@ var functions$1 = [
|
|
|
978
1120
|
{
|
|
979
1121
|
name: "useElementVisibility",
|
|
980
1122
|
"package": "core",
|
|
981
|
-
lastUpdated:
|
|
1123
|
+
lastUpdated: 1657634298000,
|
|
982
1124
|
component: true,
|
|
983
1125
|
directive: true,
|
|
984
1126
|
docs: "https://vueuse.org/core/useElementVisibility/",
|
|
@@ -996,7 +1138,7 @@ var functions$1 = [
|
|
|
996
1138
|
{
|
|
997
1139
|
name: "useEventListener",
|
|
998
1140
|
"package": "core",
|
|
999
|
-
lastUpdated:
|
|
1141
|
+
lastUpdated: 1657259100000,
|
|
1000
1142
|
docs: "https://vueuse.org/core/useEventListener/",
|
|
1001
1143
|
category: "Browser",
|
|
1002
1144
|
description: "use EventListener with ease"
|
|
@@ -1004,7 +1146,7 @@ var functions$1 = [
|
|
|
1004
1146
|
{
|
|
1005
1147
|
name: "useEventSource",
|
|
1006
1148
|
"package": "core",
|
|
1007
|
-
lastUpdated:
|
|
1149
|
+
lastUpdated: 1657634387000,
|
|
1008
1150
|
docs: "https://vueuse.org/core/useEventSource/",
|
|
1009
1151
|
category: "Network",
|
|
1010
1152
|
description: "an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) or [Server-Sent-Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) instance opens a persistent connection to an HTTP server"
|
|
@@ -1012,7 +1154,7 @@ var functions$1 = [
|
|
|
1012
1154
|
{
|
|
1013
1155
|
name: "useEyeDropper",
|
|
1014
1156
|
"package": "core",
|
|
1015
|
-
lastUpdated:
|
|
1157
|
+
lastUpdated: 1658083596000,
|
|
1016
1158
|
component: true,
|
|
1017
1159
|
docs: "https://vueuse.org/core/useEyeDropper/",
|
|
1018
1160
|
category: "Browser",
|
|
@@ -1021,7 +1163,7 @@ var functions$1 = [
|
|
|
1021
1163
|
{
|
|
1022
1164
|
name: "useFavicon",
|
|
1023
1165
|
"package": "core",
|
|
1024
|
-
lastUpdated:
|
|
1166
|
+
lastUpdated: 1657634950000,
|
|
1025
1167
|
docs: "https://vueuse.org/core/useFavicon/",
|
|
1026
1168
|
category: "Browser",
|
|
1027
1169
|
description: "reactive favicon"
|
|
@@ -1029,7 +1171,7 @@ var functions$1 = [
|
|
|
1029
1171
|
{
|
|
1030
1172
|
name: "useFetch",
|
|
1031
1173
|
"package": "core",
|
|
1032
|
-
lastUpdated:
|
|
1174
|
+
lastUpdated: 1657259100000,
|
|
1033
1175
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1034
1176
|
category: "Network",
|
|
1035
1177
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1037,7 +1179,7 @@ var functions$1 = [
|
|
|
1037
1179
|
{
|
|
1038
1180
|
name: "useFileDialog",
|
|
1039
1181
|
"package": "core",
|
|
1040
|
-
lastUpdated:
|
|
1182
|
+
lastUpdated: 1657953065000,
|
|
1041
1183
|
docs: "https://vueuse.org/core/useFileDialog/",
|
|
1042
1184
|
category: "Browser",
|
|
1043
1185
|
description: "open file dialog with ease"
|
|
@@ -1045,7 +1187,7 @@ var functions$1 = [
|
|
|
1045
1187
|
{
|
|
1046
1188
|
name: "useFileSystemAccess",
|
|
1047
1189
|
"package": "core",
|
|
1048
|
-
lastUpdated:
|
|
1190
|
+
lastUpdated: 1657430593000,
|
|
1049
1191
|
docs: "https://vueuse.org/core/useFileSystemAccess/",
|
|
1050
1192
|
category: "Browser",
|
|
1051
1193
|
description: "create and read and write local files with [FileSystemAccessAPI](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)"
|
|
@@ -1056,7 +1198,16 @@ var functions$1 = [
|
|
|
1056
1198
|
lastUpdated: 1655284952000,
|
|
1057
1199
|
docs: "https://vueuse.org/firebase/useFirestore/",
|
|
1058
1200
|
category: "@Firebase",
|
|
1059
|
-
description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding"
|
|
1201
|
+
description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding",
|
|
1202
|
+
importPath: "firebase/useFirestore"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
name: "useFloor",
|
|
1206
|
+
"package": "math",
|
|
1207
|
+
lastUpdated: 1657638060000,
|
|
1208
|
+
docs: "https://vueuse.org/math/useFloor/",
|
|
1209
|
+
category: "@Math",
|
|
1210
|
+
description: "reactive `Math.floor`"
|
|
1060
1211
|
},
|
|
1061
1212
|
{
|
|
1062
1213
|
name: "useFocus",
|
|
@@ -1073,12 +1224,13 @@ var functions$1 = [
|
|
|
1073
1224
|
component: true,
|
|
1074
1225
|
docs: "https://vueuse.org/integrations/useFocusTrap/",
|
|
1075
1226
|
category: "@Integrations",
|
|
1076
|
-
description: "reactive wrapper for [`focus-trap`](https://github.com/focus-trap/focus-trap)"
|
|
1227
|
+
description: "reactive wrapper for [`focus-trap`](https://github.com/focus-trap/focus-trap)",
|
|
1228
|
+
importPath: "integrations/useFocusTrap"
|
|
1077
1229
|
},
|
|
1078
1230
|
{
|
|
1079
1231
|
name: "useFocusWithin",
|
|
1080
1232
|
"package": "core",
|
|
1081
|
-
lastUpdated:
|
|
1233
|
+
lastUpdated: 1657634936000,
|
|
1082
1234
|
docs: "https://vueuse.org/core/useFocusWithin/",
|
|
1083
1235
|
category: "Sensors",
|
|
1084
1236
|
description: "reactive utility to track if an element or one of its decendants has focus"
|
|
@@ -1094,7 +1246,7 @@ var functions$1 = [
|
|
|
1094
1246
|
{
|
|
1095
1247
|
name: "useFullscreen",
|
|
1096
1248
|
"package": "core",
|
|
1097
|
-
lastUpdated:
|
|
1249
|
+
lastUpdated: 1657430593000,
|
|
1098
1250
|
component: true,
|
|
1099
1251
|
docs: "https://vueuse.org/core/useFullscreen/",
|
|
1100
1252
|
category: "Browser",
|
|
@@ -1103,15 +1255,16 @@ var functions$1 = [
|
|
|
1103
1255
|
{
|
|
1104
1256
|
name: "useFuse",
|
|
1105
1257
|
"package": "integrations",
|
|
1106
|
-
lastUpdated:
|
|
1258
|
+
lastUpdated: 1657259100000,
|
|
1107
1259
|
docs: "https://vueuse.org/integrations/useFuse/",
|
|
1108
1260
|
category: "@Integrations",
|
|
1109
|
-
description: "easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse)"
|
|
1261
|
+
description: "easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse)",
|
|
1262
|
+
importPath: "integrations/useFuse"
|
|
1110
1263
|
},
|
|
1111
1264
|
{
|
|
1112
1265
|
name: "useGamepad",
|
|
1113
1266
|
"package": "core",
|
|
1114
|
-
lastUpdated:
|
|
1267
|
+
lastUpdated: 1658083596000,
|
|
1115
1268
|
docs: "https://vueuse.org/core/useGamepad/",
|
|
1116
1269
|
category: "Browser",
|
|
1117
1270
|
description: "provides reactive bindings for the [Gamepad API](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API)"
|
|
@@ -1119,7 +1272,7 @@ var functions$1 = [
|
|
|
1119
1272
|
{
|
|
1120
1273
|
name: "useGeolocation",
|
|
1121
1274
|
"package": "core",
|
|
1122
|
-
lastUpdated:
|
|
1275
|
+
lastUpdated: 1657638032000,
|
|
1123
1276
|
component: true,
|
|
1124
1277
|
docs: "https://vueuse.org/core/useGeolocation/",
|
|
1125
1278
|
category: "Sensors",
|
|
@@ -1135,7 +1288,7 @@ var functions$1 = [
|
|
|
1135
1288
|
{
|
|
1136
1289
|
name: "useIdle",
|
|
1137
1290
|
"package": "core",
|
|
1138
|
-
lastUpdated:
|
|
1291
|
+
lastUpdated: 1657638023000,
|
|
1139
1292
|
component: true,
|
|
1140
1293
|
docs: "https://vueuse.org/core/useIdle/",
|
|
1141
1294
|
category: "Sensors",
|
|
@@ -1144,7 +1297,7 @@ var functions$1 = [
|
|
|
1144
1297
|
{
|
|
1145
1298
|
name: "useImage",
|
|
1146
1299
|
"package": "core",
|
|
1147
|
-
lastUpdated:
|
|
1300
|
+
lastUpdated: 1658083596000,
|
|
1148
1301
|
component: true,
|
|
1149
1302
|
docs: "https://vueuse.org/core/useImage/",
|
|
1150
1303
|
category: "Browser",
|
|
@@ -1153,7 +1306,7 @@ var functions$1 = [
|
|
|
1153
1306
|
{
|
|
1154
1307
|
name: "useInfiniteScroll",
|
|
1155
1308
|
"package": "core",
|
|
1156
|
-
lastUpdated:
|
|
1309
|
+
lastUpdated: 1658043158000,
|
|
1157
1310
|
directive: true,
|
|
1158
1311
|
docs: "https://vueuse.org/core/useInfiniteScroll/",
|
|
1159
1312
|
category: "Sensors",
|
|
@@ -1162,7 +1315,7 @@ var functions$1 = [
|
|
|
1162
1315
|
{
|
|
1163
1316
|
name: "useIntersectionObserver",
|
|
1164
1317
|
"package": "core",
|
|
1165
|
-
lastUpdated:
|
|
1318
|
+
lastUpdated: 1657637968000,
|
|
1166
1319
|
directive: true,
|
|
1167
1320
|
docs: "https://vueuse.org/core/useIntersectionObserver/",
|
|
1168
1321
|
category: "Elements",
|
|
@@ -1171,7 +1324,7 @@ var functions$1 = [
|
|
|
1171
1324
|
{
|
|
1172
1325
|
name: "useInterval",
|
|
1173
1326
|
"package": "shared",
|
|
1174
|
-
lastUpdated:
|
|
1327
|
+
lastUpdated: 1658083621000,
|
|
1175
1328
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1176
1329
|
category: "Animation",
|
|
1177
1330
|
description: "reactive counter increases on every interval"
|
|
@@ -1179,7 +1332,7 @@ var functions$1 = [
|
|
|
1179
1332
|
{
|
|
1180
1333
|
name: "useIntervalFn",
|
|
1181
1334
|
"package": "shared",
|
|
1182
|
-
lastUpdated:
|
|
1335
|
+
lastUpdated: 1658083607000,
|
|
1183
1336
|
docs: "https://vueuse.org/shared/useIntervalFn/",
|
|
1184
1337
|
category: "Animation",
|
|
1185
1338
|
description: "wrapper for `setInterval` with controls"
|
|
@@ -1211,15 +1364,16 @@ var functions$1 = [
|
|
|
1211
1364
|
{
|
|
1212
1365
|
name: "useJwt",
|
|
1213
1366
|
"package": "integrations",
|
|
1214
|
-
lastUpdated:
|
|
1367
|
+
lastUpdated: 1657730911000,
|
|
1215
1368
|
docs: "https://vueuse.org/integrations/useJwt/",
|
|
1216
1369
|
category: "@Integrations",
|
|
1217
|
-
description: "wrapper for [`jwt-decode`](https://github.com/auth0/jwt-decode)"
|
|
1370
|
+
description: "wrapper for [`jwt-decode`](https://github.com/auth0/jwt-decode)",
|
|
1371
|
+
importPath: "integrations/useJwt"
|
|
1218
1372
|
},
|
|
1219
1373
|
{
|
|
1220
1374
|
name: "useKeyModifier",
|
|
1221
1375
|
"package": "core",
|
|
1222
|
-
lastUpdated:
|
|
1376
|
+
lastUpdated: 1657638042000,
|
|
1223
1377
|
docs: "https://vueuse.org/core/useKeyModifier/",
|
|
1224
1378
|
category: "Sensors",
|
|
1225
1379
|
description: "reactive [Modifier State](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"
|
|
@@ -1235,15 +1389,18 @@ var functions$1 = [
|
|
|
1235
1389
|
{
|
|
1236
1390
|
name: "useLocalStorage",
|
|
1237
1391
|
"package": "core",
|
|
1238
|
-
lastUpdated:
|
|
1392
|
+
lastUpdated: 1657634978000,
|
|
1239
1393
|
docs: "https://vueuse.org/core/useLocalStorage/",
|
|
1240
1394
|
category: "State",
|
|
1241
|
-
description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)"
|
|
1395
|
+
description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)",
|
|
1396
|
+
related: [
|
|
1397
|
+
"useStorage"
|
|
1398
|
+
]
|
|
1242
1399
|
},
|
|
1243
1400
|
{
|
|
1244
1401
|
name: "useMagicKeys",
|
|
1245
1402
|
"package": "core",
|
|
1246
|
-
lastUpdated:
|
|
1403
|
+
lastUpdated: 1657814222000,
|
|
1247
1404
|
docs: "https://vueuse.org/core/useMagicKeys/",
|
|
1248
1405
|
category: "Sensors",
|
|
1249
1406
|
description: "reactive keys pressed state"
|
|
@@ -1254,12 +1411,31 @@ var functions$1 = [
|
|
|
1254
1411
|
lastUpdated: 1651597361000,
|
|
1255
1412
|
docs: "https://vueuse.org/core/useManualRefHistory/",
|
|
1256
1413
|
category: "State",
|
|
1257
|
-
description: "manually track the change history of a ref when the using calls `commit()`"
|
|
1414
|
+
description: "manually track the change history of a ref when the using calls `commit()`",
|
|
1415
|
+
related: [
|
|
1416
|
+
"useRefHistory"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
name: "useMath",
|
|
1421
|
+
"package": "math",
|
|
1422
|
+
lastUpdated: 1658042869000,
|
|
1423
|
+
docs: "https://vueuse.org/math/useMath/",
|
|
1424
|
+
category: "@Math",
|
|
1425
|
+
description: "reactive `Math` methods"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
name: "useMax",
|
|
1429
|
+
"package": "math",
|
|
1430
|
+
lastUpdated: 1658041190000,
|
|
1431
|
+
docs: "https://vueuse.org/math/useMax/",
|
|
1432
|
+
category: "@Math",
|
|
1433
|
+
description: "reactive `Math.max`"
|
|
1258
1434
|
},
|
|
1259
1435
|
{
|
|
1260
1436
|
name: "useMediaControls",
|
|
1261
1437
|
"package": "core",
|
|
1262
|
-
lastUpdated:
|
|
1438
|
+
lastUpdated: 1657259100000,
|
|
1263
1439
|
docs: "https://vueuse.org/core/useMediaControls/",
|
|
1264
1440
|
category: "Browser",
|
|
1265
1441
|
description: "reactive media controls for both `audio` and `video` elements"
|
|
@@ -1267,7 +1443,7 @@ var functions$1 = [
|
|
|
1267
1443
|
{
|
|
1268
1444
|
name: "useMediaQuery",
|
|
1269
1445
|
"package": "core",
|
|
1270
|
-
lastUpdated:
|
|
1446
|
+
lastUpdated: 1657430593000,
|
|
1271
1447
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1272
1448
|
category: "Browser",
|
|
1273
1449
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1275,7 +1451,7 @@ var functions$1 = [
|
|
|
1275
1451
|
{
|
|
1276
1452
|
name: "useMemoize",
|
|
1277
1453
|
"package": "core",
|
|
1278
|
-
lastUpdated:
|
|
1454
|
+
lastUpdated: 1657638008000,
|
|
1279
1455
|
docs: "https://vueuse.org/core/useMemoize/",
|
|
1280
1456
|
category: "Utilities",
|
|
1281
1457
|
description: "cache results of functions depending on arguments and keep it reactive"
|
|
@@ -1283,11 +1459,19 @@ var functions$1 = [
|
|
|
1283
1459
|
{
|
|
1284
1460
|
name: "useMemory",
|
|
1285
1461
|
"package": "core",
|
|
1286
|
-
lastUpdated:
|
|
1462
|
+
lastUpdated: 1658083607000,
|
|
1287
1463
|
docs: "https://vueuse.org/core/useMemory/",
|
|
1288
1464
|
category: "Browser",
|
|
1289
1465
|
description: "reactive Memory Info"
|
|
1290
1466
|
},
|
|
1467
|
+
{
|
|
1468
|
+
name: "useMin",
|
|
1469
|
+
"package": "math",
|
|
1470
|
+
lastUpdated: 1658041610000,
|
|
1471
|
+
docs: "https://vueuse.org/math/useMin/",
|
|
1472
|
+
category: "@Math",
|
|
1473
|
+
description: "reactive `Math.min`"
|
|
1474
|
+
},
|
|
1291
1475
|
{
|
|
1292
1476
|
"package": "motion",
|
|
1293
1477
|
category: "@Motion",
|
|
@@ -1320,7 +1504,7 @@ var functions$1 = [
|
|
|
1320
1504
|
{
|
|
1321
1505
|
name: "useMouse",
|
|
1322
1506
|
"package": "core",
|
|
1323
|
-
lastUpdated:
|
|
1507
|
+
lastUpdated: 1657643692000,
|
|
1324
1508
|
component: true,
|
|
1325
1509
|
docs: "https://vueuse.org/core/useMouse/",
|
|
1326
1510
|
category: "Sensors",
|
|
@@ -1329,7 +1513,7 @@ var functions$1 = [
|
|
|
1329
1513
|
{
|
|
1330
1514
|
name: "useMouseInElement",
|
|
1331
1515
|
"package": "core",
|
|
1332
|
-
lastUpdated:
|
|
1516
|
+
lastUpdated: 1657643692000,
|
|
1333
1517
|
component: true,
|
|
1334
1518
|
docs: "https://vueuse.org/core/useMouseInElement/",
|
|
1335
1519
|
category: "Elements",
|
|
@@ -1347,7 +1531,7 @@ var functions$1 = [
|
|
|
1347
1531
|
{
|
|
1348
1532
|
name: "useMutationObserver",
|
|
1349
1533
|
"package": "core",
|
|
1350
|
-
lastUpdated:
|
|
1534
|
+
lastUpdated: 1657718877000,
|
|
1351
1535
|
docs: "https://vueuse.org/core/useMutationObserver/",
|
|
1352
1536
|
category: "Elements",
|
|
1353
1537
|
description: "watch for changes being made to the DOM tree"
|
|
@@ -1355,7 +1539,7 @@ var functions$1 = [
|
|
|
1355
1539
|
{
|
|
1356
1540
|
name: "useNavigatorLanguage",
|
|
1357
1541
|
"package": "core",
|
|
1358
|
-
lastUpdated:
|
|
1542
|
+
lastUpdated: 1657430593000,
|
|
1359
1543
|
docs: "https://vueuse.org/core/useNavigatorLanguage/",
|
|
1360
1544
|
category: "Sensors",
|
|
1361
1545
|
description: "reactive [navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)"
|
|
@@ -1363,7 +1547,7 @@ var functions$1 = [
|
|
|
1363
1547
|
{
|
|
1364
1548
|
name: "useNetwork",
|
|
1365
1549
|
"package": "core",
|
|
1366
|
-
lastUpdated:
|
|
1550
|
+
lastUpdated: 1658083596000,
|
|
1367
1551
|
component: true,
|
|
1368
1552
|
docs: "https://vueuse.org/core/useNetwork/",
|
|
1369
1553
|
category: "Sensors",
|
|
@@ -1381,10 +1565,11 @@ var functions$1 = [
|
|
|
1381
1565
|
{
|
|
1382
1566
|
name: "useNProgress",
|
|
1383
1567
|
"package": "integrations",
|
|
1384
|
-
lastUpdated:
|
|
1568
|
+
lastUpdated: 1658083596000,
|
|
1385
1569
|
docs: "https://vueuse.org/integrations/useNProgress/",
|
|
1386
1570
|
category: "@Integrations",
|
|
1387
|
-
description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)"
|
|
1571
|
+
description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)",
|
|
1572
|
+
importPath: "integrations/useNProgress"
|
|
1388
1573
|
},
|
|
1389
1574
|
{
|
|
1390
1575
|
name: "useObjectUrl",
|
|
@@ -1406,7 +1591,7 @@ var functions$1 = [
|
|
|
1406
1591
|
{
|
|
1407
1592
|
name: "useOffsetPagination",
|
|
1408
1593
|
"package": "core",
|
|
1409
|
-
lastUpdated:
|
|
1594
|
+
lastUpdated: 1658163976000,
|
|
1410
1595
|
component: true,
|
|
1411
1596
|
docs: "https://vueuse.org/core/useOffsetPagination/",
|
|
1412
1597
|
category: "Utilities",
|
|
@@ -1433,7 +1618,7 @@ var functions$1 = [
|
|
|
1433
1618
|
{
|
|
1434
1619
|
name: "useParallax",
|
|
1435
1620
|
"package": "core",
|
|
1436
|
-
lastUpdated:
|
|
1621
|
+
lastUpdated: 1657718913000,
|
|
1437
1622
|
docs: "https://vueuse.org/core/useParallax/",
|
|
1438
1623
|
category: "Sensors",
|
|
1439
1624
|
description: "create parallax effect easily"
|
|
@@ -1441,15 +1626,18 @@ var functions$1 = [
|
|
|
1441
1626
|
{
|
|
1442
1627
|
name: "usePermission",
|
|
1443
1628
|
"package": "core",
|
|
1444
|
-
lastUpdated:
|
|
1629
|
+
lastUpdated: 1657430593000,
|
|
1445
1630
|
docs: "https://vueuse.org/core/usePermission/",
|
|
1446
1631
|
category: "Browser",
|
|
1447
|
-
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)"
|
|
1632
|
+
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)",
|
|
1633
|
+
related: [
|
|
1634
|
+
"useUserMedia"
|
|
1635
|
+
]
|
|
1448
1636
|
},
|
|
1449
1637
|
{
|
|
1450
1638
|
name: "usePointer",
|
|
1451
1639
|
"package": "core",
|
|
1452
|
-
lastUpdated:
|
|
1640
|
+
lastUpdated: 1658083596000,
|
|
1453
1641
|
component: true,
|
|
1454
1642
|
docs: "https://vueuse.org/core/usePointer/",
|
|
1455
1643
|
category: "Sensors",
|
|
@@ -1458,7 +1646,7 @@ var functions$1 = [
|
|
|
1458
1646
|
{
|
|
1459
1647
|
name: "usePointerSwipe",
|
|
1460
1648
|
"package": "core",
|
|
1461
|
-
lastUpdated:
|
|
1649
|
+
lastUpdated: 1657718938000,
|
|
1462
1650
|
docs: "https://vueuse.org/core/usePointerSwipe/",
|
|
1463
1651
|
category: "Sensors",
|
|
1464
1652
|
description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
|
|
@@ -1494,18 +1682,31 @@ var functions$1 = [
|
|
|
1494
1682
|
category: "Browser",
|
|
1495
1683
|
description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
|
|
1496
1684
|
},
|
|
1685
|
+
{
|
|
1686
|
+
name: "useProjection",
|
|
1687
|
+
"package": "math",
|
|
1688
|
+
lastUpdated: 1657638060000,
|
|
1689
|
+
docs: "https://vueuse.org/math/useProjection/",
|
|
1690
|
+
category: "@Math",
|
|
1691
|
+
description: "reactive numeric projection from one domain to another",
|
|
1692
|
+
related: [
|
|
1693
|
+
"createGenericProjection",
|
|
1694
|
+
"createProjection"
|
|
1695
|
+
]
|
|
1696
|
+
},
|
|
1497
1697
|
{
|
|
1498
1698
|
name: "useQRCode",
|
|
1499
1699
|
"package": "integrations",
|
|
1500
|
-
lastUpdated:
|
|
1700
|
+
lastUpdated: 1657259100000,
|
|
1501
1701
|
docs: "https://vueuse.org/integrations/useQRCode/",
|
|
1502
1702
|
category: "@Integrations",
|
|
1503
|
-
description: "wrapper for [`qrcode`](https://github.com/soldair/node-qrcode)"
|
|
1703
|
+
description: "wrapper for [`qrcode`](https://github.com/soldair/node-qrcode)",
|
|
1704
|
+
importPath: "integrations/useQRCode"
|
|
1504
1705
|
},
|
|
1505
1706
|
{
|
|
1506
1707
|
name: "useRafFn",
|
|
1507
1708
|
"package": "core",
|
|
1508
|
-
lastUpdated:
|
|
1709
|
+
lastUpdated: 1657718952000,
|
|
1509
1710
|
docs: "https://vueuse.org/core/useRafFn/",
|
|
1510
1711
|
category: "Animation",
|
|
1511
1712
|
description: "call function on every `requestAnimationFrame`"
|
|
@@ -1518,17 +1719,27 @@ var functions$1 = [
|
|
|
1518
1719
|
category: "State",
|
|
1519
1720
|
description: "track the change history of a ref",
|
|
1520
1721
|
related: [
|
|
1521
|
-
"useDebouncedRefHistory"
|
|
1722
|
+
"useDebouncedRefHistory",
|
|
1723
|
+
"useManualRefHistory",
|
|
1724
|
+
"useThrottledRefHistory"
|
|
1522
1725
|
]
|
|
1523
1726
|
},
|
|
1524
1727
|
{
|
|
1525
1728
|
name: "useResizeObserver",
|
|
1526
1729
|
"package": "core",
|
|
1527
|
-
lastUpdated:
|
|
1730
|
+
lastUpdated: 1657634277000,
|
|
1528
1731
|
docs: "https://vueuse.org/core/useResizeObserver/",
|
|
1529
1732
|
category: "Elements",
|
|
1530
1733
|
description: "reports changes to the dimensions of an Element's content or the border-box"
|
|
1531
1734
|
},
|
|
1735
|
+
{
|
|
1736
|
+
name: "useRound",
|
|
1737
|
+
"package": "math",
|
|
1738
|
+
lastUpdated: 1657638060000,
|
|
1739
|
+
docs: "https://vueuse.org/math/useRound/",
|
|
1740
|
+
category: "@Math",
|
|
1741
|
+
description: "reactive `Math.round`"
|
|
1742
|
+
},
|
|
1532
1743
|
{
|
|
1533
1744
|
name: "useRouteHash",
|
|
1534
1745
|
"package": "router",
|
|
@@ -1556,10 +1767,11 @@ var functions$1 = [
|
|
|
1556
1767
|
{
|
|
1557
1768
|
name: "useRTDB",
|
|
1558
1769
|
"package": "firebase",
|
|
1559
|
-
lastUpdated:
|
|
1770
|
+
lastUpdated: 1657732317000,
|
|
1560
1771
|
docs: "https://vueuse.org/firebase/useRTDB/",
|
|
1561
1772
|
category: "@Firebase",
|
|
1562
|
-
description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding"
|
|
1773
|
+
description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
|
|
1774
|
+
importPath: "firebase/useRTDB"
|
|
1563
1775
|
},
|
|
1564
1776
|
{
|
|
1565
1777
|
name: "useSchemaOrg",
|
|
@@ -1571,7 +1783,7 @@ var functions$1 = [
|
|
|
1571
1783
|
{
|
|
1572
1784
|
name: "useScreenOrientation",
|
|
1573
1785
|
"package": "core",
|
|
1574
|
-
lastUpdated:
|
|
1786
|
+
lastUpdated: 1657430593000,
|
|
1575
1787
|
docs: "https://vueuse.org/core/useScreenOrientation/",
|
|
1576
1788
|
category: "Browser",
|
|
1577
1789
|
description: "reactive [Screen Orientation API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Orientation_API)"
|
|
@@ -1588,7 +1800,7 @@ var functions$1 = [
|
|
|
1588
1800
|
{
|
|
1589
1801
|
name: "useScriptTag",
|
|
1590
1802
|
"package": "core",
|
|
1591
|
-
lastUpdated:
|
|
1803
|
+
lastUpdated: 1657259100000,
|
|
1592
1804
|
docs: "https://vueuse.org/core/useScriptTag/",
|
|
1593
1805
|
category: "Browser",
|
|
1594
1806
|
description: "script tag injecting"
|
|
@@ -1596,7 +1808,7 @@ var functions$1 = [
|
|
|
1596
1808
|
{
|
|
1597
1809
|
name: "useScroll",
|
|
1598
1810
|
"package": "core",
|
|
1599
|
-
lastUpdated:
|
|
1811
|
+
lastUpdated: 1657259100000,
|
|
1600
1812
|
directive: true,
|
|
1601
1813
|
docs: "https://vueuse.org/core/useScroll/",
|
|
1602
1814
|
category: "Sensors",
|
|
@@ -1605,7 +1817,7 @@ var functions$1 = [
|
|
|
1605
1817
|
{
|
|
1606
1818
|
name: "useScrollLock",
|
|
1607
1819
|
"package": "core",
|
|
1608
|
-
lastUpdated:
|
|
1820
|
+
lastUpdated: 1657259100000,
|
|
1609
1821
|
directive: true,
|
|
1610
1822
|
docs: "https://vueuse.org/core/useScrollLock/",
|
|
1611
1823
|
category: "Sensors",
|
|
@@ -1614,15 +1826,18 @@ var functions$1 = [
|
|
|
1614
1826
|
{
|
|
1615
1827
|
name: "useSessionStorage",
|
|
1616
1828
|
"package": "core",
|
|
1617
|
-
lastUpdated:
|
|
1829
|
+
lastUpdated: 1657634978000,
|
|
1618
1830
|
docs: "https://vueuse.org/core/useSessionStorage/",
|
|
1619
1831
|
category: "State",
|
|
1620
|
-
description: "reactive [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)"
|
|
1832
|
+
description: "reactive [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)",
|
|
1833
|
+
related: [
|
|
1834
|
+
"useStorage"
|
|
1835
|
+
]
|
|
1621
1836
|
},
|
|
1622
1837
|
{
|
|
1623
1838
|
name: "useShare",
|
|
1624
1839
|
"package": "core",
|
|
1625
|
-
lastUpdated:
|
|
1840
|
+
lastUpdated: 1657718983000,
|
|
1626
1841
|
docs: "https://vueuse.org/core/useShare/",
|
|
1627
1842
|
category: "Browser",
|
|
1628
1843
|
description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
|
|
@@ -1637,7 +1852,7 @@ var functions$1 = [
|
|
|
1637
1852
|
{
|
|
1638
1853
|
name: "useSpeechRecognition",
|
|
1639
1854
|
"package": "core",
|
|
1640
|
-
lastUpdated:
|
|
1855
|
+
lastUpdated: 1657719060000,
|
|
1641
1856
|
docs: "https://vueuse.org/core/useSpeechRecognition/",
|
|
1642
1857
|
category: "Sensors",
|
|
1643
1858
|
description: "reactive [SpeechRecognition](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)"
|
|
@@ -1645,7 +1860,7 @@ var functions$1 = [
|
|
|
1645
1860
|
{
|
|
1646
1861
|
name: "useSpeechSynthesis",
|
|
1647
1862
|
"package": "core",
|
|
1648
|
-
lastUpdated:
|
|
1863
|
+
lastUpdated: 1658083561000,
|
|
1649
1864
|
docs: "https://vueuse.org/core/useSpeechSynthesis/",
|
|
1650
1865
|
category: "Sensors",
|
|
1651
1866
|
description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
|
|
@@ -1668,22 +1883,28 @@ var functions$1 = [
|
|
|
1668
1883
|
{
|
|
1669
1884
|
name: "useStorage",
|
|
1670
1885
|
"package": "core",
|
|
1671
|
-
lastUpdated:
|
|
1886
|
+
lastUpdated: 1657634978000,
|
|
1672
1887
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1673
1888
|
category: "State",
|
|
1674
1889
|
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)",
|
|
1675
1890
|
related: [
|
|
1676
1891
|
"useColorMode",
|
|
1677
|
-
"useDark"
|
|
1892
|
+
"useDark",
|
|
1893
|
+
"useLocalStorage",
|
|
1894
|
+
"useSessionStorage",
|
|
1895
|
+
"useStorageAsync"
|
|
1678
1896
|
]
|
|
1679
1897
|
},
|
|
1680
1898
|
{
|
|
1681
1899
|
name: "useStorageAsync",
|
|
1682
1900
|
"package": "core",
|
|
1683
|
-
lastUpdated:
|
|
1901
|
+
lastUpdated: 1657718694000,
|
|
1684
1902
|
docs: "https://vueuse.org/core/useStorageAsync/",
|
|
1685
1903
|
category: "State",
|
|
1686
|
-
description: "reactive Storage in with async support"
|
|
1904
|
+
description: "reactive Storage in with async support",
|
|
1905
|
+
related: [
|
|
1906
|
+
"useStorage"
|
|
1907
|
+
]
|
|
1687
1908
|
},
|
|
1688
1909
|
{
|
|
1689
1910
|
name: "useStyleTag",
|
|
@@ -1709,10 +1930,26 @@ var functions$1 = [
|
|
|
1709
1930
|
category: "@RxJS",
|
|
1710
1931
|
description: "uses subscriptions without worry about unsubscribing to it or memory leaks"
|
|
1711
1932
|
},
|
|
1933
|
+
{
|
|
1934
|
+
name: "useSum",
|
|
1935
|
+
"package": "math",
|
|
1936
|
+
lastUpdated: 1658041190000,
|
|
1937
|
+
docs: "https://vueuse.org/math/useSum/",
|
|
1938
|
+
category: "@Math",
|
|
1939
|
+
description: "get the sum of an array reactively"
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
name: "useSupported",
|
|
1943
|
+
"package": "core",
|
|
1944
|
+
lastUpdated: 1657430593000,
|
|
1945
|
+
docs: "https://vueuse.org/core/useSupported/",
|
|
1946
|
+
category: "Utilities",
|
|
1947
|
+
description: "sSR compatibility `isSupported`"
|
|
1948
|
+
},
|
|
1712
1949
|
{
|
|
1713
1950
|
name: "useSwipe",
|
|
1714
1951
|
"package": "core",
|
|
1715
|
-
lastUpdated:
|
|
1952
|
+
lastUpdated: 1657721393000,
|
|
1716
1953
|
docs: "https://vueuse.org/core/useSwipe/",
|
|
1717
1954
|
category: "Sensors",
|
|
1718
1955
|
description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
|
|
@@ -1728,7 +1965,7 @@ var functions$1 = [
|
|
|
1728
1965
|
{
|
|
1729
1966
|
name: "useTextareaAutosize",
|
|
1730
1967
|
"package": "core",
|
|
1731
|
-
lastUpdated:
|
|
1968
|
+
lastUpdated: 1658083596000,
|
|
1732
1969
|
docs: "https://vueuse.org/core/useTextareaAutosize/",
|
|
1733
1970
|
category: "Browser",
|
|
1734
1971
|
description: "automatically update the height of a textarea depending on the content"
|
|
@@ -1744,26 +1981,32 @@ var functions$1 = [
|
|
|
1744
1981
|
{
|
|
1745
1982
|
name: "useThrottledRefHistory",
|
|
1746
1983
|
"package": "core",
|
|
1747
|
-
lastUpdated:
|
|
1984
|
+
lastUpdated: 1658083596000,
|
|
1748
1985
|
docs: "https://vueuse.org/core/useThrottledRefHistory/",
|
|
1749
1986
|
category: "State",
|
|
1750
1987
|
description: "shorthand for `useRefHistory` with throttled filter",
|
|
1751
1988
|
related: [
|
|
1752
|
-
"useDebouncedRefHistory"
|
|
1989
|
+
"useDebouncedRefHistory",
|
|
1990
|
+
"useRefHistory"
|
|
1753
1991
|
]
|
|
1754
1992
|
},
|
|
1755
1993
|
{
|
|
1756
1994
|
name: "useThrottleFn",
|
|
1757
1995
|
"package": "shared",
|
|
1758
|
-
lastUpdated:
|
|
1996
|
+
lastUpdated: 1657259100000,
|
|
1759
1997
|
docs: "https://vueuse.org/shared/useThrottleFn/",
|
|
1760
1998
|
category: "Utilities",
|
|
1761
|
-
description: "throttle execution of a function"
|
|
1999
|
+
description: "throttle execution of a function",
|
|
2000
|
+
related: [
|
|
2001
|
+
"refDebounced",
|
|
2002
|
+
"refThrottled",
|
|
2003
|
+
"useDebounceFn"
|
|
2004
|
+
]
|
|
1762
2005
|
},
|
|
1763
2006
|
{
|
|
1764
2007
|
name: "useTimeAgo",
|
|
1765
2008
|
"package": "core",
|
|
1766
|
-
lastUpdated:
|
|
2009
|
+
lastUpdated: 1658083596000,
|
|
1767
2010
|
component: true,
|
|
1768
2011
|
docs: "https://vueuse.org/core/useTimeAgo/",
|
|
1769
2012
|
category: "Misc",
|
|
@@ -1772,7 +2015,7 @@ var functions$1 = [
|
|
|
1772
2015
|
{
|
|
1773
2016
|
name: "useTimeout",
|
|
1774
2017
|
"package": "shared",
|
|
1775
|
-
lastUpdated:
|
|
2018
|
+
lastUpdated: 1658083632000,
|
|
1776
2019
|
docs: "https://vueuse.org/shared/useTimeout/",
|
|
1777
2020
|
category: "Animation",
|
|
1778
2021
|
description: "update value after a given time with controls"
|
|
@@ -1780,7 +2023,7 @@ var functions$1 = [
|
|
|
1780
2023
|
{
|
|
1781
2024
|
name: "useTimeoutFn",
|
|
1782
2025
|
"package": "shared",
|
|
1783
|
-
lastUpdated:
|
|
2026
|
+
lastUpdated: 1658083632000,
|
|
1784
2027
|
docs: "https://vueuse.org/shared/useTimeoutFn/",
|
|
1785
2028
|
category: "Animation",
|
|
1786
2029
|
description: "wrapper for `setTimeout` with controls"
|
|
@@ -1788,7 +2031,7 @@ var functions$1 = [
|
|
|
1788
2031
|
{
|
|
1789
2032
|
name: "useTimeoutPoll",
|
|
1790
2033
|
"package": "core",
|
|
1791
|
-
lastUpdated:
|
|
2034
|
+
lastUpdated: 1658083632000,
|
|
1792
2035
|
docs: "https://vueuse.org/core/useTimeoutPoll/",
|
|
1793
2036
|
category: "Utilities",
|
|
1794
2037
|
description: "use timeout to poll something"
|
|
@@ -1796,7 +2039,7 @@ var functions$1 = [
|
|
|
1796
2039
|
{
|
|
1797
2040
|
name: "useTimestamp",
|
|
1798
2041
|
"package": "core",
|
|
1799
|
-
lastUpdated:
|
|
2042
|
+
lastUpdated: 1657730635000,
|
|
1800
2043
|
component: true,
|
|
1801
2044
|
docs: "https://vueuse.org/core/useTimestamp/",
|
|
1802
2045
|
category: "Animation",
|
|
@@ -1805,7 +2048,7 @@ var functions$1 = [
|
|
|
1805
2048
|
{
|
|
1806
2049
|
name: "useTitle",
|
|
1807
2050
|
"package": "core",
|
|
1808
|
-
lastUpdated:
|
|
2051
|
+
lastUpdated: 1657259100000,
|
|
1809
2052
|
docs: "https://vueuse.org/core/useTitle/",
|
|
1810
2053
|
category: "Browser",
|
|
1811
2054
|
description: "reactive document title"
|
|
@@ -1813,7 +2056,7 @@ var functions$1 = [
|
|
|
1813
2056
|
{
|
|
1814
2057
|
name: "useToggle",
|
|
1815
2058
|
"package": "shared",
|
|
1816
|
-
lastUpdated:
|
|
2059
|
+
lastUpdated: 1657259100000,
|
|
1817
2060
|
docs: "https://vueuse.org/shared/useToggle/",
|
|
1818
2061
|
category: "Utilities",
|
|
1819
2062
|
description: "a boolean switcher with utility functions"
|
|
@@ -1821,11 +2064,19 @@ var functions$1 = [
|
|
|
1821
2064
|
{
|
|
1822
2065
|
name: "useTransition",
|
|
1823
2066
|
"package": "core",
|
|
1824
|
-
lastUpdated:
|
|
2067
|
+
lastUpdated: 1657730647000,
|
|
1825
2068
|
docs: "https://vueuse.org/core/useTransition/",
|
|
1826
2069
|
category: "Animation",
|
|
1827
2070
|
description: "transition between values"
|
|
1828
2071
|
},
|
|
2072
|
+
{
|
|
2073
|
+
name: "useTrunc",
|
|
2074
|
+
"package": "math",
|
|
2075
|
+
lastUpdated: 1658043525000,
|
|
2076
|
+
docs: "https://vueuse.org/math/useTrunc/",
|
|
2077
|
+
category: "@Math",
|
|
2078
|
+
description: "reactive `Math.trunc`"
|
|
2079
|
+
},
|
|
1829
2080
|
{
|
|
1830
2081
|
name: "useUrlSearchParams",
|
|
1831
2082
|
"package": "core",
|
|
@@ -1837,18 +2088,20 @@ var functions$1 = [
|
|
|
1837
2088
|
{
|
|
1838
2089
|
name: "useUserMedia",
|
|
1839
2090
|
"package": "core",
|
|
1840
|
-
lastUpdated:
|
|
2091
|
+
lastUpdated: 1657430593000,
|
|
1841
2092
|
docs: "https://vueuse.org/core/useUserMedia/",
|
|
1842
2093
|
category: "Sensors",
|
|
1843
2094
|
description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
|
|
1844
2095
|
related: [
|
|
1845
|
-
"
|
|
2096
|
+
"useDevicesList",
|
|
2097
|
+
"useDisplayMedia",
|
|
2098
|
+
"usePermission"
|
|
1846
2099
|
]
|
|
1847
2100
|
},
|
|
1848
2101
|
{
|
|
1849
2102
|
name: "useVibrate",
|
|
1850
2103
|
"package": "core",
|
|
1851
|
-
lastUpdated:
|
|
2104
|
+
lastUpdated: 1657430593000,
|
|
1852
2105
|
docs: "https://vueuse.org/core/useVibrate/",
|
|
1853
2106
|
category: "Browser",
|
|
1854
2107
|
description: "reactive [Vibration API](https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API)"
|
|
@@ -1856,7 +2109,7 @@ var functions$1 = [
|
|
|
1856
2109
|
{
|
|
1857
2110
|
name: "useVirtualList",
|
|
1858
2111
|
"package": "core",
|
|
1859
|
-
lastUpdated:
|
|
2112
|
+
lastUpdated: 1658083596000,
|
|
1860
2113
|
component: true,
|
|
1861
2114
|
docs: "https://vueuse.org/core/useVirtualList/",
|
|
1862
2115
|
category: "Component",
|
|
@@ -1865,23 +2118,29 @@ var functions$1 = [
|
|
|
1865
2118
|
{
|
|
1866
2119
|
name: "useVModel",
|
|
1867
2120
|
"package": "core",
|
|
1868
|
-
lastUpdated:
|
|
2121
|
+
lastUpdated: 1657814222000,
|
|
1869
2122
|
docs: "https://vueuse.org/core/useVModel/",
|
|
1870
2123
|
category: "Component",
|
|
1871
|
-
description: "shorthand for v-model binding"
|
|
2124
|
+
description: "shorthand for v-model binding",
|
|
2125
|
+
related: [
|
|
2126
|
+
"useVModels"
|
|
2127
|
+
]
|
|
1872
2128
|
},
|
|
1873
2129
|
{
|
|
1874
2130
|
name: "useVModels",
|
|
1875
2131
|
"package": "core",
|
|
1876
|
-
lastUpdated:
|
|
2132
|
+
lastUpdated: 1657730657000,
|
|
1877
2133
|
docs: "https://vueuse.org/core/useVModels/",
|
|
1878
2134
|
category: "Component",
|
|
1879
|
-
description: "shorthand for props v-model binding"
|
|
2135
|
+
description: "shorthand for props v-model binding",
|
|
2136
|
+
related: [
|
|
2137
|
+
"useVModel"
|
|
2138
|
+
]
|
|
1880
2139
|
},
|
|
1881
2140
|
{
|
|
1882
2141
|
name: "useWakeLock",
|
|
1883
2142
|
"package": "core",
|
|
1884
|
-
lastUpdated:
|
|
2143
|
+
lastUpdated: 1658083596000,
|
|
1885
2144
|
docs: "https://vueuse.org/core/useWakeLock/",
|
|
1886
2145
|
category: "Browser",
|
|
1887
2146
|
description: "reactive [Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API)"
|
|
@@ -1889,7 +2148,7 @@ var functions$1 = [
|
|
|
1889
2148
|
{
|
|
1890
2149
|
name: "useWebNotification",
|
|
1891
2150
|
"package": "core",
|
|
1892
|
-
lastUpdated:
|
|
2151
|
+
lastUpdated: 1658083596000,
|
|
1893
2152
|
docs: "https://vueuse.org/core/useWebNotification/",
|
|
1894
2153
|
category: "Browser",
|
|
1895
2154
|
description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
|
|
@@ -1897,7 +2156,7 @@ var functions$1 = [
|
|
|
1897
2156
|
{
|
|
1898
2157
|
name: "useWebSocket",
|
|
1899
2158
|
"package": "core",
|
|
1900
|
-
lastUpdated:
|
|
2159
|
+
lastUpdated: 1658285520000,
|
|
1901
2160
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
1902
2161
|
category: "Network",
|
|
1903
2162
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
|
@@ -1908,15 +2167,21 @@ var functions$1 = [
|
|
|
1908
2167
|
lastUpdated: 1647220329000,
|
|
1909
2168
|
docs: "https://vueuse.org/core/useWebWorker/",
|
|
1910
2169
|
category: "Misc",
|
|
1911
|
-
description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication"
|
|
2170
|
+
description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
|
|
2171
|
+
related: [
|
|
2172
|
+
"useWebWorkerFn"
|
|
2173
|
+
]
|
|
1912
2174
|
},
|
|
1913
2175
|
{
|
|
1914
2176
|
name: "useWebWorkerFn",
|
|
1915
2177
|
"package": "core",
|
|
1916
|
-
lastUpdated:
|
|
2178
|
+
lastUpdated: 1657730737000,
|
|
1917
2179
|
docs: "https://vueuse.org/core/useWebWorkerFn/",
|
|
1918
2180
|
category: "Misc",
|
|
1919
|
-
description: "run expensive functions without blocking the UI"
|
|
2181
|
+
description: "run expensive functions without blocking the UI",
|
|
2182
|
+
related: [
|
|
2183
|
+
"useWebWorker"
|
|
2184
|
+
]
|
|
1920
2185
|
},
|
|
1921
2186
|
{
|
|
1922
2187
|
name: "useWindowFocus",
|
|
@@ -1938,7 +2203,7 @@ var functions$1 = [
|
|
|
1938
2203
|
{
|
|
1939
2204
|
name: "useWindowSize",
|
|
1940
2205
|
"package": "core",
|
|
1941
|
-
lastUpdated:
|
|
2206
|
+
lastUpdated: 1657730699000,
|
|
1942
2207
|
component: true,
|
|
1943
2208
|
docs: "https://vueuse.org/core/useWindowSize/",
|
|
1944
2209
|
category: "Elements",
|
|
@@ -1977,7 +2242,7 @@ var functions$1 = [
|
|
|
1977
2242
|
{
|
|
1978
2243
|
name: "watchAtMost",
|
|
1979
2244
|
"package": "shared",
|
|
1980
|
-
lastUpdated:
|
|
2245
|
+
lastUpdated: 1657259100000,
|
|
1981
2246
|
docs: "https://vueuse.org/shared/watchAtMost/",
|
|
1982
2247
|
category: "Watch",
|
|
1983
2248
|
description: "`watch` with the number of times triggered"
|
|
@@ -1985,7 +2250,7 @@ var functions$1 = [
|
|
|
1985
2250
|
{
|
|
1986
2251
|
name: "watchDebounced",
|
|
1987
2252
|
"package": "shared",
|
|
1988
|
-
lastUpdated:
|
|
2253
|
+
lastUpdated: 1657259100000,
|
|
1989
2254
|
docs: "https://vueuse.org/shared/watchDebounced/",
|
|
1990
2255
|
category: "Watch",
|
|
1991
2256
|
description: "debounced watch",
|
|
@@ -2026,7 +2291,7 @@ var functions$1 = [
|
|
|
2026
2291
|
{
|
|
2027
2292
|
name: "watchThrottled",
|
|
2028
2293
|
"package": "shared",
|
|
2029
|
-
lastUpdated:
|
|
2294
|
+
lastUpdated: 1657259100000,
|
|
2030
2295
|
docs: "https://vueuse.org/shared/watchThrottled/",
|
|
2031
2296
|
category: "Watch",
|
|
2032
2297
|
description: "throttled watch",
|
|
@@ -2066,14 +2331,16 @@ var _metadata = {
|
|
|
2066
2331
|
};
|
|
2067
2332
|
|
|
2068
2333
|
const categoriesOrder = [
|
|
2334
|
+
"State",
|
|
2335
|
+
"Elements",
|
|
2069
2336
|
"Browser",
|
|
2070
2337
|
"Sensors",
|
|
2338
|
+
"Network",
|
|
2071
2339
|
"Animation",
|
|
2072
|
-
"State",
|
|
2073
|
-
"Elements",
|
|
2074
2340
|
"Component",
|
|
2075
2341
|
"Watch",
|
|
2076
|
-
"
|
|
2342
|
+
"Reactivity",
|
|
2343
|
+
"Array",
|
|
2077
2344
|
"Utilities",
|
|
2078
2345
|
"Misc"
|
|
2079
2346
|
];
|