@genesislcap/foundation-utils 14.340.1 → 14.340.3
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 +229 -229
- package/package.json +11 -11
|
@@ -503,59 +503,6 @@
|
|
|
503
503
|
}
|
|
504
504
|
]
|
|
505
505
|
},
|
|
506
|
-
{
|
|
507
|
-
"kind": "javascript-module",
|
|
508
|
-
"path": "src/decorators/index.ts",
|
|
509
|
-
"declarations": [],
|
|
510
|
-
"exports": [
|
|
511
|
-
{
|
|
512
|
-
"kind": "js",
|
|
513
|
-
"name": "*",
|
|
514
|
-
"declaration": {
|
|
515
|
-
"name": "*",
|
|
516
|
-
"package": "./renderOnChange"
|
|
517
|
-
}
|
|
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": [
|
|
549
|
-
{
|
|
550
|
-
"kind": "js",
|
|
551
|
-
"name": "renderOnChange",
|
|
552
|
-
"declaration": {
|
|
553
|
-
"name": "renderOnChange",
|
|
554
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
]
|
|
558
|
-
},
|
|
559
506
|
{
|
|
560
507
|
"kind": "javascript-module",
|
|
561
508
|
"path": "src/directives/index.ts",
|
|
@@ -581,7 +528,7 @@
|
|
|
581
528
|
},
|
|
582
529
|
{
|
|
583
530
|
"kind": "javascript-module",
|
|
584
|
-
"path": "src/
|
|
531
|
+
"path": "src/decorators/index.ts",
|
|
585
532
|
"declarations": [],
|
|
586
533
|
"exports": [
|
|
587
534
|
{
|
|
@@ -589,206 +536,45 @@
|
|
|
589
536
|
"name": "*",
|
|
590
537
|
"declaration": {
|
|
591
538
|
"name": "*",
|
|
592
|
-
"package": "./
|
|
539
|
+
"package": "./renderOnChange"
|
|
593
540
|
}
|
|
594
541
|
}
|
|
595
542
|
]
|
|
596
543
|
},
|
|
597
544
|
{
|
|
598
545
|
"kind": "javascript-module",
|
|
599
|
-
"path": "src/
|
|
546
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
600
547
|
"declarations": [
|
|
601
548
|
{
|
|
602
|
-
"kind": "
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
"members": [
|
|
606
|
-
{
|
|
607
|
-
"kind": "field",
|
|
608
|
-
"name": "map",
|
|
609
|
-
"privacy": "private",
|
|
610
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"kind": "field",
|
|
614
|
-
"name": "lastError",
|
|
615
|
-
"type": {
|
|
616
|
-
"text": "Error"
|
|
617
|
-
},
|
|
618
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"kind": "method",
|
|
622
|
-
"name": "set",
|
|
623
|
-
"return": {
|
|
624
|
-
"type": {
|
|
625
|
-
"text": "void"
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
"parameters": [
|
|
629
|
-
{
|
|
630
|
-
"name": "key",
|
|
631
|
-
"type": {
|
|
632
|
-
"text": "keyof TErrorDetailMap"
|
|
633
|
-
}
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"name": "error",
|
|
637
|
-
"type": {
|
|
638
|
-
"text": "Error"
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
],
|
|
642
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
"kind": "method",
|
|
646
|
-
"name": "get",
|
|
647
|
-
"return": {
|
|
648
|
-
"type": {
|
|
649
|
-
"text": ""
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
"parameters": [
|
|
653
|
-
{
|
|
654
|
-
"name": "key",
|
|
655
|
-
"type": {
|
|
656
|
-
"text": "keyof TErrorDetailMap"
|
|
657
|
-
},
|
|
658
|
-
"description": "The key."
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
|
-
"description": "Get an error by key.",
|
|
662
|
-
"privacy": "public"
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"kind": "method",
|
|
666
|
-
"name": "has",
|
|
667
|
-
"return": {
|
|
668
|
-
"type": {
|
|
669
|
-
"text": ""
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
"parameters": [
|
|
673
|
-
{
|
|
674
|
-
"name": "key",
|
|
675
|
-
"type": {
|
|
676
|
-
"text": "keyof TErrorDetailMap"
|
|
677
|
-
},
|
|
678
|
-
"description": "The key."
|
|
679
|
-
}
|
|
680
|
-
],
|
|
681
|
-
"description": "Has an error for key.",
|
|
682
|
-
"privacy": "public"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"kind": "method",
|
|
686
|
-
"name": "delete",
|
|
687
|
-
"return": {
|
|
688
|
-
"type": {
|
|
689
|
-
"text": ""
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"parameters": [
|
|
693
|
-
{
|
|
694
|
-
"name": "key",
|
|
695
|
-
"type": {
|
|
696
|
-
"text": "keyof TErrorDetailMap"
|
|
697
|
-
},
|
|
698
|
-
"description": "The key."
|
|
699
|
-
}
|
|
700
|
-
],
|
|
701
|
-
"description": "Delete an error.",
|
|
702
|
-
"privacy": "public"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"kind": "method",
|
|
706
|
-
"name": "clear",
|
|
707
|
-
"description": "Clear errors.",
|
|
708
|
-
"privacy": "public"
|
|
709
|
-
},
|
|
549
|
+
"kind": "function",
|
|
550
|
+
"name": "renderOnChange",
|
|
551
|
+
"parameters": [
|
|
710
552
|
{
|
|
711
|
-
"
|
|
712
|
-
"name": "size",
|
|
553
|
+
"name": "target",
|
|
713
554
|
"type": {
|
|
714
|
-
"text": "
|
|
715
|
-
},
|
|
716
|
-
"description": "The size of the error map.",
|
|
717
|
-
"return": {
|
|
718
|
-
"type": {
|
|
719
|
-
"text": ""
|
|
720
|
-
}
|
|
555
|
+
"text": "FASTElement & { render(): void }"
|
|
721
556
|
},
|
|
722
|
-
"
|
|
723
|
-
"readonly": true
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"kind": "method",
|
|
727
|
-
"name": "values",
|
|
728
|
-
"privacy": "public"
|
|
557
|
+
"description": "The target to define the property change handler on."
|
|
729
558
|
},
|
|
730
559
|
{
|
|
731
|
-
"
|
|
732
|
-
"name": "messages",
|
|
560
|
+
"name": "name",
|
|
733
561
|
"type": {
|
|
734
562
|
"text": "string"
|
|
735
563
|
},
|
|
736
|
-
"description": "
|
|
737
|
-
"readonly": true
|
|
738
|
-
}
|
|
739
|
-
]
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"kind": "function",
|
|
743
|
-
"name": "createErrorMap",
|
|
744
|
-
"return": {
|
|
745
|
-
"type": {
|
|
746
|
-
"text": ""
|
|
747
|
-
}
|
|
748
|
-
},
|
|
749
|
-
"parameters": [
|
|
750
|
-
{
|
|
751
|
-
"name": "logger",
|
|
752
|
-
"type": {
|
|
753
|
-
"text": "ErrorMapLogger"
|
|
754
|
-
},
|
|
755
|
-
"description": "A logger error method reference."
|
|
564
|
+
"description": "The property name."
|
|
756
565
|
}
|
|
757
566
|
],
|
|
758
|
-
"description": "
|
|
567
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
759
568
|
"privacy": "public"
|
|
760
569
|
}
|
|
761
570
|
],
|
|
762
571
|
"exports": [
|
|
763
572
|
{
|
|
764
573
|
"kind": "js",
|
|
765
|
-
"name": "
|
|
766
|
-
"declaration": {
|
|
767
|
-
"name": "DefaultErrorMap",
|
|
768
|
-
"module": "src/error/errorMap.ts"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
"kind": "js",
|
|
773
|
-
"name": "createErrorMap",
|
|
774
|
-
"declaration": {
|
|
775
|
-
"name": "createErrorMap",
|
|
776
|
-
"module": "src/error/errorMap.ts"
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
]
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"kind": "javascript-module",
|
|
783
|
-
"path": "src/error/index.ts",
|
|
784
|
-
"declarations": [],
|
|
785
|
-
"exports": [
|
|
786
|
-
{
|
|
787
|
-
"kind": "js",
|
|
788
|
-
"name": "*",
|
|
574
|
+
"name": "renderOnChange",
|
|
789
575
|
"declaration": {
|
|
790
|
-
"name": "
|
|
791
|
-
"
|
|
576
|
+
"name": "renderOnChange",
|
|
577
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
792
578
|
}
|
|
793
579
|
}
|
|
794
580
|
]
|
|
@@ -1268,6 +1054,220 @@
|
|
|
1268
1054
|
}
|
|
1269
1055
|
]
|
|
1270
1056
|
},
|
|
1057
|
+
{
|
|
1058
|
+
"kind": "javascript-module",
|
|
1059
|
+
"path": "src/encoding/index.ts",
|
|
1060
|
+
"declarations": [],
|
|
1061
|
+
"exports": [
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "js",
|
|
1064
|
+
"name": "*",
|
|
1065
|
+
"declaration": {
|
|
1066
|
+
"name": "*",
|
|
1067
|
+
"package": "./base64"
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "javascript-module",
|
|
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
|
+
"declarations": [],
|
|
1260
|
+
"exports": [
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "js",
|
|
1263
|
+
"name": "*",
|
|
1264
|
+
"declaration": {
|
|
1265
|
+
"name": "*",
|
|
1266
|
+
"package": "./errorMap"
|
|
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.340.
|
|
4
|
+
"version": "14.340.3",
|
|
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.340.
|
|
31
|
-
"@genesislcap/genx": "14.340.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.340.
|
|
33
|
-
"@genesislcap/ts-builder": "14.340.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.340.
|
|
35
|
-
"@genesislcap/vite-builder": "14.340.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.340.
|
|
30
|
+
"@genesislcap/foundation-testing": "14.340.3",
|
|
31
|
+
"@genesislcap/genx": "14.340.3",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.340.3",
|
|
33
|
+
"@genesislcap/ts-builder": "14.340.3",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.340.3",
|
|
35
|
+
"@genesislcap/vite-builder": "14.340.3",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.340.3",
|
|
37
37
|
"@types/json-schema": "^7.0.11"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/expression-builder": "14.340.
|
|
41
|
-
"@genesislcap/foundation-logger": "14.340.
|
|
40
|
+
"@genesislcap/expression-builder": "14.340.3",
|
|
41
|
+
"@genesislcap/foundation-logger": "14.340.3",
|
|
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": "fcb79d9326bd391dccaf3d617703648095ae2aaf"
|
|
60
60
|
}
|