@genesislcap/foundation-utils 14.310.2-alpha-c0a4919.0 → 14.310.2-alpha-9ca13ee.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 (56) hide show
  1. package/dist/custom-elements.json +185 -803
  2. package/dist/dts/index.d.ts +0 -1
  3. package/dist/dts/index.d.ts.map +1 -1
  4. package/dist/esm/index.js +0 -1
  5. package/dist/foundation-utils.api.json +0 -1155
  6. package/dist/foundation-utils.d.ts +0 -84
  7. package/docs/api/foundation-utils.md +0 -63
  8. package/docs/api-report.md.api.md +0 -87
  9. package/package.json +11 -12
  10. package/dist/dts/inactivity/inactivity-dialog.d.ts +0 -23
  11. package/dist/dts/inactivity/inactivity-dialog.d.ts.map +0 -1
  12. package/dist/dts/inactivity/inactivity-manager.d.ts +0 -24
  13. package/dist/dts/inactivity/inactivity-manager.d.ts.map +0 -1
  14. package/dist/dts/inactivity/inactivity-service.d.ts +0 -34
  15. package/dist/dts/inactivity/inactivity-service.d.ts.map +0 -1
  16. package/dist/dts/inactivity/index.d.ts +0 -4
  17. package/dist/dts/inactivity/index.d.ts.map +0 -1
  18. package/dist/esm/inactivity/inactivity-dialog.js +0 -209
  19. package/dist/esm/inactivity/inactivity-manager.js +0 -87
  20. package/dist/esm/inactivity/inactivity-service.js +0 -128
  21. package/dist/esm/inactivity/index.js +0 -3
  22. package/docs/api/foundation-utils.inactivityconfig.md +0 -71
  23. package/docs/api/foundation-utils.inactivityconfig.timeoutminutes.md +0 -11
  24. package/docs/api/foundation-utils.inactivityconfig.warningminutes.md +0 -11
  25. package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +0 -15
  26. package/docs/api/foundation-utils.inactivitydialog.hide.md +0 -15
  27. package/docs/api/foundation-utils.inactivitydialog.isvisible.md +0 -11
  28. package/docs/api/foundation-utils.inactivitydialog.md +0 -128
  29. package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +0 -11
  30. package/docs/api/foundation-utils.inactivitydialog.show.md +0 -50
  31. package/docs/api/foundation-utils.inactivitydialogoptions.md +0 -88
  32. package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +0 -11
  33. package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +0 -11
  34. package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +0 -11
  35. package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +0 -11
  36. package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +0 -11
  37. package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +0 -13
  38. package/docs/api/foundation-utils.inactivityevents.md +0 -88
  39. package/docs/api/foundation-utils.inactivitymanager._constructor_.md +0 -48
  40. package/docs/api/foundation-utils.inactivitymanager.destroy.md +0 -15
  41. package/docs/api/foundation-utils.inactivitymanager.getservice.md +0 -15
  42. package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +0 -15
  43. package/docs/api/foundation-utils.inactivitymanager.md +0 -138
  44. package/docs/api/foundation-utils.inactivitymanager.reset.md +0 -15
  45. package/docs/api/foundation-utils.inactivitymanager.start.md +0 -15
  46. package/docs/api/foundation-utils.inactivitymanager.stop.md +0 -15
  47. package/docs/api/foundation-utils.inactivitymanagerconfig.md +0 -55
  48. package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +0 -11
  49. package/docs/api/foundation-utils.inactivityservice._constructor_.md +0 -48
  50. package/docs/api/foundation-utils.inactivityservice.destroy.md +0 -15
  51. package/docs/api/foundation-utils.inactivityservice.md +0 -138
  52. package/docs/api/foundation-utils.inactivityservice.off.md +0 -64
  53. package/docs/api/foundation-utils.inactivityservice.on.md +0 -64
  54. package/docs/api/foundation-utils.inactivityservice.resettimer.md +0 -15
  55. package/docs/api/foundation-utils.inactivityservice.start.md +0 -15
  56. package/docs/api/foundation-utils.inactivityservice.stop.md +0 -15
