@genesislcap/foundation-utils 14.147.1-alpha-e9dbeac.0 → 14.148.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +655 -655
  2. package/package.json +10 -10
@@ -151,6 +151,257 @@
151
151
  }
152
152
  ]
153
153
  },
154
+ {
155
+ "kind": "javascript-module",
156
+ "path": "src/data/inMemoryDatabase.ts",
157
+ "declarations": [
158
+ {
159
+ "kind": "class",
160
+ "description": "An in memory database of specific DatabaseRecord types.",
161
+ "name": "InMemoryDatabase",
162
+ "members": [
163
+ {
164
+ "kind": "field",
165
+ "name": "isWorking",
166
+ "type": {
167
+ "text": "boolean"
168
+ },
169
+ "privacy": "public",
170
+ "default": "false"
171
+ },
172
+ {
173
+ "kind": "field",
174
+ "name": "records",
175
+ "type": {
176
+ "text": "Record<string, T>"
177
+ },
178
+ "privacy": "private",
179
+ "default": "{}"
180
+ },
181
+ {
182
+ "kind": "field",
183
+ "name": "beforeUpdateListeners",
184
+ "privacy": "private"
185
+ },
186
+ {
187
+ "kind": "field",
188
+ "name": "afterUpdateListeners",
189
+ "privacy": "private"
190
+ },
191
+ {
192
+ "kind": "method",
193
+ "name": "create",
194
+ "privacy": "public",
195
+ "return": {
196
+ "type": {
197
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
198
+ }
199
+ },
200
+ "parameters": [
201
+ {
202
+ "name": "newValue",
203
+ "type": {
204
+ "text": "Omit<T, 'id'>"
205
+ }
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "kind": "method",
211
+ "name": "read",
212
+ "privacy": "public",
213
+ "return": {
214
+ "type": {
215
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
216
+ }
217
+ },
218
+ "parameters": [
219
+ {
220
+ "name": "id",
221
+ "type": {
222
+ "text": "string"
223
+ }
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "kind": "method",
229
+ "name": "update",
230
+ "privacy": "public",
231
+ "return": {
232
+ "type": {
233
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
234
+ }
235
+ },
236
+ "parameters": [
237
+ {
238
+ "name": "id",
239
+ "type": {
240
+ "text": "string"
241
+ }
242
+ },
243
+ {
244
+ "name": "newValue",
245
+ "type": {
246
+ "text": "Omit<Partial<T>, 'id'>"
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "kind": "method",
253
+ "name": "delete",
254
+ "privacy": "public",
255
+ "return": {
256
+ "type": {
257
+ "text": "Promise<DatabaseAccessResult.Delete>"
258
+ }
259
+ },
260
+ "parameters": [
261
+ {
262
+ "name": "id",
263
+ "type": {
264
+ "text": "string"
265
+ }
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "kind": "method",
271
+ "name": "visit",
272
+ "privacy": "public",
273
+ "return": {
274
+ "type": {
275
+ "text": "Promise<void>"
276
+ }
277
+ },
278
+ "parameters": [
279
+ {
280
+ "name": "visitor",
281
+ "type": {
282
+ "text": "(record: T) => void"
283
+ }
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "kind": "method",
289
+ "name": "onBeforeUpdate",
290
+ "privacy": "public",
291
+ "return": {
292
+ "type": {
293
+ "text": "() => void"
294
+ }
295
+ },
296
+ "parameters": [
297
+ {
298
+ "name": "listener",
299
+ "type": {
300
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
301
+ }
302
+ }
303
+ ]
304
+ },
305
+ {
306
+ "kind": "method",
307
+ "name": "onAfterUpdate",
308
+ "privacy": "public",
309
+ "return": {
310
+ "type": {
311
+ "text": "() => void"
312
+ }
313
+ },
314
+ "parameters": [
315
+ {
316
+ "name": "listener",
317
+ "type": {
318
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
319
+ }
320
+ }
321
+ ]
322
+ }
323
+ ]
324
+ }
325
+ ],
326
+ "exports": [
327
+ {
328
+ "kind": "js",
329
+ "name": "InMemoryDatabase",
330
+ "declaration": {
331
+ "name": "InMemoryDatabase",
332
+ "module": "src/data/inMemoryDatabase.ts"
333
+ }
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "kind": "javascript-module",
339
+ "path": "src/data/index.ts",
340
+ "declarations": [],
341
+ "exports": [
342
+ {
343
+ "kind": "js",
344
+ "name": "*",
345
+ "declaration": {
346
+ "name": "*",
347
+ "package": "./inMemoryDatabase"
348
+ }
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "kind": "javascript-module",
354
+ "path": "src/decorators/index.ts",
355
+ "declarations": [],
356
+ "exports": [
357
+ {
358
+ "kind": "js",
359
+ "name": "*",
360
+ "declaration": {
361
+ "name": "*",
362
+ "package": "./renderOnChange"
363
+ }
364
+ }
365
+ ]
366
+ },
367
+ {
368
+ "kind": "javascript-module",
369
+ "path": "src/decorators/renderOnChange.ts",
370
+ "declarations": [
371
+ {
372
+ "kind": "function",
373
+ "name": "renderOnChange",
374
+ "parameters": [
375
+ {
376
+ "name": "target",
377
+ "type": {
378
+ "text": "FASTElement & { render(): void }"
379
+ },
380
+ "description": "The target to define the property change handler on."
381
+ },
382
+ {
383
+ "name": "name",
384
+ "type": {
385
+ "text": "string"
386
+ },
387
+ "description": "The property name."
388
+ }
389
+ ],
390
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
391
+ "privacy": "public"
392
+ }
393
+ ],
394
+ "exports": [
395
+ {
396
+ "kind": "js",
397
+ "name": "renderOnChange",
398
+ "declaration": {
399
+ "name": "renderOnChange",
400
+ "module": "src/decorators/renderOnChange.ts"
401
+ }
402
+ }
403
+ ]
404
+ },
154
405
  {
155
406
  "kind": "javascript-module",
156
407
  "path": "src/directives/index.ts",
@@ -158,18 +409,68 @@
158
409
  "exports": [
159
410
  {
160
411
  "kind": "js",
161
- "name": "*",
412
+ "name": "*",
413
+ "declaration": {
414
+ "name": "*",
415
+ "package": "./sync"
416
+ }
417
+ },
418
+ {
419
+ "kind": "js",
420
+ "name": "*",
421
+ "declaration": {
422
+ "name": "*",
423
+ "package": "./when-else"
424
+ }
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ "kind": "javascript-module",
430
+ "path": "src/design-system/design-system.ts",
431
+ "declarations": [
432
+ {
433
+ "kind": "function",
434
+ "name": "assureDesignSystem",
435
+ "return": {
436
+ "type": {
437
+ "text": "DesignSystemModule"
438
+ }
439
+ },
440
+ "parameters": [
441
+ {
442
+ "name": "module",
443
+ "type": {
444
+ "text": "DesignSystemModule"
445
+ }
446
+ }
447
+ ],
448
+ "description": "assureDesignSystem.",
449
+ "privacy": "public"
450
+ }
451
+ ],
452
+ "exports": [
453
+ {
454
+ "kind": "js",
455
+ "name": "assureDesignSystem",
162
456
  "declaration": {
163
- "name": "*",
164
- "package": "./sync"
457
+ "name": "assureDesignSystem",
458
+ "module": "src/design-system/design-system.ts"
165
459
  }
166
- },
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "kind": "javascript-module",
465
+ "path": "src/design-system/index.ts",
466
+ "declarations": [],
467
+ "exports": [
167
468
  {
168
469
  "kind": "js",
169
470
  "name": "*",
170
471
  "declaration": {
171
472
  "name": "*",
172
- "package": "./when-else"
473
+ "package": "./design-system"
173
474
  }
174
475
  }
175
476
  ]
@@ -309,582 +610,281 @@
309
610
  "kind": "variable",
310
611
  "name": "DEFAULT_PASSWORD",
311
612
  "type": {
312
- "text": "string"
313
- }
314
- },
315
- {
316
- "kind": "variable",
317
- "name": "_DEFAULT_PASSWORD",
318
- "type": {
319
- "text": "string"
320
- },
321
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
322
- "privacy": "public"
323
- },
324
- {
325
- "kind": "variable",
326
- "name": "DEFAULT_USER",
327
- "type": {
328
- "text": "string"
329
- }
330
- },
331
- {
332
- "kind": "variable",
333
- "name": "_DEFAULT_USER",
334
- "type": {
335
- "text": "string"
336
- },
337
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
338
- "privacy": "public"
339
- }
340
- ],
341
- "exports": [
342
- {
343
- "kind": "js",
344
- "name": "SOCKET_EXT",
345
- "declaration": {
346
- "name": "_SOCKET_EXT",
347
- "module": "src/env/variables.ts"
348
- }
349
- },
350
- {
351
- "kind": "js",
352
- "name": "FORCE_HTTP",
353
- "declaration": {
354
- "name": "_FORCE_HTTP",
355
- "module": "src/env/variables.ts"
356
- }
357
- },
358
- {
359
- "kind": "js",
360
- "name": "API_HOST",
361
- "declaration": {
362
- "name": "_API_HOST",
363
- "module": "src/env/variables.ts"
364
- }
365
- },
366
- {
367
- "kind": "js",
368
- "name": "HTTP_CONFIG",
369
- "declaration": {
370
- "name": "_HTTP_CONFIG",
371
- "module": "src/env/variables.ts"
372
- }
373
- },
374
- {
375
- "kind": "js",
376
- "name": "DEFAULT_ORGANISATION",
377
- "declaration": {
378
- "name": "_DEFAULT_ORGANISATION",
379
- "module": "src/env/variables.ts"
380
- }
381
- },
382
- {
383
- "kind": "js",
384
- "name": "DEFAULT_PASSWORD",
385
- "declaration": {
386
- "name": "_DEFAULT_PASSWORD",
387
- "module": "src/env/variables.ts"
388
- }
389
- },
390
- {
391
- "kind": "js",
392
- "name": "DEFAULT_USER",
393
- "declaration": {
394
- "name": "_DEFAULT_USER",
395
- "module": "src/env/variables.ts"
396
- }
397
- }
398
- ]
399
- },
400
- {
401
- "kind": "javascript-module",
402
- "path": "src/error/errorMap.ts",
403
- "declarations": [
404
- {
405
- "kind": "class",
406
- "description": "",
407
- "name": "DefaultErrorMap",
408
- "members": [
409
- {
410
- "kind": "field",
411
- "name": "map",
412
- "privacy": "private",
413
- "default": "new Map<keyof TErrorDetailMap, Error>()"
414
- },
415
- {
416
- "kind": "field",
417
- "name": "lastError",
418
- "type": {
419
- "text": "Error"
420
- },
421
- "description": "{@inheritDoc ErrorMap.lastError}"
422
- },
423
- {
424
- "kind": "method",
425
- "name": "set",
426
- "return": {
427
- "type": {
428
- "text": "void"
429
- }
430
- },
431
- "parameters": [
432
- {
433
- "name": "key",
434
- "type": {
435
- "text": "keyof TErrorDetailMap"
436
- }
437
- },
438
- {
439
- "name": "error",
440
- "type": {
441
- "text": "Error"
442
- }
443
- }
444
- ],
445
- "description": "{@inheritDoc ErrorMap.set}"
446
- },
447
- {
448
- "kind": "method",
449
- "name": "get",
450
- "return": {
451
- "type": {
452
- "text": ""
453
- }
454
- },
455
- "parameters": [
456
- {
457
- "name": "key",
458
- "type": {
459
- "text": "keyof TErrorDetailMap"
460
- },
461
- "description": "The key."
462
- }
463
- ],
464
- "description": "Get an error by key.",
465
- "privacy": "public"
466
- },
467
- {
468
- "kind": "method",
469
- "name": "has",
470
- "return": {
471
- "type": {
472
- "text": ""
473
- }
474
- },
475
- "parameters": [
476
- {
477
- "name": "key",
478
- "type": {
479
- "text": "keyof TErrorDetailMap"
480
- },
481
- "description": "The key."
482
- }
483
- ],
484
- "description": "Has an error for key.",
485
- "privacy": "public"
486
- },
487
- {
488
- "kind": "method",
489
- "name": "delete",
490
- "return": {
491
- "type": {
492
- "text": ""
493
- }
494
- },
495
- "parameters": [
496
- {
497
- "name": "key",
498
- "type": {
499
- "text": "keyof TErrorDetailMap"
500
- },
501
- "description": "The key."
502
- }
503
- ],
504
- "description": "Delete an error.",
505
- "privacy": "public"
506
- },
507
- {
508
- "kind": "method",
509
- "name": "clear",
510
- "description": "Clear errors.",
511
- "privacy": "public"
512
- },
513
- {
514
- "kind": "field",
515
- "name": "size",
516
- "type": {
517
- "text": "number"
518
- },
519
- "description": "The size of the error map.",
520
- "return": {
521
- "type": {
522
- "text": ""
523
- }
524
- },
525
- "privacy": "public",
526
- "readonly": true
527
- },
528
- {
529
- "kind": "method",
530
- "name": "values",
531
- "privacy": "public"
532
- },
533
- {
534
- "kind": "field",
535
- "name": "messages",
536
- "type": {
537
- "text": "string"
538
- },
539
- "description": "{@inheritDoc ErrorMap.messages}",
540
- "readonly": true
541
- }
542
- ]
613
+ "text": "string"
614
+ }
543
615
  },
544
616
  {
545
- "kind": "function",
546
- "name": "createErrorMap",
547
- "return": {
548
- "type": {
549
- "text": ""
550
- }
617
+ "kind": "variable",
618
+ "name": "_DEFAULT_PASSWORD",
619
+ "type": {
620
+ "text": "string"
551
621
  },
552
- "parameters": [
553
- {
554
- "name": "logger",
555
- "type": {
556
- "text": "ErrorMapLogger"
557
- },
558
- "description": "A logger error method reference."
559
- }
560
- ],
561
- "description": "A factory to create the error map.",
622
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
623
+ "privacy": "public"
624
+ },
625
+ {
626
+ "kind": "variable",
627
+ "name": "DEFAULT_USER",
628
+ "type": {
629
+ "text": "string"
630
+ }
631
+ },
632
+ {
633
+ "kind": "variable",
634
+ "name": "_DEFAULT_USER",
635
+ "type": {
636
+ "text": "string"
637
+ },
638
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
562
639
  "privacy": "public"
563
640
  }
564
641
  ],
565
642
  "exports": [
566
643
  {
567
644
  "kind": "js",
568
- "name": "DefaultErrorMap",
645
+ "name": "SOCKET_EXT",
569
646
  "declaration": {
570
- "name": "DefaultErrorMap",
571
- "module": "src/error/errorMap.ts"
647
+ "name": "_SOCKET_EXT",
648
+ "module": "src/env/variables.ts"
572
649
  }
573
650
  },
574
651
  {
575
652
  "kind": "js",
576
- "name": "createErrorMap",
653
+ "name": "FORCE_HTTP",
577
654
  "declaration": {
578
- "name": "createErrorMap",
579
- "module": "src/error/errorMap.ts"
655
+ "name": "_FORCE_HTTP",
656
+ "module": "src/env/variables.ts"
580
657
  }
581
- }
582
- ]
583
- },
584
- {
585
- "kind": "javascript-module",
586
- "path": "src/error/index.ts",
587
- "declarations": [],
588
- "exports": [
658
+ },
589
659
  {
590
660
  "kind": "js",
591
- "name": "*",
661
+ "name": "API_HOST",
592
662
  "declaration": {
593
- "name": "*",
594
- "package": "./errorMap"
663
+ "name": "_API_HOST",
664
+ "module": "src/env/variables.ts"
595
665
  }
596
- }
597
- ]
598
- },
599
- {
600
- "kind": "javascript-module",
601
- "path": "src/design-system/design-system.ts",
602
- "declarations": [
603
- {
604
- "kind": "function",
605
- "name": "assureDesignSystem",
606
- "return": {
607
- "type": {
608
- "text": "DesignSystemModule"
609
- }
610
- },
611
- "parameters": [
612
- {
613
- "name": "module",
614
- "type": {
615
- "text": "DesignSystemModule"
616
- }
617
- }
618
- ],
619
- "description": "assureDesignSystem.",
620
- "privacy": "public"
621
- }
622
- ],
623
- "exports": [
666
+ },
624
667
  {
625
668
  "kind": "js",
626
- "name": "assureDesignSystem",
669
+ "name": "HTTP_CONFIG",
627
670
  "declaration": {
628
- "name": "assureDesignSystem",
629
- "module": "src/design-system/design-system.ts"
671
+ "name": "_HTTP_CONFIG",
672
+ "module": "src/env/variables.ts"
630
673
  }
631
- }
632
- ]
633
- },
634
- {
635
- "kind": "javascript-module",
636
- "path": "src/design-system/index.ts",
637
- "declarations": [],
638
- "exports": [
674
+ },
639
675
  {
640
676
  "kind": "js",
641
- "name": "*",
677
+ "name": "DEFAULT_ORGANISATION",
642
678
  "declaration": {
643
- "name": "*",
644
- "package": "./design-system"
679
+ "name": "_DEFAULT_ORGANISATION",
680
+ "module": "src/env/variables.ts"
645
681
  }
646
- }
647
- ]
648
- },
649
- {
650
- "kind": "javascript-module",
651
- "path": "src/decorators/index.ts",
652
- "declarations": [],
653
- "exports": [
682
+ },
654
683
  {
655
684
  "kind": "js",
656
- "name": "*",
685
+ "name": "DEFAULT_PASSWORD",
657
686
  "declaration": {
658
- "name": "*",
659
- "package": "./renderOnChange"
687
+ "name": "_DEFAULT_PASSWORD",
688
+ "module": "src/env/variables.ts"
660
689
  }
661
- }
662
- ]
663
- },
664
- {
665
- "kind": "javascript-module",
666
- "path": "src/decorators/renderOnChange.ts",
667
- "declarations": [
668
- {
669
- "kind": "function",
670
- "name": "renderOnChange",
671
- "parameters": [
672
- {
673
- "name": "target",
674
- "type": {
675
- "text": "FASTElement & { render(): void }"
676
- },
677
- "description": "The target to define the property change handler on."
678
- },
679
- {
680
- "name": "name",
681
- "type": {
682
- "text": "string"
683
- },
684
- "description": "The property name."
685
- }
686
- ],
687
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
688
- "privacy": "public"
689
- }
690
- ],
691
- "exports": [
690
+ },
692
691
  {
693
692
  "kind": "js",
694
- "name": "renderOnChange",
693
+ "name": "DEFAULT_USER",
695
694
  "declaration": {
696
- "name": "renderOnChange",
697
- "module": "src/decorators/renderOnChange.ts"
695
+ "name": "_DEFAULT_USER",
696
+ "module": "src/env/variables.ts"
698
697
  }
699
698
  }
700
699
  ]
701
700
  },
702
701
  {
703
702
  "kind": "javascript-module",
704
- "path": "src/data/inMemoryDatabase.ts",
703
+ "path": "src/error/errorMap.ts",
705
704
  "declarations": [
706
705
  {
707
706
  "kind": "class",
708
- "description": "An in memory database of specific DatabaseRecord types.",
709
- "name": "InMemoryDatabase",
707
+ "description": "",
708
+ "name": "DefaultErrorMap",
710
709
  "members": [
711
710
  {
712
711
  "kind": "field",
713
- "name": "isWorking",
714
- "type": {
715
- "text": "boolean"
716
- },
717
- "privacy": "public",
718
- "default": "false"
719
- },
720
- {
721
- "kind": "field",
722
- "name": "records",
723
- "type": {
724
- "text": "Record<string, T>"
725
- },
712
+ "name": "map",
726
713
  "privacy": "private",
727
- "default": "{}"
728
- },
729
- {
730
- "kind": "field",
731
- "name": "beforeUpdateListeners",
732
- "privacy": "private"
714
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
733
715
  },
734
716
  {
735
717
  "kind": "field",
736
- "name": "afterUpdateListeners",
737
- "privacy": "private"
738
- },
739
- {
740
- "kind": "method",
741
- "name": "create",
742
- "privacy": "public",
743
- "return": {
744
- "type": {
745
- "text": "Promise<DatabaseAccessResult.Create<T>>"
746
- }
747
- },
748
- "parameters": [
749
- {
750
- "name": "newValue",
751
- "type": {
752
- "text": "Omit<T, 'id'>"
753
- }
754
- }
755
- ]
756
- },
757
- {
758
- "kind": "method",
759
- "name": "read",
760
- "privacy": "public",
761
- "return": {
762
- "type": {
763
- "text": "Promise<DatabaseAccessResult.Read<T>>"
764
- }
718
+ "name": "lastError",
719
+ "type": {
720
+ "text": "Error"
765
721
  },
766
- "parameters": [
767
- {
768
- "name": "id",
769
- "type": {
770
- "text": "string"
771
- }
772
- }
773
- ]
722
+ "description": "{@inheritDoc ErrorMap.lastError}"
774
723
  },
775
724
  {
776
725
  "kind": "method",
777
- "name": "update",
778
- "privacy": "public",
726
+ "name": "set",
779
727
  "return": {
780
728
  "type": {
781
- "text": "Promise<DatabaseAccessResult.Update<T>>"
729
+ "text": "void"
782
730
  }
783
731
  },
784
732
  "parameters": [
785
733
  {
786
- "name": "id",
734
+ "name": "key",
787
735
  "type": {
788
- "text": "string"
736
+ "text": "keyof TErrorDetailMap"
789
737
  }
790
738
  },
791
739
  {
792
- "name": "newValue",
740
+ "name": "error",
793
741
  "type": {
794
- "text": "Omit<Partial<T>, 'id'>"
742
+ "text": "Error"
795
743
  }
796
744
  }
797
- ]
745
+ ],
746
+ "description": "{@inheritDoc ErrorMap.set}"
798
747
  },
799
748
  {
800
749
  "kind": "method",
801
- "name": "delete",
802
- "privacy": "public",
750
+ "name": "get",
803
751
  "return": {
804
752
  "type": {
805
- "text": "Promise<DatabaseAccessResult.Delete>"
753
+ "text": ""
806
754
  }
807
755
  },
808
756
  "parameters": [
809
757
  {
810
- "name": "id",
758
+ "name": "key",
811
759
  "type": {
812
- "text": "string"
813
- }
760
+ "text": "keyof TErrorDetailMap"
761
+ },
762
+ "description": "The key."
814
763
  }
815
- ]
764
+ ],
765
+ "description": "Get an error by key.",
766
+ "privacy": "public"
816
767
  },
817
768
  {
818
769
  "kind": "method",
819
- "name": "visit",
820
- "privacy": "public",
770
+ "name": "has",
821
771
  "return": {
822
772
  "type": {
823
- "text": "Promise<void>"
773
+ "text": ""
824
774
  }
825
775
  },
826
776
  "parameters": [
827
777
  {
828
- "name": "visitor",
778
+ "name": "key",
829
779
  "type": {
830
- "text": "(record: T) => void"
831
- }
780
+ "text": "keyof TErrorDetailMap"
781
+ },
782
+ "description": "The key."
832
783
  }
833
- ]
784
+ ],
785
+ "description": "Has an error for key.",
786
+ "privacy": "public"
834
787
  },
835
788
  {
836
789
  "kind": "method",
837
- "name": "onBeforeUpdate",
838
- "privacy": "public",
790
+ "name": "delete",
839
791
  "return": {
840
792
  "type": {
841
- "text": "() => void"
793
+ "text": ""
842
794
  }
843
795
  },
844
796
  "parameters": [
845
797
  {
846
- "name": "listener",
798
+ "name": "key",
847
799
  "type": {
848
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
849
- }
800
+ "text": "keyof TErrorDetailMap"
801
+ },
802
+ "description": "The key."
850
803
  }
851
- ]
804
+ ],
805
+ "description": "Delete an error.",
806
+ "privacy": "public"
852
807
  },
853
808
  {
854
809
  "kind": "method",
855
- "name": "onAfterUpdate",
856
- "privacy": "public",
810
+ "name": "clear",
811
+ "description": "Clear errors.",
812
+ "privacy": "public"
813
+ },
814
+ {
815
+ "kind": "field",
816
+ "name": "size",
817
+ "type": {
818
+ "text": "number"
819
+ },
820
+ "description": "The size of the error map.",
857
821
  "return": {
858
822
  "type": {
859
- "text": "() => void"
823
+ "text": ""
860
824
  }
861
825
  },
862
- "parameters": [
863
- {
864
- "name": "listener",
865
- "type": {
866
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
867
- }
868
- }
869
- ]
826
+ "privacy": "public",
827
+ "readonly": true
828
+ },
829
+ {
830
+ "kind": "method",
831
+ "name": "values",
832
+ "privacy": "public"
833
+ },
834
+ {
835
+ "kind": "field",
836
+ "name": "messages",
837
+ "type": {
838
+ "text": "string"
839
+ },
840
+ "description": "{@inheritDoc ErrorMap.messages}",
841
+ "readonly": true
870
842
  }
871
843
  ]
844
+ },
845
+ {
846
+ "kind": "function",
847
+ "name": "createErrorMap",
848
+ "return": {
849
+ "type": {
850
+ "text": ""
851
+ }
852
+ },
853
+ "parameters": [
854
+ {
855
+ "name": "logger",
856
+ "type": {
857
+ "text": "ErrorMapLogger"
858
+ },
859
+ "description": "A logger error method reference."
860
+ }
861
+ ],
862
+ "description": "A factory to create the error map.",
863
+ "privacy": "public"
872
864
  }
873
865
  ],
874
866
  "exports": [
875
867
  {
876
868
  "kind": "js",
877
- "name": "InMemoryDatabase",
869
+ "name": "DefaultErrorMap",
878
870
  "declaration": {
879
- "name": "InMemoryDatabase",
880
- "module": "src/data/inMemoryDatabase.ts"
871
+ "name": "DefaultErrorMap",
872
+ "module": "src/error/errorMap.ts"
873
+ }
874
+ },
875
+ {
876
+ "kind": "js",
877
+ "name": "createErrorMap",
878
+ "declaration": {
879
+ "name": "createErrorMap",
880
+ "module": "src/error/errorMap.ts"
881
881
  }
882
882
  }
883
883
  ]
884
884
  },
885
885
  {
886
886
  "kind": "javascript-module",
887
- "path": "src/data/index.ts",
887
+ "path": "src/error/index.ts",
888
888
  "declarations": [],
889
889
  "exports": [
890
890
  {
@@ -892,7 +892,7 @@
892
892
  "name": "*",
893
893
  "declaration": {
894
894
  "name": "*",
895
- "package": "./inMemoryDatabase"
895
+ "package": "./errorMap"
896
896
  }
897
897
  }
898
898
  ]
@@ -1197,7 +1197,7 @@
1197
1197
  },
1198
1198
  {
1199
1199
  "kind": "javascript-module",
1200
- "path": "src/mixins/index.ts",
1200
+ "path": "src/mappers/index.ts",
1201
1201
  "declarations": [],
1202
1202
  "exports": [
1203
1203
  {
@@ -1205,22 +1205,14 @@
1205
1205
  "name": "*",
1206
1206
  "declaration": {
1207
1207
  "name": "*",
1208
- "package": "./pendingState"
1209
- }
1210
- },
1211
- {
1212
- "kind": "js",
1213
- "name": "*",
1214
- "declaration": {
1215
- "name": "*",
1216
- "package": "./lifecycle"
1208
+ "package": "./dto"
1217
1209
  }
1218
1210
  }
1219
1211
  ]
1220
1212
  },
1221
1213
  {
1222
1214
  "kind": "javascript-module",
1223
- "path": "src/mappers/index.ts",
1215
+ "path": "src/mixins/index.ts",
1224
1216
  "declarations": [],
1225
1217
  "exports": [
1226
1218
  {
@@ -1228,7 +1220,15 @@
1228
1220
  "name": "*",
1229
1221
  "declaration": {
1230
1222
  "name": "*",
1231
- "package": "./dto"
1223
+ "package": "./pendingState"
1224
+ }
1225
+ },
1226
+ {
1227
+ "kind": "js",
1228
+ "name": "*",
1229
+ "declaration": {
1230
+ "name": "*",
1231
+ "package": "./lifecycle"
1232
1232
  }
1233
1233
  }
1234
1234
  ]
@@ -2007,49 +2007,138 @@
2007
2007
  "description": "The height of the new window (optional)."
2008
2008
  }
2009
2009
  ],
2010
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
2010
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
2011
+ "privacy": "public"
2012
+ }
2013
+ ],
2014
+ "exports": [
2015
+ {
2016
+ "kind": "js",
2017
+ "name": "inIFrame",
2018
+ "declaration": {
2019
+ "name": "inIFrame",
2020
+ "module": "src/window/window.ts"
2021
+ }
2022
+ },
2023
+ {
2024
+ "kind": "js",
2025
+ "name": "inSymphonyDesktop",
2026
+ "declaration": {
2027
+ "name": "inSymphonyDesktop",
2028
+ "module": "src/window/window.ts"
2029
+ }
2030
+ },
2031
+ {
2032
+ "kind": "js",
2033
+ "name": "POPUP_DEFAULT_WIDTH",
2034
+ "declaration": {
2035
+ "name": "POPUP_DEFAULT_WIDTH",
2036
+ "module": "src/window/window.ts"
2037
+ }
2038
+ },
2039
+ {
2040
+ "kind": "js",
2041
+ "name": "POPUP_DEFAULT_HEIGHT",
2042
+ "declaration": {
2043
+ "name": "POPUP_DEFAULT_HEIGHT",
2044
+ "module": "src/window/window.ts"
2045
+ }
2046
+ },
2047
+ {
2048
+ "kind": "js",
2049
+ "name": "openPopup",
2050
+ "declaration": {
2051
+ "name": "openPopup",
2052
+ "module": "src/window/window.ts"
2053
+ }
2054
+ }
2055
+ ]
2056
+ },
2057
+ {
2058
+ "kind": "javascript-module",
2059
+ "path": "src/directives/sync/index.ts",
2060
+ "declarations": [],
2061
+ "exports": [
2062
+ {
2063
+ "kind": "js",
2064
+ "name": "*",
2065
+ "declaration": {
2066
+ "name": "*",
2067
+ "package": "./sync"
2068
+ }
2069
+ }
2070
+ ]
2071
+ },
2072
+ {
2073
+ "kind": "javascript-module",
2074
+ "path": "src/directives/sync/sync.ts",
2075
+ "declarations": [
2076
+ {
2077
+ "kind": "variable",
2078
+ "name": "defaultEventMap",
2079
+ "type": {
2080
+ "text": "Map<string, EventName>"
2081
+ },
2082
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2083
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2084
+ "privacy": "public"
2085
+ },
2086
+ {
2087
+ "kind": "function",
2088
+ "name": "sync",
2089
+ "return": {
2090
+ "type": {
2091
+ "text": "CaptureType<TSource>"
2092
+ }
2093
+ },
2094
+ "parameters": [
2095
+ {
2096
+ "name": "binding",
2097
+ "type": {
2098
+ "text": "Binding<TSource, TReturn>"
2099
+ }
2100
+ },
2101
+ {
2102
+ "name": "conversionType",
2103
+ "default": "'string'",
2104
+ "type": {
2105
+ "text": "ConversionType"
2106
+ }
2107
+ },
2108
+ {
2109
+ "name": "eventName",
2110
+ "default": "'default'",
2111
+ "type": {
2112
+ "text": "EventName"
2113
+ }
2114
+ },
2115
+ {
2116
+ "name": "keyAttr",
2117
+ "optional": true,
2118
+ "type": {
2119
+ "text": "string"
2120
+ }
2121
+ }
2122
+ ],
2123
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2011
2124
  "privacy": "public"
2012
2125
  }
2013
2126
  ],
2014
2127
  "exports": [
2015
2128
  {
2016
2129
  "kind": "js",
2017
- "name": "inIFrame",
2018
- "declaration": {
2019
- "name": "inIFrame",
2020
- "module": "src/window/window.ts"
2021
- }
2022
- },
2023
- {
2024
- "kind": "js",
2025
- "name": "inSymphonyDesktop",
2026
- "declaration": {
2027
- "name": "inSymphonyDesktop",
2028
- "module": "src/window/window.ts"
2029
- }
2030
- },
2031
- {
2032
- "kind": "js",
2033
- "name": "POPUP_DEFAULT_WIDTH",
2034
- "declaration": {
2035
- "name": "POPUP_DEFAULT_WIDTH",
2036
- "module": "src/window/window.ts"
2037
- }
2038
- },
2039
- {
2040
- "kind": "js",
2041
- "name": "POPUP_DEFAULT_HEIGHT",
2130
+ "name": "defaultEventMap",
2042
2131
  "declaration": {
2043
- "name": "POPUP_DEFAULT_HEIGHT",
2044
- "module": "src/window/window.ts"
2132
+ "name": "defaultEventMap",
2133
+ "module": "src/directives/sync/sync.ts"
2045
2134
  }
2046
2135
  },
2047
2136
  {
2048
2137
  "kind": "js",
2049
- "name": "openPopup",
2138
+ "name": "sync",
2050
2139
  "declaration": {
2051
- "name": "openPopup",
2052
- "module": "src/window/window.ts"
2140
+ "name": "sync",
2141
+ "module": "src/directives/sync/sync.ts"
2053
2142
  }
2054
2143
  }
2055
2144
  ]
@@ -2121,7 +2210,7 @@
2121
2210
  },
2122
2211
  {
2123
2212
  "kind": "javascript-module",
2124
- "path": "src/directives/sync/index.ts",
2213
+ "path": "src/mappers/dto/index.ts",
2125
2214
  "declarations": [],
2126
2215
  "exports": [
2127
2216
  {
@@ -2129,85 +2218,96 @@
2129
2218
  "name": "*",
2130
2219
  "declaration": {
2131
2220
  "name": "*",
2132
- "package": "./sync"
2221
+ "package": "./serverRow"
2222
+ }
2223
+ },
2224
+ {
2225
+ "kind": "js",
2226
+ "name": "*",
2227
+ "declaration": {
2228
+ "name": "*",
2229
+ "package": "./types"
2133
2230
  }
2134
2231
  }
2135
2232
  ]
2136
2233
  },
2137
2234
  {
2138
2235
  "kind": "javascript-module",
2139
- "path": "src/directives/sync/sync.ts",
2236
+ "path": "src/mappers/dto/serverRow.ts",
2140
2237
  "declarations": [
2141
2238
  {
2142
- "kind": "variable",
2143
- "name": "defaultEventMap",
2144
- "type": {
2145
- "text": "Map<string, EventName>"
2146
- },
2147
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2148
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2149
- "privacy": "public"
2150
- },
2151
- {
2152
- "kind": "function",
2153
- "name": "sync",
2154
- "return": {
2155
- "type": {
2156
- "text": "CaptureType<TSource>"
2157
- }
2158
- },
2159
- "parameters": [
2160
- {
2161
- "name": "binding",
2162
- "type": {
2163
- "text": "Binding<TSource, TReturn>"
2164
- }
2165
- },
2166
- {
2167
- "name": "conversionType",
2168
- "default": "'string'",
2169
- "type": {
2170
- "text": "ConversionType"
2171
- }
2172
- },
2239
+ "kind": "class",
2240
+ "description": "The default `ServerRowDTOMapper`.",
2241
+ "name": "DefaultServerRowDTOMapper",
2242
+ "members": [
2173
2243
  {
2174
- "name": "eventName",
2175
- "default": "'default'",
2176
- "type": {
2177
- "text": "EventName"
2178
- }
2244
+ "kind": "field",
2245
+ "name": "fromDTO",
2246
+ "description": "Converts a server row DTO to an entity.",
2247
+ "parameters": [
2248
+ {
2249
+ "description": "The DTO to convert.",
2250
+ "name": "dto"
2251
+ }
2252
+ ],
2253
+ "return": {
2254
+ "type": {
2255
+ "text": ""
2256
+ }
2257
+ },
2258
+ "privacy": "public"
2179
2259
  },
2180
2260
  {
2181
- "name": "keyAttr",
2182
- "optional": true,
2183
- "type": {
2184
- "text": "string"
2185
- }
2261
+ "kind": "field",
2262
+ "name": "toDTO",
2263
+ "description": "Converts a server row entity to a DTO.",
2264
+ "parameters": [
2265
+ {
2266
+ "description": "The entity to convert.",
2267
+ "name": "entity"
2268
+ }
2269
+ ],
2270
+ "return": {
2271
+ "type": {
2272
+ "text": ""
2273
+ }
2274
+ },
2275
+ "privacy": "public"
2186
2276
  }
2187
- ],
2188
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2277
+ ]
2278
+ },
2279
+ {
2280
+ "kind": "variable",
2281
+ "name": "ServerRowDTOMapper",
2282
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2189
2283
  "privacy": "public"
2190
2284
  }
2191
2285
  ],
2192
2286
  "exports": [
2193
2287
  {
2194
2288
  "kind": "js",
2195
- "name": "defaultEventMap",
2289
+ "name": "DefaultServerRowDTOMapper",
2196
2290
  "declaration": {
2197
- "name": "defaultEventMap",
2198
- "module": "src/directives/sync/sync.ts"
2291
+ "name": "DefaultServerRowDTOMapper",
2292
+ "module": "src/mappers/dto/serverRow.ts"
2199
2293
  }
2200
2294
  },
2201
2295
  {
2202
2296
  "kind": "js",
2203
- "name": "sync",
2297
+ "name": "ServerRowDTOMapper",
2204
2298
  "declaration": {
2205
- "name": "sync",
2206
- "module": "src/directives/sync/sync.ts"
2299
+ "name": "ServerRowDTOMapper",
2300
+ "module": "src/mappers/dto/serverRow.ts"
2207
2301
  }
2208
2302
  }
2209
2303
  ]
2210
2304
  },
2305
+ {
2306
+ "kind": "javascript-module",
2307
+ "path": "src/mappers/dto/types.ts",
2308
+ "declarations": [],
2309
+ "exports": []
2310
+ },
2211
2311
  {
2212
2312
  "kind": "javascript-module",
2213
2313
  "path": "src/mixins/lifecycle/index.ts",
@@ -2419,106 +2519,6 @@
2419
2519
  }
2420
2520
  ]
