@genesislcap/foundation-utils 14.214.5-alpha-4192f9d.0 → 14.215.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +361 -361
- package/package.json +10 -10
@@ -167,82 +167,6 @@
|
|
167
167
|
}
|
168
168
|
]
|
169
169
|
},
|
170
|
-
{
|
171
|
-
"kind": "javascript-module",
|
172
|
-
"path": "src/decorators/index.ts",
|
173
|
-
"declarations": [],
|
174
|
-
"exports": [
|
175
|
-
{
|
176
|
-
"kind": "js",
|
177
|
-
"name": "*",
|
178
|
-
"declaration": {
|
179
|
-
"name": "*",
|
180
|
-
"package": "./renderOnChange"
|
181
|
-
}
|
182
|
-
}
|
183
|
-
]
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"kind": "javascript-module",
|
187
|
-
"path": "src/decorators/renderOnChange.ts",
|
188
|
-
"declarations": [
|
189
|
-
{
|
190
|
-
"kind": "function",
|
191
|
-
"name": "renderOnChange",
|
192
|
-
"parameters": [
|
193
|
-
{
|
194
|
-
"name": "target",
|
195
|
-
"type": {
|
196
|
-
"text": "FASTElement & { render(): void }"
|
197
|
-
},
|
198
|
-
"description": "The target to define the property change handler on."
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"name": "name",
|
202
|
-
"type": {
|
203
|
-
"text": "string"
|
204
|
-
},
|
205
|
-
"description": "The property name."
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
209
|
-
"privacy": "public"
|
210
|
-
}
|
211
|
-
],
|
212
|
-
"exports": [
|
213
|
-
{
|
214
|
-
"kind": "js",
|
215
|
-
"name": "renderOnChange",
|
216
|
-
"declaration": {
|
217
|
-
"name": "renderOnChange",
|
218
|
-
"module": "src/decorators/renderOnChange.ts"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
]
|
222
|
-
},
|
223
|
-
{
|
224
|
-
"kind": "javascript-module",
|
225
|
-
"path": "src/directives/index.ts",
|
226
|
-
"declarations": [],
|
227
|
-
"exports": [
|
228
|
-
{
|
229
|
-
"kind": "js",
|
230
|
-
"name": "*",
|
231
|
-
"declaration": {
|
232
|
-
"name": "*",
|
233
|
-
"package": "./sync"
|
234
|
-
}
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"kind": "js",
|
238
|
-
"name": "*",
|
239
|
-
"declaration": {
|
240
|
-
"name": "*",
|
241
|
-
"package": "./when-else"
|
242
|
-
}
|
243
|
-
}
|
244
|
-
]
|
245
|
-
},
|
246
170
|
{
|
247
171
|
"kind": "javascript-module",
|
248
172
|
"path": "src/data/inMemoryDatabase.ts",
|
@@ -441,6 +365,59 @@
|
|
441
365
|
}
|
442
366
|
]
|
443
367
|
},
|
368
|
+
{
|
369
|
+
"kind": "javascript-module",
|
370
|
+
"path": "src/decorators/index.ts",
|
371
|
+
"declarations": [],
|
372
|
+
"exports": [
|
373
|
+
{
|
374
|
+
"kind": "js",
|
375
|
+
"name": "*",
|
376
|
+
"declaration": {
|
377
|
+
"name": "*",
|
378
|
+
"package": "./renderOnChange"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
]
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"kind": "javascript-module",
|
385
|
+
"path": "src/decorators/renderOnChange.ts",
|
386
|
+
"declarations": [
|
387
|
+
{
|
388
|
+
"kind": "function",
|
389
|
+
"name": "renderOnChange",
|
390
|
+
"parameters": [
|
391
|
+
{
|
392
|
+
"name": "target",
|
393
|
+
"type": {
|
394
|
+
"text": "FASTElement & { render(): void }"
|
395
|
+
},
|
396
|
+
"description": "The target to define the property change handler on."
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"name": "name",
|
400
|
+
"type": {
|
401
|
+
"text": "string"
|
402
|
+
},
|
403
|
+
"description": "The property name."
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
407
|
+
"privacy": "public"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"exports": [
|
411
|
+
{
|
412
|
+
"kind": "js",
|
413
|
+
"name": "renderOnChange",
|
414
|
+
"declaration": {
|
415
|
+
"name": "renderOnChange",
|
416
|
+
"module": "src/decorators/renderOnChange.ts"
|
417
|
+
}
|
418
|
+
}
|
419
|
+
]
|
420
|
+
},
|
444
421
|
{
|
445
422
|
"kind": "javascript-module",
|
446
423
|
"path": "src/design-system/design-system.ts",
|
@@ -493,245 +470,7 @@
|
|
493
470
|
},
|
494
471
|
{
|
495
472
|
"kind": "javascript-module",
|
496
|
-
"path": "src/
|
497
|
-
"declarations": [],
|
498
|
-
"exports": [
|
499
|
-
{
|
500
|
-
"kind": "js",
|
501
|
-
"name": "*",
|
502
|
-
"declaration": {
|
503
|
-
"name": "*",
|
504
|
-
"package": "./is-dev"
|
505
|
-
}
|
506
|
-
},
|
507
|
-
{
|
508
|
-
"kind": "js",
|
509
|
-
"name": "*",
|
510
|
-
"declaration": {
|
511
|
-
"name": "*",
|
512
|
-
"package": "./variables"
|
513
|
-
}
|
514
|
-
}
|
515
|
-
]
|
516
|
-
},
|
517
|
-
{
|
518
|
-
"kind": "javascript-module",
|
519
|
-
"path": "src/env/is-dev.ts",
|
520
|
-
"declarations": [
|
521
|
-
{
|
522
|
-
"kind": "function",
|
523
|
-
"name": "isDev",
|
524
|
-
"description": "Determines if the current environment is a development environment.",
|
525
|
-
"privacy": "public"
|
526
|
-
}
|
527
|
-
],
|
528
|
-
"exports": [
|
529
|
-
{
|
530
|
-
"kind": "js",
|
531
|
-
"name": "isDev",
|
532
|
-
"declaration": {
|
533
|
-
"name": "isDev",
|
534
|
-
"module": "src/env/is-dev.ts"
|
535
|
-
}
|
536
|
-
}
|
537
|
-
]
|
538
|
-
},
|
539
|
-
{
|
540
|
-
"kind": "javascript-module",
|
541
|
-
"path": "src/env/variables.ts",
|
542
|
-
"declarations": [
|
543
|
-
{
|
544
|
-
"kind": "variable",
|
545
|
-
"name": "SOCKET_EXT",
|
546
|
-
"type": {
|
547
|
-
"text": "string"
|
548
|
-
}
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"kind": "variable",
|
552
|
-
"name": "_SOCKET_EXT",
|
553
|
-
"type": {
|
554
|
-
"text": "string"
|
555
|
-
},
|
556
|
-
"default": "'gwf'",
|
557
|
-
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
558
|
-
"privacy": "public"
|
559
|
-
},
|
560
|
-
{
|
561
|
-
"kind": "variable",
|
562
|
-
"name": "FORCE_HTTP",
|
563
|
-
"type": {
|
564
|
-
"text": "string"
|
565
|
-
}
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"kind": "variable",
|
569
|
-
"name": "_FORCE_HTTP",
|
570
|
-
"type": {
|
571
|
-
"text": "string"
|
572
|
-
},
|
573
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
574
|
-
"privacy": "public"
|
575
|
-
},
|
576
|
-
{
|
577
|
-
"kind": "variable",
|
578
|
-
"name": "GENESIS_SOCKET_URL",
|
579
|
-
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
580
|
-
"description": "Genesis Socket URL",
|
581
|
-
"privacy": "public"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"kind": "variable",
|
585
|
-
"name": "API_HOST",
|
586
|
-
"type": {
|
587
|
-
"text": "string"
|
588
|
-
}
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"kind": "variable",
|
592
|
-
"name": "_API_HOST",
|
593
|
-
"type": {
|
594
|
-
"text": "string"
|
595
|
-
},
|
596
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
597
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
598
|
-
"privacy": "public"
|
599
|
-
},
|
600
|
-
{
|
601
|
-
"kind": "variable",
|
602
|
-
"name": "HTTP_CONFIG",
|
603
|
-
"type": {
|
604
|
-
"text": "string"
|
605
|
-
}
|
606
|
-
},
|
607
|
-
{
|
608
|
-
"kind": "variable",
|
609
|
-
"name": "_HTTP_CONFIG",
|
610
|
-
"type": {
|
611
|
-
"text": "string"
|
612
|
-
},
|
613
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
614
|
-
"privacy": "public"
|
615
|
-
},
|
616
|
-
{
|
617
|
-
"kind": "variable",
|
618
|
-
"name": "DEFAULT_ORGANISATION",
|
619
|
-
"type": {
|
620
|
-
"text": "string"
|
621
|
-
}
|
622
|
-
},
|
623
|
-
{
|
624
|
-
"kind": "variable",
|
625
|
-
"name": "_DEFAULT_ORGANISATION",
|
626
|
-
"type": {
|
627
|
-
"text": "string"
|
628
|
-
},
|
629
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
630
|
-
"privacy": "public"
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"kind": "variable",
|
634
|
-
"name": "DEFAULT_PASSWORD",
|
635
|
-
"type": {
|
636
|
-
"text": "string"
|
637
|
-
}
|
638
|
-
},
|
639
|
-
{
|
640
|
-
"kind": "variable",
|
641
|
-
"name": "_DEFAULT_PASSWORD",
|
642
|
-
"type": {
|
643
|
-
"text": "string"
|
644
|
-
},
|
645
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
646
|
-
"privacy": "public"
|
647
|
-
},
|
648
|
-
{
|
649
|
-
"kind": "variable",
|
650
|
-
"name": "DEFAULT_USER",
|
651
|
-
"type": {
|
652
|
-
"text": "string"
|
653
|
-
}
|
654
|
-
},
|
655
|
-
{
|
656
|
-
"kind": "variable",
|
657
|
-
"name": "_DEFAULT_USER",
|
658
|
-
"type": {
|
659
|
-
"text": "string"
|
660
|
-
},
|
661
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
662
|
-
"privacy": "public"
|
663
|
-
}
|
664
|
-
],
|
665
|
-
"exports": [
|
666
|
-
{
|
667
|
-
"kind": "js",
|
668
|
-
"name": "SOCKET_EXT",
|
669
|
-
"declaration": {
|
670
|
-
"name": "_SOCKET_EXT",
|
671
|
-
"module": "src/env/variables.ts"
|
672
|
-
}
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"kind": "js",
|
676
|
-
"name": "FORCE_HTTP",
|
677
|
-
"declaration": {
|
678
|
-
"name": "_FORCE_HTTP",
|
679
|
-
"module": "src/env/variables.ts"
|
680
|
-
}
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"kind": "js",
|
684
|
-
"name": "GENESIS_SOCKET_URL",
|
685
|
-
"declaration": {
|
686
|
-
"name": "GENESIS_SOCKET_URL",
|
687
|
-
"module": "src/env/variables.ts"
|
688
|
-
}
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"kind": "js",
|
692
|
-
"name": "API_HOST",
|
693
|
-
"declaration": {
|
694
|
-
"name": "_API_HOST",
|
695
|
-
"module": "src/env/variables.ts"
|
696
|
-
}
|
697
|
-
},
|
698
|
-
{
|
699
|
-
"kind": "js",
|
700
|
-
"name": "HTTP_CONFIG",
|
701
|
-
"declaration": {
|
702
|
-
"name": "_HTTP_CONFIG",
|
703
|
-
"module": "src/env/variables.ts"
|
704
|
-
}
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"kind": "js",
|
708
|
-
"name": "DEFAULT_ORGANISATION",
|
709
|
-
"declaration": {
|
710
|
-
"name": "_DEFAULT_ORGANISATION",
|
711
|
-
"module": "src/env/variables.ts"
|
712
|
-
}
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"kind": "js",
|
716
|
-
"name": "DEFAULT_PASSWORD",
|
717
|
-
"declaration": {
|
718
|
-
"name": "_DEFAULT_PASSWORD",
|
719
|
-
"module": "src/env/variables.ts"
|
720
|
-
}
|
721
|
-
},
|
722
|
-
{
|
723
|
-
"kind": "js",
|
724
|
-
"name": "DEFAULT_USER",
|
725
|
-
"declaration": {
|
726
|
-
"name": "_DEFAULT_USER",
|
727
|
-
"module": "src/env/variables.ts"
|
728
|
-
}
|
729
|
-
}
|
730
|
-
]
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"kind": "javascript-module",
|
734
|
-
"path": "src/error/errorMap.ts",
|
473
|
+
"path": "src/error/errorMap.ts",
|
735
474
|
"declarations": [
|
736
475
|
{
|
737
476
|
"kind": "class",
|
@@ -1213,6 +952,267 @@
|
|
1213
952
|
}
|
1214
953
|
]
|
1215
954
|
},
|
955
|
+
{
|
956
|
+
"kind": "javascript-module",
|
957
|
+
"path": "src/env/index.ts",
|
958
|
+
"declarations": [],
|
959
|
+
"exports": [
|
960
|
+
{
|
961
|
+
"kind": "js",
|
962
|
+
"name": "*",
|
963
|
+
"declaration": {
|
964
|
+
"name": "*",
|
965
|
+
"package": "./is-dev"
|
966
|
+
}
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"kind": "js",
|
970
|
+
"name": "*",
|
971
|
+
"declaration": {
|
972
|
+
"name": "*",
|
973
|
+
"package": "./variables"
|
974
|
+
}
|
975
|
+
}
|
976
|
+
]
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"kind": "javascript-module",
|
980
|
+
"path": "src/env/is-dev.ts",
|
981
|
+
"declarations": [
|
982
|
+
{
|
983
|
+
"kind": "function",
|
984
|
+
"name": "isDev",
|
985
|
+
"description": "Determines if the current environment is a development environment.",
|
986
|
+
"privacy": "public"
|
987
|
+
}
|
988
|
+
],
|
989
|
+
"exports": [
|
990
|
+
{
|
991
|
+
"kind": "js",
|
992
|
+
"name": "isDev",
|
993
|
+
"declaration": {
|
994
|
+
"name": "isDev",
|
995
|
+
"module": "src/env/is-dev.ts"
|
996
|
+
}
|
997
|
+
}
|
998
|
+
]
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"kind": "javascript-module",
|
1002
|
+
"path": "src/env/variables.ts",
|
1003
|
+
"declarations": [
|
1004
|
+
{
|
1005
|
+
"kind": "variable",
|
1006
|
+
"name": "SOCKET_EXT",
|
1007
|
+
"type": {
|
1008
|
+
"text": "string"
|
1009
|
+
}
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"kind": "variable",
|
1013
|
+
"name": "_SOCKET_EXT",
|
1014
|
+
"type": {
|
1015
|
+
"text": "string"
|
1016
|
+
},
|
1017
|
+
"default": "'gwf'",
|
1018
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
1019
|
+
"privacy": "public"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"kind": "variable",
|
1023
|
+
"name": "FORCE_HTTP",
|
1024
|
+
"type": {
|
1025
|
+
"text": "string"
|
1026
|
+
}
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"kind": "variable",
|
1030
|
+
"name": "_FORCE_HTTP",
|
1031
|
+
"type": {
|
1032
|
+
"text": "string"
|
1033
|
+
},
|
1034
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
1035
|
+
"privacy": "public"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"kind": "variable",
|
1039
|
+
"name": "GENESIS_SOCKET_URL",
|
1040
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
1041
|
+
"description": "Genesis Socket URL",
|
1042
|
+
"privacy": "public"
|
1043
|
+
},
|
1044
|
+
{
|
1045
|
+
"kind": "variable",
|
1046
|
+
"name": "API_HOST",
|
1047
|
+
"type": {
|
1048
|
+
"text": "string"
|
1049
|
+
}
|
1050
|
+
},
|
1051
|
+
{
|
1052
|
+
"kind": "variable",
|
1053
|
+
"name": "_API_HOST",
|
1054
|
+
"type": {
|
1055
|
+
"text": "string"
|
1056
|
+
},
|
1057
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
1058
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
1059
|
+
"privacy": "public"
|
1060
|
+
},
|
1061
|
+
{
|
1062
|
+
"kind": "variable",
|
1063
|
+
"name": "HTTP_CONFIG",
|
1064
|
+
"type": {
|
1065
|
+
"text": "string"
|
1066
|
+
}
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"kind": "variable",
|
1070
|
+
"name": "_HTTP_CONFIG",
|
1071
|
+
"type": {
|
1072
|
+
"text": "string"
|
1073
|
+
},
|
1074
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
1075
|
+
"privacy": "public"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"kind": "variable",
|
1079
|
+
"name": "DEFAULT_ORGANISATION",
|
1080
|
+
"type": {
|
1081
|
+
"text": "string"
|
1082
|
+
}
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"kind": "variable",
|
1086
|
+
"name": "_DEFAULT_ORGANISATION",
|
1087
|
+
"type": {
|
1088
|
+
"text": "string"
|
1089
|
+
},
|
1090
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1091
|
+
"privacy": "public"
|
1092
|
+
},
|
1093
|
+
{
|
1094
|
+
"kind": "variable",
|
1095
|
+
"name": "DEFAULT_PASSWORD",
|
1096
|
+
"type": {
|
1097
|
+
"text": "string"
|
1098
|
+
}
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"kind": "variable",
|
1102
|
+
"name": "_DEFAULT_PASSWORD",
|
1103
|
+
"type": {
|
1104
|
+
"text": "string"
|
1105
|
+
},
|
1106
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1107
|
+
"privacy": "public"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"kind": "variable",
|
1111
|
+
"name": "DEFAULT_USER",
|
1112
|
+
"type": {
|
1113
|
+
"text": "string"
|
1114
|
+
}
|
1115
|
+
},
|
1116
|
+
{
|
1117
|
+
"kind": "variable",
|
1118
|
+
"name": "_DEFAULT_USER",
|
1119
|
+
"type": {
|
1120
|
+
"text": "string"
|
1121
|
+
},
|
1122
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1123
|
+
"privacy": "public"
|
1124
|
+
}
|
1125
|
+
],
|
1126
|
+
"exports": [
|
1127
|
+
{
|
1128
|
+
"kind": "js",
|
1129
|
+
"name": "SOCKET_EXT",
|
1130
|
+
"declaration": {
|
1131
|
+
"name": "_SOCKET_EXT",
|
1132
|
+
"module": "src/env/variables.ts"
|
1133
|
+
}
|
1134
|
+
},
|
1135
|
+
{
|
1136
|
+
"kind": "js",
|
1137
|
+
"name": "FORCE_HTTP",
|
1138
|
+
"declaration": {
|
1139
|
+
"name": "_FORCE_HTTP",
|
1140
|
+
"module": "src/env/variables.ts"
|
1141
|
+
}
|
1142
|
+
},
|
1143
|
+
{
|
1144
|
+
"kind": "js",
|
1145
|
+
"name": "GENESIS_SOCKET_URL",
|
1146
|
+
"declaration": {
|
1147
|
+
"name": "GENESIS_SOCKET_URL",
|
1148
|
+
"module": "src/env/variables.ts"
|
1149
|
+
}
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"kind": "js",
|
1153
|
+
"name": "API_HOST",
|
1154
|
+
"declaration": {
|
1155
|
+
"name": "_API_HOST",
|
1156
|
+
"module": "src/env/variables.ts"
|
1157
|
+
}
|
1158
|
+
},
|
1159
|
+
{
|
1160
|
+
"kind": "js",
|
1161
|
+
"name": "HTTP_CONFIG",
|
1162
|
+
"declaration": {
|
1163
|
+
"name": "_HTTP_CONFIG",
|
1164
|
+
"module": "src/env/variables.ts"
|
1165
|
+
}
|
1166
|
+
},
|
1167
|
+
{
|
1168
|
+
"kind": "js",
|
1169
|
+
"name": "DEFAULT_ORGANISATION",
|
1170
|
+
"declaration": {
|
1171
|
+
"name": "_DEFAULT_ORGANISATION",
|
1172
|
+
"module": "src/env/variables.ts"
|
1173
|
+
}
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"kind": "js",
|
1177
|
+
"name": "DEFAULT_PASSWORD",
|
1178
|
+
"declaration": {
|
1179
|
+
"name": "_DEFAULT_PASSWORD",
|
1180
|
+
"module": "src/env/variables.ts"
|
1181
|
+
}
|
1182
|
+
},
|
1183
|
+
{
|
1184
|
+
"kind": "js",
|
1185
|
+
"name": "DEFAULT_USER",
|
1186
|
+
"declaration": {
|
1187
|
+
"name": "_DEFAULT_USER",
|
1188
|
+
"module": "src/env/variables.ts"
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
]
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
"kind": "javascript-module",
|
1195
|
+
"path": "src/directives/index.ts",
|
1196
|
+
"declarations": [],
|
1197
|
+
"exports": [
|
1198
|
+
{
|
1199
|
+
"kind": "js",
|
1200
|
+
"name": "*",
|
1201
|
+
"declaration": {
|
1202
|
+
"name": "*",
|
1203
|
+
"package": "./sync"
|
1204
|
+
}
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"kind": "js",
|
1208
|
+
"name": "*",
|
1209
|
+
"declaration": {
|
1210
|
+
"name": "*",
|
1211
|
+
"package": "./when-else"
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
]
|
1215
|
+
},
|
1216
1216
|
{
|
1217
1217
|
"kind": "javascript-module",
|
1218
1218
|
"path": "src/logger/index.ts",
|
@@ -1339,7 +1339,7 @@
|
|
1339
1339
|
},
|
1340
1340
|
{
|
1341
1341
|
"kind": "javascript-module",
|
1342
|
-
"path": "src/
|
1342
|
+
"path": "src/promise/index.ts",
|
1343
1343
|
"declarations": [],
|
1344
1344
|
"exports": [
|
1345
1345
|
{
|
@@ -1347,71 +1347,55 @@
|
|
1347
1347
|
"name": "*",
|
1348
1348
|
"declaration": {
|
1349
1349
|
"name": "*",
|
1350
|
-
"package": "./
|
1350
|
+
"package": "./resolveAfter"
|
1351
1351
|
}
|
1352
1352
|
}
|
1353
1353
|
]
|
1354
1354
|
},
|
1355
1355
|
{
|
1356
1356
|
"kind": "javascript-module",
|
1357
|
-
"path": "src/
|
1357
|
+
"path": "src/promise/resolveAfter.ts",
|
1358
1358
|
"declarations": [
|
1359
1359
|
{
|
1360
1360
|
"kind": "function",
|
1361
|
-
"name": "
|
1361
|
+
"name": "resolveAfter",
|
1362
1362
|
"return": {
|
1363
1363
|
"type": {
|
1364
|
-
"text": "
|
1364
|
+
"text": "Promise<T>"
|
1365
1365
|
}
|
1366
1366
|
},
|
1367
|
-
"description": "Creates a new event observer instance.",
|
1368
|
-
"privacy": "public"
|
1369
|
-
},
|
1370
|
-
{
|
1371
|
-
"kind": "function",
|
1372
|
-
"name": "respondToVisibility",
|
1373
1367
|
"parameters": [
|
1374
1368
|
{
|
1375
|
-
"name": "
|
1369
|
+
"name": "ms",
|
1376
1370
|
"type": {
|
1377
|
-
"text": "
|
1378
|
-
}
|
1379
|
-
"description": "HTMLElement to observe"
|
1371
|
+
"text": "number"
|
1372
|
+
}
|
1380
1373
|
},
|
1381
1374
|
{
|
1382
|
-
"name": "
|
1375
|
+
"name": "valueCreator",
|
1383
1376
|
"type": {
|
1384
|
-
"text": "(
|
1385
|
-
}
|
1386
|
-
"description": "any function called when the visibility changes"
|
1377
|
+
"text": "() => T"
|
1378
|
+
}
|
1387
1379
|
}
|
1388
1380
|
],
|
1389
|
-
"description": "
|
1381
|
+
"description": "Resolve a promise after a timeout.",
|
1390
1382
|
"privacy": "public"
|
1391
1383
|
}
|
1392
1384
|
],
|
1393
1385
|
"exports": [
|
1394
1386
|
{
|
1395
1387
|
"kind": "js",
|
1396
|
-
"name": "
|
1397
|
-
"declaration": {
|
1398
|
-
"name": "createObserver",
|
1399
|
-
"module": "src/observer/observer.ts"
|
1400
|
-
}
|
1401
|
-
},
|
1402
|
-
{
|
1403
|
-
"kind": "js",
|
1404
|
-
"name": "respondToVisibility",
|
1388
|
+
"name": "resolveAfter",
|
1405
1389
|
"declaration": {
|
1406
|
-
"name": "
|
1407
|
-
"module": "src/
|
1390
|
+
"name": "resolveAfter",
|
1391
|
+
"module": "src/promise/resolveAfter.ts"
|
1408
1392
|
}
|
1409
1393
|
}
|
1410
1394
|
]
|
1411
1395
|
},
|
1412
1396
|
{
|
1413
1397
|
"kind": "javascript-module",
|
1414
|
-
"path": "src/
|
1398
|
+
"path": "src/observer/index.ts",
|
1415
1399
|
"declarations": [],
|
1416
1400
|
"exports": [
|
1417
1401
|
{
|
@@ -1419,48 +1403,64 @@
|
|
1419
1403
|
"name": "*",
|
1420
1404
|
"declaration": {
|
1421
1405
|
"name": "*",
|
1422
|
-
"package": "./
|
1406
|
+
"package": "./observer"
|
1423
1407
|
}
|
1424
1408
|
}
|
1425
1409
|
]
|
1426
1410
|
},
|
1427
1411
|
{
|
1428
1412
|
"kind": "javascript-module",
|
1429
|
-
"path": "src/
|
1413
|
+
"path": "src/observer/observer.ts",
|
1430
1414
|
"declarations": [
|
1431
1415
|
{
|
1432
1416
|
"kind": "function",
|
1433
|
-
"name": "
|
1417
|
+
"name": "createObserver",
|
1434
1418
|
"return": {
|
1435
1419
|
"type": {
|
1436
|
-
"text": "
|
1420
|
+
"text": "Observer<EventType>"
|
1437
1421
|
}
|
1438
1422
|
},
|
1423
|
+
"description": "Creates a new event observer instance.",
|
1424
|
+
"privacy": "public"
|
1425
|
+
},
|
1426
|
+
{
|
1427
|
+
"kind": "function",
|
1428
|
+
"name": "respondToVisibility",
|
1439
1429
|
"parameters": [
|
1440
1430
|
{
|
1441
|
-
"name": "
|
1431
|
+
"name": "element",
|
1442
1432
|
"type": {
|
1443
|
-
"text": "
|
1444
|
-
}
|
1433
|
+
"text": "HTMLElement"
|
1434
|
+
},
|
1435
|
+
"description": "HTMLElement to observe"
|
1445
1436
|
},
|
1446
1437
|
{
|
1447
|
-
"name": "
|
1438
|
+
"name": "callback",
|
1448
1439
|
"type": {
|
1449
|
-
"text": "() =>
|
1450
|
-
}
|
1440
|
+
"text": "(arg0: boolean) => any"
|
1441
|
+
},
|
1442
|
+
"description": "any function called when the visibility changes"
|
1451
1443
|
}
|
1452
1444
|
],
|
1453
|
-
"description": "
|
1445
|
+
"description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
|
1454
1446
|
"privacy": "public"
|
1455
1447
|
}
|
1456
1448
|
],
|
1457
1449
|
"exports": [
|
1458
1450
|
{
|
1459
1451
|
"kind": "js",
|
1460
|
-
"name": "
|
1452
|
+
"name": "createObserver",
|
1461
1453
|
"declaration": {
|
1462
|
-
"name": "
|
1463
|
-
"module": "src/
|
1454
|
+
"name": "createObserver",
|
1455
|
+
"module": "src/observer/observer.ts"
|
1456
|
+
}
|
1457
|
+
},
|
1458
|
+
{
|
1459
|
+
"kind": "js",
|
1460
|
+
"name": "respondToVisibility",
|
1461
|
+
"declaration": {
|
1462
|
+
"name": "respondToVisibility",
|
1463
|
+
"module": "src/observer/observer.ts"
|
1464
1464
|
}
|
1465
1465
|
}
|
1466
1466
|
]
|
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.
|
4
|
+
"version": "14.215.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.215.0",
|
31
|
+
"@genesislcap/genx": "14.215.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.215.0",
|
33
|
+
"@genesislcap/ts-builder": "14.215.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.215.0",
|
35
|
+
"@genesislcap/vite-builder": "14.215.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.215.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.215.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "bb6ce44be244b1e9f16e6dddb2c8cffb4b85d330"
|
59
59
|
}
|