@genesislcap/foundation-utils 15.6.0 → 15.6.2-GENC-1475.6

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": "FORCE_HTTP_REQREP",
571
- "type": {
572
- "text": "string"
573
- }
574
- },
575
- {
576
- "kind": "variable",
577
- "name": "_FORCE_HTTP_REQREP",
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": "FORCE_HTTP_REQREP",
840
+ "type": {
841
+ "text": "string"
842
+ }
843
+ },
844
+ {
845
+ "kind": "variable",
846
+ "name": "_FORCE_HTTP_REQREP",
847
+ "type": {
579
848
  "text": "string"
580
849
  },
581
850
  "description": "When `'true'`, request/reply and event traffic (`request`, `commitEvent`, metadata, schema and\nresources lookups) is sent over HTTP even while the primary connection is a WebSocket.\nStreaming (`stream`/`snapshot`) stays on the socket.",
@@ -788,408 +1057,169 @@
788
1057
  },
789
1058
  {
790
1059
  "kind": "js",
791
- "name": "SOCKET_EXT",
792
- "declaration": {
793
- "name": "_SOCKET_EXT",
794
- "module": "src/env/variables.ts"
795
- }
796
- },
797
- {
798
- "kind": "js",
799
- "name": "FORCE_HTTP",
800
- "declaration": {
801
- "name": "_FORCE_HTTP",
802
- "module": "src/env/variables.ts"
803
- }
804
- },
805
- {
806
- "kind": "js",
807
- "name": "FORCE_HTTP_REQREP",
808
- "declaration": {
809
- "name": "_FORCE_HTTP_REQREP",
810
- "module": "src/env/variables.ts"
811
- }
812
- },
813
- {
814
- "kind": "js",
815
- "name": "GENESIS_SOCKET_URL",
816
- "declaration": {
817
- "name": "GENESIS_SOCKET_URL",
818
- "module": "src/env/variables.ts"
819
- }
820
- },
821
- {
822
- "kind": "js",
823
- "name": "API_HOST",
824
- "declaration": {
825
- "name": "_API_HOST",
826
- "module": "src/env/variables.ts"
827
- }
828
- },
829
- {
830
- "kind": "js",
831
- "name": "HTTP_CONFIG",
832
- "declaration": {
833
- "name": "_HTTP_CONFIG",
834
- "module": "src/env/variables.ts"
835
- }
836
- },
837
- {
838
- "kind": "js",
839
- "name": "DEFAULT_ORGANISATION",
840
- "declaration": {
841
- "name": "_DEFAULT_ORGANISATION",
842
- "module": "src/env/variables.ts"
843
- }
844
- },
845
- {
846
- "kind": "js",
847
- "name": "DEFAULT_PASSWORD",
848
- "declaration": {
849
- "name": "_DEFAULT_PASSWORD",
850
- "module": "src/env/variables.ts"
851
- }
852
- },
853
- {
854
- "kind": "js",
855
- "name": "DEFAULT_USER",
856
- "declaration": {
857
- "name": "_DEFAULT_USER",
858
- "module": "src/env/variables.ts"
859
- }
860
- },
861
- {
862
- "kind": "js",
863
- "name": "LOGIN_URL",
864
- "declaration": {
865
- "name": "LOGIN_URL",
866
- "module": "src/env/variables.ts"
867
- }
868
- },
869
- {
870
- "kind": "js",
871
- "name": "LOGIN_REFRESH_URL",
1060
+ "name": "SOCKET_EXT",
872
1061
  "declaration": {
873
- "name": "LOGIN_REFRESH_URL",
1062
+ "name": "_SOCKET_EXT",
874
1063
  "module": "src/env/variables.ts"
875
1064
  }
876
1065
  },
