@genesislcap/foundation-utils 14.162.1 → 14.162.2-alpha-37a3d46.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 +558 -558
  2. package/package.json +10 -10
@@ -151,252 +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
- {
178
- "kind": "javascript-module",
179
- "path": "src/env/index.ts",
180
- "declarations": [],
181
- "exports": [
182
- {
183
- "kind": "js",
184
- "name": "*",
185
- "declaration": {
186
- "name": "*",
187
- "package": "./is-dev"
188
- }
189
- },
190
- {
191
- "kind": "js",
192
- "name": "*",
193
- "declaration": {
194
- "name": "*",
195
- "package": "./variables"
196
- }
197
- }
198
- ]
199
- },
200
- {
201
- "kind": "javascript-module",
202
- "path": "src/env/is-dev.ts",
203
- "declarations": [
204
- {
205
- "kind": "function",
206
- "name": "isDev",
207
- "description": "Determines if the current environment is a development environment.",
208
- "privacy": "public"
209
- }
210
- ],
211
- "exports": [
212
- {
213
- "kind": "js",
214
- "name": "isDev",
215
- "declaration": {
216
- "name": "isDev",
217
- "module": "src/env/is-dev.ts"
218
- }
219
- }
220
- ]
221
- },
222
- {
223
- "kind": "javascript-module",
224
- "path": "src/env/variables.ts",
225
- "declarations": [
226
- {
227
- "kind": "variable",
228
- "name": "SOCKET_EXT",
229
- "type": {
230
- "text": "string"
231
- }
232
- },
233
- {
234
- "kind": "variable",
235
- "name": "_SOCKET_EXT",
236
- "type": {
237
- "text": "string"
238
- },
239
- "default": "'gwf'",
240
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
241
- "privacy": "public"
242
- },
243
- {
244
- "kind": "variable",
245
- "name": "FORCE_HTTP",
246
- "type": {
247
- "text": "string"
248
- }
249
- },
250
- {
251
- "kind": "variable",
252
- "name": "_FORCE_HTTP",
253
- "type": {
254
- "text": "string"
255
- },
256
- "description": "The path to a JSON config file for the HTTP mode.",
257
- "privacy": "public"
258
- },
259
- {
260
- "kind": "variable",
261
- "name": "API_HOST",
262
- "type": {
263
- "text": "string"
264
- }
265
- },
266
- {
267
- "kind": "variable",
268
- "name": "_API_HOST",
269
- "type": {
270
- "text": "string"
271
- },
272
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
273
- "description": "The Genesis Server URL (WebSocket or HTTP).",
274
- "privacy": "public"
275
- },
276
- {
277
- "kind": "variable",
278
- "name": "HTTP_CONFIG",
279
- "type": {
280
- "text": "string"
281
- }
282
- },
283
- {
284
- "kind": "variable",
285
- "name": "_HTTP_CONFIG",
286
- "type": {
287
- "text": "string"
288
- },
289
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
290
- "privacy": "public"
291
- },
292
- {
293
- "kind": "variable",
294
- "name": "DEFAULT_ORGANISATION",
295
- "type": {
296
- "text": "string"
297
- }
298
- },
299
- {
300
- "kind": "variable",
301
- "name": "_DEFAULT_ORGANISATION",
302
- "type": {
303
- "text": "string"
304
- },
305
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
306
- "privacy": "public"
307
- },
308
- {
309
- "kind": "variable",
310
- "name": "DEFAULT_PASSWORD",
311
- "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
154
  {
401
155
  "kind": "javascript-module",
402
156
  "path": "src/data/inMemoryDatabase.ts",
@@ -650,249 +404,296 @@
650
404
  },
651
405
  {
652
406
  "kind": "javascript-module",
653
- "path": "src/error/errorMap.ts",
407
+ "path": "src/design-system/design-system.ts",
654
408
  "declarations": [
655
409
  {
656
- "kind": "class",
657
- "description": "",
658
- "name": "DefaultErrorMap",
659
- "members": [
660
- {
661
- "kind": "field",
662
- "name": "map",
663
- "privacy": "private",
664
- "default": "new Map<keyof TErrorDetailMap, Error>()"
665
- },
666
- {
667
- "kind": "field",
668
- "name": "lastError",
669
- "type": {
670
- "text": "Error"
671
- },
672
- "description": "{@inheritDoc ErrorMap.lastError}"
673
- },
674
- {
675
- "kind": "method",
676
- "name": "set",
677
- "return": {
678
- "type": {
679
- "text": "void"
680
- }
681
- },
682
- "parameters": [
683
- {
684
- "name": "key",
685
- "type": {
686
- "text": "keyof TErrorDetailMap"
687
- }
688
- },
689
- {
690
- "name": "error",
691
- "type": {
692
- "text": "Error"
693
- }
694
- }
695
- ],
696
- "description": "{@inheritDoc ErrorMap.set}"
697
- },
698
- {
699
- "kind": "method",
700
- "name": "get",
701
- "return": {
702
- "type": {
703
- "text": ""
704
- }
705
- },
706
- "parameters": [
707
- {
708
- "name": "key",
709
- "type": {
710
- "text": "keyof TErrorDetailMap"
711
- },
712
- "description": "The key."
713
- }
714
- ],
715
- "description": "Get an error by key.",
716
- "privacy": "public"
717
- },
718
- {
719
- "kind": "method",
720
- "name": "has",
721
- "return": {
722
- "type": {
723
- "text": ""
724
- }
725
- },
726
- "parameters": [
727
- {
728
- "name": "key",
729
- "type": {
730
- "text": "keyof TErrorDetailMap"
731
- },
732
- "description": "The key."
733
- }
734
- ],
735
- "description": "Has an error for key.",
736
- "privacy": "public"
737
- },
738
- {
739
- "kind": "method",
740
- "name": "delete",
741
- "return": {
742
- "type": {
743
- "text": ""
744
- }
745
- },
746
- "parameters": [
747
- {
748
- "name": "key",
749
- "type": {
750
- "text": "keyof TErrorDetailMap"
751
- },
752
- "description": "The key."
753
- }
754
- ],
755
- "description": "Delete an error.",
756
- "privacy": "public"
757
- },
758
- {
759
- "kind": "method",
760
- "name": "clear",
761
- "description": "Clear errors.",
762
- "privacy": "public"
763
- },
764
- {
765
- "kind": "field",
766
- "name": "size",
767
- "type": {
768
- "text": "number"
769
- },
770
- "description": "The size of the error map.",
771
- "return": {
772
- "type": {
773
- "text": ""
774
- }
775
- },
776
- "privacy": "public",
777
- "readonly": true
778
- },
779
- {
780
- "kind": "method",
781
- "name": "values",
782
- "privacy": "public"
783
- },
410
+ "kind": "function",
411
+ "name": "assureDesignSystem",
412
+ "return": {
413
+ "type": {
414
+ "text": "DesignSystemModule"
415
+ }
416
+ },
417
+ "parameters": [
784
418
  {
785
- "kind": "field",
786
- "name": "messages",
419
+ "name": "module",
787
420
  "type": {
788
- "text": "string"
789
- },
790
- "description": "{@inheritDoc ErrorMap.messages}",
791
- "readonly": true
421
+ "text": "DesignSystemModule"
422
+ }
792
423
  }
793
- ]
424
+ ],
425
+ "description": "assureDesignSystem.",
426
+ "privacy": "public"
427
+ }
428
+ ],
429
+ "exports": [
430
+ {
431
+ "kind": "js",
432
+ "name": "assureDesignSystem",
433
+ "declaration": {
434
+ "name": "assureDesignSystem",
435
+ "module": "src/design-system/design-system.ts"
436
+ }
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "kind": "javascript-module",
442
+ "path": "src/design-system/index.ts",
443
+ "declarations": [],
444
+ "exports": [
445
+ {
446
+ "kind": "js",
447
+ "name": "*",
448
+ "declaration": {
449
+ "name": "*",
450
+ "package": "./design-system"
451
+ }
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ "kind": "javascript-module",
457
+ "path": "src/directives/index.ts",
458
+ "declarations": [],
459
+ "exports": [
460
+ {
461
+ "kind": "js",
462
+ "name": "*",
463
+ "declaration": {
464
+ "name": "*",
465
+ "package": "./sync"
466
+ }
467
+ },
468
+ {
469
+ "kind": "js",
470
+ "name": "*",
471
+ "declaration": {
472
+ "name": "*",
473
+ "package": "./when-else"
474
+ }
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "kind": "javascript-module",
480
+ "path": "src/env/index.ts",
481
+ "declarations": [],
482
+ "exports": [
483
+ {
484
+ "kind": "js",
485
+ "name": "*",
486
+ "declaration": {
487
+ "name": "*",
488
+ "package": "./is-dev"
489
+ }
794
490
  },
491
+ {
492
+ "kind": "js",
493
+ "name": "*",
494
+ "declaration": {
495
+ "name": "*",
496
+ "package": "./variables"
497
+ }
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "kind": "javascript-module",
503
+ "path": "src/env/is-dev.ts",
504
+ "declarations": [
795
505
  {
796
506
  "kind": "function",
797
- "name": "createErrorMap",
798
- "return": {
799
- "type": {
800
- "text": ""
801
- }
507
+ "name": "isDev",
508
+ "description": "Determines if the current environment is a development environment.",
509
+ "privacy": "public"
510
+ }
511
+ ],
512
+ "exports": [
513
+ {
514
+ "kind": "js",
515
+ "name": "isDev",
516
+ "declaration": {
517
+ "name": "isDev",
518
+ "module": "src/env/is-dev.ts"
519
+ }
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "kind": "javascript-module",
525
+ "path": "src/env/variables.ts",
526
+ "declarations": [
527
+ {
528
+ "kind": "variable",
529
+ "name": "SOCKET_EXT",
530
+ "type": {
531
+ "text": "string"
532
+ }
533
+ },
534
+ {
535
+ "kind": "variable",
536
+ "name": "_SOCKET_EXT",
537
+ "type": {
538
+ "text": "string"
539
+ },
540
+ "default": "'gwf'",
541
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
542
+ "privacy": "public"
543
+ },
544
+ {
545
+ "kind": "variable",
546
+ "name": "FORCE_HTTP",
547
+ "type": {
548
+ "text": "string"
549
+ }
550
+ },
551
+ {
552
+ "kind": "variable",
553
+ "name": "_FORCE_HTTP",
554
+ "type": {
555
+ "text": "string"
556
+ },
557
+ "description": "The path to a JSON config file for the HTTP mode.",
558
+ "privacy": "public"
559
+ },
560
+ {
561
+ "kind": "variable",
562
+ "name": "API_HOST",
563
+ "type": {
564
+ "text": "string"
565
+ }
566
+ },
567
+ {
568
+ "kind": "variable",
569
+ "name": "_API_HOST",
570
+ "type": {
571
+ "text": "string"
572
+ },
573
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
574
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
575
+ "privacy": "public"
576
+ },
577
+ {
578
+ "kind": "variable",
579
+ "name": "HTTP_CONFIG",
580
+ "type": {
581
+ "text": "string"
582
+ }
583
+ },
584
+ {
585
+ "kind": "variable",
586
+ "name": "_HTTP_CONFIG",
587
+ "type": {
588
+ "text": "string"
589
+ },
590
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
591
+ "privacy": "public"
592
+ },
593
+ {
594
+ "kind": "variable",
595
+ "name": "DEFAULT_ORGANISATION",
596
+ "type": {
597
+ "text": "string"
598
+ }
599
+ },
600
+ {
601
+ "kind": "variable",
602
+ "name": "_DEFAULT_ORGANISATION",
603
+ "type": {
604
+ "text": "string"
605
+ },
606
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
607
+ "privacy": "public"
608
+ },
609
+ {
610
+ "kind": "variable",
611
+ "name": "DEFAULT_PASSWORD",
612
+ "type": {
613
+ "text": "string"
614
+ }
615
+ },
616
+ {
617
+ "kind": "variable",
618
+ "name": "_DEFAULT_PASSWORD",
619
+ "type": {
620
+ "text": "string"
621
+ },
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"
802
637
  },
803
- "parameters": [
804
- {
805
- "name": "logger",
806
- "type": {
807
- "text": "ErrorMapLogger"
808
- },
809
- "description": "A logger error method reference."
810
- }
811
- ],
812
- "description": "A factory to create the error map.",
638
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
813
639
  "privacy": "public"
814
640
  }
815
641
  ],
816
642
  "exports": [
817
643
  {
818
644
  "kind": "js",
819
- "name": "DefaultErrorMap",
645
+ "name": "SOCKET_EXT",
820
646
  "declaration": {
821
- "name": "DefaultErrorMap",
822
- "module": "src/error/errorMap.ts"
647
+ "name": "_SOCKET_EXT",
648
+ "module": "src/env/variables.ts"
823
649
  }
824
650
  },
825
651
  {
826
652
  "kind": "js",
827
- "name": "createErrorMap",
653
+ "name": "FORCE_HTTP",
828
654
  "declaration": {
829
- "name": "createErrorMap",
830
- "module": "src/error/errorMap.ts"
655
+ "name": "_FORCE_HTTP",
656
+ "module": "src/env/variables.ts"
831
657
  }
832
- }
833
- ]
834
- },
835
- {
836
- "kind": "javascript-module",
837
- "path": "src/error/index.ts",
838
- "declarations": [],
839
- "exports": [
658
+ },
840
659
  {
841
660
  "kind": "js",
842
- "name": "*",
661
+ "name": "API_HOST",
843
662
  "declaration": {
844
- "name": "*",
845
- "package": "./errorMap"
663
+ "name": "_API_HOST",
664
+ "module": "src/env/variables.ts"
846
665
  }
847
- }
848
- ]
849
- },
850
- {
851
- "kind": "javascript-module",
852
- "path": "src/design-system/design-system.ts",
853
- "declarations": [
666
+ },
854
667
  {
855
- "kind": "function",
856
- "name": "assureDesignSystem",
857
- "return": {
858
- "type": {
859
- "text": "DesignSystemModule"
860
- }
861
- },
862
- "parameters": [
863
- {
864
- "name": "module",
865
- "type": {
866
- "text": "DesignSystemModule"
867
- }
868
- }
869
- ],
870
- "description": "assureDesignSystem.",
871
- "privacy": "public"
872
- }
873
- ],
874
- "exports": [
668
+ "kind": "js",
669
+ "name": "HTTP_CONFIG",
670
+ "declaration": {
671
+ "name": "_HTTP_CONFIG",
672
+ "module": "src/env/variables.ts"
673
+ }
674
+ },
875
675
  {
876
676
  "kind": "js",
877
- "name": "assureDesignSystem",
677
+ "name": "DEFAULT_ORGANISATION",
878
678
  "declaration": {
879
- "name": "assureDesignSystem",
880
- "module": "src/design-system/design-system.ts"
679
+ "name": "_DEFAULT_ORGANISATION",
680
+ "module": "src/env/variables.ts"
881
681
  }
882
- }
883
- ]
884
- },
885
- {
886
- "kind": "javascript-module",
887
- "path": "src/design-system/index.ts",
888
- "declarations": [],
889
- "exports": [
682
+ },
890
683
  {
891
684
  "kind": "js",
892
- "name": "*",
685
+ "name": "DEFAULT_PASSWORD",
893
686
  "declaration": {
894
- "name": "*",
895
- "package": "./design-system"
687
+ "name": "_DEFAULT_PASSWORD",
688
+ "module": "src/env/variables.ts"
689
+ }
690
+ },
691
+ {
692
+ "kind": "js",
693
+ "name": "DEFAULT_USER",
694
+ "declaration": {
695
+ "name": "_DEFAULT_USER",
696
+ "module": "src/env/variables.ts"
896
697
  }
897
698
  }
898
699
  ]
@@ -1074,37 +875,236 @@
1074
875
  ]
1075
876
  },
1076
877
  {
1077
- "kind": "method",
1078
- "name": "hasSeparator",
878
+ "kind": "method",
879
+ "name": "hasSeparator",
880
+ "return": {
881
+ "type": {
882
+ "text": "boolean"
883
+ }
884
+ },
885
+ "parameters": [
886
+ {
887
+ "name": "localeNumber",
888
+ "type": {
889
+ "text": "string"
890
+ }
891
+ }
892
+ ]
893
+ },
894
+ {
895
+ "kind": "field",
896
+ "name": "_group",
897
+ "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
898
+ }
899
+ ]
900
+ }
901
+ ],
902
+ "exports": [
903
+ {
904
+ "kind": "js",
905
+ "name": "NumberParser",
906
+ "declaration": {
907
+ "name": "NumberParser",
908
+ "module": "src/formatters/localeNumberParser.ts"
909
+ }
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "kind": "javascript-module",
915
+ "path": "src/error/errorMap.ts",
916
+ "declarations": [
917
+ {
918
+ "kind": "class",
919
+ "description": "",
920
+ "name": "DefaultErrorMap",
921
+ "members": [
922
+ {
923
+ "kind": "field",
924
+ "name": "map",
925
+ "privacy": "private",
926
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
927
+ },
928
+ {
929
+ "kind": "field",
930
+ "name": "lastError",
931
+ "type": {
932
+ "text": "Error"
933
+ },
934
+ "description": "{@inheritDoc ErrorMap.lastError}"
935
+ },
936
+ {
937
+ "kind": "method",
938
+ "name": "set",
939
+ "return": {
940
+ "type": {
941
+ "text": "void"
942
+ }
943
+ },
944
+ "parameters": [
945
+ {
946
+ "name": "key",
947
+ "type": {
948
+ "text": "keyof TErrorDetailMap"
949
+ }
950
+ },
951
+ {
952
+ "name": "error",
953
+ "type": {
954
+ "text": "Error"
955
+ }
956
+ }
957
+ ],
958
+ "description": "{@inheritDoc ErrorMap.set}"
959
+ },
960
+ {
961
+ "kind": "method",
962
+ "name": "get",
963
+ "return": {
964
+ "type": {
965
+ "text": ""
966
+ }
967
+ },
968
+ "parameters": [
969
+ {
970
+ "name": "key",
971
+ "type": {
972
+ "text": "keyof TErrorDetailMap"
973
+ },
974
+ "description": "The key."
975
+ }
976
+ ],
977
+ "description": "Get an error by key.",
978
+ "privacy": "public"
979
+ },
980
+ {
981
+ "kind": "method",
982
+ "name": "has",
983
+ "return": {
984
+ "type": {
985
+ "text": ""
986
+ }
987
+ },
988
+ "parameters": [
989
+ {
990
+ "name": "key",
991
+ "type": {
992
+ "text": "keyof TErrorDetailMap"
993
+ },
994
+ "description": "The key."
995
+ }
996
+ ],
997
+ "description": "Has an error for key.",
998
+ "privacy": "public"
999
+ },
1000
+ {
1001
+ "kind": "method",
1002
+ "name": "delete",
1003
+ "return": {
1004
+ "type": {
1005
+ "text": ""
1006
+ }
1007
+ },
1008
+ "parameters": [
1009
+ {
1010
+ "name": "key",
1011
+ "type": {
1012
+ "text": "keyof TErrorDetailMap"
1013
+ },
1014
+ "description": "The key."
1015
+ }
1016
+ ],
1017
+ "description": "Delete an error.",
1018
+ "privacy": "public"
1019
+ },
1020
+ {
1021
+ "kind": "method",
1022
+ "name": "clear",
1023
+ "description": "Clear errors.",
1024
+ "privacy": "public"
1025
+ },
1026
+ {
1027
+ "kind": "field",
1028
+ "name": "size",
1029
+ "type": {
1030
+ "text": "number"
1031
+ },
1032
+ "description": "The size of the error map.",
1079
1033
  "return": {
1080
1034
  "type": {
1081
- "text": "boolean"
1035
+ "text": ""
1082
1036
  }
1083
1037
  },
1084
- "parameters": [
1085
- {
1086
- "name": "localeNumber",
1087
- "type": {
1088
- "text": "string"
1089
- }
1090
- }
1091
- ]
1038
+ "privacy": "public",
1039
+ "readonly": true
1040
+ },
1041
+ {
1042
+ "kind": "method",
1043
+ "name": "values",
1044
+ "privacy": "public"
1092
1045
  },
1093
1046
  {
1094
1047
  "kind": "field",
1095
- "name": "_group",
1096
- "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
1048
+ "name": "messages",
1049
+ "type": {
1050
+ "text": "string"
1051
+ },
1052
+ "description": "{@inheritDoc ErrorMap.messages}",
1053
+ "readonly": true
1097
1054
  }
1098
1055
  ]
1056
+ },
1057
+ {
1058
+ "kind": "function",
1059
+ "name": "createErrorMap",
1060
+ "return": {
1061
+ "type": {
1062
+ "text": ""
1063
+ }
1064
+ },
1065
+ "parameters": [
1066
+ {
1067
+ "name": "logger",
1068
+ "type": {
1069
+ "text": "ErrorMapLogger"
1070
+ },
1071
+ "description": "A logger error method reference."
1072
+ }
1073
+ ],
1074
+ "description": "A factory to create the error map.",
1075
+ "privacy": "public"
1099
1076
  }
1100
1077
  ],
1101
1078
  "exports": [
1102
1079
  {
1103
1080
  "kind": "js",
1104
- "name": "NumberParser",
1081
+ "name": "DefaultErrorMap",
1105
1082
  "declaration": {
1106
- "name": "NumberParser",
1107
- "module": "src/formatters/localeNumberParser.ts"
1083
+ "name": "DefaultErrorMap",
1084
+ "module": "src/error/errorMap.ts"
1085
+ }
1086
+ },
1087
+ {
1088
+ "kind": "js",
1089
+ "name": "createErrorMap",
1090
+ "declaration": {
1091
+ "name": "createErrorMap",
1092
+ "module": "src/error/errorMap.ts"
1093
+ }
1094
+ }
1095
+ ]
1096
+ },
1097
+ {
1098
+ "kind": "javascript-module",
1099
+ "path": "src/error/index.ts",
1100
+ "declarations": [],
1101
+ "exports": [
1102
+ {
1103
+ "kind": "js",
1104
+ "name": "*",
1105
+ "declaration": {
1106
+ "name": "*",
1107
+ "package": "./errorMap"
1108
1108
  }
1109
1109
  }
1110
1110
  ]
@@ -2432,93 +2432,6 @@
2432
2432
  }
2433
2433
  ]
2434
2434
  },
2435
- {
2436
- "kind": "javascript-module",
2437
- "path": "src/mixins/pendingState/index.ts",
2438
- "declarations": [],
2439
- "exports": [
2440
- {
2441
- "kind": "js",
2442
- "name": "*",
2443
- "declaration": {
2444
- "name": "*",
2445
- "package": "./pendingState"
2446
- }
2447
- }
2448
- ]
2449
- },
2450
- {
2451
- "kind": "javascript-module",
2452
- "path": "src/mixins/pendingState/pendingState.ts",
2453
- "declarations": [
2454
- {
2455
- "kind": "mixin",
2456
- "description": "The `PendingState` mixin.",
2457
- "name": "PendingState",
2458
- "members": [
2459
- {
2460
- "kind": "field",
2461
- "name": "pendingCount",
2462
- "type": {
2463
- "text": "number"
2464
- },
2465
- "privacy": "public",
2466
- "default": "0",
2467
- "description": "The number of promises that are currently pending."
2468
- },
2469
- {
2470
- "kind": "field",
2471
- "name": "resolvedCount",
2472
- "type": {
2473
- "text": "number"
2474
- },
2475
- "privacy": "public",
2476
- "default": "0",
2477
- "description": "The number of promises that have been resolved."
2478
- },
2479
- {
2480
- "kind": "field",
2481
- "name": "hasPendingChildren",
2482
- "type": {
2483
- "text": "boolean"
2484
- },
2485
- "privacy": "public",
2486
- "default": "false",
2487
- "description": "A boolean indicating whether there are any pending children."
2488
- },
2489
- {
2490
- "kind": "field",
2491
- "name": "progress",
2492
- "type": {
2493
- "text": "number"
2494
- },
2495
- "privacy": "public",
2496
- "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2497
- "readonly": true
2498
- }
2499
- ],
2500
- "parameters": [
2501
- {
2502
- "name": "Base",
2503
- "type": {
2504
- "text": "TBase"
2505
- }
2506
- }
2507
- ],
2508
- "privacy": "public"
2509
- }
2510
- ],
2511
- "exports": [
2512
- {
2513
- "kind": "js",
2514
- "name": "PendingState",
2515
- "declaration": {
2516
- "name": "PendingState",
2517
- "module": "src/mixins/pendingState/pendingState.ts"
2518
- }
2519
- }
2520
- ]
2521
- },
2522
2435
  {
2523
2436
  "kind": "javascript-module",
2524
2437
  "path": "src/serializers/json/index.ts",
@@ -2745,6 +2658,93 @@
2745
2658
  "path": "src/serializers/json/types.ts",
2746
2659
  "declarations": [],
2747
2660
  "exports": []
2661
+ },
2662
+ {
2663
+ "kind": "javascript-module",
2664
+ "path": "src/mixins/pendingState/index.ts",
2665
+ "declarations": [],
2666
+ "exports": [
2667
+ {
2668
+ "kind": "js",
2669
+ "name": "*",
2670
+ "declaration": {
2671
+ "name": "*",
2672
+ "package": "./pendingState"
2673
+ }
2674
+ }
2675
+ ]
2676
+ },
2677
+ {
2678
+ "kind": "javascript-module",
2679
+ "path": "src/mixins/pendingState/pendingState.ts",
2680
+ "declarations": [
2681
+ {
2682
+ "kind": "mixin",
2683
+ "description": "The `PendingState` mixin.",
2684
+ "name": "PendingState",
2685
+ "members": [
2686
+ {
2687
+ "kind": "field",
2688
+ "name": "pendingCount",
2689
+ "type": {
2690
+ "text": "number"
2691
+ },
2692
+ "privacy": "public",
2693
+ "default": "0",
2694
+ "description": "The number of promises that are currently pending."
2695
+ },
2696
+ {
2697
+ "kind": "field",
2698
+ "name": "resolvedCount",
2699
+ "type": {
2700
+ "text": "number"
2701
+ },
2702
+ "privacy": "public",
2703
+ "default": "0",
2704
+ "description": "The number of promises that have been resolved."
2705
+ },
2706
+ {
2707
+ "kind": "field",
2708
+ "name": "hasPendingChildren",
2709
+ "type": {
2710
+ "text": "boolean"
2711
+ },
2712
+ "privacy": "public",
2713
+ "default": "false",
2714
+ "description": "A boolean indicating whether there are any pending children."
2715
+ },
2716
+ {
2717
+ "kind": "field",
2718
+ "name": "progress",
2719
+ "type": {
2720
+ "text": "number"
2721
+ },
2722
+ "privacy": "public",
2723
+ "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2724
+ "readonly": true
2725
+ }
2726
+ ],
2727
+ "parameters": [
2728
+ {
2729
+ "name": "Base",
2730
+ "type": {
2731
+ "text": "TBase"
2732
+ }
2733
+ }
2734
+ ],
2735
+ "privacy": "public"
2736
+ }
2737
+ ],
2738
+ "exports": [
2739
+ {
2740
+ "kind": "js",
2741
+ "name": "PendingState",
2742
+ "declaration": {
2743
+ "name": "PendingState",
2744
+ "module": "src/mixins/pendingState/pendingState.ts"
2745
+ }
2746
+ }
2747
+ ]
2748
2748
  }
2749
2749
  ]
2750
2750
  }
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.162.1",
4
+ "version": "14.162.2-alpha-37a3d46.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.162.1",
23
- "@genesislcap/genx": "14.162.1",
24
- "@genesislcap/rollup-builder": "14.162.1",
25
- "@genesislcap/ts-builder": "14.162.1",
26
- "@genesislcap/uvu-playwright-builder": "14.162.1",
27
- "@genesislcap/vite-builder": "14.162.1",
28
- "@genesislcap/webpack-builder": "14.162.1",
22
+ "@genesislcap/foundation-testing": "14.162.2-alpha-37a3d46.0",
23
+ "@genesislcap/genx": "14.162.2-alpha-37a3d46.0",
24
+ "@genesislcap/rollup-builder": "14.162.2-alpha-37a3d46.0",
25
+ "@genesislcap/ts-builder": "14.162.2-alpha-37a3d46.0",
26
+ "@genesislcap/uvu-playwright-builder": "14.162.2-alpha-37a3d46.0",
27
+ "@genesislcap/vite-builder": "14.162.2-alpha-37a3d46.0",
28
+ "@genesislcap/webpack-builder": "14.162.2-alpha-37a3d46.0",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.162.1",
32
+ "@genesislcap/foundation-logger": "14.162.2-alpha-37a3d46.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": "3bdf3555a95a41116950dde7656081b9b693ffbc"
50
+ "gitHead": "1ca1f5a8c54489a32e5bf7ca9cb0182a7822eaa0"
51
51
  }