@genesislcap/foundation-utils 14.147.1-alpha-3a79940.0 → 14.147.1-alpha-e9dbeac.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 +632 -632
  2. package/package.json +10 -10
@@ -151,109 +151,6 @@
151
151
  }
152
152
  ]
153
153
  },
154
- {
155
- "kind": "javascript-module",
156
- "path": "src/decorators/index.ts",
157
- "declarations": [],
158
- "exports": [
159
- {
160
- "kind": "js",
161
- "name": "*",
162
- "declaration": {
163
- "name": "*",
164
- "package": "./renderOnChange"
165
- }
166
- }
167
- ]
168
- },
169
- {
170
- "kind": "javascript-module",
171
- "path": "src/decorators/renderOnChange.ts",
172
- "declarations": [
173
- {
174
- "kind": "function",
175
- "name": "renderOnChange",
176
- "parameters": [
177
- {
178
- "name": "target",
179
- "type": {
180
- "text": "FASTElement & { render(): void }"
181
- },
182
- "description": "The target to define the property change handler on."
183
- },
184
- {
185
- "name": "name",
186
- "type": {
187
- "text": "string"
188
- },
189
- "description": "The property name."
190
- }
191
- ],
192
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
193
- "privacy": "public"
194
- }
195
- ],
196
- "exports": [
197
- {
198
- "kind": "js",
199
- "name": "renderOnChange",
200
- "declaration": {
201
- "name": "renderOnChange",
202
- "module": "src/decorators/renderOnChange.ts"
203
- }
204
- }
205
- ]
206
- },
207
- {
208
- "kind": "javascript-module",
209
- "path": "src/design-system/design-system.ts",
210
- "declarations": [
211
- {
212
- "kind": "function",
213
- "name": "assureDesignSystem",
214
- "return": {
215
- "type": {
216
- "text": "DesignSystemModule"
217
- }
218
- },
219
- "parameters": [
220
- {
221
- "name": "module",
222
- "type": {
223
- "text": "DesignSystemModule"
224
- }
225
- }
226
- ],
227
- "description": "assureDesignSystem.",
228
- "privacy": "public"
229
- }
230
- ],
231
- "exports": [
232
- {
233
- "kind": "js",
234
- "name": "assureDesignSystem",
235
- "declaration": {
236
- "name": "assureDesignSystem",
237
- "module": "src/design-system/design-system.ts"
238
- }
239
- }
240
- ]
241
- },
242
- {
243
- "kind": "javascript-module",
244
- "path": "src/design-system/index.ts",
245
- "declarations": [],
246
- "exports": [
247
- {
248
- "kind": "js",
249
- "name": "*",
250
- "declaration": {
251
- "name": "*",
252
- "package": "./design-system"
253
- }
254
- }
255
- ]
256
- },
257
154
  {
258
155
  "kind": "javascript-module",
259
156
  "path": "src/directives/index.ts",
@@ -277,204 +174,6 @@
277
174
  }
278
175
  ]
279
176
  },
