@genesislcap/foundation-utils 14.382.0 → 14.382.1

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