@genesislcap/foundation-utils 14.314.1 → 14.314.3-alpha-c442ac5.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.
Files changed (58) hide show
  1. package/dist/custom-elements.json +738 -120
  2. package/dist/dts/inactivity/inactivity-dialog.d.ts +23 -0
  3. package/dist/dts/inactivity/inactivity-dialog.d.ts.map +1 -0
  4. package/dist/dts/inactivity/inactivity-manager.d.ts +24 -0
  5. package/dist/dts/inactivity/inactivity-manager.d.ts.map +1 -0
  6. package/dist/dts/inactivity/inactivity-service.d.ts +34 -0
  7. package/dist/dts/inactivity/inactivity-service.d.ts.map +1 -0
  8. package/dist/dts/inactivity/index.d.ts +4 -0
  9. package/dist/dts/inactivity/index.d.ts.map +1 -0
  10. package/dist/dts/index.d.ts +1 -0
  11. package/dist/dts/index.d.ts.map +1 -1
  12. package/dist/esm/inactivity/inactivity-dialog.js +213 -0
  13. package/dist/esm/inactivity/inactivity-manager.js +87 -0
  14. package/dist/esm/inactivity/inactivity-service.js +128 -0
  15. package/dist/esm/inactivity/index.js +3 -0
  16. package/dist/esm/index.js +1 -0
  17. package/dist/foundation-utils.api.json +1217 -0
  18. package/dist/foundation-utils.d.ts +83 -0
  19. package/docs/api/foundation-utils.inactivityconfig.md +71 -0
  20. package/docs/api/foundation-utils.inactivityconfig.timeoutminutes.md +11 -0
  21. package/docs/api/foundation-utils.inactivityconfig.warningminutes.md +11 -0
  22. package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +15 -0
  23. package/docs/api/foundation-utils.inactivitydialog.handlecontinue.md +15 -0
  24. package/docs/api/foundation-utils.inactivitydialog.handlelogout.md +15 -0
  25. package/docs/api/foundation-utils.inactivitydialog.hide.md +15 -0
  26. package/docs/api/foundation-utils.inactivitydialog.isvisible.md +11 -0
  27. package/docs/api/foundation-utils.inactivitydialog.md +152 -0
  28. package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +11 -0
  29. package/docs/api/foundation-utils.inactivitydialog.show.md +50 -0
  30. package/docs/api/foundation-utils.inactivitydialogoptions.md +88 -0
  31. package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +11 -0
  32. package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +11 -0
  33. package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +11 -0
  34. package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +11 -0
  35. package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +11 -0
  36. package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +13 -0
  37. package/docs/api/foundation-utils.inactivityevents.md +88 -0
  38. package/docs/api/foundation-utils.inactivitymanager._constructor_.md +48 -0
  39. package/docs/api/foundation-utils.inactivitymanager.destroy.md +15 -0
  40. package/docs/api/foundation-utils.inactivitymanager.getservice.md +15 -0
  41. package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +15 -0
  42. package/docs/api/foundation-utils.inactivitymanager.md +138 -0
  43. package/docs/api/foundation-utils.inactivitymanager.reset.md +15 -0
  44. package/docs/api/foundation-utils.inactivitymanager.start.md +15 -0
  45. package/docs/api/foundation-utils.inactivitymanager.stop.md +15 -0
  46. package/docs/api/foundation-utils.inactivitymanagerconfig.md +55 -0
  47. package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +11 -0
  48. package/docs/api/foundation-utils.inactivityservice._constructor_.md +48 -0
  49. package/docs/api/foundation-utils.inactivityservice.destroy.md +15 -0
  50. package/docs/api/foundation-utils.inactivityservice.md +138 -0
  51. package/docs/api/foundation-utils.inactivityservice.off.md +64 -0
  52. package/docs/api/foundation-utils.inactivityservice.on.md +64 -0
  53. package/docs/api/foundation-utils.inactivityservice.resettimer.md +15 -0
  54. package/docs/api/foundation-utils.inactivityservice.start.md +15 -0
  55. package/docs/api/foundation-utils.inactivityservice.stop.md +15 -0
  56. package/docs/api/foundation-utils.md +63 -0
  57. package/docs/api-report.md.api.md +90 -0
  58. package/package.json +11 -11
