@vueuse/metadata 8.9.2 → 9.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +419 -165
- package/index.json +414 -162
- package/index.mjs +419 -165
- 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"
|
|
@@ -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,7 +750,7 @@ 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",
|
|
@@ -650,10 +764,18 @@ var functions$1 = [
|
|
|
650
764
|
category: "@Firebase",
|
|
651
765
|
description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding"
|
|
652
766
|
},
|
|
767
|
+
{
|
|
768
|
+
name: "useAverage",
|
|
769
|
+
"package": "math",
|
|
770
|
+
lastUpdated: 1658041190000,
|
|
771
|
+
docs: "https://vueuse.org/math/useAverage/",
|
|
772
|
+
category: "@Math",
|
|
773
|
+
description: "get the average of an array reactively"
|
|
774
|
+
},
|
|
653
775
|
{
|
|
654
776
|
name: "useAxios",
|
|
655
777
|
"package": "integrations",
|
|
656
|
-
lastUpdated:
|
|
778
|
+
lastUpdated: 1657259100000,
|
|
657
779
|
docs: "https://vueuse.org/integrations/useAxios/",
|
|
658
780
|
category: "@Integrations",
|
|
659
781
|
description: "wrapper for [`axios`](https://github.com/axios/axios)"
|
|
@@ -661,7 +783,7 @@ var functions$1 = [
|
|
|
661
783
|
{
|
|
662
784
|
name: "useBase64",
|
|
663
785
|
"package": "core",
|
|
664
|
-
lastUpdated:
|
|
786
|
+
lastUpdated: 1657259100000,
|
|
665
787
|
docs: "https://vueuse.org/core/useBase64/",
|
|
666
788
|
category: "Utilities",
|
|
667
789
|
description: "reactive base64 transforming"
|
|
@@ -669,7 +791,7 @@ var functions$1 = [
|
|
|
669
791
|
{
|
|
670
792
|
name: "useBattery",
|
|
671
793
|
"package": "core",
|
|
672
|
-
lastUpdated:
|
|
794
|
+
lastUpdated: 1657430593000,
|
|
673
795
|
component: true,
|
|
674
796
|
docs: "https://vueuse.org/core/useBattery/",
|
|
675
797
|
category: "Sensors",
|
|
@@ -678,7 +800,7 @@ var functions$1 = [
|
|
|
678
800
|
{
|
|
679
801
|
name: "useBluetooth",
|
|
680
802
|
"package": "core",
|
|
681
|
-
lastUpdated:
|
|
803
|
+
lastUpdated: 1657430593000,
|
|
682
804
|
docs: "https://vueuse.org/core/useBluetooth/",
|
|
683
805
|
category: "Browser",
|
|
684
806
|
description: "reactive [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API)"
|
|
@@ -694,7 +816,7 @@ var functions$1 = [
|
|
|
694
816
|
{
|
|
695
817
|
name: "useBroadcastChannel",
|
|
696
818
|
"package": "core",
|
|
697
|
-
lastUpdated:
|
|
819
|
+
lastUpdated: 1657430593000,
|
|
698
820
|
docs: "https://vueuse.org/core/useBroadcastChannel/",
|
|
699
821
|
category: "Browser",
|
|
700
822
|
description: "reactive [BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)"
|
|
@@ -716,26 +838,34 @@ var functions$1 = [
|
|
|
716
838
|
category: "Utilities",
|
|
717
839
|
description: "cache a ref with a custom comparator"
|
|
718
840
|
},
|
|
841
|
+
{
|
|
842
|
+
name: "useCeil",
|
|
843
|
+
"package": "math",
|
|
844
|
+
lastUpdated: 1657638060000,
|
|
845
|
+
docs: "https://vueuse.org/math/useCeil/",
|
|
846
|
+
category: "@Math",
|
|
847
|
+
description: "reactive `Math.ceil`"
|
|
848
|
+
},
|
|
719
849
|
{
|
|
720
850
|
name: "useChangeCase",
|
|
721
851
|
"package": "integrations",
|
|
722
|
-
lastUpdated:
|
|
852
|
+
lastUpdated: 1657259100000,
|
|
723
853
|
docs: "https://vueuse.org/integrations/useChangeCase/",
|
|
724
854
|
category: "@Integrations",
|
|
725
|
-
description: "wrapper for [`change-case`](https://github.com/blakeembrey/change-case)"
|
|
855
|
+
description: "reactive wrapper for [`change-case`](https://github.com/blakeembrey/change-case)"
|
|
726
856
|
},
|
|
727
857
|
{
|
|
728
858
|
name: "useClamp",
|
|
729
|
-
"package": "
|
|
730
|
-
lastUpdated:
|
|
731
|
-
docs: "https://vueuse.org/
|
|
732
|
-
category: "
|
|
859
|
+
"package": "math",
|
|
860
|
+
lastUpdated: 1657431142000,
|
|
861
|
+
docs: "https://vueuse.org/math/useClamp/",
|
|
862
|
+
category: "@Math",
|
|
733
863
|
description: "reactively clamp a value between two other values"
|
|
734
864
|
},
|
|
735
865
|
{
|
|
736
866
|
name: "useClipboard",
|
|
737
867
|
"package": "core",
|
|
738
|
-
lastUpdated:
|
|
868
|
+
lastUpdated: 1657634287000,
|
|
739
869
|
docs: "https://vueuse.org/core/useClipboard/",
|
|
740
870
|
category: "Browser",
|
|
741
871
|
description: "reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)"
|
|
@@ -743,7 +873,7 @@ var functions$1 = [
|
|
|
743
873
|
{
|
|
744
874
|
name: "useColorMode",
|
|
745
875
|
"package": "core",
|
|
746
|
-
lastUpdated:
|
|
876
|
+
lastUpdated: 1657634978000,
|
|
747
877
|
component: true,
|
|
748
878
|
docs: "https://vueuse.org/core/useColorMode/",
|
|
749
879
|
category: "Browser",
|
|
@@ -781,7 +911,7 @@ var functions$1 = [
|
|
|
781
911
|
{
|
|
782
912
|
name: "useCssVar",
|
|
783
913
|
"package": "core",
|
|
784
|
-
lastUpdated:
|
|
914
|
+
lastUpdated: 1657259100000,
|
|
785
915
|
docs: "https://vueuse.org/core/useCssVar/",
|
|
786
916
|
category: "Browser",
|
|
787
917
|
description: "manipulate CSS variables"
|
|
@@ -797,7 +927,7 @@ var functions$1 = [
|
|
|
797
927
|
{
|
|
798
928
|
name: "useCycleList",
|
|
799
929
|
"package": "core",
|
|
800
|
-
lastUpdated:
|
|
930
|
+
lastUpdated: 1657259100000,
|
|
801
931
|
docs: "https://vueuse.org/core/useCycleList/",
|
|
802
932
|
category: "Utilities",
|
|
803
933
|
description: "cycle through a list of items"
|
|
@@ -819,7 +949,7 @@ var functions$1 = [
|
|
|
819
949
|
{
|
|
820
950
|
name: "useDateFormat",
|
|
821
951
|
"package": "shared",
|
|
822
|
-
lastUpdated:
|
|
952
|
+
lastUpdated: 1657259100000,
|
|
823
953
|
docs: "https://vueuse.org/shared/useDateFormat/",
|
|
824
954
|
category: "Utilities",
|
|
825
955
|
description: "get the formatted date according to the string of tokens passed in"
|
|
@@ -827,7 +957,7 @@ var functions$1 = [
|
|
|
827
957
|
{
|
|
828
958
|
name: "useDebouncedRefHistory",
|
|
829
959
|
"package": "core",
|
|
830
|
-
lastUpdated:
|
|
960
|
+
lastUpdated: 1657259100000,
|
|
831
961
|
docs: "https://vueuse.org/core/useDebouncedRefHistory/",
|
|
832
962
|
category: "State",
|
|
833
963
|
description: "shorthand for `useRefHistory` with debounced filter",
|
|
@@ -839,10 +969,13 @@ var functions$1 = [
|
|
|
839
969
|
{
|
|
840
970
|
name: "useDebounceFn",
|
|
841
971
|
"package": "shared",
|
|
842
|
-
lastUpdated:
|
|
972
|
+
lastUpdated: 1657259100000,
|
|
843
973
|
docs: "https://vueuse.org/shared/useDebounceFn/",
|
|
844
974
|
category: "Utilities",
|
|
845
|
-
description: "debounce execution of a function"
|
|
975
|
+
description: "debounce execution of a function",
|
|
976
|
+
related: [
|
|
977
|
+
"useThrottleFn"
|
|
978
|
+
]
|
|
846
979
|
},
|
|
847
980
|
{
|
|
848
981
|
name: "useDeviceMotion",
|
|
@@ -856,7 +989,7 @@ var functions$1 = [
|
|
|
856
989
|
{
|
|
857
990
|
name: "useDeviceOrientation",
|
|
858
991
|
"package": "core",
|
|
859
|
-
lastUpdated:
|
|
992
|
+
lastUpdated: 1657430593000,
|
|
860
993
|
component: true,
|
|
861
994
|
docs: "https://vueuse.org/core/useDeviceOrientation/",
|
|
862
995
|
category: "Sensors",
|
|
@@ -874,16 +1007,19 @@ var functions$1 = [
|
|
|
874
1007
|
{
|
|
875
1008
|
name: "useDevicesList",
|
|
876
1009
|
"package": "core",
|
|
877
|
-
lastUpdated:
|
|
1010
|
+
lastUpdated: 1657430593000,
|
|
878
1011
|
component: true,
|
|
879
1012
|
docs: "https://vueuse.org/core/useDevicesList/",
|
|
880
1013
|
category: "Sensors",
|
|
881
|
-
description: "reactive [enumerateDevices](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices) listing avaliable input/output devices"
|
|
1014
|
+
description: "reactive [enumerateDevices](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices) listing avaliable input/output devices",
|
|
1015
|
+
related: [
|
|
1016
|
+
"useUserMedia"
|
|
1017
|
+
]
|
|
882
1018
|
},
|
|
883
1019
|
{
|
|
884
1020
|
name: "useDisplayMedia",
|
|
885
1021
|
"package": "core",
|
|
886
|
-
lastUpdated:
|
|
1022
|
+
lastUpdated: 1657430593000,
|
|
887
1023
|
docs: "https://vueuse.org/core/useDisplayMedia/",
|
|
888
1024
|
category: "Sensors",
|
|
889
1025
|
description: "reactive [`mediaDevices.getDisplayMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia) streaming",
|
|
@@ -903,7 +1039,7 @@ var functions$1 = [
|
|
|
903
1039
|
{
|
|
904
1040
|
name: "useDraggable",
|
|
905
1041
|
"package": "core",
|
|
906
|
-
lastUpdated:
|
|
1042
|
+
lastUpdated: 1657259100000,
|
|
907
1043
|
component: true,
|
|
908
1044
|
docs: "https://vueuse.org/core/useDraggable/",
|
|
909
1045
|
category: "Elements",
|
|
@@ -912,7 +1048,7 @@ var functions$1 = [
|
|
|
912
1048
|
{
|
|
913
1049
|
name: "useDrauu",
|
|
914
1050
|
"package": "integrations",
|
|
915
|
-
lastUpdated:
|
|
1051
|
+
lastUpdated: 1657259100000,
|
|
916
1052
|
docs: "https://vueuse.org/integrations/useDrauu/",
|
|
917
1053
|
category: "@Integrations",
|
|
918
1054
|
description: "reactive instance for [drauu](https://github.com/antfu/drauu)"
|
|
@@ -920,7 +1056,7 @@ var functions$1 = [
|
|
|
920
1056
|
{
|
|
921
1057
|
name: "useDropZone",
|
|
922
1058
|
"package": "core",
|
|
923
|
-
lastUpdated:
|
|
1059
|
+
lastUpdated: 1658043158000,
|
|
924
1060
|
docs: "https://vueuse.org/core/useDropZone/",
|
|
925
1061
|
category: "Elements",
|
|
926
1062
|
description: "create an zone where files can be dropped"
|
|
@@ -928,7 +1064,7 @@ var functions$1 = [
|
|
|
928
1064
|
{
|
|
929
1065
|
name: "useElementBounding",
|
|
930
1066
|
"package": "core",
|
|
931
|
-
lastUpdated:
|
|
1067
|
+
lastUpdated: 1657259100000,
|
|
932
1068
|
component: true,
|
|
933
1069
|
docs: "https://vueuse.org/core/useElementBounding/",
|
|
934
1070
|
category: "Elements",
|
|
@@ -937,7 +1073,7 @@ var functions$1 = [
|
|
|
937
1073
|
{
|
|
938
1074
|
name: "useElementByPoint",
|
|
939
1075
|
"package": "core",
|
|
940
|
-
lastUpdated:
|
|
1076
|
+
lastUpdated: 1657259100000,
|
|
941
1077
|
docs: "https://vueuse.org/core/useElementByPoint/",
|
|
942
1078
|
category: "Sensors",
|
|
943
1079
|
description: "reactive element by point"
|
|
@@ -945,7 +1081,7 @@ var functions$1 = [
|
|
|
945
1081
|
{
|
|
946
1082
|
name: "useElementHover",
|
|
947
1083
|
"package": "core",
|
|
948
|
-
lastUpdated:
|
|
1084
|
+
lastUpdated: 1657259100000,
|
|
949
1085
|
directive: true,
|
|
950
1086
|
docs: "https://vueuse.org/core/useElementHover/",
|
|
951
1087
|
category: "Sensors",
|
|
@@ -954,7 +1090,7 @@ var functions$1 = [
|
|
|
954
1090
|
{
|
|
955
1091
|
name: "useElementSize",
|
|
956
1092
|
"package": "core",
|
|
957
|
-
lastUpdated:
|
|
1093
|
+
lastUpdated: 1657634277000,
|
|
958
1094
|
component: true,
|
|
959
1095
|
directive: true,
|
|
960
1096
|
docs: "https://vueuse.org/core/useElementSize/",
|
|
@@ -978,7 +1114,7 @@ var functions$1 = [
|
|
|
978
1114
|
{
|
|
979
1115
|
name: "useElementVisibility",
|
|
980
1116
|
"package": "core",
|
|
981
|
-
lastUpdated:
|
|
1117
|
+
lastUpdated: 1657634298000,
|
|
982
1118
|
component: true,
|
|
983
1119
|
directive: true,
|
|
984
1120
|
docs: "https://vueuse.org/core/useElementVisibility/",
|
|
@@ -996,7 +1132,7 @@ var functions$1 = [
|
|
|
996
1132
|
{
|
|
997
1133
|
name: "useEventListener",
|
|
998
1134
|
"package": "core",
|
|
999
|
-
lastUpdated:
|
|
1135
|
+
lastUpdated: 1657259100000,
|
|
1000
1136
|
docs: "https://vueuse.org/core/useEventListener/",
|
|
1001
1137
|
category: "Browser",
|
|
1002
1138
|
description: "use EventListener with ease"
|
|
@@ -1004,7 +1140,7 @@ var functions$1 = [
|
|
|
1004
1140
|
{
|
|
1005
1141
|
name: "useEventSource",
|
|
1006
1142
|
"package": "core",
|
|
1007
|
-
lastUpdated:
|
|
1143
|
+
lastUpdated: 1657634387000,
|
|
1008
1144
|
docs: "https://vueuse.org/core/useEventSource/",
|
|
1009
1145
|
category: "Network",
|
|
1010
1146
|
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 +1148,7 @@ var functions$1 = [
|
|
|
1012
1148
|
{
|
|
1013
1149
|
name: "useEyeDropper",
|
|
1014
1150
|
"package": "core",
|
|
1015
|
-
lastUpdated:
|
|
1151
|
+
lastUpdated: 1657430593000,
|
|
1016
1152
|
component: true,
|
|
1017
1153
|
docs: "https://vueuse.org/core/useEyeDropper/",
|
|
1018
1154
|
category: "Browser",
|
|
@@ -1021,7 +1157,7 @@ var functions$1 = [
|
|
|
1021
1157
|
{
|
|
1022
1158
|
name: "useFavicon",
|
|
1023
1159
|
"package": "core",
|
|
1024
|
-
lastUpdated:
|
|
1160
|
+
lastUpdated: 1657634950000,
|
|
1025
1161
|
docs: "https://vueuse.org/core/useFavicon/",
|
|
1026
1162
|
category: "Browser",
|
|
1027
1163
|
description: "reactive favicon"
|
|
@@ -1029,7 +1165,7 @@ var functions$1 = [
|
|
|
1029
1165
|
{
|
|
1030
1166
|
name: "useFetch",
|
|
1031
1167
|
"package": "core",
|
|
1032
|
-
lastUpdated:
|
|
1168
|
+
lastUpdated: 1657259100000,
|
|
1033
1169
|
docs: "https://vueuse.org/core/useFetch/",
|
|
1034
1170
|
category: "Network",
|
|
1035
1171
|
description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
|
|
@@ -1037,7 +1173,7 @@ var functions$1 = [
|
|
|
1037
1173
|
{
|
|
1038
1174
|
name: "useFileDialog",
|
|
1039
1175
|
"package": "core",
|
|
1040
|
-
lastUpdated:
|
|
1176
|
+
lastUpdated: 1657953065000,
|
|
1041
1177
|
docs: "https://vueuse.org/core/useFileDialog/",
|
|
1042
1178
|
category: "Browser",
|
|
1043
1179
|
description: "open file dialog with ease"
|
|
@@ -1045,7 +1181,7 @@ var functions$1 = [
|
|
|
1045
1181
|
{
|
|
1046
1182
|
name: "useFileSystemAccess",
|
|
1047
1183
|
"package": "core",
|
|
1048
|
-
lastUpdated:
|
|
1184
|
+
lastUpdated: 1657430593000,
|
|
1049
1185
|
docs: "https://vueuse.org/core/useFileSystemAccess/",
|
|
1050
1186
|
category: "Browser",
|
|
1051
1187
|
description: "create and read and write local files with [FileSystemAccessAPI](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)"
|
|
@@ -1058,6 +1194,14 @@ var functions$1 = [
|
|
|
1058
1194
|
category: "@Firebase",
|
|
1059
1195
|
description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding"
|
|
1060
1196
|
},
|
|
1197
|
+
{
|
|
1198
|
+
name: "useFloor",
|
|
1199
|
+
"package": "math",
|
|
1200
|
+
lastUpdated: 1657638060000,
|
|
1201
|
+
docs: "https://vueuse.org/math/useFloor/",
|
|
1202
|
+
category: "@Math",
|
|
1203
|
+
description: "reactive `Math.floor`"
|
|
1204
|
+
},
|
|
1061
1205
|
{
|
|
1062
1206
|
name: "useFocus",
|
|
1063
1207
|
"package": "core",
|
|
@@ -1078,7 +1222,7 @@ var functions$1 = [
|
|
|
1078
1222
|
{
|
|
1079
1223
|
name: "useFocusWithin",
|
|
1080
1224
|
"package": "core",
|
|
1081
|
-
lastUpdated:
|
|
1225
|
+
lastUpdated: 1657634936000,
|
|
1082
1226
|
docs: "https://vueuse.org/core/useFocusWithin/",
|
|
1083
1227
|
category: "Sensors",
|
|
1084
1228
|
description: "reactive utility to track if an element or one of its decendants has focus"
|
|
@@ -1094,7 +1238,7 @@ var functions$1 = [
|
|
|
1094
1238
|
{
|
|
1095
1239
|
name: "useFullscreen",
|
|
1096
1240
|
"package": "core",
|
|
1097
|
-
lastUpdated:
|
|
1241
|
+
lastUpdated: 1657430593000,
|
|
1098
1242
|
component: true,
|
|
1099
1243
|
docs: "https://vueuse.org/core/useFullscreen/",
|
|
1100
1244
|
category: "Browser",
|
|
@@ -1103,7 +1247,7 @@ var functions$1 = [
|
|
|
1103
1247
|
{
|
|
1104
1248
|
name: "useFuse",
|
|
1105
1249
|
"package": "integrations",
|
|
1106
|
-
lastUpdated:
|
|
1250
|
+
lastUpdated: 1657259100000,
|
|
1107
1251
|
docs: "https://vueuse.org/integrations/useFuse/",
|
|
1108
1252
|
category: "@Integrations",
|
|
1109
1253
|
description: "easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse)"
|
|
@@ -1111,7 +1255,7 @@ var functions$1 = [
|
|
|
1111
1255
|
{
|
|
1112
1256
|
name: "useGamepad",
|
|
1113
1257
|
"package": "core",
|
|
1114
|
-
lastUpdated:
|
|
1258
|
+
lastUpdated: 1657430593000,
|
|
1115
1259
|
docs: "https://vueuse.org/core/useGamepad/",
|
|
1116
1260
|
category: "Browser",
|
|
1117
1261
|
description: "provides reactive bindings for the [Gamepad API](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API)"
|
|
@@ -1119,7 +1263,7 @@ var functions$1 = [
|
|
|
1119
1263
|
{
|
|
1120
1264
|
name: "useGeolocation",
|
|
1121
1265
|
"package": "core",
|
|
1122
|
-
lastUpdated:
|
|
1266
|
+
lastUpdated: 1657638032000,
|
|
1123
1267
|
component: true,
|
|
1124
1268
|
docs: "https://vueuse.org/core/useGeolocation/",
|
|
1125
1269
|
category: "Sensors",
|
|
@@ -1135,7 +1279,7 @@ var functions$1 = [
|
|
|
1135
1279
|
{
|
|
1136
1280
|
name: "useIdle",
|
|
1137
1281
|
"package": "core",
|
|
1138
|
-
lastUpdated:
|
|
1282
|
+
lastUpdated: 1657638023000,
|
|
1139
1283
|
component: true,
|
|
1140
1284
|
docs: "https://vueuse.org/core/useIdle/",
|
|
1141
1285
|
category: "Sensors",
|
|
@@ -1144,7 +1288,7 @@ var functions$1 = [
|
|
|
1144
1288
|
{
|
|
1145
1289
|
name: "useImage",
|
|
1146
1290
|
"package": "core",
|
|
1147
|
-
lastUpdated:
|
|
1291
|
+
lastUpdated: 1657430549000,
|
|
1148
1292
|
component: true,
|
|
1149
1293
|
docs: "https://vueuse.org/core/useImage/",
|
|
1150
1294
|
category: "Browser",
|
|
@@ -1153,7 +1297,7 @@ var functions$1 = [
|
|
|
1153
1297
|
{
|
|
1154
1298
|
name: "useInfiniteScroll",
|
|
1155
1299
|
"package": "core",
|
|
1156
|
-
lastUpdated:
|
|
1300
|
+
lastUpdated: 1658043158000,
|
|
1157
1301
|
directive: true,
|
|
1158
1302
|
docs: "https://vueuse.org/core/useInfiniteScroll/",
|
|
1159
1303
|
category: "Sensors",
|
|
@@ -1162,7 +1306,7 @@ var functions$1 = [
|
|
|
1162
1306
|
{
|
|
1163
1307
|
name: "useIntersectionObserver",
|
|
1164
1308
|
"package": "core",
|
|
1165
|
-
lastUpdated:
|
|
1309
|
+
lastUpdated: 1657637968000,
|
|
1166
1310
|
directive: true,
|
|
1167
1311
|
docs: "https://vueuse.org/core/useIntersectionObserver/",
|
|
1168
1312
|
category: "Elements",
|
|
@@ -1171,7 +1315,7 @@ var functions$1 = [
|
|
|
1171
1315
|
{
|
|
1172
1316
|
name: "useInterval",
|
|
1173
1317
|
"package": "shared",
|
|
1174
|
-
lastUpdated:
|
|
1318
|
+
lastUpdated: 1657259100000,
|
|
1175
1319
|
docs: "https://vueuse.org/shared/useInterval/",
|
|
1176
1320
|
category: "Animation",
|
|
1177
1321
|
description: "reactive counter increases on every interval"
|
|
@@ -1179,7 +1323,7 @@ var functions$1 = [
|
|
|
1179
1323
|
{
|
|
1180
1324
|
name: "useIntervalFn",
|
|
1181
1325
|
"package": "shared",
|
|
1182
|
-
lastUpdated:
|
|
1326
|
+
lastUpdated: 1657259100000,
|
|
1183
1327
|
docs: "https://vueuse.org/shared/useIntervalFn/",
|
|
1184
1328
|
category: "Animation",
|
|
1185
1329
|
description: "wrapper for `setInterval` with controls"
|
|
@@ -1211,7 +1355,7 @@ var functions$1 = [
|
|
|
1211
1355
|
{
|
|
1212
1356
|
name: "useJwt",
|
|
1213
1357
|
"package": "integrations",
|
|
1214
|
-
lastUpdated:
|
|
1358
|
+
lastUpdated: 1657730911000,
|
|
1215
1359
|
docs: "https://vueuse.org/integrations/useJwt/",
|
|
1216
1360
|
category: "@Integrations",
|
|
1217
1361
|
description: "wrapper for [`jwt-decode`](https://github.com/auth0/jwt-decode)"
|
|
@@ -1219,7 +1363,7 @@ var functions$1 = [
|
|
|
1219
1363
|
{
|
|
1220
1364
|
name: "useKeyModifier",
|
|
1221
1365
|
"package": "core",
|
|
1222
|
-
lastUpdated:
|
|
1366
|
+
lastUpdated: 1657638042000,
|
|
1223
1367
|
docs: "https://vueuse.org/core/useKeyModifier/",
|
|
1224
1368
|
category: "Sensors",
|
|
1225
1369
|
description: "reactive [Modifier State](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState)"
|
|
@@ -1235,15 +1379,18 @@ var functions$1 = [
|
|
|
1235
1379
|
{
|
|
1236
1380
|
name: "useLocalStorage",
|
|
1237
1381
|
"package": "core",
|
|
1238
|
-
lastUpdated:
|
|
1382
|
+
lastUpdated: 1657634978000,
|
|
1239
1383
|
docs: "https://vueuse.org/core/useLocalStorage/",
|
|
1240
1384
|
category: "State",
|
|
1241
|
-
description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)"
|
|
1385
|
+
description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)",
|
|
1386
|
+
related: [
|
|
1387
|
+
"useStorage"
|
|
1388
|
+
]
|
|
1242
1389
|
},
|
|
1243
1390
|
{
|
|
1244
1391
|
name: "useMagicKeys",
|
|
1245
1392
|
"package": "core",
|
|
1246
|
-
lastUpdated:
|
|
1393
|
+
lastUpdated: 1657814222000,
|
|
1247
1394
|
docs: "https://vueuse.org/core/useMagicKeys/",
|
|
1248
1395
|
category: "Sensors",
|
|
1249
1396
|
description: "reactive keys pressed state"
|
|
@@ -1254,12 +1401,31 @@ var functions$1 = [
|
|
|
1254
1401
|
lastUpdated: 1651597361000,
|
|
1255
1402
|
docs: "https://vueuse.org/core/useManualRefHistory/",
|
|
1256
1403
|
category: "State",
|
|
1257
|
-
description: "manually track the change history of a ref when the using calls `commit()`"
|
|
1404
|
+
description: "manually track the change history of a ref when the using calls `commit()`",
|
|
1405
|
+
related: [
|
|
1406
|
+
"useRefHistory"
|
|
1407
|
+
]
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
name: "useMath",
|
|
1411
|
+
"package": "math",
|
|
1412
|
+
lastUpdated: 1658042869000,
|
|
1413
|
+
docs: "https://vueuse.org/math/useMath/",
|
|
1414
|
+
category: "@Math",
|
|
1415
|
+
description: "reactive `Math` methods"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
name: "useMax",
|
|
1419
|
+
"package": "math",
|
|
1420
|
+
lastUpdated: 1658041190000,
|
|
1421
|
+
docs: "https://vueuse.org/math/useMax/",
|
|
1422
|
+
category: "@Math",
|
|
1423
|
+
description: "reactive `Math.max`"
|
|
1258
1424
|
},
|
|
1259
1425
|
{
|
|
1260
1426
|
name: "useMediaControls",
|
|
1261
1427
|
"package": "core",
|
|
1262
|
-
lastUpdated:
|
|
1428
|
+
lastUpdated: 1657259100000,
|
|
1263
1429
|
docs: "https://vueuse.org/core/useMediaControls/",
|
|
1264
1430
|
category: "Browser",
|
|
1265
1431
|
description: "reactive media controls for both `audio` and `video` elements"
|
|
@@ -1267,7 +1433,7 @@ var functions$1 = [
|
|
|
1267
1433
|
{
|
|
1268
1434
|
name: "useMediaQuery",
|
|
1269
1435
|
"package": "core",
|
|
1270
|
-
lastUpdated:
|
|
1436
|
+
lastUpdated: 1657430593000,
|
|
1271
1437
|
docs: "https://vueuse.org/core/useMediaQuery/",
|
|
1272
1438
|
category: "Browser",
|
|
1273
1439
|
description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
|
|
@@ -1275,7 +1441,7 @@ var functions$1 = [
|
|
|
1275
1441
|
{
|
|
1276
1442
|
name: "useMemoize",
|
|
1277
1443
|
"package": "core",
|
|
1278
|
-
lastUpdated:
|
|
1444
|
+
lastUpdated: 1657638008000,
|
|
1279
1445
|
docs: "https://vueuse.org/core/useMemoize/",
|
|
1280
1446
|
category: "Utilities",
|
|
1281
1447
|
description: "cache results of functions depending on arguments and keep it reactive"
|
|
@@ -1283,11 +1449,19 @@ var functions$1 = [
|
|
|
1283
1449
|
{
|
|
1284
1450
|
name: "useMemory",
|
|
1285
1451
|
"package": "core",
|
|
1286
|
-
lastUpdated:
|
|
1452
|
+
lastUpdated: 1657430593000,
|
|
1287
1453
|
docs: "https://vueuse.org/core/useMemory/",
|
|
1288
1454
|
category: "Browser",
|
|
1289
1455
|
description: "reactive Memory Info"
|
|
1290
1456
|
},
|
|
1457
|
+
{
|
|
1458
|
+
name: "useMin",
|
|
1459
|
+
"package": "math",
|
|
1460
|
+
lastUpdated: 1658041610000,
|
|
1461
|
+
docs: "https://vueuse.org/math/useMin/",
|
|
1462
|
+
category: "@Math",
|
|
1463
|
+
description: "reactive `Math.min`"
|
|
1464
|
+
},
|
|
1291
1465
|
{
|
|
1292
1466
|
"package": "motion",
|
|
1293
1467
|
category: "@Motion",
|
|
@@ -1320,7 +1494,7 @@ var functions$1 = [
|
|
|
1320
1494
|
{
|
|
1321
1495
|
name: "useMouse",
|
|
1322
1496
|
"package": "core",
|
|
1323
|
-
lastUpdated:
|
|
1497
|
+
lastUpdated: 1657643692000,
|
|
1324
1498
|
component: true,
|
|
1325
1499
|
docs: "https://vueuse.org/core/useMouse/",
|
|
1326
1500
|
category: "Sensors",
|
|
@@ -1329,7 +1503,7 @@ var functions$1 = [
|
|
|
1329
1503
|
{
|
|
1330
1504
|
name: "useMouseInElement",
|
|
1331
1505
|
"package": "core",
|
|
1332
|
-
lastUpdated:
|
|
1506
|
+
lastUpdated: 1657643692000,
|
|
1333
1507
|
component: true,
|
|
1334
1508
|
docs: "https://vueuse.org/core/useMouseInElement/",
|
|
1335
1509
|
category: "Elements",
|
|
@@ -1347,7 +1521,7 @@ var functions$1 = [
|
|
|
1347
1521
|
{
|
|
1348
1522
|
name: "useMutationObserver",
|
|
1349
1523
|
"package": "core",
|
|
1350
|
-
lastUpdated:
|
|
1524
|
+
lastUpdated: 1657718877000,
|
|
1351
1525
|
docs: "https://vueuse.org/core/useMutationObserver/",
|
|
1352
1526
|
category: "Elements",
|
|
1353
1527
|
description: "watch for changes being made to the DOM tree"
|
|
@@ -1355,7 +1529,7 @@ var functions$1 = [
|
|
|
1355
1529
|
{
|
|
1356
1530
|
name: "useNavigatorLanguage",
|
|
1357
1531
|
"package": "core",
|
|
1358
|
-
lastUpdated:
|
|
1532
|
+
lastUpdated: 1657430593000,
|
|
1359
1533
|
docs: "https://vueuse.org/core/useNavigatorLanguage/",
|
|
1360
1534
|
category: "Sensors",
|
|
1361
1535
|
description: "reactive [navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)"
|
|
@@ -1363,7 +1537,7 @@ var functions$1 = [
|
|
|
1363
1537
|
{
|
|
1364
1538
|
name: "useNetwork",
|
|
1365
1539
|
"package": "core",
|
|
1366
|
-
lastUpdated:
|
|
1540
|
+
lastUpdated: 1657430593000,
|
|
1367
1541
|
component: true,
|
|
1368
1542
|
docs: "https://vueuse.org/core/useNetwork/",
|
|
1369
1543
|
category: "Sensors",
|
|
@@ -1381,7 +1555,7 @@ var functions$1 = [
|
|
|
1381
1555
|
{
|
|
1382
1556
|
name: "useNProgress",
|
|
1383
1557
|
"package": "integrations",
|
|
1384
|
-
lastUpdated:
|
|
1558
|
+
lastUpdated: 1657259100000,
|
|
1385
1559
|
docs: "https://vueuse.org/integrations/useNProgress/",
|
|
1386
1560
|
category: "@Integrations",
|
|
1387
1561
|
description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)"
|
|
@@ -1406,7 +1580,7 @@ var functions$1 = [
|
|
|
1406
1580
|
{
|
|
1407
1581
|
name: "useOffsetPagination",
|
|
1408
1582
|
"package": "core",
|
|
1409
|
-
lastUpdated:
|
|
1583
|
+
lastUpdated: 1657431142000,
|
|
1410
1584
|
component: true,
|
|
1411
1585
|
docs: "https://vueuse.org/core/useOffsetPagination/",
|
|
1412
1586
|
category: "Utilities",
|
|
@@ -1433,7 +1607,7 @@ var functions$1 = [
|
|
|
1433
1607
|
{
|
|
1434
1608
|
name: "useParallax",
|
|
1435
1609
|
"package": "core",
|
|
1436
|
-
lastUpdated:
|
|
1610
|
+
lastUpdated: 1657718913000,
|
|
1437
1611
|
docs: "https://vueuse.org/core/useParallax/",
|
|
1438
1612
|
category: "Sensors",
|
|
1439
1613
|
description: "create parallax effect easily"
|
|
@@ -1441,10 +1615,13 @@ var functions$1 = [
|
|
|
1441
1615
|
{
|
|
1442
1616
|
name: "usePermission",
|
|
1443
1617
|
"package": "core",
|
|
1444
|
-
lastUpdated:
|
|
1618
|
+
lastUpdated: 1657430593000,
|
|
1445
1619
|
docs: "https://vueuse.org/core/usePermission/",
|
|
1446
1620
|
category: "Browser",
|
|
1447
|
-
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)"
|
|
1621
|
+
description: "reactive [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)",
|
|
1622
|
+
related: [
|
|
1623
|
+
"useUserMedia"
|
|
1624
|
+
]
|
|
1448
1625
|
},
|
|
1449
1626
|
{
|
|
1450
1627
|
name: "usePointer",
|
|
@@ -1458,7 +1635,7 @@ var functions$1 = [
|
|
|
1458
1635
|
{
|
|
1459
1636
|
name: "usePointerSwipe",
|
|
1460
1637
|
"package": "core",
|
|
1461
|
-
lastUpdated:
|
|
1638
|
+
lastUpdated: 1657718938000,
|
|
1462
1639
|
docs: "https://vueuse.org/core/usePointerSwipe/",
|
|
1463
1640
|
category: "Sensors",
|
|
1464
1641
|
description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
|
|
@@ -1494,10 +1671,22 @@ var functions$1 = [
|
|
|
1494
1671
|
category: "Browser",
|
|
1495
1672
|
description: "reactive [Navigator Languages](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages)"
|
|
1496
1673
|
},
|
|
1674
|
+
{
|
|
1675
|
+
name: "useProjection",
|
|
1676
|
+
"package": "math",
|
|
1677
|
+
lastUpdated: 1657638060000,
|
|
1678
|
+
docs: "https://vueuse.org/math/useProjection/",
|
|
1679
|
+
category: "@Math",
|
|
1680
|
+
description: "reactive numeric projection from one domain to another",
|
|
1681
|
+
related: [
|
|
1682
|
+
"createGenericProjection",
|
|
1683
|
+
"createProjection"
|
|
1684
|
+
]
|
|
1685
|
+
},
|
|
1497
1686
|
{
|
|
1498
1687
|
name: "useQRCode",
|
|
1499
1688
|
"package": "integrations",
|
|
1500
|
-
lastUpdated:
|
|
1689
|
+
lastUpdated: 1657259100000,
|
|
1501
1690
|
docs: "https://vueuse.org/integrations/useQRCode/",
|
|
1502
1691
|
category: "@Integrations",
|
|
1503
1692
|
description: "wrapper for [`qrcode`](https://github.com/soldair/node-qrcode)"
|
|
@@ -1505,7 +1694,7 @@ var functions$1 = [
|
|
|
1505
1694
|
{
|
|
1506
1695
|
name: "useRafFn",
|
|
1507
1696
|
"package": "core",
|
|
1508
|
-
lastUpdated:
|
|
1697
|
+
lastUpdated: 1657718952000,
|
|
1509
1698
|
docs: "https://vueuse.org/core/useRafFn/",
|
|
1510
1699
|
category: "Animation",
|
|
1511
1700
|
description: "call function on every `requestAnimationFrame`"
|
|
@@ -1518,17 +1707,27 @@ var functions$1 = [
|
|
|
1518
1707
|
category: "State",
|
|
1519
1708
|
description: "track the change history of a ref",
|
|
1520
1709
|
related: [
|
|
1521
|
-
"useDebouncedRefHistory"
|
|
1710
|
+
"useDebouncedRefHistory",
|
|
1711
|
+
"useManualRefHistory",
|
|
1712
|
+
"useThrottledRefHistory"
|
|
1522
1713
|
]
|
|
1523
1714
|
},
|
|
1524
1715
|
{
|
|
1525
1716
|
name: "useResizeObserver",
|
|
1526
1717
|
"package": "core",
|
|
1527
|
-
lastUpdated:
|
|
1718
|
+
lastUpdated: 1657634277000,
|
|
1528
1719
|
docs: "https://vueuse.org/core/useResizeObserver/",
|
|
1529
1720
|
category: "Elements",
|
|
1530
1721
|
description: "reports changes to the dimensions of an Element's content or the border-box"
|
|
1531
1722
|
},
|
|
1723
|
+
{
|
|
1724
|
+
name: "useRound",
|
|
1725
|
+
"package": "math",
|
|
1726
|
+
lastUpdated: 1657638060000,
|
|
1727
|
+
docs: "https://vueuse.org/math/useRound/",
|
|
1728
|
+
category: "@Math",
|
|
1729
|
+
description: "reactive `Math.round`"
|
|
1730
|
+
},
|
|
1532
1731
|
{
|
|
1533
1732
|
name: "useRouteHash",
|
|
1534
1733
|
"package": "router",
|
|
@@ -1556,7 +1755,7 @@ var functions$1 = [
|
|
|
1556
1755
|
{
|
|
1557
1756
|
name: "useRTDB",
|
|
1558
1757
|
"package": "firebase",
|
|
1559
|
-
lastUpdated:
|
|
1758
|
+
lastUpdated: 1657732317000,
|
|
1560
1759
|
docs: "https://vueuse.org/firebase/useRTDB/",
|
|
1561
1760
|
category: "@Firebase",
|
|
1562
1761
|
description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding"
|
|
@@ -1571,7 +1770,7 @@ var functions$1 = [
|
|
|
1571
1770
|
{
|
|
1572
1771
|
name: "useScreenOrientation",
|
|
1573
1772
|
"package": "core",
|
|
1574
|
-
lastUpdated:
|
|
1773
|
+
lastUpdated: 1657430593000,
|
|
1575
1774
|
docs: "https://vueuse.org/core/useScreenOrientation/",
|
|
1576
1775
|
category: "Browser",
|
|
1577
1776
|
description: "reactive [Screen Orientation API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Orientation_API)"
|
|
@@ -1588,7 +1787,7 @@ var functions$1 = [
|
|
|
1588
1787
|
{
|
|
1589
1788
|
name: "useScriptTag",
|
|
1590
1789
|
"package": "core",
|
|
1591
|
-
lastUpdated:
|
|
1790
|
+
lastUpdated: 1657259100000,
|
|
1592
1791
|
docs: "https://vueuse.org/core/useScriptTag/",
|
|
1593
1792
|
category: "Browser",
|
|
1594
1793
|
description: "script tag injecting"
|
|
@@ -1596,7 +1795,7 @@ var functions$1 = [
|
|
|
1596
1795
|
{
|
|
1597
1796
|
name: "useScroll",
|
|
1598
1797
|
"package": "core",
|
|
1599
|
-
lastUpdated:
|
|
1798
|
+
lastUpdated: 1657259100000,
|
|
1600
1799
|
directive: true,
|
|
1601
1800
|
docs: "https://vueuse.org/core/useScroll/",
|
|
1602
1801
|
category: "Sensors",
|
|
@@ -1605,7 +1804,7 @@ var functions$1 = [
|
|
|
1605
1804
|
{
|
|
1606
1805
|
name: "useScrollLock",
|
|
1607
1806
|
"package": "core",
|
|
1608
|
-
lastUpdated:
|
|
1807
|
+
lastUpdated: 1657259100000,
|
|
1609
1808
|
directive: true,
|
|
1610
1809
|
docs: "https://vueuse.org/core/useScrollLock/",
|
|
1611
1810
|
category: "Sensors",
|
|
@@ -1614,15 +1813,18 @@ var functions$1 = [
|
|
|
1614
1813
|
{
|
|
1615
1814
|
name: "useSessionStorage",
|
|
1616
1815
|
"package": "core",
|
|
1617
|
-
lastUpdated:
|
|
1816
|
+
lastUpdated: 1657634978000,
|
|
1618
1817
|
docs: "https://vueuse.org/core/useSessionStorage/",
|
|
1619
1818
|
category: "State",
|
|
1620
|
-
description: "reactive [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)"
|
|
1819
|
+
description: "reactive [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)",
|
|
1820
|
+
related: [
|
|
1821
|
+
"useStorage"
|
|
1822
|
+
]
|
|
1621
1823
|
},
|
|
1622
1824
|
{
|
|
1623
1825
|
name: "useShare",
|
|
1624
1826
|
"package": "core",
|
|
1625
|
-
lastUpdated:
|
|
1827
|
+
lastUpdated: 1657718983000,
|
|
1626
1828
|
docs: "https://vueuse.org/core/useShare/",
|
|
1627
1829
|
category: "Browser",
|
|
1628
1830
|
description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
|
|
@@ -1637,7 +1839,7 @@ var functions$1 = [
|
|
|
1637
1839
|
{
|
|
1638
1840
|
name: "useSpeechRecognition",
|
|
1639
1841
|
"package": "core",
|
|
1640
|
-
lastUpdated:
|
|
1842
|
+
lastUpdated: 1657719060000,
|
|
1641
1843
|
docs: "https://vueuse.org/core/useSpeechRecognition/",
|
|
1642
1844
|
category: "Sensors",
|
|
1643
1845
|
description: "reactive [SpeechRecognition](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition)"
|
|
@@ -1645,7 +1847,7 @@ var functions$1 = [
|
|
|
1645
1847
|
{
|
|
1646
1848
|
name: "useSpeechSynthesis",
|
|
1647
1849
|
"package": "core",
|
|
1648
|
-
lastUpdated:
|
|
1850
|
+
lastUpdated: 1658043205000,
|
|
1649
1851
|
docs: "https://vueuse.org/core/useSpeechSynthesis/",
|
|
1650
1852
|
category: "Sensors",
|
|
1651
1853
|
description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
|
|
@@ -1668,27 +1870,33 @@ var functions$1 = [
|
|
|
1668
1870
|
{
|
|
1669
1871
|
name: "useStorage",
|
|
1670
1872
|
"package": "core",
|
|
1671
|
-
lastUpdated:
|
|
1873
|
+
lastUpdated: 1657634978000,
|
|
1672
1874
|
docs: "https://vueuse.org/core/useStorage/",
|
|
1673
1875
|
category: "State",
|
|
1674
1876
|
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
1877
|
related: [
|
|
1676
1878
|
"useColorMode",
|
|
1677
|
-
"useDark"
|
|
1879
|
+
"useDark",
|
|
1880
|
+
"useLocalStorage",
|
|
1881
|
+
"useSessionStorage",
|
|
1882
|
+
"useStorageAsync"
|
|
1678
1883
|
]
|
|
1679
1884
|
},
|
|
1680
1885
|
{
|
|
1681
1886
|
name: "useStorageAsync",
|
|
1682
1887
|
"package": "core",
|
|
1683
|
-
lastUpdated:
|
|
1888
|
+
lastUpdated: 1657718694000,
|
|
1684
1889
|
docs: "https://vueuse.org/core/useStorageAsync/",
|
|
1685
1890
|
category: "State",
|
|
1686
|
-
description: "reactive Storage in with async support"
|
|
1891
|
+
description: "reactive Storage in with async support",
|
|
1892
|
+
related: [
|
|
1893
|
+
"useStorage"
|
|
1894
|
+
]
|
|
1687
1895
|
},
|
|
1688
1896
|
{
|
|
1689
1897
|
name: "useStyleTag",
|
|
1690
1898
|
"package": "core",
|
|
1691
|
-
lastUpdated:
|
|
1899
|
+
lastUpdated: 1657813267000,
|
|
1692
1900
|
docs: "https://vueuse.org/core/useStyleTag/",
|
|
1693
1901
|
category: "Browser",
|
|
1694
1902
|
description: "inject reactive `style` element in head"
|
|
@@ -1709,10 +1917,26 @@ var functions$1 = [
|
|
|
1709
1917
|
category: "@RxJS",
|
|
1710
1918
|
description: "uses subscriptions without worry about unsubscribing to it or memory leaks"
|
|
1711
1919
|
},
|
|
1920
|
+
{
|
|
1921
|
+
name: "useSum",
|
|
1922
|
+
"package": "math",
|
|
1923
|
+
lastUpdated: 1658041190000,
|
|
1924
|
+
docs: "https://vueuse.org/math/useSum/",
|
|
1925
|
+
category: "@Math",
|
|
1926
|
+
description: "get the sum of an array reactively"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: "useSupported",
|
|
1930
|
+
"package": "core",
|
|
1931
|
+
lastUpdated: 1657430593000,
|
|
1932
|
+
docs: "https://vueuse.org/core/useSupported/",
|
|
1933
|
+
category: "Utilities",
|
|
1934
|
+
description: "sSR compatibility `isSupported`"
|
|
1935
|
+
},
|
|
1712
1936
|
{
|
|
1713
1937
|
name: "useSwipe",
|
|
1714
1938
|
"package": "core",
|
|
1715
|
-
lastUpdated:
|
|
1939
|
+
lastUpdated: 1657721393000,
|
|
1716
1940
|
docs: "https://vueuse.org/core/useSwipe/",
|
|
1717
1941
|
category: "Sensors",
|
|
1718
1942
|
description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
|
|
@@ -1749,21 +1973,27 @@ var functions$1 = [
|
|
|
1749
1973
|
category: "State",
|
|
1750
1974
|
description: "shorthand for `useRefHistory` with throttled filter",
|
|
1751
1975
|
related: [
|
|
1752
|
-
"useDebouncedRefHistory"
|
|
1976
|
+
"useDebouncedRefHistory",
|
|
1977
|
+
"useRefHistory"
|
|
1753
1978
|
]
|
|
1754
1979
|
},
|
|
1755
1980
|
{
|
|
1756
1981
|
name: "useThrottleFn",
|
|
1757
1982
|
"package": "shared",
|
|
1758
|
-
lastUpdated:
|
|
1983
|
+
lastUpdated: 1657259100000,
|
|
1759
1984
|
docs: "https://vueuse.org/shared/useThrottleFn/",
|
|
1760
1985
|
category: "Utilities",
|
|
1761
|
-
description: "throttle execution of a function"
|
|
1986
|
+
description: "throttle execution of a function",
|
|
1987
|
+
related: [
|
|
1988
|
+
"refDebounced",
|
|
1989
|
+
"refThrottled",
|
|
1990
|
+
"useDebounceFn"
|
|
1991
|
+
]
|
|
1762
1992
|
},
|
|
1763
1993
|
{
|
|
1764
1994
|
name: "useTimeAgo",
|
|
1765
1995
|
"package": "core",
|
|
1766
|
-
lastUpdated:
|
|
1996
|
+
lastUpdated: 1657259100000,
|
|
1767
1997
|
component: true,
|
|
1768
1998
|
docs: "https://vueuse.org/core/useTimeAgo/",
|
|
1769
1999
|
category: "Misc",
|
|
@@ -1780,7 +2010,7 @@ var functions$1 = [
|
|
|
1780
2010
|
{
|
|
1781
2011
|
name: "useTimeoutFn",
|
|
1782
2012
|
"package": "shared",
|
|
1783
|
-
lastUpdated:
|
|
2013
|
+
lastUpdated: 1657259100000,
|
|
1784
2014
|
docs: "https://vueuse.org/shared/useTimeoutFn/",
|
|
1785
2015
|
category: "Animation",
|
|
1786
2016
|
description: "wrapper for `setTimeout` with controls"
|
|
@@ -1788,7 +2018,7 @@ var functions$1 = [
|
|
|
1788
2018
|
{
|
|
1789
2019
|
name: "useTimeoutPoll",
|
|
1790
2020
|
"package": "core",
|
|
1791
|
-
lastUpdated:
|
|
2021
|
+
lastUpdated: 1657259100000,
|
|
1792
2022
|
docs: "https://vueuse.org/core/useTimeoutPoll/",
|
|
1793
2023
|
category: "Utilities",
|
|
1794
2024
|
description: "use timeout to poll something"
|
|
@@ -1796,7 +2026,7 @@ var functions$1 = [
|
|
|
1796
2026
|
{
|
|
1797
2027
|
name: "useTimestamp",
|
|
1798
2028
|
"package": "core",
|
|
1799
|
-
lastUpdated:
|
|
2029
|
+
lastUpdated: 1657730635000,
|
|
1800
2030
|
component: true,
|
|
1801
2031
|
docs: "https://vueuse.org/core/useTimestamp/",
|
|
1802
2032
|
category: "Animation",
|
|
@@ -1805,7 +2035,7 @@ var functions$1 = [
|
|
|
1805
2035
|
{
|
|
1806
2036
|
name: "useTitle",
|
|
1807
2037
|
"package": "core",
|
|
1808
|
-
lastUpdated:
|
|
2038
|
+
lastUpdated: 1657259100000,
|
|
1809
2039
|
docs: "https://vueuse.org/core/useTitle/",
|
|
1810
2040
|
category: "Browser",
|
|
1811
2041
|
description: "reactive document title"
|
|
@@ -1813,7 +2043,7 @@ var functions$1 = [
|
|
|
1813
2043
|
{
|
|
1814
2044
|
name: "useToggle",
|
|
1815
2045
|
"package": "shared",
|
|
1816
|
-
lastUpdated:
|
|
2046
|
+
lastUpdated: 1657259100000,
|
|
1817
2047
|
docs: "https://vueuse.org/shared/useToggle/",
|
|
1818
2048
|
category: "Utilities",
|
|
1819
2049
|
description: "a boolean switcher with utility functions"
|
|
@@ -1821,11 +2051,19 @@ var functions$1 = [
|
|
|
1821
2051
|
{
|
|
1822
2052
|
name: "useTransition",
|
|
1823
2053
|
"package": "core",
|
|
1824
|
-
lastUpdated:
|
|
2054
|
+
lastUpdated: 1657730647000,
|
|
1825
2055
|
docs: "https://vueuse.org/core/useTransition/",
|
|
1826
2056
|
category: "Animation",
|
|
1827
2057
|
description: "transition between values"
|
|
1828
2058
|
},
|
|
2059
|
+
{
|
|
2060
|
+
name: "useTrunc",
|
|
2061
|
+
"package": "math",
|
|
2062
|
+
lastUpdated: 1658043525000,
|
|
2063
|
+
docs: "https://vueuse.org/math/useTrunc/",
|
|
2064
|
+
category: "@Math",
|
|
2065
|
+
description: "reactive `Math.trunc`"
|
|
2066
|
+
},
|
|
1829
2067
|
{
|
|
1830
2068
|
name: "useUrlSearchParams",
|
|
1831
2069
|
"package": "core",
|
|
@@ -1837,18 +2075,20 @@ var functions$1 = [
|
|
|
1837
2075
|
{
|
|
1838
2076
|
name: "useUserMedia",
|
|
1839
2077
|
"package": "core",
|
|
1840
|
-
lastUpdated:
|
|
2078
|
+
lastUpdated: 1657430593000,
|
|
1841
2079
|
docs: "https://vueuse.org/core/useUserMedia/",
|
|
1842
2080
|
category: "Sensors",
|
|
1843
2081
|
description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
|
|
1844
2082
|
related: [
|
|
1845
|
-
"
|
|
2083
|
+
"useDevicesList",
|
|
2084
|
+
"useDisplayMedia",
|
|
2085
|
+
"usePermission"
|
|
1846
2086
|
]
|
|
1847
2087
|
},
|
|
1848
2088
|
{
|
|
1849
2089
|
name: "useVibrate",
|
|
1850
2090
|
"package": "core",
|
|
1851
|
-
lastUpdated:
|
|
2091
|
+
lastUpdated: 1657430593000,
|
|
1852
2092
|
docs: "https://vueuse.org/core/useVibrate/",
|
|
1853
2093
|
category: "Browser",
|
|
1854
2094
|
description: "reactive [Vibration API](https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API)"
|
|
@@ -1865,23 +2105,29 @@ var functions$1 = [
|
|
|
1865
2105
|
{
|
|
1866
2106
|
name: "useVModel",
|
|
1867
2107
|
"package": "core",
|
|
1868
|
-
lastUpdated:
|
|
2108
|
+
lastUpdated: 1657814222000,
|
|
1869
2109
|
docs: "https://vueuse.org/core/useVModel/",
|
|
1870
2110
|
category: "Component",
|
|
1871
|
-
description: "shorthand for v-model binding"
|
|
2111
|
+
description: "shorthand for v-model binding",
|
|
2112
|
+
related: [
|
|
2113
|
+
"useVModels"
|
|
2114
|
+
]
|
|
1872
2115
|
},
|
|
1873
2116
|
{
|
|
1874
2117
|
name: "useVModels",
|
|
1875
2118
|
"package": "core",
|
|
1876
|
-
lastUpdated:
|
|
2119
|
+
lastUpdated: 1657730657000,
|
|
1877
2120
|
docs: "https://vueuse.org/core/useVModels/",
|
|
1878
2121
|
category: "Component",
|
|
1879
|
-
description: "shorthand for props v-model binding"
|
|
2122
|
+
description: "shorthand for props v-model binding",
|
|
2123
|
+
related: [
|
|
2124
|
+
"useVModel"
|
|
2125
|
+
]
|
|
1880
2126
|
},
|
|
1881
2127
|
{
|
|
1882
2128
|
name: "useWakeLock",
|
|
1883
2129
|
"package": "core",
|
|
1884
|
-
lastUpdated:
|
|
2130
|
+
lastUpdated: 1657430593000,
|
|
1885
2131
|
docs: "https://vueuse.org/core/useWakeLock/",
|
|
1886
2132
|
category: "Browser",
|
|
1887
2133
|
description: "reactive [Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API)"
|
|
@@ -1889,7 +2135,7 @@ var functions$1 = [
|
|
|
1889
2135
|
{
|
|
1890
2136
|
name: "useWebNotification",
|
|
1891
2137
|
"package": "core",
|
|
1892
|
-
lastUpdated:
|
|
2138
|
+
lastUpdated: 1657430593000,
|
|
1893
2139
|
docs: "https://vueuse.org/core/useWebNotification/",
|
|
1894
2140
|
category: "Browser",
|
|
1895
2141
|
description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
|
|
@@ -1897,7 +2143,7 @@ var functions$1 = [
|
|
|
1897
2143
|
{
|
|
1898
2144
|
name: "useWebSocket",
|
|
1899
2145
|
"package": "core",
|
|
1900
|
-
lastUpdated:
|
|
2146
|
+
lastUpdated: 1657730676000,
|
|
1901
2147
|
docs: "https://vueuse.org/core/useWebSocket/",
|
|
1902
2148
|
category: "Network",
|
|
1903
2149
|
description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
|
|
@@ -1908,15 +2154,21 @@ var functions$1 = [
|
|
|
1908
2154
|
lastUpdated: 1647220329000,
|
|
1909
2155
|
docs: "https://vueuse.org/core/useWebWorker/",
|
|
1910
2156
|
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"
|
|
2157
|
+
description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
|
|
2158
|
+
related: [
|
|
2159
|
+
"useWebWorkerFn"
|
|
2160
|
+
]
|
|
1912
2161
|
},
|
|
1913
2162
|
{
|
|
1914
2163
|
name: "useWebWorkerFn",
|
|
1915
2164
|
"package": "core",
|
|
1916
|
-
lastUpdated:
|
|
2165
|
+
lastUpdated: 1657730737000,
|
|
1917
2166
|
docs: "https://vueuse.org/core/useWebWorkerFn/",
|
|
1918
2167
|
category: "Misc",
|
|
1919
|
-
description: "run expensive functions without blocking the UI"
|
|
2168
|
+
description: "run expensive functions without blocking the UI",
|
|
2169
|
+
related: [
|
|
2170
|
+
"useWebWorker"
|
|
2171
|
+
]
|
|
1920
2172
|
},
|
|
1921
2173
|
{
|
|
1922
2174
|
name: "useWindowFocus",
|
|
@@ -1938,7 +2190,7 @@ var functions$1 = [
|
|
|
1938
2190
|
{
|
|
1939
2191
|
name: "useWindowSize",
|
|
1940
2192
|
"package": "core",
|
|
1941
|
-
lastUpdated:
|
|
2193
|
+
lastUpdated: 1657730699000,
|
|
1942
2194
|
component: true,
|
|
1943
2195
|
docs: "https://vueuse.org/core/useWindowSize/",
|
|
1944
2196
|
category: "Elements",
|
|
@@ -1977,7 +2229,7 @@ var functions$1 = [
|
|
|
1977
2229
|
{
|
|
1978
2230
|
name: "watchAtMost",
|
|
1979
2231
|
"package": "shared",
|
|
1980
|
-
lastUpdated:
|
|
2232
|
+
lastUpdated: 1657259100000,
|
|
1981
2233
|
docs: "https://vueuse.org/shared/watchAtMost/",
|
|
1982
2234
|
category: "Watch",
|
|
1983
2235
|
description: "`watch` with the number of times triggered"
|
|
@@ -1985,7 +2237,7 @@ var functions$1 = [
|
|
|
1985
2237
|
{
|
|
1986
2238
|
name: "watchDebounced",
|
|
1987
2239
|
"package": "shared",
|
|
1988
|
-
lastUpdated:
|
|
2240
|
+
lastUpdated: 1657259100000,
|
|
1989
2241
|
docs: "https://vueuse.org/shared/watchDebounced/",
|
|
1990
2242
|
category: "Watch",
|
|
1991
2243
|
description: "debounced watch",
|
|
@@ -2026,7 +2278,7 @@ var functions$1 = [
|
|
|
2026
2278
|
{
|
|
2027
2279
|
name: "watchThrottled",
|
|
2028
2280
|
"package": "shared",
|
|
2029
|
-
lastUpdated:
|
|
2281
|
+
lastUpdated: 1657259100000,
|
|
2030
2282
|
docs: "https://vueuse.org/shared/watchThrottled/",
|
|
2031
2283
|
category: "Watch",
|
|
2032
2284
|
description: "throttled watch",
|
|
@@ -2066,14 +2318,16 @@ var _metadata = {
|
|
|
2066
2318
|
};
|
|
2067
2319
|
|
|
2068
2320
|
const categoriesOrder = [
|
|
2321
|
+
"State",
|
|
2322
|
+
"Elements",
|
|
2069
2323
|
"Browser",
|
|
2070
2324
|
"Sensors",
|
|
2325
|
+
"Network",
|
|
2071
2326
|
"Animation",
|
|
2072
|
-
"State",
|
|
2073
|
-
"Elements",
|
|
2074
2327
|
"Component",
|
|
2075
2328
|
"Watch",
|
|
2076
|
-
"
|
|
2329
|
+
"Reactivity",
|
|
2330
|
+
"Array",
|
|
2077
2331
|
"Utilities",
|
|
2078
2332
|
"Misc"
|
|
2079
2333
|
];
|