280
- {
281
- "kind": "javascript-module",
282
- "path": "src/data/inMemoryDatabase.ts",
283
- "declarations": [
284
- {
285
- "kind": "class",
286
- "description": "An in memory database of specific DatabaseRecord types.",
287
- "name": "InMemoryDatabase",
288
- "members": [
289
- {
290
- "kind": "field",
291
- "name": "isWorking",
292
- "type": {
293
- "text": "boolean"
294
- },
295
- "privacy": "public",
296
- "default": "false"
297
- },
298
- {
299
- "kind": "field",
300
- "name": "records",
301
- "type": {
302
- "text": "Record<string, T>"
303
- },
304
- "privacy": "private",
305
- "default": "{}"
306
- },
307
- {
308
- "kind": "field",
309
- "name": "beforeUpdateListeners",
310
- "privacy": "private"
311
- },
312
- {
313
- "kind": "field",
314
- "name": "afterUpdateListeners",
315
- "privacy": "private"
316
- },
317
- {
318
- "kind": "method",
319
- "name": "create",
320
- "privacy": "public",
321
- "return": {
322
- "type": {
323
- "text": "Promise<DatabaseAccessResult.Create<T>>"
324
- }
325
- },
326
- "parameters": [
327
- {
328
- "name": "newValue",
329
- "type": {
330
- "text": "Omit<T, 'id'>"
331
- }
332
- }
333
- ]
334
- },
335
- {
336
- "kind": "method",
337
- "name": "read",
338
- "privacy": "public",
339
- "return": {
340
- "type": {
341
- "text": "Promise<DatabaseAccessResult.Read<T>>"
342
- }
343
- },
344
- "parameters": [
345
- {
346
- "name": "id",
347
- "type": {
348
- "text": "string"
349
- }
350
- }
351
- ]
352
- },
353
- {
354
- "kind": "method",
355
- "name": "update",
356
- "privacy": "public",
357
- "return": {
358
- "type": {
359
- "text": "Promise<DatabaseAccessResult.Update<T>>"
360
- }
361
- },
362
- "parameters": [
363
- {
364
- "name": "id",
365
- "type": {
366
- "text": "string"
367
- }
368
- },
369
- {
370
- "name": "newValue",
371
- "type": {
372
- "text": "Omit<Partial<T>, 'id'>"
373
- }
374
- }
375
- ]
376
- },
377
- {
378
- "kind": "method",
379
- "name": "delete",
380
- "privacy": "public",
381
- "return": {
382
- "type": {
383
- "text": "Promise<DatabaseAccessResult.Delete>"
384
- }
385
- },
386
- "parameters": [
387
- {
388
- "name": "id",
389
- "type": {
390
- "text": "string"
391
- }
392
- }
393
- ]
394
- },
395
- {
396
- "kind": "method",
397
- "name": "visit",
398
- "privacy": "public",
399
- "return": {
400
- "type": {
401
- "text": "Promise<void>"
402
- }
403
- },
404
- "parameters": [
405
- {
406
- "name": "visitor",
407
- "type": {
408
- "text": "(record: T) => void"
409
- }
410
- }
411
- ]
412
- },
413
- {
414
- "kind": "method",
415
- "name": "onBeforeUpdate",
416
- "privacy": "public",
417
- "return": {
418
- "type": {
419
- "text": "() => void"
420
- }
421
- },
422
- "parameters": [
423
- {
424
- "name": "listener",
425
- "type": {
426
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
427
- }
428
- }
429
- ]
430
- },
431
- {
432
- "kind": "method",
433
- "name": "onAfterUpdate",
434
- "privacy": "public",
435
- "return": {
436
- "type": {
437
- "text": "() => void"
438
- }
439
- },
440
- "parameters": [
441
- {
442
- "name": "listener",
443
- "type": {
444
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
445
- }
446
- }
447
- ]
448
- }
449
- ]
450
- }
451
- ],
452
- "exports": [
453
- {
454
- "kind": "js",
455
- "name": "InMemoryDatabase",
456
- "declaration": {
457
- "name": "InMemoryDatabase",
458
- "module": "src/data/inMemoryDatabase.ts"
459
- }
460
- }
461
- ]
462
- },
463
- {
464
- "kind": "javascript-module",
465
- "path": "src/data/index.ts",
466
- "declarations": [],
467
- "exports": [
468
- {
469
- "kind": "js",
470
- "name": "*",
471
- "declaration": {
472
- "name": "*",
473
- "package": "./inMemoryDatabase"
474
- }
475
- }
476
- ]
477
- },
478
177
  {
479
178
  "kind": "javascript-module",
480
179
  "path": "src/env/index.ts",
@@ -630,261 +329,562 @@
630
329
  }
631
330
  },
632
331
  {
633
- "kind": "variable",
634
- "name": "_DEFAULT_USER",
635
- "type": {
636
- "text": "string"
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
+ ]
543
+ },
544
+ {
545
+ "kind": "function",
546
+ "name": "createErrorMap",
547
+ "return": {
548
+ "type": {
549
+ "text": ""
550
+ }
637
551
  },
638
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
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.",
639
562
  "privacy": "public"
640
563
  }
641
564
  ],
