@genesislcap/foundation-utils 14.166.0 → 14.167.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 +222 -222
  2. package/package.json +10 -10
@@ -151,29 +151,6 @@
151
151
  }
152
152
  ]
153
153
  },
154
- {
155
- "kind": "javascript-module",
156
- "path": "src/directives/index.ts",
157
- "declarations": [],
158
- "exports": [
159
- {
160
- "kind": "js",
161
- "name": "*",
162
- "declaration": {
163
- "name": "*",
164
- "package": "./sync"
165
- }
166
- },
167
- {
168
- "kind": "js",
169
- "name": "*",
170
- "declaration": {
171
- "name": "*",
172
- "package": "./when-else"
173
- }
174
- }
175
- ]
176
- },
177
154
  {
178
155
  "kind": "javascript-module",
179
156
  "path": "src/data/inMemoryDatabase.ts",
@@ -374,191 +351,95 @@
374
351
  },
375
352
  {
376
353
  "kind": "javascript-module",
377
- "path": "src/error/errorMap.ts",
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",
378
370
  "declarations": [
379
371
  {
380
- "kind": "class",
381
- "description": "",
382
- "name": "DefaultErrorMap",
383
- "members": [
384
- {
385
- "kind": "field",
386
- "name": "map",
387
- "privacy": "private",
388
- "default": "new Map<keyof TErrorDetailMap, Error>()"
389
- },
390
- {
391
- "kind": "field",
392
- "name": "lastError",
393
- "type": {
394
- "text": "Error"
395
- },
396
- "description": "{@inheritDoc ErrorMap.lastError}"
397
- },
398
- {
399
- "kind": "method",
400
- "name": "set",
401
- "return": {
402
- "type": {
403
- "text": "void"
404
- }
405
- },
406
- "parameters": [
407
- {
408
- "name": "key",
409
- "type": {
410
- "text": "keyof TErrorDetailMap"
411
- }
412
- },
413
- {
414
- "name": "error",
415
- "type": {
416
- "text": "Error"
417
- }
418
- }
419
- ],
420
- "description": "{@inheritDoc ErrorMap.set}"
421
- },
422
- {
423
- "kind": "method",
424
- "name": "get",
425
- "return": {
426
- "type": {
427
- "text": ""
428
- }
429
- },
430
- "parameters": [
431
- {
432
- "name": "key",
433
- "type": {
434
- "text": "keyof TErrorDetailMap"
435
- },
436
- "description": "The key."
437
- }
438
- ],
439
- "description": "Get an error by key.",
440
- "privacy": "public"
441
- },
442
- {
443
- "kind": "method",
444
- "name": "has",
445
- "return": {
446
- "type": {
447
- "text": ""
448
- }
449
- },
450
- "parameters": [
451
- {
452
- "name": "key",
453
- "type": {
454
- "text": "keyof TErrorDetailMap"
455
- },
456
- "description": "The key."
457
- }
458
- ],
459
- "description": "Has an error for key.",
460
- "privacy": "public"
461
- },
462
- {
463
- "kind": "method",
464
- "name": "delete",
465
- "return": {
466
- "type": {
467
- "text": ""
468
- }
469
- },
470
- "parameters": [
471
- {
472
- "name": "key",
473
- "type": {
474
- "text": "keyof TErrorDetailMap"
475
- },
476
- "description": "The key."
477
- }
478
- ],
479
- "description": "Delete an error.",
480
- "privacy": "public"
481
- },
482
- {
483
- "kind": "method",
484
- "name": "clear",
485
- "description": "Clear errors.",
486
- "privacy": "public"
487
- },
372
+ "kind": "function",
373
+ "name": "renderOnChange",
374
+ "parameters": [
488
375
  {
489
- "kind": "field",
490
- "name": "size",
376
+ "name": "target",
491
377
  "type": {
492
- "text": "number"
493
- },
494
- "description": "The size of the error map.",
495
- "return": {
496
- "type": {
497
- "text": ""
498
- }
378
+ "text": "FASTElement & { render(): void }"
499
379
  },
500
- "privacy": "public",
501
- "readonly": true
502
- },
503
- {
504
- "kind": "method",
505
- "name": "values",
506
- "privacy": "public"
380
+ "description": "The target to define the property change handler on."
507
381
  },
508
382
  {
509
- "kind": "field",
510
- "name": "messages",
383
+ "name": "name",
511
384
  "type": {
512
385
  "text": "string"
513
386
  },
514
- "description": "{@inheritDoc ErrorMap.messages}",
515
- "readonly": true
387
+ "description": "The property name."
516
388
  }
517
- ]
518
- },
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
+ },
405
+ {
406
+ "kind": "javascript-module",
407
+ "path": "src/design-system/design-system.ts",
408
+ "declarations": [
519
409
  {
520
410
  "kind": "function",
521
- "name": "createErrorMap",
411
+ "name": "assureDesignSystem",
522
412
  "return": {
523
413
  "type": {
524
- "text": ""
414
+ "text": "DesignSystemModule"
525
415
  }
526
416
  },
527
417
  "parameters": [
528
418
  {
529
- "name": "logger",
419
+ "name": "module",
530
420
  "type": {
531
- "text": "ErrorMapLogger"
532
- },
533
- "description": "A logger error method reference."
421
+ "text": "DesignSystemModule"
422
+ }
534
423
  }
535
424
  ],
536
- "description": "A factory to create the error map.",
425
+ "description": "assureDesignSystem.",
537
426
  "privacy": "public"
538
427
  }
539
428
  ],
540
429
  "exports": [
541
430
  {
542
431
  "kind": "js",
543
- "name": "DefaultErrorMap",
544
- "declaration": {
545
- "name": "DefaultErrorMap",
546
- "module": "src/error/errorMap.ts"
547
- }
548
- },
549
- {
550
- "kind": "js",
551
- "name": "createErrorMap",
432
+ "name": "assureDesignSystem",
552
433
  "declaration": {
553
- "name": "createErrorMap",
554
- "module": "src/error/errorMap.ts"
434
+ "name": "assureDesignSystem",
435
+ "module": "src/design-system/design-system.ts"
555
436
  }
556
437
  }
557
438
  ]
558
439
  },
559
440
  {
560
441
  "kind": "javascript-module",
561
- "path": "src/error/index.ts",
442
+ "path": "src/design-system/index.ts",
562
443
  "declarations": [],
563
444
  "exports": [
564
445
  {
@@ -566,14 +447,14 @@
566
447
  "name": "*",
567
448
  "declaration": {
568
449
  "name": "*",
569
- "package": "./errorMap"
450
+ "package": "./design-system"
570
451
  }
571
452
  }
572
453
  ]
573
454
  },
574
455
  {
575
456
  "kind": "javascript-module",
576
- "path": "src/decorators/index.ts",
457
+ "path": "src/directives/index.ts",
577
458
  "declarations": [],
578
459
  "exports": [
579
460
  {
@@ -581,45 +462,15 @@
581
462
  "name": "*",
582
463
  "declaration": {
583
464
  "name": "*",
584
- "package": "./renderOnChange"
465
+ "package": "./sync"
585
466
  }
586
- }
587
- ]
588
- },
589
- {
590
- "kind": "javascript-module",
591
- "path": "src/decorators/renderOnChange.ts",
592
- "declarations": [
593
- {
594
- "kind": "function",
595
- "name": "renderOnChange",
596
- "parameters": [
597
- {
598
- "name": "target",
599
- "type": {
600
- "text": "FASTElement & { render(): void }"
601
- },
602
- "description": "The target to define the property change handler on."
603
- },
604
- {
605
- "name": "name",
606
- "type": {
607
- "text": "string"
608
- },
609
- "description": "The property name."
610
- }
611
- ],
612
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
613
- "privacy": "public"
614
- }
615
- ],
616
- "exports": [
467
+ },
617
468
  {
618
469
  "kind": "js",
619
- "name": "renderOnChange",
470
+ "name": "*",
620
471
  "declaration": {
621
- "name": "renderOnChange",
622
- "module": "src/decorators/renderOnChange.ts"
472
+ "name": "*",
473
+ "package": "./when-else"
623
474
  }
624
475
  }
625
476
  ]
@@ -849,42 +700,191 @@
849
700
  },