2421
2521
  },
2422
- {
2423
- "kind": "javascript-module",
2424
- "path": "src/mappers/dto/index.ts",
2425
- "declarations": [],
2426
- "exports": [
2427
- {
2428
- "kind": "js",
2429
- "name": "*",
2430
- "declaration": {
2431
- "name": "*",
2432
- "package": "./serverRow"
2433
- }
2434
- },
2435
- {
2436
- "kind": "js",
2437
- "name": "*",
2438
- "declaration": {
2439
- "name": "*",
2440
- "package": "./types"
2441
- }
2442
- }
2443
- ]
2444
- },
2445
- {
2446
- "kind": "javascript-module",
2447
- "path": "src/mappers/dto/serverRow.ts",
2448
- "declarations": [
2449
- {
2450
- "kind": "class",
2451
- "description": "The default `ServerRowDTOMapper`.",
2452
- "name": "DefaultServerRowDTOMapper",
2453
- "members": [
2454
- {
2455
- "kind": "field",
2456
- "name": "fromDTO",
2457
- "description": "Converts a server row DTO to an entity.",
2458
- "parameters": [
2459
- {
2460
- "description": "The DTO to convert.",
2461
- "name": "dto"
2462
- }
2463
- ],
2464
- "return": {
2465
- "type": {
2466
- "text": ""
2467
- }
2468
- },
2469
- "privacy": "public"
2470
- },
2471
- {
2472
- "kind": "field",
2473
- "name": "toDTO",
2474
- "description": "Converts a server row entity to a DTO.",
2475
- "parameters": [
2476
- {
2477
- "description": "The entity to convert.",
2478
- "name": "entity"
2479
- }
2480
- ],
2481
- "return": {
2482
- "type": {
2483
- "text": ""
2484
- }
2485
- },
2486
- "privacy": "public"
2487
- }
2488
- ]
2489
- },
2490
- {
2491
- "kind": "variable",
2492
- "name": "ServerRowDTOMapper",
2493
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2494
- "privacy": "public"
2495
- }
2496
- ],
2497
- "exports": [
2498
- {
2499
- "kind": "js",
2500
- "name": "DefaultServerRowDTOMapper",
2501
- "declaration": {
2502
- "name": "DefaultServerRowDTOMapper",
2503
- "module": "src/mappers/dto/serverRow.ts"
2504
- }
2505
- },
2506
- {
2507
- "kind": "js",
2508
- "name": "ServerRowDTOMapper",
2509
- "declaration": {
2510
- "name": "ServerRowDTOMapper",
2511
- "module": "src/mappers/dto/serverRow.ts"
2512
- }
2513
- }
2514
- ]
2515
- },
2516
- {
2517
- "kind": "javascript-module",
2518
- "path": "src/mappers/dto/types.ts",
2519
- "declarations": [],
2520
- "exports": []
2521
- },
2522
2522
  {
2523
2523
  "kind": "javascript-module",
2524
2524
  "path": "src/serializers/json/index.ts",