@genesislcap/foundation-utils 14.321.1-alpha-c162d67.0 → 14.322.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 (59) hide show
  1. package/dist/custom-elements.json +814 -186
  2. package/dist/dts/inactivity/inactivity-dialog.d.ts +24 -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 +217 -0
  13. package/dist/esm/inactivity/inactivity-manager.js +92 -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 +1248 -0
  18. package/dist/foundation-utils.d.ts +84 -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.configure.md +50 -0
  23. package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +15 -0
  24. package/docs/api/foundation-utils.inactivitydialog.handlecontinue.md +15 -0
  25. package/docs/api/foundation-utils.inactivitydialog.handlelogout.md +15 -0
  26. package/docs/api/foundation-utils.inactivitydialog.hide.md +15 -0
  27. package/docs/api/foundation-utils.inactivitydialog.isvisible.md +11 -0
  28. package/docs/api/foundation-utils.inactivitydialog.md +164 -0
  29. package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +11 -0
  30. package/docs/api/foundation-utils.inactivitydialog.show.md +15 -0
  31. package/docs/api/foundation-utils.inactivitydialogoptions.md +88 -0
  32. package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +11 -0
  33. package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +11 -0
  34. package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +11 -0
  35. package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +11 -0
  36. package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +11 -0
  37. package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +13 -0
  38. package/docs/api/foundation-utils.inactivityevents.md +88 -0
  39. package/docs/api/foundation-utils.inactivitymanager._constructor_.md +48 -0
  40. package/docs/api/foundation-utils.inactivitymanager.destroy.md +15 -0
  41. package/docs/api/foundation-utils.inactivitymanager.getservice.md +15 -0
  42. package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +15 -0
  43. package/docs/api/foundation-utils.inactivitymanager.md +138 -0
  44. package/docs/api/foundation-utils.inactivitymanager.reset.md +15 -0
  45. package/docs/api/foundation-utils.inactivitymanager.start.md +15 -0
  46. package/docs/api/foundation-utils.inactivitymanager.stop.md +15 -0
  47. package/docs/api/foundation-utils.inactivitymanagerconfig.md +55 -0
  48. package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +11 -0
  49. package/docs/api/foundation-utils.inactivityservice._constructor_.md +48 -0
  50. package/docs/api/foundation-utils.inactivityservice.destroy.md +15 -0
  51. package/docs/api/foundation-utils.inactivityservice.md +138 -0
  52. package/docs/api/foundation-utils.inactivityservice.off.md +64 -0
  53. package/docs/api/foundation-utils.inactivityservice.on.md +64 -0
  54. package/docs/api/foundation-utils.inactivityservice.resettimer.md +15 -0
  55. package/docs/api/foundation-utils.inactivityservice.start.md +15 -0
  56. package/docs/api/foundation-utils.inactivityservice.stop.md +15 -0
  57. package/docs/api/foundation-utils.md +63 -0
  58. package/docs/api-report.md.api.md +92 -0
  59. package/package.json +11 -11
@@ -174,6 +174,67 @@
174
174
  "name": "*",
175
175
  "package": "./window"
176
176
  }
177
+ },
178
+ {
179
+ "kind": "js",
180
+ "name": "*",
181
+ "declaration": {
182
+ "name": "*",
183
+ "package": "./inactivity"
184
+ }
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "kind": "javascript-module",
190
+ "path": "src/decorators/index.ts",
191
+ "declarations": [],
192
+ "exports": [
193
+ {
194
+ "kind": "js",
195
+ "name": "*",
196
+ "declaration": {
197
+ "name": "*",
198
+ "package": "./renderOnChange"
199
+ }
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ "kind": "javascript-module",
205
+ "path": "src/decorators/renderOnChange.ts",
206
+ "declarations": [
207
+ {
208
+ "kind": "function",
209
+ "name": "renderOnChange",
210
+ "parameters": [
211
+ {
212
+ "name": "target",
213
+ "type": {
214
+ "text": "FASTElement & { render(): void }"
215
+ },
216
+ "description": "The target to define the property change handler on."
217
+ },
218
+ {
219
+ "name": "name",
220
+ "type": {
221
+ "text": "string"
222
+ },
223
+ "description": "The property name."
224
+ }
225
+ ],
226
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
227
+ "privacy": "public"
228
+ }
229
+ ],
230
+ "exports": [
231
+ {
232
+ "kind": "js",
233
+ "name": "renderOnChange",
234
+ "declaration": {
235
+ "name": "renderOnChange",
236
+ "module": "src/decorators/renderOnChange.ts"
237
+ }
177
238
  }
178
239
  ]
179
240
  },
@@ -375,59 +436,6 @@
375
436
  }
376
437
  ]
