@genesislcap/foundation-utils 14.176.1-alpha-ed9e3d4.0 → 14.177.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 +306 -306
  2. package/package.json +10 -10
@@ -483,205 +483,6 @@
483
483
  }
484
484
  ]
485
485
  },
486
- {
487
- "kind": "javascript-module",
488
- "path": "src/error/errorMap.ts",
489
- "declarations": [
490
- {
491
- "kind": "class",
492
- "description": "",
493
- "name": "DefaultErrorMap",
494
- "members": [
495
- {
496
- "kind": "field",
497
- "name": "map",
498
- "privacy": "private",
499
- "default": "new Map<keyof TErrorDetailMap, Error>()"
500
- },
501
- {
502
- "kind": "field",
503
- "name": "lastError",
504
- "type": {
505
- "text": "Error"
506
- },
507
- "description": "{@inheritDoc ErrorMap.lastError}"
508
- },
509
- {
510
- "kind": "method",
511
- "name": "set",
512
- "return": {
513
- "type": {
514
- "text": "void"
515
- }
516
- },
517
- "parameters": [
518
- {
519
- "name": "key",
520
- "type": {
521
- "text": "keyof TErrorDetailMap"
522
- }
523
- },
524
- {
525
- "name": "error",
526
- "type": {
527
- "text": "Error"
528
- }
529
- }
530
- ],
531
- "description": "{@inheritDoc ErrorMap.set}"
532
- },
533
- {
534
- "kind": "method",
535
- "name": "get",
536
- "return": {
537
- "type": {
538
- "text": ""
539
- }
540
- },
541
- "parameters": [
542
- {
543
- "name": "key",
544
- "type": {
545
- "text": "keyof TErrorDetailMap"
546
- },
547
- "description": "The key."
548
- }
549
- ],
550
- "description": "Get an error by key.",
551
- "privacy": "public"
552
- },
553
- {
554
- "kind": "method",
555
- "name": "has",
556
- "return": {
557
- "type": {
558
- "text": ""
559
- }
560
- },
561
- "parameters": [
562
- {
563
- "name": "key",
564
- "type": {
565
- "text": "keyof TErrorDetailMap"
566
- },
567
- "description": "The key."
568
- }
569
- ],
570
- "description": "Has an error for key.",
571
- "privacy": "public"
572
- },
573
- {
574
- "kind": "method",
575
- "name": "delete",
576
- "return": {
577
- "type": {
578
- "text": ""
579
- }
580
- },
581
- "parameters": [
582
- {
583
- "name": "key",
584
- "type": {
585
- "text": "keyof TErrorDetailMap"
586
- },
587
- "description": "The key."
588
- }
589
- ],
590
- "description": "Delete an error.",
591
- "privacy": "public"
592
- },
593
- {
594
- "kind": "method",
595
- "name": "clear",
596
- "description": "Clear errors.",
597
- "privacy": "public"
598
- },
599
- {
600
- "kind": "field",
601
- "name": "size",
602
- "type": {
603
- "text": "number"
604
- },
605
- "description": "The size of the error map.",
606
- "return": {
607
- "type": {
608
- "text": ""
609
- }
610
- },
611
- "privacy": "public",
612
- "readonly": true
613
- },
614
- {
615
- "kind": "method",
616
- "name": "values",
617
- "privacy": "public"
618
- },
619
- {
620
- "kind": "field",
621
- "name": "messages",
622
- "type": {
623
- "text": "string"
624
- },
625
- "description": "{@inheritDoc ErrorMap.messages}",
626
- "readonly": true
627
- }
628
- ]
629
- },
630
- {
631
- "kind": "function",
632
- "name": "createErrorMap",
633
- "return": {
634
- "type": {
635
- "text": ""
636
- }
637
- },
638
- "parameters": [
639
- {
640
- "name": "logger",
641
- "type": {
642
- "text": "ErrorMapLogger"
643
- },
644
- "description": "A logger error method reference."
645
- }
646
- ],
647
- "description": "A factory to create the error map.",
648
- "privacy": "public"
649
- }
650
- ],
651
- "exports": [
652
- {
653
- "kind": "js",
654
- "name": "DefaultErrorMap",
655
- "declaration": {
656
- "name": "DefaultErrorMap",
657
- "module": "src/error/errorMap.ts"
658
- }
659
- },
660
- {
661
- "kind": "js",
662
- "name": "createErrorMap",
663
- "declaration": {
664
- "name": "createErrorMap",
665
- "module": "src/error/errorMap.ts"
666
- }
667
- }
668
- ]
669
- },
670
- {
671
- "kind": "javascript-module",
672
- "path": "src/error/index.ts",
673
- "declarations": [],
674
- "exports": [
675
- {
676
- "kind": "js",
677
- "name": "*",
678
- "declaration": {
679
- "name": "*",
680
- "package": "./errorMap"
681
- }
682
- }
683
- ]
684
- },
685
486
  {
686
487
  "kind": "javascript-module",
687
488
  "path": "src/env/index.ts",
@@ -837,70 +638,269 @@
837
638
  }