@@ -166,14 +166,6 @@
166
166
  "name": "*",
167
167
  "package": "./window"
168
168
  }
169
- },
170
- {
171
- "kind": "js",
172
- "name": "*",
173
- "declaration": {
174
- "name": "*",
175
- "package": "./inactivity"
176
- }
177
169
  }
178
170
  ]
179
171
  },
@@ -377,23 +369,120 @@
377
369
  },
378
370
  {
379
371
  "kind": "javascript-module",
380
- "path": "src/directives/index.ts",
381
- "declarations": [],
372
+ "path": "src/design-system/design-system.ts",
373
+ "declarations": [
374
+ {
375
+ "kind": "function",
376
+ "name": "assureDesignSystem",
377
+ "return": {
378
+ "type": {
379
+ "text": "DesignSystemModule"
380
+ }
381
+ },
382
+ "parameters": [
383
+ {
384
+ "name": "module",
385
+ "type": {
386
+ "text": "DesignSystemModule"
387
+ }
388
+ }
389
+ ],
390
+ "description": "assureDesignSystem.",
391
+ "privacy": "public"
392
+ },
393
+ {
394
+ "kind": "function",
395
+ "name": "getCurrentDesignSystem",
396
+ "return": {
397
+ "type": {
398
+ "text": ""
399
+ }
400
+ },
401
+ "parameters": [
402
+ {
403
+ "name": "element",
404
+ "type": {
405
+ "text": "HTMLElement"
406
+ },
407
+ "description": "The starting HTML element"
408
+ },
409
+ {
410
+ "name": "fallbackPrefix",
411
+ "type": {
412
+ "text": "string"
413
+ },
414
+ "description": "The prefix to fallback to if the provider is not available"
415
+ }
416
+ ],
417
+ "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.",
418
+ "privacy": "public"
419
+ },
420
+ {
421
+ "kind": "function",
422
+ "name": "getCurrentDesignSystemPrefix",
423
+ "return": {
424
+ "type": {
425
+ "text": ""
426
+ }
427
+ },
428
+ "parameters": [
429
+ {
430
+ "name": "element",
431
+ "type": {
432
+ "text": "HTMLElement"
433
+ },
434
+ "description": "The starting HTML element"
435
+ },
436
+ {
437
+ "name": "fallbackPrefix",
438
+ "type": {
439
+ "text": "string"
440
+ },
441
+ "description": "The prefix to fallback to if the provider is not available"
442
+ }
443
+ ],
444
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
445
+ "privacy": "public"
446
+ }
447
+ ],
382
448
  "exports": [
383
449
  {
384
450
  "kind": "js",
385
- "name": "*",
451
+ "name": "assureDesignSystem",
386
452
  "declaration": {
387
- "name": "*",
388
- "package": "./sync"
453
+ "name": "assureDesignSystem",
454
+ "module": "src/design-system/design-system.ts"
455
+ }
456
+ },
457
+ {
458
+ "kind": "js",
459
+ "name": "getCurrentDesignSystem",
460
+ "declaration": {
461
+ "name": "getCurrentDesignSystem",
462
+ "module": "src/design-system/design-system.ts"
389
463
  }
390
464
  },
465
+ {
466
+ "kind": "js",
467
+ "name": "getCurrentDesignSystemPrefix",
468
+ "declaration": {
469
+ "name": "getCurrentDesignSystemPrefix",
470
+ "module": "src/design-system/design-system.ts"
471
+ }
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ "kind": "javascript-module",
477
+ "path": "src/design-system/index.ts",
478
+ "declarations": [],
479
+ "exports": [
391
480
  {
392
481
  "kind": "js",
393
482
  "name": "*",
394
483
  "declaration": {
395
484
  "name": "*",
396
- "package": "./when-else"
485
+ "package": "./design-system"
397
486
  }
398
487
  }
399
488
  ]
@@ -451,6 +540,29 @@
451
540
  }
452
541
  ]
453
542
  },
