@genesislcap/foundation-utils 14.354.4-alpha-0d2b3fc.0 → 14.354.4-alpha-0e869c9.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 +270 -270
  2. package/package.json +11 -11
@@ -385,120 +385,23 @@
385
385
  },
386
386
  {
387
387
  "kind": "javascript-module",
388
- "path": "src/design-system/design-system.ts",
389
- "declarations": [
390
- {
391
- "kind": "function",
392
- "name": "assureDesignSystem",
393
- "return": {
394
- "type": {
395
- "text": "DesignSystemModule"
396
- }
397
- },
398
- "parameters": [
399
- {
400
- "name": "module",
401
- "type": {
402
- "text": "DesignSystemModule"
403
- }
404
- }
405
- ],
406
- "description": "assureDesignSystem.",
407
- "privacy": "public"
408
- },
409
- {
410
- "kind": "function",
411
- "name": "getCurrentDesignSystem",
412
- "return": {
413
- "type": {
414
- "text": ""
415
- }
416
- },
417
- "parameters": [
418
- {
419
- "name": "element",
420
- "type": {
421
- "text": "HTMLElement"
422
- },
423
- "description": "The starting HTML element"
424
- },
425
- {
426
- "name": "fallbackPrefix",
427
- "type": {
428
- "text": "string"
429
- },
430
- "description": "The prefix to fallback to if the provider is not available"
431
- }
432
- ],
433
- "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.",
434
- "privacy": "public"
435
- },
436
- {
437
- "kind": "function",
438
- "name": "getCurrentDesignSystemPrefix",
439
- "return": {
440
- "type": {
441
- "text": ""
442
- }
443
- },
444
- "parameters": [
445
- {
446
- "name": "element",
447
- "type": {
448
- "text": "HTMLElement"
449
- },
450
- "description": "The starting HTML element"
451
- },
452
- {
453
- "name": "fallbackPrefix",
454
- "type": {
455
- "text": "string"
456
- },
457
- "description": "The prefix to fallback to if the provider is not available"
458
- }
459
- ],
460
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
461
- "privacy": "public"
462
- }
463
- ],
388
+ "path": "src/directives/index.ts",
389
+ "declarations": [],
464
390
  "exports": [
465
391
  {
466
392
  "kind": "js",
467
- "name": "assureDesignSystem",
468
- "declaration": {
469
- "name": "assureDesignSystem",
470
- "module": "src/design-system/design-system.ts"
471
- }
472
- },
473
- {
474
- "kind": "js",
475
- "name": "getCurrentDesignSystem",
393
+ "name": "*",
476
394
  "declaration": {
477
- "name": "getCurrentDesignSystem",
478
- "module": "src/design-system/design-system.ts"
395
+ "name": "*",
396
+ "package": "./sync"
479
397
  }
480
398
  },
481
- {
482
- "kind": "js",
483
- "name": "getCurrentDesignSystemPrefix",
484
- "declaration": {
485
- "name": "getCurrentDesignSystemPrefix",
486
- "module": "src/design-system/design-system.ts"
487
- }
488
- }
489
- ]
490
- },
491
- {
492
- "kind": "javascript-module",
493
- "path": "src/design-system/index.ts",
494
- "declarations": [],
495
- "exports": [
496
399
  {
497
400
  "kind": "js",
498
401
  "name": "*",
499
402
  "declaration": {
500
403
  "name": "*",
501
- "package": "./design-system"
404
+ "package": "./when-else"
502
405
  }
503
406
  }
504
407
  ]
@@ -558,174 +461,57 @@
558
461
  },