377
438
  },
378
- {
379
- "kind": "javascript-module",
380
- "path": "src/decorators/index.ts",
381
- "declarations": [],
382
- "exports": [
383
- {
384
- "kind": "js",
385
- "name": "*",
386
- "declaration": {
387
- "name": "*",
388
- "package": "./renderOnChange"
389
- }
390
- }
391
- ]
392
- },
393
- {
394
- "kind": "javascript-module",
395
- "path": "src/decorators/renderOnChange.ts",
396
- "declarations": [
397
- {
398
- "kind": "function",
399
- "name": "renderOnChange",
400
- "parameters": [
401
- {
402
- "name": "target",
403
- "type": {
404
- "text": "FASTElement & { render(): void }"
405
- },
406
- "description": "The target to define the property change handler on."
407
- },
408
- {
409
- "name": "name",
410
- "type": {
411
- "text": "string"
412
- },
413
- "description": "The property name."
414
- }
415
- ],
416
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
417
- "privacy": "public"
418
- }
419
- ],
420
- "exports": [
421
- {
422
- "kind": "js",
423
- "name": "renderOnChange",
424
- "declaration": {
425
- "name": "renderOnChange",
426
- "module": "src/decorators/renderOnChange.ts"
427
- }
428
- }
429
- ]
430
- },
431
439
  {
432
440
  "kind": "javascript-module",
433
441
  "path": "src/directives/index.ts",
@@ -466,126 +474,6 @@
466
474
  }
467
475
  ]
468
476
  },
469
- {
470
- "kind": "javascript-module",
471
- "path": "src/design-system/design-system.ts",
472
- "declarations": [
473
- {
474
- "kind": "function",
475
- "name": "assureDesignSystem",
476
- "return": {
477
- "type": {
478
- "text": "DesignSystemModule"
479
- }
480
- },
481
- "parameters": [
482
- {
483
- "name": "module",
484
- "type": {
485
- "text": "DesignSystemModule"
486
- }
487
- }
488
- ],
489
- "description": "assureDesignSystem.",
490
- "privacy": "public"
491
- },
492
- {
493
- "kind": "function",
494
- "name": "getCurrentDesignSystem",
495
- "return": {
496
- "type": {
497
- "text": ""
498
- }
499
- },
500
- "parameters": [
501
- {
502
- "name": "element",
503
- "type": {
504
- "text": "HTMLElement"
505
- },
506
- "description": "The starting HTML element"
507
- },
508
- {
509
- "name": "fallbackPrefix",
510
- "type": {
511
- "text": "string"
512
- },
513
- "description": "The prefix to fallback to if the provider is not available"
514
- }
515
- ],
516
- "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.",
517
- "privacy": "public"
518
- },
519
- {
520
- "kind": "function",
521
- "name": "getCurrentDesignSystemPrefix",
522
- "return": {
523
- "type": {
524
- "text": ""
525
- }
526
- },
527
- "parameters": [
528
- {
529
- "name": "element",
530
- "type": {
531
- "text": "HTMLElement"
532
- },
533
- "description": "The starting HTML element"
534
- },
535
- {
536
- "name": "fallbackPrefix",
537
- "type": {
538
- "text": "string"
539
- },
540
- "description": "The prefix to fallback to if the provider is not available"
541
- }
542
- ],
543
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
544
- "privacy": "public"
545
- }
546
- ],
547
- "exports": [
548
- {
549
- "kind": "js",
550
- "name": "assureDesignSystem",
551
- "declaration": {
552
- "name": "assureDesignSystem",
553
- "module": "src/design-system/design-system.ts"
554
- }
555
- },
556
- {
557
- "kind": "js",
558
- "name": "getCurrentDesignSystem",
559
- "declaration": {
560
- "name": "getCurrentDesignSystem",
561
- "module": "src/design-system/design-system.ts"
562
- }
563
- },
564
- {
565
- "kind": "js",
566
- "name": "getCurrentDesignSystemPrefix",
567
- "declaration": {
568
- "name": "getCurrentDesignSystemPrefix",
569
- "module": "src/design-system/design-system.ts"
570
- }
571
- }
572
- ]
573
- },
574
- {
575
- "kind": "javascript-module",
576
- "path": "src/design-system/index.ts",
577
- "declarations": [],
578
- "exports": [
579
- {
580
- "kind": "js",
581
- "name": "*",
582
- "declaration": {
583
- "name": "*",
584
- "package": "./design-system"
585
- }
586
- }
587
- ]
588
- },
589
477
  {
590
478
  "kind": "javascript-module",
591
479
  "path": "src/env/index.ts",
@@ -1063,22 +951,142 @@
1063
951
  },
