@genesislcap/foundation-utils 14.312.1-alpha-5946baf.0 → 14.312.1-alpha-2a2b7d6.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 +510 -510
  2. package/package.json +11 -11
@@ -179,190 +179,60 @@
179
179
  },
180
180
  {
181
181
  "kind": "javascript-module",
182
- "path": "src/data/inMemoryDatabase.ts",
182
+ "path": "src/decorators/index.ts",
183
+ "declarations": [],
184
+ "exports": [
185
+ {
186
+ "kind": "js",
187
+ "name": "*",
188
+ "declaration": {
189
+ "name": "*",
190
+ "package": "./renderOnChange"
191
+ }
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "kind": "javascript-module",
197
+ "path": "src/decorators/renderOnChange.ts",
183
198
  "declarations": [
184
199
  {
185
- "kind": "class",
186
- "description": "An in memory database of specific DatabaseRecord types.",
187
- "name": "InMemoryDatabase",
188
- "members": [
200
+ "kind": "function",
201
+ "name": "renderOnChange",
202
+ "parameters": [
189
203
  {
190
- "kind": "field",
191
- "name": "isWorking",
204
+ "name": "target",
192
205
  "type": {
193
- "text": "boolean"
206
+ "text": "FASTElement & { render(): void }"
194
207
  },
195
- "privacy": "public",
196
- "default": "false"
208
+ "description": "The target to define the property change handler on."
197
209
  },
198
210
  {
199
- "kind": "field",
200
- "name": "records",
211
+ "name": "name",
201
212
  "type": {
202
- "text": "Record<string, T>"
203
- },
204
- "privacy": "private",
205
- "default": "{}"
206
- },
207
- {
208
- "kind": "field",
209
- "name": "beforeUpdateListeners",
210
- "privacy": "private"
211
- },
212
- {
213
- "kind": "field",
214
- "name": "afterUpdateListeners",
215
- "privacy": "private"
216
- },
217
- {
218
- "kind": "method",
219
- "name": "create",
220
- "privacy": "public",
221
- "return": {
222
- "type": {
223
- "text": "Promise<DatabaseAccessResult.Create<T>>"
224
- }
225
- },
226
- "parameters": [
227
- {
228
- "name": "newValue",
229
- "type": {
230
- "text": "Omit<T, 'id'>"
231
- }
232
- }
233
- ]
234
- },
235
- {
236
- "kind": "method",
237
- "name": "read",
238
- "privacy": "public",
239
- "return": {
240
- "type": {
241
- "text": "Promise<DatabaseAccessResult.Read<T>>"
242
- }
243
- },
244
- "parameters": [
245
- {
246
- "name": "id",
247
- "type": {
248
- "text": "string"
249
- }
250
- }
251
- ]
252
- },
253
- {
254
- "kind": "method",
255
- "name": "update",
256
- "privacy": "public",
257
- "return": {
258
- "type": {
259
- "text": "Promise<DatabaseAccessResult.Update<T>>"
260
- }
261
- },
262
- "parameters": [
263
- {
264
- "name": "id",
265
- "type": {
266
- "text": "string"
267
- }
268
- },
269
- {
270
- "name": "newValue",
271
- "type": {
272
- "text": "Omit<Partial<T>, 'id'>"
273
- }
274
- }
275
- ]
276
- },
277
- {
278
- "kind": "method",
279
- "name": "delete",
280
- "privacy": "public",
281
- "return": {
282
- "type": {
283
- "text": "Promise<DatabaseAccessResult.Delete>"
284
- }
285
- },
286
- "parameters": [
287
- {
288
- "name": "id",
289
- "type": {
290
- "text": "string"
291
- }
292
- }
293
- ]
294
- },
295
- {
296
- "kind": "method",
297
- "name": "visit",
298
- "privacy": "public",
299
- "return": {
300
- "type": {
301
- "text": "Promise<void>"
302
- }
303
- },
304
- "parameters": [
305
- {
306
- "name": "visitor",
307
- "type": {
308
- "text": "(record: T) => void"
309
- }
310
- }
311
- ]
312
- },
313
- {
314
- "kind": "method",
315
- "name": "onBeforeUpdate",
316
- "privacy": "public",
317
- "return": {
318
- "type": {
319
- "text": "() => void"
320
- }
321
- },
322
- "parameters": [
323
- {
324
- "name": "listener",
325
- "type": {
326
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
327
- }
328
- }
329
- ]
330
- },
331
- {
332
- "kind": "method",
333
- "name": "onAfterUpdate",
334
- "privacy": "public",
335
- "return": {
336
- "type": {
337
- "text": "() => void"
338
- }
213
+ "text": "string"
339
214
  },
340
- "parameters": [
341
- {
342
- "name": "listener",
343
- "type": {
344
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
345
- }
346
- }
347
- ]
215
+ "description": "The property name."
348
216
  }
349
- ]
217
+ ],
218
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
219
+ "privacy": "public"
350
220
  }
351
221
  ],
352
222
  "exports": [
353
223
  {
354
224
  "kind": "js",
355
- "name": "InMemoryDatabase",
225
+ "name": "renderOnChange",
356
226
  "declaration": {
357
- "name": "InMemoryDatabase",
358
- "module": "src/data/inMemoryDatabase.ts"
227
+ "name": "renderOnChange",
228
+ "module": "src/decorators/renderOnChange.ts"
359
229
  }
360
230
  }
361
231
  ]
362
232
  },
363
233
  {
364
234
  "kind": "javascript-module",
365
- "path": "src/data/index.ts",
235
+ "path": "src/directives/index.ts",
366
236
  "declarations": [],
367
237
  "exports": [
368
238
  {
@@ -370,219 +240,46 @@
370
240
  "name": "*",
371
241
  "declaration": {
372
242
  "name": "*",
373
- "package": "./inMemoryDatabase"
243
+ "package": "./sync"
244
+ }
245
+ },
246
+ {
247
+ "kind": "js",
248
+ "name": "*",
249
+ "declaration": {
250
+ "name": "*",
251
+ "package": "./when-else"
374
252
  }
375
253
  }
376
254
  ]
377
255
  },
378
256
  {
379
257
  "kind": "javascript-module",
380
- "path": "src/design-system/design-system.ts",
381
- "declarations": [
258
+ "path": "src/encoding/index.ts",
259
+ "declarations": [],
260
+ "exports": [
382
261
  {
383
- "kind": "function",
384
- "name": "assureDesignSystem",
385
- "return": {
386
- "type": {
387
- "text": "DesignSystemModule"
388
- }
389
- },
390
- "parameters": [
391
- {
392
- "name": "module",
393
- "type": {
394
- "text": "DesignSystemModule"
395
- }
396
- }
397
- ],
398
- "description": "assureDesignSystem.",
399
- "privacy": "public"
400
- },
401
- {
402
- "kind": "function",
403
- "name": "getCurrentDesignSystem",
404
- "return": {
405
- "type": {
406
- "text": ""
407
- }
408
- },
409
- "parameters": [
410
- {
411
- "name": "element",
412
- "type": {
413
- "text": "HTMLElement"
414
- },
415
- "description": "The starting HTML element"
416
- },
417
- {
418
- "name": "fallbackPrefix",
419
- "type": {
420
- "text": "string"
421
- },
422
- "description": "The prefix to fallback to if the provider is not available"
423
- }
424
- ],
425
- "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.",
426
- "privacy": "public"
427
- },
428
- {
429
- "kind": "function",
430
- "name": "getCurrentDesignSystemPrefix",
431
- "return": {
432
- "type": {
433
- "text": ""
434
- }
435
- },
436
- "parameters": [
437
- {
438
- "name": "element",
439
- "type": {
440
- "text": "HTMLElement"
441
- },
442
- "description": "The starting HTML element"
443
- },
444
- {
445
- "name": "fallbackPrefix",
446
- "type": {
447
- "text": "string"
448
- },
449
- "description": "The prefix to fallback to if the provider is not available"
450
- }
451
- ],
452
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
453
- "privacy": "public"
454
- }
455
- ],
456
- "exports": [
457
- {
458
- "kind": "js",
459
- "name": "assureDesignSystem",
460
- "declaration": {
461
- "name": "assureDesignSystem",
462
- "module": "src/design-system/design-system.ts"
463
- }
464
- },
465
- {
466
- "kind": "js",
467
- "name": "getCurrentDesignSystem",
468
- "declaration": {
469
- "name": "getCurrentDesignSystem",
470
- "module": "src/design-system/design-system.ts"
471
- }
472
- },
473
- {
474
- "kind": "js",
475
- "name": "getCurrentDesignSystemPrefix",
476
- "declaration": {
477
- "name": "getCurrentDesignSystemPrefix",
478
- "module": "src/design-system/design-system.ts"
479
- }
480
- }
481
- ]
482
- },
483
- {
484
- "kind": "javascript-module",
485
- "path": "src/design-system/index.ts",
486
- "declarations": [],
487
- "exports": [
488
- {
489
- "kind": "js",
490
- "name": "*",
491
- "declaration": {
492
- "name": "*",
493
- "package": "./design-system"
494
- }
495
- }
496
- ]
497
- },
498
- {
499
- "kind": "javascript-module",
500
- "path": "src/decorators/index.ts",
501
- "declarations": [],
502
- "exports": [
503
- {
504
- "kind": "js",
505
- "name": "*",
506
- "declaration": {
507
- "name": "*",
508
- "package": "./renderOnChange"
509
- }
510
- }
511
- ]
512
- },
513
- {
514
- "kind": "javascript-module",
515
- "path": "src/decorators/renderOnChange.ts",
516
- "declarations": [
517
- {
518
- "kind": "function",
519
- "name": "renderOnChange",
520
- "parameters": [
521
- {
522
- "name": "target",
523
- "type": {
524
- "text": "FASTElement & { render(): void }"
525
- },
526
- "description": "The target to define the property change handler on."
527
- },
528
- {
529
- "name": "name",
530
- "type": {
531
- "text": "string"
532
- },
533
- "description": "The property name."
534
- }
535
- ],
536
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
537
- "privacy": "public"
538
- }
539
- ],
540
- "exports": [
541
- {
542
- "kind": "js",
543
- "name": "renderOnChange",
544
- "declaration": {
545
- "name": "renderOnChange",
546
- "module": "src/decorators/renderOnChange.ts"
547
- }
548
- }
549
- ]
550
- },
551
- {
552
- "kind": "javascript-module",
553
- "path": "src/directives/index.ts",
554
- "declarations": [],
555
- "exports": [
556
- {
557
- "kind": "js",
558
- "name": "*",
559
- "declaration": {
560
- "name": "*",
561
- "package": "./sync"
562
- }
563
- },
564
- {
565
- "kind": "js",
566
- "name": "*",
567
- "declaration": {
568
- "name": "*",
569
- "package": "./when-else"
570
- }
571
- }
572
- ]
573
- },
574
- {
575
- "kind": "javascript-module",
576
- "path": "src/env/index.ts",
577
- "declarations": [],
578
- "exports": [
579
- {
580
- "kind": "js",
581
- "name": "*",
582
- "declaration": {
583
- "name": "*",
584
- "package": "./is-dev"
585
- }
262
+ "kind": "js",
263
+ "name": "*",
264
+ "declaration": {
265
+ "name": "*",
266
+ "package": "./base64"
267
+ }
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "kind": "javascript-module",
273
+ "path": "src/env/index.ts",
274
+ "declarations": [],
275
+ "exports": [
276
+ {
277
+ "kind": "js",
278
+ "name": "*",
279
+ "declaration": {
280
+ "name": "*",
281
+ "package": "./is-dev"
282
+ }
586
283
  },
587
284
  {
588
285
  "kind": "js",
@@ -878,177 +575,480 @@
878
575
  "exports": [
879
576
  {
880
577
  "kind": "js",
881
- "name": "BUILDER",
882
- "declaration": {
883
- "name": "_BUILDER",
884
- "module": "src/env/variables.ts"
885
- }
886
- },
887
- {
888
- "kind": "js",
889
- "name": "PUBLIC_PATH",
890
- "declaration": {
891
- "name": "_PUBLIC_PATH",
892
- "module": "src/env/variables.ts"
893
- }
894
- },
895
- {
896
- "kind": "js",
897
- "name": "SOCKET_EXT",
898
- "declaration": {
899
- "name": "_SOCKET_EXT",
900
- "module": "src/env/variables.ts"
901
- }
902
- },
903
- {
904
- "kind": "js",
905
- "name": "FORCE_HTTP",
906
- "declaration": {
907
- "name": "_FORCE_HTTP",
908
- "module": "src/env/variables.ts"
909
- }
910
- },
911
- {
912
- "kind": "js",
913
- "name": "GENESIS_SOCKET_URL",
914
- "declaration": {
915
- "name": "GENESIS_SOCKET_URL",
916
- "module": "src/env/variables.ts"
917
- }
918
- },
919
- {
920
- "kind": "js",
921
- "name": "API_HOST",
922
- "declaration": {
923
- "name": "_API_HOST",
924
- "module": "src/env/variables.ts"
925
- }
926
- },
927
- {
928
- "kind": "js",
929
- "name": "HTTP_CONFIG",
930
- "declaration": {
931
- "name": "_HTTP_CONFIG",
932
- "module": "src/env/variables.ts"
933
- }
934
- },
935
- {
936
- "kind": "js",
937
- "name": "DEFAULT_ORGANISATION",
938
- "declaration": {
939
- "name": "_DEFAULT_ORGANISATION",
940
- "module": "src/env/variables.ts"
941
- }
942
- },
943
- {
944
- "kind": "js",
945
- "name": "DEFAULT_PASSWORD",
946
- "declaration": {
947
- "name": "_DEFAULT_PASSWORD",
948
- "module": "src/env/variables.ts"
949
- }
950
- },
951
- {
952
- "kind": "js",
953
- "name": "DEFAULT_USER",
954
- "declaration": {
955
- "name": "_DEFAULT_USER",
956
- "module": "src/env/variables.ts"
957
- }
958
- },
959
- {
960
- "kind": "js",
961
- "name": "LOGIN_URL",
962
- "declaration": {
963
- "name": "LOGIN_URL",
964
- "module": "src/env/variables.ts"
965
- }
966
- },
967
- {
968
- "kind": "js",
969
- "name": "LOGIN_REFRESH_URL",
970
- "declaration": {
971
- "name": "LOGIN_REFRESH_URL",
972
- "module": "src/env/variables.ts"
973
- }
974
- },
975
- {
976
- "kind": "js",
977
- "name": "LOGIN_DETAILS_URL",
978
- "declaration": {
979
- "name": "LOGIN_DETAILS_URL",
980
- "module": "src/env/variables.ts"
981
- }
982
- },
983
- {
984
- "kind": "js",
985
- "name": "LOGOUT_URL",
578
+ "name": "BUILDER",
579
+ "declaration": {
580
+ "name": "_BUILDER",
581
+ "module": "src/env/variables.ts"
582
+ }
583
+ },
584
+ {
585
+ "kind": "js",
586
+ "name": "PUBLIC_PATH",
587
+ "declaration": {
588
+ "name": "_PUBLIC_PATH",
589
+ "module": "src/env/variables.ts"
590
+ }
591
+ },
592
+ {
593
+ "kind": "js",
594
+ "name": "SOCKET_EXT",
595
+ "declaration": {
596
+ "name": "_SOCKET_EXT",
597
+ "module": "src/env/variables.ts"
598
+ }
599
+ },
600
+ {
601
+ "kind": "js",
602
+ "name": "FORCE_HTTP",
603
+ "declaration": {
604
+ "name": "_FORCE_HTTP",
605
+ "module": "src/env/variables.ts"
606
+ }
607
+ },
608
+ {
609
+ "kind": "js",
610
+ "name": "GENESIS_SOCKET_URL",
611
+ "declaration": {
612
+ "name": "GENESIS_SOCKET_URL",
613
+ "module": "src/env/variables.ts"
614
+ }
615
+ },
616
+ {
617
+ "kind": "js",
618
+ "name": "API_HOST",
619
+ "declaration": {
620
+ "name": "_API_HOST",
621
+ "module": "src/env/variables.ts"
622
+ }
623
+ },
624
+ {
625
+ "kind": "js",
626
+ "name": "HTTP_CONFIG",
627
+ "declaration": {
628
+ "name": "_HTTP_CONFIG",
629
+ "module": "src/env/variables.ts"
630
+ }
631
+ },
632
+ {
633
+ "kind": "js",
634
+ "name": "DEFAULT_ORGANISATION",
635
+ "declaration": {
636
+ "name": "_DEFAULT_ORGANISATION",
637
+ "module": "src/env/variables.ts"
638
+ }
639
+ },
640
+ {
641
+ "kind": "js",
642
+ "name": "DEFAULT_PASSWORD",
643
+ "declaration": {
644
+ "name": "_DEFAULT_PASSWORD",
645
+ "module": "src/env/variables.ts"
646
+ }
647
+ },
648
+ {
649
+ "kind": "js",
650
+ "name": "DEFAULT_USER",
651
+ "declaration": {
652
+ "name": "_DEFAULT_USER",
653
+ "module": "src/env/variables.ts"
654
+ }
655
+ },
656
+ {
657
+ "kind": "js",
658
+ "name": "LOGIN_URL",
659
+ "declaration": {
660
+ "name": "LOGIN_URL",
661
+ "module": "src/env/variables.ts"
662
+ }
663
+ },
664
+ {
665
+ "kind": "js",
666
+ "name": "LOGIN_REFRESH_URL",
667
+ "declaration": {
668
+ "name": "LOGIN_REFRESH_URL",
669
+ "module": "src/env/variables.ts"
670
+ }
671
+ },
672
+ {
673
+ "kind": "js",
674
+ "name": "LOGIN_DETAILS_URL",
675
+ "declaration": {
676
+ "name": "LOGIN_DETAILS_URL",
677
+ "module": "src/env/variables.ts"
678
+ }
679
+ },
680
+ {
681
+ "kind": "js",
682
+ "name": "LOGOUT_URL",
683
+ "declaration": {
684
+ "name": "LOGOUT_URL",
685
+ "module": "src/env/variables.ts"
686
+ }
687
+ },
688
+ {
689
+ "kind": "js",
690
+ "name": "CHANGE_PASSWORD_URL",
691
+ "declaration": {
692
+ "name": "CHANGE_PASSWORD_URL",
693
+ "module": "src/env/variables.ts"
694
+ }
695
+ },
696
+ {
697
+ "kind": "js",
698
+ "name": "FORGOT_PASSWORD_URL",
699
+ "declaration": {
700
+ "name": "FORGOT_PASSWORD_URL",
701
+ "module": "src/env/variables.ts"
702
+ }
703
+ },
704
+ {
705
+ "kind": "js",
706
+ "name": "RESET_PASSWORD_URL",
707
+ "declaration": {
708
+ "name": "RESET_PASSWORD_URL",
709
+ "module": "src/env/variables.ts"
710
+ }
711
+ },
712
+ {
713
+ "kind": "js",
714
+ "name": "SSO_LIST_URL",
715
+ "declaration": {
716
+ "name": "SSO_LIST_URL",
717
+ "module": "src/env/variables.ts"
718
+ }
719
+ },
720
+ {
721
+ "kind": "js",
722
+ "name": "SSO_LOGIN_URL",
723
+ "declaration": {
724
+ "name": "SSO_LOGIN_URL",
725
+ "module": "src/env/variables.ts"
726
+ }
727
+ },
728
+ {
729
+ "kind": "js",
730
+ "name": "ENVIRONMENT_LEVEL",
731
+ "declaration": {
732
+ "name": "ENVIRONMENT_LEVEL",
733
+ "module": "src/env/variables.ts"
734
+ }
735
+ },
736
+ {
737
+ "kind": "js",
738
+ "name": "ACCEPT_TERMS_URL",
739
+ "declaration": {
740
+ "name": "ACCEPT_TERMS_URL",
741
+ "module": "src/env/variables.ts"
742
+ }
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ "kind": "javascript-module",
748
+ "path": "src/data/inMemoryDatabase.ts",
749
+ "declarations": [
750
+ {
751
+ "kind": "class",
752
+ "description": "An in memory database of specific DatabaseRecord types.",
753
+ "name": "InMemoryDatabase",
754
+ "members": [
755
+ {
756
+ "kind": "field",
757
+ "name": "isWorking",
758
+ "type": {
759
+ "text": "boolean"
760
+ },
761
+ "privacy": "public",
762
+ "default": "false"
763
+ },
764
+ {
765
+ "kind": "field",
766
+ "name": "records",
767
+ "type": {
768
+ "text": "Record<string, T>"
769
+ },
770
+ "privacy": "private",
771
+ "default": "{}"
772
+ },
773
+ {
774
+ "kind": "field",
775
+ "name": "beforeUpdateListeners",
776
+ "privacy": "private"
777
+ },
778
+ {
779
+ "kind": "field",
780
+ "name": "afterUpdateListeners",
781
+ "privacy": "private"
782
+ },
783
+ {
784
+ "kind": "method",
785
+ "name": "create",
786
+ "privacy": "public",
787
+ "return": {
788
+ "type": {
789
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
790
+ }
791
+ },
792
+ "parameters": [
793
+ {
794
+ "name": "newValue",
795
+ "type": {
796
+ "text": "Omit<T, 'id'>"
797
+ }
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "kind": "method",
803
+ "name": "read",
804
+ "privacy": "public",
805
+ "return": {
806
+ "type": {
807
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
808
+ }
809
+ },
810
+ "parameters": [
811
+ {
812
+ "name": "id",
813
+ "type": {
814
+ "text": "string"
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "kind": "method",
821
+ "name": "update",
822
+ "privacy": "public",
823
+ "return": {
824
+ "type": {
825
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
826
+ }
827
+ },
828
+ "parameters": [
829
+ {
830
+ "name": "id",
831
+ "type": {
832
+ "text": "string"
833
+ }
834
+ },
835
+ {
836
+ "name": "newValue",
837
+ "type": {
838
+ "text": "Omit<Partial<T>, 'id'>"
839
+ }
840
+ }
841
+ ]
842
+ },
843
+ {
844
+ "kind": "method",
845
+ "name": "delete",
846
+ "privacy": "public",
847
+ "return": {
848
+ "type": {
849
+ "text": "Promise<DatabaseAccessResult.Delete>"
850
+ }
851
+ },
852
+ "parameters": [
853
+ {
854
+ "name": "id",
855
+ "type": {
856
+ "text": "string"
857
+ }
858
+ }
859
+ ]
860
+ },
861
+ {
862
+ "kind": "method",
863
+ "name": "visit",
864
+ "privacy": "public",
865
+ "return": {
866
+ "type": {
867
+ "text": "Promise<void>"
868
+ }
869
+ },
870
+ "parameters": [
871
+ {
872
+ "name": "visitor",
873
+ "type": {
874
+ "text": "(record: T) => void"
875
+ }
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ "kind": "method",
881
+ "name": "onBeforeUpdate",
882
+ "privacy": "public",
883
+ "return": {
884
+ "type": {
885
+ "text": "() => void"
886
+ }
887
+ },
888
+ "parameters": [
889
+ {
890
+ "name": "listener",
891
+ "type": {
892
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
893
+ }
894
+ }
895
+ ]
896
+ },
897
+ {
898
+ "kind": "method",
899
+ "name": "onAfterUpdate",
900
+ "privacy": "public",
901
+ "return": {
902
+ "type": {
903
+ "text": "() => void"
904
+ }
905
+ },
906
+ "parameters": [
907
+ {
908
+ "name": "listener",
909
+ "type": {
910
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
911
+ }
912
+ }
913
+ ]
914
+ }
915
+ ]
916
+ }
917
+ ],
918
+ "exports": [
919
+ {
920
+ "kind": "js",
921
+ "name": "InMemoryDatabase",
986
922
  "declaration": {
987
- "name": "LOGOUT_URL",
988
- "module": "src/env/variables.ts"
923
+ "name": "InMemoryDatabase",
924
+ "module": "src/data/inMemoryDatabase.ts"
989
925
  }
990
- },
926
+ }
927
+ ]
928
+ },
929
+ {
930
+ "kind": "javascript-module",
931
+ "path": "src/data/index.ts",
932
+ "declarations": [],
933
+ "exports": [
991
934
  {
992
935
  "kind": "js",
993
- "name": "CHANGE_PASSWORD_URL",
936
+ "name": "*",
994
937
  "declaration": {
995
- "name": "CHANGE_PASSWORD_URL",
996
- "module": "src/env/variables.ts"
938
+ "name": "*",
939
+ "package": "./inMemoryDatabase"
997
940
  }
998
- },
941
+ }
942
+ ]
943
+ },
944
+ {
945
+ "kind": "javascript-module",
946
+ "path": "src/design-system/design-system.ts",
947
+ "declarations": [
999
948
  {
1000
- "kind": "js",
1001
- "name": "FORGOT_PASSWORD_URL",
1002
- "declaration": {
1003
- "name": "FORGOT_PASSWORD_URL",
1004
- "module": "src/env/variables.ts"
1005
- }
949
+ "kind": "function",
950
+ "name": "assureDesignSystem",
951
+ "return": {
952
+ "type": {
953
+ "text": "DesignSystemModule"
954
+ }
955
+ },
956
+ "parameters": [
957
+ {
958
+ "name": "module",
959
+ "type": {
960
+ "text": "DesignSystemModule"
961
+ }
962
+ }
963
+ ],
964
+ "description": "assureDesignSystem.",
965
+ "privacy": "public"
1006
966
  },
1007
967
  {
1008
- "kind": "js",
1009
- "name": "RESET_PASSWORD_URL",
1010
- "declaration": {
1011
- "name": "RESET_PASSWORD_URL",
1012
- "module": "src/env/variables.ts"
1013
- }
968
+ "kind": "function",
969
+ "name": "getCurrentDesignSystem",
970
+ "return": {
971
+ "type": {
972
+ "text": ""
973
+ }
974
+ },
975
+ "parameters": [
976
+ {
977
+ "name": "element",
978
+ "type": {
979
+ "text": "HTMLElement"
980
+ },
981
+ "description": "The starting HTML element"
982
+ },
983
+ {
984
+ "name": "fallbackPrefix",
985
+ "type": {
986
+ "text": "string"
987
+ },
988
+ "description": "The prefix to fallback to if the provider is not available"
989
+ }
990
+ ],
991
+ "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.",
992
+ "privacy": "public"
1014
993
  },
1015
994
  {
1016
- "kind": "js",
1017
- "name": "SSO_LIST_URL",
1018
- "declaration": {
1019
- "name": "SSO_LIST_URL",
1020
- "module": "src/env/variables.ts"
1021
- }
1022
- },
995
+ "kind": "function",
996
+ "name": "getCurrentDesignSystemPrefix",
997
+ "return": {
998
+ "type": {
999
+ "text": ""
1000
+ }
1001
+ },
1002
+ "parameters": [
1003
+ {
1004
+ "name": "element",
1005
+ "type": {
1006
+ "text": "HTMLElement"
1007
+ },
1008
+ "description": "The starting HTML element"
1009
+ },
1010
+ {
1011
+ "name": "fallbackPrefix",
1012
+ "type": {
1013
+ "text": "string"
1014
+ },
1015
+ "description": "The prefix to fallback to if the provider is not available"
1016
+ }
1017
+ ],
1018
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1019
+ "privacy": "public"
1020
+ }
1021
+ ],
1022
+ "exports": [
1023
1023
  {
1024
1024
  "kind": "js",
1025
- "name": "SSO_LOGIN_URL",
1025
+ "name": "assureDesignSystem",
1026
1026
  "declaration": {
1027
- "name": "SSO_LOGIN_URL",
1028
- "module": "src/env/variables.ts"
1027
+ "name": "assureDesignSystem",
1028
+ "module": "src/design-system/design-system.ts"
1029
1029
  }
1030
1030
  },
1031
1031
  {
1032
1032
  "kind": "js",
1033
- "name": "ENVIRONMENT_LEVEL",
1033
+ "name": "getCurrentDesignSystem",
1034
1034
  "declaration": {
1035
- "name": "ENVIRONMENT_LEVEL",
1036
- "module": "src/env/variables.ts"
1035
+ "name": "getCurrentDesignSystem",
1036
+ "module": "src/design-system/design-system.ts"
1037
1037
  }
1038
1038
  },
1039
1039
  {
1040
1040
  "kind": "js",
1041
- "name": "ACCEPT_TERMS_URL",
1041
+ "name": "getCurrentDesignSystemPrefix",
1042
1042
  "declaration": {
1043
- "name": "ACCEPT_TERMS_URL",
1044
- "module": "src/env/variables.ts"
1043
+ "name": "getCurrentDesignSystemPrefix",
1044
+ "module": "src/design-system/design-system.ts"
1045
1045
  }
1046
1046
  }
1047
1047
  ]
1048
1048
  },
1049
1049
  {
1050
1050
  "kind": "javascript-module",
1051
- "path": "src/encoding/index.ts",
1051
+ "path": "src/design-system/index.ts",
1052
1052
  "declarations": [],
1053
1053
  "exports": [
1054
1054
  {
@@ -1056,7 +1056,7 @@
1056
1056
  "name": "*",
1057
1057
  "declaration": {
1058
1058
  "name": "*",
1059
- "package": "./base64"
1059
+ "package": "./design-system"
1060
1060
  }
1061
1061
  }
1062
1062
  ]
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.312.1-alpha-5946baf.0",
4
+ "version": "14.312.1-alpha-2a2b7d6.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.312.1-alpha-5946baf.0",
31
- "@genesislcap/genx": "14.312.1-alpha-5946baf.0",
32
- "@genesislcap/rollup-builder": "14.312.1-alpha-5946baf.0",
33
- "@genesislcap/ts-builder": "14.312.1-alpha-5946baf.0",
34
- "@genesislcap/uvu-playwright-builder": "14.312.1-alpha-5946baf.0",
35
- "@genesislcap/vite-builder": "14.312.1-alpha-5946baf.0",
36
- "@genesislcap/webpack-builder": "14.312.1-alpha-5946baf.0",
30
+ "@genesislcap/foundation-testing": "14.312.1-alpha-2a2b7d6.0",
31
+ "@genesislcap/genx": "14.312.1-alpha-2a2b7d6.0",
32
+ "@genesislcap/rollup-builder": "14.312.1-alpha-2a2b7d6.0",
33
+ "@genesislcap/ts-builder": "14.312.1-alpha-2a2b7d6.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.312.1-alpha-2a2b7d6.0",
35
+ "@genesislcap/vite-builder": "14.312.1-alpha-2a2b7d6.0",
36
+ "@genesislcap/webpack-builder": "14.312.1-alpha-2a2b7d6.0",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.312.1-alpha-5946baf.0",
41
- "@genesislcap/foundation-logger": "14.312.1-alpha-5946baf.0",
40
+ "@genesislcap/expression-builder": "14.312.1-alpha-2a2b7d6.0",
41
+ "@genesislcap/foundation-logger": "14.312.1-alpha-2a2b7d6.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": "e72998eaba0a987240eb5e42350dc2701b250c14"
59
+ "gitHead": "ce43b3b2211539be2f2d4b2d38134287a08ad51f"
60
60
  }