877
1066
  {
878
1067
  "kind": "js",
879
- "name": "LOGIN_DETAILS_URL",
1068
+ "name": "FORCE_HTTP",
880
1069
  "declaration": {
881
- "name": "LOGIN_DETAILS_URL",
1070
+ "name": "_FORCE_HTTP",
882
1071
  "module": "src/env/variables.ts"
883
1072
  }
884
1073
  },
885
1074
  {
886
1075
  "kind": "js",
887
- "name": "LOGOUT_URL",
1076
+ "name": "FORCE_HTTP_REQREP",
888
1077
  "declaration": {
889
- "name": "LOGOUT_URL",
1078
+ "name": "_FORCE_HTTP_REQREP",
890
1079
  "module": "src/env/variables.ts"
891
1080
  }
892
1081
  },
893
1082
  {
894
1083
  "kind": "js",
895
- "name": "CHANGE_PASSWORD_URL",
1084
+ "name": "GENESIS_SOCKET_URL",
896
1085
  "declaration": {
897
- "name": "CHANGE_PASSWORD_URL",
1086
+ "name": "GENESIS_SOCKET_URL",
898
1087
  "module": "src/env/variables.ts"
899
1088
  }
900
1089
  },
901
1090
  {
902
1091
  "kind": "js",
903
- "name": "FORGOT_PASSWORD_URL",
1092
+ "name": "API_HOST",
904
1093
  "declaration": {
905
- "name": "FORGOT_PASSWORD_URL",
1094
+ "name": "_API_HOST",
906
1095
  "module": "src/env/variables.ts"
907
1096
  }
908
1097
  },
909
1098
  {
910
1099
  "kind": "js",
911
- "name": "RESET_PASSWORD_URL",
1100
+ "name": "HTTP_CONFIG",
912
1101
  "declaration": {
913
- "name": "RESET_PASSWORD_URL",
1102
+ "name": "_HTTP_CONFIG",
914
1103
  "module": "src/env/variables.ts"
915
1104
  }
916
1105
  },
917
1106
  {
918
1107
  "kind": "js",
919
- "name": "SSO_LIST_URL",
1108
+ "name": "DEFAULT_ORGANISATION",
920
1109
  "declaration": {
921
- "name": "SSO_LIST_URL",
1110
+ "name": "_DEFAULT_ORGANISATION",
922
1111
  "module": "src/env/variables.ts"
923
1112
  }
924
1113
  },
925
1114
  {
926
1115
  "kind": "js",
927
- "name": "SSO_LOGIN_URL",
1116
+ "name": "DEFAULT_PASSWORD",
928
1117
  "declaration": {
929
- "name": "SSO_LOGIN_URL",
1118
+ "name": "_DEFAULT_PASSWORD",
930
1119
  "module": "src/env/variables.ts"
931
1120
  }
932
1121
  },
933
1122
  {
934
1123
  "kind": "js",
935
- "name": "ENVIRONMENT_LEVEL",
1124
+ "name": "DEFAULT_USER",
936
1125
  "declaration": {
937
- "name": "ENVIRONMENT_LEVEL",
1126
+ "name": "_DEFAULT_USER",
938
1127
  "module": "src/env/variables.ts"
939
1128
  }
940
1129
  },
