@genesislcap/foundation-utils 14.230.1-alpha-542ce67.0 → 14.230.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +531 -531
- package/package.json +10 -10
@@ -169,6 +169,204 @@
|
|
169
169
|
}
|
170
170
|
]
|
171
171
|
},
|
172
|
+
{
|
173
|
+
"kind": "javascript-module",
|
174
|
+
"path": "src/data/inMemoryDatabase.ts",
|
175
|
+
"declarations": [
|
176
|
+
{
|
177
|
+
"kind": "class",
|
178
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
179
|
+
"name": "InMemoryDatabase",
|
180
|
+
"members": [
|
181
|
+
{
|
182
|
+
"kind": "field",
|
183
|
+
"name": "isWorking",
|
184
|
+
"type": {
|
185
|
+
"text": "boolean"
|
186
|
+
},
|
187
|
+
"privacy": "public",
|
188
|
+
"default": "false"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"kind": "field",
|
192
|
+
"name": "records",
|
193
|
+
"type": {
|
194
|
+
"text": "Record<string, T>"
|
195
|
+
},
|
196
|
+
"privacy": "private",
|
197
|
+
"default": "{}"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"kind": "field",
|
201
|
+
"name": "beforeUpdateListeners",
|
202
|
+
"privacy": "private"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"kind": "field",
|
206
|
+
"name": "afterUpdateListeners",
|
207
|
+
"privacy": "private"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"kind": "method",
|
211
|
+
"name": "create",
|
212
|
+
"privacy": "public",
|
213
|
+
"return": {
|
214
|
+
"type": {
|
215
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"parameters": [
|
219
|
+
{
|
220
|
+
"name": "newValue",
|
221
|
+
"type": {
|
222
|
+
"text": "Omit<T, 'id'>"
|
223
|
+
}
|
224
|
+
}
|
225
|
+
]
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"kind": "method",
|
229
|
+
"name": "read",
|
230
|
+
"privacy": "public",
|
231
|
+
"return": {
|
232
|
+
"type": {
|
233
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"parameters": [
|
237
|
+
{
|
238
|
+
"name": "id",
|
239
|
+
"type": {
|
240
|
+
"text": "string"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
]
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"kind": "method",
|
247
|
+
"name": "update",
|
248
|
+
"privacy": "public",
|
249
|
+
"return": {
|
250
|
+
"type": {
|
251
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
252
|
+
}
|
253
|
+
},
|
254
|
+
"parameters": [
|
255
|
+
{
|
256
|
+
"name": "id",
|
257
|
+
"type": {
|
258
|
+
"text": "string"
|
259
|
+
}
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"name": "newValue",
|
263
|
+
"type": {
|
264
|
+
"text": "Omit<Partial<T>, 'id'>"
|
265
|
+
}
|
266
|
+
}
|
267
|
+
]
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"kind": "method",
|
271
|
+
"name": "delete",
|
272
|
+
"privacy": "public",
|
273
|
+
"return": {
|
274
|
+
"type": {
|
275
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
276
|
+
}
|
277
|
+
},
|
278
|
+
"parameters": [
|
279
|
+
{
|
280
|
+
"name": "id",
|
281
|
+
"type": {
|
282
|
+
"text": "string"
|
283
|
+
}
|
284
|
+
}
|
285
|
+
]
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"kind": "method",
|
289
|
+
"name": "visit",
|
290
|
+
"privacy": "public",
|
291
|
+
"return": {
|
292
|
+
"type": {
|
293
|
+
"text": "Promise<void>"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"parameters": [
|
297
|
+
{
|
298
|
+
"name": "visitor",
|
299
|
+
"type": {
|
300
|
+
"text": "(record: T) => void"
|
301
|
+
}
|
302
|
+
}
|
303
|
+
]
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"kind": "method",
|
307
|
+
"name": "onBeforeUpdate",
|
308
|
+
"privacy": "public",
|
309
|
+
"return": {
|
310
|
+
"type": {
|
311
|
+
"text": "() => void"
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"parameters": [
|
315
|
+
{
|
316
|
+
"name": "listener",
|
317
|
+
"type": {
|
318
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
319
|
+
}
|
320
|
+
}
|
321
|
+
]
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"kind": "method",
|
325
|
+
"name": "onAfterUpdate",
|
326
|
+
"privacy": "public",
|
327
|
+
"return": {
|
328
|
+
"type": {
|
329
|
+
"text": "() => void"
|
330
|
+
}
|
331
|
+
},
|
332
|
+
"parameters": [
|
333
|
+
{
|
334
|
+
"name": "listener",
|
335
|
+
"type": {
|
336
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
337
|
+
}
|
338
|
+
}
|
339
|
+
]
|
340
|
+
}
|
341
|
+
]
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"exports": [
|
345
|
+
{
|
346
|
+
"kind": "js",
|
347
|
+
"name": "InMemoryDatabase",
|
348
|
+
"declaration": {
|
349
|
+
"name": "InMemoryDatabase",
|
350
|
+
"module": "src/data/inMemoryDatabase.ts"
|
351
|
+
}
|
352
|
+
}
|
353
|
+
]
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"kind": "javascript-module",
|
357
|
+
"path": "src/data/index.ts",
|
358
|
+
"declarations": [],
|
359
|
+
"exports": [
|
360
|
+
{
|
361
|
+
"kind": "js",
|
362
|
+
"name": "*",
|
363
|
+
"declaration": {
|
364
|
+
"name": "*",
|
365
|
+
"package": "./inMemoryDatabase"
|
366
|
+
}
|
367
|
+
}
|
368
|
+
]
|
369
|
+
},
|
172
370
|
{
|
173
371
|
"kind": "javascript-module",
|
174
372
|
"path": "src/directives/index.ts",
|
@@ -184,10 +382,113 @@
|
|
184
382
|
},
|
185
383
|
{
|
186
384
|
"kind": "js",
|
187
|
-
"name": "*",
|
385
|
+
"name": "*",
|
386
|
+
"declaration": {
|
387
|
+
"name": "*",
|
388
|
+
"package": "./when-else"
|
389
|
+
}
|
390
|
+
}
|
391
|
+
]
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"kind": "javascript-module",
|
395
|
+
"path": "src/design-system/design-system.ts",
|
396
|
+
"declarations": [
|
397
|
+
{
|
398
|
+
"kind": "function",
|
399
|
+
"name": "assureDesignSystem",
|
400
|
+
"return": {
|
401
|
+
"type": {
|
402
|
+
"text": "DesignSystemModule"
|
403
|
+
}
|
404
|
+
},
|
405
|
+
"parameters": [
|
406
|
+
{
|
407
|
+
"name": "module",
|
408
|
+
"type": {
|
409
|
+
"text": "DesignSystemModule"
|
410
|
+
}
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"description": "assureDesignSystem.",
|
414
|
+
"privacy": "public"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"exports": [
|
418
|
+
{
|
419
|
+
"kind": "js",
|
420
|
+
"name": "assureDesignSystem",
|
421
|
+
"declaration": {
|
422
|
+
"name": "assureDesignSystem",
|
423
|
+
"module": "src/design-system/design-system.ts"
|
424
|
+
}
|
425
|
+
}
|
426
|
+
]
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"kind": "javascript-module",
|
430
|
+
"path": "src/design-system/index.ts",
|
431
|
+
"declarations": [],
|
432
|
+
"exports": [
|
433
|
+
{
|
434
|
+
"kind": "js",
|
435
|
+
"name": "*",
|
436
|
+
"declaration": {
|
437
|
+
"name": "*",
|
438
|
+
"package": "./design-system"
|
439
|
+
}
|
440
|
+
}
|
441
|
+
]
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"kind": "javascript-module",
|
445
|
+
"path": "src/decorators/index.ts",
|
446
|
+
"declarations": [],
|
447
|
+
"exports": [
|
448
|
+
{
|
449
|
+
"kind": "js",
|
450
|
+
"name": "*",
|
451
|
+
"declaration": {
|
452
|
+
"name": "*",
|
453
|
+
"package": "./renderOnChange"
|
454
|
+
}
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"kind": "javascript-module",
|
460
|
+
"path": "src/decorators/renderOnChange.ts",
|
461
|
+
"declarations": [
|
462
|
+
{
|
463
|
+
"kind": "function",
|
464
|
+
"name": "renderOnChange",
|
465
|
+
"parameters": [
|
466
|
+
{
|
467
|
+
"name": "target",
|
468
|
+
"type": {
|
469
|
+
"text": "FASTElement & { render(): void }"
|
470
|
+
},
|
471
|
+
"description": "The target to define the property change handler on."
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"name": "name",
|
475
|
+
"type": {
|
476
|
+
"text": "string"
|
477
|
+
},
|
478
|
+
"description": "The property name."
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
482
|
+
"privacy": "public"
|
483
|
+
}
|
484
|
+
],
|
485
|
+
"exports": [
|
486
|
+
{
|
487
|
+
"kind": "js",
|
488
|
+
"name": "renderOnChange",
|
188
489
|
"declaration": {
|
189
|
-
"name": "
|
190
|
-
"
|
490
|
+
"name": "renderOnChange",
|
491
|
+
"module": "src/decorators/renderOnChange.ts"
|
191
492
|
}
|
192
493
|
}
|
193
494
|
]
|
@@ -482,515 +783,214 @@
|
|
482
783
|
"name": "DEFAULT_PASSWORD",
|
483
784
|
"declaration": {
|
484
785
|
"name": "_DEFAULT_PASSWORD",
|
485
|
-
"module": "src/env/variables.ts"
|
486
|
-
}
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"kind": "js",
|
490
|
-
"name": "DEFAULT_USER",
|
491
|
-
"declaration": {
|
492
|
-
"name": "_DEFAULT_USER",
|
493
|
-
"module": "src/env/variables.ts"
|
494
|
-
}
|
495
|
-
}
|
496
|
-
]
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"kind": "javascript-module",
|
500
|
-
"path": "src/design-system/design-system.ts",
|
501
|
-
"declarations": [
|
502
|
-
{
|
503
|
-
"kind": "function",
|
504
|
-
"name": "assureDesignSystem",
|
505
|
-
"return": {
|
506
|
-
"type": {
|
507
|
-
"text": "DesignSystemModule"
|
508
|
-
}
|
509
|
-
},
|
510
|
-
"parameters": [
|
511
|
-
{
|
512
|
-
"name": "module",
|
513
|
-
"type": {
|
514
|
-
"text": "DesignSystemModule"
|
515
|
-
}
|
516
|
-
}
|
517
|
-
],
|
518
|
-
"description": "assureDesignSystem.",
|
519
|
-
"privacy": "public"
|
520
|
-
}
|
521
|
-
],
|
522
|
-
"exports": [
|
523
|
-
{
|
524
|
-
"kind": "js",
|
525
|
-
"name": "assureDesignSystem",
|
526
|
-
"declaration": {
|
527
|
-
"name": "assureDesignSystem",
|
528
|
-
"module": "src/design-system/design-system.ts"
|
529
|
-
}
|
530
|
-
}
|
531
|
-
]
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"kind": "javascript-module",
|
535
|
-
"path": "src/design-system/index.ts",
|
536
|
-
"declarations": [],
|
537
|
-
"exports": [
|
538
|
-
{
|
539
|
-
"kind": "js",
|
540
|
-
"name": "*",
|
541
|
-
"declaration": {
|
542
|
-
"name": "*",
|
543
|
-
"package": "./design-system"
|
544
|
-
}
|
545
|
-
}
|
546
|
-
]
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"kind": "javascript-module",
|
550
|
-
"path": "src/error/errorMap.ts",
|
551
|
-
"declarations": [
|
552
|
-
{
|
553
|
-
"kind": "class",
|
554
|
-
"description": "",
|
555
|
-
"name": "DefaultErrorMap",
|
556
|
-
"members": [
|
557
|
-
{
|
558
|
-
"kind": "field",
|
559
|
-
"name": "map",
|
560
|
-
"privacy": "private",
|
561
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
562
|
-
},
|
563
|
-
{
|
564
|
-
"kind": "field",
|
565
|
-
"name": "lastError",
|
566
|
-
"type": {
|
567
|
-
"text": "Error"
|
568
|
-
},
|
569
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
570
|
-
},
|
571
|
-
{
|
572
|
-
"kind": "method",
|
573
|
-
"name": "set",
|
574
|
-
"return": {
|
575
|
-
"type": {
|
576
|
-
"text": "void"
|
577
|
-
}
|
578
|
-
},
|
579
|
-
"parameters": [
|
580
|
-
{
|
581
|
-
"name": "key",
|
582
|
-
"type": {
|
583
|
-
"text": "keyof TErrorDetailMap"
|
584
|
-
}
|
585
|
-
},
|
586
|
-
{
|
587
|
-
"name": "error",
|
588
|
-
"type": {
|
589
|
-
"text": "Error"
|
590
|
-
}
|
591
|
-
}
|
592
|
-
],
|
593
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
594
|
-
},
|
595
|
-
{
|
596
|
-
"kind": "method",
|
597
|
-
"name": "get",
|
598
|
-
"return": {
|
599
|
-
"type": {
|
600
|
-
"text": ""
|
601
|
-
}
|
602
|
-
},
|
603
|
-
"parameters": [
|
604
|
-
{
|
605
|
-
"name": "key",
|
606
|
-
"type": {
|
607
|
-
"text": "keyof TErrorDetailMap"
|
608
|
-
},
|
609
|
-
"description": "The key."
|
610
|
-
}
|
611
|
-
],
|
612
|
-
"description": "Get an error by key.",
|
613
|
-
"privacy": "public"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"kind": "method",
|
617
|
-
"name": "has",
|
618
|
-
"return": {
|
619
|
-
"type": {
|
620
|
-
"text": ""
|
621
|
-
}
|
622
|
-
},
|
623
|
-
"parameters": [
|
624
|
-
{
|
625
|
-
"name": "key",
|
626
|
-
"type": {
|
627
|
-
"text": "keyof TErrorDetailMap"
|
628
|
-
},
|
629
|
-
"description": "The key."
|
630
|
-
}
|
631
|
-
],
|
632
|
-
"description": "Has an error for key.",
|
633
|
-
"privacy": "public"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"kind": "method",
|
637
|
-
"name": "delete",
|
638
|
-
"return": {
|
639
|
-
"type": {
|
640
|
-
"text": ""
|
641
|
-
}
|
642
|
-
},
|
643
|
-
"parameters": [
|
644
|
-
{
|
645
|
-
"name": "key",
|
646
|
-
"type": {
|
647
|
-
"text": "keyof TErrorDetailMap"
|
648
|
-
},
|
649
|
-
"description": "The key."
|
650
|
-
}
|
651
|
-
],
|
652
|
-
"description": "Delete an error.",
|
653
|
-
"privacy": "public"
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"kind": "method",
|
657
|
-
"name": "clear",
|
658
|
-
"description": "Clear errors.",
|
659
|
-
"privacy": "public"
|
660
|
-
},
|
661
|
-
{
|
662
|
-
"kind": "field",
|
663
|
-
"name": "size",
|
664
|
-
"type": {
|
665
|
-
"text": "number"
|
666
|
-
},
|
667
|
-
"description": "The size of the error map.",
|
668
|
-
"return": {
|
669
|
-
"type": {
|
670
|
-
"text": ""
|
671
|
-
}
|
672
|
-
},
|
673
|
-
"privacy": "public",
|
674
|
-
"readonly": true
|
675
|
-
},
|
676
|
-
{
|
677
|
-
"kind": "method",
|
678
|
-
"name": "values",
|
679
|
-
"privacy": "public"
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"kind": "field",
|
683
|
-
"name": "messages",
|
684
|
-
"type": {
|
685
|
-
"text": "string"
|
686
|
-
},
|
687
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
688
|
-
"readonly": true
|
689
|
-
}
|
690
|
-
]
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"kind": "function",
|
694
|
-
"name": "createErrorMap",
|
695
|
-
"return": {
|
696
|
-
"type": {
|
697
|
-
"text": ""
|
698
|
-
}
|
699
|
-
},
|
700
|
-
"parameters": [
|
701
|
-
{
|
702
|
-
"name": "logger",
|
703
|
-
"type": {
|
704
|
-
"text": "ErrorMapLogger"
|
705
|
-
},
|
706
|
-
"description": "A logger error method reference."
|
707
|
-
}
|
708
|
-
],
|
709
|
-
"description": "A factory to create the error map.",
|
710
|
-
"privacy": "public"
|
711
|
-
}
|
712
|
-
],
|
713
|
-
"exports": [
|
714
|
-
{
|
715
|
-
"kind": "js",
|
716
|
-
"name": "DefaultErrorMap",
|
717
|
-
"declaration": {
|
718
|
-
"name": "DefaultErrorMap",
|
719
|
-
"module": "src/error/errorMap.ts"
|
720
|
-
}
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"kind": "js",
|
724
|
-
"name": "createErrorMap",
|
725
|
-
"declaration": {
|
726
|
-
"name": "createErrorMap",
|
727
|
-
"module": "src/error/errorMap.ts"
|
786
|
+
"module": "src/env/variables.ts"
|
728
787
|
}
|
729
|
-
}
|
730
|
-
]
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"kind": "javascript-module",
|
734
|
-
"path": "src/error/index.ts",
|
735
|
-
"declarations": [],
|
736
|
-
"exports": [
|
788
|
+
},
|
737
789
|
{
|
738
790
|
"kind": "js",
|
739
|
-
"name": "
|
791
|
+
"name": "DEFAULT_USER",
|
740
792
|
"declaration": {
|
741
|
-
"name": "
|
742
|
-
"
|
793
|
+
"name": "_DEFAULT_USER",
|
794
|
+
"module": "src/env/variables.ts"
|
743
795
|
}
|
744
796
|
}
|
745
797
|
]
|
746
798
|
},
|
747
799
|
{
|
748
800
|
"kind": "javascript-module",
|
749
|
-
"path": "src/
|
801
|
+
"path": "src/error/errorMap.ts",
|
750
802
|
"declarations": [
|
751
803
|
{
|
752
804
|
"kind": "class",
|
753
|
-
"description": "
|
754
|
-
"name": "
|
805
|
+
"description": "",
|
806
|
+
"name": "DefaultErrorMap",
|
755
807
|
"members": [
|
756
808
|
{
|
757
809
|
"kind": "field",
|
758
|
-
"name": "
|
759
|
-
"
|
760
|
-
|
761
|
-
},
|
762
|
-
"privacy": "public",
|
763
|
-
"default": "false"
|
810
|
+
"name": "map",
|
811
|
+
"privacy": "private",
|
812
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
764
813
|
},
|
765
814
|
{
|
766
815
|
"kind": "field",
|
767
|
-
"name": "
|
816
|
+
"name": "lastError",
|
768
817
|
"type": {
|
769
|
-
"text": "
|
818
|
+
"text": "Error"
|
770
819
|
},
|
771
|
-
"
|
772
|
-
"default": "{}"
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"kind": "field",
|
776
|
-
"name": "beforeUpdateListeners",
|
777
|
-
"privacy": "private"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"kind": "field",
|
781
|
-
"name": "afterUpdateListeners",
|
782
|
-
"privacy": "private"
|
820
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
783
821
|
},
|
784
822
|
{
|
785
823
|
"kind": "method",
|
786
|
-
"name": "
|
787
|
-
"privacy": "public",
|
824
|
+
"name": "set",
|
788
825
|
"return": {
|
789
826
|
"type": {
|
790
|
-
"text": "
|
827
|
+
"text": "void"
|
791
828
|
}
|
792
829
|
},
|
793
830
|
"parameters": [
|
794
831
|
{
|
795
|
-
"name": "
|
832
|
+
"name": "key",
|
796
833
|
"type": {
|
797
|
-
"text": "
|
834
|
+
"text": "keyof TErrorDetailMap"
|
798
835
|
}
|
799
|
-
}
|
800
|
-
]
|
801
|
-
},
|
802
|
-
{
|
803
|
-
"kind": "method",
|
804
|
-
"name": "read",
|
805
|
-
"privacy": "public",
|
806
|
-
"return": {
|
807
|
-
"type": {
|
808
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
809
|
-
}
|
810
|
-
},
|
811
|
-
"parameters": [
|
836
|
+
},
|
812
837
|
{
|
813
|
-
"name": "
|
838
|
+
"name": "error",
|
814
839
|
"type": {
|
815
|
-
"text": "
|
840
|
+
"text": "Error"
|
816
841
|
}
|
817
842
|
}
|
818
|
-
]
|
843
|
+
],
|
844
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
819
845
|
},
|
820
846
|
{
|
821
847
|
"kind": "method",
|
822
|
-
"name": "
|
823
|
-
"privacy": "public",
|
848
|
+
"name": "get",
|
824
849
|
"return": {
|
825
850
|
"type": {
|
826
|
-
"text": "
|
851
|
+
"text": ""
|
827
852
|
}
|
828
853
|
},
|
829
854
|
"parameters": [
|
830
855
|
{
|
831
|
-
"name": "
|
832
|
-
"type": {
|
833
|
-
"text": "string"
|
834
|
-
}
|
835
|
-
},
|
836
|
-
{
|
837
|
-
"name": "newValue",
|
856
|
+
"name": "key",
|
838
857
|
"type": {
|
839
|
-
"text": "
|
840
|
-
}
|
858
|
+
"text": "keyof TErrorDetailMap"
|
859
|
+
},
|
860
|
+
"description": "The key."
|
841
861
|
}
|
842
|
-
]
|
862
|
+
],
|
863
|
+
"description": "Get an error by key.",
|
864
|
+
"privacy": "public"
|
843
865
|
},
|
844
866
|
{
|
845
867
|
"kind": "method",
|
846
|
-
"name": "
|
847
|
-
"privacy": "public",
|
868
|
+
"name": "has",
|
848
869
|
"return": {
|
849
870
|
"type": {
|
850
|
-
"text": "
|
871
|
+
"text": ""
|
851
872
|
}
|
852
873
|
},
|
853
874
|
"parameters": [
|
854
875
|
{
|
855
|
-
"name": "
|
876
|
+
"name": "key",
|
856
877
|
"type": {
|
857
|
-
"text": "
|
858
|
-
}
|
878
|
+
"text": "keyof TErrorDetailMap"
|
879
|
+
},
|
880
|
+
"description": "The key."
|
859
881
|
}
|
860
|
-
]
|
882
|
+
],
|
883
|
+
"description": "Has an error for key.",
|
884
|
+
"privacy": "public"
|
861
885
|
},
|
862
886
|
{
|
863
887
|
"kind": "method",
|
864
|
-
"name": "
|
865
|
-
"privacy": "public",
|
888
|
+
"name": "delete",
|
866
889
|
"return": {
|
867
890
|
"type": {
|
868
|
-
"text": "
|
891
|
+
"text": ""
|
869
892
|
}
|
870
893
|
},
|
871
894
|
"parameters": [
|
872
895
|
{
|
873
|
-
"name": "
|
896
|
+
"name": "key",
|
874
897
|
"type": {
|
875
|
-
"text": "
|
876
|
-
}
|
898
|
+
"text": "keyof TErrorDetailMap"
|
899
|
+
},
|
900
|
+
"description": "The key."
|
877
901
|
}
|
878
|
-
]
|
902
|
+
],
|
903
|
+
"description": "Delete an error.",
|
904
|
+
"privacy": "public"
|
879
905
|
},
|
880
906
|
{
|
881
907
|
"kind": "method",
|
882
|
-
"name": "
|
883
|
-
"
|
908
|
+
"name": "clear",
|
909
|
+
"description": "Clear errors.",
|
910
|
+
"privacy": "public"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"kind": "field",
|
914
|
+
"name": "size",
|
915
|
+
"type": {
|
916
|
+
"text": "number"
|
917
|
+
},
|
918
|
+
"description": "The size of the error map.",
|
884
919
|
"return": {
|
885
920
|
"type": {
|
886
|
-
"text": "
|
921
|
+
"text": ""
|
887
922
|
}
|
888
923
|
},
|
889
|
-
"
|
890
|
-
|
891
|
-
"name": "listener",
|
892
|
-
"type": {
|
893
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
894
|
-
}
|
895
|
-
}
|
896
|
-
]
|
924
|
+
"privacy": "public",
|
925
|
+
"readonly": true
|
897
926
|
},
|
898
927
|
{
|
899
928
|
"kind": "method",
|
900
|
-
"name": "
|
901
|
-
"privacy": "public"
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
929
|
+
"name": "values",
|
930
|
+
"privacy": "public"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"kind": "field",
|
934
|
+
"name": "messages",
|
935
|
+
"type": {
|
936
|
+
"text": "string"
|
906
937
|
},
|
907
|
-
"
|
908
|
-
|
909
|
-
"name": "listener",
|
910
|
-
"type": {
|
911
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
912
|
-
}
|
913
|
-
}
|
914
|
-
]
|
938
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
939
|
+
"readonly": true
|
915
940
|
}
|
916
941
|
]
|
917
|
-
}
|
918
|
-
],
|
919
|
-
"exports": [
|
920
|
-
{
|
921
|
-
"kind": "js",
|
922
|
-
"name": "InMemoryDatabase",
|
923
|
-
"declaration": {
|
924
|
-
"name": "InMemoryDatabase",
|
925
|
-
"module": "src/data/inMemoryDatabase.ts"
|
926
|
-
}
|
927
|
-
}
|
928
|
-
]
|
929
|
-
},
|
930
|
-
{
|
931
|
-
"kind": "javascript-module",
|
932
|
-
"path": "src/data/index.ts",
|
933
|
-
"declarations": [],
|
934
|
-
"exports": [
|
935
|
-
{
|
936
|
-
"kind": "js",
|
937
|
-
"name": "*",
|
938
|
-
"declaration": {
|
939
|
-
"name": "*",
|
940
|
-
"package": "./inMemoryDatabase"
|
941
|
-
}
|
942
|
-
}
|
943
|
-
]
|
944
|
-
},
|
945
|
-
{
|
946
|
-
"kind": "javascript-module",
|
947
|
-
"path": "src/decorators/index.ts",
|
948
|
-
"declarations": [],
|
949
|
-
"exports": [
|
950
|
-
{
|
951
|
-
"kind": "js",
|
952
|
-
"name": "*",
|
953
|
-
"declaration": {
|
954
|
-
"name": "*",
|
955
|
-
"package": "./renderOnChange"
|
956
|
-
}
|
957
|
-
}
|
958
|
-
]
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"kind": "javascript-module",
|
962
|
-
"path": "src/decorators/renderOnChange.ts",
|
963
|
-
"declarations": [
|
942
|
+
},
|
964
943
|
{
|
965
944
|
"kind": "function",
|
966
|
-
"name": "
|
945
|
+
"name": "createErrorMap",
|
946
|
+
"return": {
|
947
|
+
"type": {
|
948
|
+
"text": ""
|
949
|
+
}
|
950
|
+
},
|
967
951
|
"parameters": [
|
968
952
|
{
|
969
|
-
"name": "
|
970
|
-
"type": {
|
971
|
-
"text": "FASTElement & { render(): void }"
|
972
|
-
},
|
973
|
-
"description": "The target to define the property change handler on."
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"name": "name",
|
953
|
+
"name": "logger",
|
977
954
|
"type": {
|
978
|
-
"text": "
|
955
|
+
"text": "ErrorMapLogger"
|
979
956
|
},
|
980
|
-
"description": "
|
957
|
+
"description": "A logger error method reference."
|
981
958
|
}
|
982
959
|
],
|
983
|
-
"description": "
|
960
|
+
"description": "A factory to create the error map.",
|
984
961
|
"privacy": "public"
|
985
962
|
}
|
986
|
-
],
|
963
|
+
],
|
964
|
+
"exports": [
|
965
|
+
{
|
966
|
+
"kind": "js",
|
967
|
+
"name": "DefaultErrorMap",
|
968
|
+
"declaration": {
|
969
|
+
"name": "DefaultErrorMap",
|
970
|
+
"module": "src/error/errorMap.ts"
|
971
|
+
}
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"kind": "js",
|
975
|
+
"name": "createErrorMap",
|
976
|
+
"declaration": {
|
977
|
+
"name": "createErrorMap",
|
978
|
+
"module": "src/error/errorMap.ts"
|
979
|
+
}
|
980
|
+
}
|
981
|
+
]
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"kind": "javascript-module",
|
985
|
+
"path": "src/error/index.ts",
|
986
|
+
"declarations": [],
|
987
987
|
"exports": [
|
988
988
|
{
|
989
989
|
"kind": "js",
|
990
|
-
"name": "
|
990
|
+
"name": "*",
|
991
991
|
"declaration": {
|
992
|
-
"name": "
|
993
|
-
"
|
992
|
+
"name": "*",
|
993
|
+
"package": "./errorMap"
|
994
994
|
}
|
995
995
|
}
|
996
996
|
]
|
@@ -1366,6 +1366,21 @@
|
|
1366
1366
|
}
|
1367
1367
|
]
|
1368
1368
|
},
|
1369
|
+
{
|
1370
|
+
"kind": "javascript-module",
|
1371
|
+
"path": "src/mappers/index.ts",
|
1372
|
+
"declarations": [],
|
1373
|
+
"exports": [
|
1374
|
+
{
|
1375
|
+
"kind": "js",
|
1376
|
+
"name": "*",
|
1377
|
+
"declaration": {
|
1378
|
+
"name": "*",
|
1379
|
+
"package": "./dto"
|
1380
|
+
}
|
1381
|
+
}
|
1382
|
+
]
|
1383
|
+
},
|
1369
1384
|
{
|
1370
1385
|
"kind": "javascript-module",
|
1371
1386
|
"path": "src/mixins/index.ts",
|
@@ -1461,21 +1476,6 @@
|
|
1461
1476
|
}
|
1462
1477
|
]
|
1463
1478
|
},
|
1464
|
-
{
|
1465
|
-
"kind": "javascript-module",
|
1466
|
-
"path": "src/mappers/index.ts",
|
1467
|
-
"declarations": [],
|
1468
|
-
"exports": [
|
1469
|
-
{
|
1470
|
-
"kind": "js",
|
1471
|
-
"name": "*",
|
1472
|
-
"declaration": {
|
1473
|
-
"name": "*",
|
1474
|
-
"package": "./dto"
|
1475
|
-
}
|
1476
|
-
}
|
1477
|
-
]
|
1478
|
-
},
|
1479
1479
|
{
|
1480
1480
|
"kind": "javascript-module",
|
1481
1481
|
"path": "src/promise/index.ts",
|
@@ -2591,6 +2591,106 @@
|
|
2591
2591
|
}
|
2592
2592
|
]
|
2593
2593
|
},
|
2594
|
+
{
|
2595
|
+
"kind": "javascript-module",
|
2596
|
+
"path": "src/mappers/dto/index.ts",
|
2597
|
+
"declarations": [],
|
2598
|
+
"exports": [
|
2599
|
+
{
|
2600
|
+
"kind": "js",
|
2601
|
+
"name": "*",
|
2602
|
+
"declaration": {
|
2603
|
+
"name": "*",
|
2604
|
+
"package": "./serverRow"
|
2605
|
+
}
|
2606
|
+
},
|
2607
|
+
{
|
2608
|
+
"kind": "js",
|
2609
|
+
"name": "*",
|
2610
|
+
"declaration": {
|
2611
|
+
"name": "*",
|
2612
|
+
"package": "./types"
|
2613
|
+
}
|
2614
|
+
}
|
2615
|
+
]
|
2616
|
+
},
|
2617
|
+
{
|
2618
|
+
"kind": "javascript-module",
|
2619
|
+
"path": "src/mappers/dto/serverRow.ts",
|
2620
|
+
"declarations": [
|
2621
|
+
{
|
2622
|
+
"kind": "class",
|
2623
|
+
"description": "The default `ServerRowDTOMapper`.",
|
2624
|
+
"name": "DefaultServerRowDTOMapper",
|
2625
|
+
"members": [
|
2626
|
+
{
|
2627
|
+
"kind": "field",
|
2628
|
+
"name": "fromDTO",
|
2629
|
+
"description": "Converts a server row DTO to an entity.",
|
2630
|
+
"parameters": [
|
2631
|
+
{
|
2632
|
+
"description": "The DTO to convert.",
|
2633
|
+
"name": "dto"
|
2634
|
+
}
|
2635
|
+
],
|
2636
|
+
"return": {
|
2637
|
+
"type": {
|
2638
|
+
"text": ""
|
2639
|
+
}
|
2640
|
+
},
|
2641
|
+
"privacy": "public"
|
2642
|
+
},
|
2643
|
+
{
|
2644
|
+
"kind": "field",
|
2645
|
+
"name": "toDTO",
|
2646
|
+
"description": "Converts a server row entity to a DTO.",
|
2647
|
+
"parameters": [
|
2648
|
+
{
|
2649
|
+
"description": "The entity to convert.",
|
2650
|
+
"name": "entity"
|
2651
|
+
}
|
2652
|
+
],
|
2653
|
+
"return": {
|
2654
|
+
"type": {
|
2655
|
+
"text": ""
|
2656
|
+
}
|
2657
|
+
},
|
2658
|
+
"privacy": "public"
|
2659
|
+
}
|
2660
|
+
]
|
2661
|
+
},
|
2662
|
+
{
|
2663
|
+
"kind": "variable",
|
2664
|
+
"name": "ServerRowDTOMapper",
|
2665
|
+
"description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
|
2666
|
+
"privacy": "public"
|
2667
|
+
}
|
2668
|
+
],
|
2669
|
+
"exports": [
|
2670
|
+
{
|
2671
|
+
"kind": "js",
|
2672
|
+
"name": "DefaultServerRowDTOMapper",
|
2673
|
+
"declaration": {
|
2674
|
+
"name": "DefaultServerRowDTOMapper",
|
2675
|
+
"module": "src/mappers/dto/serverRow.ts"
|
2676
|
+
}
|
2677
|
+
},
|
2678
|
+
{
|
2679
|
+
"kind": "js",
|
2680
|
+
"name": "ServerRowDTOMapper",
|
2681
|
+
"declaration": {
|
2682
|
+
"name": "ServerRowDTOMapper",
|
2683
|
+
"module": "src/mappers/dto/serverRow.ts"
|
2684
|
+
}
|
2685
|
+
}
|
2686
|
+
]
|
2687
|
+
},
|
2688
|
+
{
|
2689
|
+
"kind": "javascript-module",
|
2690
|
+
"path": "src/mappers/dto/types.ts",
|
2691
|
+
"declarations": [],
|
2692
|
+
"exports": []
|
2693
|
+
},
|
2594
2694
|
{
|
2595
2695
|
"kind": "javascript-module",
|
2596
2696
|
"path": "src/mixins/lifecycle/index.ts",
|
@@ -2802,106 +2902,6 @@
|
|
2802
2902
|
}
|
2803
2903
|
]
|
2804
2904
|
},
|
2805
|
-
{
|
2806
|
-
"kind": "javascript-module",
|
2807
|
-
"path": "src/mappers/dto/index.ts",
|
2808
|
-
"declarations": [],
|
2809
|
-
"exports": [
|
2810
|
-
{
|
2811
|
-
"kind": "js",
|
2812
|
-
"name": "*",
|
2813
|
-
"declaration": {
|
2814
|
-
"name": "*",
|
2815
|
-
"package": "./serverRow"
|
2816
|
-
}
|
2817
|
-
},
|
2818
|
-
{
|
2819
|
-
"kind": "js",
|
2820
|
-
"name": "*",
|
2821
|
-
"declaration": {
|
2822
|
-
"name": "*",
|
2823
|
-
"package": "./types"
|
2824
|
-
}
|
2825
|
-
}
|
2826
|
-
]
|
2827
|
-
},
|
2828
|
-
{
|
2829
|
-
"kind": "javascript-module",
|
2830
|
-
"path": "src/mappers/dto/serverRow.ts",
|
2831
|
-
"declarations": [
|
2832
|
-
{
|
2833
|
-
"kind": "class",
|
2834
|
-
"description": "The default `ServerRowDTOMapper`.",
|
2835
|
-
"name": "DefaultServerRowDTOMapper",
|
2836
|
-
"members": [
|
2837
|
-
{
|
2838
|
-
"kind": "field",
|
2839
|
-
"name": "fromDTO",
|
2840
|
-
"description": "Converts a server row DTO to an entity.",
|
2841
|
-
"parameters": [
|
2842
|
-
{
|
2843
|
-
"description": "The DTO to convert.",
|
2844
|
-
"name": "dto"
|
2845
|
-
}
|
2846
|
-
],
|
2847
|
-
"return": {
|
2848
|
-
"type": {
|
2849
|
-
"text": ""
|
2850
|
-
}
|
2851
|
-
},
|
2852
|
-
"privacy": "public"
|
2853
|
-
},
|
2854
|
-
{
|
2855
|
-
"kind": "field",
|
2856
|
-
"name": "toDTO",
|
2857
|
-
"description": "Converts a server row entity to a DTO.",
|
2858
|
-
"parameters": [
|
2859
|
-
{
|
2860
|
-
"description": "The entity to convert.",
|
2861
|
-
"name": "entity"
|
2862
|
-
}
|
2863
|
-
],
|
2864
|
-
"return": {
|
2865
|
-
"type": {
|
2866
|
-
"text": ""
|
2867
|
-
}
|
2868
|
-
},
|
2869
|
-
"privacy": "public"
|
2870
|
-
}
|
2871
|
-
]
|
2872
|
-
},
|
2873
|
-
{
|
2874
|
-
"kind": "variable",
|
2875
|
-
"name": "ServerRowDTOMapper",
|
2876
|
-
"description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
|
2877
|
-
"privacy": "public"
|
2878
|
-
}
|
2879
|
-
],
|
2880
|
-
"exports": [
|
2881
|
-
{
|
2882
|
-
"kind": "js",
|
2883
|
-
"name": "DefaultServerRowDTOMapper",
|
2884
|
-
"declaration": {
|
2885
|
-
"name": "DefaultServerRowDTOMapper",
|
2886
|
-
"module": "src/mappers/dto/serverRow.ts"
|
2887
|
-
}
|
2888
|
-
},
|
2889
|
-
{
|
2890
|
-
"kind": "js",
|
2891
|
-
"name": "ServerRowDTOMapper",
|
2892
|
-
"declaration": {
|
2893
|
-
"name": "ServerRowDTOMapper",
|
2894
|
-
"module": "src/mappers/dto/serverRow.ts"
|
2895
|
-
}
|
2896
|
-
}
|
2897
|
-
]
|
2898
|
-
},
|
2899
|
-
{
|
2900
|
-
"kind": "javascript-module",
|
2901
|
-
"path": "src/mappers/dto/types.ts",
|
2902
|
-
"declarations": [],
|
2903
|
-
"exports": []
|
2904
|
-
},
|
2905
2905
|
{
|
2906
2906
|
"kind": "javascript-module",
|
2907
2907
|
"path": "src/serializers/json/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.230.
|
4
|
+
"version": "14.230.2",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.230.
|
31
|
-
"@genesislcap/genx": "14.230.
|
32
|
-
"@genesislcap/rollup-builder": "14.230.
|
33
|
-
"@genesislcap/ts-builder": "14.230.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.230.
|
35
|
-
"@genesislcap/vite-builder": "14.230.
|
36
|
-
"@genesislcap/webpack-builder": "14.230.
|
30
|
+
"@genesislcap/foundation-testing": "14.230.2",
|
31
|
+
"@genesislcap/genx": "14.230.2",
|
32
|
+
"@genesislcap/rollup-builder": "14.230.2",
|
33
|
+
"@genesislcap/ts-builder": "14.230.2",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.230.2",
|
35
|
+
"@genesislcap/vite-builder": "14.230.2",
|
36
|
+
"@genesislcap/webpack-builder": "14.230.2",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.230.
|
40
|
+
"@genesislcap/foundation-logger": "14.230.2",
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "d0d76de8a46d83c8a502e3c63a260f9821f054c2"
|
59
59
|
}
|