642
565
  "exports": [
643
566
  {
644
567
  "kind": "js",
645
- "name": "SOCKET_EXT",
568
+ "name": "DefaultErrorMap",
646
569
  "declaration": {
647
- "name": "_SOCKET_EXT",
648
- "module": "src/env/variables.ts"
570
+ "name": "DefaultErrorMap",
571
+ "module": "src/error/errorMap.ts"
649
572
  }
650
573
  },
651
574
  {
652
575
  "kind": "js",
653
- "name": "FORCE_HTTP",
576
+ "name": "createErrorMap",
654
577
  "declaration": {
655
- "name": "_FORCE_HTTP",
656
- "module": "src/env/variables.ts"
578
+ "name": "createErrorMap",
579
+ "module": "src/error/errorMap.ts"
657
580
  }
658
- },
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "kind": "javascript-module",
586
+ "path": "src/error/index.ts",
587
+ "declarations": [],
588
+ "exports": [
659
589
  {
660
590
  "kind": "js",
661
- "name": "API_HOST",
591
+ "name": "*",
662
592
  "declaration": {
663
- "name": "_API_HOST",
664
- "module": "src/env/variables.ts"
593
+ "name": "*",
594
+ "package": "./errorMap"
665
595
  }
666
- },
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": [
667
624
  {
668
625
  "kind": "js",
669
- "name": "HTTP_CONFIG",
626
+ "name": "assureDesignSystem",
670
627
  "declaration": {
671
- "name": "_HTTP_CONFIG",
672
- "module": "src/env/variables.ts"
628
+ "name": "assureDesignSystem",
629
+ "module": "src/design-system/design-system.ts"
673
630
  }
674
- },
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "kind": "javascript-module",
636
+ "path": "src/design-system/index.ts",
637
+ "declarations": [],
638
+ "exports": [
675
639
  {
676
640
  "kind": "js",
677
- "name": "DEFAULT_ORGANISATION",
641
+ "name": "*",
678
642
  "declaration": {
679
- "name": "_DEFAULT_ORGANISATION",
680
- "module": "src/env/variables.ts"
643
+ "name": "*",
644
+ "package": "./design-system"
681
645
  }
682
- },
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "kind": "javascript-module",
651
+ "path": "src/decorators/index.ts",
652
+ "declarations": [],
653
+ "exports": [
683
654
  {
684
655
  "kind": "js",
685
- "name": "DEFAULT_PASSWORD",
656
+ "name": "*",
686
657
  "declaration": {
687
- "name": "_DEFAULT_PASSWORD",
688
- "module": "src/env/variables.ts"
658
+ "name": "*",
659
+ "package": "./renderOnChange"
689
660
  }
690
- },
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": [
691
692
  {
692
693
  "kind": "js",
693
- "name": "DEFAULT_USER",
694
+ "name": "renderOnChange",
694
695
  "declaration": {
695
- "name": "_DEFAULT_USER",
696
- "module": "src/env/variables.ts"
696
+ "name": "renderOnChange",
697
+ "module": "src/decorators/renderOnChange.ts"
697
698
  }
698
699
  }
699
700
  ]
700
701
  },
701
702
  {
702
703
  "kind": "javascript-module",
703
- "path": "src/error/errorMap.ts",
704
+ "path": "src/data/inMemoryDatabase.ts",
704
705
  "declarations": [
705
706
  {
706
707
  "kind": "class",
707
- "description": "",
708
- "name": "DefaultErrorMap",
708
+ "description": "An in memory database of specific DatabaseRecord types.",
709
+ "name": "InMemoryDatabase",
709
710
  "members": [
710
711
  {
711
712
  "kind": "field",
712
- "name": "map",
713
- "privacy": "private",
714
- "default": "new Map<keyof TErrorDetailMap, Error>()"
713
+ "name": "isWorking",
714
+ "type": {
715
+ "text": "boolean"
716
+ },
717
+ "privacy": "public",
718
+ "default": "false"
715
719
  },
716
720
  {
717
721
  "kind": "field",
718
- "name": "lastError",
722
+ "name": "records",
719
723
  "type": {
720
- "text": "Error"
724
+ "text": "Record<string, T>"
721
725
  },
722
- "description": "{@inheritDoc ErrorMap.lastError}"
726
+ "privacy": "private",
727
+ "default": "{}"
728
+ },
729
+ {
730
+ "kind": "field",
731
+ "name": "beforeUpdateListeners",
732
+ "privacy": "private"
733
+ },
734
+ {
735
+ "kind": "field",
736
+ "name": "afterUpdateListeners",
737
+ "privacy": "private"
723
738
  },
724
739
  {
725
740
  "kind": "method",
726
- "name": "set",
741
+ "name": "create",
742
+ "privacy": "public",
727
743
  "return": {
728
744
  "type": {
729
- "text": "void"
745
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
730
746
  }
731
747
  },
732
748
  "parameters": [
733
749
  {
734
- "name": "key",
750
+ "name": "newValue",
735
751
  "type": {
736
- "text": "keyof TErrorDetailMap"
752
+ "text": "Omit<T, 'id'>"
737
753
  }
738
- },
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ "kind": "method",
759
+ "name": "read",
760
+ "privacy": "public",
761
+ "return": {
762
+ "type": {
763
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
764
+ }
765
+ },
766
+ "parameters": [
739
767
  {
740
- "name": "error",
768
+ "name": "id",
741
769
  "type": {
742
- "text": "Error"
770
+ "text": "string"
743
771
  }
744
772
  }
745
- ],
746
- "description": "{@inheritDoc ErrorMap.set}"
773
+ ]
747
774
  },
748
775
  {
749
776
  "kind": "method",
750
- "name": "get",
777
+ "name": "update",
778
+ "privacy": "public",
751
779
  "return": {
752
780
  "type": {
753
- "text": ""
781
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
754
782
  }
755
783
  },
756
784
  "parameters": [
757
785
  {
758
- "name": "key",
786
+ "name": "id",
759
787
  "type": {
760
- "text": "keyof TErrorDetailMap"
761
- },
762
- "description": "The key."
788
+ "text": "string"
789
+ }
790
+ },
791
+ {
792
+ "name": "newValue",
793
+ "type": {
794
+ "text": "Omit<Partial<T>, 'id'>"
795
+ }
763
796
  }
764
- ],
765
- "description": "Get an error by key.",
766
- "privacy": "public"
797
+ ]
767
798
  },
768
799
  {
769
800
  "kind": "method",
770
- "name": "has",
801
+ "name": "delete",
802
+ "privacy": "public",
771
803
  "return": {
772
804
  "type": {
773
- "text": ""
805
+ "text": "Promise<DatabaseAccessResult.Delete>"
774
806
  }
775
807
  },
776
808
  "parameters": [
777
809
  {
778
- "name": "key",
810
+ "name": "id",
779
811
  "type": {
780
- "text": "keyof TErrorDetailMap"
781
- },
782
- "description": "The key."
812
+ "text": "string"
813
+ }
783
814
  }
784
- ],
785
- "description": "Has an error for key.",
786
- "privacy": "public"
815
+ ]
787
816
  },
788
817
  {
789
818
  "kind": "method",
790
- "name": "delete",
819
+ "name": "visit",
820
+ "privacy": "public",
791
821
  "return": {
792
822
  "type": {
793
- "text": ""
823
+ "text": "Promise<void>"
794
824
  }
795
825
  },
796
826
  "parameters": [
797
827
  {
798
- "name": "key",
828
+ "name": "visitor",
799
829
  "type": {
800
- "text": "keyof TErrorDetailMap"
801
- },
802
- "description": "The key."
830
+ "text": "(record: T) => void"
831
+ }
803
832
  }
804
- ],
805
- "description": "Delete an error.",
806
- "privacy": "public"
833
+ ]
807
834
  },
