@genesislcap/foundation-utils 14.310.2-alpha-c4ff8c2.0 → 14.310.2-alpha-c0a4919.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.
@@ -375,6 +375,29 @@
|
|
375
375
|
}
|
376
376
|
]
|
377
377
|
},
|
378
|
+
{
|
379
|
+
"kind": "javascript-module",
|
380
|
+
"path": "src/directives/index.ts",
|
381
|
+
"declarations": [],
|
382
|
+
"exports": [
|
383
|
+
{
|
384
|
+
"kind": "js",
|
385
|
+
"name": "*",
|
386
|
+
"declaration": {
|
387
|
+
"name": "*",
|
388
|
+
"package": "./sync"
|
389
|
+
}
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"kind": "js",
|
393
|
+
"name": "*",
|
394
|
+
"declaration": {
|
395
|
+
"name": "*",
|
396
|
+
"package": "./when-else"
|
397
|
+
}
|
398
|
+
}
|
399
|
+
]
|
400
|
+
},
|
378
401
|
{
|
379
402
|
"kind": "javascript-module",
|
380
403
|
"path": "src/decorators/index.ts",
|
@@ -430,112 +453,7 @@
|
|
430
453
|
},
|
431
454
|
{
|
432
455
|
"kind": "javascript-module",
|
433
|
-
"path": "src/
|
434
|
-
"declarations": [
|
435
|
-
{
|
436
|
-
"kind": "function",
|
437
|
-
"name": "assureDesignSystem",
|
438
|
-
"return": {
|
439
|
-
"type": {
|
440
|
-
"text": "DesignSystemModule"
|
441
|
-
}
|
442
|
-
},
|
443
|
-
"parameters": [
|
444
|
-
{
|
445
|
-
"name": "module",
|
446
|
-
"type": {
|
447
|
-
"text": "DesignSystemModule"
|
448
|
-
}
|
449
|
-
}
|
450
|
-
],
|
451
|
-
"description": "assureDesignSystem.",
|
452
|
-
"privacy": "public"
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"kind": "function",
|
456
|
-
"name": "getCurrentDesignSystem",
|
457
|
-
"return": {
|
458
|
-
"type": {
|
459
|
-
"text": ""
|
460
|
-
}
|
461
|
-
},
|
462
|
-
"parameters": [
|
463
|
-
{
|
464
|
-
"name": "element",
|
465
|
-
"type": {
|
466
|
-
"text": "HTMLElement"
|
467
|
-
},
|
468
|
-
"description": "The starting HTML element"
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"name": "fallbackPrefix",
|
472
|
-
"type": {
|
473
|
-
"text": "string"
|
474
|
-
},
|
475
|
-
"description": "The prefix to fallback to if the provider is not available"
|
476
|
-
}
|
477
|
-
],
|
478
|
-
"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.",
|
479
|
-
"privacy": "public"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"kind": "function",
|
483
|
-
"name": "getCurrentDesignSystemPrefix",
|
484
|
-
"return": {
|
485
|
-
"type": {
|
486
|
-
"text": ""
|
487
|
-
}
|
488
|
-
},
|
489
|
-
"parameters": [
|
490
|
-
{
|
491
|
-
"name": "element",
|
492
|
-
"type": {
|
493
|
-
"text": "HTMLElement"
|
494
|
-
},
|
495
|
-
"description": "The starting HTML element"
|
496
|
-
},
|
497
|
-
{
|
498
|
-
"name": "fallbackPrefix",
|
499
|
-
"type": {
|
500
|
-
"text": "string"
|
501
|
-
},
|
502
|
-
"description": "The prefix to fallback to if the provider is not available"
|
503
|
-
}
|
504
|
-
],
|
505
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
506
|
-
"privacy": "public"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"exports": [
|
510
|
-
{
|
511
|
-
"kind": "js",
|
512
|
-
"name": "assureDesignSystem",
|
513
|
-
"declaration": {
|
514
|
-
"name": "assureDesignSystem",
|
515
|
-
"module": "src/design-system/design-system.ts"
|
516
|
-
}
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"kind": "js",
|
520
|
-
"name": "getCurrentDesignSystem",
|
521
|
-
"declaration": {
|
522
|
-
"name": "getCurrentDesignSystem",
|
523
|
-
"module": "src/design-system/design-system.ts"
|
524
|
-
}
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"kind": "js",
|
528
|
-
"name": "getCurrentDesignSystemPrefix",
|
529
|
-
"declaration": {
|
530
|
-
"name": "getCurrentDesignSystemPrefix",
|
531
|
-
"module": "src/design-system/design-system.ts"
|
532
|
-
}
|
533
|
-
}
|
534
|
-
]
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"kind": "javascript-module",
|
538
|
-
"path": "src/design-system/index.ts",
|
456
|
+
"path": "src/encoding/index.ts",
|
539
457
|
"declarations": [],
|
540
458
|
"exports": [
|
541
459
|
{
|
@@ -543,14 +461,14 @@
|
|
543
461
|
"name": "*",
|
544
462
|
"declaration": {
|
545
463
|
"name": "*",
|
546
|
-
"package": "./
|
464
|
+
"package": "./base64"
|
547
465
|
}
|
548
466
|
}
|
549
467
|
]
|
550
468
|
},
|
551
469
|
{
|
552
470
|
"kind": "javascript-module",
|
553
|
-
"path": "src/
|
471
|
+
"path": "src/env/index.ts",
|
554
472
|
"declarations": [],
|
555
473
|
"exports": [
|
556
474
|
{
|
@@ -558,7 +476,7 @@
|
|
558
476
|
"name": "*",
|
559
477
|
"declaration": {
|
560
478
|
"name": "*",
|
561
|
-
"package": "./
|
479
|
+
"package": "./is-dev"
|
562
480
|
}
|
563
481
|
},
|
564
482
|
{
|
@@ -566,273 +484,36 @@
|
|
566
484
|
"name": "*",
|
567
485
|
"declaration": {
|
568
486
|
"name": "*",
|
569
|
-
"package": "./
|
487
|
+
"package": "./variables"
|
570
488
|
}
|
571
489
|
}
|
572
490
|
]
|
573
491
|
},
|
574
492
|
{
|
575
493
|
"kind": "javascript-module",
|
576
|
-
"path": "src/
|
577
|
-
"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
|
+
],
|
578
503
|
"exports": [
|
579
504
|
{
|
580
505
|
"kind": "js",
|
581
|
-
"name": "
|
506
|
+
"name": "isDev",
|
582
507
|
"declaration": {
|
583
|
-
"name": "
|
584
|
-
"
|
508
|
+
"name": "isDev",
|
509
|
+
"module": "src/env/is-dev.ts"
|
585
510
|
}
|
586
511
|
}
|
587
512
|
]
|
588
513
|
},
|
589
514
|
{
|
590
515
|
"kind": "javascript-module",
|
591
|
-
"path": "src/
|
592
|
-
"declarations": [
|
593
|
-
{
|
594
|
-
"kind": "class",
|
595
|
-
"description": "",
|
596
|
-
"name": "DefaultErrorMap",
|
597
|
-
"members": [
|
598
|
-
{
|
599
|
-
"kind": "field",
|
600
|
-
"name": "map",
|
601
|
-
"privacy": "private",
|
602
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
603
|
-
},
|
604
|
-
{
|
605
|
-
"kind": "field",
|
606
|
-
"name": "lastError",
|
607
|
-
"type": {
|
608
|
-
"text": "Error"
|
609
|
-
},
|
610
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
611
|
-
},
|
612
|
-
{
|
613
|
-
"kind": "method",
|
614
|
-
"name": "set",
|
615
|
-
"return": {
|
616
|
-
"type": {
|
617
|
-
"text": "void"
|
618
|
-
}
|
619
|
-
},
|
620
|
-
"parameters": [
|
621
|
-
{
|
622
|
-
"name": "key",
|
623
|
-
"type": {
|
624
|
-
"text": "keyof TErrorDetailMap"
|
625
|
-
}
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"name": "error",
|
629
|
-
"type": {
|
630
|
-
"text": "Error"
|
631
|
-
}
|
632
|
-
}
|
633
|
-
],
|
634
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"kind": "method",
|
638
|
-
"name": "get",
|
639
|
-
"return": {
|
640
|
-
"type": {
|
641
|
-
"text": ""
|
642
|
-
}
|
643
|
-
},
|
644
|
-
"parameters": [
|
645
|
-
{
|
646
|
-
"name": "key",
|
647
|
-
"type": {
|
648
|
-
"text": "keyof TErrorDetailMap"
|
649
|
-
},
|
650
|
-
"description": "The key."
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"description": "Get an error by key.",
|
654
|
-
"privacy": "public"
|
655
|
-
},
|
656
|
-
{
|
657
|
-
"kind": "method",
|
658
|
-
"name": "has",
|
659
|
-
"return": {
|
660
|
-
"type": {
|
661
|
-
"text": ""
|
662
|
-
}
|
663
|
-
},
|
664
|
-
"parameters": [
|
665
|
-
{
|
666
|
-
"name": "key",
|
667
|
-
"type": {
|
668
|
-
"text": "keyof TErrorDetailMap"
|
669
|
-
},
|
670
|
-
"description": "The key."
|
671
|
-
}
|
672
|
-
],
|
673
|
-
"description": "Has an error for key.",
|
674
|
-
"privacy": "public"
|
675
|
-
},
|
676
|
-
{
|
677
|
-
"kind": "method",
|
678
|
-
"name": "delete",
|
679
|
-
"return": {
|
680
|
-
"type": {
|
681
|
-
"text": ""
|
682
|
-
}
|
683
|
-
},
|
684
|
-
"parameters": [
|
685
|
-
{
|
686
|
-
"name": "key",
|
687
|
-
"type": {
|
688
|
-
"text": "keyof TErrorDetailMap"
|
689
|
-
},
|
690
|
-
"description": "The key."
|
691
|
-
}
|
692
|
-
],
|
693
|
-
"description": "Delete an error.",
|
694
|
-
"privacy": "public"
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"kind": "method",
|
698
|
-
"name": "clear",
|
699
|
-
"description": "Clear errors.",
|
700
|
-
"privacy": "public"
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"kind": "field",
|
704
|
-
"name": "size",
|
705
|
-
"type": {
|
706
|
-
"text": "number"
|
707
|
-
},
|
708
|
-
"description": "The size of the error map.",
|
709
|
-
"return": {
|
710
|
-
"type": {
|
711
|
-
"text": ""
|
712
|
-
}
|
713
|
-
},
|
714
|
-
"privacy": "public",
|
715
|
-
"readonly": true
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"kind": "method",
|
719
|
-
"name": "values",
|
720
|
-
"privacy": "public"
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"kind": "field",
|
724
|
-
"name": "messages",
|
725
|
-
"type": {
|
726
|
-
"text": "string"
|
727
|
-
},
|
728
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
729
|
-
"readonly": true
|
730
|
-
}
|
731
|
-
]
|
732
|
-
},
|
733
|
-
{
|
734
|
-
"kind": "function",
|
735
|
-
"name": "createErrorMap",
|
736
|
-
"return": {
|
737
|
-
"type": {
|
738
|
-
"text": ""
|
739
|
-
}
|
740
|
-
},
|
741
|
-
"parameters": [
|
742
|
-
{
|
743
|
-
"name": "logger",
|
744
|
-
"type": {
|
745
|
-
"text": "ErrorMapLogger"
|
746
|
-
},
|
747
|
-
"description": "A logger error method reference."
|
748
|
-
}
|
749
|
-
],
|
750
|
-
"description": "A factory to create the error map.",
|
751
|
-
"privacy": "public"
|
752
|
-
}
|
753
|
-
],
|
754
|
-
"exports": [
|
755
|
-
{
|
756
|
-
"kind": "js",
|
757
|
-
"name": "DefaultErrorMap",
|
758
|
-
"declaration": {
|
759
|
-
"name": "DefaultErrorMap",
|
760
|
-
"module": "src/error/errorMap.ts"
|
761
|
-
}
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"kind": "js",
|
765
|
-
"name": "createErrorMap",
|
766
|
-
"declaration": {
|
767
|
-
"name": "createErrorMap",
|
768
|
-
"module": "src/error/errorMap.ts"
|
769
|
-
}
|
770
|
-
}
|
771
|
-
]
|
772
|
-
},
|
773
|
-
{
|
774
|
-
"kind": "javascript-module",
|
775
|
-
"path": "src/error/index.ts",
|
776
|
-
"declarations": [],
|
777
|
-
"exports": [
|
778
|
-
{
|
779
|
-
"kind": "js",
|
780
|
-
"name": "*",
|
781
|
-
"declaration": {
|
782
|
-
"name": "*",
|
783
|
-
"package": "./errorMap"
|
784
|
-
}
|
785
|
-
}
|
786
|
-
]
|
787
|
-
},
|
788
|
-
{
|
789
|
-
"kind": "javascript-module",
|
790
|
-
"path": "src/env/index.ts",
|
791
|
-
"declarations": [],
|
792
|
-
"exports": [
|
793
|
-
{
|
794
|
-
"kind": "js",
|
795
|
-
"name": "*",
|
796
|
-
"declaration": {
|
797
|
-
"name": "*",
|
798
|
-
"package": "./is-dev"
|
799
|
-
}
|
800
|
-
},
|
801
|
-
{
|
802
|
-
"kind": "js",
|
803
|
-
"name": "*",
|
804
|
-
"declaration": {
|
805
|
-
"name": "*",
|
806
|
-
"package": "./variables"
|
807
|
-
}
|
808
|
-
}
|
809
|
-
]
|
810
|
-
},
|
811
|
-
{
|
812
|
-
"kind": "javascript-module",
|
813
|
-
"path": "src/env/is-dev.ts",
|
814
|
-
"declarations": [
|
815
|
-
{
|
816
|
-
"kind": "function",
|
817
|
-
"name": "isDev",
|
818
|
-
"description": "Determines if the current environment is a development environment.",
|
819
|
-
"privacy": "public"
|
820
|
-
}
|
821
|
-
],
|
822
|
-
"exports": [
|
823
|
-
{
|
824
|
-
"kind": "js",
|
825
|
-
"name": "isDev",
|
826
|
-
"declaration": {
|
827
|
-
"name": "isDev",
|
828
|
-
"module": "src/env/is-dev.ts"
|
829
|
-
}
|
830
|
-
}
|
831
|
-
]
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"kind": "javascript-module",
|
835
|
-
"path": "src/env/variables.ts",
|
516
|
+
"path": "src/env/variables.ts",
|
836
517
|
"declarations": [
|
837
518
|
{
|
838
519
|
"kind": "variable",
|
@@ -1243,6 +924,325 @@
|
|
1243
924
|
}
|
1244
925
|
]
|
1245
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
|
+
},
|
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
|
+
}
|
1121
|
+
},
|
1122
|
+
"parameters": [
|
1123
|
+
{
|
1124
|
+
"name": "key",
|
1125
|
+
"type": {
|
1126
|
+
"text": "keyof TErrorDetailMap"
|
1127
|
+
},
|
1128
|
+
"description": "The key."
|
1129
|
+
}
|
1130
|
+
],
|
1131
|
+
"description": "Has an error for key.",
|
1132
|
+
"privacy": "public"
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"kind": "method",
|
1136
|
+
"name": "delete",
|
1137
|
+
"return": {
|
1138
|
+
"type": {
|
1139
|
+
"text": ""
|
1140
|
+
}
|
1141
|
+
},
|
1142
|
+
"parameters": [
|
1143
|
+
{
|
1144
|
+
"name": "key",
|
1145
|
+
"type": {
|
1146
|
+
"text": "keyof TErrorDetailMap"
|
1147
|
+
},
|
1148
|
+
"description": "The key."
|
1149
|
+
}
|
1150
|
+
],
|
1151
|
+
"description": "Delete an error.",
|
1152
|
+
"privacy": "public"
|
1153
|
+
},
|
1154
|
+
{
|
1155
|
+
"kind": "method",
|
1156
|
+
"name": "clear",
|
1157
|
+
"description": "Clear errors.",
|
1158
|
+
"privacy": "public"
|
1159
|
+
},
|
1160
|
+
{
|
1161
|
+
"kind": "field",
|
1162
|
+
"name": "size",
|
1163
|
+
"type": {
|
1164
|
+
"text": "number"
|
1165
|
+
},
|
1166
|
+
"description": "The size of the error map.",
|
1167
|
+
"return": {
|
1168
|
+
"type": {
|
1169
|
+
"text": ""
|
1170
|
+
}
|
1171
|
+
},
|
1172
|
+
"privacy": "public",
|
1173
|
+
"readonly": true
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"kind": "method",
|
1177
|
+
"name": "values",
|
1178
|
+
"privacy": "public"
|
1179
|
+
},
|
1180
|
+
{
|
1181
|
+
"kind": "field",
|
1182
|
+
"name": "messages",
|
1183
|
+
"type": {
|
1184
|
+
"text": "string"
|
1185
|
+
},
|
1186
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
1187
|
+
"readonly": true
|
1188
|
+
}
|
1189
|
+
]
|
1190
|
+
},
|
1191
|
+
{
|
1192
|
+
"kind": "function",
|
1193
|
+
"name": "createErrorMap",
|
1194
|
+
"return": {
|
1195
|
+
"type": {
|
1196
|
+
"text": ""
|
1197
|
+
}
|
1198
|
+
},
|
1199
|
+
"parameters": [
|
1200
|
+
{
|
1201
|
+
"name": "logger",
|
1202
|
+
"type": {
|
1203
|
+
"text": "ErrorMapLogger"
|
1204
|
+
},
|
1205
|
+
"description": "A logger error method reference."
|
1206
|
+
}
|
1207
|
+
],
|
1208
|
+
"description": "A factory to create the error map.",
|
1209
|
+
"privacy": "public"
|
1210
|
+
}
|
1211
|
+
],
|
1212
|
+
"exports": [
|
1213
|
+
{
|
1214
|
+
"kind": "js",
|
1215
|
+
"name": "DefaultErrorMap",
|
1216
|
+
"declaration": {
|
1217
|
+
"name": "DefaultErrorMap",
|
1218
|
+
"module": "src/error/errorMap.ts"
|
1219
|
+
}
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"kind": "js",
|
1223
|
+
"name": "createErrorMap",
|
1224
|
+
"declaration": {
|
1225
|
+
"name": "createErrorMap",
|
1226
|
+
"module": "src/error/errorMap.ts"
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
]
|
1230
|
+
},
|
1231
|
+
{
|
1232
|
+
"kind": "javascript-module",
|
1233
|
+
"path": "src/error/index.ts",
|
1234
|
+
"declarations": [],
|
1235
|
+
"exports": [
|
1236
|
+
{
|
1237
|
+
"kind": "js",
|
1238
|
+
"name": "*",
|
1239
|
+
"declaration": {
|
1240
|
+
"name": "*",
|
1241
|
+
"package": "./errorMap"
|
1242
|
+
}
|
1243
|
+
}
|
1244
|
+
]
|
1245
|
+
},
|
1246
1246
|
{
|
1247
1247
|
"kind": "javascript-module",
|
1248
1248
|
"path": "src/formatters/datetime.ts",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inactivity-manager.d.ts","sourceRoot":"","sources":["../../../src/inactivity/inactivity-manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE3E,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,MAAM,CAAiC;IAC/C,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,eAAe,CAAkB;gBAE7B,MAAM,EAAE,uBAAuB;IAU3C,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,iBAAiB;
|
1
|
+
{"version":3,"file":"inactivity-manager.d.ts","sourceRoot":"","sources":["../../../src/inactivity/inactivity-manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE3E,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,MAAM,CAAiC;IAC/C,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,eAAe,CAAkB;gBAE7B,MAAM,EAAE,uBAAuB;IAU3C,OAAO,CAAC,mBAAmB;IAU3B,OAAO,CAAC,iBAAiB;IAoBzB,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,aAAa;IAQd,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAKZ,KAAK,IAAI,IAAI;IAKb,OAAO,IAAI,IAAI;IAKf,UAAU,IAAI,iBAAiB;IAI/B,gBAAgB,IAAI,OAAO;CAGnC"}
|
@@ -9,7 +9,7 @@ export class InactivityManager {
|
|
9
9
|
warningMinutes: config.warningMinutes,
|
10
10
|
});
|
11
11
|
this.setupEventListeners();
|
12
|
-
console.log('
|
12
|
+
console.log('InactivityManager constructor ', this.config);
|
13
13
|
}
|
14
14
|
setupEventListeners() {
|
15
15
|
this.service.on('inactivity-warning', (data) => {
|
@@ -22,12 +22,10 @@ export class InactivityManager {
|
|
22
22
|
showWarningDialog(remainingSeconds) {
|
23
23
|
if (this.isDialogVisible)
|
24
24
|
return;
|
25
|
-
// Create dialog lazily if it doesn't exist
|
26
25
|
if (!this.dialog) {
|
27
26
|
this.dialog = document.createElement('inactivity-dialog');
|
28
27
|
console.log('Creating dialog', this.dialog);
|
29
28
|
}
|
30
|
-
// Add dialog to DOM if not already there
|
31
29
|
if (!this.dialog.isConnected) {
|
32
30
|
document.body.appendChild(this.dialog);
|
33
31
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
3
3
|
"description": "Genesis Foundation Utils",
|
4
|
-
"version": "14.310.2-alpha-
|
4
|
+
"version": "14.310.2-alpha-c0a4919.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,19 +27,19 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.310.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.310.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.310.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.310.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.310.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.310.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.310.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.310.2-alpha-c0a4919.0",
|
31
|
+
"@genesislcap/genx": "14.310.2-alpha-c0a4919.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.310.2-alpha-c0a4919.0",
|
33
|
+
"@genesislcap/ts-builder": "14.310.2-alpha-c0a4919.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.310.2-alpha-c0a4919.0",
|
35
|
+
"@genesislcap/vite-builder": "14.310.2-alpha-c0a4919.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.310.2-alpha-c0a4919.0",
|
37
37
|
"@types/json-schema": "^7.0.11"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/expression-builder": "14.310.2-alpha-
|
41
|
-
"@genesislcap/foundation-logger": "14.310.2-alpha-
|
42
|
-
"@genesislcap/web-core": "14.310.2-alpha-
|
40
|
+
"@genesislcap/expression-builder": "14.310.2-alpha-c0a4919.0",
|
41
|
+
"@genesislcap/foundation-logger": "14.310.2-alpha-c0a4919.0",
|
42
|
+
"@genesislcap/web-core": "14.310.2-alpha-c0a4919.0",
|
43
43
|
"@microsoft/fast-components": "2.30.6",
|
44
44
|
"@microsoft/fast-element": "1.14.0",
|
45
45
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -56,5 +56,5 @@
|
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
58
|
"customElements": "dist/custom-elements.json",
|
59
|
-
"gitHead": "
|
59
|
+
"gitHead": "f62b092b15f3af104c19d3d8d2ee518cdbe5a8cf"
|
60
60
|
}
|