@genesislcap/foundation-utils 14.401.3 → 14.402.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 +350 -350
- package/package.json +11 -11
|
@@ -201,6 +201,204 @@
|
|
|
201
201
|
}
|
|
202
202
|
]
|
|
203
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"kind": "javascript-module",
|
|
206
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
207
|
+
"declarations": [
|
|
208
|
+
{
|
|
209
|
+
"kind": "class",
|
|
210
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
211
|
+
"name": "InMemoryDatabase",
|
|
212
|
+
"members": [
|
|
213
|
+
{
|
|
214
|
+
"kind": "field",
|
|
215
|
+
"name": "isWorking",
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "boolean"
|
|
218
|
+
},
|
|
219
|
+
"privacy": "public",
|
|
220
|
+
"default": "false"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "field",
|
|
224
|
+
"name": "records",
|
|
225
|
+
"type": {
|
|
226
|
+
"text": "Record<string, T>"
|
|
227
|
+
},
|
|
228
|
+
"privacy": "private",
|
|
229
|
+
"default": "{}"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"kind": "field",
|
|
233
|
+
"name": "beforeUpdateListeners",
|
|
234
|
+
"privacy": "private"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "field",
|
|
238
|
+
"name": "afterUpdateListeners",
|
|
239
|
+
"privacy": "private"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"kind": "method",
|
|
243
|
+
"name": "create",
|
|
244
|
+
"privacy": "public",
|
|
245
|
+
"return": {
|
|
246
|
+
"type": {
|
|
247
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"parameters": [
|
|
251
|
+
{
|
|
252
|
+
"name": "newValue",
|
|
253
|
+
"type": {
|
|
254
|
+
"text": "Omit<T, 'id'>"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"kind": "method",
|
|
261
|
+
"name": "read",
|
|
262
|
+
"privacy": "public",
|
|
263
|
+
"return": {
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"parameters": [
|
|
269
|
+
{
|
|
270
|
+
"name": "id",
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "update",
|
|
280
|
+
"privacy": "public",
|
|
281
|
+
"return": {
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"parameters": [
|
|
287
|
+
{
|
|
288
|
+
"name": "id",
|
|
289
|
+
"type": {
|
|
290
|
+
"text": "string"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "newValue",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "method",
|
|
303
|
+
"name": "delete",
|
|
304
|
+
"privacy": "public",
|
|
305
|
+
"return": {
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"parameters": [
|
|
311
|
+
{
|
|
312
|
+
"name": "id",
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "string"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "visit",
|
|
322
|
+
"privacy": "public",
|
|
323
|
+
"return": {
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "Promise<void>"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"parameters": [
|
|
329
|
+
{
|
|
330
|
+
"name": "visitor",
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "(record: T) => void"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "method",
|
|
339
|
+
"name": "onBeforeUpdate",
|
|
340
|
+
"privacy": "public",
|
|
341
|
+
"return": {
|
|
342
|
+
"type": {
|
|
343
|
+
"text": "() => void"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"parameters": [
|
|
347
|
+
{
|
|
348
|
+
"name": "listener",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "method",
|
|
357
|
+
"name": "onAfterUpdate",
|
|
358
|
+
"privacy": "public",
|
|
359
|
+
"return": {
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "() => void"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"parameters": [
|
|
365
|
+
{
|
|
366
|
+
"name": "listener",
|
|
367
|
+
"type": {
|
|
368
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"exports": [
|
|
377
|
+
{
|
|
378
|
+
"kind": "js",
|
|
379
|
+
"name": "InMemoryDatabase",
|
|
380
|
+
"declaration": {
|
|
381
|
+
"name": "InMemoryDatabase",
|
|
382
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"kind": "javascript-module",
|
|
389
|
+
"path": "src/data/index.ts",
|
|
390
|
+
"declarations": [],
|
|
391
|
+
"exports": [
|
|
392
|
+
{
|
|
393
|
+
"kind": "js",
|
|
394
|
+
"name": "*",
|
|
395
|
+
"declaration": {
|
|
396
|
+
"name": "*",
|
|
397
|
+
"package": "./inMemoryDatabase"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
204
402
|
{
|
|
205
403
|
"kind": "javascript-module",
|
|
206
404
|
"path": "src/directives/index.ts",
|
|
@@ -224,6 +422,59 @@
|
|
|
224
422
|
}
|
|
225
423
|
]
|
|
226
424
|
},
|
|
425
|
+
{
|
|
426
|
+
"kind": "javascript-module",
|
|
427
|
+
"path": "src/decorators/index.ts",
|
|
428
|
+
"declarations": [],
|
|
429
|
+
"exports": [
|
|
430
|
+
{
|
|
431
|
+
"kind": "js",
|
|
432
|
+
"name": "*",
|
|
433
|
+
"declaration": {
|
|
434
|
+
"name": "*",
|
|
435
|
+
"package": "./renderOnChange"
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"kind": "javascript-module",
|
|
442
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
443
|
+
"declarations": [
|
|
444
|
+
{
|
|
445
|
+
"kind": "function",
|
|
446
|
+
"name": "renderOnChange",
|
|
447
|
+
"parameters": [
|
|
448
|
+
{
|
|
449
|
+
"name": "target",
|
|
450
|
+
"type": {
|
|
451
|
+
"text": "FASTElement & { render(): void }"
|
|
452
|
+
},
|
|
453
|
+
"description": "The target to define the property change handler on."
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "name",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "string"
|
|
459
|
+
},
|
|
460
|
+
"description": "The property name."
|
|
461
|
+
}
|
|
462
|
+
],
|
|
463
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
464
|
+
"privacy": "public"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"exports": [
|
|
468
|
+
{
|
|
469
|
+
"kind": "js",
|
|
470
|
+
"name": "renderOnChange",
|
|
471
|
+
"declaration": {
|
|
472
|
+
"name": "renderOnChange",
|
|
473
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
},
|
|
227
478
|
{
|
|
228
479
|
"kind": "javascript-module",
|
|
229
480
|
"path": "src/encoding/index.ts",
|
|
@@ -716,205 +967,191 @@
|
|
|
716
967
|
},
|
|
717
968
|
{
|
|
718
969
|
"kind": "javascript-module",
|
|
719
|
-
"path": "src/
|
|
970
|
+
"path": "src/error/errorMap.ts",
|
|
720
971
|
"declarations": [
|
|
721
972
|
{
|
|
722
973
|
"kind": "class",
|
|
723
|
-
"description": "
|
|
724
|
-
"name": "
|
|
725
|
-
"members": [
|
|
974
|
+
"description": "",
|
|
975
|
+
"name": "DefaultErrorMap",
|
|
976
|
+
"members": [
|
|
726
977
|
{
|
|
727
978
|
"kind": "field",
|
|
728
|
-
"name": "
|
|
729
|
-
"
|
|
730
|
-
|
|
731
|
-
},
|
|
732
|
-
"privacy": "public",
|
|
733
|
-
"default": "false"
|
|
979
|
+
"name": "map",
|
|
980
|
+
"privacy": "private",
|
|
981
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
734
982
|
},
|
|
735
983
|
{
|
|
736
984
|
"kind": "field",
|
|
737
|
-
"name": "
|
|
985
|
+
"name": "lastError",
|
|
738
986
|
"type": {
|
|
739
|
-
"text": "
|
|
987
|
+
"text": "Error"
|
|
740
988
|
},
|
|
741
|
-
"
|
|
742
|
-
"default": "{}"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"kind": "field",
|
|
746
|
-
"name": "beforeUpdateListeners",
|
|
747
|
-
"privacy": "private"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"kind": "field",
|
|
751
|
-
"name": "afterUpdateListeners",
|
|
752
|
-
"privacy": "private"
|
|
989
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
753
990
|
},
|
|
754
991
|
{
|
|
755
992
|
"kind": "method",
|
|
756
|
-
"name": "
|
|
757
|
-
"privacy": "public",
|
|
993
|
+
"name": "set",
|
|
758
994
|
"return": {
|
|
759
995
|
"type": {
|
|
760
|
-
"text": "
|
|
996
|
+
"text": "void"
|
|
761
997
|
}
|
|
762
998
|
},
|
|
763
999
|
"parameters": [
|
|
764
1000
|
{
|
|
765
|
-
"name": "
|
|
1001
|
+
"name": "key",
|
|
766
1002
|
"type": {
|
|
767
|
-
"text": "
|
|
1003
|
+
"text": "keyof TErrorDetailMap"
|
|
768
1004
|
}
|
|
769
|
-
}
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"kind": "method",
|
|
774
|
-
"name": "read",
|
|
775
|
-
"privacy": "public",
|
|
776
|
-
"return": {
|
|
777
|
-
"type": {
|
|
778
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
"parameters": [
|
|
1005
|
+
},
|
|
782
1006
|
{
|
|
783
|
-
"name": "
|
|
1007
|
+
"name": "error",
|
|
784
1008
|
"type": {
|
|
785
|
-
"text": "
|
|
1009
|
+
"text": "Error"
|
|
786
1010
|
}
|
|
787
1011
|
}
|
|
788
|
-
]
|
|
1012
|
+
],
|
|
1013
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
789
1014
|
},
|
|
790
1015
|
{
|
|
791
1016
|
"kind": "method",
|
|
792
|
-
"name": "
|
|
793
|
-
"privacy": "public",
|
|
1017
|
+
"name": "get",
|
|
794
1018
|
"return": {
|
|
795
1019
|
"type": {
|
|
796
|
-
"text": "
|
|
1020
|
+
"text": ""
|
|
797
1021
|
}
|
|
798
1022
|
},
|
|
799
1023
|
"parameters": [
|
|
800
1024
|
{
|
|
801
|
-
"name": "
|
|
802
|
-
"type": {
|
|
803
|
-
"text": "string"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"name": "newValue",
|
|
1025
|
+
"name": "key",
|
|
808
1026
|
"type": {
|
|
809
|
-
"text": "
|
|
810
|
-
}
|
|
1027
|
+
"text": "keyof TErrorDetailMap"
|
|
1028
|
+
},
|
|
1029
|
+
"description": "The key."
|
|
811
1030
|
}
|
|
812
|
-
]
|
|
1031
|
+
],
|
|
1032
|
+
"description": "Get an error by key.",
|
|
1033
|
+
"privacy": "public"
|
|
813
1034
|
},
|
|
814
1035
|
{
|
|
815
1036
|
"kind": "method",
|
|
816
|
-
"name": "
|
|
817
|
-
"privacy": "public",
|
|
1037
|
+
"name": "has",
|
|
818
1038
|
"return": {
|
|
819
1039
|
"type": {
|
|
820
|
-
"text": "
|
|
1040
|
+
"text": ""
|
|
821
1041
|
}
|
|
822
1042
|
},
|
|
823
1043
|
"parameters": [
|
|
824
1044
|
{
|
|
825
|
-
"name": "
|
|
1045
|
+
"name": "key",
|
|
826
1046
|
"type": {
|
|
827
|
-
"text": "
|
|
828
|
-
}
|
|
1047
|
+
"text": "keyof TErrorDetailMap"
|
|
1048
|
+
},
|
|
1049
|
+
"description": "The key."
|
|
829
1050
|
}
|
|
830
|
-
]
|
|
1051
|
+
],
|
|
1052
|
+
"description": "Has an error for key.",
|
|
1053
|
+
"privacy": "public"
|
|
831
1054
|
},
|
|
832
1055
|
{
|
|
833
1056
|
"kind": "method",
|
|
834
|
-
"name": "
|
|
835
|
-
"privacy": "public",
|
|
1057
|
+
"name": "delete",
|
|
836
1058
|
"return": {
|
|
837
1059
|
"type": {
|
|
838
|
-
"text": "
|
|
1060
|
+
"text": ""
|
|
839
1061
|
}
|
|
840
1062
|
},
|
|
841
1063
|
"parameters": [
|
|
842
1064
|
{
|
|
843
|
-
"name": "
|
|
1065
|
+
"name": "key",
|
|
844
1066
|
"type": {
|
|
845
|
-
"text": "
|
|
846
|
-
}
|
|
1067
|
+
"text": "keyof TErrorDetailMap"
|
|
1068
|
+
},
|
|
1069
|
+
"description": "The key."
|
|
847
1070
|
}
|
|
848
|
-
]
|
|
1071
|
+
],
|
|
1072
|
+
"description": "Delete an error.",
|
|
1073
|
+
"privacy": "public"
|
|
849
1074
|
},
|
|
850
1075
|
{
|
|
851
1076
|
"kind": "method",
|
|
852
|
-
"name": "
|
|
853
|
-
"
|
|
1077
|
+
"name": "clear",
|
|
1078
|
+
"description": "Clear errors.",
|
|
1079
|
+
"privacy": "public"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"kind": "field",
|
|
1083
|
+
"name": "size",
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "number"
|
|
1086
|
+
},
|
|
1087
|
+
"description": "The size of the error map.",
|
|
854
1088
|
"return": {
|
|
855
1089
|
"type": {
|
|
856
|
-
"text": "
|
|
1090
|
+
"text": ""
|
|
857
1091
|
}
|
|
858
1092
|
},
|
|
859
|
-
"
|
|
860
|
-
|
|
861
|
-
"name": "listener",
|
|
862
|
-
"type": {
|
|
863
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
]
|
|
1093
|
+
"privacy": "public",
|
|
1094
|
+
"readonly": true
|
|
867
1095
|
},
|
|
868
1096
|
{
|
|
869
1097
|
"kind": "method",
|
|
870
|
-
"name": "
|
|
871
|
-
"privacy": "public"
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
1098
|
+
"name": "values",
|
|
1099
|
+
"privacy": "public"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "field",
|
|
1103
|
+
"name": "messages",
|
|
1104
|
+
"type": {
|
|
1105
|
+
"text": "string"
|
|
876
1106
|
},
|
|
877
|
-
"
|
|
878
|
-
|
|
879
|
-
"name": "listener",
|
|
880
|
-
"type": {
|
|
881
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
]
|
|
1107
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
1108
|
+
"readonly": true
|
|
885
1109
|
}
|
|
886
1110
|
]
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "function",
|
|
1114
|
+
"name": "createErrorMap",
|
|
1115
|
+
"return": {
|
|
1116
|
+
"type": {
|
|
1117
|
+
"text": ""
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"parameters": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "logger",
|
|
1123
|
+
"type": {
|
|
1124
|
+
"text": "ErrorMapLogger"
|
|
1125
|
+
},
|
|
1126
|
+
"description": "A logger error method reference."
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"description": "A factory to create the error map.",
|
|
1130
|
+
"privacy": "public"
|
|
887
1131
|
}
|
|
888
1132
|
],
|
|
889
1133
|
"exports": [
|
|
890
1134
|
{
|
|
891
1135
|
"kind": "js",
|
|
892
|
-
"name": "
|
|
1136
|
+
"name": "DefaultErrorMap",
|
|
893
1137
|
"declaration": {
|
|
894
|
-
"name": "
|
|
895
|
-
"module": "src/
|
|
1138
|
+
"name": "DefaultErrorMap",
|
|
1139
|
+
"module": "src/error/errorMap.ts"
|
|
896
1140
|
}
|
|
897
|
-
}
|
|
898
|
-
]
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"kind": "javascript-module",
|
|
902
|
-
"path": "src/data/index.ts",
|
|
903
|
-
"declarations": [],
|
|
904
|
-
"exports": [
|
|
1141
|
+
},
|
|
905
1142
|
{
|
|
906
1143
|
"kind": "js",
|
|
907
|
-
"name": "
|
|
1144
|
+
"name": "createErrorMap",
|
|
908
1145
|
"declaration": {
|
|
909
|
-
"name": "
|
|
910
|
-
"
|
|
1146
|
+
"name": "createErrorMap",
|
|
1147
|
+
"module": "src/error/errorMap.ts"
|
|
911
1148
|
}
|
|
912
1149
|
}
|
|
913
1150
|
]
|
|
914
1151
|
},
|
|
915
1152
|
{
|
|
916
1153
|
"kind": "javascript-module",
|
|
917
|
-
"path": "src/
|
|
1154
|
+
"path": "src/error/index.ts",
|
|
918
1155
|
"declarations": [],
|
|
919
1156
|
"exports": [
|
|
920
1157
|
{
|
|
@@ -922,45 +1159,7 @@
|
|
|
922
1159
|
"name": "*",
|
|
923
1160
|
"declaration": {
|
|
924
1161
|
"name": "*",
|
|
925
|
-
"package": "./
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"kind": "javascript-module",
|
|
932
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
933
|
-
"declarations": [
|
|
934
|
-
{
|
|
935
|
-
"kind": "function",
|
|
936
|
-
"name": "renderOnChange",
|
|
937
|
-
"parameters": [
|
|
938
|
-
{
|
|
939
|
-
"name": "target",
|
|
940
|
-
"type": {
|
|
941
|
-
"text": "FASTElement & { render(): void }"
|
|
942
|
-
},
|
|
943
|
-
"description": "The target to define the property change handler on."
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"name": "name",
|
|
947
|
-
"type": {
|
|
948
|
-
"text": "string"
|
|
949
|
-
},
|
|
950
|
-
"description": "The property name."
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
954
|
-
"privacy": "public"
|
|
955
|
-
}
|
|
956
|
-
],
|
|
957
|
-
"exports": [
|
|
958
|
-
{
|
|
959
|
-
"kind": "js",
|
|
960
|
-
"name": "renderOnChange",
|
|
961
|
-
"declaration": {
|
|
962
|
-
"name": "renderOnChange",
|
|
963
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
1162
|
+
"package": "./errorMap"
|
|
964
1163
|
}
|
|
965
1164
|
}
|
|
966
1165
|
]
|
|
@@ -1085,205 +1284,6 @@
|
|
|
1085
1284
|
}
|
|
1086
1285
|
]
|
|
1087
1286
|
},
|
|
1088
|
-
{
|
|
1089
|
-
"kind": "javascript-module",
|
|
1090
|
-
"path": "src/error/errorMap.ts",
|
|
1091
|
-
"declarations": [
|
|
1092
|
-
{
|
|
1093
|
-
"kind": "class",
|
|
1094
|
-
"description": "",
|
|
1095
|
-
"name": "DefaultErrorMap",
|
|
1096
|
-
"members": [
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "field",
|
|
1099
|
-
"name": "map",
|
|
1100
|
-
"privacy": "private",
|
|
1101
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"kind": "field",
|
|
1105
|
-
"name": "lastError",
|
|
1106
|
-
"type": {
|
|
1107
|
-
"text": "Error"
|
|
1108
|
-
},
|
|
1109
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
"kind": "method",
|
|
1113
|
-
"name": "set",
|
|
1114
|
-
"return": {
|
|
1115
|
-
"type": {
|
|
1116
|
-
"text": "void"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"parameters": [
|
|
1120
|
-
{
|
|
1121
|
-
"name": "key",
|
|
1122
|
-
"type": {
|
|
1123
|
-
"text": "keyof TErrorDetailMap"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"name": "error",
|
|
1128
|
-
"type": {
|
|
1129
|
-
"text": "Error"
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
],
|
|
1133
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"kind": "method",
|
|
1137
|
-
"name": "get",
|
|
1138
|
-
"return": {
|
|
1139
|
-
"type": {
|
|
1140
|
-
"text": ""
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
"parameters": [
|
|
1144
|
-
{
|
|
1145
|
-
"name": "key",
|
|
1146
|
-
"type": {
|
|
1147
|
-
"text": "keyof TErrorDetailMap"
|
|
1148
|
-
},
|
|
1149
|
-
"description": "The key."
|
|
1150
|
-
}
|
|
1151
|
-
],
|
|
1152
|
-
"description": "Get an error by key.",
|
|
1153
|
-
"privacy": "public"
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
"kind": "method",
|
|
1157
|
-
"name": "has",
|
|
1158
|
-
"return": {
|
|
1159
|
-
"type": {
|
|
1160
|
-
"text": ""
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
"parameters": [
|
|
1164
|
-
{
|
|
1165
|
-
"name": "key",
|
|
1166
|
-
"type": {
|
|
1167
|
-
"text": "keyof TErrorDetailMap"
|
|
1168
|
-
},
|
|
1169
|
-
"description": "The key."
|
|
1170
|
-
}
|
|
1171
|
-
],
|
|
1172
|
-
"description": "Has an error for key.",
|
|
1173
|
-
"privacy": "public"
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"kind": "method",
|
|
1177
|
-
"name": "delete",
|
|
1178
|
-
"return": {
|
|
1179
|
-
"type": {
|
|
1180
|
-
"text": ""
|
|
1181
|
-
}
|
|
1182
|
-
},
|
|
1183
|
-
"parameters": [
|
|
1184
|
-
{
|
|
1185
|
-
"name": "key",
|
|
1186
|
-
"type": {
|
|
1187
|
-
"text": "keyof TErrorDetailMap"
|
|
1188
|
-
},
|
|
1189
|
-
"description": "The key."
|
|
1190
|
-
}
|
|
1191
|
-
],
|
|
1192
|
-
"description": "Delete an error.",
|
|
1193
|
-
"privacy": "public"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"kind": "method",
|
|
1197
|
-
"name": "clear",
|
|
1198
|
-
"description": "Clear errors.",
|
|
1199
|
-
"privacy": "public"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "field",
|
|
1203
|
-
"name": "size",
|
|
1204
|
-
"type": {
|
|
1205
|
-
"text": "number"
|
|
1206
|
-
},
|
|
1207
|
-
"description": "The size of the error map.",
|
|
1208
|
-
"return": {
|
|
1209
|
-
"type": {
|
|
1210
|
-
"text": ""
|
|
1211
|
-
}
|
|
1212
|
-
},
|
|
1213
|
-
"privacy": "public",
|
|
1214
|
-
"readonly": true
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"kind": "method",
|
|
1218
|
-
"name": "values",
|
|
1219
|
-
"privacy": "public"
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
"kind": "field",
|
|
1223
|
-
"name": "messages",
|
|
1224
|
-
"type": {
|
|
1225
|
-
"text": "string"
|
|
1226
|
-
},
|
|
1227
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
|
1228
|
-
"readonly": true
|
|
1229
|
-
}
|
|
1230
|
-
]
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"kind": "function",
|
|
1234
|
-
"name": "createErrorMap",
|
|
1235
|
-
"return": {
|
|
1236
|
-
"type": {
|
|
1237
|
-
"text": ""
|
|
1238
|
-
}
|
|
1239
|
-
},
|
|
1240
|
-
"parameters": [
|
|
1241
|
-
{
|
|
1242
|
-
"name": "logger",
|
|
1243
|
-
"type": {
|
|
1244
|
-
"text": "ErrorMapLogger"
|
|
1245
|
-
},
|
|
1246
|
-
"description": "A logger error method reference."
|
|
1247
|
-
}
|
|
1248
|
-
],
|
|
1249
|
-
"description": "A factory to create the error map.",
|
|
1250
|
-
"privacy": "public"
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
"exports": [
|
|
1254
|
-
{
|
|
1255
|
-
"kind": "js",
|
|
1256
|
-
"name": "DefaultErrorMap",
|
|
1257
|
-
"declaration": {
|
|
1258
|
-
"name": "DefaultErrorMap",
|
|
1259
|
-
"module": "src/error/errorMap.ts"
|
|
1260
|
-
}
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
"kind": "js",
|
|
1264
|
-
"name": "createErrorMap",
|
|
1265
|
-
"declaration": {
|
|
1266
|
-
"name": "createErrorMap",
|
|
1267
|
-
"module": "src/error/errorMap.ts"
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
]
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"kind": "javascript-module",
|
|
1274
|
-
"path": "src/error/index.ts",
|
|
1275
|
-
"declarations": [],
|
|
1276
|
-
"exports": [
|
|
1277
|
-
{
|
|
1278
|
-
"kind": "js",
|
|
1279
|
-
"name": "*",
|
|
1280
|
-
"declaration": {
|
|
1281
|
-
"name": "*",
|
|
1282
|
-
"package": "./errorMap"
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
]
|
|
1286
|
-
},
|
|
1287
1287
|
{
|
|
1288
1288
|
"kind": "javascript-module",
|
|
1289
1289
|
"path": "src/feature-flags/featureFlags.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.
|
|
4
|
+
"version": "14.402.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.402.0",
|
|
33
|
+
"@genesislcap/genx": "14.402.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.402.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.402.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.402.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.402.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.402.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.402.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.402.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "7ffded0edb096db3e60298c0d0a216071aa1d970"
|
|
62
62
|
}
|