850
701
  {
851
702
  "kind": "javascript-module",
852
- "path": "src/design-system/design-system.ts",
703
+ "path": "src/error/errorMap.ts",
853
704
  "declarations": [
705
+ {
706
+ "kind": "class",
707
+ "description": "",
708
+ "name": "DefaultErrorMap",
709
+ "members": [
710
+ {
711
+ "kind": "field",
712
+ "name": "map",
713
+ "privacy": "private",
714
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
715
+ },
716
+ {
717
+ "kind": "field",
718
+ "name": "lastError",
719
+ "type": {
720
+ "text": "Error"
721
+ },
722
+ "description": "{@inheritDoc ErrorMap.lastError}"
723
+ },
724
+ {
725
+ "kind": "method",
726
+ "name": "set",
727
+ "return": {
728
+ "type": {
729
+ "text": "void"
730
+ }
731
+ },
732
+ "parameters": [
733
+ {
734
+ "name": "key",
735
+ "type": {
736
+ "text": "keyof TErrorDetailMap"
737
+ }
738
+ },
739
+ {
740
+ "name": "error",
741
+ "type": {
742
+ "text": "Error"
743
+ }
744
+ }
745
+ ],
746
+ "description": "{@inheritDoc ErrorMap.set}"
747
+ },
748
+ {
749
+ "kind": "method",
750
+ "name": "get",
751
+ "return": {
752
+ "type": {
753
+ "text": ""
754
+ }
755
+ },
756
+ "parameters": [
757
+ {
758
+ "name": "key",
759
+ "type": {
760
+ "text": "keyof TErrorDetailMap"
761
+ },
762
+ "description": "The key."
763
+ }
764
+ ],
765
+ "description": "Get an error by key.",
766
+ "privacy": "public"
767
+ },
768
+ {
769
+ "kind": "method",
770
+ "name": "has",
771
+ "return": {
772
+ "type": {
773
+ "text": ""
774
+ }
775
+ },
776
+ "parameters": [
777
+ {
778
+ "name": "key",
779
+ "type": {
780
+ "text": "keyof TErrorDetailMap"
781
+ },
782
+ "description": "The key."
783
+ }
784
+ ],
785
+ "description": "Has an error for key.",
786
+ "privacy": "public"
787
+ },
788
+ {
789
+ "kind": "method",
790
+ "name": "delete",
791
+ "return": {
792
+ "type": {
793
+ "text": ""
794
+ }
795
+ },
796
+ "parameters": [
797
+ {
798
+ "name": "key",
799
+ "type": {
800
+ "text": "keyof TErrorDetailMap"
801
+ },
802
+ "description": "The key."
803
+ }
804
+ ],
805
+ "description": "Delete an error.",
806
+ "privacy": "public"
807
+ },
808
+ {
809
+ "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.",
821
+ "return": {
822
+ "type": {
823
+ "text": ""
824
+ }
825
+ },
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
842
+ }
843
+ ]
844
+ },
854
845
  {
855
846
  "kind": "function",
856
- "name": "assureDesignSystem",
847
+ "name": "createErrorMap",
857
848
  "return": {
858
849
  "type": {
859
- "text": "DesignSystemModule"
850
+ "text": ""
860
851
  }
861
852
  },
862
853
  "parameters": [
863
854
  {
864
- "name": "module",
855
+ "name": "logger",
865
856
  "type": {
866
- "text": "DesignSystemModule"
867
- }
857
+ "text": "ErrorMapLogger"
858
+ },
859
+ "description": "A logger error method reference."
868
860
  }
869
861
  ],
870
- "description": "assureDesignSystem.",
862
+ "description": "A factory to create the error map.",
871
863
  "privacy": "public"
872
864
  }
873
865
  ],
