@genesislcap/foundation-utils 14.354.4-alpha-2c4e0c7.0 → 14.354.4-alpha-d3b7367.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 +446 -446
  2. package/package.json +11 -11
@@ -187,120 +187,251 @@
187
187
  },
188
188
  {
189
189
  "kind": "javascript-module",
190
- "path": "src/design-system/design-system.ts",
190
+ "path": "src/data/inMemoryDatabase.ts",
191
191
  "declarations": [
192
192
  {
193
- "kind": "function",
194
- "name": "assureDesignSystem",
195
- "return": {
196
- "type": {
197
- "text": "DesignSystemModule"
198
- }
199
- },
200
- "parameters": [
193
+ "kind": "class",
194
+ "description": "An in memory database of specific DatabaseRecord types.",
195
+ "name": "InMemoryDatabase",
196
+ "members": [
201
197
  {
202
- "name": "module",
198
+ "kind": "field",
199
+ "name": "isWorking",
203
200
  "type": {
204
- "text": "DesignSystemModule"
205
- }
206
- }
207
- ],
208
- "description": "assureDesignSystem.",
209
- "privacy": "public"
210
- },
211
- {
212
- "kind": "function",
213
- "name": "getCurrentDesignSystem",
214
- "return": {
215
- "type": {
216
- "text": ""
217
- }
218
- },
219
- "parameters": [
201
+ "text": "boolean"
202
+ },
203
+ "privacy": "public",
204
+ "default": "false"
205
+ },
220
206
  {
221
- "name": "element",
207
+ "kind": "field",
208
+ "name": "records",
222
209
  "type": {
223
- "text": "HTMLElement"
210
+ "text": "Record<string, T>"
224
211
  },
225
- "description": "The starting HTML element"
212
+ "privacy": "private",
213
+ "default": "{}"
226
214
  },
227
215
  {
228
- "name": "fallbackPrefix",
229
- "type": {
230
- "text": "string"
216
+ "kind": "field",
217
+ "name": "beforeUpdateListeners",
218
+ "privacy": "private"
219
+ },
220
+ {
221
+ "kind": "field",
222
+ "name": "afterUpdateListeners",
223
+ "privacy": "private"
224
+ },
225
+ {
226
+ "kind": "method",
227
+ "name": "create",
228
+ "privacy": "public",
229
+ "return": {
230
+ "type": {
231
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
232
+ }
231
233
  },
232
- "description": "The prefix to fallback to if the provider is not available"
233
- }
234
- ],
235
- "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.",
236
- "privacy": "public"
237
- },
238
- {
239
- "kind": "function",
240
- "name": "getCurrentDesignSystemPrefix",
241
- "return": {
242
- "type": {
243
- "text": ""
244
- }
245
- },
246
- "parameters": [
234
+ "parameters": [
235
+ {
236
+ "name": "newValue",
237
+ "type": {
238
+ "text": "Omit<T, 'id'>"
239
+ }
240
+ }
241
+ ]
242
+ },
247
243
  {
248
- "name": "element",
249
- "type": {
250
- "text": "HTMLElement"
244
+ "kind": "method",
245
+ "name": "read",
246
+ "privacy": "public",
247
+ "return": {
248
+ "type": {
249
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
250
+ }
251
251
  },
252
- "description": "The starting HTML element"
252
+ "parameters": [
253
+ {
254
+ "name": "id",
255
+ "type": {
256
+ "text": "string"
257
+ }
258
+ }
259
+ ]
253
260
  },
254
261
  {
255
- "name": "fallbackPrefix",
256
- "type": {
257
- "text": "string"
262
+ "kind": "method",
263
+ "name": "update",
264
+ "privacy": "public",
265
+ "return": {
266
+ "type": {
267
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
268
+ }
258
269
  },
259
- "description": "The prefix to fallback to if the provider is not available"
270
+ "parameters": [
271
+ {
272
+ "name": "id",
273
+ "type": {
274
+ "text": "string"
275
+ }
276
+ },
277
+ {
278
+ "name": "newValue",
279
+ "type": {
280
+ "text": "Omit<Partial<T>, 'id'>"
281
+ }
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "kind": "method",
287
+ "name": "delete",
288
+ "privacy": "public",
289
+ "return": {
290
+ "type": {
291
+ "text": "Promise<DatabaseAccessResult.Delete>"
292
+ }
293
+ },
294
+ "parameters": [
295
+ {
296
+ "name": "id",
297
+ "type": {
298
+ "text": "string"
299
+ }
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "kind": "method",
305
+ "name": "visit",
306
+ "privacy": "public",
307
+ "return": {
308
+ "type": {
309
+ "text": "Promise<void>"
310
+ }
311
+ },
312
+ "parameters": [
313
+ {
314
+ "name": "visitor",
315
+ "type": {
316
+ "text": "(record: T) => void"
317
+ }
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "kind": "method",
323
+ "name": "onBeforeUpdate",
324
+ "privacy": "public",
325
+ "return": {
326
+ "type": {
327
+ "text": "() => void"
328
+ }
329
+ },
330
+ "parameters": [
331
+ {
332
+ "name": "listener",
333
+ "type": {
334
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
335
+ }
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "kind": "method",
341
+ "name": "onAfterUpdate",
342
+ "privacy": "public",
343
+ "return": {
344
+ "type": {
345
+ "text": "() => void"
346
+ }
347
+ },
348
+ "parameters": [
349
+ {
350
+ "name": "listener",
351
+ "type": {
352
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
353
+ }
354
+ }
355
+ ]
260
356
  }
261
- ],
262
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
263
- "privacy": "public"
357
+ ]
264
358
  }
265
359
  ],
266
360
  "exports": [
267
361
  {
268
362
  "kind": "js",
269
- "name": "assureDesignSystem",
363
+ "name": "InMemoryDatabase",
270
364
  "declaration": {
271
- "name": "assureDesignSystem",
272
- "module": "src/design-system/design-system.ts"
365
+ "name": "InMemoryDatabase",
366
+ "module": "src/data/inMemoryDatabase.ts"
273
367
  }
274
- },
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "kind": "javascript-module",
373
+ "path": "src/data/index.ts",
374
+ "declarations": [],
375
+ "exports": [
275
376
  {
276
377
  "kind": "js",
277
- "name": "getCurrentDesignSystem",
378
+ "name": "*",
278
379
  "declaration": {
279
- "name": "getCurrentDesignSystem",
280
- "module": "src/design-system/design-system.ts"
380
+ "name": "*",
381
+ "package": "./inMemoryDatabase"
281
382
  }
282
- },
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "kind": "javascript-module",
388
+ "path": "src/decorators/index.ts",
389
+ "declarations": [],
390
+ "exports": [
283
391
  {
284
392
  "kind": "js",
285
- "name": "getCurrentDesignSystemPrefix",
393
+ "name": "*",
286
394
  "declaration": {
287
- "name": "getCurrentDesignSystemPrefix",
288
- "module": "src/design-system/design-system.ts"
395
+ "name": "*",
396
+ "package": "./renderOnChange"
289
397
  }
290
398
  }
291
399
  ]
292
400
  },
293
401
  {
294
402
  "kind": "javascript-module",
295
- "path": "src/design-system/index.ts",
296
- "declarations": [],
403
+ "path": "src/decorators/renderOnChange.ts",
404
+ "declarations": [
405
+ {
406
+ "kind": "function",
407
+ "name": "renderOnChange",
408
+ "parameters": [
409
+ {
410
+ "name": "target",
411
+ "type": {
412
+ "text": "FASTElement & { render(): void }"
413
+ },
414
+ "description": "The target to define the property change handler on."
415
+ },
416
+ {
417
+ "name": "name",
418
+ "type": {
419
+ "text": "string"
420
+ },
421
+ "description": "The property name."
422
+ }
423
+ ],
424
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
425
+ "privacy": "public"
426
+ }
427
+ ],
297
428
  "exports": [
298
429
  {
299
430
  "kind": "js",
300
- "name": "*",
431
+ "name": "renderOnChange",
301
432
  "declaration": {
302
- "name": "*",
303
- "package": "./design-system"
433
+ "name": "renderOnChange",
434
+ "module": "src/decorators/renderOnChange.ts"
304
435
  }
305
436
  }
306
437
  ]
@@ -620,451 +751,200 @@
620
751
  "privacy": "public"
621
752
  },
622
753
  {
623
- "kind": "variable",
624
- "name": "SSO_LOGIN_URL",
625
- "type": {
626
- "text": "string"
627
- },
628
- "default": "'gwf/{type}/login?idp={id}'",
629
- "privacy": "public"
630
- },
631
- {
632
- "kind": "variable",
633
- "name": "ENVIRONMENT_LEVEL",
634
- "type": {
635
- "text": "string"
636
- },
637
- "default": "'default'",
638
- "privacy": "public"
639
- },
640
- {
641
- "kind": "variable",
642
- "name": "ACCEPT_TERMS_URL",
643
- "type": {
644
- "text": "string"
645
- },
646
- "default": "'gwf/auth/accept-terms'",
647
- "privacy": "public"
648
- }
649
- ],
650
- "exports": [
651
- {
652
- "kind": "js",
653
- "name": "BUILDER",
654
- "declaration": {
655
- "name": "_BUILDER",
656
- "module": "src/env/variables.ts"
657
- }
658
- },
659
- {
660
- "kind": "js",
661
- "name": "PUBLIC_PATH",
662
- "declaration": {
663
- "name": "_PUBLIC_PATH",
664
- "module": "src/env/variables.ts"
665
- }
666
- },
667
- {
668
- "kind": "js",
669
- "name": "SOCKET_EXT",
670
- "declaration": {
671
- "name": "_SOCKET_EXT",
672
- "module": "src/env/variables.ts"
673
- }
674
- },
675
- {
676
- "kind": "js",
677
- "name": "FORCE_HTTP",
678
- "declaration": {
679
- "name": "_FORCE_HTTP",
680
- "module": "src/env/variables.ts"
681
- }
682
- },
683
- {
684
- "kind": "js",
685
- "name": "GENESIS_SOCKET_URL",
686
- "declaration": {
687
- "name": "GENESIS_SOCKET_URL",
688
- "module": "src/env/variables.ts"
689
- }
690
- },
691
- {
692
- "kind": "js",
693
- "name": "API_HOST",
694
- "declaration": {
695
- "name": "_API_HOST",
696
- "module": "src/env/variables.ts"
697
- }
698
- },
699
- {
700
- "kind": "js",
701
- "name": "HTTP_CONFIG",
702
- "declaration": {
703
- "name": "_HTTP_CONFIG",
704
- "module": "src/env/variables.ts"
705
- }
706
- },
707
- {
708
- "kind": "js",
709
- "name": "DEFAULT_ORGANISATION",
710
- "declaration": {
711
- "name": "_DEFAULT_ORGANISATION",
712
- "module": "src/env/variables.ts"
713
- }
714
- },
715
- {
716
- "kind": "js",
717
- "name": "DEFAULT_PASSWORD",
718
- "declaration": {
719
- "name": "_DEFAULT_PASSWORD",
720
- "module": "src/env/variables.ts"
721
- }
722
- },
723
- {
724
- "kind": "js",
725
- "name": "DEFAULT_USER",
726
- "declaration": {
727
- "name": "_DEFAULT_USER",
728
- "module": "src/env/variables.ts"
729
- }
754
+ "kind": "variable",
755
+ "name": "SSO_LOGIN_URL",
756
+ "type": {
757
+ "text": "string"
758
+ },
759
+ "default": "'gwf/{type}/login?idp={id}'",
760
+ "privacy": "public"
730
761
  },
731
762
  {
732
- "kind": "js",
733
- "name": "LOGIN_URL",
734
- "declaration": {
735
- "name": "LOGIN_URL",
736
- "module": "src/env/variables.ts"
737
- }
763
+ "kind": "variable",
764
+ "name": "ENVIRONMENT_LEVEL",
765
+ "type": {
766
+ "text": "string"
767
+ },
768
+ "default": "'default'",
769
+ "privacy": "public"
738
770
  },
739
771
  {
740
- "kind": "js",
741
- "name": "LOGIN_REFRESH_URL",
742
- "declaration": {
743
- "name": "LOGIN_REFRESH_URL",
744
- "module": "src/env/variables.ts"
745
- }
746
- },
772
+ "kind": "variable",
773
+ "name": "ACCEPT_TERMS_URL",
774
+ "type": {
775
+ "text": "string"
776
+ },
777
+ "default": "'gwf/auth/accept-terms'",
778
+ "privacy": "public"
779
+ }
780
+ ],
781
+ "exports": [
747
782
  {
748
783
  "kind": "js",
749
- "name": "LOGIN_DETAILS_URL",
784
+ "name": "BUILDER",
750
785
  "declaration": {
751
- "name": "LOGIN_DETAILS_URL",
786
+ "name": "_BUILDER",
752
787
  "module": "src/env/variables.ts"
753
788
  }
754
789
  },
755
790
  {
756
791
  "kind": "js",
757
- "name": "LOGOUT_URL",
792
+ "name": "PUBLIC_PATH",
758
793
  "declaration": {
759
- "name": "LOGOUT_URL",
794
+ "name": "_PUBLIC_PATH",
760
795
  "module": "src/env/variables.ts"
761
796
  }
762
797
  },
763
798
  {
764
799
  "kind": "js",
765
- "name": "CHANGE_PASSWORD_URL",
800
+ "name": "SOCKET_EXT",
766
801
  "declaration": {
767
- "name": "CHANGE_PASSWORD_URL",
802
+ "name": "_SOCKET_EXT",
768
803
  "module": "src/env/variables.ts"
769
804
  }
770
805
  },
771
806
  {
772
807
  "kind": "js",
773
- "name": "FORGOT_PASSWORD_URL",
808
+ "name": "FORCE_HTTP",
774
809
  "declaration": {
775
- "name": "FORGOT_PASSWORD_URL",
810
+ "name": "_FORCE_HTTP",
776
811
  "module": "src/env/variables.ts"
777
812
  }
778
813
  },
779
814
  {
780
815
  "kind": "js",
781
- "name": "RESET_PASSWORD_URL",
816
+ "name": "GENESIS_SOCKET_URL",
782
817
  "declaration": {
783
- "name": "RESET_PASSWORD_URL",
818
+ "name": "GENESIS_SOCKET_URL",
784
819
  "module": "src/env/variables.ts"
785
820
  }
786
821
  },
787
822
  {
788
823
  "kind": "js",
789
- "name": "SSO_LIST_URL",
824
+ "name": "API_HOST",
790
825
  "declaration": {
791
- "name": "SSO_LIST_URL",
826
+ "name": "_API_HOST",
792
827
  "module": "src/env/variables.ts"
793
828
  }
794
829
  },
795
830
  {
796
831
  "kind": "js",
797
- "name": "SSO_LOGIN_URL",
832
+ "name": "HTTP_CONFIG",
798
833
  "declaration": {
799
- "name": "SSO_LOGIN_URL",
834
+ "name": "_HTTP_CONFIG",
800
835
  "module": "src/env/variables.ts"
801
836
  }
802
837
  },
803
838
  {
804
839
  "kind": "js",
805
- "name": "ENVIRONMENT_LEVEL",
840
+ "name": "DEFAULT_ORGANISATION",
806
841
  "declaration": {
807
- "name": "ENVIRONMENT_LEVEL",
842
+ "name": "_DEFAULT_ORGANISATION",
808
843
  "module": "src/env/variables.ts"
809
844
  }
810
845
  },
811
846
  {
812
847
  "kind": "js",
813
- "name": "ACCEPT_TERMS_URL",
848
+ "name": "DEFAULT_PASSWORD",
814
849
  "declaration": {
815
- "name": "ACCEPT_TERMS_URL",
850
+ "name": "_DEFAULT_PASSWORD",
816
851
  "module": "src/env/variables.ts"
817
852
  }
818
- }
819
- ]
820
- },
821
- {
822
- "kind": "javascript-module",
823
- "path": "src/data/inMemoryDatabase.ts",
824
- "declarations": [
825
- {
826
- "kind": "class",
827
- "description": "An in memory database of specific DatabaseRecord types.",
828
- "name": "InMemoryDatabase",
829
- "members": [
830
- {
831
- "kind": "field",
832
- "name": "isWorking",
833
- "type": {
834
- "text": "boolean"
835
- },
836
- "privacy": "public",
837
- "default": "false"
838
- },
839
- {
840
- "kind": "field",
841
- "name": "records",
842
- "type": {
843
- "text": "Record<string, T>"
844
- },
845
- "privacy": "private",
846
- "default": "{}"
847
- },
848
- {
849
- "kind": "field",
850
- "name": "beforeUpdateListeners",
851
- "privacy": "private"
852
- },
853
- {
854
- "kind": "field",
855
- "name": "afterUpdateListeners",
856
- "privacy": "private"
857
- },
858
- {
859
- "kind": "method",
860
- "name": "create",
861
- "privacy": "public",
862
- "return": {
863
- "type": {
864
- "text": "Promise<DatabaseAccessResult.Create<T>>"
865
- }
866
- },
867
- "parameters": [
868
- {
869
- "name": "newValue",
870
- "type": {
871
- "text": "Omit<T, 'id'>"
872
- }
873
- }
874
- ]
875
- },
876
- {
877
- "kind": "method",
878
- "name": "read",
879
- "privacy": "public",
880
- "return": {
881
- "type": {
882
- "text": "Promise<DatabaseAccessResult.Read<T>>"
883
- }
884
- },
885
- "parameters": [
886
- {
887
- "name": "id",
888
- "type": {
889
- "text": "string"
890
- }
891
- }
892
- ]
893
- },
894
- {
895
- "kind": "method",
896
- "name": "update",
897
- "privacy": "public",
898
- "return": {
899
- "type": {
900
- "text": "Promise<DatabaseAccessResult.Update<T>>"
901
- }
902
- },
903
- "parameters": [
904
- {
905
- "name": "id",
906
- "type": {
907
- "text": "string"
908
- }
909
- },
910
- {
911
- "name": "newValue",
912
- "type": {
913
- "text": "Omit<Partial<T>, 'id'>"
914
- }
915
- }
916
- ]
917
- },
918
- {
919
- "kind": "method",
920
- "name": "delete",
921
- "privacy": "public",
922
- "return": {
923
- "type": {
924
- "text": "Promise<DatabaseAccessResult.Delete>"
925
- }
926
- },
927
- "parameters": [
928
- {
929
- "name": "id",
930
- "type": {
931
- "text": "string"
932
- }
933
- }
934
- ]
935
- },
936
- {
937
- "kind": "method",
938
- "name": "visit",
939
- "privacy": "public",
940
- "return": {
941
- "type": {
942
- "text": "Promise<void>"
943
- }
944
- },
945
- "parameters": [
946
- {
947
- "name": "visitor",
948
- "type": {
949
- "text": "(record: T) => void"
950
- }
951
- }
952
- ]
953
- },
954
- {
955
- "kind": "method",
956
- "name": "onBeforeUpdate",
957
- "privacy": "public",
958
- "return": {
959
- "type": {
960
- "text": "() => void"
961
- }
962
- },
963
- "parameters": [
964
- {
965
- "name": "listener",
966
- "type": {
967
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
968
- }
969
- }
970
- ]
971
- },
972
- {
973
- "kind": "method",
974
- "name": "onAfterUpdate",
975
- "privacy": "public",
976
- "return": {
977
- "type": {
978
- "text": "() => void"
979
- }
980
- },
981
- "parameters": [
982
- {
983
- "name": "listener",
984
- "type": {
985
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
986
- }
987
- }
988
- ]
989
- }
990
- ]
991
- }
992
- ],
993
- "exports": [
853
+ },
994
854
  {
995
855
  "kind": "js",
996
- "name": "InMemoryDatabase",
856
+ "name": "DEFAULT_USER",
997
857
  "declaration": {
998
- "name": "InMemoryDatabase",
999
- "module": "src/data/inMemoryDatabase.ts"
858
+ "name": "_DEFAULT_USER",
859
+ "module": "src/env/variables.ts"
1000
860
  }
1001
- }
1002
- ]
1003
- },
1004
- {
1005
- "kind": "javascript-module",
1006
- "path": "src/data/index.ts",
1007
- "declarations": [],
1008
- "exports": [
861
+ },
1009
862
  {
1010
863
  "kind": "js",
1011
- "name": "*",
864
+ "name": "LOGIN_URL",
1012
865
  "declaration": {
1013
- "name": "*",
1014
- "package": "./inMemoryDatabase"
866
+ "name": "LOGIN_URL",
867
+ "module": "src/env/variables.ts"
1015
868
  }
1016
- }
1017
- ]
1018
- },
1019
- {
1020
- "kind": "javascript-module",
1021
- "path": "src/decorators/index.ts",
1022
- "declarations": [],
1023
- "exports": [
869
+ },
1024
870
  {
1025
871
  "kind": "js",
1026
- "name": "*",
872
+ "name": "LOGIN_REFRESH_URL",
1027
873
  "declaration": {
1028
- "name": "*",
1029
- "package": "./renderOnChange"
874
+ "name": "LOGIN_REFRESH_URL",
875
+ "module": "src/env/variables.ts"
1030
876
  }
1031
- }
1032
- ]
1033
- },
1034
- {
1035
- "kind": "javascript-module",
1036
- "path": "src/decorators/renderOnChange.ts",
1037
- "declarations": [
877
+ },
1038
878
  {
1039
- "kind": "function",
1040
- "name": "renderOnChange",
1041
- "parameters": [
1042
- {
1043
- "name": "target",
1044
- "type": {
1045
- "text": "FASTElement & { render(): void }"
1046
- },
1047
- "description": "The target to define the property change handler on."
1048
- },
1049
- {
1050
- "name": "name",
1051
- "type": {
1052
- "text": "string"
1053
- },
1054
- "description": "The property name."
1055
- }
1056
- ],
1057
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1058
- "privacy": "public"
1059
- }
1060
- ],
1061
- "exports": [
879
+ "kind": "js",
880
+ "name": "LOGIN_DETAILS_URL",
881
+ "declaration": {
882
+ "name": "LOGIN_DETAILS_URL",
883
+ "module": "src/env/variables.ts"
884
+ }
885
+ },
1062
886
  {
1063
887
  "kind": "js",
1064
- "name": "renderOnChange",
888
+ "name": "LOGOUT_URL",
1065
889
  "declaration": {
1066
- "name": "renderOnChange",
1067
- "module": "src/decorators/renderOnChange.ts"
890
+ "name": "LOGOUT_URL",
891
+ "module": "src/env/variables.ts"
892
+ }
893
+ },
894
+ {
895
+ "kind": "js",
896
+ "name": "CHANGE_PASSWORD_URL",
897
+ "declaration": {
898
+ "name": "CHANGE_PASSWORD_URL",
899
+ "module": "src/env/variables.ts"
900
+ }
901
+ },
902
+ {
903
+ "kind": "js",
904
+ "name": "FORGOT_PASSWORD_URL",
905
+ "declaration": {
906
+ "name": "FORGOT_PASSWORD_URL",
907
+ "module": "src/env/variables.ts"
908
+ }
909
+ },
910
+ {
911
+ "kind": "js",
912
+ "name": "RESET_PASSWORD_URL",
913
+ "declaration": {
914
+ "name": "RESET_PASSWORD_URL",
915
+ "module": "src/env/variables.ts"
916
+ }
917
+ },
918
+ {
919
+ "kind": "js",
920
+ "name": "SSO_LIST_URL",
921
+ "declaration": {
922
+ "name": "SSO_LIST_URL",
923
+ "module": "src/env/variables.ts"
924
+ }
925
+ },
926
+ {
927
+ "kind": "js",
928
+ "name": "SSO_LOGIN_URL",
929
+ "declaration": {
930
+ "name": "SSO_LOGIN_URL",
931
+ "module": "src/env/variables.ts"
932
+ }
933
+ },
934
+ {
935
+ "kind": "js",
936
+ "name": "ENVIRONMENT_LEVEL",
937
+ "declaration": {
938
+ "name": "ENVIRONMENT_LEVEL",
939
+ "module": "src/env/variables.ts"
940
+ }
941
+ },
942
+ {
943
+ "kind": "js",
944
+ "name": "ACCEPT_TERMS_URL",
945
+ "declaration": {
946
+ "name": "ACCEPT_TERMS_URL",
947
+ "module": "src/env/variables.ts"
1068
948
  }
1069
949
  }
1070
950
  ]
@@ -1268,6 +1148,126 @@
1268
1148
  }
1269
1149
  ]
1270
1150
  },
