@genesislcap/foundation-utils 14.467.0 → 14.467.1-alpha-5e9a5600e.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 (2) hide show
  1. package/dist/custom-elements.json +720 -720
  2. package/package.json +11 -11
@@ -209,6 +209,100 @@
209
209
  }
210
210
  ]
211
211
  },
212
+ {
213
+ "kind": "javascript-module",
214
+ "path": "src/converters/index.ts",
215
+ "declarations": [],
216
+ "exports": [
217
+ {
218
+ "kind": "js",
219
+ "name": "*",
220
+ "declaration": {
221
+ "name": "*",
222
+ "package": "./string-array-converter"
223
+ }
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "kind": "javascript-module",
229
+ "path": "src/converters/string-array-converter.ts",
230
+ "declarations": [
231
+ {
232
+ "kind": "variable",
233
+ "name": "stringArrayConverter",
234
+ "type": {
235
+ "text": "ValueConverter"
236
+ },
237
+ "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
238
+ "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
239
+ "privacy": "public"
240
+ }
241
+ ],
242
+ "exports": [
243
+ {
244
+ "kind": "js",
245
+ "name": "stringArrayConverter",
246
+ "declaration": {
247
+ "name": "stringArrayConverter",
248
+ "module": "src/converters/string-array-converter.ts"
249
+ }
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "kind": "javascript-module",
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "*",
261
+ "declaration": {
262
+ "name": "*",
263
+ "package": "./renderOnChange"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
295
+ "exports": [
296
+ {
297
+ "kind": "js",
298
+ "name": "renderOnChange",
299
+ "declaration": {
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
302
+ }
303
+ }
304
+ ]
305
+ },
212
306
  {
213
307
  "kind": "javascript-module",
214
308
  "path": "src/design-system/design-system.ts",
@@ -413,169 +507,344 @@
413
507
  },
414
508
  {
415
509
  "kind": "javascript-module",
416
- "path": "src/directives/index.ts",
417
- "declarations": [],
418
- "exports": [
419
- {
420
- "kind": "js",
421
- "name": "*",
422
- "declaration": {
423
- "name": "*",
424
- "package": "./sync"
425
- }
426
- },
427
- {
428
- "kind": "js",
429
- "name": "*",
430
- "declaration": {
431
- "name": "*",
432
- "package": "./when-else"
433
- }
434
- }
435
- ]
436
- },
437
- {
438
- "kind": "javascript-module",
439
- "path": "src/encoding/index.ts",
440
- "declarations": [],
441
- "exports": [
442
- {
443
- "kind": "js",
444
- "name": "*",
445
- "declaration": {
446
- "name": "*",
447
- "package": "./base64"
448
- }
449
- }
450
- ]
451
- },
452
- {
453
- "kind": "javascript-module",
454
- "path": "src/env/index.ts",
455
- "declarations": [],
456
- "exports": [
457
- {
458
- "kind": "js",
459
- "name": "*",
460
- "declaration": {
461
- "name": "*",
462
- "package": "./is-dev"
463
- }
464
- },
465
- {
466
- "kind": "js",
467
- "name": "*",
468
- "declaration": {
469
- "name": "*",
470
- "package": "./variables"
471
- }
472
- }
473
- ]
474
- },
475
- {
476
- "kind": "javascript-module",
477
- "path": "src/env/is-dev.ts",
478
- "declarations": [
479
- {
480
- "kind": "function",
481
- "name": "isDev",
482
- "description": "Determines if the current environment is a development environment.",
483
- "privacy": "public"
484
- }
485
- ],
486
- "exports": [
487
- {
488
- "kind": "js",
489
- "name": "isDev",
490
- "declaration": {
491
- "name": "isDev",
492
- "module": "src/env/is-dev.ts"
493
- }
494
- }
495
- ]
496
- },
497
- {
498
- "kind": "javascript-module",
499
- "path": "src/env/variables.ts",
510
+ "path": "src/data/inMemoryDatabase.ts",
500
511
  "declarations": [
501
512
  {
502
- "kind": "variable",
503
- "name": "BUILDER",
504
- "type": {
505
- "text": "string"
506
- }
507
- },
508
- {
509
- "kind": "variable",
510
- "name": "_BUILDER",
511
- "type": {
512
- "text": "string"
513
- },
514
- "default": "'webpack'",
515
- "description": "The builder aka file bundler.",
516
- "privacy": "public"
517
- },
518
- {
519
- "kind": "variable",
520
- "name": "PUBLIC_PATH",
521
- "type": {
522
- "text": "string"
523
- }
524
- },
525
- {
526
- "kind": "variable",
527
- "name": "_PUBLIC_PATH",
528
- "type": {
529
- "text": "string"
530
- },
531
- "default": "'/'",
532
- "description": "The public path.",
533
- "privacy": "public"
534
- },
535
- {
536
- "kind": "variable",
537
- "name": "SOCKET_EXT",
538
- "type": {
539
- "text": "string"
540
- }
541
- },
542
- {
543
- "kind": "variable",
544
- "name": "_SOCKET_EXT",
545
- "type": {
546
- "text": "string"
547
- },
548
- "default": "'gwf'",
549
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
550
- "privacy": "public"
551
- },
552
- {
553
- "kind": "variable",
554
- "name": "FORCE_HTTP",
555
- "type": {
556
- "text": "string"
557
- }
558
- },
559
- {
560
- "kind": "variable",
561
- "name": "_FORCE_HTTP",
562
- "type": {
563
- "text": "string"
564
- },
565
- "description": "The path to a JSON config file for the HTTP mode.",
566
- "privacy": "public"
567
- },
568
- {
569
- "kind": "variable",
570
- "name": "GENESIS_SOCKET_URL",
571
- "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
572
- "description": "Genesis Socket URL",
573
- "privacy": "public"
574
- },
575
- {
576
- "kind": "variable",
577
- "name": "API_HOST",
578
- "type": {
513
+ "kind": "class",
514
+ "description": "An in memory database of specific DatabaseRecord types.",
515
+ "name": "InMemoryDatabase",
516
+ "members": [
517
+ {
518
+ "kind": "field",
519
+ "name": "isWorking",
520
+ "type": {
521
+ "text": "boolean"
522
+ },
523
+ "privacy": "public",
524
+ "default": "false"
525
+ },
526
+ {
527
+ "kind": "field",
528
+ "name": "records",
529
+ "type": {
530
+ "text": "Record<string, T>"
531
+ },
532
+ "privacy": "private",
533
+ "default": "{}"
534
+ },
535
+ {
536
+ "kind": "field",
537
+ "name": "beforeUpdateListeners",
538
+ "privacy": "private"
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "afterUpdateListeners",
543
+ "privacy": "private"
544
+ },
545
+ {
546
+ "kind": "method",
547
+ "name": "create",
548
+ "privacy": "public",
549
+ "return": {
550
+ "type": {
551
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
552
+ }
553
+ },
554
+ "parameters": [
555
+ {
556
+ "name": "newValue",
557
+ "type": {
558
+ "text": "Omit<T, 'id'>"
559
+ }
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "kind": "method",
565
+ "name": "read",
566
+ "privacy": "public",
567
+ "return": {
568
+ "type": {
569
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
570
+ }
571
+ },
572
+ "parameters": [
573
+ {
574
+ "name": "id",
575
+ "type": {
576
+ "text": "string"
577
+ }
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "kind": "method",
583
+ "name": "update",
584
+ "privacy": "public",
585
+ "return": {
586
+ "type": {
587
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
588
+ }
589
+ },
590
+ "parameters": [
591
+ {
592
+ "name": "id",
593
+ "type": {
594
+ "text": "string"
595
+ }
596
+ },
597
+ {
598
+ "name": "newValue",
599
+ "type": {
600
+ "text": "Omit<Partial<T>, 'id'>"
601
+ }
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "kind": "method",
607
+ "name": "delete",
608
+ "privacy": "public",
609
+ "return": {
610
+ "type": {
611
+ "text": "Promise<DatabaseAccessResult.Delete>"
612
+ }
613
+ },
614
+ "parameters": [
615
+ {
616
+ "name": "id",
617
+ "type": {
618
+ "text": "string"
619
+ }
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "kind": "method",
625
+ "name": "visit",
626
+ "privacy": "public",
627
+ "return": {
628
+ "type": {
629
+ "text": "Promise<void>"
630
+ }
631
+ },
632
+ "parameters": [
633
+ {
634
+ "name": "visitor",
635
+ "type": {
636
+ "text": "(record: T) => void"
637
+ }
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "kind": "method",
643
+ "name": "onBeforeUpdate",
644
+ "privacy": "public",
645
+ "return": {
646
+ "type": {
647
+ "text": "() => void"
648
+ }
649
+ },
650
+ "parameters": [
651
+ {
652
+ "name": "listener",
653
+ "type": {
654
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
655
+ }
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "kind": "method",
661
+ "name": "onAfterUpdate",
662
+ "privacy": "public",
663
+ "return": {
664
+ "type": {
665
+ "text": "() => void"
666
+ }
667
+ },
668
+ "parameters": [
669
+ {
670
+ "name": "listener",
671
+ "type": {
672
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
673
+ }
674
+ }
675
+ ]
676
+ }
677
+ ]
678
+ }
679
+ ],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "InMemoryDatabase",
684
+ "declaration": {
685
+ "name": "InMemoryDatabase",
686
+ "module": "src/data/inMemoryDatabase.ts"
687
+ }
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "kind": "javascript-module",
693
+ "path": "src/data/index.ts",
694
+ "declarations": [],
695
+ "exports": [
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./inMemoryDatabase"
702
+ }
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/encoding/index.ts",
709
+ "declarations": [],
710
+ "exports": [
711
+ {
712
+ "kind": "js",
713
+ "name": "*",
714
+ "declaration": {
715
+ "name": "*",
716
+ "package": "./base64"
717
+ }
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "kind": "javascript-module",
723
+ "path": "src/env/index.ts",
724
+ "declarations": [],
725
+ "exports": [
726
+ {
727
+ "kind": "js",
728
+ "name": "*",
729
+ "declaration": {
730
+ "name": "*",
731
+ "package": "./is-dev"
732
+ }
733
+ },
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./variables"
740
+ }
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "kind": "javascript-module",
746
+ "path": "src/env/is-dev.ts",
747
+ "declarations": [
748
+ {
749
+ "kind": "function",
750
+ "name": "isDev",
751
+ "description": "Determines if the current environment is a development environment.",
752
+ "privacy": "public"
753
+ }
754
+ ],
755
+ "exports": [
756
+ {
757
+ "kind": "js",
758
+ "name": "isDev",
759
+ "declaration": {
760
+ "name": "isDev",
761
+ "module": "src/env/is-dev.ts"
762
+ }
763
+ }
764
+ ]
765
+ },
766
+ {
767
+ "kind": "javascript-module",
768
+ "path": "src/env/variables.ts",
769
+ "declarations": [
770
+ {
771
+ "kind": "variable",
772
+ "name": "BUILDER",
773
+ "type": {
774
+ "text": "string"
775
+ }
776
+ },
777
+ {
778
+ "kind": "variable",
779
+ "name": "_BUILDER",
780
+ "type": {
781
+ "text": "string"
782
+ },
783
+ "default": "'webpack'",
784
+ "description": "The builder aka file bundler.",
785
+ "privacy": "public"
786
+ },
787
+ {
788
+ "kind": "variable",
789
+ "name": "PUBLIC_PATH",
790
+ "type": {
791
+ "text": "string"
792
+ }
793
+ },
794
+ {
795
+ "kind": "variable",
796
+ "name": "_PUBLIC_PATH",
797
+ "type": {
798
+ "text": "string"
799
+ },
800
+ "default": "'/'",
801
+ "description": "The public path.",
802
+ "privacy": "public"
803
+ },
804
+ {
805
+ "kind": "variable",
806
+ "name": "SOCKET_EXT",
807
+ "type": {
808
+ "text": "string"
809
+ }
810
+ },
811
+ {
812
+ "kind": "variable",
813
+ "name": "_SOCKET_EXT",
814
+ "type": {
815
+ "text": "string"
816
+ },
817
+ "default": "'gwf'",
818
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
819
+ "privacy": "public"
820
+ },
821
+ {
822
+ "kind": "variable",
823
+ "name": "FORCE_HTTP",
824
+ "type": {
825
+ "text": "string"
826
+ }
827
+ },
828
+ {
829
+ "kind": "variable",
830
+ "name": "_FORCE_HTTP",
831
+ "type": {
832
+ "text": "string"
833
+ },
834
+ "description": "The path to a JSON config file for the HTTP mode.",
835
+ "privacy": "public"
836
+ },
837
+ {
838
+ "kind": "variable",
839
+ "name": "GENESIS_SOCKET_URL",
840
+ "default": "`${location.protocol.replace('http', 'ws')}//${location.host}${_PUBLIC_PATH}/${_SOCKET_EXT}/`",
841
+ "description": "Genesis Socket URL",
842
+ "privacy": "public"
843
+ },
844
+ {
845
+ "kind": "variable",
846
+ "name": "API_HOST",
847
+ "type": {
579
848
  "text": "string"
580
849
  }
581
850
  },
@@ -764,408 +1033,169 @@
764
1033
  },
765
1034
  {
766
1035
  "kind": "js",
767
- "name": "PUBLIC_PATH",
768
- "declaration": {
769
- "name": "_PUBLIC_PATH",
770
- "module": "src/env/variables.ts"
771
- }
772
- },
773
- {
774
- "kind": "js",
775
- "name": "SOCKET_EXT",
776
- "declaration": {
777
- "name": "_SOCKET_EXT",
778
- "module": "src/env/variables.ts"
779
- }
780
- },
781
- {
782
- "kind": "js",
783
- "name": "FORCE_HTTP",
784
- "declaration": {
785
- "name": "_FORCE_HTTP",
786
- "module": "src/env/variables.ts"
787
- }
788
- },
789
- {
790
- "kind": "js",
791
- "name": "GENESIS_SOCKET_URL",
792
- "declaration": {
793
- "name": "GENESIS_SOCKET_URL",
794
- "module": "src/env/variables.ts"
795
- }
796
- },
797
- {
798
- "kind": "js",
799
- "name": "API_HOST",
800
- "declaration": {
801
- "name": "_API_HOST",
802
- "module": "src/env/variables.ts"
803
- }
804
- },
805
- {
806
- "kind": "js",
807
- "name": "HTTP_CONFIG",
808
- "declaration": {
809
- "name": "_HTTP_CONFIG",
810
- "module": "src/env/variables.ts"
811
- }
812
- },
813
- {
814
- "kind": "js",
815
- "name": "DEFAULT_ORGANISATION",
816
- "declaration": {
817
- "name": "_DEFAULT_ORGANISATION",
818
- "module": "src/env/variables.ts"
819
- }
820
- },
821
- {
822
- "kind": "js",
823
- "name": "DEFAULT_PASSWORD",
824
- "declaration": {
825
- "name": "_DEFAULT_PASSWORD",
826
- "module": "src/env/variables.ts"
827
- }
828
- },
829
- {
830
- "kind": "js",
831
- "name": "DEFAULT_USER",
832
- "declaration": {
833
- "name": "_DEFAULT_USER",
834
- "module": "src/env/variables.ts"
835
- }
836
- },
837
- {
838
- "kind": "js",
839
- "name": "LOGIN_URL",
840
- "declaration": {
841
- "name": "LOGIN_URL",
842
- "module": "src/env/variables.ts"
843
- }
844
- },
845
- {
846
- "kind": "js",
847
- "name": "LOGIN_REFRESH_URL",
1036
+ "name": "PUBLIC_PATH",
848
1037
  "declaration": {
849
- "name": "LOGIN_REFRESH_URL",
1038
+ "name": "_PUBLIC_PATH",
850
1039
  "module": "src/env/variables.ts"
851
1040
  }
852
1041
  },
853
1042
  {
854
1043
  "kind": "js",
855
- "name": "LOGIN_DETAILS_URL",
1044
+ "name": "SOCKET_EXT",
856
1045
  "declaration": {
857
- "name": "LOGIN_DETAILS_URL",
1046
+ "name": "_SOCKET_EXT",
858
1047
  "module": "src/env/variables.ts"
859
1048
  }
860
1049
  },
861
1050
  {
862
1051
  "kind": "js",
863
- "name": "LOGOUT_URL",
1052
+ "name": "FORCE_HTTP",
864
1053
  "declaration": {
865
- "name": "LOGOUT_URL",
1054
+ "name": "_FORCE_HTTP",
866
1055
  "module": "src/env/variables.ts"
867
1056
  }
868
1057
  },
869
1058
  {
870
1059
  "kind": "js",
871
- "name": "CHANGE_PASSWORD_URL",
1060
+ "name": "GENESIS_SOCKET_URL",
872
1061
  "declaration": {
873
- "name": "CHANGE_PASSWORD_URL",
1062
+ "name": "GENESIS_SOCKET_URL",
874
1063
  "module": "src/env/variables.ts"
875
1064
  }
876
1065
  },
877
1066
  {
878
1067
  "kind": "js",
879
- "name": "FORGOT_PASSWORD_URL",
1068
+ "name": "API_HOST",
880
1069
  "declaration": {
881
- "name": "FORGOT_PASSWORD_URL",
1070
+ "name": "_API_HOST",
882
1071
  "module": "src/env/variables.ts"
883
1072
  }
884
1073
  },
885
1074
  {
886
1075
  "kind": "js",
887
- "name": "RESET_PASSWORD_URL",
1076
+ "name": "HTTP_CONFIG",
888
1077
  "declaration": {
889
- "name": "RESET_PASSWORD_URL",
1078
+ "name": "_HTTP_CONFIG",
890
1079
  "module": "src/env/variables.ts"
891
1080
  }
892
1081
  },
893
1082
  {
894
1083
  "kind": "js",
895
- "name": "SSO_LIST_URL",
1084
+ "name": "DEFAULT_ORGANISATION",
896
1085
  "declaration": {
897
- "name": "SSO_LIST_URL",
1086
+ "name": "_DEFAULT_ORGANISATION",
898
1087
  "module": "src/env/variables.ts"
899
1088
  }
900
1089
  },
901
1090
  {
902
1091
  "kind": "js",
903
- "name": "SSO_LOGIN_URL",
1092
+ "name": "DEFAULT_PASSWORD",
904
1093
  "declaration": {
905
- "name": "SSO_LOGIN_URL",
1094
+ "name": "_DEFAULT_PASSWORD",
906
1095
  "module": "src/env/variables.ts"
907
1096
  }
908
1097
  },
909
1098
  {
910
1099
  "kind": "js",
911
- "name": "ENVIRONMENT_LEVEL",
1100
+ "name": "DEFAULT_USER",
912
1101
  "declaration": {
913
- "name": "ENVIRONMENT_LEVEL",
1102
+ "name": "_DEFAULT_USER",
914
1103
  "module": "src/env/variables.ts"
915
1104
  }
916
1105
  },
917
1106
  {
918
1107
  "kind": "js",
919
- "name": "ACCEPT_TERMS_URL",
1108
+ "name": "LOGIN_URL",
920
1109
  "declaration": {
921
- "name": "ACCEPT_TERMS_URL",
1110
+ "name": "LOGIN_URL",
922
1111
  "module": "src/env/variables.ts"
923
1112
  }
924
- }
925
- ]
926
- },
927
- {
928
- "kind": "javascript-module",
929
- "path": "src/converters/index.ts",
930
- "declarations": [],
931
- "exports": [
1113
+ },
932
1114
  {
933
1115
  "kind": "js",
934
- "name": "*",
1116
+ "name": "LOGIN_REFRESH_URL",
935
1117
  "declaration": {
936
- "name": "*",
937
- "package": "./string-array-converter"
1118
+ "name": "LOGIN_REFRESH_URL",
1119
+ "module": "src/env/variables.ts"
938
1120
  }
939
- }
940
- ]
941
- },
942
- {
943
- "kind": "javascript-module",
944
- "path": "src/converters/string-array-converter.ts",
945
- "declarations": [
946
- {
947
- "kind": "variable",
948
- "name": "stringArrayConverter",
949
- "type": {
950
- "text": "ValueConverter"
951
- },
952
- "default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
953
- "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
954
- "privacy": "public"
955
- }
956
- ],
957
- "exports": [
1121
+ },
958
1122
  {
959
1123
  "kind": "js",
960
- "name": "stringArrayConverter",
1124
+ "name": "LOGIN_DETAILS_URL",
961
1125
  "declaration": {
962
- "name": "stringArrayConverter",
963
- "module": "src/converters/string-array-converter.ts"
1126
+ "name": "LOGIN_DETAILS_URL",
1127
+ "module": "src/env/variables.ts"
964
1128
  }
965
- }
966
- ]
967
- },
968
- {
969
- "kind": "javascript-module",
970
- "path": "src/data/inMemoryDatabase.ts",
971
- "declarations": [
972
- {
973
- "kind": "class",
974
- "description": "An in memory database of specific DatabaseRecord types.",
975
- "name": "InMemoryDatabase",
976
- "members": [
977
- {
978
- "kind": "field",
979
- "name": "isWorking",
980
- "type": {
981
- "text": "boolean"
982
- },
983
- "privacy": "public",
984
- "default": "false"
985
- },
986
- {
987
- "kind": "field",
988
- "name": "records",
989
- "type": {
990
- "text": "Record<string, T>"
991
- },
992
- "privacy": "private",
993
- "default": "{}"
994
- },
995
- {
996
- "kind": "field",
997
- "name": "beforeUpdateListeners",
998
- "privacy": "private"
999
- },
1000
- {
1001
- "kind": "field",
1002
- "name": "afterUpdateListeners",
1003
- "privacy": "private"
1004
- },
1005
- {
1006
- "kind": "method",
1007
- "name": "create",
1008
- "privacy": "public",
1009
- "return": {
1010
- "type": {
1011
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1012
- }
1013
- },
1014
- "parameters": [
1015
- {
1016
- "name": "newValue",
1017
- "type": {
1018
- "text": "Omit<T, 'id'>"
1019
- }
1020
- }
1021
- ]
1022
- },
1023
- {
1024
- "kind": "method",
1025
- "name": "read",
1026
- "privacy": "public",
1027
- "return": {
1028
- "type": {
1029
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1030
- }
1031
- },
1032
- "parameters": [
1033
- {
1034
- "name": "id",
1035
- "type": {
1036
- "text": "string"
1037
- }
1038
- }
1039
- ]
1040
- },
1041
- {
1042
- "kind": "method",
1043
- "name": "update",
1044
- "privacy": "public",
1045
- "return": {
1046
- "type": {
1047
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1048
- }
1049
- },
1050
- "parameters": [
1051
- {
1052
- "name": "id",
1053
- "type": {
1054
- "text": "string"
1055
- }
1056
- },
1057
- {
1058
- "name": "newValue",
1059
- "type": {
1060
- "text": "Omit<Partial<T>, 'id'>"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "method",
1067
- "name": "delete",
1068
- "privacy": "public",
1069
- "return": {
1070
- "type": {
1071
- "text": "Promise<DatabaseAccessResult.Delete>"
1072
- }
1073
- },
1074
- "parameters": [
1075
- {
1076
- "name": "id",
1077
- "type": {
1078
- "text": "string"
1079
- }
1080
- }
1081
- ]
1082
- },
1083
- {
1084
- "kind": "method",
1085
- "name": "visit",
1086
- "privacy": "public",
1087
- "return": {
1088
- "type": {
1089
- "text": "Promise<void>"
1090
- }
1091
- },
1092
- "parameters": [
1093
- {
1094
- "name": "visitor",
1095
- "type": {
1096
- "text": "(record: T) => void"
1097
- }
1098
- }
1099
- ]
1100
- },
1101
- {
1102
- "kind": "method",
1103
- "name": "onBeforeUpdate",
1104
- "privacy": "public",
1105
- "return": {
1106
- "type": {
1107
- "text": "() => void"
1108
- }
1109
- },
1110
- "parameters": [
1111
- {
1112
- "name": "listener",
1113
- "type": {
1114
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1115
- }
1116
- }
1117
- ]
1118
- },
1119
- {
1120
- "kind": "method",
1121
- "name": "onAfterUpdate",
1122
- "privacy": "public",
1123
- "return": {
1124
- "type": {
1125
- "text": "() => void"
1126
- }
1127
- },
1128
- "parameters": [
1129
- {
1130
- "name": "listener",
1131
- "type": {
1132
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1133
- }
1134
- }
1135
- ]
1136
- }
1137
- ]
1138
- }
1139
- ],
1140
- "exports": [
1129
+ },
1141
1130
  {
1142
1131
  "kind": "js",
1143
- "name": "InMemoryDatabase",
1132
+ "name": "LOGOUT_URL",
1144
1133
  "declaration": {
1145
- "name": "InMemoryDatabase",
1146
- "module": "src/data/inMemoryDatabase.ts"
1134
+ "name": "LOGOUT_URL",
1135
+ "module": "src/env/variables.ts"
1147
1136
  }
1148
- }
1149
- ]
1150
- },
1151
- {
1152
- "kind": "javascript-module",
1153
- "path": "src/data/index.ts",
1154
- "declarations": [],
1155
- "exports": [
1137
+ },
1156
1138
  {
1157
1139
  "kind": "js",
1158
- "name": "*",
1140
+ "name": "CHANGE_PASSWORD_URL",
1159
1141
  "declaration": {
1160
- "name": "*",
1161
- "package": "./inMemoryDatabase"
1142
+ "name": "CHANGE_PASSWORD_URL",
1143
+ "module": "src/env/variables.ts"
1144
+ }
1145
+ },
1146
+ {
1147
+ "kind": "js",
1148
+ "name": "FORGOT_PASSWORD_URL",
1149
+ "declaration": {
1150
+ "name": "FORGOT_PASSWORD_URL",
1151
+ "module": "src/env/variables.ts"
1152
+ }
1153
+ },
1154
+ {
1155
+ "kind": "js",
1156
+ "name": "RESET_PASSWORD_URL",
1157
+ "declaration": {
1158
+ "name": "RESET_PASSWORD_URL",
1159
+ "module": "src/env/variables.ts"
1160
+ }
1161
+ },
1162
+ {
1163
+ "kind": "js",
1164
+ "name": "SSO_LIST_URL",
1165
+ "declaration": {
1166
+ "name": "SSO_LIST_URL",
1167
+ "module": "src/env/variables.ts"
1168
+ }
1169
+ },
1170
+ {
1171
+ "kind": "js",
1172
+ "name": "SSO_LOGIN_URL",
1173
+ "declaration": {
1174
+ "name": "SSO_LOGIN_URL",
1175
+ "module": "src/env/variables.ts"
1176
+ }
1177
+ },
1178
+ {
1179
+ "kind": "js",
1180
+ "name": "ENVIRONMENT_LEVEL",
1181
+ "declaration": {
1182
+ "name": "ENVIRONMENT_LEVEL",
1183
+ "module": "src/env/variables.ts"
1184
+ }
1185
+ },
1186
+ {
1187
+ "kind": "js",
1188
+ "name": "ACCEPT_TERMS_URL",
1189
+ "declaration": {
1190
+ "name": "ACCEPT_TERMS_URL",
1191
+ "module": "src/env/variables.ts"
1162
1192
  }
1163
1193
  }
1164
1194
  ]
1165
1195
  },
1166
1196
  {
1167
1197
  "kind": "javascript-module",
1168
- "path": "src/decorators/index.ts",
1198
+ "path": "src/directives/index.ts",
1169
1199
  "declarations": [],
1170
1200
  "exports": [
1171
1201
  {
@@ -1173,45 +1203,15 @@
1173
1203
  "name": "*",
1174
1204
  "declaration": {
1175
1205
  "name": "*",
1176
- "package": "./renderOnChange"
1206
+ "package": "./sync"
1177
1207
  }
1178
- }
1179
- ]
1180
- },
1181
- {
1182
- "kind": "javascript-module",
1183
- "path": "src/decorators/renderOnChange.ts",
1184
- "declarations": [
1185
- {
1186
- "kind": "function",
1187
- "name": "renderOnChange",
1188
- "parameters": [
1189
- {
1190
- "name": "target",
1191
- "type": {
1192
- "text": "FASTElement & { render(): void }"
1193
- },
1194
- "description": "The target to define the property change handler on."
1195
- },
1196
- {
1197
- "name": "name",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "description": "The property name."
1202
- }
1203
- ],
1204
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1205
- "privacy": "public"
1206
- }
1207
- ],
1208
- "exports": [
1208
+ },
1209
1209
  {
1210
1210
  "kind": "js",
1211
- "name": "renderOnChange",
1211
+ "name": "*",
1212
1212
  "declaration": {
1213
- "name": "renderOnChange",
1214
- "module": "src/decorators/renderOnChange.ts"
1213
+ "name": "*",
1214
+ "package": "./when-else"
1215
1215
  }
1216
1216
  }
1217
1217
  ]
@@ -4738,7 +4738,165 @@
4738
4738
  },
4739
4739
  {
4740
4740
  "kind": "function",
4741
- "name": "openPopup",
4741
+ "name": "openPopup",
4742
+ "return": {
4743
+ "type": {
4744
+ "text": ""
4745
+ }
4746
+ },
4747
+ "parameters": [
4748
+ {
4749
+ "name": "urlNavigate",
4750
+ "type": {
4751
+ "text": "string"
4752
+ },
4753
+ "description": "The URL to navigate to."
4754
+ },
4755
+ {
4756
+ "name": "target",
4757
+ "type": {
4758
+ "text": "string"
4759
+ },
4760
+ "description": "The name of the new window."
4761
+ },
4762
+ {
4763
+ "name": "popUpWidth",
4764
+ "default": "POPUP_DEFAULT_WIDTH",
4765
+ "type": {
4766
+ "text": "number"
4767
+ },
4768
+ "description": "The width of the new window (optional)."
4769
+ },
4770
+ {
4771
+ "name": "popUpHeight",
4772
+ "default": "POPUP_DEFAULT_HEIGHT",
4773
+ "type": {
4774
+ "text": "number"
4775
+ },
4776
+ "description": "The height of the new window (optional)."
4777
+ }
4778
+ ],
4779
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
4780
+ "privacy": "public"
4781
+ }
4782
+ ],
4783
+ "exports": [
4784
+ {
4785
+ "kind": "js",
4786
+ "name": "inIFrame",
4787
+ "declaration": {
4788
+ "name": "inIFrame",
4789
+ "module": "src/window/window.ts"
4790
+ }
4791
+ },
4792
+ {
4793
+ "kind": "js",
4794
+ "name": "inSymphonyDesktop",
4795
+ "declaration": {
4796
+ "name": "inSymphonyDesktop",
4797
+ "module": "src/window/window.ts"
4798
+ }
4799
+ },
4800
+ {
4801
+ "kind": "js",
4802
+ "name": "POPUP_DEFAULT_WIDTH",
4803
+ "declaration": {
4804
+ "name": "POPUP_DEFAULT_WIDTH",
4805
+ "module": "src/window/window.ts"
4806
+ }
4807
+ },
4808
+ {
4809
+ "kind": "js",
4810
+ "name": "POPUP_DEFAULT_HEIGHT",
4811
+ "declaration": {
4812
+ "name": "POPUP_DEFAULT_HEIGHT",
4813
+ "module": "src/window/window.ts"
4814
+ }
4815
+ },
4816
+ {
4817
+ "kind": "js",
4818
+ "name": "openPopup",
4819
+ "declaration": {
4820
+ "name": "openPopup",
4821
+ "module": "src/window/window.ts"
4822
+ }
4823
+ }
4824
+ ]
4825
+ },
4826
+ {
4827
+ "kind": "javascript-module",
4828
+ "path": "src/encoding/base64/decode.ts",
4829
+ "declarations": [
4830
+ {
4831
+ "kind": "function",
4832
+ "name": "decodeFromBase64",
4833
+ "return": {
4834
+ "type": {
4835
+ "text": ""
4836
+ }
4837
+ },
4838
+ "parameters": [
4839
+ {
4840
+ "name": "base64Value",
4841
+ "type": {
4842
+ "text": "string"
4843
+ }
4844
+ },
4845
+ {
4846
+ "description": "The value to decode from base64.",
4847
+ "name": "value"
4848
+ }
4849
+ ],
4850
+ "description": "Decodes a value from base64.",
4851
+ "privacy": "public"
4852
+ },
4853
+ {
4854
+ "kind": "function",
4855
+ "name": "decodeFromBase64WithPrefix",
4856
+ "return": {
4857
+ "type": {
4858
+ "text": ""
4859
+ }
4860
+ },
4861
+ "parameters": [
4862
+ {
4863
+ "name": "value",
4864
+ "type": {
4865
+ "text": "string"
4866
+ },
4867
+ "description": "The value to decode from base64."
4868
+ }
4869
+ ],
4870
+ "description": "Decodes a value from base64 with a prefix.",
4871
+ "privacy": "public"
4872
+ }
4873
+ ],
4874
+ "exports": [
4875
+ {
4876
+ "kind": "js",
4877
+ "name": "decodeFromBase64",
4878
+ "declaration": {
4879
+ "name": "decodeFromBase64",
4880
+ "module": "src/encoding/base64/decode.ts"
4881
+ }
4882
+ },
4883
+ {
4884
+ "kind": "js",
4885
+ "name": "decodeFromBase64WithPrefix",
4886
+ "declaration": {
4887
+ "name": "decodeFromBase64WithPrefix",
4888
+ "module": "src/encoding/base64/decode.ts"
4889
+ }
4890
+ }
4891
+ ]
4892
+ },
4893
+ {
4894
+ "kind": "javascript-module",
4895
+ "path": "src/encoding/base64/encode.ts",
4896
+ "declarations": [
4897
+ {
4898
+ "kind": "function",
4899
+ "name": "encodeToBase64",
4742
4900
  "return": {
4743
4901
  "type": {
4744
4902
  "text": ""
@@ -4746,79 +4904,75 @@
4746
4904
  },
4747
4905
  "parameters": [
4748
4906
  {
4749
- "name": "urlNavigate",
4750
- "type": {
4751
- "text": "string"
4752
- },
4753
- "description": "The URL to navigate to."
4754
- },
4755
- {
4756
- "name": "target",
4757
- "type": {
4758
- "text": "string"
4759
- },
4760
- "description": "The name of the new window."
4761
- },
4762
- {
4763
- "name": "popUpWidth",
4764
- "default": "POPUP_DEFAULT_WIDTH",
4907
+ "name": "value",
4765
4908
  "type": {
4766
- "text": "number"
4909
+ "text": "string | ArrayBuffer"
4767
4910
  },
4768
- "description": "The width of the new window (optional)."
4769
- },
4911
+ "description": "The value to encode to base64."
4912
+ }
4913
+ ],
4914
+ "description": "Encodes the given value to base64.",
4915
+ "privacy": "public"
4916
+ },
4917
+ {
4918
+ "kind": "function",
4919
+ "name": "encodeToBase64WithPrefix",
4920
+ "return": {
4921
+ "type": {
4922
+ "text": ""
4923
+ }
4924
+ },
4925
+ "parameters": [
4770
4926
  {
4771
- "name": "popUpHeight",
4772
- "default": "POPUP_DEFAULT_HEIGHT",
4927
+ "name": "value",
4773
4928
  "type": {
4774
- "text": "number"
4929
+ "text": "string | ArrayBuffer"
4775
4930
  },
4776
- "description": "The height of the new window (optional)."
4931
+ "description": "The value to encode to base64."
4777
4932
  }
4778
4933
  ],
4779
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
4934
+ "description": "Encodes the given value with a prefix to base64.",
4780
4935
  "privacy": "public"
4781
4936
  }
4782
4937
  ],
4783
4938
  "exports": [
4784
4939
  {
4785
4940
  "kind": "js",
4786
- "name": "inIFrame",
4787
- "declaration": {
4788
- "name": "inIFrame",
4789
- "module": "src/window/window.ts"
4790
- }
4791
- },
4792
- {
4793
- "kind": "js",
4794
- "name": "inSymphonyDesktop",
4941
+ "name": "encodeToBase64",
4795
4942
  "declaration": {
4796
- "name": "inSymphonyDesktop",
4797
- "module": "src/window/window.ts"
4943
+ "name": "encodeToBase64",
4944
+ "module": "src/encoding/base64/encode.ts"
4798
4945
  }
4799
4946
  },
4800
4947
  {
4801
4948
  "kind": "js",
4802
- "name": "POPUP_DEFAULT_WIDTH",
4949
+ "name": "encodeToBase64WithPrefix",
4803
4950
  "declaration": {
4804
- "name": "POPUP_DEFAULT_WIDTH",
4805
- "module": "src/window/window.ts"
4951
+ "name": "encodeToBase64WithPrefix",
4952
+ "module": "src/encoding/base64/encode.ts"
4806
4953
  }
4807
- },
4954
+ }
4955
+ ]
4956
+ },
4957
+ {
4958
+ "kind": "javascript-module",
4959
+ "path": "src/encoding/base64/index.ts",
4960
+ "declarations": [],
4961
+ "exports": [
4808
4962
  {
4809
4963
  "kind": "js",
4810
- "name": "POPUP_DEFAULT_HEIGHT",
4964
+ "name": "*",
4811
4965
  "declaration": {
4812
- "name": "POPUP_DEFAULT_HEIGHT",
4813
- "module": "src/window/window.ts"
4966
+ "name": "*",
4967
+ "package": "./decode"
4814
4968
  }
4815
4969
  },
4816
4970
  {
4817
4971
  "kind": "js",
4818
- "name": "openPopup",
4972
+ "name": "*",
4819
4973
  "declaration": {
4820
- "name": "openPopup",
4821
- "module": "src/window/window.ts"
4974
+ "name": "*",
4975
+ "package": "./encode"
4822
4976
  }
4823
4977
  }
4824
4978
  ]
@@ -4977,160 +5131,6 @@
4977
5131
  }
4978
5132
  ]
4979
5133
  },
4980
- {
4981
- "kind": "javascript-module",
4982
- "path": "src/encoding/base64/decode.ts",
4983
- "declarations": [
4984
- {
4985
- "kind": "function",
4986
- "name": "decodeFromBase64",
4987
- "return": {
4988
- "type": {
4989
- "text": ""
4990
- }
4991
- },
4992
- "parameters": [
4993
- {
4994
- "name": "base64Value",
4995
- "type": {
4996
- "text": "string"
4997
- }
4998
- },
4999
- {
5000
- "description": "The value to decode from base64.",
5001
- "name": "value"
5002
- }
5003
- ],
5004
- "description": "Decodes a value from base64.",
5005
- "privacy": "public"
5006
- },
5007
- {
5008
- "kind": "function",
5009
- "name": "decodeFromBase64WithPrefix",
5010
- "return": {
5011
- "type": {
5012
- "text": ""
5013
- }
5014
- },
5015
- "parameters": [
5016
- {
5017
- "name": "value",
5018
- "type": {
5019
- "text": "string"
5020
- },
5021
- "description": "The value to decode from base64."
5022
- }
5023
- ],
5024
- "description": "Decodes a value from base64 with a prefix.",
5025
- "privacy": "public"
5026
- }
5027
- ],
5028
- "exports": [
5029
- {
5030
- "kind": "js",
5031
- "name": "decodeFromBase64",
5032
- "declaration": {
5033
- "name": "decodeFromBase64",
5034
- "module": "src/encoding/base64/decode.ts"
5035
- }
5036
- },
5037
- {
5038
- "kind": "js",
5039
- "name": "decodeFromBase64WithPrefix",
5040
- "declaration": {
5041
- "name": "decodeFromBase64WithPrefix",
5042
- "module": "src/encoding/base64/decode.ts"
5043
- }
5044
- }
5045
- ]
5046
- },
5047
- {
5048
- "kind": "javascript-module",
5049
- "path": "src/encoding/base64/encode.ts",
5050
- "declarations": [
5051
- {
5052
- "kind": "function",
5053
- "name": "encodeToBase64",
5054
- "return": {
5055
- "type": {
5056
- "text": ""
5057
- }
5058
- },
5059
- "parameters": [
5060
- {
5061
- "name": "value",
5062
- "type": {
5063
- "text": "string | ArrayBuffer"
5064
- },
5065
- "description": "The value to encode to base64."
5066
- }
5067
- ],
5068
- "description": "Encodes the given value to base64.",
5069
- "privacy": "public"
5070
- },
5071
- {
5072
- "kind": "function",
5073
- "name": "encodeToBase64WithPrefix",
5074
- "return": {
5075
- "type": {
5076
- "text": ""
5077
- }
5078
- },
5079
- "parameters": [
5080
- {
5081
- "name": "value",
5082
- "type": {
5083
- "text": "string | ArrayBuffer"
5084
- },
5085
- "description": "The value to encode to base64."
5086
- }
5087
- ],
5088
- "description": "Encodes the given value with a prefix to base64.",
5089
- "privacy": "public"
5090
- }
5091
- ],
5092
- "exports": [
5093
- {
5094
- "kind": "js",
5095
- "name": "encodeToBase64",
5096
- "declaration": {
5097
- "name": "encodeToBase64",
5098
- "module": "src/encoding/base64/encode.ts"
5099
- }
5100
- },
5101
- {
5102
- "kind": "js",
5103
- "name": "encodeToBase64WithPrefix",
5104
- "declaration": {
5105
- "name": "encodeToBase64WithPrefix",
5106
- "module": "src/encoding/base64/encode.ts"
5107
- }
5108
- }
5109
- ]
5110
- },
5111
- {
5112
- "kind": "javascript-module",
5113
- "path": "src/encoding/base64/index.ts",
5114
- "declarations": [],
5115
- "exports": [
5116
- {
5117
- "kind": "js",
5118
- "name": "*",
5119
- "declaration": {
5120
- "name": "*",
5121
- "package": "./decode"
5122
- }
5123
- },
5124
- {
5125
- "kind": "js",
5126
- "name": "*",
5127
- "declaration": {
5128
- "name": "*",
5129
- "package": "./encode"
5130
- }
5131
- }
5132
- ]
5133
- },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "path": "src/mappers/dto/index.ts",