1064
952
  {
1065
953
  "kind": "javascript-module",
1066
- "path": "src/error/errorMap.ts",
954
+ "path": "src/design-system/design-system.ts",
1067
955
  "declarations": [
1068
956
  {
1069
- "kind": "class",
1070
- "description": "",
1071
- "name": "DefaultErrorMap",
1072
- "members": [
1073
- {
1074
- "kind": "field",
1075
- "name": "map",
1076
- "privacy": "private",
1077
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1078
- },
957
+ "kind": "function",
958
+ "name": "assureDesignSystem",
959
+ "return": {
960
+ "type": {
961
+ "text": "DesignSystemModule"
962
+ }
963
+ },
964
+ "parameters": [
1079
965
  {
1080
- "kind": "field",
1081
- "name": "lastError",
966
+ "name": "module",
967
+ "type": {
968
+ "text": "DesignSystemModule"
969
+ }
970
+ }
971
+ ],
972
+ "description": "assureDesignSystem.",
973
+ "privacy": "public"
974
+ },
975
+ {
976
+ "kind": "function",
977
+ "name": "getCurrentDesignSystem",
978
+ "return": {
979
+ "type": {
980
+ "text": ""
981
+ }
982
+ },
983
+ "parameters": [
984
+ {
985
+ "name": "element",
986
+ "type": {
987
+ "text": "HTMLElement"
988
+ },
989
+ "description": "The starting HTML element"
990
+ },
991
+ {
992
+ "name": "fallbackPrefix",
993
+ "type": {
994
+ "text": "string"
995
+ },
996
+ "description": "The prefix to fallback to if the provider is not available"
997
+ }
998
+ ],
999
+ "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.",
1000
+ "privacy": "public"
1001
+ },
1002
+ {
1003
+ "kind": "function",
1004
+ "name": "getCurrentDesignSystemPrefix",
1005
+ "return": {
1006
+ "type": {
1007
+ "text": ""
1008
+ }
1009
+ },
1010
+ "parameters": [
1011
+ {
1012
+ "name": "element",
1013
+ "type": {
1014
+ "text": "HTMLElement"
1015
+ },
1016
+ "description": "The starting HTML element"
1017
+ },
1018
+ {
1019
+ "name": "fallbackPrefix",
1020
+ "type": {
1021
+ "text": "string"
1022
+ },
1023
+ "description": "The prefix to fallback to if the provider is not available"
1024
+ }
1025
+ ],
1026
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1027
+ "privacy": "public"
1028
+ }
1029
+ ],
1030
+ "exports": [
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "assureDesignSystem",
1034
+ "declaration": {
1035
+ "name": "assureDesignSystem",
1036
+ "module": "src/design-system/design-system.ts"
1037
+ }
1038
+ },
1039
+ {
1040
+ "kind": "js",
1041
+ "name": "getCurrentDesignSystem",
1042
+ "declaration": {
1043
+ "name": "getCurrentDesignSystem",
1044
+ "module": "src/design-system/design-system.ts"
1045
+ }
1046
+ },
1047
+ {
1048
+ "kind": "js",
1049
+ "name": "getCurrentDesignSystemPrefix",
1050
+ "declaration": {
1051
+ "name": "getCurrentDesignSystemPrefix",
1052
+ "module": "src/design-system/design-system.ts"
1053
+ }
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "kind": "javascript-module",
1059
+ "path": "src/design-system/index.ts",
1060
+ "declarations": [],
1061
+ "exports": [
1062
+ {
1063
+ "kind": "js",
1064
+ "name": "*",
1065
+ "declaration": {
1066
+ "name": "*",
1067
+ "package": "./design-system"
1068
+ }
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "kind": "javascript-module",
1074
+ "path": "src/error/errorMap.ts",
1075
+ "declarations": [
1076
+ {
1077
+ "kind": "class",
1078
+ "description": "",
1079
+ "name": "DefaultErrorMap",
1080
+ "members": [
1081
+ {
1082
+ "kind": "field",
1083
+ "name": "map",
1084
+ "privacy": "private",
1085
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1086
+ },
1087
+ {
1088
+ "kind": "field",
1089
+ "name": "lastError",
1082
1090
  "type": {
1083
1091
  "text": "Error"
1084
1092
  },
@@ -1572,6 +1580,626 @@
1572
1580
  }
1573
1581
  ]
1574
1582
  },
1583
+ {
1584
+ "kind": "javascript-module",
1585
+ "path": "src/inactivity/inactivity-dialog.ts",
1586
+ "declarations": [
1587
+ {
1588
+ "kind": "class",
1589
+ "description": "",
1590
+ "name": "InactivityDialog",
1591
+ "members": [
1592
+ {
1593
+ "kind": "field",
1594
+ "name": "isVisible",
1595
+ "type": {
1596
+ "text": "boolean"
1597
+ },
1598
+ "default": "false"
1599
+ },
1600
+ {
1601
+ "kind": "field",
1602
+ "name": "remainingSeconds",
1603
+ "type": {
1604
+ "text": "number"
1605
+ },
1606
+ "default": "0"
1607
+ },
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "onContinue",
1611
+ "type": {
1612
+ "text": "() => void | undefined"
1613
+ },
1614
+ "privacy": "private"
1615
+ },
1616
+ {
1617
+ "kind": "field",
1618
+ "name": "onLogout",
1619
+ "type": {
1620
+ "text": "() => void | undefined"
1621
+ },
1622
+ "privacy": "private"
1623
+ },
1624
+ {
1625
+ "kind": "field",
1626
+ "name": "countdownInterval",
1627
+ "type": {
1628
+ "text": "number | undefined"
1629
+ },
1630
+ "privacy": "private"
1631
+ },
1632
+ {
1633
+ "kind": "field",
1634
+ "name": "startTime",
1635
+ "type": {
1636
+ "text": "number"
1637
+ },
1638
+ "privacy": "private",
1639
+ "default": "0"
1640
+ },
1641
+ {
1642
+ "kind": "field",
1643
+ "name": "totalSeconds",
1644
+ "type": {
1645
+ "text": "number"
1646
+ },
1647
+ "privacy": "private",
1648
+ "default": "0"
1649
+ },
1650
+ {
1651
+ "kind": "method",
1652
+ "name": "configure",
1653
+ "privacy": "public",
1654
+ "return": {
1655
+ "type": {
1656
+ "text": "void"
1657
+ }
1658
+ },
1659
+ "parameters": [
1660
+ {
1661
+ "name": "options",
1662
+ "type": {
1663
+ "text": "InactivityDialogOptions"
1664
+ }
1665
+ }
1666
+ ]
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "show",
1671
+ "privacy": "public",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "boolean"
1675
+ }
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "method",
1680
+ "name": "hide",
1681
+ "privacy": "public",
1682
+ "return": {
1683
+ "type": {
1684
+ "text": "boolean"
1685
+ }
1686
+ }
1687
+ },
1688
+ {
1689
+ "kind": "method",
1690
+ "name": "startCountdown",
1691
+ "privacy": "private",
1692
+ "return": {
1693
+ "type": {
1694
+ "text": "void"
1695
+ }
1696
+ }
1697
+ },
1698
+ {
1699
+ "kind": "method",
1700
+ "name": "stopCountdown",
1701
+ "privacy": "private",
1702
+ "return": {
1703
+ "type": {
1704
+ "text": "void"
1705
+ }
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "method",
1710
+ "name": "handleContinue",
1711
+ "privacy": "public",
1712
+ "return": {
1713
+ "type": {
1714
+ "text": "void"
1715
+ }
1716
+ }
1717
+ },
1718
+ {
1719
+ "kind": "method",
1720
+ "name": "handleLogout",
1721
+ "privacy": "public",
1722
+ "return": {
1723
+ "type": {
1724
+ "text": "void"
1725
+ }
1726
+ }
1727
+ }
1728
+ ],
1729
+ "superclass": {
1730
+ "name": "FASTElement",
1731
+ "package": "@microsoft/fast-element"
1732
+ },
1733
+ "tagName": "inactivity-dialog",
1734
+ "customElement": true
1735
+ }
1736
+ ],
1737
+ "exports": [
1738
+ {
1739
+ "kind": "js",
1740
+ "name": "InactivityDialog",
1741
+ "declaration": {
1742
+ "name": "InactivityDialog",
1743
+ "module": "src/inactivity/inactivity-dialog.ts"
1744
+ }
1745
+ },
1746
+ {
1747
+ "kind": "custom-element-definition",
1748
+ "name": "inactivity-dialog",
1749
+ "declaration": {
1750
+ "name": "InactivityDialog",
1751
+ "module": "src/inactivity/inactivity-dialog.ts"
1752
+ }
1753
+ }
1754
+ ]
1755
+ },
1756
+ {
1757
+ "kind": "javascript-module",
1758
+ "path": "src/inactivity/inactivity-manager.ts",
1759
+ "declarations": [
1760
+ {
1761
+ "kind": "class",
1762
+ "description": "",
1763
+ "name": "InactivityManager",
1764
+ "members": [
1765
+ {
1766
+ "kind": "field",
1767
+ "name": "service",
1768
+ "type": {
1769
+ "text": "InactivityService"
1770
+ },
1771
+ "privacy": "private",
1772
+ "default": "new InactivityService({\n timeoutMinutes: config.timeoutMinutes,\n warningMinutes: config.warningMinutes,\n })"
1773
+ },
1774
+ {
1775
+ "kind": "field",
1776
+ "name": "dialog",
1777
+ "type": {
1778
+ "text": "InactivityDialog | null"
1779
+ },
1780
+ "privacy": "private",
1781
+ "default": "null"
1782
+ },
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "config",
1786
+ "type": {
1787
+ "text": "InactivityManagerConfig"
1788
+ },
1789
+ "privacy": "private",
1790
+ "default": "config"
1791
+ },
1792
+ {
1793
+ "kind": "field",
1794
+ "name": "isDialogVisible",
1795
+ "type": {
1796
+ "text": "boolean"
1797
+ },
1798
+ "privacy": "private",
1799
+ "default": "false"
1800
+ },
1801
+ {
1802
+ "kind": "method",
1803
+ "name": "setupEventListeners",
1804
+ "privacy": "private",
1805
+ "return": {
1806
+ "type": {
1807
+ "text": "void"
1808
+ }
1809
+ }
1810
+ },
1811
+ {
1812
+ "kind": "method",
1813
+ "name": "showWarningDialog",
1814
+ "privacy": "private",
1815
+ "return": {
1816
+ "type": {
1817
+ "text": "Promise<void>"
1818
+ }
1819
+ },
1820
+ "parameters": [
1821
+ {
1822
+ "name": "remainingSeconds",
1823
+ "type": {
1824
+ "text": "number"
1825
+ }
1826
+ }
1827
+ ]
1828
+ },
1829
+ {
1830
+ "kind": "method",
1831
+ "name": "hideWarningDialog",
1832
+ "privacy": "private",
1833
+ "return": {
1834
+ "type": {
1835
+ "text": "void"
1836
+ }
1837
+ }
1838
+ },
1839
+ {
1840
+ "kind": "method",
1841
+ "name": "handleContinue",
1842
+ "privacy": "private",
1843
+ "return": {
1844
+ "type": {
1845
+ "text": "void"
1846
+ }
1847
+ }
1848
+ },
1849
+ {
1850
+ "kind": "method",
1851
+ "name": "handleLogout",
1852
+ "privacy": "private",
1853
+ "return": {
1854
+ "type": {
1855
+ "text": "void"
1856
+ }
1857
+ }
1858
+ },
1859
+ {
1860
+ "kind": "method",
1861
+ "name": "handleTimeout",
1862
+ "privacy": "private",
1863
+ "return": {
1864
+ "type": {
1865
+ "text": "void"
1866
+ }
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "method",
1871
+ "name": "start",
1872
+ "privacy": "public",
1873
+ "return": {
1874
+ "type": {
1875
+ "text": "void"
1876
+ }
1877
+ }
1878
+ },
1879
+ {
1880
+ "kind": "method",
1881
+ "name": "stop",
1882
+ "privacy": "public",
1883
+ "return": {
1884
+ "type": {
1885
+ "text": "void"
1886
+ }
1887
+ }
1888
+ },
1889
+ {
1890
+ "kind": "method",
1891
+ "name": "reset",
1892
+ "privacy": "public",
1893
+ "return": {
1894
+ "type": {
1895
+ "text": "void"
1896
+ }
1897
+ }
1898
+ },
1899
+ {
1900
+ "kind": "method",
1901
+ "name": "destroy",
1902
+ "privacy": "public",
1903
+ "return": {
1904
+ "type": {
1905
+ "text": "void"
1906
+ }
1907
+ }
1908
+ },
1909
+ {
1910
+ "kind": "method",
1911
+ "name": "getService",
1912
+ "privacy": "public",
1913
+ "return": {
1914
+ "type": {
1915
+ "text": "InactivityService"
1916
+ }
1917
+ }
1918
+ },
1919
+ {
1920
+ "kind": "method",
1921
+ "name": "isWarningVisible",
1922
+ "privacy": "public",
1923
+ "return": {
1924
+ "type": {
1925
+ "text": "boolean"
1926
+ }
1927
+ }
1928
+ }
1929
+ ]
1930
+ }
1931
+ ],
1932
+ "exports": [
1933
+ {
1934
+ "kind": "js",
1935
+ "name": "InactivityManager",
1936
+ "declaration": {
1937
+ "name": "InactivityManager",
1938
+ "module": "src/inactivity/inactivity-manager.ts"
1939
+ }
1940
+ }
1941
+ ]
1942
+ },
1943
+ {
1944
+ "kind": "javascript-module",
1945
+ "path": "src/inactivity/inactivity-service.ts",
1946
+ "declarations": [
1947
+ {
1948
+ "kind": "class",
1949
+ "description": "",
1950
+ "name": "InactivityService",
1951
+ "members": [
1952
+ {
1953
+ "kind": "field",
1954
+ "name": "config",
1955
+ "type": {
1956
+ "text": "InactivityConfig"
1957
+ },
1958
+ "privacy": "private",
1959
+ "default": "config"
1960
+ },
1961
+ {
1962
+ "kind": "field",
1963
+ "name": "warningId",
1964
+ "type": {
1965
+ "text": "number | null"
1966
+ },
1967
+ "privacy": "private",
1968
+ "default": "null"
1969
+ },
1970
+ {
1971
+ "kind": "field",
1972
+ "name": "timeoutId",
1973
+ "type": {
1974
+ "text": "number | null"
1975
+ },
1976
+ "privacy": "private",
1977
+ "default": "null"
1978
+ },
1979
+ {
1980
+ "kind": "field",
1981
+ "name": "lastActivity",
1982
+ "type": {
1983
+ "text": "number"
1984
+ },
1985
+ "privacy": "private"
1986
+ },
1987
+ {
1988
+ "kind": "field",
1989
+ "name": "isActive",
1990
+ "type": {
1991
+ "text": "boolean"
1992
+ },
1993
+ "privacy": "private",
1994
+ "default": "false"
1995
+ },
1996
+ {
1997
+ "kind": "field",
1998
+ "name": "eventListeners",
1999
+ "type": {
2000
+ "text": "Map<keyof InactivityEvents, EventListener[]>"
2001
+ },
2002
+ "privacy": "private",
2003
+ "default": "new Map()"
2004
+ },
2005
+ {
2006
+ "kind": "method",
2007
+ "name": "setupActivityListeners",
2008
+ "privacy": "private",
2009
+ "return": {
2010
+ "type": {
2011
+ "text": "void"
2012
+ }
2013
+ }
2014
+ },
2015
+ {
2016
+ "kind": "method",
2017
+ "name": "checkTimeout",
2018
+ "privacy": "private",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": "void"
2022
+ }
2023
+ }
2024
+ },
2025
+ {
2026
+ "kind": "method",
2027
+ "name": "on",
2028
+ "privacy": "public",
2029
+ "return": {
2030
+ "type": {
2031
+ "text": "void"
2032
+ }
2033
+ },
2034
+ "parameters": [
2035
+ {
2036
+ "name": "event",
2037
+ "type": {
2038
+ "text": "K"
2039
+ }
2040
+ },
2041
+ {
2042
+ "name": "listener",
2043
+ "type": {
2044
+ "text": "EventListener<InactivityEvents[K]>"
2045
+ }
2046
+ }
2047
+ ]
2048
+ },
2049
+ {
2050
+ "kind": "method",
2051
+ "name": "off",
2052
+ "privacy": "public",
2053
+ "return": {
2054
+ "type": {
2055
+ "text": "void"
2056
+ }
2057
+ },
2058
+ "parameters": [
2059
+ {
2060
+ "name": "event",
2061
+ "type": {
2062
+ "text": "K"
2063
+ }
2064
+ },
2065
+ {
2066
+ "name": "listener",
2067
+ "type": {
2068
+ "text": "EventListener<InactivityEvents[K]>"
2069
+ }
2070
+ }
2071
+ ]
2072
+ },
2073
+ {
2074
+ "kind": "method",
2075
+ "name": "emit",
2076
+ "privacy": "private",
2077
+ "return": {
2078
+ "type": {
2079
+ "text": "void"
2080
+ }
2081
+ },
2082
+ "parameters": [
2083
+ {
2084
+ "name": "event",
2085
+ "type": {
2086
+ "text": "K"
2087
+ }
2088
+ },
2089
+ {
2090
+ "name": "data",
2091
+ "optional": true,
2092
+ "type": {
2093
+ "text": "InactivityEvents[K]"
2094
+ }
2095
+ }
2096
+ ]
2097
+ },
2098
+ {
2099
+ "kind": "method",
2100
+ "name": "start",
2101
+ "privacy": "public",
2102
+ "return": {
2103
+ "type": {
2104
+ "text": "void"
2105
+ }
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "method",
2110
+ "name": "stop",
2111
+ "privacy": "public",
2112
+ "return": {
2113
+ "type": {
2114
+ "text": "void"
2115
+ }
2116
+ }
2117
+ },
2118
+ {
2119
+ "kind": "method",
2120
+ "name": "resetTimer",
2121
+ "privacy": "public",
2122
+ "return": {
2123
+ "type": {
2124
+ "text": "void"
2125
+ }
2126
+ }
2127
+ },
2128
+ {
2129
+ "kind": "method",
2130
+ "name": "scheduleTimers",
2131
+ "privacy": "private",
2132
+ "return": {
2133
+ "type": {
2134
+ "text": "void"
2135
+ }
2136
+ }
2137
+ },
2138
+ {
2139
+ "kind": "method",
2140
+ "name": "clearTimers",
2141
+ "privacy": "private",
2142
+ "return": {
2143
+ "type": {
2144
+ "text": "void"
2145
+ }
2146
+ }
2147
+ },
2148
+ {
2149
+ "kind": "method",
2150
+ "name": "destroy",
2151
+ "privacy": "public",
2152
+ "return": {
2153
+ "type": {
2154
+ "text": "void"
2155
+ }
2156
+ }
2157
+ }
2158
+ ]
2159
+ }
2160
+ ],
2161
+ "exports": [
2162
+ {
2163
+ "kind": "js",
2164
+ "name": "InactivityService",
2165
+ "declaration": {
2166
+ "name": "InactivityService",
2167
+ "module": "src/inactivity/inactivity-service.ts"
2168
+ }
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ "kind": "javascript-module",
2174
+ "path": "src/inactivity/index.ts",
2175
+ "declarations": [],
2176
+ "exports": [
2177
+ {
2178
+ "kind": "js",
2179
+ "name": "*",
2180
+ "declaration": {
2181
+ "name": "*",
2182
+ "package": "./inactivity-dialog"
2183
+ }
2184
+ },
2185
+ {
2186
+ "kind": "js",
2187
+ "name": "*",
2188
+ "declaration": {
2189
+ "name": "*",
2190
+ "package": "./inactivity-manager"
2191
+ }
2192
+ },
2193
+ {
2194
+ "kind": "js",
2195
+ "name": "*",
2196
+ "declaration": {
2197
+ "name": "*",
2198
+ "package": "./inactivity-service"
2199
+ }
2200
+ }
2201
+ ]
2202
+ },
1575
2203
  {
1576
2204
  "kind": "javascript-module",
1577
2205
  "path": "src/logger/index.ts",