941
1130
  {
942
1131
  "kind": "js",
943
- "name": "ACCEPT_TERMS_URL",
1132
+ "name": "LOGIN_URL",
944
1133
  "declaration": {
945
- "name": "ACCEPT_TERMS_URL",
1134
+ "name": "LOGIN_URL",
946
1135
  "module": "src/env/variables.ts"
947
1136
  }
948
- }
949
- ]
950
- },
951
- {
952
- "kind": "javascript-module",
953
- "path": "src/converters/index.ts",
954
- "declarations": [],
955
- "exports": [
1137
+ },
956
1138
  {
957
1139
  "kind": "js",
958
- "name": "*",
1140
+ "name": "LOGIN_REFRESH_URL",
959
1141
  "declaration": {
960
- "name": "*",
961
- "package": "./string-array-converter"
1142
+ "name": "LOGIN_REFRESH_URL",
1143
+ "module": "src/env/variables.ts"
962
1144
  }
963
- }
964
- ]
965
- },
966
- {
967
- "kind": "javascript-module",
968
- "path": "src/converters/string-array-converter.ts",
969
- "declarations": [
970
- {
971
- "kind": "variable",
972
- "name": "stringArrayConverter",
973
- "type": {
974
- "text": "ValueConverter"
975
- },
976
- "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}",
977
- "description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
978
- "privacy": "public"
979
- }
980
- ],
981
- "exports": [
1145
+ },
982
1146
  {
983
1147
  "kind": "js",
984
- "name": "stringArrayConverter",
1148
+ "name": "LOGIN_DETAILS_URL",
985
1149
  "declaration": {
986
- "name": "stringArrayConverter",
987
- "module": "src/converters/string-array-converter.ts"
1150
+ "name": "LOGIN_DETAILS_URL",
1151
+ "module": "src/env/variables.ts"
988
1152
  }
989
- }
990
- ]
991
- },
992
- {
993
- "kind": "javascript-module",
994
- "path": "src/data/inMemoryDatabase.ts",
995
- "declarations": [
996
- {
997
- "kind": "class",
998
- "description": "An in memory database of specific DatabaseRecord types.",
999
- "name": "InMemoryDatabase",
1000
- "members": [
1001
- {
1002
- "kind": "field",
1003
- "name": "isWorking",
1004
- "type": {
1005
- "text": "boolean"
1006
- },
1007
- "privacy": "public",
1008
- "default": "false"
1009
- },
1010
- {
1011
- "kind": "field",
1012
- "name": "records",
1013
- "type": {
1014
- "text": "Record<string, T>"
1015
- },
1016
- "privacy": "private",
1017
- "default": "{}"
1018
- },
1019
- {
1020
- "kind": "field",
1021
- "name": "beforeUpdateListeners",
1022
- "privacy": "private"
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "afterUpdateListeners",
1027
- "privacy": "private"
1028
- },
1029
- {
1030
- "kind": "method",
1031
- "name": "create",
1032
- "privacy": "public",
1033
- "return": {
1034
- "type": {
1035
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1036
- }
1037
- },
1038
- "parameters": [
1039
- {
1040
- "name": "newValue",
1041
- "type": {
1042
- "text": "Omit<T, 'id'>"
1043
- }
1044
- }
1045
- ]
1046
- },
1047
- {
1048
- "kind": "method",
1049
- "name": "read",
1050
- "privacy": "public",
1051
- "return": {
1052
- "type": {
1053
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1054
- }
1055
- },
1056
- "parameters": [
1057
- {
1058
- "name": "id",
1059
- "type": {
1060
- "text": "string"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "method",
1067
- "name": "update",
1068
- "privacy": "public",
1069
- "return": {
1070
- "type": {
1071
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1072
- }
1073
- },
1074
- "parameters": [
1075
- {
1076
- "name": "id",
1077
- "type": {
1078
- "text": "string"
1079
- }
1080
- },
1081
- {
1082
- "name": "newValue",
1083
- "type": {
1084
- "text": "Omit<Partial<T>, 'id'>"
1085
- }
1086
- }
1087
- ]
1088
- },
1089
- {
1090
- "kind": "method",
1091
- "name": "delete",
1092
- "privacy": "public",
1093
- "return": {
1094
- "type": {
1095
- "text": "Promise<DatabaseAccessResult.Delete>"
1096
- }
1097
- },
1098
- "parameters": [
1099
- {
1100
- "name": "id",
1101
- "type": {
1102
- "text": "string"
1103
- }
1104
- }
1105
- ]
1106
- },
1107
- {
1108
- "kind": "method",
1109
- "name": "visit",
1110
- "privacy": "public",
1111
- "return": {
1112
- "type": {
1113
- "text": "Promise<void>"
1114
- }
1115
- },
1116
- "parameters": [
1117
- {
1118
- "name": "visitor",
1119
- "type": {
1120
- "text": "(record: T) => void"
1121
- }
1122
- }
1123
- ]
1124
- },
1125
- {
1126
- "kind": "method",
1127
- "name": "onBeforeUpdate",
1128
- "privacy": "public",
1129
- "return": {
1130
- "type": {
1131
- "text": "() => void"
1132
- }
1133
- },
1134
- "parameters": [
1135
- {
1136
- "name": "listener",
1137
- "type": {
1138
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1139
- }
1140
- }
1141
- ]
1142
- },
1143
- {
1144
- "kind": "method",
1145
- "name": "onAfterUpdate",
1146
- "privacy": "public",
1147
- "return": {
1148
- "type": {
1149
- "text": "() => void"
1150
- }
1151
- },
1152
- "parameters": [
1153
- {
1154
- "name": "listener",
1155
- "type": {
1156
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1157
- }
1158
- }
1159
- ]
1160
- }
1161
- ]
1162
- }
1163
- ],
1164
- "exports": [
1153
+ },
1165
1154
  {
1166
1155
  "kind": "js",
1167
- "name": "InMemoryDatabase",
1156
+ "name": "LOGOUT_URL",
1168
1157
  "declaration": {
1169
- "name": "InMemoryDatabase",
1170
- "module": "src/data/inMemoryDatabase.ts"
1158
+ "name": "LOGOUT_URL",
1159
+ "module": "src/env/variables.ts"
1171
1160
  }
1172
- }
1173
- ]
1174
- },
1175
- {
1176
- "kind": "javascript-module",
1177
- "path": "src/data/index.ts",
1178
- "declarations": [],
1179
- "exports": [
1161
+ },
1180
1162
  {
1181
1163
  "kind": "js",
1182
- "name": "*",
1164
+ "name": "CHANGE_PASSWORD_URL",
1183
1165
  "declaration": {
1184
- "name": "*",
1185
- "package": "./inMemoryDatabase"
1166
+ "name": "CHANGE_PASSWORD_URL",
1167
+ "module": "src/env/variables.ts"
1168
+ }
1169
+ },
1170
+ {
1171
+ "kind": "js",
1172
+ "name": "FORGOT_PASSWORD_URL",
1173
+ "declaration": {
1174
+ "name": "FORGOT_PASSWORD_URL",
1175
+ "module": "src/env/variables.ts"
1176
+ }
1177
+ },
1178
+ {
1179
+ "kind": "js",
1180
+ "name": "RESET_PASSWORD_URL",
1181
+ "declaration": {
1182
+ "name": "RESET_PASSWORD_URL",
1183
+ "module": "src/env/variables.ts"
1184
+ }
1185
+ },
1186
+ {
1187
+ "kind": "js",
1188
+ "name": "SSO_LIST_URL",
1189
+ "declaration": {
1190
+ "name": "SSO_LIST_URL",
1191
+ "module": "src/env/variables.ts"
1192
+ }
1193
+ },
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "SSO_LOGIN_URL",
1197
+ "declaration": {
1198
+ "name": "SSO_LOGIN_URL",
1199
+ "module": "src/env/variables.ts"
1200
+ }
1201
+ },
1202
+ {
1203
+ "kind": "js",
1204
+ "name": "ENVIRONMENT_LEVEL",
1205
+ "declaration": {
1206
+ "name": "ENVIRONMENT_LEVEL",
1207
+ "module": "src/env/variables.ts"
1208
+ }
1209
+ },
1210
+ {
1211
+ "kind": "js",
1212
+ "name": "ACCEPT_TERMS_URL",
1213
+ "declaration": {
1214
+ "name": "ACCEPT_TERMS_URL",
1215
+ "module": "src/env/variables.ts"
1186
1216
  }
1187
1217
  }
1188
1218
  ]
1189
1219
  },