838
639
  },
839
640
  {
840
- "kind": "variable",
841
- "name": "_DEFAULT_USER",
842
- "type": {
843
- "text": "string"
641
+ "kind": "variable",
642
+ "name": "_DEFAULT_USER",
643
+ "type": {
644
+ "text": "string"
645
+ },
646
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
647
+ "privacy": "public"
648
+ }
649
+ ],
650
+ "exports": [
651
+ {
652
+ "kind": "js",
653
+ "name": "SOCKET_EXT",
654
+ "declaration": {
655
+ "name": "_SOCKET_EXT",
656
+ "module": "src/env/variables.ts"
657
+ }
658
+ },
659
+ {
660
+ "kind": "js",
661
+ "name": "FORCE_HTTP",
662
+ "declaration": {
663
+ "name": "_FORCE_HTTP",
664
+ "module": "src/env/variables.ts"
665
+ }
666
+ },
667
+ {
668
+ "kind": "js",
669
+ "name": "API_HOST",
670
+ "declaration": {
671
+ "name": "_API_HOST",
672
+ "module": "src/env/variables.ts"
673
+ }
674
+ },
675
+ {
676
+ "kind": "js",
677
+ "name": "HTTP_CONFIG",
678
+ "declaration": {
679
+ "name": "_HTTP_CONFIG",
680
+ "module": "src/env/variables.ts"
681
+ }
682
+ },
683
+ {
684
+ "kind": "js",
685
+ "name": "DEFAULT_ORGANISATION",
686
+ "declaration": {
687
+ "name": "_DEFAULT_ORGANISATION",
688
+ "module": "src/env/variables.ts"
689
+ }
690
+ },
691
+ {
692
+ "kind": "js",
693
+ "name": "DEFAULT_PASSWORD",
694
+ "declaration": {
695
+ "name": "_DEFAULT_PASSWORD",
696
+ "module": "src/env/variables.ts"
697
+ }
698
+ },
699
+ {
700
+ "kind": "js",
701
+ "name": "DEFAULT_USER",
702
+ "declaration": {
703
+ "name": "_DEFAULT_USER",
704
+ "module": "src/env/variables.ts"
705
+ }
706
+ }
707
+ ]
708
+ },
709
+ {
710
+ "kind": "javascript-module",
711
+ "path": "src/error/errorMap.ts",
712
+ "declarations": [
713
+ {
714
+ "kind": "class",
715
+ "description": "",
716
+ "name": "DefaultErrorMap",
717
+ "members": [
718
+ {
719
+ "kind": "field",
720
+ "name": "map",
721
+ "privacy": "private",
722
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
723
+ },
724
+ {
725
+ "kind": "field",
726
+ "name": "lastError",
727
+ "type": {
728
+ "text": "Error"
729
+ },
730
+ "description": "{@inheritDoc ErrorMap.lastError}"
731
+ },
732
+ {
733
+ "kind": "method",
734
+ "name": "set",
735
+ "return": {
736
+ "type": {
737
+ "text": "void"
738
+ }
739
+ },
740
+ "parameters": [
741
+ {
742
+ "name": "key",
743
+ "type": {
744
+ "text": "keyof TErrorDetailMap"
745
+ }
746
+ },
747
+ {
748
+ "name": "error",
749
+ "type": {
750
+ "text": "Error"
751
+ }
752
+ }
753
+ ],
754
+ "description": "{@inheritDoc ErrorMap.set}"
755
+ },
756
+ {
757
+ "kind": "method",
758
+ "name": "get",
759
+ "return": {
760
+ "type": {
761
+ "text": ""
762
+ }
763
+ },
764
+ "parameters": [
765
+ {
766
+ "name": "key",
767
+ "type": {
768
+ "text": "keyof TErrorDetailMap"
769
+ },
770
+ "description": "The key."
771
+ }
772
+ ],
773
+ "description": "Get an error by key.",
774
+ "privacy": "public"
775
+ },
776
+ {
777
+ "kind": "method",
778
+ "name": "has",
779
+ "return": {
780
+ "type": {
781
+ "text": ""
782
+ }
783
+ },
784
+ "parameters": [
785
+ {
786
+ "name": "key",
787
+ "type": {
788
+ "text": "keyof TErrorDetailMap"
789
+ },
790
+ "description": "The key."
791
+ }
792
+ ],
793
+ "description": "Has an error for key.",
794
+ "privacy": "public"
795
+ },
796
+ {
797
+ "kind": "method",
798
+ "name": "delete",
799
+ "return": {
800
+ "type": {
801
+ "text": ""
802
+ }
803
+ },
804
+ "parameters": [
805
+ {
806
+ "name": "key",
807
+ "type": {
808
+ "text": "keyof TErrorDetailMap"
809
+ },
810
+ "description": "The key."
811
+ }
812
+ ],
813
+ "description": "Delete an error.",
814
+ "privacy": "public"
815
+ },
816
+ {
817
+ "kind": "method",
818
+ "name": "clear",
819
+ "description": "Clear errors.",
820
+ "privacy": "public"
821
+ },
822
+ {
823
+ "kind": "field",
824
+ "name": "size",
825
+ "type": {
826
+ "text": "number"
827
+ },
828
+ "description": "The size of the error map.",
829
+ "return": {
830
+ "type": {
831
+ "text": ""
832
+ }
833
+ },
834
+ "privacy": "public",
835
+ "readonly": true
836
+ },
837
+ {
838
+ "kind": "method",
839
+ "name": "values",
840
+ "privacy": "public"
841
+ },
842
+ {
843
+ "kind": "field",
844
+ "name": "messages",
845
+ "type": {
846
+ "text": "string"
847
+ },
848
+ "description": "{@inheritDoc ErrorMap.messages}",
849
+ "readonly": true
850
+ }
851
+ ]
852
+ },
853
+ {
854
+ "kind": "function",
855
+ "name": "createErrorMap",
856
+ "return": {
857
+ "type": {
858
+ "text": ""
859
+ }
844
860
  },
845
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
861
+ "parameters": [
862
+ {
863
+ "name": "logger",
864
+ "type": {
865
+ "text": "ErrorMapLogger"
866
+ },
867
+ "description": "A logger error method reference."
868
+ }
869
+ ],
870
+ "description": "A factory to create the error map.",
846
871
  "privacy": "public"
847
872
  }
848
873
  ],
849
874
  "exports": [
850
875
  {
851
876
  "kind": "js",
852
- "name": "SOCKET_EXT",
853
- "declaration": {
854
- "name": "_SOCKET_EXT",
855
- "module": "src/env/variables.ts"
856
- }
857
- },
858
- {
859
- "kind": "js",
860
- "name": "FORCE_HTTP",
861
- "declaration": {
862
- "name": "_FORCE_HTTP",
863
- "module": "src/env/variables.ts"
864
- }
865
- },
866
- {
867
- "kind": "js",
868
- "name": "API_HOST",
869
- "declaration": {
870
- "name": "_API_HOST",
871
- "module": "src/env/variables.ts"
872
- }
873
- },
874
- {
875
- "kind": "js",
876
- "name": "HTTP_CONFIG",
877
- "declaration": {
878
- "name": "_HTTP_CONFIG",
879
- "module": "src/env/variables.ts"
880
- }
881
- },
882
- {
883
- "kind": "js",
884
- "name": "DEFAULT_ORGANISATION",
877
+ "name": "DefaultErrorMap",
885
878
  "declaration": {
886
- "name": "_DEFAULT_ORGANISATION",
887
- "module": "src/env/variables.ts"
879
+ "name": "DefaultErrorMap",
880
+ "module": "src/error/errorMap.ts"
888
881
  }
889
882
  },
890
883
  {
891
884
  "kind": "js",
892
- "name": "DEFAULT_PASSWORD",
885
+ "name": "createErrorMap",
893
886
  "declaration": {
894
- "name": "_DEFAULT_PASSWORD",
895
- "module": "src/env/variables.ts"
887
+ "name": "createErrorMap",
888
+ "module": "src/error/errorMap.ts"
896
889
  }
897
- },
890
+ }
891
+ ]
892
+ },
893
+ {
894
+ "kind": "javascript-module",
895
+ "path": "src/error/index.ts",
896
+ "declarations": [],
897
+ "exports": [
898
898
  {
899
899
  "kind": "js",
900
- "name": "DEFAULT_USER",
900
+ "name": "*",
901
901
  "declaration": {
902
- "name": "_DEFAULT_USER",
903
- "module": "src/env/variables.ts"
902
+ "name": "*",
903
+ "package": "./errorMap"
904
904
  }
905
905
  }
906
906
  ]
@@ -1218,29 +1218,6 @@
1218
1218
  }