808
835
  {
809
836
  "kind": "method",
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.",
837
+ "name": "onBeforeUpdate",
838
+ "privacy": "public",
821
839
  "return": {
822
840
  "type": {
823
- "text": ""
841
+ "text": "() => void"
824
842
  }
825
843
  },
826
- "privacy": "public",
827
- "readonly": true
844
+ "parameters": [
845
+ {
846
+ "name": "listener",
847
+ "type": {
848
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
849
+ }
850
+ }
851
+ ]
828
852
  },
829
853
  {
830
854
  "kind": "method",
831
- "name": "values",
832
- "privacy": "public"
833
- },
834
- {
835
- "kind": "field",
836
- "name": "messages",
837
- "type": {
838
- "text": "string"
855
+ "name": "onAfterUpdate",
856
+ "privacy": "public",
857
+ "return": {
858
+ "type": {
859
+ "text": "() => void"
860
+ }
839
861
  },
840
- "description": "{@inheritDoc ErrorMap.messages}",
841
- "readonly": true
862
+ "parameters": [
863
+ {
864
+ "name": "listener",
865
+ "type": {
866
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
867
+ }
868
+ }
869
+ ]
842
870
  }
843
871
  ]
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"
864
872
  }
865
873
  ],
866
874
  "exports": [
867
875
  {
868
876
  "kind": "js",
869
- "name": "DefaultErrorMap",
870
- "declaration": {
871
- "name": "DefaultErrorMap",
872
- "module": "src/error/errorMap.ts"
873
- }
874
- },
875
- {
876
- "kind": "js",
877
- "name": "createErrorMap",
877
+ "name": "InMemoryDatabase",
878
878
  "declaration": {
879
- "name": "createErrorMap",
880
- "module": "src/error/errorMap.ts"
879
+ "name": "InMemoryDatabase",
880
+ "module": "src/data/inMemoryDatabase.ts"
881
881
  }
882
882
  }
883
883
  ]