@@ -174,6 +174,14 @@
174
174
  "name": "*",
175
175
  "package": "./window"
176
176
  }
177
+ },
178
+ {
179
+ "kind": "js",
180
+ "name": "*",
181
+ "declaration": {
182
+ "name": "*",
183
+ "package": "./inactivity"
184
+ }
177
185
  }
178
186
  ]
179
187
  },
@@ -466,6 +474,126 @@
466
474
  }
467
475
  ]
468
476
  },
477
+ {
478
+ "kind": "javascript-module",
479
+ "path": "src/design-system/design-system.ts",
480
+ "declarations": [
481
+ {
482
+ "kind": "function",
483
+ "name": "assureDesignSystem",
484
+ "return": {
485
+ "type": {
486
+ "text": "DesignSystemModule"
487
+ }
488
+ },
489
+ "parameters": [
490
+ {
491
+ "name": "module",
492
+ "type": {
493
+ "text": "DesignSystemModule"
494
+ }
495
+ }
496
+ ],
497
+ "description": "assureDesignSystem.",
498
+ "privacy": "public"
499
+ },
500
+ {
501
+ "kind": "function",
502
+ "name": "getCurrentDesignSystem",
503
+ "return": {
504
+ "type": {
505
+ "text": ""
506
+ }
507
+ },
508
+ "parameters": [
509
+ {
510
+ "name": "element",
511
+ "type": {
512
+ "text": "HTMLElement"
513
+ },
514
+ "description": "The starting HTML element"
515
+ },
516
+ {
517
+ "name": "fallbackPrefix",
518
+ "type": {
519
+ "text": "string"
520
+ },
521
+ "description": "The prefix to fallback to if the provider is not available"
522
+ }
523
+ ],
524
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
525
+ "privacy": "public"
526
+ },
527
+ {
528
+ "kind": "function",
529
+ "name": "getCurrentDesignSystemPrefix",
530
+ "return": {
531
+ "type": {
532
+ "text": ""
533
+ }
534
+ },
535
+ "parameters": [
536
+ {
537
+ "name": "element",
538
+ "type": {
539
+ "text": "HTMLElement"
540
+ },
541
+ "description": "The starting HTML element"
542
+ },
543
+ {
544
+ "name": "fallbackPrefix",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The prefix to fallback to if the provider is not available"
549
+ }
550
+ ],
551
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
552
+ "privacy": "public"
553
+ }
554
+ ],
555
+ "exports": [
556
+ {
557
+ "kind": "js",
558
+ "name": "assureDesignSystem",
559
+ "declaration": {
560
+ "name": "assureDesignSystem",
561
+ "module": "src/design-system/design-system.ts"
562
+ }
563
+ },
564
+ {
565
+ "kind": "js",
566
+ "name": "getCurrentDesignSystem",
567
+ "declaration": {
568
+ "name": "getCurrentDesignSystem",
569
+ "module": "src/design-system/design-system.ts"
570
+ }
571
+ },
572
+ {
573
+ "kind": "js",
574
+ "name": "getCurrentDesignSystemPrefix",
575
+ "declaration": {
576
+ "name": "getCurrentDesignSystemPrefix",
577
+ "module": "src/design-system/design-system.ts"
578
+ }
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "kind": "javascript-module",
584
+ "path": "src/design-system/index.ts",
585
+ "declarations": [],
586
+ "exports": [
587
+ {
588
+ "kind": "js",
589
+ "name": "*",
590
+ "declaration": {
591
+ "name": "*",
592
+ "package": "./design-system"
593
+ }
594
+ }
595
+ ]
596
+ },
469
597
  {
470
598
  "kind": "javascript-module",
471
599
  "path": "src/env/index.ts",
@@ -924,126 +1052,6 @@
924
1052
  }
925
1053
  ]
926
1054
  },