1219
1219
  ]
1220
1220
  },
1221
- {
1222
- "kind": "javascript-module",
1223
- "path": "src/mixins/index.ts",
1224
- "declarations": [],
1225
- "exports": [
1226
- {
1227
- "kind": "js",
1228
- "name": "*",
1229
- "declaration": {
1230
- "name": "*",
1231
- "package": "./pendingState"
1232
- }
1233
- },
1234
- {
1235
- "kind": "js",
1236
- "name": "*",
1237
- "declaration": {
1238
- "name": "*",
1239
- "package": "./lifecycle"
1240
- }
1241
- }
1242
- ]
1243
- },
1244
1221
  {
1245
1222
  "kind": "javascript-module",
1246
1223
  "path": "src/observer/index.ts",
@@ -1315,7 +1292,7 @@
1315
1292
  },
1316
1293
  {
1317
1294
  "kind": "javascript-module",
1318
- "path": "src/resource/index.ts",
1295
+ "path": "src/mixins/index.ts",
1319
1296
  "declarations": [],
1320
1297
  "exports": [
1321
1298
  {
@@ -1323,48 +1300,15 @@
1323
1300
  "name": "*",
1324
1301
  "declaration": {
1325
1302
  "name": "*",
1326
- "package": "./types"
1327
- }
1328
- }
1329
- ]
1330
- },
1331
- {
1332
- "kind": "javascript-module",
1333
- "path": "src/resource/types.ts",
1334
- "declarations": [
1335
- {
1336
- "kind": "variable",
1337
- "name": "ResourceType",
1338
- "type": {
1339
- "text": "{\n local: 'local',\n remote: 'remote',\n}"
1340
- },
1341
- "default": "{\n local: 'local',\n remote: 'remote',\n}",
1342
- "description": "An object that defines two resource types: \"local\" and \"remote\".",
1343
- "privacy": "public"
1344
- }
1345
- ],
1346
- "exports": [
1347
- {
1348
- "kind": "js",
1349
- "name": "ResourceType",
1350
- "declaration": {
1351
- "name": "ResourceType",
1352
- "module": "src/resource/types.ts"
1303
+ "package": "./pendingState"
1353
1304
  }
1354
- }
1355
- ]
1356
- },
1357
- {
1358
- "kind": "javascript-module",
1359
- "path": "src/serializers/index.ts",
1360
- "declarations": [],
1361
- "exports": [
1305
+ },
1362
1306
  {
1363
1307
  "kind": "js",
1364
1308
  "name": "*",
1365
1309
  "declaration": {
1366
1310
  "name": "*",
1367
- "package": "./json"
1311
+ "package": "./lifecycle"
1368
1312
  }
1369
1313
  }
1370
1314
  ]
