@genesislcap/foundation-utils 14.173.2 → 14.173.4
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.
- package/dist/custom-elements.json +334 -334
- package/package.json +10 -10
|
@@ -357,59 +357,6 @@
|
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
359
|
},
|
|
360
|
-
{
|
|
361
|
-
"kind": "javascript-module",
|
|
362
|
-
"path": "src/decorators/index.ts",
|
|
363
|
-
"declarations": [],
|
|
364
|
-
"exports": [
|
|
365
|
-
{
|
|
366
|
-
"kind": "js",
|
|
367
|
-
"name": "*",
|
|
368
|
-
"declaration": {
|
|
369
|
-
"name": "*",
|
|
370
|
-
"package": "./renderOnChange"
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"kind": "javascript-module",
|
|
377
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
378
|
-
"declarations": [
|
|
379
|
-
{
|
|
380
|
-
"kind": "function",
|
|
381
|
-
"name": "renderOnChange",
|
|
382
|
-
"parameters": [
|
|
383
|
-
{
|
|
384
|
-
"name": "target",
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "FASTElement & { render(): void }"
|
|
387
|
-
},
|
|
388
|
-
"description": "The target to define the property change handler on."
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "name",
|
|
392
|
-
"type": {
|
|
393
|
-
"text": "string"
|
|
394
|
-
},
|
|
395
|
-
"description": "The property name."
|
|
396
|
-
}
|
|
397
|
-
],
|
|
398
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
399
|
-
"privacy": "public"
|
|
400
|
-
}
|
|
401
|
-
],
|
|
402
|
-
"exports": [
|
|
403
|
-
{
|
|
404
|
-
"kind": "js",
|
|
405
|
-
"name": "renderOnChange",
|
|
406
|
-
"declaration": {
|
|
407
|
-
"name": "renderOnChange",
|
|
408
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
]
|
|
412
|
-
},
|
|
413
360
|
{
|
|
414
361
|
"kind": "javascript-module",
|
|
415
362
|
"path": "src/design-system/design-system.ts",
|
|
@@ -462,30 +409,7 @@
|
|
|
462
409
|
},
|
|
463
410
|
{
|
|
464
411
|
"kind": "javascript-module",
|
|
465
|
-
"path": "src/
|
|
466
|
-
"declarations": [],
|
|
467
|
-
"exports": [
|
|
468
|
-
{
|
|
469
|
-
"kind": "js",
|
|
470
|
-
"name": "*",
|
|
471
|
-
"declaration": {
|
|
472
|
-
"name": "*",
|
|
473
|
-
"package": "./sync"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"kind": "js",
|
|
478
|
-
"name": "*",
|
|
479
|
-
"declaration": {
|
|
480
|
-
"name": "*",
|
|
481
|
-
"package": "./when-else"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "javascript-module",
|
|
488
|
-
"path": "src/env/index.ts",
|
|
412
|
+
"path": "src/decorators/index.ts",
|
|
489
413
|
"declarations": [],
|
|
490
414
|
"exports": [
|
|
491
415
|
{
|
|
@@ -493,215 +417,68 @@
|
|
|
493
417
|
"name": "*",
|
|
494
418
|
"declaration": {
|
|
495
419
|
"name": "*",
|
|
496
|
-
"package": "./
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"kind": "js",
|
|
501
|
-
"name": "*",
|
|
502
|
-
"declaration": {
|
|
503
|
-
"name": "*",
|
|
504
|
-
"package": "./variables"
|
|
420
|
+
"package": "./renderOnChange"
|
|
505
421
|
}
|
|
506
422
|
}
|
|
507
423
|
]
|
|
508
424
|
},
|
|
509
425
|
{
|
|
510
426
|
"kind": "javascript-module",
|
|
511
|
-
"path": "src/
|
|
427
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
512
428
|
"declarations": [
|
|
513
429
|
{
|
|
514
430
|
"kind": "function",
|
|
515
|
-
"name": "
|
|
516
|
-
"
|
|
431
|
+
"name": "renderOnChange",
|
|
432
|
+
"parameters": [
|
|
433
|
+
{
|
|
434
|
+
"name": "target",
|
|
435
|
+
"type": {
|
|
436
|
+
"text": "FASTElement & { render(): void }"
|
|
437
|
+
},
|
|
438
|
+
"description": "The target to define the property change handler on."
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "name",
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "string"
|
|
444
|
+
},
|
|
445
|
+
"description": "The property name."
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
517
449
|
"privacy": "public"
|
|
518
450
|
}
|
|
519
451
|
],
|
|
520
452
|
"exports": [
|
|
521
453
|
{
|
|
522
454
|
"kind": "js",
|
|
523
|
-
"name": "
|
|
455
|
+
"name": "renderOnChange",
|
|
524
456
|
"declaration": {
|
|
525
|
-
"name": "
|
|
526
|
-
"module": "src/
|
|
457
|
+
"name": "renderOnChange",
|
|
458
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
527
459
|
}
|
|
528
460
|
}
|
|
529
461
|
]
|
|
530
462
|
},
|
|
531
463
|
{
|
|
532
464
|
"kind": "javascript-module",
|
|
533
|
-
"path": "src/
|
|
534
|
-
"declarations": [
|
|
535
|
-
{
|
|
536
|
-
"kind": "variable",
|
|
537
|
-
"name": "SOCKET_EXT",
|
|
538
|
-
"type": {
|
|
539
|
-
"text": "string"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"kind": "variable",
|
|
544
|
-
"name": "_SOCKET_EXT",
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "string"
|
|
547
|
-
},
|
|
548
|
-
"default": "'gwf'",
|
|
549
|
-
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
|
550
|
-
"privacy": "public"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"kind": "variable",
|
|
554
|
-
"name": "FORCE_HTTP",
|
|
555
|
-
"type": {
|
|
556
|
-
"text": "string"
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"kind": "variable",
|
|
561
|
-
"name": "_FORCE_HTTP",
|
|
562
|
-
"type": {
|
|
563
|
-
"text": "string"
|
|
564
|
-
},
|
|
565
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
|
566
|
-
"privacy": "public"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"kind": "variable",
|
|
570
|
-
"name": "API_HOST",
|
|
571
|
-
"type": {
|
|
572
|
-
"text": "string"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"kind": "variable",
|
|
577
|
-
"name": "_API_HOST",
|
|
578
|
-
"type": {
|
|
579
|
-
"text": "string"
|
|
580
|
-
},
|
|
581
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
|
582
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
|
583
|
-
"privacy": "public"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"kind": "variable",
|
|
587
|
-
"name": "HTTP_CONFIG",
|
|
588
|
-
"type": {
|
|
589
|
-
"text": "string"
|
|
590
|
-
}
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"kind": "variable",
|
|
594
|
-
"name": "_HTTP_CONFIG",
|
|
595
|
-
"type": {
|
|
596
|
-
"text": "string"
|
|
597
|
-
},
|
|
598
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
|
599
|
-
"privacy": "public"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"kind": "variable",
|
|
603
|
-
"name": "DEFAULT_ORGANISATION",
|
|
604
|
-
"type": {
|
|
605
|
-
"text": "string"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"kind": "variable",
|
|
610
|
-
"name": "_DEFAULT_ORGANISATION",
|
|
611
|
-
"type": {
|
|
612
|
-
"text": "string"
|
|
613
|
-
},
|
|
614
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
615
|
-
"privacy": "public"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"kind": "variable",
|
|
619
|
-
"name": "DEFAULT_PASSWORD",
|
|
620
|
-
"type": {
|
|
621
|
-
"text": "string"
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"kind": "variable",
|
|
626
|
-
"name": "_DEFAULT_PASSWORD",
|
|
627
|
-
"type": {
|
|
628
|
-
"text": "string"
|
|
629
|
-
},
|
|
630
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
631
|
-
"privacy": "public"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"kind": "variable",
|
|
635
|
-
"name": "DEFAULT_USER",
|
|
636
|
-
"type": {
|
|
637
|
-
"text": "string"
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
{
|
|
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
|
-
],
|
|
465
|
+
"path": "src/directives/index.ts",
|
|
466
|
+
"declarations": [],
|
|
650
467
|
"exports": [
|
|
651
468
|
{
|
|
652
469
|
"kind": "js",
|
|
653
|
-
"name": "
|
|
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",
|
|
470
|
+
"name": "*",
|
|
694
471
|
"declaration": {
|
|
695
|
-
"name": "
|
|
696
|
-
"
|
|
472
|
+
"name": "*",
|
|
473
|
+
"package": "./sync"
|
|
697
474
|
}
|
|
698
475
|
},
|
|
699
476
|
{
|
|
700
477
|
"kind": "js",
|
|
701
|
-
"name": "
|
|
478
|
+
"name": "*",
|
|
702
479
|
"declaration": {
|
|
703
|
-
"name": "
|
|
704
|
-
"
|
|
480
|
+
"name": "*",
|
|
481
|
+
"package": "./when-else"
|
|
705
482
|
}
|
|
706
483
|
}
|
|
707
484
|
]
|
|
@@ -851,56 +628,279 @@
|
|
|
851
628
|
]
|
|
852
629
|
},
|
|
853
630
|
{
|
|
854
|
-
"kind": "function",
|
|
855
|
-
"name": "createErrorMap",
|
|
856
|
-
"return": {
|
|
857
|
-
"type": {
|
|
858
|
-
"text": ""
|
|
859
|
-
}
|
|
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
|
+
{
|
|
686
|
+
"kind": "javascript-module",
|
|
687
|
+
"path": "src/env/index.ts",
|
|
688
|
+
"declarations": [],
|
|
689
|
+
"exports": [
|
|
690
|
+
{
|
|
691
|
+
"kind": "js",
|
|
692
|
+
"name": "*",
|
|
693
|
+
"declaration": {
|
|
694
|
+
"name": "*",
|
|
695
|
+
"package": "./is-dev"
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "js",
|
|
700
|
+
"name": "*",
|
|
701
|
+
"declaration": {
|
|
702
|
+
"name": "*",
|
|
703
|
+
"package": "./variables"
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
]
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"kind": "javascript-module",
|
|
710
|
+
"path": "src/env/is-dev.ts",
|
|
711
|
+
"declarations": [
|
|
712
|
+
{
|
|
713
|
+
"kind": "function",
|
|
714
|
+
"name": "isDev",
|
|
715
|
+
"description": "Determines if the current environment is a development environment.",
|
|
716
|
+
"privacy": "public"
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"exports": [
|
|
720
|
+
{
|
|
721
|
+
"kind": "js",
|
|
722
|
+
"name": "isDev",
|
|
723
|
+
"declaration": {
|
|
724
|
+
"name": "isDev",
|
|
725
|
+
"module": "src/env/is-dev.ts"
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "javascript-module",
|
|
732
|
+
"path": "src/env/variables.ts",
|
|
733
|
+
"declarations": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "variable",
|
|
736
|
+
"name": "SOCKET_EXT",
|
|
737
|
+
"type": {
|
|
738
|
+
"text": "string"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"kind": "variable",
|
|
743
|
+
"name": "_SOCKET_EXT",
|
|
744
|
+
"type": {
|
|
745
|
+
"text": "string"
|
|
746
|
+
},
|
|
747
|
+
"default": "'gwf'",
|
|
748
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
|
749
|
+
"privacy": "public"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"kind": "variable",
|
|
753
|
+
"name": "FORCE_HTTP",
|
|
754
|
+
"type": {
|
|
755
|
+
"text": "string"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"kind": "variable",
|
|
760
|
+
"name": "_FORCE_HTTP",
|
|
761
|
+
"type": {
|
|
762
|
+
"text": "string"
|
|
860
763
|
},
|
|
861
|
-
"
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
764
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
|
765
|
+
"privacy": "public"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"kind": "variable",
|
|
769
|
+
"name": "API_HOST",
|
|
770
|
+
"type": {
|
|
771
|
+
"text": "string"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "variable",
|
|
776
|
+
"name": "_API_HOST",
|
|
777
|
+
"type": {
|
|
778
|
+
"text": "string"
|
|
779
|
+
},
|
|
780
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
|
781
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
|
782
|
+
"privacy": "public"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"kind": "variable",
|
|
786
|
+
"name": "HTTP_CONFIG",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "string"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"kind": "variable",
|
|
793
|
+
"name": "_HTTP_CONFIG",
|
|
794
|
+
"type": {
|
|
795
|
+
"text": "string"
|
|
796
|
+
},
|
|
797
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
|
798
|
+
"privacy": "public"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"kind": "variable",
|
|
802
|
+
"name": "DEFAULT_ORGANISATION",
|
|
803
|
+
"type": {
|
|
804
|
+
"text": "string"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"kind": "variable",
|
|
809
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
810
|
+
"type": {
|
|
811
|
+
"text": "string"
|
|
812
|
+
},
|
|
813
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
814
|
+
"privacy": "public"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"kind": "variable",
|
|
818
|
+
"name": "DEFAULT_PASSWORD",
|
|
819
|
+
"type": {
|
|
820
|
+
"text": "string"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"kind": "variable",
|
|
825
|
+
"name": "_DEFAULT_PASSWORD",
|
|
826
|
+
"type": {
|
|
827
|
+
"text": "string"
|
|
828
|
+
},
|
|
829
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
830
|
+
"privacy": "public"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "variable",
|
|
834
|
+
"name": "DEFAULT_USER",
|
|
835
|
+
"type": {
|
|
836
|
+
"text": "string"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "variable",
|
|
841
|
+
"name": "_DEFAULT_USER",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
},
|
|
845
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
871
846
|
"privacy": "public"
|
|
872
847
|
}
|
|
873
848
|
],
|
|
874
849
|
"exports": [
|
|
875
850
|
{
|
|
876
851
|
"kind": "js",
|
|
877
|
-
"name": "
|
|
852
|
+
"name": "SOCKET_EXT",
|
|
878
853
|
"declaration": {
|
|
879
|
-
"name": "
|
|
880
|
-
"module": "src/
|
|
854
|
+
"name": "_SOCKET_EXT",
|
|
855
|
+
"module": "src/env/variables.ts"
|
|
881
856
|
}
|
|
882
857
|
},
|
|
883
858
|
{
|
|
884
859
|
"kind": "js",
|
|
885
|
-
"name": "
|
|
860
|
+
"name": "FORCE_HTTP",
|
|
886
861
|
"declaration": {
|
|
887
|
-
"name": "
|
|
888
|
-
"module": "src/
|
|
862
|
+
"name": "_FORCE_HTTP",
|
|
863
|
+
"module": "src/env/variables.ts"
|
|
889
864
|
}
|
|
890
|
-
}
|
|
891
|
-
]
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"kind": "javascript-module",
|
|
895
|
-
"path": "src/error/index.ts",
|
|
896
|
-
"declarations": [],
|
|
897
|
-
"exports": [
|
|
865
|
+
},
|
|
898
866
|
{
|
|
899
867
|
"kind": "js",
|
|
900
|
-
"name": "
|
|
868
|
+
"name": "API_HOST",
|
|
901
869
|
"declaration": {
|
|
902
|
-
"name": "
|
|
903
|
-
"
|
|
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",
|
|
885
|
+
"declaration": {
|
|
886
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
887
|
+
"module": "src/env/variables.ts"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "DEFAULT_PASSWORD",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "_DEFAULT_PASSWORD",
|
|
895
|
+
"module": "src/env/variables.ts"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"kind": "js",
|
|
900
|
+
"name": "DEFAULT_USER",
|
|
901
|
+
"declaration": {
|
|
902
|
+
"name": "_DEFAULT_USER",
|
|
903
|
+
"module": "src/env/variables.ts"
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
906
|
]
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
1245
|
"kind": "javascript-module",
|
|
1246
|
-
"path": "src/
|
|
1246
|
+
"path": "src/observer/index.ts",
|
|
1247
1247
|
"declarations": [],
|
|
1248
1248
|
"exports": [
|
|
1249
1249
|
{
|
|
@@ -1251,55 +1251,71 @@
|
|
|
1251
1251
|
"name": "*",
|
|
1252
1252
|
"declaration": {
|
|
1253
1253
|
"name": "*",
|
|
1254
|
-
"package": "./
|
|
1254
|
+
"package": "./observer"
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
]
|
|
1258
1258
|
},
|
|
1259
1259
|
{
|
|
1260
1260
|
"kind": "javascript-module",
|
|
1261
|
-
"path": "src/
|
|
1261
|
+
"path": "src/observer/observer.ts",
|
|
1262
1262
|
"declarations": [
|
|
1263
1263
|
{
|
|
1264
1264
|
"kind": "function",
|
|
1265
|
-
"name": "
|
|
1265
|
+
"name": "createObserver",
|
|
1266
1266
|
"return": {
|
|
1267
1267
|
"type": {
|
|
1268
|
-
"text": "
|
|
1268
|
+
"text": "Observer<EventType>"
|
|
1269
1269
|
}
|
|
1270
1270
|
},
|
|
1271
|
+
"description": "Creates a new event observer instance.",
|
|
1272
|
+
"privacy": "public"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"kind": "function",
|
|
1276
|
+
"name": "respondToVisibility",
|
|
1271
1277
|
"parameters": [
|
|
1272
1278
|
{
|
|
1273
|
-
"name": "
|
|
1279
|
+
"name": "element",
|
|
1274
1280
|
"type": {
|
|
1275
|
-
"text": "
|
|
1276
|
-
}
|
|
1281
|
+
"text": "HTMLElement"
|
|
1282
|
+
},
|
|
1283
|
+
"description": "HTMLElement to observe"
|
|
1277
1284
|
},
|
|
1278
1285
|
{
|
|
1279
|
-
"name": "
|
|
1286
|
+
"name": "callback",
|
|
1280
1287
|
"type": {
|
|
1281
|
-
"text": "() =>
|
|
1282
|
-
}
|
|
1288
|
+
"text": "(arg0: boolean) => any"
|
|
1289
|
+
},
|
|
1290
|
+
"description": "any function called when the visibility changes"
|
|
1283
1291
|
}
|
|
1284
1292
|
],
|
|
1285
|
-
"description": "
|
|
1293
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
|
1286
1294
|
"privacy": "public"
|
|
1287
1295
|
}
|
|
1288
1296
|
],
|
|
1289
1297
|
"exports": [
|
|
1290
1298
|
{
|
|
1291
1299
|
"kind": "js",
|
|
1292
|
-
"name": "
|
|
1300
|
+
"name": "createObserver",
|
|
1293
1301
|
"declaration": {
|
|
1294
|
-
"name": "
|
|
1295
|
-
"module": "src/
|
|
1302
|
+
"name": "createObserver",
|
|
1303
|
+
"module": "src/observer/observer.ts"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"kind": "js",
|
|
1308
|
+
"name": "respondToVisibility",
|
|
1309
|
+
"declaration": {
|
|
1310
|
+
"name": "respondToVisibility",
|
|
1311
|
+
"module": "src/observer/observer.ts"
|
|
1296
1312
|
}
|
|
1297
1313
|
}
|
|
1298
1314
|
]
|
|
1299
1315
|
},
|
|
1300
1316
|
{
|
|
1301
1317
|
"kind": "javascript-module",
|
|
1302
|
-
"path": "src/
|
|
1318
|
+
"path": "src/promise/index.ts",
|
|
1303
1319
|
"declarations": [],
|
|
1304
1320
|
"exports": [
|
|
1305
1321
|
{
|
|
@@ -1307,64 +1323,48 @@
|
|
|
1307
1323
|
"name": "*",
|
|
1308
1324
|
"declaration": {
|
|
1309
1325
|
"name": "*",
|
|
1310
|
-
"package": "./
|
|
1326
|
+
"package": "./resolveAfter"
|
|
1311
1327
|
}
|
|
1312
1328
|
}
|
|
1313
1329
|
]
|
|
1314
1330
|
},
|
|
1315
1331
|
{
|
|
1316
1332
|
"kind": "javascript-module",
|
|
1317
|
-
"path": "src/
|
|
1333
|
+
"path": "src/promise/resolveAfter.ts",
|
|
1318
1334
|
"declarations": [
|
|
1319
1335
|
{
|
|
1320
1336
|
"kind": "function",
|
|
1321
|
-
"name": "
|
|
1337
|
+
"name": "resolveAfter",
|
|
1322
1338
|
"return": {
|
|
1323
1339
|
"type": {
|
|
1324
|
-
"text": "
|
|
1340
|
+
"text": "Promise<T>"
|
|
1325
1341
|
}
|
|
1326
1342
|
},
|
|
1327
|
-
"description": "Creates a new event observer instance.",
|
|
1328
|
-
"privacy": "public"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
"kind": "function",
|
|
1332
|
-
"name": "respondToVisibility",
|
|
1333
1343
|
"parameters": [
|
|
1334
1344
|
{
|
|
1335
|
-
"name": "
|
|
1345
|
+
"name": "ms",
|
|
1336
1346
|
"type": {
|
|
1337
|
-
"text": "
|
|
1338
|
-
}
|
|
1339
|
-
"description": "HTMLElement to observe"
|
|
1347
|
+
"text": "number"
|
|
1348
|
+
}
|
|
1340
1349
|
},
|
|
1341
1350
|
{
|
|
1342
|
-
"name": "
|
|
1351
|
+
"name": "valueCreator",
|
|
1343
1352
|
"type": {
|
|
1344
|
-
"text": "(
|
|
1345
|
-
}
|
|
1346
|
-
"description": "any function called when the visibility changes"
|
|
1353
|
+
"text": "() => T"
|
|
1354
|
+
}
|
|
1347
1355
|
}
|
|
1348
1356
|
],
|
|
1349
|
-
"description": "
|
|
1357
|
+
"description": "Resolve a promise after a timeout.",
|
|
1350
1358
|
"privacy": "public"
|
|
1351
1359
|
}
|
|
1352
1360
|
],
|
|
1353
1361
|
"exports": [
|
|
1354
1362
|
{
|
|
1355
1363
|
"kind": "js",
|
|
1356
|
-
"name": "
|
|
1357
|
-
"declaration": {
|
|
1358
|
-
"name": "createObserver",
|
|
1359
|
-
"module": "src/observer/observer.ts"
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"kind": "js",
|
|
1364
|
-
"name": "respondToVisibility",
|
|
1364
|
+
"name": "resolveAfter",
|
|
1365
1365
|
"declaration": {
|
|
1366
|
-
"name": "
|
|
1367
|
-
"module": "src/
|
|
1366
|
+
"name": "resolveAfter",
|
|
1367
|
+
"module": "src/promise/resolveAfter.ts"
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
]
|
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.173.
|
|
4
|
+
"version": "14.173.4",
|
|
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.173.
|
|
23
|
-
"@genesislcap/genx": "14.173.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.173.
|
|
25
|
-
"@genesislcap/ts-builder": "14.173.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.173.
|
|
27
|
-
"@genesislcap/vite-builder": "14.173.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.173.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.173.4",
|
|
23
|
+
"@genesislcap/genx": "14.173.4",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.173.4",
|
|
25
|
+
"@genesislcap/ts-builder": "14.173.4",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.173.4",
|
|
27
|
+
"@genesislcap/vite-builder": "14.173.4",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.173.4",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.173.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.173.4",
|
|
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": "
|
|
50
|
+
"gitHead": "d426235b0588017e2a4bc9f5ae0d615928bfb21d"
|
|
51
51
|
}
|