874
866
  "exports": [
875
867
  {
876
868
  "kind": "js",
877
- "name": "assureDesignSystem",
869
+ "name": "DefaultErrorMap",
878
870
  "declaration": {
879
- "name": "assureDesignSystem",
880
- "module": "src/design-system/design-system.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/design-system/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": "./design-system"
895
+ "package": "./errorMap"
896
896
  }
897
897
  }
898
898
  ]
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.166.0",
4
+ "version": "14.167.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,17 +19,17 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.166.0",
23
- "@genesislcap/genx": "14.166.0",
24
- "@genesislcap/rollup-builder": "14.166.0",
25
- "@genesislcap/ts-builder": "14.166.0",
26
- "@genesislcap/uvu-playwright-builder": "14.166.0",
27
- "@genesislcap/vite-builder": "14.166.0",
28
- "@genesislcap/webpack-builder": "14.166.0",
22
+ "@genesislcap/foundation-testing": "14.167.0",
23
+ "@genesislcap/genx": "14.167.0",
24
+ "@genesislcap/rollup-builder": "14.167.0",
25
+ "@genesislcap/ts-builder": "14.167.0",
26
+ "@genesislcap/uvu-playwright-builder": "14.167.0",
27
+ "@genesislcap/vite-builder": "14.167.0",
28
+ "@genesislcap/webpack-builder": "14.167.0",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.166.0",
32
+ "@genesislcap/foundation-logger": "14.167.0",
33
33
  "@microsoft/fast-components": "^2.30.6",
34
34
  "@microsoft/fast-element": "^1.12.0",
35
35
  "@microsoft/fast-foundation": "^2.49.4",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "customElements": "dist/custom-elements.json",
50
- "gitHead": "e0240354a82fbb1ce9dc5c87d8533fd1caddafb0"
50
+ "gitHead": "8a6557d767463d7bcb7b3ca4d209a951766481e3"
51
51
  }