884
884
  },
885
885
  {
886
886
  "kind": "javascript-module",
887
- "path": "src/error/index.ts",
887
+ "path": "src/data/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": "./errorMap"
895
+ "package": "./inMemoryDatabase"
896
896
  }
897
897
  }
898
898
  ]
@@ -1197,7 +1197,7 @@
1197
1197
  },
1198
1198
  {
1199
1199
  "kind": "javascript-module",
1200
- "path": "src/mappers/index.ts",
1200
+ "path": "src/mixins/index.ts",
1201
1201
  "declarations": [],
1202
1202
  "exports": [
1203
1203
  {
@@ -1205,14 +1205,22 @@
1205
1205
  "name": "*",
1206
1206
  "declaration": {
1207
1207
  "name": "*",
1208
- "package": "./dto"
1208
+ "package": "./pendingState"
1209
+ }
1210
+ },
1211
+ {
1212
+ "kind": "js",
1213
+ "name": "*",
1214
+ "declaration": {
1215
+ "name": "*",
1216
+ "package": "./lifecycle"
1209
1217
  }
1210
1218
  }
1211
1219
  ]
1212
1220
  },
1213
1221
  {
1214
1222
  "kind": "javascript-module",
1215
- "path": "src/mixins/index.ts",
1223
+ "path": "src/mappers/index.ts",
1216
1224
  "declarations": [],
1217
1225
  "exports": [
1218
1226
  {
@@ -1220,15 +1228,7 @@
1220
1228
  "name": "*",
1221
1229
  "declaration": {
1222
1230
  "name": "*",
1223
- "package": "./pendingState"
1224
- }
1225
- },
1226
- {
1227
- "kind": "js",
1228
- "name": "*",
1229
- "declaration": {
1230
- "name": "*",
1231
- "package": "./lifecycle"
1231
+ "package": "./dto"
1232
1232
  }
1233
1233
  }
1234
1234
  ]
@@ -2002,143 +2002,54 @@
2002
2002
  "name": "popUpHeight",
2003
2003
  "default": "POPUP_DEFAULT_HEIGHT",
2004
2004
  "type": {
2005
- "text": "number"
2006
- },
2007
- "description": "The height of the new window (optional)."
2008
- }
2009
- ],
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
- }
2005
+ "text": "number"
2006
+ },
2007
+ "description": "The height of the new window (optional)."
2121
2008
  }
2122
2009
  ],
2123
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2010
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
2124
2011
  "privacy": "public"
2125
2012
  }
2126
2013
  ],
