@genesislcap/foundation-utils 14.314.3-alpha-c442ac5.0 → 14.316.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 +250 -868
  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 -1217
  6. package/dist/foundation-utils.d.ts +0 -83
  7. package/docs/api/foundation-utils.md +0 -63
  8. package/docs/api-report.md.api.md +0 -90
  9. package/package.json +11 -11
  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 -213
  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.handlecontinue.md +0 -15
  27. package/docs/api/foundation-utils.inactivitydialog.handlelogout.md +0 -15
  28. package/docs/api/foundation-utils.inactivitydialog.hide.md +0 -15
  29. package/docs/api/foundation-utils.inactivitydialog.isvisible.md +0 -11
  30. package/docs/api/foundation-utils.inactivitydialog.md +0 -152
  31. package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +0 -11
  32. package/docs/api/foundation-utils.inactivitydialog.show.md +0 -50
  33. package/docs/api/foundation-utils.inactivitydialogoptions.md +0 -88
  34. package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +0 -11
  35. package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +0 -11
  36. package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +0 -11
  37. package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +0 -11
  38. package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +0 -11
  39. package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +0 -13
  40. package/docs/api/foundation-utils.inactivityevents.md +0 -88
  41. package/docs/api/foundation-utils.inactivitymanager._constructor_.md +0 -48
  42. package/docs/api/foundation-utils.inactivitymanager.destroy.md +0 -15
  43. package/docs/api/foundation-utils.inactivitymanager.getservice.md +0 -15
  44. package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +0 -15
  45. package/docs/api/foundation-utils.inactivitymanager.md +0 -138
  46. package/docs/api/foundation-utils.inactivitymanager.reset.md +0 -15
  47. package/docs/api/foundation-utils.inactivitymanager.start.md +0 -15
  48. package/docs/api/foundation-utils.inactivitymanager.stop.md +0 -15
  49. package/docs/api/foundation-utils.inactivitymanagerconfig.md +0 -55
  50. package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +0 -11
  51. package/docs/api/foundation-utils.inactivityservice._constructor_.md +0 -48
  52. package/docs/api/foundation-utils.inactivityservice.destroy.md +0 -15
  53. package/docs/api/foundation-utils.inactivityservice.md +0 -138
  54. package/docs/api/foundation-utils.inactivityservice.off.md +0 -64
  55. package/docs/api/foundation-utils.inactivityservice.on.md +0 -64
  56. package/docs/api/foundation-utils.inactivityservice.resettimer.md +0 -15
  57. package/docs/api/foundation-utils.inactivityservice.start.md +0 -15
  58. package/docs/api/foundation-utils.inactivityservice.stop.md +0 -15
@@ -174,13 +174,81 @@
174
174
  "name": "*",
175
175
  "package": "./window"