927
- {
928
- "kind": "javascript-module",
929
- "path": "src/design-system/design-system.ts",
930
- "declarations": [
931
- {
932
- "kind": "function",
933
- "name": "assureDesignSystem",
934
- "return": {
935
- "type": {
936
- "text": "DesignSystemModule"
937
- }
938
- },
939
- "parameters": [
940
- {
941
- "name": "module",
942
- "type": {
943
- "text": "DesignSystemModule"
944
- }
945
- }
946
- ],
947
- "description": "assureDesignSystem.",
948
- "privacy": "public"
949
- },
950
- {
951
- "kind": "function",
952
- "name": "getCurrentDesignSystem",
953
- "return": {
954
- "type": {
955
- "text": ""
956
- }
957
- },
958
- "parameters": [
959
- {
960
- "name": "element",
961
- "type": {
962
- "text": "HTMLElement"
963
- },
964
- "description": "The starting HTML element"
965
- },
966
- {
967
- "name": "fallbackPrefix",
968
- "type": {
969
- "text": "string"
970
- },
971
- "description": "The prefix to fallback to if the provider is not available"
972
- }
973
- ],
974
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
975
- "privacy": "public"
976
- },
977
- {
978
- "kind": "function",
979
- "name": "getCurrentDesignSystemPrefix",
980
- "return": {
981
- "type": {
982
- "text": ""
983
- }
984
- },
985
- "parameters": [
986
- {
987
- "name": "element",
988
- "type": {
989
- "text": "HTMLElement"
990
- },
991
- "description": "The starting HTML element"
992
- },
993
- {
994
- "name": "fallbackPrefix",
995
- "type": {
996
- "text": "string"
997
- },
998
- "description": "The prefix to fallback to if the provider is not available"
999
- }
1000
- ],
1001
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1002
- "privacy": "public"
1003
- }
1004
- ],
1005
- "exports": [
1006
- {
1007
- "kind": "js",
1008
- "name": "assureDesignSystem",
1009
- "declaration": {
1010
- "name": "assureDesignSystem",
1011
- "module": "src/design-system/design-system.ts"
1012
- }
1013
- },
1014
- {
1015
- "kind": "js",
1016
- "name": "getCurrentDesignSystem",
1017
- "declaration": {
1018
- "name": "getCurrentDesignSystem",
1019
- "module": "src/design-system/design-system.ts"
1020
- }
1021
- },
1022
- {
1023
- "kind": "js",
1024
- "name": "getCurrentDesignSystemPrefix",
1025
- "declaration": {
1026
- "name": "getCurrentDesignSystemPrefix",
1027
- "module": "src/design-system/design-system.ts"
1028
- }
1029
- }
1030
- ]
1031
- },
1032
- {
1033
- "kind": "javascript-module",
1034
- "path": "src/design-system/index.ts",
1035
- "declarations": [],
1036
- "exports": [
1037
- {
1038
- "kind": "js",
1039
- "name": "*",
1040
- "declaration": {
1041
- "name": "*",
1042
- "package": "./design-system"
1043
- }
1044
- }
1045
- ]
1046
- },
1047
1055
  {
1048
1056
  "kind": "javascript-module",
1049
1057
  "path": "src/error/errorMap.ts",
@@ -1555,6 +1563,616 @@
1555
1563
  }
1556
1564
  ]
1557
1565
  },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/inactivity/inactivity-dialog.ts",