1151
+ {
1152
+ "kind": "javascript-module",
1153
+ "path": "src/design-system/design-system.ts",
1154
+ "declarations": [
1155
+ {
1156
+ "kind": "function",
1157
+ "name": "assureDesignSystem",
1158
+ "return": {
1159
+ "type": {
1160
+ "text": "DesignSystemModule"
1161
+ }
1162
+ },
1163
+ "parameters": [
1164
+ {
1165
+ "name": "module",
1166
+ "type": {
1167
+ "text": "DesignSystemModule"
1168
+ }
1169
+ }
1170
+ ],
1171
+ "description": "assureDesignSystem.",
1172
+ "privacy": "public"
1173
+ },
1174
+ {
1175
+ "kind": "function",
1176
+ "name": "getCurrentDesignSystem",
1177
+ "return": {
1178
+ "type": {
1179
+ "text": ""
1180
+ }
1181
+ },
1182
+ "parameters": [
1183
+ {
1184
+ "name": "element",
1185
+ "type": {
1186
+ "text": "HTMLElement"
1187
+ },
1188
+ "description": "The starting HTML element"
1189
+ },
1190
+ {
1191
+ "name": "fallbackPrefix",
1192
+ "type": {
1193
+ "text": "string"
1194
+ },
1195
+ "description": "The prefix to fallback to if the provider is not available"
1196
+ }
1197
+ ],
1198
+ "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.",
1199
+ "privacy": "public"
1200
+ },
1201
+ {
1202
+ "kind": "function",
1203
+ "name": "getCurrentDesignSystemPrefix",
1204
+ "return": {
1205
+ "type": {
1206
+ "text": ""
1207
+ }
1208
+ },
1209
+ "parameters": [
1210
+ {
1211
+ "name": "element",
1212
+ "type": {
1213
+ "text": "HTMLElement"
1214
+ },
1215
+ "description": "The starting HTML element"
1216
+ },
1217
+ {
1218
+ "name": "fallbackPrefix",
1219
+ "type": {
1220
+ "text": "string"
1221
+ },
1222
+ "description": "The prefix to fallback to if the provider is not available"
1223
+ }
1224
+ ],
1225
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1226
+ "privacy": "public"
1227
+ }
1228
+ ],
1229
+ "exports": [
1230
+ {
1231
+ "kind": "js",
1232
+ "name": "assureDesignSystem",
1233
+ "declaration": {
1234
+ "name": "assureDesignSystem",
1235
+ "module": "src/design-system/design-system.ts"
1236
+ }
1237
+ },
1238
+ {
1239
+ "kind": "js",
1240
+ "name": "getCurrentDesignSystem",
1241
+ "declaration": {
1242
+ "name": "getCurrentDesignSystem",
1243
+ "module": "src/design-system/design-system.ts"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "js",
1248
+ "name": "getCurrentDesignSystemPrefix",
1249
+ "declaration": {
1250
+ "name": "getCurrentDesignSystemPrefix",
1251
+ "module": "src/design-system/design-system.ts"
1252
+ }
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "kind": "javascript-module",
1258
+ "path": "src/design-system/index.ts",
1259
+ "declarations": [],
1260
+ "exports": [
1261
+ {
1262
+ "kind": "js",
1263
+ "name": "*",
1264
+ "declaration": {
1265
+ "name": "*",
1266
+ "package": "./design-system"
1267
+ }
1268
+ }
1269
+ ]
1270
+ },
1271
1271
  {
1272
1272
  "kind": "javascript-module",
1273
1273
  "path": "src/formatters/datetime.ts",
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.354.4-alpha-2c4e0c7.0",
4
+ "version": "14.354.4-alpha-d3b7367.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,18 +27,18 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.354.4-alpha-2c4e0c7.0",
31
- "@genesislcap/genx": "14.354.4-alpha-2c4e0c7.0",
32
- "@genesislcap/rollup-builder": "14.354.4-alpha-2c4e0c7.0",
33
- "@genesislcap/ts-builder": "14.354.4-alpha-2c4e0c7.0",
34
- "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-2c4e0c7.0",
35
- "@genesislcap/vite-builder": "14.354.4-alpha-2c4e0c7.0",
36
- "@genesislcap/webpack-builder": "14.354.4-alpha-2c4e0c7.0",
30
+ "@genesislcap/foundation-testing": "14.354.4-alpha-d3b7367.0",
31
+ "@genesislcap/genx": "14.354.4-alpha-d3b7367.0",
32
+ "@genesislcap/rollup-builder": "14.354.4-alpha-d3b7367.0",
33
+ "@genesislcap/ts-builder": "14.354.4-alpha-d3b7367.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-d3b7367.0",
35
+ "@genesislcap/vite-builder": "14.354.4-alpha-d3b7367.0",
36
+ "@genesislcap/webpack-builder": "14.354.4-alpha-d3b7367.0",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.354.4-alpha-2c4e0c7.0",
41
- "@genesislcap/foundation-logger": "14.354.4-alpha-2c4e0c7.0",
40
+ "@genesislcap/expression-builder": "14.354.4-alpha-d3b7367.0",
41
+ "@genesislcap/foundation-logger": "14.354.4-alpha-d3b7367.0",
42
42
  "@microsoft/fast-components": "2.30.6",
43
43
  "@microsoft/fast-element": "1.14.0",
44
44
  "@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": "3897e754c3c0cbc54df9a91b2a22d16b4eeaa5ff"
59
+ "gitHead": "cf18ed55842f035c6b68d336ffd62f1b9c3c69dc"
60
60
  }