2127
2014
  "exports": [
2128
2015
  {
2129
2016
  "kind": "js",
2130
- "name": "defaultEventMap",
2017
+ "name": "inIFrame",
2131
2018
  "declaration": {
2132
- "name": "defaultEventMap",
2133
- "module": "src/directives/sync/sync.ts"
2019
+ "name": "inIFrame",
2020
+ "module": "src/window/window.ts"
2134
2021
  }
2135
2022
  },
2136
2023
  {
2137
2024
  "kind": "js",
2138
- "name": "sync",
2025
+ "name": "inSymphonyDesktop",
2139
2026
  "declaration": {
2140
- "name": "sync",
2141
- "module": "src/directives/sync/sync.ts"
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"
2142
2053
  }
2143
2054
  }
2144
2055
  ]
@@ -2210,7 +2121,7 @@
2210
2121
  },
2211
2122
  {
2212
2123
  "kind": "javascript-module",
2213
- "path": "src/mappers/dto/index.ts",
2124
+ "path": "src/directives/sync/index.ts",
2214
2125
  "declarations": [],
2215
2126
  "exports": [
2216
2127
  {
@@ -2218,96 +2129,85 @@
2218
2129
  "name": "*",
2219
2130
  "declaration": {
2220
2131
  "name": "*",
2221
- "package": "./serverRow"
2222
- }
2223
- },
2224
- {
2225
- "kind": "js",
2226
- "name": "*",
2227
- "declaration": {
2228
- "name": "*",
2229
- "package": "./types"
2132
+ "package": "./sync"
2230
2133
  }
2231
2134
  }
2232
2135
  ]
2233
2136
  },
2234
2137
  {
2235
2138
  "kind": "javascript-module",
2236
- "path": "src/mappers/dto/serverRow.ts",
2139
+ "path": "src/directives/sync/sync.ts",
2237
2140
  "declarations": [
2238
2141
  {
2239
- "kind": "class",
2240
- "description": "The default `ServerRowDTOMapper`.",
2241
- "name": "DefaultServerRowDTOMapper",
2242
- "members": [
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": [
2243
2160
  {
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"
2161
+ "name": "binding",
2162
+ "type": {
2163
+ "text": "Binding<TSource, TReturn>"
2164
+ }
2259
2165
  },
2260
2166
  {
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"
2167
+ "name": "conversionType",
2168
+ "default": "'string'",
2169
+ "type": {
2170
+ "text": "ConversionType"
2171
+ }
2172
+ },
2173
+ {
2174
+ "name": "eventName",
2175
+ "default": "'default'",
2176
+ "type": {
2177
+ "text": "EventName"
2178
+ }
2179
+ },
2180
+ {
2181
+ "name": "keyAttr",
2182
+ "optional": true,
2183
+ "type": {
2184
+ "text": "string"
2185
+ }
2276
2186
  }
2277
- ]
2278
- },
2279
- {
2280
- "kind": "variable",
2281
- "name": "ServerRowDTOMapper",
2282
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2187
+ ],
2188
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2283
2189
  "privacy": "public"
2284
2190
  }
2285
2191
  ],
2286
2192
  "exports": [
2287
2193
  {
2288
2194
  "kind": "js",
2289
- "name": "DefaultServerRowDTOMapper",
2195
+ "name": "defaultEventMap",
2290
2196
  "declaration": {
2291
- "name": "DefaultServerRowDTOMapper",
2292
- "module": "src/mappers/dto/serverRow.ts"
2197
+ "name": "defaultEventMap",
2198
+ "module": "src/directives/sync/sync.ts"
2293
2199
  }
2294
2200
  },
2295
2201
  {
2296
2202
  "kind": "js",
2297
- "name": "ServerRowDTOMapper",
2203
+ "name": "sync",
2298
2204
  "declaration": {
2299
- "name": "ServerRowDTOMapper",
2300
- "module": "src/mappers/dto/serverRow.ts"
2205
+ "name": "sync",
2206
+ "module": "src/directives/sync/sync.ts"
2301
2207
  }
2302
2208
  }
2303
2209
  ]
2304
2210
  },
2305
- {
2306
- "kind": "javascript-module",
2307
- "path": "src/mappers/dto/types.ts",
2308
- "declarations": [],
2309
- "exports": []
2310
- },
2311
2211
  {
2312
2212
  "kind": "javascript-module",
2313
2213
  "path": "src/mixins/lifecycle/index.ts",
@@ -2519,6 +2419,106 @@
2519
2419
  }
2520
2420
  ]
2521
2421
  },
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",