1190
1220
  {
1191
1221
  "kind": "javascript-module",
1192
- "path": "src/decorators/index.ts",
1222
+ "path": "src/directives/index.ts",
1193
1223
  "declarations": [],
1194
1224
  "exports": [
1195
1225
  {
@@ -1197,45 +1227,15 @@
1197
1227
  "name": "*",
1198
1228
  "declaration": {
1199
1229
  "name": "*",
1200
- "package": "./renderOnChange"
1230
+ "package": "./sync"
1201
1231
  }
1202
- }
1203
- ]
1204
- },
1205
- {
1206
- "kind": "javascript-module",
1207
- "path": "src/decorators/renderOnChange.ts",
1208
- "declarations": [
1209
- {
1210
- "kind": "function",
1211
- "name": "renderOnChange",
1212
- "parameters": [
1213
- {
1214
- "name": "target",
1215
- "type": {
1216
- "text": "FASTElement & { render(): void }"
1217
- },
1218
- "description": "The target to define the property change handler on."
1219
- },
1220
- {
1221
- "name": "name",
1222
- "type": {
1223
- "text": "string"
1224
- },
1225
- "description": "The property name."
1226
- }
1227
- ],
1228
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1229
- "privacy": "public"
1230
- }
1231
- ],
1232
- "exports": [
1232
+ },
1233
1233
  {
1234
1234
  "kind": "js",
1235
- "name": "renderOnChange",
1235
+ "name": "*",
1236
1236
  "declaration": {
1237
- "name": "renderOnChange",
1238
- "module": "src/decorators/renderOnChange.ts"
1237
+ "name": "*",
1238
+ "package": "./when-else"
1239
1239
  }
1240
1240
  }
1241
1241
  ]
