@genesislcap/foundation-utils 14.354.3-alpha-7cab344.0 → 14.354.4-alpha-0d2b3fc.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.
- package/dist/custom-elements.json +220 -220
- package/package.json +11 -11
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
},
|
|
506
506
|
{
|
|
507
507
|
"kind": "javascript-module",
|
|
508
|
-
"path": "src/
|
|
508
|
+
"path": "src/decorators/index.ts",
|
|
509
509
|
"declarations": [],
|
|
510
510
|
"exports": [
|
|
511
511
|
{
|
|
@@ -513,22 +513,52 @@
|
|
|
513
513
|
"name": "*",
|
|
514
514
|
"declaration": {
|
|
515
515
|
"name": "*",
|
|
516
|
-
"package": "./
|
|
516
|
+
"package": "./renderOnChange"
|
|
517
517
|
}
|
|
518
|
-
}
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"kind": "javascript-module",
|
|
523
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
524
|
+
"declarations": [
|
|
525
|
+
{
|
|
526
|
+
"kind": "function",
|
|
527
|
+
"name": "renderOnChange",
|
|
528
|
+
"parameters": [
|
|
529
|
+
{
|
|
530
|
+
"name": "target",
|
|
531
|
+
"type": {
|
|
532
|
+
"text": "FASTElement & { render(): void }"
|
|
533
|
+
},
|
|
534
|
+
"description": "The target to define the property change handler on."
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "name",
|
|
538
|
+
"type": {
|
|
539
|
+
"text": "string"
|
|
540
|
+
},
|
|
541
|
+
"description": "The property name."
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
545
|
+
"privacy": "public"
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"exports": [
|
|
519
549
|
{
|
|
520
550
|
"kind": "js",
|
|
521
|
-
"name": "
|
|
551
|
+
"name": "renderOnChange",
|
|
522
552
|
"declaration": {
|
|
523
|
-
"name": "
|
|
524
|
-
"
|
|
553
|
+
"name": "renderOnChange",
|
|
554
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
525
555
|
}
|
|
526
556
|
}
|
|
527
557
|
]
|
|
528
558
|
},
|
|
529
559
|
{
|
|
530
560
|
"kind": "javascript-module",
|
|
531
|
-
"path": "src/
|
|
561
|
+
"path": "src/directives/index.ts",
|
|
532
562
|
"declarations": [],
|
|
533
563
|
"exports": [
|
|
534
564
|
{
|
|
@@ -536,45 +566,214 @@
|
|
|
536
566
|
"name": "*",
|
|
537
567
|
"declaration": {
|
|
538
568
|
"name": "*",
|
|
539
|
-
"package": "./
|
|
569
|
+
"package": "./sync"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"kind": "js",
|
|
574
|
+
"name": "*",
|
|
575
|
+
"declaration": {
|
|
576
|
+
"name": "*",
|
|
577
|
+
"package": "./when-else"
|
|
540
578
|
}
|
|
541
579
|
}
|
|
542
580
|
]
|
|
543
581
|
},
|
|
544
582
|
{
|
|
545
583
|
"kind": "javascript-module",
|
|
546
|
-
"path": "src/
|
|
584
|
+
"path": "src/error/errorMap.ts",
|
|
547
585
|
"declarations": [
|
|
548
586
|
{
|
|
549
|
-
"kind": "
|
|
550
|
-
"
|
|
551
|
-
"
|
|
587
|
+
"kind": "class",
|
|
588
|
+
"description": "",
|
|
589
|
+
"name": "DefaultErrorMap",
|
|
590
|
+
"members": [
|
|
552
591
|
{
|
|
553
|
-
"
|
|
592
|
+
"kind": "field",
|
|
593
|
+
"name": "map",
|
|
594
|
+
"privacy": "private",
|
|
595
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"kind": "field",
|
|
599
|
+
"name": "lastError",
|
|
554
600
|
"type": {
|
|
555
|
-
"text": "
|
|
601
|
+
"text": "Error"
|
|
556
602
|
},
|
|
557
|
-
"description": "
|
|
603
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
558
604
|
},
|
|
559
605
|
{
|
|
560
|
-
"
|
|
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
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"kind": "field",
|
|
697
|
+
"name": "size",
|
|
698
|
+
"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"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"kind": "field",
|
|
717
|
+
"name": "messages",
|
|
561
718
|
"type": {
|
|
562
719
|
"text": "string"
|
|
563
720
|
},
|
|
564
|
-
"description": "
|
|
721
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
722
|
+
"readonly": true
|
|
723
|
+
}
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"kind": "function",
|
|
728
|
+
"name": "createErrorMap",
|
|
729
|
+
"return": {
|
|
730
|
+
"type": {
|
|
731
|
+
"text": ""
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"parameters": [
|
|
735
|
+
{
|
|
736
|
+
"name": "logger",
|
|
737
|
+
"type": {
|
|
738
|
+
"text": "ErrorMapLogger"
|
|
739
|
+
},
|
|
740
|
+
"description": "A logger error method reference."
|
|
565
741
|
}
|
|
566
742
|
],
|
|
567
|
-
"description": "
|
|
743
|
+
"description": "A factory to create the error map.",
|
|
568
744
|
"privacy": "public"
|
|
569
745
|
}
|
|
570
746
|
],
|
|
571
747
|
"exports": [
|
|
572
748
|
{
|
|
573
749
|
"kind": "js",
|
|
574
|
-
"name": "
|
|
750
|
+
"name": "DefaultErrorMap",
|
|
575
751
|
"declaration": {
|
|
576
|
-
"name": "
|
|
577
|
-
"module": "src/
|
|
752
|
+
"name": "DefaultErrorMap",
|
|
753
|
+
"module": "src/error/errorMap.ts"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "js",
|
|
758
|
+
"name": "createErrorMap",
|
|
759
|
+
"declaration": {
|
|
760
|
+
"name": "createErrorMap",
|
|
761
|
+
"module": "src/error/errorMap.ts"
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"kind": "javascript-module",
|
|
768
|
+
"path": "src/error/index.ts",
|
|
769
|
+
"declarations": [],
|
|
770
|
+
"exports": [
|
|
771
|
+
{
|
|
772
|
+
"kind": "js",
|
|
773
|
+
"name": "*",
|
|
774
|
+
"declaration": {
|
|
775
|
+
"name": "*",
|
|
776
|
+
"package": "./errorMap"
|
|
578
777
|
}
|
|
579
778
|
}
|
|
580
779
|
]
|
|
@@ -1054,205 +1253,6 @@
|
|
|
1054
1253
|
}
|
|
1055
1254
|
]
|
|
1056
1255
|
},
|
|
1057
|
-
{
|
|
1058
|
-
"kind": "javascript-module",
|
|
1059
|
-
"path": "src/error/errorMap.ts",
|
|
1060
|
-
"declarations": [
|
|
1061
|
-
{
|
|
1062
|
-
"kind": "class",
|
|
1063
|
-
"description": "",
|
|
1064
|
-
"name": "DefaultErrorMap",
|
|
1065
|
-
"members": [
|
|
1066
|
-
{
|
|
1067
|
-
"kind": "field",
|
|
1068
|
-
"name": "map",
|
|
1069
|
-
"privacy": "private",
|
|
1070
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"kind": "field",
|
|
1074
|
-
"name": "lastError",
|
|
1075
|
-
"type": {
|
|
1076
|
-
"text": "Error"
|
|
1077
|
-
},
|
|
1078
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "method",
|
|
1082
|
-
"name": "set",
|
|
1083
|
-
"return": {
|
|
1084
|
-
"type": {
|
|
1085
|
-
"text": "void"
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
"parameters": [
|
|
1089
|
-
{
|
|
1090
|
-
"name": "key",
|
|
1091
|
-
"type": {
|
|
1092
|
-
"text": "keyof TErrorDetailMap"
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"name": "error",
|
|
1097
|
-
"type": {
|
|
1098
|
-
"text": "Error"
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
],
|
|
1102
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
"kind": "method",
|
|
1106
|
-
"name": "get",
|
|
1107
|
-
"return": {
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": ""
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
"parameters": [
|
|
1113
|
-
{
|
|
1114
|
-
"name": "key",
|
|
1115
|
-
"type": {
|
|
1116
|
-
"text": "keyof TErrorDetailMap"
|
|
1117
|
-
},
|
|
1118
|
-
"description": "The key."
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
"description": "Get an error by key.",
|
|
1122
|
-
"privacy": "public"
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
"kind": "method",
|
|
1126
|
-
"name": "has",
|
|
1127
|
-
"return": {
|
|
1128
|
-
"type": {
|
|
1129
|
-
"text": ""
|
|
1130
|
-
}
|
|
1131
|
-
},
|
|
1132
|
-
"parameters": [
|
|
1133
|
-
{
|
|
1134
|
-
"name": "key",
|
|
1135
|
-
"type": {
|
|
1136
|
-
"text": "keyof TErrorDetailMap"
|
|
1137
|
-
},
|
|
1138
|
-
"description": "The key."
|
|
1139
|
-
}
|
|
1140
|
-
],
|
|
1141
|
-
"description": "Has an error for key.",
|
|
1142
|
-
"privacy": "public"
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"kind": "method",
|
|
1146
|
-
"name": "delete",
|
|
1147
|
-
"return": {
|
|
1148
|
-
"type": {
|
|
1149
|
-
"text": ""
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
"parameters": [
|
|
1153
|
-
{
|
|
1154
|
-
"name": "key",
|
|
1155
|
-
"type": {
|
|
1156
|
-
"text": "keyof TErrorDetailMap"
|
|
1157
|
-
},
|
|
1158
|
-
"description": "The key."
|
|
1159
|
-
}
|
|
1160
|
-
],
|
|
1161
|
-
"description": "Delete an error.",
|
|
1162
|
-
"privacy": "public"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"kind": "method",
|
|
1166
|
-
"name": "clear",
|
|
1167
|
-
"description": "Clear errors.",
|
|
1168
|
-
"privacy": "public"
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
"kind": "field",
|
|
1172
|
-
"name": "size",
|
|
1173
|
-
"type": {
|
|
1174
|
-
"text": "number"
|
|
1175
|
-
},
|
|
1176
|
-
"description": "The size of the error map.",
|
|
1177
|
-
"return": {
|
|
1178
|
-
"type": {
|
|
1179
|
-
"text": ""
|
|
1180
|
-
}
|
|
1181
|
-
},
|
|
1182
|
-
"privacy": "public",
|
|
1183
|
-
"readonly": true
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
"kind": "method",
|
|
1187
|
-
"name": "values",
|
|
1188
|
-
"privacy": "public"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"kind": "field",
|
|
1192
|
-
"name": "messages",
|
|
1193
|
-
"type": {
|
|
1194
|
-
"text": "string"
|
|
1195
|
-
},
|
|
1196
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
1197
|
-
"readonly": true
|
|
1198
|
-
}
|
|
1199
|
-
]
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "function",
|
|
1203
|
-
"name": "createErrorMap",
|
|
1204
|
-
"return": {
|
|
1205
|
-
"type": {
|
|
1206
|
-
"text": ""
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
"parameters": [
|
|
1210
|
-
{
|
|
1211
|
-
"name": "logger",
|
|
1212
|
-
"type": {
|
|
1213
|
-
"text": "ErrorMapLogger"
|
|
1214
|
-
},
|
|
1215
|
-
"description": "A logger error method reference."
|
|
1216
|
-
}
|
|
1217
|
-
],
|
|
1218
|
-
"description": "A factory to create the error map.",
|
|
1219
|
-
"privacy": "public"
|
|
1220
|
-
}
|
|
1221
|
-
],
|
|
1222
|
-
"exports": [
|
|
1223
|
-
{
|
|
1224
|
-
"kind": "js",
|
|
1225
|
-
"name": "DefaultErrorMap",
|
|
1226
|
-
"declaration": {
|
|
1227
|
-
"name": "DefaultErrorMap",
|
|
1228
|
-
"module": "src/error/errorMap.ts"
|
|
1229
|
-
}
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
"kind": "js",
|
|
1233
|
-
"name": "createErrorMap",
|
|
1234
|
-
"declaration": {
|
|
1235
|
-
"name": "createErrorMap",
|
|
1236
|
-
"module": "src/error/errorMap.ts"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
]
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "javascript-module",
|
|
1243
|
-
"path": "src/error/index.ts",
|
|
1244
|
-
"declarations": [],
|
|
1245
|
-
"exports": [
|
|
1246
|
-
{
|
|
1247
|
-
"kind": "js",
|
|
1248
|
-
"name": "*",
|
|
1249
|
-
"declaration": {
|
|
1250
|
-
"name": "*",
|
|
1251
|
-
"package": "./errorMap"
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
]
|
|
1255
|
-
},
|
|
1256
1256
|
{
|
|
1257
1257
|
"kind": "javascript-module",
|
|
1258
1258
|
"path": "src/encoding/index.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
|
+
"version": "14.354.4-alpha-0d2b3fc.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.
|
|
31
|
-
"@genesislcap/genx": "14.354.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.354.
|
|
33
|
-
"@genesislcap/ts-builder": "14.354.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.354.
|
|
35
|
-
"@genesislcap/vite-builder": "14.354.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.354.
|
|
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",
|
|
37
37
|
"@types/json-schema": "^7.0.11"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/expression-builder": "14.354.
|
|
41
|
-
"@genesislcap/foundation-logger": "14.354.
|
|
40
|
+
"@genesislcap/expression-builder": "14.354.4-alpha-0d2b3fc.0",
|
|
41
|
+
"@genesislcap/foundation-logger": "14.354.4-alpha-0d2b3fc.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": "
|
|
59
|
+
"gitHead": "d0ff0dbb7fe861b68d9b0ac764fcb697826677a7"
|
|
60
60
|
}
|