543
+ {
544
+ "kind": "javascript-module",
545
+ "path": "src/directives/index.ts",
546
+ "declarations": [],
547
+ "exports": [
548
+ {
549
+ "kind": "js",
550
+ "name": "*",
551
+ "declaration": {
552
+ "name": "*",
553
+ "package": "./sync"
554
+ }
555
+ },
556
+ {
557
+ "kind": "js",
558
+ "name": "*",
559
+ "declaration": {
560
+ "name": "*",
561
+ "package": "./when-else"
562
+ }
563
+ }
564
+ ]
565
+ },
454
566
  {
455
567
  "kind": "javascript-module",
456
568
  "path": "src/encoding/index.ts",
@@ -926,198 +1038,78 @@
926
1038
  },
927
1039
  {
928
1040
  "kind": "javascript-module",
929
- "path": "src/design-system/design-system.ts",
1041
+ "path": "src/error/errorMap.ts",
930
1042
  "declarations": [
931
1043
  {
932
- "kind": "function",
933
- "name": "assureDesignSystem",
934
- "return": {
935
- "type": {
936
- "text": "DesignSystemModule"
937
- }
938
- },
939
- "parameters": [
1044
+ "kind": "class",
1045
+ "description": "",
1046
+ "name": "DefaultErrorMap",
1047
+ "members": [
940
1048
  {
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": [
1049
+ "kind": "field",
1050
+ "name": "map",
1051
+ "privacy": "private",
1052
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1053
+ },
959
1054
  {
960
- "name": "element",
1055
+ "kind": "field",
1056
+ "name": "lastError",
961
1057
  "type": {
962
- "text": "HTMLElement"
1058
+ "text": "Error"
963
1059
  },
964
- "description": "The starting HTML element"
1060
+ "description": "{@inheritDoc ErrorMap.lastError}"
965
1061
  },
966
1062
  {
967
- "name": "fallbackPrefix",
968
- "type": {
969
- "text": "string"
1063
+ "kind": "method",
1064
+ "name": "set",
1065
+ "return": {
1066
+ "type": {
1067
+ "text": "void"
1068
+ }
970
1069
  },
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": [
1070
+ "parameters": [
1071
+ {
1072
+ "name": "key",
1073
+ "type": {
1074
+ "text": "keyof TErrorDetailMap"
1075
+ }
1076
+ },
1077
+ {
1078
+ "name": "error",
1079
+ "type": {
1080
+ "text": "Error"
1081
+ }
1082
+ }
1083
+ ],
1084
+ "description": "{@inheritDoc ErrorMap.set}"
1085
+ },
986
1086
  {
987
- "name": "element",
988
- "type": {
989
- "text": "HTMLElement"
1087
+ "kind": "method",
1088
+ "name": "get",
1089
+ "return": {
1090
+ "type": {
1091
+ "text": ""
1092
+ }
990
1093
  },
991
- "description": "The starting HTML element"
1094
+ "parameters": [
1095
+ {
1096
+ "name": "key",
1097
+ "type": {
1098
+ "text": "keyof TErrorDetailMap"
1099
+ },
1100
+ "description": "The key."
1101
+ }
1102
+ ],
1103
+ "description": "Get an error by key.",
1104
+ "privacy": "public"
992
1105
  },
993
1106
  {
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
- {
1048
- "kind": "javascript-module",
1049
- "path": "src/error/errorMap.ts",
1050
- "declarations": [
1051
- {
1052
- "kind": "class",
1053
- "description": "",
1054
- "name": "DefaultErrorMap",
1055
- "members": [
1056
- {
1057
- "kind": "field",
1058
- "name": "map",
1059
- "privacy": "private",
1060
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1061
- },
1062
- {
1063
- "kind": "field",
1064
- "name": "lastError",
1065
- "type": {
1066
- "text": "Error"
1067
- },
1068
- "description": "{@inheritDoc ErrorMap.lastError}"
1069
- },
1070
- {
1071
- "kind": "method",
1072
- "name": "set",
1073
- "return": {
1074
- "type": {
1075
- "text": "void"
1076
- }
1077
- },
1078
- "parameters": [
1079
- {
1080
- "name": "key",
1081
- "type": {
1082
- "text": "keyof TErrorDetailMap"
1083
- }
1084
- },
1085
- {
1086
- "name": "error",
1087
- "type": {
1088
- "text": "Error"
1089
- }
1090
- }
1091
- ],
1092
- "description": "{@inheritDoc ErrorMap.set}"
1093
- },
1094
- {
1095
- "kind": "method",
1096
- "name": "get",
1097
- "return": {
1098
- "type": {
1099
- "text": ""
1100
- }
1101
- },
1102
- "parameters": [
1103
- {
1104
- "name": "key",
1105
- "type": {
1106
- "text": "keyof TErrorDetailMap"
1107
- },
1108
- "description": "The key."
1109
- }
1110
- ],
1111
- "description": "Get an error by key.",
1112
- "privacy": "public"
1113
- },
1114
- {
1115
- "kind": "method",
1116
- "name": "has",
1117
- "return": {
1118
- "type": {
1119
- "text": ""
1120
- }
1107
+ "kind": "method",
1108
+ "name": "has",
1109
+ "return": {
1110
+ "type": {
1111
+ "text": ""
1112
+ }
1121
1113
  },
1122
1114
  "parameters": [
1123
1115
  {
@@ -1555,616 +1547,6 @@
1555
1547
  }
1556
1548
  ]
1557
1549
  },
1558
- {
1559
- "kind": "javascript-module",
1560
- "path": "src/inactivity/inactivity-dialog.ts",
1561
- "declarations": [
1562
- {
1563
- "kind": "class",
1564
- "description": "",
1565
- "name": "InactivityDialog",
1566
- "members": [
1567
- {
1568
- "kind": "field",
1569
- "name": "isVisible",
1570
- "type": {
1571
- "text": "boolean"
1572
- },
1573
- "default": "false"
1574
- },
1575
- {
1576
- "kind": "field",
1577
- "name": "remainingSeconds",
1578
- "type": {
1579
- "text": "number"
1580
- },
1581
- "default": "0"
1582
- },
1583
- {
1584
- "kind": "field",
1585
- "name": "onContinue",
1586
- "type": {
1587
- "text": "() => void | undefined"
1588
- },
1589
- "privacy": "private"
1590
- },
1591
- {
1592
- "kind": "field",
1593
- "name": "onLogout",
1594
- "type": {
1595
- "text": "() => void | undefined"
1596
- },
1597
- "privacy": "private"
1598
- },
1599
- {
1600
- "kind": "field",
1601
- "name": "countdownInterval",
1602
- "type": {
1603
- "text": "number | undefined"
1604
- },
1605
- "privacy": "private"
1606
- },
1607
- {
1608
- "kind": "field",
1609
- "name": "startTime",
1610
- "type": {
1611
- "text": "number"
1612
- },
1613
- "privacy": "private",
1614
- "default": "0"
1615
- },
1616
- {
1617
- "kind": "field",
1618
- "name": "totalSeconds",
1619
- "type": {
1620
- "text": "number"
1621
- },
1622
- "privacy": "private",
1623
- "default": "0"
1624
- },
1625
- {
1626
- "kind": "method",
1627
- "name": "show",
1628
- "privacy": "public",
1629
- "return": {
1630
- "type": {
1631
- "text": "void"
1632
- }
1633
- },
1634
- "parameters": [
1635
- {
1636
- "name": "options",
1637
- "type": {
1638
- "text": "InactivityDialogOptions"
1639
- }
1640
- }
1641
- ]
1642
- },
1643
- {
1644
- "kind": "method",
1645
- "name": "hide",
1646
- "privacy": "public",
1647
- "return": {
1648
- "type": {
1649
- "text": "void"
1650
- }
1651
- }
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "startCountdown",
1656
- "privacy": "private",
1657
- "return": {
1658
- "type": {
1659
- "text": "void"
1660
- }
1661
- }
1662
- },
1663
- {
1664
- "kind": "method",
1665
- "name": "stopCountdown",
1666
- "privacy": "private",
1667
- "return": {
1668
- "type": {
1669
- "text": "void"
1670
- }
1671
- }
1672
- },
1673
- {
1674
- "kind": "method",
1675
- "name": "handleContinue",
1676
- "privacy": "private",
1677
- "return": {
1678
- "type": {
1679
- "text": "void"
1680
- }
1681
- }
1682
- },
1683
- {
1684
- "kind": "method",
1685
- "name": "handleLogout",
1686
- "privacy": "private",
1687
- "return": {
1688
- "type": {
1689
- "text": "void"
1690
- }
1691
- }
1692
- }
1693
- ],
1694
- "superclass": {
1695
- "name": "GenesisElement",
1696
- "package": "@genesislcap/web-core"
1697
- },
1698
- "tagName": "inactivity-dialog",
1699
- "customElement": true
1700
- }
1701
- ],
1702
- "exports": [
1703
- {
1704
- "kind": "js",
1705
- "name": "InactivityDialog",
1706
- "declaration": {
1707
- "name": "InactivityDialog",
1708
- "module": "src/inactivity/inactivity-dialog.ts"
1709
- }
1710
- },
1711
- {
1712
- "kind": "custom-element-definition",
1713
- "name": "inactivity-dialog",
1714
- "declaration": {
1715
- "name": "InactivityDialog",
1716
- "module": "src/inactivity/inactivity-dialog.ts"
1717
- }
1718
- }
1719
- ]
1720
- },
1721
- {
1722
- "kind": "javascript-module",
1723
- "path": "src/inactivity/inactivity-manager.ts",
1724
- "declarations": [
1725
- {
1726
- "kind": "class",
1727
- "description": "",
1728
- "name": "InactivityManager",
1729
- "members": [
1730
- {
1731
- "kind": "field",
1732
- "name": "service",
1733
- "type": {
1734
- "text": "InactivityService"
1735
- },
1736
- "privacy": "private",
1737
- "default": "new InactivityService({\n timeoutMinutes: config.timeoutMinutes,\n warningMinutes: config.warningMinutes,\n })"
1738
- },
1739
- {
1740
- "kind": "field",
1741
- "name": "dialog",
1742
- "type": {
1743
- "text": "InactivityDialog | null"
1744
- },
1745
- "privacy": "private",
1746
- "default": "null"
1747
- },
1748
- {
1749
- "kind": "field",
1750
- "name": "config",
1751
- "type": {
1752
- "text": "InactivityManagerConfig"
1753
- },
1754
- "privacy": "private",
1755
- "default": "config"
1756
- },
1757
- {
1758
- "kind": "field",
1759
- "name": "isDialogVisible",
1760
- "type": {
1761
- "text": "boolean"
1762
- },
1763
- "privacy": "private",
1764
- "default": "false"
1765
- },
1766
- {
1767
- "kind": "method",
1768
- "name": "setupEventListeners",
1769
- "privacy": "private",
1770
- "return": {
1771
- "type": {
1772
- "text": "void"
1773
- }
1774
- }
1775
- },
1776
- {
1777
- "kind": "method",
1778
- "name": "showWarningDialog",
1779
- "privacy": "private",
1780
- "return": {
1781
- "type": {
1782
- "text": "void"
1783
- }
1784
- },
1785
- "parameters": [
1786
- {
1787
- "name": "remainingSeconds",
1788
- "type": {
1789
- "text": "number"
1790
- }
1791
- }
1792
- ]
1793
- },
1794
- {
1795
- "kind": "method",
1796
- "name": "hideWarningDialog",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- }
1803
- },
1804
- {
1805
- "kind": "method",
1806
- "name": "handleContinue",
1807
- "privacy": "private",
1808
- "return": {
1809
- "type": {
1810
- "text": "void"
1811
- }
1812
- }
1813
- },
1814
- {
1815
- "kind": "method",
1816
- "name": "handleLogout",
1817
- "privacy": "private",
1818
- "return": {
1819
- "type": {
1820
- "text": "void"
1821
- }
1822
- }
1823
- },
1824
- {
1825
- "kind": "method",
1826
- "name": "handleTimeout",
1827
- "privacy": "private",
1828
- "return": {
1829
- "type": {
1830
- "text": "void"
1831
- }
1832
- }
1833
- },
1834
- {
1835
- "kind": "method",
1836
- "name": "start",
1837
- "privacy": "public",
1838
- "return": {
1839
- "type": {
1840
- "text": "void"
1841
- }
1842
- }
1843
- },
1844
- {
1845
- "kind": "method",
1846
- "name": "stop",
1847
- "privacy": "public",
1848
- "return": {
1849
- "type": {
1850
- "text": "void"
1851
- }
1852
- }
1853
- },
1854
- {
1855
- "kind": "method",
1856
- "name": "reset",
1857
- "privacy": "public",
1858
- "return": {
1859
- "type": {
1860
- "text": "void"
1861
- }
1862
- }
1863
- },
1864
- {
1865
- "kind": "method",
1866
- "name": "destroy",
1867
- "privacy": "public",
1868
- "return": {
1869
- "type": {
1870
- "text": "void"
1871
- }
1872
- }
1873
- },
1874
- {
1875
- "kind": "method",
1876
- "name": "getService",
1877
- "privacy": "public",
1878
- "return": {
1879
- "type": {
1880
- "text": "InactivityService"
1881
- }
1882
- }
1883
- },
1884
- {
1885
- "kind": "method",
1886
- "name": "isWarningVisible",
1887
- "privacy": "public",
1888
- "return": {
1889
- "type": {
1890
- "text": "boolean"
1891
- }
1892
- }
1893
- }
1894
- ]
1895
- }
1896
- ],
1897
- "exports": [
1898
- {
1899
- "kind": "js",
1900
- "name": "InactivityManager",
1901
- "declaration": {
1902
- "name": "InactivityManager",
1903
- "module": "src/inactivity/inactivity-manager.ts"
1904
- }
1905
- }
1906
- ]
1907
- },
1908
- {
1909
- "kind": "javascript-module",
1910
- "path": "src/inactivity/inactivity-service.ts",
1911
- "declarations": [
1912
- {
1913
- "kind": "class",
1914
- "description": "",
1915
- "name": "InactivityService",
1916
- "members": [
1917
- {
1918
- "kind": "field",
1919
- "name": "config",
1920
- "type": {
1921
- "text": "InactivityConfig"
1922
- },
1923
- "privacy": "private",
1924
- "default": "config"
1925
- },
1926
- {
1927
- "kind": "field",
1928
- "name": "warningId",
1929
- "type": {
1930
- "text": "number | null"
1931
- },
1932
- "privacy": "private",
1933
- "default": "null"
1934
- },
1935
- {
1936
- "kind": "field",
1937
- "name": "timeoutId",
1938
- "type": {
1939
- "text": "number | null"
1940
- },
1941
- "privacy": "private",
1942
- "default": "null"
1943
- },
1944
- {
1945
- "kind": "field",
1946
- "name": "lastActivity",
1947
- "type": {
1948
- "text": "number"
1949
- },
1950
- "privacy": "private"
1951
- },
1952
- {
1953
- "kind": "field",
1954
- "name": "isActive",
1955
- "type": {
1956
- "text": "boolean"
1957
- },
1958
- "privacy": "private",
1959
- "default": "false"
1960
- },
1961
- {
1962
- "kind": "field",
1963
- "name": "eventListeners",
1964
- "type": {
1965
- "text": "Map<keyof InactivityEvents, EventListener[]>"
1966
- },
1967
- "privacy": "private",
1968
- "default": "new Map()"
1969
- },
1970
- {
1971
- "kind": "method",
1972
- "name": "setupActivityListeners",
1973
- "privacy": "private",
1974
- "return": {
1975
- "type": {
1976
- "text": "void"
1977
- }
1978
- }
1979
- },
1980
- {
1981
- "kind": "method",
1982
- "name": "checkTimeout",
1983
- "privacy": "private",
1984
- "return": {
1985
- "type": {
1986
- "text": "void"
1987
- }
1988
- }
1989
- },
1990
- {
1991
- "kind": "method",
1992
- "name": "on",
1993
- "privacy": "public",
1994
- "return": {
1995
- "type": {
1996
- "text": "void"
1997
- }
1998
- },
1999
- "parameters": [
2000
- {
2001
- "name": "event",
2002
- "type": {
2003
- "text": "K"
2004
- }
2005
- },
2006
- {
2007
- "name": "listener",
2008
- "type": {
2009
- "text": "EventListener<InactivityEvents[K]>"
2010
- }
2011
- }
2012
- ]
2013
- },
2014
- {
2015
- "kind": "method",
2016
- "name": "off",
2017
- "privacy": "public",
2018
- "return": {
2019
- "type": {
2020
- "text": "void"
2021
- }
2022
- },
2023
- "parameters": [
2024
- {
2025
- "name": "event",
2026
- "type": {
2027
- "text": "K"
2028
- }
2029
- },
2030
- {
2031
- "name": "listener",
2032
- "type": {
2033
- "text": "EventListener<InactivityEvents[K]>"
2034
- }
2035
- }
2036
- ]
2037
- },
2038
- {
2039
- "kind": "method",
2040
- "name": "emit",
2041
- "privacy": "private",
2042
- "return": {
2043
- "type": {
2044
- "text": "void"
2045
- }
2046
- },
2047
- "parameters": [
2048
- {
2049
- "name": "event",
2050
- "type": {
2051
- "text": "K"
2052
- }
2053
- },
2054
- {
2055
- "name": "data",
2056
- "optional": true,
2057
- "type": {
2058
- "text": "InactivityEvents[K]"
2059
- }
2060
- }
2061
- ]
2062
- },
2063
- {
2064
- "kind": "method",
2065
- "name": "start",
2066
- "privacy": "public",
2067
- "return": {
2068
- "type": {
2069
- "text": "void"
2070
- }
2071
- }
2072
- },
2073
- {
2074
- "kind": "method",
2075
- "name": "stop",
2076
- "privacy": "public",
2077
- "return": {
2078
- "type": {
2079
- "text": "void"
2080
- }
2081
- }
2082
- },
2083
- {
2084
- "kind": "method",
2085
- "name": "resetTimer",
2086
- "privacy": "public",
2087
- "return": {
2088
- "type": {
2089
- "text": "void"
2090
- }
2091
- }
2092
- },
2093
- {
2094
- "kind": "method",
2095
- "name": "scheduleTimers",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- }
2102
- },
2103
- {
2104
- "kind": "method",
2105
- "name": "clearTimers",
2106
- "privacy": "private",
2107
- "return": {
2108
- "type": {
2109
- "text": "void"
2110
- }
2111
- }
2112
- },
2113
- {
2114
- "kind": "method",
2115
- "name": "destroy",
2116
- "privacy": "public",
2117
- "return": {
2118
- "type": {
2119
- "text": "void"
2120
- }
2121
- }
2122
- }
2123
- ]
2124
- }
2125
- ],
2126
- "exports": [
2127
- {
2128
- "kind": "js",
2129
- "name": "InactivityService",
2130
- "declaration": {
2131
- "name": "InactivityService",
2132
- "module": "src/inactivity/inactivity-service.ts"
2133
- }
2134
- }
2135
- ]
2136
- },
2137
- {
2138
- "kind": "javascript-module",
2139
- "path": "src/inactivity/index.ts",
2140
- "declarations": [],
2141
- "exports": [
2142
- {
2143
- "kind": "js",
2144
- "name": "*",
2145
- "declaration": {
2146
- "name": "*",
2147
- "package": "./inactivity-dialog"
2148
- }
2149
- },
2150
- {
2151
- "kind": "js",
2152
- "name": "*",
2153
- "declaration": {
2154
- "name": "*",
2155
- "package": "./inactivity-manager"
2156
- }
2157
- },
2158
- {
2159
- "kind": "js",
2160
- "name": "*",
2161
- "declaration": {
2162
- "name": "*",
2163
- "package": "./inactivity-service"
2164
- }
2165
- }
2166
- ]
2167
- },
2168
1550
  {
2169
1551
  "kind": "javascript-module",
2170
1552
  "path": "src/logger/index.ts",