@@ -4817,7 +4817,165 @@
4817
4817
  },
4818
4818
  {
4819
4819
  "kind": "function",
4820
- "name": "openPopup",
4820
+ "name": "openPopup",
4821
+ "return": {
4822
+ "type": {
4823
+ "text": ""
4824
+ }
4825
+ },
4826
+ "parameters": [
4827
+ {
4828
+ "name": "urlNavigate",
4829
+ "type": {
4830
+ "text": "string"
4831
+ },
4832
+ "description": "The URL to navigate to."
4833
+ },
4834
+ {
4835
+ "name": "target",
4836
+ "type": {
4837
+ "text": "string"
4838
+ },
4839
+ "description": "The name of the new window."
4840
+ },
4841
+ {
4842
+ "name": "popUpWidth",
4843
+ "default": "POPUP_DEFAULT_WIDTH",
4844
+ "type": {
4845
+ "text": "number"
4846
+ },
4847
+ "description": "The width of the new window (optional)."
4848
+ },
4849
+ {
4850
+ "name": "popUpHeight",
4851
+ "default": "POPUP_DEFAULT_HEIGHT",
4852
+ "type": {
4853
+ "text": "number"
4854
+ },
4855
+ "description": "The height of the new window (optional)."
4856
+ }
4857
+ ],
4858
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
4859
+ "privacy": "public"
4860
+ }
4861
+ ],
4862
+ "exports": [
4863
+ {
4864
+ "kind": "js",
4865
+ "name": "inIFrame",
4866
+ "declaration": {
4867
+ "name": "inIFrame",
4868
+ "module": "src/window/window.ts"
4869
+ }
4870
+ },
4871
+ {
4872
+ "kind": "js",
4873
+ "name": "inSymphonyDesktop",
4874
+ "declaration": {
4875
+ "name": "inSymphonyDesktop",
4876
+ "module": "src/window/window.ts"
4877
+ }
4878
+ },
4879
+ {
4880
+ "kind": "js",
4881
+ "name": "POPUP_DEFAULT_WIDTH",
4882
+ "declaration": {
4883
+ "name": "POPUP_DEFAULT_WIDTH",
4884
+ "module": "src/window/window.ts"
4885
+ }
4886
+ },
4887
+ {
4888
+ "kind": "js",
4889
+ "name": "POPUP_DEFAULT_HEIGHT",
4890
+ "declaration": {
4891
+ "name": "POPUP_DEFAULT_HEIGHT",
4892
+ "module": "src/window/window.ts"
4893
+ }
4894
+ },
4895
+ {
4896
+ "kind": "js",
4897
+ "name": "openPopup",
4898
+ "declaration": {
4899
+ "name": "openPopup",
4900
+ "module": "src/window/window.ts"
4901
+ }
4902
+ }
4903
+ ]
4904
+ },
4905
+ {
4906
+ "kind": "javascript-module",
4907
+ "path": "src/encoding/base64/decode.ts",
4908
+ "declarations": [
4909
+ {
4910
+ "kind": "function",
4911
+ "name": "decodeFromBase64",
4912
+ "return": {
4913
+ "type": {
4914
+ "text": ""
4915
+ }
4916
+ },
4917
+ "parameters": [
4918
+ {
4919
+ "name": "base64Value",
4920
+ "type": {
4921
+ "text": "string"
4922
+ }
4923
+ },
4924
+ {
4925
+ "description": "The value to decode from base64.",
4926
+ "name": "value"
4927
+ }
4928
+ ],
4929
+ "description": "Decodes a value from base64.",
4930
+ "privacy": "public"
4931
+ },
4932
+ {
4933
+ "kind": "function",
4934
+ "name": "decodeFromBase64WithPrefix",
4935
+ "return": {
4936
+ "type": {
4937
+ "text": ""
4938
+ }
4939
+ },
4940
+ "parameters": [
4941
+ {
4942
+ "name": "value",
4943
+ "type": {
4944
+ "text": "string"
4945
+ },
4946
+ "description": "The value to decode from base64."
4947
+ }
4948
+ ],
4949
+ "description": "Decodes a value from base64 with a prefix.",
4950
+ "privacy": "public"
4951
+ }
4952
+ ],
4953
+ "exports": [
4954
+ {
4955
+ "kind": "js",
4956
+ "name": "decodeFromBase64",
4957
+ "declaration": {
4958
+ "name": "decodeFromBase64",
4959
+ "module": "src/encoding/base64/decode.ts"
4960
+ }
4961
+ },
4962
+ {
4963
+ "kind": "js",
4964
+ "name": "decodeFromBase64WithPrefix",
4965
+ "declaration": {
4966
+ "name": "decodeFromBase64WithPrefix",
4967
+ "module": "src/encoding/base64/decode.ts"
4968
+ }
4969
+ }
4970
+ ]
4971
+ },
4972
+ {
4973
+ "kind": "javascript-module",
4974
+ "path": "src/encoding/base64/encode.ts",
4975
+ "declarations": [
4976
+ {
4977
+ "kind": "function",
4978
+ "name": "encodeToBase64",
4821
4979
  "return": {
4822
4980
  "type": {
4823
4981
  "text": ""
@@ -4825,79 +4983,75 @@
4825
4983
  },
4826
4984
  "parameters": [
4827
4985
  {
4828
- "name": "urlNavigate",
4829
- "type": {
4830
- "text": "string"
4831
- },
4832
- "description": "The URL to navigate to."
4833
- },
4834
- {
4835
- "name": "target",
4836
- "type": {
4837
- "text": "string"
4838
- },
4839
- "description": "The name of the new window."
4840
- },
4841
- {
4842
- "name": "popUpWidth",
4843
- "default": "POPUP_DEFAULT_WIDTH",
4986
+ "name": "value",
4844
4987
  "type": {
4845
- "text": "number"
4988
+ "text": "string | ArrayBuffer"
4846
4989
  },
4847
- "description": "The width of the new window (optional)."
4848
- },
4990
+ "description": "The value to encode to base64."
4991
+ }
4992
+ ],
4993
+ "description": "Encodes the given value to base64.",
4994
+ "privacy": "public"
4995
+ },
4996
+ {
4997
+ "kind": "function",
4998
+ "name": "encodeToBase64WithPrefix",
4999
+ "return": {
5000
+ "type": {
5001
+ "text": ""
5002
+ }
5003
+ },
5004
+ "parameters": [
4849
5005
  {
4850
- "name": "popUpHeight",
4851
- "default": "POPUP_DEFAULT_HEIGHT",
5006
+ "name": "value",
4852
5007
  "type": {
4853
- "text": "number"
5008
+ "text": "string | ArrayBuffer"
4854
5009
  },
4855
- "description": "The height of the new window (optional)."
5010
+ "description": "The value to encode to base64."
4856
5011
  }
4857
5012
  ],
4858
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
5013
+ "description": "Encodes the given value with a prefix to base64.",
4859
5014
  "privacy": "public"
4860
5015
  }
4861
5016
  ],
4862
5017
  "exports": [
4863
5018
  {
4864
5019
  "kind": "js",
4865
- "name": "inIFrame",
4866
- "declaration": {
4867
- "name": "inIFrame",
4868
- "module": "src/window/window.ts"
4869
- }
4870
- },
4871
- {
4872
- "kind": "js",
4873
- "name": "inSymphonyDesktop",
5020
+ "name": "encodeToBase64",
4874
5021
  "declaration": {
4875
- "name": "inSymphonyDesktop",
4876
- "module": "src/window/window.ts"
5022
+ "name": "encodeToBase64",
5023
+ "module": "src/encoding/base64/encode.ts"
4877
5024
  }
4878
5025
  },
4879
5026
  {
4880
5027
  "kind": "js",
4881
- "name": "POPUP_DEFAULT_WIDTH",
5028
+ "name": "encodeToBase64WithPrefix",
4882
5029
  "declaration": {
4883
- "name": "POPUP_DEFAULT_WIDTH",
4884
- "module": "src/window/window.ts"
5030
+ "name": "encodeToBase64WithPrefix",
5031
+ "module": "src/encoding/base64/encode.ts"
4885
5032
  }
4886
- },
5033
+ }
5034
+ ]
5035
+ },
5036
+ {
5037
+ "kind": "javascript-module",
5038
+ "path": "src/encoding/base64/index.ts",
5039
+ "declarations": [],
5040
+ "exports": [
4887
5041
  {
4888
5042
  "kind": "js",
4889
- "name": "POPUP_DEFAULT_HEIGHT",
5043
+ "name": "*",
4890
5044
  "declaration": {
4891
- "name": "POPUP_DEFAULT_HEIGHT",
4892
- "module": "src/window/window.ts"
5045
+ "name": "*",
5046
+ "package": "./decode"
4893
5047
  }
4894
5048
  },
4895
5049
  {
4896
5050
  "kind": "js",
4897
- "name": "openPopup",
5051
+ "name": "*",
4898
5052
  "declaration": {
4899
- "name": "openPopup",
4900
- "module": "src/window/window.ts"
5053
+ "name": "*",
5054
+ "package": "./encode"
4901
5055
  }
4902
5056
  }
4903
5057
  ]
@@ -5056,160 +5210,6 @@
5056
5210
  }