@@ -1425,6 +1369,62 @@
1425
1369
  }
1426
1370
  ]
1427
1371
  },
1372
+ {
1373
+ "kind": "javascript-module",
1374
+ "path": "src/resource/index.ts",
1375
+ "declarations": [],
1376
+ "exports": [
1377
+ {
1378
+ "kind": "js",
1379
+ "name": "*",
1380
+ "declaration": {
1381
+ "name": "*",
1382
+ "package": "./types"
1383
+ }
1384
+ }
1385
+ ]
1386
+ },
1387
+ {
1388
+ "kind": "javascript-module",
1389
+ "path": "src/resource/types.ts",
1390
+ "declarations": [
1391
+ {
1392
+ "kind": "variable",
1393
+ "name": "ResourceType",
1394
+ "type": {
1395
+ "text": "{\n local: 'local',\n remote: 'remote',\n}"
1396
+ },
1397
+ "default": "{\n local: 'local',\n remote: 'remote',\n}",
1398
+ "description": "An object that defines two resource types: \"local\" and \"remote\".",
1399
+ "privacy": "public"
1400
+ }
1401
+ ],
1402
+ "exports": [
1403
+ {
1404
+ "kind": "js",
1405
+ "name": "ResourceType",
1406
+ "declaration": {
1407
+ "name": "ResourceType",
1408
+ "module": "src/resource/types.ts"
1409
+ }
1410
+ }
1411
+ ]
1412
+ },
1413
+ {
1414
+ "kind": "javascript-module",
1415
+ "path": "src/serializers/index.ts",
1416
+ "declarations": [],
1417
+ "exports": [
1418
+ {
1419
+ "kind": "js",
1420
+ "name": "*",
1421
+ "declaration": {
1422
+ "name": "*",
1423
+ "package": "./json"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
1428
  {
1429
1429
  "kind": "javascript-module",
1430
1430
  "path": "src/state/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.176.1-alpha-ed9e3d4.0",
4
+ "version": "14.177.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.176.1-alpha-ed9e3d4.0",
23
- "@genesislcap/genx": "14.176.1-alpha-ed9e3d4.0",
24
- "@genesislcap/rollup-builder": "14.176.1-alpha-ed9e3d4.0",
25
- "@genesislcap/ts-builder": "14.176.1-alpha-ed9e3d4.0",
26
- "@genesislcap/uvu-playwright-builder": "14.176.1-alpha-ed9e3d4.0",
27
- "@genesislcap/vite-builder": "14.176.1-alpha-ed9e3d4.0",
28
- "@genesislcap/webpack-builder": "14.176.1-alpha-ed9e3d4.0",
22
+ "@genesislcap/foundation-testing": "14.177.0",
23
+ "@genesislcap/genx": "14.177.0",
24
+ "@genesislcap/rollup-builder": "14.177.0",
25
+ "@genesislcap/ts-builder": "14.177.0",
26
+ "@genesislcap/uvu-playwright-builder": "14.177.0",
27
+ "@genesislcap/vite-builder": "14.177.0",
28
+ "@genesislcap/webpack-builder": "14.177.0",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.176.1-alpha-ed9e3d4.0",
32
+ "@genesislcap/foundation-logger": "14.177.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": "6445272a68d360b0f5bb97adc641df806470957e"
50
+ "gitHead": "b3c0ce3e0fa58bae562c2c9bec96beee6a4a2ed4"
51
51
  }