559
462
  {
560
463
  "kind": "javascript-module",
561
- "path": "src/directives/index.ts",
562
- "declarations": [],
563
- "exports": [
564
- {
565
- "kind": "js",
566
- "name": "*",
567
- "declaration": {
568
- "name": "*",
569
- "package": "./sync"
570
- }
571
- },
572
- {
573
- "kind": "js",
574
- "name": "*",
575
- "declaration": {
576
- "name": "*",
577
- "package": "./when-else"
578
- }
579
- }
580
- ]
581
- },
582
- {
583
- "kind": "javascript-module",
584
- "path": "src/error/errorMap.ts",
464
+ "path": "src/design-system/design-system.ts",
585
465
  "declarations": [
586
466
  {
587
- "kind": "class",
588
- "description": "",
589
- "name": "DefaultErrorMap",
590
- "members": [
591
- {
592
- "kind": "field",
593
- "name": "map",
594
- "privacy": "private",
595
- "default": "new Map<keyof TErrorDetailMap, Error>()"
596
- },
467
+ "kind": "function",
468
+ "name": "assureDesignSystem",
469
+ "return": {
470
+ "type": {
471
+ "text": "DesignSystemModule"
472
+ }
473
+ },
474
+ "parameters": [
597
475
  {
598
- "kind": "field",
599
- "name": "lastError",
476
+ "name": "module",
600
477
  "type": {
601
- "text": "Error"
602
- },
603
- "description": "{@inheritDoc ErrorMap.lastError}"
604
- },
605
- {
606
- "kind": "method",
607
- "name": "set",
608
- "return": {
609
- "type": {
610
- "text": "void"
611
- }
612
- },
613
- "parameters": [
614
- {
615
- "name": "key",
616
- "type": {
617
- "text": "keyof TErrorDetailMap"
618
- }
619
- },
620
- {
621
- "name": "error",
622
- "type": {
623
- "text": "Error"
624
- }
625
- }
626
- ],
627
- "description": "{@inheritDoc ErrorMap.set}"
628
- },
629
- {
630
- "kind": "method",
631
- "name": "get",
632
- "return": {
633
- "type": {
634
- "text": ""
635
- }
636
- },
637
- "parameters": [
638
- {
639
- "name": "key",
640
- "type": {
641
- "text": "keyof TErrorDetailMap"
642
- },
643
- "description": "The key."
644
- }
645
- ],
646
- "description": "Get an error by key.",
647
- "privacy": "public"
648
- },
649
- {
650
- "kind": "method",
651
- "name": "has",
652
- "return": {
653
- "type": {
654
- "text": ""
655
- }
656
- },
657
- "parameters": [
658
- {
659
- "name": "key",
660
- "type": {
661
- "text": "keyof TErrorDetailMap"
662
- },
663
- "description": "The key."
664
- }
665
- ],
666
- "description": "Has an error for key.",
667
- "privacy": "public"
668
- },
669
- {
670
- "kind": "method",
671
- "name": "delete",
672
- "return": {
673
- "type": {
674
- "text": ""
675
- }
676
- },
677
- "parameters": [
678
- {
679
- "name": "key",
680
- "type": {
681
- "text": "keyof TErrorDetailMap"
682
- },
683
- "description": "The key."
684
- }
685
- ],
686
- "description": "Delete an error.",
687
- "privacy": "public"
688
- },
689
- {
690
- "kind": "method",
691
- "name": "clear",
692
- "description": "Clear errors.",
693
- "privacy": "public"
694
- },
478
+ "text": "DesignSystemModule"
479
+ }
480
+ }
481
+ ],
482
+ "description": "assureDesignSystem.",
483
+ "privacy": "public"
484
+ },
485
+ {
486
+ "kind": "function",
487
+ "name": "getCurrentDesignSystem",
488
+ "return": {
489
+ "type": {
490
+ "text": ""
491
+ }
492
+ },
493
+ "parameters": [
695
494
  {
696
- "kind": "field",
697
- "name": "size",
495
+ "name": "element",
698
496
  "type": {
699
- "text": "number"
700
- },
701
- "description": "The size of the error map.",
702
- "return": {
703
- "type": {
704
- "text": ""
705
- }
706
- },
707
- "privacy": "public",
708
- "readonly": true
709
- },
710
- {
711
- "kind": "method",
712
- "name": "values",
713
- "privacy": "public"
497
+ "text": "HTMLElement"
498
+ },
499
+ "description": "The starting HTML element"
714
500
  },
715
501
  {
716
- "kind": "field",
717
- "name": "messages",
502
+ "name": "fallbackPrefix",
718
503
  "type": {
719
504
  "text": "string"
720
505
  },
721
- "description": "{@inheritDoc ErrorMap.messages}",
722
- "readonly": true
506
+ "description": "The prefix to fallback to if the provider is not available"
723
507
  }
724
- ]
508
+ ],
509
+ "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.",
510
+ "privacy": "public"
725
511
  },
726
512
  {
727
513
  "kind": "function",
728
- "name": "createErrorMap",
514
+ "name": "getCurrentDesignSystemPrefix",
729
515
  "return": {
730
516
  "type": {
731
517
  "text": ""
@@ -733,39 +519,54 @@
733
519
  },
734
520
  "parameters": [
735
521
  {
736
- "name": "logger",
522
+ "name": "element",
737
523
  "type": {
738
- "text": "ErrorMapLogger"
524
+ "text": "HTMLElement"
739
525
  },
740
- "description": "A logger error method reference."
526
+ "description": "The starting HTML element"
527
+ },
528
+ {
529
+ "name": "fallbackPrefix",
530
+ "type": {
531
+ "text": "string"
532
+ },
533
+ "description": "The prefix to fallback to if the provider is not available"
741
534
  }
742
535
  ],
743
- "description": "A factory to create the error map.",
536
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
744
537
  "privacy": "public"
745
538
  }
746
539
  ],