5057
5211
  ]
5058
5212
  },
5059
- {
5060
- "kind": "javascript-module",
5061
- "path": "src/encoding/base64/decode.ts",
5062
- "declarations": [
5063
- {
5064
- "kind": "function",
5065
- "name": "decodeFromBase64",
5066
- "return": {
5067
- "type": {
5068
- "text": ""
5069
- }
5070
- },
5071
- "parameters": [
5072
- {
5073
- "name": "base64Value",
5074
- "type": {
5075
- "text": "string"
5076
- }
5077
- },
5078
- {
5079
- "description": "The value to decode from base64.",
5080
- "name": "value"
5081
- }
5082
- ],
5083
- "description": "Decodes a value from base64.",
5084
- "privacy": "public"
5085
- },
5086
- {
5087
- "kind": "function",
5088
- "name": "decodeFromBase64WithPrefix",
5089
- "return": {
5090
- "type": {
5091
- "text": ""
5092
- }
5093
- },
5094
- "parameters": [
5095
- {
5096
- "name": "value",
5097
- "type": {
5098
- "text": "string"
5099
- },
5100
- "description": "The value to decode from base64."
5101
- }
5102
- ],
5103
- "description": "Decodes a value from base64 with a prefix.",
5104
- "privacy": "public"
5105
- }
5106
- ],
5107
- "exports": [
5108
- {
5109
- "kind": "js",
5110
- "name": "decodeFromBase64",
5111
- "declaration": {
5112
- "name": "decodeFromBase64",
5113
- "module": "src/encoding/base64/decode.ts"
5114
- }
5115
- },
5116
- {
5117
- "kind": "js",
5118
- "name": "decodeFromBase64WithPrefix",
5119
- "declaration": {
5120
- "name": "decodeFromBase64WithPrefix",
5121
- "module": "src/encoding/base64/decode.ts"
5122
- }
5123
- }
5124
- ]
5125
- },
5126
- {
5127
- "kind": "javascript-module",
5128
- "path": "src/encoding/base64/encode.ts",
5129
- "declarations": [
5130
- {
5131
- "kind": "function",
5132
- "name": "encodeToBase64",
5133
- "return": {
5134
- "type": {
5135
- "text": ""
5136
- }
5137
- },
5138
- "parameters": [
5139
- {
5140
- "name": "value",
5141
- "type": {
5142
- "text": "string | ArrayBuffer"
5143
- },
5144
- "description": "The value to encode to base64."
5145
- }
5146
- ],
5147
- "description": "Encodes the given value to base64.",
5148
- "privacy": "public"
5149
- },
5150
- {
5151
- "kind": "function",
5152
- "name": "encodeToBase64WithPrefix",
5153
- "return": {
5154
- "type": {
5155
- "text": ""
5156
- }
5157
- },
5158
- "parameters": [
5159
- {
5160
- "name": "value",
5161
- "type": {
5162
- "text": "string | ArrayBuffer"
5163
- },
5164
- "description": "The value to encode to base64."
5165
- }
5166
- ],
5167
- "description": "Encodes the given value with a prefix to base64.",
5168
- "privacy": "public"
5169
- }
5170
- ],
5171
- "exports": [
5172
- {
5173
- "kind": "js",
5174
- "name": "encodeToBase64",
5175
- "declaration": {
5176
- "name": "encodeToBase64",
5177
- "module": "src/encoding/base64/encode.ts"
5178
- }
5179
- },
5180
- {
5181
- "kind": "js",
5182
- "name": "encodeToBase64WithPrefix",
5183
- "declaration": {
5184
- "name": "encodeToBase64WithPrefix",
5185
- "module": "src/encoding/base64/encode.ts"
5186
- }
5187
- }
5188
- ]
5189
- },
5190
- {
5191
- "kind": "javascript-module",
5192
- "path": "src/encoding/base64/index.ts",
5193
- "declarations": [],
5194
- "exports": [
5195
- {
5196
- "kind": "js",
5197
- "name": "*",
5198
- "declaration": {
5199
- "name": "*",
5200
- "package": "./decode"
5201
- }
5202
- },
5203
- {
5204
- "kind": "js",
5205
- "name": "*",
5206
- "declaration": {
5207
- "name": "*",
5208
- "package": "./encode"
5209
- }
5210
- }
5211
- ]
5212
- },
5213
5213
  {
5214
5214
  "kind": "javascript-module",
5215
5215
  "path": "src/mappers/dto/index.ts",