1569
+ "declarations": [
1570
+ {
1571
+ "kind": "class",
1572
+ "description": "",
1573
+ "name": "InactivityDialog",
1574
+ "members": [
1575
+ {
1576
+ "kind": "field",
1577
+ "name": "isVisible",
1578
+ "type": {
1579
+ "text": "boolean"
1580
+ },
1581
+ "default": "false"
1582
+ },
1583
+ {
1584
+ "kind": "field",
1585
+ "name": "remainingSeconds",
1586
+ "type": {
1587
+ "text": "number"
1588
+ },
1589
+ "default": "0"
1590
+ },
1591
+ {
1592
+ "kind": "field",
1593
+ "name": "onContinue",
1594
+ "type": {
1595
+ "text": "() => void | undefined"
1596
+ },
1597
+ "privacy": "private"
1598
+ },
1599
+ {
1600
+ "kind": "field",
1601
+ "name": "onLogout",
1602
+ "type": {
1603
+ "text": "() => void | undefined"
1604
+ },
1605
+ "privacy": "private"
1606
+ },
1607
+ {
1608
+ "kind": "field",
1609
+ "name": "countdownInterval",
1610
+ "type": {
1611
+ "text": "number | undefined"
1612
+ },
1613
+ "privacy": "private"
1614
+ },
1615
+ {
1616
+ "kind": "field",
1617
+ "name": "startTime",
1618
+ "type": {
1619
+ "text": "number"
1620
+ },
1621
+ "privacy": "private",
1622
+ "default": "0"
1623
+ },
1624
+ {
1625
+ "kind": "field",
1626
+ "name": "totalSeconds",
1627
+ "type": {
1628
+ "text": "number"
1629
+ },
1630
+ "privacy": "private",
1631
+ "default": "0"
1632
+ },
1633
+ {
1634
+ "kind": "method",
1635
+ "name": "show",
1636
+ "privacy": "public",
1637
+ "return": {
1638
+ "type": {
1639
+ "text": "void"
1640
+ }
1641
+ },
1642
+ "parameters": [
1643
+ {
1644
+ "name": "options",
1645
+ "type": {
1646
+ "text": "InactivityDialogOptions"
1647
+ }
1648
+ }
1649
+ ]
1650
+ },
1651
+ {
1652
+ "kind": "method",
1653
+ "name": "hide",
1654
+ "privacy": "public",
1655
+ "return": {
1656
+ "type": {
1657
+ "text": "void"
1658
+ }
1659
+ }
1660
+ },
1661
+ {
1662
+ "kind": "method",
1663
+ "name": "startCountdown",
1664
+ "privacy": "private",
1665
+ "return": {
1666
+ "type": {
1667
+ "text": "void"
1668
+ }
1669
+ }
1670
+ },
1671
+ {
1672
+ "kind": "method",
1673
+ "name": "stopCountdown",
1674
+ "privacy": "private",
1675
+ "return": {
1676
+ "type": {
1677
+ "text": "void"
1678
+ }
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "method",
1683
+ "name": "handleContinue",
1684
+ "privacy": "public",
1685
+ "return": {
1686
+ "type": {
1687
+ "text": "void"
1688
+ }
1689
+ }
1690
+ },
1691
+ {
1692
+ "kind": "method",
1693
+ "name": "handleLogout",
1694
+ "privacy": "public",
1695
+ "return": {
1696
+ "type": {
1697
+ "text": "void"
1698
+ }
1699
+ }
1700
+ }
1701
+ ],
1702
+ "superclass": {
1703
+ "name": "FASTElement",
1704
+ "package": "@microsoft/fast-element"
1705
+ },
1706
+ "tagName": "inactivity-dialog",
1707
+ "customElement": true
1708
+ }
1709
+ ],
1710
+ "exports": [
1711
+ {
1712
+ "kind": "js",
1713
+ "name": "InactivityDialog",
1714
+ "declaration": {
1715
+ "name": "InactivityDialog",
1716
+ "module": "src/inactivity/inactivity-dialog.ts"
1717
+ }
1718
+ },
1719
+ {
1720
+ "kind": "custom-element-definition",
1721
+ "name": "inactivity-dialog",
1722
+ "declaration": {
1723
+ "name": "InactivityDialog",
1724
+ "module": "src/inactivity/inactivity-dialog.ts"
1725
+ }
1726
+ }
1727
+ ]
1728
+ },
1729
+ {
1730
+ "kind": "javascript-module",
1731
+ "path": "src/inactivity/inactivity-manager.ts",
1732
+ "declarations": [
1733
+ {
1734
+ "kind": "class",
1735
+ "description": "",
1736
+ "name": "InactivityManager",
1737
+ "members": [
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "service",
1741
+ "type": {
1742
+ "text": "InactivityService"
1743
+ },
1744
+ "privacy": "private",
1745
+ "default": "new InactivityService({\n timeoutMinutes: config.timeoutMinutes,\n warningMinutes: config.warningMinutes,\n })"
1746
+ },
1747
+ {
1748
+ "kind": "field",
1749
+ "name": "dialog",
1750
+ "type": {
1751
+ "text": "InactivityDialog | null"
1752
+ },
1753
+ "privacy": "private",
1754
+ "default": "null"
1755
+ },
1756
+ {
1757
+ "kind": "field",
1758
+ "name": "config",
1759
+ "type": {
1760
+ "text": "InactivityManagerConfig"
1761
+ },
1762
+ "privacy": "private",
1763
+ "default": "config"
1764
+ },
1765
+ {
1766
+ "kind": "field",
1767
+ "name": "isDialogVisible",
1768
+ "type": {
1769
+ "text": "boolean"
1770
+ },
1771
+ "privacy": "private",
1772
+ "default": "false"
1773
+ },
1774
+ {
1775
+ "kind": "method",
1776
+ "name": "setupEventListeners",
1777
+ "privacy": "private",
1778
+ "return": {
1779
+ "type": {
1780
+ "text": "void"
1781
+ }
1782
+ }
1783
+ },
1784
+ {
1785
+ "kind": "method",
1786
+ "name": "showWarningDialog",
1787
+ "privacy": "private",
1788
+ "return": {
1789
+ "type": {
1790
+ "text": "void"
1791
+ }
1792
+ },
1793
+ "parameters": [
1794
+ {
1795
+ "name": "remainingSeconds",
1796
+ "type": {
1797
+ "text": "number"
1798
+ }
1799
+ }
1800
+ ]
1801
+ },
1802
+ {
1803
+ "kind": "method",
1804
+ "name": "hideWarningDialog",
1805
+ "privacy": "private",
1806
+ "return": {
1807
+ "type": {
1808
+ "text": "void"
1809
+ }
1810
+ }
1811
+ },
1812
+ {
1813
+ "kind": "method",
1814
+ "name": "handleContinue",
1815
+ "privacy": "private",
1816
+ "return": {
1817
+ "type": {
1818
+ "text": "void"
1819
+ }
1820
+ }
1821
+ },
1822
+ {
1823
+ "kind": "method",
1824
+ "name": "handleLogout",
1825
+ "privacy": "private",
1826
+ "return": {
1827
+ "type": {
1828
+ "text": "void"
1829
+ }
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "method",
1834
+ "name": "handleTimeout",
1835
+ "privacy": "private",
1836
+ "return": {
1837
+ "type": {
1838
+ "text": "void"
1839
+ }
1840
+ }
1841
+ },
1842
+ {
1843
+ "kind": "method",
1844
+ "name": "start",
1845
+ "privacy": "public",
1846
+ "return": {
1847
+ "type": {
1848
+ "text": "void"
1849
+ }
1850
+ }
1851
+ },
1852
+ {
1853
+ "kind": "method",
1854
+ "name": "stop",
1855
+ "privacy": "public",
1856
+ "return": {
1857
+ "type": {
1858
+ "text": "void"
1859
+ }
1860
+ }
1861
+ },
1862
+ {
1863
+ "kind": "method",
1864
+ "name": "reset",
1865
+ "privacy": "public",
1866
+ "return": {
1867
+ "type": {
1868
+ "text": "void"
1869
+ }
1870
+ }
1871
+ },
1872
+ {
1873
+ "kind": "method",
1874
+ "name": "destroy",
1875
+ "privacy": "public",
1876
+ "return": {
1877
+ "type": {
1878
+ "text": "void"
1879
+ }
1880
+ }
1881
+ },
1882
+ {
1883
+ "kind": "method",
1884
+ "name": "getService",
1885
+ "privacy": "public",
1886
+ "return": {
1887
+ "type": {
1888
+ "text": "InactivityService"
1889
+ }
1890
+ }
1891
+ },
1892
+ {
1893
+ "kind": "method",
1894
+ "name": "isWarningVisible",
1895
+ "privacy": "public",
1896
+ "return": {
1897
+ "type": {
1898
+ "text": "boolean"
1899
+ }
1900
+ }
1901
+ }
1902
+ ]
1903
+ }
1904
+ ],
1905
+ "exports": [
1906
+ {
1907
+ "kind": "js",
1908
+ "name": "InactivityManager",
1909
+ "declaration": {
1910
+ "name": "InactivityManager",
1911
+ "module": "src/inactivity/inactivity-manager.ts"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "kind": "javascript-module",
1918
+ "path": "src/inactivity/inactivity-service.ts",
1919
+ "declarations": [
1920
+ {
1921
+ "kind": "class",
1922
+ "description": "",
1923
+ "name": "InactivityService",
1924
+ "members": [
1925
+ {
1926
+ "kind": "field",
1927
+ "name": "config",
1928
+ "type": {
1929
+ "text": "InactivityConfig"
1930
+ },
1931
+ "privacy": "private",
1932
+ "default": "config"
1933
+ },
1934
+ {
1935
+ "kind": "field",
1936
+ "name": "warningId",
1937
+ "type": {
1938
+ "text": "number | null"
1939
+ },
1940
+ "privacy": "private",
1941
+ "default": "null"
1942
+ },
1943
+ {
1944
+ "kind": "field",
1945
+ "name": "timeoutId",
1946
+ "type": {
1947
+ "text": "number | null"
1948
+ },
1949
+ "privacy": "private",
1950
+ "default": "null"
1951
+ },
1952
+ {
1953
+ "kind": "field",
1954
+ "name": "lastActivity",
1955
+ "type": {
1956
+ "text": "number"
1957
+ },
1958
+ "privacy": "private"
1959
+ },
1960
+ {
1961
+ "kind": "field",
1962
+ "name": "isActive",
1963
+ "type": {
1964
+ "text": "boolean"
1965
+ },
1966
+ "privacy": "private",
1967
+ "default": "false"
1968
+ },
1969
+ {
1970
+ "kind": "field",
1971
+ "name": "eventListeners",
1972
+ "type": {
1973
+ "text": "Map<keyof InactivityEvents, EventListener[]>"
1974
+ },
1975
+ "privacy": "private",
1976
+ "default": "new Map()"
1977
+ },
1978
+ {
1979
+ "kind": "method",
1980
+ "name": "setupActivityListeners",
1981
+ "privacy": "private",
1982
+ "return": {
1983
+ "type": {
1984
+ "text": "void"
1985
+ }
1986
+ }
1987
+ },
1988
+ {
1989
+ "kind": "method",
1990
+ "name": "checkTimeout",
1991
+ "privacy": "private",
1992
+ "return": {
1993
+ "type": {
1994
+ "text": "void"
1995
+ }
1996
+ }
1997
+ },
1998
+ {
1999
+ "kind": "method",
2000
+ "name": "on",
2001
+ "privacy": "public",
2002
+ "return": {
2003
+ "type": {
2004
+ "text": "void"
2005
+ }
2006
+ },
2007
+ "parameters": [
2008
+ {
2009
+ "name": "event",
2010
+ "type": {
2011
+ "text": "K"
2012
+ }
2013
+ },
2014
+ {
2015
+ "name": "listener",
2016
+ "type": {
2017
+ "text": "EventListener<InactivityEvents[K]>"
2018
+ }
2019
+ }
2020
+ ]
2021
+ },
2022
+ {
2023
+ "kind": "method",
2024
+ "name": "off",
2025
+ "privacy": "public",
2026
+ "return": {
2027
+ "type": {
2028
+ "text": "void"
2029
+ }
2030
+ },
2031
+ "parameters": [
2032
+ {
2033
+ "name": "event",
2034
+ "type": {
2035
+ "text": "K"
2036
+ }
2037
+ },
2038
+ {
2039
+ "name": "listener",
2040
+ "type": {
2041
+ "text": "EventListener<InactivityEvents[K]>"
2042
+ }
2043
+ }
2044
+ ]
2045
+ },
2046
+ {
2047
+ "kind": "method",
2048
+ "name": "emit",
2049
+ "privacy": "private",
2050
+ "return": {
2051
+ "type": {
2052
+ "text": "void"
2053
+ }
2054
+ },
2055
+ "parameters": [
2056
+ {
2057
+ "name": "event",
2058
+ "type": {
2059
+ "text": "K"
2060
+ }
2061
+ },
2062
+ {
2063
+ "name": "data",
2064
+ "optional": true,
2065
+ "type": {
2066
+ "text": "InactivityEvents[K]"
2067
+ }
2068
+ }
2069
+ ]
2070
+ },
2071
+ {
2072
+ "kind": "method",
2073
+ "name": "start",
2074
+ "privacy": "public",
2075
+ "return": {
2076
+ "type": {
2077
+ "text": "void"
2078
+ }
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "method",
2083
+ "name": "stop",
2084
+ "privacy": "public",
2085
+ "return": {
2086
+ "type": {
2087
+ "text": "void"
2088
+ }
2089
+ }
2090
+ },
2091
+ {
2092
+ "kind": "method",
2093
+ "name": "resetTimer",
2094
+ "privacy": "public",
2095
+ "return": {
2096
+ "type": {
2097
+ "text": "void"
2098
+ }
2099
+ }
2100
+ },
2101
+ {
2102
+ "kind": "method",
2103
+ "name": "scheduleTimers",
2104
+ "privacy": "private",
2105
+ "return": {
2106
+ "type": {
2107
+ "text": "void"
2108
+ }
2109
+ }
2110
+ },
2111
+ {
2112
+ "kind": "method",
2113
+ "name": "clearTimers",
2114
+ "privacy": "private",
2115
+ "return": {
2116
+ "type": {
2117
+ "text": "void"
2118
+ }
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "method",
2123
+ "name": "destroy",
2124
+ "privacy": "public",
2125
+ "return": {
2126
+ "type": {
2127
+ "text": "void"
2128
+ }
2129
+ }
2130
+ }
2131
+ ]
2132
+ }
2133
+ ],
2134
+ "exports": [
2135
+ {
2136
+ "kind": "js",
2137
+ "name": "InactivityService",
2138
+ "declaration": {
2139
+ "name": "InactivityService",
2140
+ "module": "src/inactivity/inactivity-service.ts"
2141
+ }
2142
+ }
2143
+ ]
2144
+ },
2145
+ {
2146
+ "kind": "javascript-module",
2147
+ "path": "src/inactivity/index.ts",
2148
+ "declarations": [],
2149
+ "exports": [
2150
+ {
2151
+ "kind": "js",
2152
+ "name": "*",
2153
+ "declaration": {
2154
+ "name": "*",
2155
+ "package": "./inactivity-dialog"
2156
+ }
2157
+ },
2158
+ {
2159
+ "kind": "js",
2160
+ "name": "*",
2161
+ "declaration": {
2162
+ "name": "*",
2163
+ "package": "./inactivity-manager"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "js",
2168
+ "name": "*",
2169
+ "declaration": {
2170
+ "name": "*",
2171
+ "package": "./inactivity-service"
2172
+ }
2173
+ }
2174
+ ]
2175
+ },
1558
2176
  {
1559
2177
  "kind": "javascript-module",
1560
2178
  "path": "src/logger/index.ts",