747
540
  "exports": [
748
541
  {
749
542
  "kind": "js",
750
- "name": "DefaultErrorMap",
543
+ "name": "assureDesignSystem",
751
544
  "declaration": {
752
- "name": "DefaultErrorMap",
753
- "module": "src/error/errorMap.ts"
545
+ "name": "assureDesignSystem",
546
+ "module": "src/design-system/design-system.ts"
754
547
  }
755
548
  },
756
549
  {
757
550
  "kind": "js",
758
- "name": "createErrorMap",
551
+ "name": "getCurrentDesignSystem",
759
552
  "declaration": {
760
- "name": "createErrorMap",
761
- "module": "src/error/errorMap.ts"
553
+ "name": "getCurrentDesignSystem",
554
+ "module": "src/design-system/design-system.ts"
555
+ }
556
+ },
557
+ {
558
+ "kind": "js",
559
+ "name": "getCurrentDesignSystemPrefix",
560
+ "declaration": {
561
+ "name": "getCurrentDesignSystemPrefix",
562
+ "module": "src/design-system/design-system.ts"
762
563
  }
763
564
  }
764
565
  ]
765
566
  },
766
567
  {
767
568
  "kind": "javascript-module",
768
- "path": "src/error/index.ts",
569
+ "path": "src/design-system/index.ts",
769
570
  "declarations": [],
770
571
  "exports": [
771
572
  {
@@ -773,7 +574,22 @@
773
574
  "name": "*",
774
575
  "declaration": {
775
576
  "name": "*",
776
- "package": "./errorMap"
577
+ "package": "./design-system"
578
+ }
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "kind": "javascript-module",
584
+ "path": "src/encoding/index.ts",
585
+ "declarations": [],
586
+ "exports": [
587
+ {
588
+ "kind": "js",
589
+ "name": "*",
590
+ "declaration": {
591
+ "name": "*",
592
+ "package": "./base64"
777
593
  }
778
594
  }
779
595
  ]
@@ -1255,7 +1071,191 @@
1255
1071
  },
1256
1072
  {
1257
1073
  "kind": "javascript-module",
1258
- "path": "src/encoding/index.ts",
1074
+ "path": "src/error/errorMap.ts",
1075
+ "declarations": [
1076
+ {
1077
+ "kind": "class",
1078
+ "description": "",
1079
+ "name": "DefaultErrorMap",
1080
+ "members": [
1081
+ {
1082
+ "kind": "field",
1083
+ "name": "map",
1084
+ "privacy": "private",
1085
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1086
+ },
1087
+ {
1088
+ "kind": "field",
1089
+ "name": "lastError",
1090
+ "type": {
1091
+ "text": "Error"
1092
+ },
1093
+ "description": "{@inheritDoc ErrorMap.lastError}"
1094
+ },
1095
+ {
1096
+ "kind": "method",
1097
+ "name": "set",
1098
+ "return": {
1099
+ "type": {
1100
+ "text": "void"
1101
+ }
1102
+ },
1103
+ "parameters": [
1104
+ {
1105
+ "name": "key",
1106
+ "type": {
1107
+ "text": "keyof TErrorDetailMap"
1108
+ }
1109
+ },
1110
+ {
1111
+ "name": "error",
1112
+ "type": {
1113
+ "text": "Error"
1114
+ }
1115
+ }
1116
+ ],
1117
+ "description": "{@inheritDoc ErrorMap.set}"
1118
+ },
1119
+ {
1120
+ "kind": "method",
1121
+ "name": "get",
1122
+ "return": {
1123
+ "type": {
1124
+ "text": ""
1125
+ }
1126
+ },
1127
+ "parameters": [
1128
+ {
1129
+ "name": "key",
1130
+ "type": {
1131
+ "text": "keyof TErrorDetailMap"
1132
+ },
1133
+ "description": "The key."
1134
+ }
1135
+ ],
1136
+ "description": "Get an error by key.",
1137
+ "privacy": "public"
1138
+ },
1139
+ {
1140
+ "kind": "method",
1141
+ "name": "has",
1142
+ "return": {
1143
+ "type": {
1144
+ "text": ""
1145
+ }
1146
+ },
1147
+ "parameters": [
1148
+ {
1149
+ "name": "key",
1150
+ "type": {
1151
+ "text": "keyof TErrorDetailMap"
1152
+ },
1153
+ "description": "The key."
1154
+ }
1155
+ ],
1156
+ "description": "Has an error for key.",
1157
+ "privacy": "public"
1158
+ },
1159
+ {
1160
+ "kind": "method",
1161
+ "name": "delete",
1162
+ "return": {
1163
+ "type": {
1164
+ "text": ""
1165
+ }
1166
+ },
1167
+ "parameters": [
1168
+ {
1169
+ "name": "key",
1170
+ "type": {
1171
+ "text": "keyof TErrorDetailMap"
1172
+ },
1173
+ "description": "The key."
1174
+ }
1175
+ ],
1176
+ "description": "Delete an error.",
1177
+ "privacy": "public"
1178
+ },
1179
+ {
1180
+ "kind": "method",
1181
+ "name": "clear",
1182
+ "description": "Clear errors.",
1183
+ "privacy": "public"
1184
+ },
1185
+ {
1186
+ "kind": "field",
1187
+ "name": "size",
1188
+ "type": {
1189
+ "text": "number"
1190
+ },
1191
+ "description": "The size of the error map.",
1192
+ "return": {
1193
+ "type": {
1194
+ "text": ""
1195
+ }
1196
+ },
1197
+ "privacy": "public",
1198
+ "readonly": true
1199
+ },
1200
+ {
1201
+ "kind": "method",
1202
+ "name": "values",
1203
+ "privacy": "public"
1204
+ },
1205
+ {
1206
+ "kind": "field",
1207
+ "name": "messages",
1208
+ "type": {
1209
+ "text": "string"
1210
+ },
1211
+ "description": "{@inheritDoc ErrorMap.messages}",
1212
+ "readonly": true
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "kind": "function",
1218
+ "name": "createErrorMap",
1219
+ "return": {
1220
+ "type": {
1221
+ "text": ""
1222
+ }
1223
+ },
1224
+ "parameters": [
1225
+ {
1226
+ "name": "logger",
1227
+ "type": {
1228
+ "text": "ErrorMapLogger"
1229
+ },
1230
+ "description": "A logger error method reference."
1231
+ }
1232
+ ],
1233
+ "description": "A factory to create the error map.",
1234
+ "privacy": "public"
1235
+ }
1236
+ ],
1237
+ "exports": [
1238
+ {
1239
+ "kind": "js",
1240
+ "name": "DefaultErrorMap",
1241
+ "declaration": {
1242
+ "name": "DefaultErrorMap",
1243
+ "module": "src/error/errorMap.ts"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "js",
1248
+ "name": "createErrorMap",
1249
+ "declaration": {
1250
+ "name": "createErrorMap",
1251
+ "module": "src/error/errorMap.ts"
1252
+ }
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "kind": "javascript-module",
1258
+ "path": "src/error/index.ts",
1259
1259
  "declarations": [],
1260
1260
  "exports": [
1261
1261
  {
@@ -1263,7 +1263,7 @@
1263
1263
  "name": "*",
1264
1264
  "declaration": {
1265
1265
  "name": "*",
1266
- "package": "./base64"
1266
+ "package": "./errorMap"
1267
1267
  }
1268
1268
  }
1269
1269
  ]
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-0d2b3fc.0",
4
+ "version": "14.354.4-alpha-0e869c9.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-0d2b3fc.0",
31
- "@genesislcap/genx": "14.354.4-alpha-0d2b3fc.0",
32
- "@genesislcap/rollup-builder": "14.354.4-alpha-0d2b3fc.0",
33
- "@genesislcap/ts-builder": "14.354.4-alpha-0d2b3fc.0",
34
- "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-0d2b3fc.0",
35
- "@genesislcap/vite-builder": "14.354.4-alpha-0d2b3fc.0",
36
- "@genesislcap/webpack-builder": "14.354.4-alpha-0d2b3fc.0",
30
+ "@genesislcap/foundation-testing": "14.354.4-alpha-0e869c9.0",
31
+ "@genesislcap/genx": "14.354.4-alpha-0e869c9.0",
32
+ "@genesislcap/rollup-builder": "14.354.4-alpha-0e869c9.0",
33
+ "@genesislcap/ts-builder": "14.354.4-alpha-0e869c9.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.354.4-alpha-0e869c9.0",
35
+ "@genesislcap/vite-builder": "14.354.4-alpha-0e869c9.0",
36
+ "@genesislcap/webpack-builder": "14.354.4-alpha-0e869c9.0",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.354.4-alpha-0d2b3fc.0",
41
- "@genesislcap/foundation-logger": "14.354.4-alpha-0d2b3fc.0",
40
+ "@genesislcap/expression-builder": "14.354.4-alpha-0e869c9.0",
41
+ "@genesislcap/foundation-logger": "14.354.4-alpha-0e869c9.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": "d0ff0dbb7fe861b68d9b0ac764fcb697826677a7"
59
+ "gitHead": "5e585e9d1f1b3bf6e357d4c38523db340626a197"
60
60
  }