@vueuse/metadata 9.0.0-beta.0 → 9.0.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 CHANGED
@@ -137,11 +137,11 @@ var categories$1 = [
137
137
  "Browser",
138
138
  "Component",
139
139
  "Elements",
140
- "Misc",
141
140
  "Network",
142
141
  "Reactivity",
143
142
  "Sensors",
144
143
  "State",
144
+ "Time",
145
145
  "Utilities",
146
146
  "Watch",
147
147
  "@Electron",
@@ -375,7 +375,7 @@ var functions$1 = [
375
375
  {
376
376
  name: "onClickOutside",
377
377
  "package": "core",
378
- lastUpdated: 1657430765000,
378
+ lastUpdated: 1658285512000,
379
379
  component: true,
380
380
  directive: true,
381
381
  docs: "https://vueuse.org/core/onClickOutside/",
@@ -442,7 +442,7 @@ var functions$1 = [
442
442
  {
443
443
  name: "reactiveOmit",
444
444
  "package": "shared",
445
- lastUpdated: 1657076758000,
445
+ lastUpdated: 1658645224000,
446
446
  docs: "https://vueuse.org/shared/reactiveOmit/",
447
447
  category: "Reactivity",
448
448
  description: "reactively omit fields from a reactive object"
@@ -450,7 +450,7 @@ var functions$1 = [
450
450
  {
451
451
  name: "reactivePick",
452
452
  "package": "shared",
453
- lastUpdated: 1657076758000,
453
+ lastUpdated: 1658645224000,
454
454
  docs: "https://vueuse.org/shared/reactivePick/",
455
455
  category: "Reactivity",
456
456
  description: "reactively pick fields from a reactive object"
@@ -551,7 +551,7 @@ var functions$1 = [
551
551
  {
552
552
  name: "syncRef",
553
553
  "package": "shared",
554
- lastUpdated: 1645952177000,
554
+ lastUpdated: 1658655180000,
555
555
  docs: "https://vueuse.org/shared/syncRef/",
556
556
  category: "Reactivity",
557
557
  description: "two-way refs synchronization",
@@ -584,7 +584,7 @@ var functions$1 = [
584
584
  lastUpdated: 1631130736000,
585
585
  docs: "https://vueuse.org/rxjs/toObserver/",
586
586
  category: "@RxJS",
587
- description: "sugar function to convert a ref in an observer"
587
+ description: "sugar function to convert a `ref` into an RxJS [Observer](https://rxjs.dev/guide/observer)"
588
588
  },
589
589
  {
590
590
  name: "toReactive",
@@ -699,12 +699,20 @@ var functions$1 = [
699
699
  category: "Array",
700
700
  description: "reactive `Array.find`"
701
701
  },
702
+ {
703
+ name: "useArrayFindIndex",
704
+ "package": "shared",
705
+ lastUpdated: 1658416780000,
706
+ docs: "https://vueuse.org/shared/useArrayFindIndex/",
707
+ category: "Array",
708
+ description: "reactive `Array.findIndex`"
709
+ },
702
710
  {
703
711
  name: "useArrayJoin",
704
712
  "package": "shared",
705
713
  lastUpdated: 1657955066000,
706
714
  docs: "https://vueuse.org/shared/useArrayJoin/",
707
- category: "Utilities",
715
+ category: "Array",
708
716
  description: "reactive `Array.join`"
709
717
  },
710
718
  {
@@ -742,7 +750,7 @@ var functions$1 = [
742
750
  {
743
751
  name: "useAsyncState",
744
752
  "package": "core",
745
- lastUpdated: 1657430549000,
753
+ lastUpdated: 1658656516000,
746
754
  docs: "https://vueuse.org/core/useAsyncState/",
747
755
  category: "State",
748
756
  description: "reactive async state"
@@ -754,15 +762,17 @@ var functions$1 = [
754
762
  component: true,
755
763
  docs: "https://vueuse.org/integrations/useAsyncValidator/",
756
764
  category: "@Integrations",
757
- description: "wrapper for [`async-validator`](https://github.com/yiminghe/async-validator)"
765
+ description: "wrapper for [`async-validator`](https://github.com/yiminghe/async-validator)",
766
+ importPath: "integrations/useAsyncValidator"
758
767
  },
759
768
  {
760
769
  name: "useAuth",
761
770
  "package": "firebase",
762
- lastUpdated: 1639442454000,
771
+ lastUpdated: 1658645224000,
763
772
  docs: "https://vueuse.org/firebase/useAuth/",
764
773
  category: "@Firebase",
765
- description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding"
774
+ description: "reactive [Firebase Auth](https://firebase.google.com/docs/auth) binding",
775
+ importPath: "firebase/useAuth"
766
776
  },
767
777
  {
768
778
  name: "useAverage",
@@ -778,7 +788,8 @@ var functions$1 = [
778
788
  lastUpdated: 1657259100000,
779
789
  docs: "https://vueuse.org/integrations/useAxios/",
780
790
  category: "@Integrations",
781
- description: "wrapper for [`axios`](https://github.com/axios/axios)"
791
+ description: "wrapper for [`axios`](https://github.com/axios/axios)",
792
+ importPath: "integrations/useAxios"
782
793
  },
783
794
  {
784
795
  name: "useBase64",
@@ -800,7 +811,7 @@ var functions$1 = [
800
811
  {
801
812
  name: "useBluetooth",
802
813
  "package": "core",
803
- lastUpdated: 1657430593000,
814
+ lastUpdated: 1658083596000,
804
815
  docs: "https://vueuse.org/core/useBluetooth/",
805
816
  category: "Browser",
806
817
  description: "reactive [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API)"
@@ -816,7 +827,7 @@ var functions$1 = [
816
827
  {
817
828
  name: "useBroadcastChannel",
818
829
  "package": "core",
819
- lastUpdated: 1657430593000,
830
+ lastUpdated: 1658083596000,
820
831
  docs: "https://vueuse.org/core/useBroadcastChannel/",
821
832
  category: "Browser",
822
833
  description: "reactive [BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)"
@@ -852,7 +863,8 @@ var functions$1 = [
852
863
  lastUpdated: 1657259100000,
853
864
  docs: "https://vueuse.org/integrations/useChangeCase/",
854
865
  category: "@Integrations",
855
- description: "reactive wrapper for [`change-case`](https://github.com/blakeembrey/change-case)"
866
+ description: "reactive wrapper for [`change-case`](https://github.com/blakeembrey/change-case)",
867
+ importPath: "integrations/useChangeCase"
856
868
  },
857
869
  {
858
870
  name: "useClamp",
@@ -873,7 +885,7 @@ var functions$1 = [
873
885
  {
874
886
  name: "useColorMode",
875
887
  "package": "core",
876
- lastUpdated: 1657634978000,
888
+ lastUpdated: 1658652612000,
877
889
  component: true,
878
890
  docs: "https://vueuse.org/core/useColorMode/",
879
891
  category: "Browser",
@@ -898,7 +910,8 @@ var functions$1 = [
898
910
  lastUpdated: 1642756753000,
899
911
  docs: "https://vueuse.org/integrations/useCookies/",
900
912
  category: "@Integrations",
901
- description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)"
913
+ description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
914
+ importPath: "integrations/useCookies"
902
915
  },
903
916
  {
904
917
  name: "useCounter",
@@ -927,7 +940,7 @@ var functions$1 = [
927
940
  {
928
941
  name: "useCycleList",
929
942
  "package": "core",
930
- lastUpdated: 1657259100000,
943
+ lastUpdated: 1658083596000,
931
944
  docs: "https://vueuse.org/core/useCycleList/",
932
945
  category: "Utilities",
933
946
  description: "cycle through a list of items"
@@ -951,7 +964,7 @@ var functions$1 = [
951
964
  "package": "shared",
952
965
  lastUpdated: 1657259100000,
953
966
  docs: "https://vueuse.org/shared/useDateFormat/",
954
- category: "Utilities",
967
+ category: "Time",
955
968
  description: "get the formatted date according to the string of tokens passed in"
956
969
  },
957
970
  {
@@ -969,7 +982,7 @@ var functions$1 = [
969
982
  {
970
983
  name: "useDebounceFn",
971
984
  "package": "shared",
972
- lastUpdated: 1657259100000,
985
+ lastUpdated: 1658645224000,
973
986
  docs: "https://vueuse.org/shared/useDebounceFn/",
974
987
  category: "Utilities",
975
988
  description: "debounce execution of a function",
@@ -1030,7 +1043,7 @@ var functions$1 = [
1030
1043
  {
1031
1044
  name: "useDocumentVisibility",
1032
1045
  "package": "core",
1033
- lastUpdated: 1646168589000,
1046
+ lastUpdated: 1658083596000,
1034
1047
  component: true,
1035
1048
  docs: "https://vueuse.org/core/useDocumentVisibility/",
1036
1049
  category: "Elements",
@@ -1039,7 +1052,7 @@ var functions$1 = [
1039
1052
  {
1040
1053
  name: "useDraggable",
1041
1054
  "package": "core",
1042
- lastUpdated: 1657259100000,
1055
+ lastUpdated: 1658083596000,
1043
1056
  component: true,
1044
1057
  docs: "https://vueuse.org/core/useDraggable/",
1045
1058
  category: "Elements",
@@ -1051,7 +1064,8 @@ var functions$1 = [
1051
1064
  lastUpdated: 1657259100000,
1052
1065
  docs: "https://vueuse.org/integrations/useDrauu/",
1053
1066
  category: "@Integrations",
1054
- description: "reactive instance for [drauu](https://github.com/antfu/drauu)"
1067
+ description: "reactive instance for [drauu](https://github.com/antfu/drauu)",
1068
+ importPath: "integrations/useDrauu"
1055
1069
  },
1056
1070
  {
1057
1071
  name: "useDropZone",
@@ -1148,7 +1162,7 @@ var functions$1 = [
1148
1162
  {
1149
1163
  name: "useEyeDropper",
1150
1164
  "package": "core",
1151
- lastUpdated: 1657430593000,
1165
+ lastUpdated: 1658083596000,
1152
1166
  component: true,
1153
1167
  docs: "https://vueuse.org/core/useEyeDropper/",
1154
1168
  category: "Browser",
@@ -1189,10 +1203,11 @@ var functions$1 = [
1189
1203
  {
1190
1204
  name: "useFirestore",
1191
1205
  "package": "firebase",
1192
- lastUpdated: 1655284952000,
1206
+ lastUpdated: 1658645224000,
1193
1207
  docs: "https://vueuse.org/firebase/useFirestore/",
1194
1208
  category: "@Firebase",
1195
- description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding"
1209
+ description: "reactive [Firestore](https://firebase.google.com/docs/firestore) binding",
1210
+ importPath: "firebase/useFirestore"
1196
1211
  },
1197
1212
  {
1198
1213
  name: "useFloor",
@@ -1217,7 +1232,8 @@ var functions$1 = [
1217
1232
  component: true,
1218
1233
  docs: "https://vueuse.org/integrations/useFocusTrap/",
1219
1234
  category: "@Integrations",
1220
- description: "reactive wrapper for [`focus-trap`](https://github.com/focus-trap/focus-trap)"
1235
+ description: "reactive wrapper for [`focus-trap`](https://github.com/focus-trap/focus-trap)",
1236
+ importPath: "integrations/useFocusTrap"
1221
1237
  },
1222
1238
  {
1223
1239
  name: "useFocusWithin",
@@ -1250,12 +1266,13 @@ var functions$1 = [
1250
1266
  lastUpdated: 1657259100000,
1251
1267
  docs: "https://vueuse.org/integrations/useFuse/",
1252
1268
  category: "@Integrations",
1253
- description: "easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse)"
1269
+ description: "easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse)",
1270
+ importPath: "integrations/useFuse"
1254
1271
  },
1255
1272
  {
1256
1273
  name: "useGamepad",
1257
1274
  "package": "core",
1258
- lastUpdated: 1657430593000,
1275
+ lastUpdated: 1658083596000,
1259
1276
  docs: "https://vueuse.org/core/useGamepad/",
1260
1277
  category: "Browser",
1261
1278
  description: "provides reactive bindings for the [Gamepad API](https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API)"
@@ -1288,7 +1305,7 @@ var functions$1 = [
1288
1305
  {
1289
1306
  name: "useImage",
1290
1307
  "package": "core",
1291
- lastUpdated: 1657430549000,
1308
+ lastUpdated: 1658083596000,
1292
1309
  component: true,
1293
1310
  docs: "https://vueuse.org/core/useImage/",
1294
1311
  category: "Browser",
@@ -1315,7 +1332,7 @@ var functions$1 = [
1315
1332
  {
1316
1333
  name: "useInterval",
1317
1334
  "package": "shared",
1318
- lastUpdated: 1657259100000,
1335
+ lastUpdated: 1658645224000,
1319
1336
  docs: "https://vueuse.org/shared/useInterval/",
1320
1337
  category: "Animation",
1321
1338
  description: "reactive counter increases on every interval"
@@ -1323,7 +1340,7 @@ var functions$1 = [
1323
1340
  {
1324
1341
  name: "useIntervalFn",
1325
1342
  "package": "shared",
1326
- lastUpdated: 1657259100000,
1343
+ lastUpdated: 1658083607000,
1327
1344
  docs: "https://vueuse.org/shared/useIntervalFn/",
1328
1345
  category: "Animation",
1329
1346
  description: "wrapper for `setInterval` with controls"
@@ -1331,15 +1348,15 @@ var functions$1 = [
1331
1348
  {
1332
1349
  name: "useIpcRenderer",
1333
1350
  "package": "electron",
1334
- lastUpdated: 1639442454000,
1351
+ lastUpdated: 1658645224000,
1335
1352
  docs: "https://vueuse.org/electron/useIpcRenderer/",
1336
1353
  category: "@Electron",
1337
- description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and it's all APIs"
1354
+ description: "provides [ipcRenderer](https://www.electronjs.org/docs/api/ipc-renderer) and all of its APIs"
1338
1355
  },
1339
1356
  {
1340
1357
  name: "useIpcRendererInvoke",
1341
1358
  "package": "electron",
1342
- lastUpdated: 1639442454000,
1359
+ lastUpdated: 1658645224000,
1343
1360
  docs: "https://vueuse.org/electron/useIpcRendererInvoke/",
1344
1361
  category: "@Electron",
1345
1362
  description: "reactive [ipcRenderer.invoke API](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererinvokechannel-args) result"
@@ -1347,7 +1364,7 @@ var functions$1 = [
1347
1364
  {
1348
1365
  name: "useIpcRendererOn",
1349
1366
  "package": "electron",
1350
- lastUpdated: 1639442454000,
1367
+ lastUpdated: 1658645224000,
1351
1368
  docs: "https://vueuse.org/electron/useIpcRendererOn/",
1352
1369
  category: "@Electron",
1353
1370
  description: "use [ipcRenderer.on](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendereronchannel-listener) with ease and [ipcRenderer.removeListener](https://www.electronjs.org/docs/api/ipc-renderer#ipcrendererremovelistenerchannel-listener) automatically on unmounted"
@@ -1358,7 +1375,8 @@ var functions$1 = [
1358
1375
  lastUpdated: 1657730911000,
1359
1376
  docs: "https://vueuse.org/integrations/useJwt/",
1360
1377
  category: "@Integrations",
1361
- description: "wrapper for [`jwt-decode`](https://github.com/auth0/jwt-decode)"
1378
+ description: "wrapper for [`jwt-decode`](https://github.com/auth0/jwt-decode)",
1379
+ importPath: "integrations/useJwt"
1362
1380
  },
1363
1381
  {
1364
1382
  name: "useKeyModifier",
@@ -1373,7 +1391,7 @@ var functions$1 = [
1373
1391
  "package": "shared",
1374
1392
  lastUpdated: 1642756441000,
1375
1393
  docs: "https://vueuse.org/shared/useLastChanged/",
1376
- category: "Utilities",
1394
+ category: "State",
1377
1395
  description: "records the timestamp of the last change"
1378
1396
  },
1379
1397
  {
@@ -1449,7 +1467,7 @@ var functions$1 = [
1449
1467
  {
1450
1468
  name: "useMemory",
1451
1469
  "package": "core",
1452
- lastUpdated: 1657430593000,
1470
+ lastUpdated: 1658083607000,
1453
1471
  docs: "https://vueuse.org/core/useMemory/",
1454
1472
  category: "Browser",
1455
1473
  description: "reactive Memory Info"
@@ -1537,7 +1555,7 @@ var functions$1 = [
1537
1555
  {
1538
1556
  name: "useNetwork",
1539
1557
  "package": "core",
1540
- lastUpdated: 1657430593000,
1558
+ lastUpdated: 1658083596000,
1541
1559
  component: true,
1542
1560
  docs: "https://vueuse.org/core/useNetwork/",
1543
1561
  category: "Sensors",
@@ -1555,10 +1573,11 @@ var functions$1 = [
1555
1573
  {
1556
1574
  name: "useNProgress",
1557
1575
  "package": "integrations",
1558
- lastUpdated: 1657259100000,
1576
+ lastUpdated: 1658758826000,
1559
1577
  docs: "https://vueuse.org/integrations/useNProgress/",
1560
1578
  category: "@Integrations",
1561
- description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)"
1579
+ description: "reactive wrapper for [`nprogress`](https://github.com/rstacruz/nprogress)",
1580
+ importPath: "integrations/useNProgress"
1562
1581
  },
1563
1582
  {
1564
1583
  name: "useObjectUrl",
@@ -1575,12 +1594,12 @@ var functions$1 = [
1575
1594
  lastUpdated: 1651595539000,
1576
1595
  docs: "https://vueuse.org/rxjs/useObservable/",
1577
1596
  category: "@RxJS",
1578
- description: "use an Observable"
1597
+ description: "use an RxJS [`Observable`](https://rxjs.dev/guide/observable)"
1579
1598
  },
1580
1599
  {
1581
1600
  name: "useOffsetPagination",
1582
1601
  "package": "core",
1583
- lastUpdated: 1657431142000,
1602
+ lastUpdated: 1658163976000,
1584
1603
  component: true,
1585
1604
  docs: "https://vueuse.org/core/useOffsetPagination/",
1586
1605
  category: "Utilities",
@@ -1626,7 +1645,7 @@ var functions$1 = [
1626
1645
  {
1627
1646
  name: "usePointer",
1628
1647
  "package": "core",
1629
- lastUpdated: 1639442454000,
1648
+ lastUpdated: 1658083596000,
1630
1649
  component: true,
1631
1650
  docs: "https://vueuse.org/core/usePointer/",
1632
1651
  category: "Sensors",
@@ -1689,7 +1708,8 @@ var functions$1 = [
1689
1708
  lastUpdated: 1657259100000,
1690
1709
  docs: "https://vueuse.org/integrations/useQRCode/",
1691
1710
  category: "@Integrations",
1692
- description: "wrapper for [`qrcode`](https://github.com/soldair/node-qrcode)"
1711
+ description: "wrapper for [`qrcode`](https://github.com/soldair/node-qrcode)",
1712
+ importPath: "integrations/useQRCode"
1693
1713
  },
1694
1714
  {
1695
1715
  name: "useRafFn",
@@ -1734,7 +1754,7 @@ var functions$1 = [
1734
1754
  lastUpdated: 1639442454000,
1735
1755
  docs: "https://vueuse.org/router/useRouteHash/",
1736
1756
  category: "@Router",
1737
- description: "shorthand for reactive route.hash"
1757
+ description: "shorthand for a reactive `route.hash`"
1738
1758
  },
1739
1759
  {
1740
1760
  name: "useRouteParams",
@@ -1742,7 +1762,7 @@ var functions$1 = [
1742
1762
  lastUpdated: 1657133143000,
1743
1763
  docs: "https://vueuse.org/router/useRouteParams/",
1744
1764
  category: "@Router",
1745
- description: "shorthand for reactive route.params"
1765
+ description: "shorthand for a reactive `route.params`"
1746
1766
  },
1747
1767
  {
1748
1768
  name: "useRouteQuery",
@@ -1750,15 +1770,16 @@ var functions$1 = [
1750
1770
  lastUpdated: 1649931974000,
1751
1771
  docs: "https://vueuse.org/router/useRouteQuery/",
1752
1772
  category: "@Router",
1753
- description: "shorthand for reactive route.query"
1773
+ description: "shorthand for a reactive `route.query`"
1754
1774
  },
1755
1775
  {
1756
1776
  name: "useRTDB",
1757
1777
  "package": "firebase",
1758
- lastUpdated: 1657732317000,
1778
+ lastUpdated: 1658645224000,
1759
1779
  docs: "https://vueuse.org/firebase/useRTDB/",
1760
1780
  category: "@Firebase",
1761
- description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding"
1781
+ description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
1782
+ importPath: "firebase/useRTDB"
1762
1783
  },
1763
1784
  {
1764
1785
  name: "useSchemaOrg",
@@ -1847,7 +1868,7 @@ var functions$1 = [
1847
1868
  {
1848
1869
  name: "useSpeechSynthesis",
1849
1870
  "package": "core",
1850
- lastUpdated: 1658043205000,
1871
+ lastUpdated: 1658083561000,
1851
1872
  docs: "https://vueuse.org/core/useSpeechSynthesis/",
1852
1873
  category: "Sensors",
1853
1874
  description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -1870,7 +1891,7 @@ var functions$1 = [
1870
1891
  {
1871
1892
  name: "useStorage",
1872
1893
  "package": "core",
1873
- lastUpdated: 1657634978000,
1894
+ lastUpdated: 1658657648000,
1874
1895
  docs: "https://vueuse.org/core/useStorage/",
1875
1896
  category: "State",
1876
1897
  description: "reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)/[SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)",
@@ -1907,7 +1928,7 @@ var functions$1 = [
1907
1928
  lastUpdated: 1651595539000,
1908
1929
  docs: "https://vueuse.org/rxjs/useSubject/",
1909
1930
  category: "@RxJS",
1910
- description: "bind Subject to ref and propagate value changes both ways"
1931
+ description: "bind an RxJS [`Subject`](https://rxjs.dev/guide/subject) to a `ref` and propagate value changes both ways"
1911
1932
  },
1912
1933
  {
1913
1934
  name: "useSubscription",
@@ -1915,7 +1936,7 @@ var functions$1 = [
1915
1936
  lastUpdated: 1628521945000,
1916
1937
  docs: "https://vueuse.org/rxjs/useSubscription/",
1917
1938
  category: "@RxJS",
1918
- description: "uses subscriptions without worry about unsubscribing to it or memory leaks"
1939
+ description: "use an RxJS [`Subscription`](https://rxjs.dev/guide/subscription) without worrying about unsubscribing from it or creating memory leaks"
1919
1940
  },
1920
1941
  {
1921
1942
  name: "useSum",
@@ -1952,11 +1973,19 @@ var functions$1 = [
1952
1973
  {
1953
1974
  name: "useTextareaAutosize",
1954
1975
  "package": "core",
1955
- lastUpdated: 1657132700000,
1976
+ lastUpdated: 1658083596000,
1956
1977
  docs: "https://vueuse.org/core/useTextareaAutosize/",
1957
1978
  category: "Browser",
1958
1979
  description: "automatically update the height of a textarea depending on the content"
1959
1980
  },
1981
+ {
1982
+ name: "useTextDirection",
1983
+ "package": "core",
1984
+ lastUpdated: 1658657118000,
1985
+ docs: "https://vueuse.org/core/useTextDirection/",
1986
+ category: "Browser",
1987
+ description: "reactive [dir](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) of the element's text"
1988
+ },
1960
1989
  {
1961
1990
  name: "useTextSelection",
1962
1991
  "package": "core",
@@ -1968,7 +1997,7 @@ var functions$1 = [
1968
1997
  {
1969
1998
  name: "useThrottledRefHistory",
1970
1999
  "package": "core",
1971
- lastUpdated: 1639442454000,
2000
+ lastUpdated: 1658083596000,
1972
2001
  docs: "https://vueuse.org/core/useThrottledRefHistory/",
1973
2002
  category: "State",
1974
2003
  description: "shorthand for `useRefHistory` with throttled filter",
@@ -1993,16 +2022,16 @@ var functions$1 = [
1993
2022
  {
1994
2023
  name: "useTimeAgo",
1995
2024
  "package": "core",
1996
- lastUpdated: 1657259100000,
2025
+ lastUpdated: 1658083596000,
1997
2026
  component: true,
1998
2027
  docs: "https://vueuse.org/core/useTimeAgo/",
1999
- category: "Misc",
2028
+ category: "Time",
2000
2029
  description: "reactive time ago"
2001
2030
  },
2002
2031
  {
2003
2032
  name: "useTimeout",
2004
2033
  "package": "shared",
2005
- lastUpdated: 1639442454000,
2034
+ lastUpdated: 1658083632000,
2006
2035
  docs: "https://vueuse.org/shared/useTimeout/",
2007
2036
  category: "Animation",
2008
2037
  description: "update value after a given time with controls"
@@ -2010,7 +2039,7 @@ var functions$1 = [
2010
2039
  {
2011
2040
  name: "useTimeoutFn",
2012
2041
  "package": "shared",
2013
- lastUpdated: 1657259100000,
2042
+ lastUpdated: 1658083632000,
2014
2043
  docs: "https://vueuse.org/shared/useTimeoutFn/",
2015
2044
  category: "Animation",
2016
2045
  description: "wrapper for `setTimeout` with controls"
@@ -2018,7 +2047,7 @@ var functions$1 = [
2018
2047
  {
2019
2048
  name: "useTimeoutPoll",
2020
2049
  "package": "core",
2021
- lastUpdated: 1657259100000,
2050
+ lastUpdated: 1658083632000,
2022
2051
  docs: "https://vueuse.org/core/useTimeoutPoll/",
2023
2052
  category: "Utilities",
2024
2053
  description: "use timeout to poll something"
@@ -2096,7 +2125,7 @@ var functions$1 = [
2096
2125
  {
2097
2126
  name: "useVirtualList",
2098
2127
  "package": "core",
2099
- lastUpdated: 1642756441000,
2128
+ lastUpdated: 1658083596000,
2100
2129
  component: true,
2101
2130
  docs: "https://vueuse.org/core/useVirtualList/",
2102
2131
  category: "Component",
@@ -2127,7 +2156,7 @@ var functions$1 = [
2127
2156
  {
2128
2157
  name: "useWakeLock",
2129
2158
  "package": "core",
2130
- lastUpdated: 1657430593000,
2159
+ lastUpdated: 1658083596000,
2131
2160
  docs: "https://vueuse.org/core/useWakeLock/",
2132
2161
  category: "Browser",
2133
2162
  description: "reactive [Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API)"
@@ -2135,7 +2164,7 @@ var functions$1 = [
2135
2164
  {
2136
2165
  name: "useWebNotification",
2137
2166
  "package": "core",
2138
- lastUpdated: 1657430593000,
2167
+ lastUpdated: 1658083596000,
2139
2168
  docs: "https://vueuse.org/core/useWebNotification/",
2140
2169
  category: "Browser",
2141
2170
  description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2143,7 +2172,7 @@ var functions$1 = [
2143
2172
  {
2144
2173
  name: "useWebSocket",
2145
2174
  "package": "core",
2146
- lastUpdated: 1657730676000,
2175
+ lastUpdated: 1658285520000,
2147
2176
  docs: "https://vueuse.org/core/useWebSocket/",
2148
2177
  category: "Network",
2149
2178
  description: "reactive [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket) client"
@@ -2153,7 +2182,7 @@ var functions$1 = [
2153
2182
  "package": "core",
2154
2183
  lastUpdated: 1647220329000,
2155
2184
  docs: "https://vueuse.org/core/useWebWorker/",
2156
- category: "Misc",
2185
+ category: "Browser",
2157
2186
  description: "simple [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) registration and communication",
2158
2187
  related: [
2159
2188
  "useWebWorkerFn"
@@ -2164,7 +2193,7 @@ var functions$1 = [
2164
2193
  "package": "core",
2165
2194
  lastUpdated: 1657730737000,
2166
2195
  docs: "https://vueuse.org/core/useWebWorkerFn/",
2167
- category: "Misc",
2196
+ category: "Browser",
2168
2197
  description: "run expensive functions without blocking the UI",
2169
2198
  related: [
2170
2199
  "useWebWorker"
@@ -2199,7 +2228,7 @@ var functions$1 = [
2199
2228
  {
2200
2229
  name: "useZoomFactor",
2201
2230
  "package": "electron",
2202
- lastUpdated: 1639442454000,
2231
+ lastUpdated: 1658645224000,
2203
2232
  docs: "https://vueuse.org/electron/useZoomFactor/",
2204
2233
  category: "@Electron",
2205
2234
  description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom factor"
@@ -2207,7 +2236,7 @@ var functions$1 = [
2207
2236
  {
2208
2237
  name: "useZoomLevel",
2209
2238
  "package": "electron",
2210
- lastUpdated: 1639442454000,
2239
+ lastUpdated: 1658645224000,
2211
2240
  docs: "https://vueuse.org/electron/useZoomLevel/",
2212
2241
  category: "@Electron",
2213
2242
  description: "reactive [WebFrame](https://www.electronjs.org/docs/api/web-frame#webframe) zoom level"
@@ -2305,7 +2334,7 @@ var functions$1 = [
2305
2334
  {
2306
2335
  name: "whenever",
2307
2336
  "package": "shared",
2308
- lastUpdated: 1649251191000,
2337
+ lastUpdated: 1658645224000,
2309
2338
  docs: "https://vueuse.org/shared/whenever/",
2310
2339
  category: "Watch",
2311
2340
  description: "shorthand for watching value to be truthy"
@@ -2328,8 +2357,8 @@ const categoriesOrder = [
2328
2357
  "Watch",
2329
2358
  "Reactivity",
2330
2359
  "Array",
2331
- "Utilities",
2332
- "Misc"
2360
+ "Time",
2361
+ "Utilities"
2333
2362
  ];
2334
2363
  const metadata = _metadata;
2335
2364
  const functions = functions$1;
package/index.d.ts CHANGED
@@ -21,6 +21,7 @@ interface PackageManifest {
21
21
  interface VueUseFunction {
22
22
  name: string;
23
23
  package: string;
24
+ importPath?: string;
24
25
  lastUpdated?: number;
25
26
  category?: string;
26
27
  description?: string;