176
176
  }
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "kind": "javascript-module",
182
+ "path": "src/directives/index.ts",
183
+ "declarations": [],
184
+ "exports": [
185
+ {
186
+ "kind": "js",
187
+ "name": "*",
188
+ "declaration": {
189
+ "name": "*",
190
+ "package": "./sync"
191
+ }
177
192
  },
178
193
  {
179
194
  "kind": "js",
180
195
  "name": "*",
181
196
  "declaration": {
182
197
  "name": "*",
183
- "package": "./inactivity"
198
+ "package": "./when-else"
199
+ }
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ "kind": "javascript-module",
205
+ "path": "src/decorators/index.ts",
206
+ "declarations": [],
207
+ "exports": [
208
+ {
209
+ "kind": "js",
210
+ "name": "*",
211
+ "declaration": {
212
+ "name": "*",
213
+ "package": "./renderOnChange"
214
+ }
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ "kind": "javascript-module",
220
+ "path": "src/decorators/renderOnChange.ts",
221
+ "declarations": [
222
+ {
223
+ "kind": "function",
224
+ "name": "renderOnChange",
225
+ "parameters": [
226
+ {
227
+ "name": "target",
228
+ "type": {
229
+ "text": "FASTElement & { render(): void }"
230
+ },
231
+ "description": "The target to define the property change handler on."
232
+ },
233
+ {
234
+ "name": "name",
235
+ "type": {
236
+ "text": "string"
237
+ },
238
+ "description": "The property name."
239
+ }
240
+ ],
241
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
242
+ "privacy": "public"
243
+ }
244
+ ],
245
+ "exports": [
246
+ {
247
+ "kind": "js",
248
+ "name": "renderOnChange",
249
+ "declaration": {
250
+ "name": "renderOnChange",
251
+ "module": "src/decorators/renderOnChange.ts"
184
252
  }
185
253
  }
186
254
  ]
@@ -385,7 +453,7 @@
385
453
  },
386
454
  {
387
455
  "kind": "javascript-module",
388
- "path": "src/decorators/index.ts",
456
+ "path": "src/encoding/index.ts",
389
457
  "declarations": [],
390
458
  "exports": [
391
459
  {
@@ -393,52 +461,14 @@
393
461
  "name": "*",
394
462
  "declaration": {
395
463
  "name": "*",
396
- "package": "./renderOnChange"
397
- }
398
- }
399
- ]
400
- },
401
- {
402
- "kind": "javascript-module",
403
- "path": "src/decorators/renderOnChange.ts",
404
- "declarations": [
405
- {
406
- "kind": "function",
407
- "name": "renderOnChange",
408
- "parameters": [
409
- {
410
- "name": "target",
411
- "type": {
412
- "text": "FASTElement & { render(): void }"
413
- },
414
- "description": "The target to define the property change handler on."
415
- },
416
- {
417
- "name": "name",
418
- "type": {
419
- "text": "string"
420
- },
421
- "description": "The property name."
422
- }
423
- ],
424
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
425
- "privacy": "public"
426
- }
427
- ],
428
- "exports": [
429
- {
430
- "kind": "js",
431
- "name": "renderOnChange",
432
- "declaration": {
433
- "name": "renderOnChange",
434
- "module": "src/decorators/renderOnChange.ts"
464
+ "package": "./base64"
435
465
  }
436
466
  }
437
467
  ]
438
468
  },
439
469
  {
440
470
  "kind": "javascript-module",
441
- "path": "src/directives/index.ts",
471
+ "path": "src/env/index.ts",
442
472
  "declarations": [],
443
473
  "exports": [
444
474
  {
@@ -446,7 +476,7 @@
446
476
  "name": "*",
447
477
  "declaration": {
448
478
  "name": "*",
449
- "package": "./sync"
479
+ "package": "./is-dev"
450
480
  }
451
481
  },
452
482
  {
@@ -454,251 +484,93 @@
454
484
  "name": "*",
455
485
  "declaration": {
456
486
  "name": "*",
457
- "package": "./when-else"
487
+ "package": "./variables"
458
488
  }
459
489
  }
460
490
  ]
461
491
  },
462
492
  {
463
493
  "kind": "javascript-module",
464
- "path": "src/encoding/index.ts",
465
- "declarations": [],
494
+ "path": "src/env/is-dev.ts",
495
+ "declarations": [
496
+ {
497
+ "kind": "function",
498
+ "name": "isDev",
499
+ "description": "Determines if the current environment is a development environment.",
500
+ "privacy": "public"
501
+ }
502
+ ],
466
503
  "exports": [
467
504
  {
468
505
  "kind": "js",
469
- "name": "*",
506
+ "name": "isDev",
470
507
  "declaration": {
471
- "name": "*",
472
- "package": "./base64"
508
+ "name": "isDev",
509
+ "module": "src/env/is-dev.ts"
473
510
  }
474
511
  }
475
512
  ]
476
513
  },
477
514
  {
478
515
  "kind": "javascript-module",
479
- "path": "src/design-system/design-system.ts",
516
+ "path": "src/env/variables.ts",
480
517
  "declarations": [
481
518
  {
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"
519
+ "kind": "variable",
520
+ "name": "BUILDER",
521
+ "type": {
522
+ "text": "string"
523
+ }
499
524
  },
500
525
  {
501
- "kind": "function",
502
- "name": "getCurrentDesignSystem",
503
- "return": {
504
- "type": {
505
- "text": ""
506
- }
526
+ "kind": "variable",
527
+ "name": "_BUILDER",
528
+ "type": {
529
+ "text": "string"
507
530
  },
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.",
531
+ "default": "'webpack'",
532
+ "description": "The builder aka file bundler.",
525
533
  "privacy": "public"
526
534
  },
527
535
  {
528
- "kind": "function",
529
- "name": "getCurrentDesignSystemPrefix",
530
- "return": {
531
- "type": {
532
- "text": ""
533
- }
536
+ "kind": "variable",
537
+ "name": "PUBLIC_PATH",
538
+ "type": {
539
+ "text": "string"
540
+ }
541
+ },
542
+ {
543
+ "kind": "variable",
544
+ "name": "_PUBLIC_PATH",
545
+ "type": {
546
+ "text": "string"
534
547
  },
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.",
548
+ "default": "'/'",
549
+ "description": "The public path.",
552
550
  "privacy": "public"
553
- }
554
- ],
555
- "exports": [
551
+ },
556
552
  {
557
- "kind": "js",
558
- "name": "assureDesignSystem",
559
- "declaration": {
560
- "name": "assureDesignSystem",
561
- "module": "src/design-system/design-system.ts"
553
+ "kind": "variable",
554
+ "name": "SOCKET_EXT",
555
+ "type": {
556
+ "text": "string"
562
557
  }
563
558
  },
564
559
  {
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
- },
597
- {
598
- "kind": "javascript-module",
599
- "path": "src/env/index.ts",
600
- "declarations": [],
601
- "exports": [
602
- {
603
- "kind": "js",
604
- "name": "*",
605
- "declaration": {
606
- "name": "*",
607
- "package": "./is-dev"
608
- }
609
- },
610
- {
611
- "kind": "js",
612
- "name": "*",
613
- "declaration": {
614
- "name": "*",
615
- "package": "./variables"
616
- }
617
- }
618
- ]
619
- },
620
- {
621
- "kind": "javascript-module",
622
- "path": "src/env/is-dev.ts",
623
- "declarations": [
624
- {
625
- "kind": "function",
626
- "name": "isDev",
627
- "description": "Determines if the current environment is a development environment.",
628
- "privacy": "public"
629
- }
630
- ],
631
- "exports": [
632
- {
633
- "kind": "js",
634
- "name": "isDev",
635
- "declaration": {
636
- "name": "isDev",
637
- "module": "src/env/is-dev.ts"
638
- }
639
- }
640
- ]
641
- },
642
- {
643
- "kind": "javascript-module",
644
- "path": "src/env/variables.ts",
645
- "declarations": [
646
- {
647
- "kind": "variable",
648
- "name": "BUILDER",
649
- "type": {
650
- "text": "string"
651
- }
652
- },
653
- {
654
- "kind": "variable",
655
- "name": "_BUILDER",
656
- "type": {
657
- "text": "string"
658
- },
659
- "default": "'webpack'",
660
- "description": "The builder aka file bundler.",
661
- "privacy": "public"
662
- },
663
- {
664
- "kind": "variable",
665
- "name": "PUBLIC_PATH",
666
- "type": {
667
- "text": "string"
668
- }
669
- },
670
- {
671
- "kind": "variable",
672
- "name": "_PUBLIC_PATH",
673
- "type": {
674
- "text": "string"
675
- },
676
- "default": "'/'",
677
- "description": "The public path.",
678
- "privacy": "public"
679
- },
680
- {
681
- "kind": "variable",
682
- "name": "SOCKET_EXT",
683
- "type": {
684
- "text": "string"
685
- }
686
- },
687
- {
688
- "kind": "variable",
689
- "name": "_SOCKET_EXT",
690
- "type": {
691
- "text": "string"
692
- },
693
- "default": "'gwf'",
694
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
695
- "privacy": "public"
696
- },
697
- {
698
- "kind": "variable",
699
- "name": "FORCE_HTTP",
700
- "type": {
701
- "text": "string"
560
+ "kind": "variable",
561
+ "name": "_SOCKET_EXT",
562
+ "type": {
563
+ "text": "string"
564
+ },
565
+ "default": "'gwf'",
566
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
567
+ "privacy": "public"
568
+ },
569
+ {
570
+ "kind": "variable",
571
+ "name": "FORCE_HTTP",
572
+ "type": {
573
+ "text": "string"
702
574
  }
703
575
  },
704
576
  {
@@ -1052,6 +924,126 @@
1052
924
  }
1053
925
  ]
1054
926
  },
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
+ },
1055
1047
  {
1056
1048
  "kind": "javascript-module",
1057
1049
  "path": "src/error/errorMap.ts",
@@ -1563,616 +1555,6 @@
1563
1555
  }
1564
1556
  ]
1565
1557
  },
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
- },
2176
1558
  {
2177
1559
  "kind": "javascript-module",
2178
1560
  "path": "src/logger/index.ts",