@genesislcap/foundation-utils 14.94.2 → 14.95.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.
@@ -143,59 +143,6 @@
143
143
  }
144
144
  ]
145
145
  },
146
- {
147
- "kind": "javascript-module",
148
- "path": "src/decorators/index.ts",
149
- "declarations": [],
150
- "exports": [
151
- {
152
- "kind": "js",
153
- "name": "*",
154
- "declaration": {
155
- "name": "*",
156
- "package": "./renderOnChange"
157
- }
158
- }
159
- ]
160
- },
161
- {
162
- "kind": "javascript-module",
163
- "path": "src/decorators/renderOnChange.ts",
164
- "declarations": [
165
- {
166
- "kind": "function",
167
- "name": "renderOnChange",
168
- "parameters": [
169
- {
170
- "name": "target",
171
- "type": {
172
- "text": "FASTElement & { render(): void }"
173
- },
174
- "description": "The target to define the property change handler on."
175
- },
176
- {
177
- "name": "name",
178
- "type": {
179
- "text": "string"
180
- },
181
- "description": "The property name."
182
- }
183
- ],
184
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
185
- "privacy": "public"
186
- }
187
- ],
188
- "exports": [
189
- {
190
- "kind": "js",
191
- "name": "renderOnChange",
192
- "declaration": {
193
- "name": "renderOnChange",
194
- "module": "src/decorators/renderOnChange.ts"
195
- }
196
- }
197
- ]
198
- },
199
146
  {
200
147
  "kind": "javascript-module",
201
148
  "path": "src/data/inMemoryDatabase.ts",
@@ -396,56 +343,7 @@
396
343
  },
397
344
  {
398
345
  "kind": "javascript-module",
399
- "path": "src/design-system/design-system.ts",
400
- "declarations": [
401
- {
402
- "kind": "function",
403
- "name": "assureDesignSystem",
404
- "return": {
405
- "type": {
406
- "text": "DesignSystemModule"
407
- }
408
- },
409
- "parameters": [
410
- {
411
- "name": "module",
412
- "type": {
413
- "text": "DesignSystemModule"
414
- }
415
- }
416
- ],
417
- "privacy": "public"
418
- }
419
- ],
420
- "exports": [
421
- {
422
- "kind": "js",
423
- "name": "assureDesignSystem",
424
- "declaration": {
425
- "name": "assureDesignSystem",
426
- "module": "src/design-system/design-system.ts"
427
- }
428
- }
429
- ]
430
- },
431
- {
432
- "kind": "javascript-module",
433
- "path": "src/design-system/index.ts",
434
- "declarations": [],
435
- "exports": [
436
- {
437
- "kind": "js",
438
- "name": "*",
439
- "declaration": {
440
- "name": "*",
441
- "package": "./design-system"
442
- }
443
- }
444
- ]
445
- },
446
- {
447
- "kind": "javascript-module",
448
- "path": "src/env/index.ts",
346
+ "path": "src/decorators/index.ts",
449
347
  "declarations": [],
450
348
  "exports": [
451
349
  {
@@ -453,215 +351,94 @@
453
351
  "name": "*",
454
352
  "declaration": {
455
353
  "name": "*",
456
- "package": "./is-dev"
457
- }
458
- },
459
- {
460
- "kind": "js",
461
- "name": "*",
462
- "declaration": {
463
- "name": "*",
464
- "package": "./variables"
354
+ "package": "./renderOnChange"
465
355
  }
466
356
  }
467
357
  ]
468
358
  },
469
359
  {
470
360
  "kind": "javascript-module",
471
- "path": "src/env/is-dev.ts",
361
+ "path": "src/decorators/renderOnChange.ts",
472
362
  "declarations": [
473
363
  {
474
364
  "kind": "function",
475
- "name": "isDev",
476
- "description": "Determines if the current environment is a development environment.",
365
+ "name": "renderOnChange",
366
+ "parameters": [
367
+ {
368
+ "name": "target",
369
+ "type": {
370
+ "text": "FASTElement & { render(): void }"
371
+ },
372
+ "description": "The target to define the property change handler on."
373
+ },
374
+ {
375
+ "name": "name",
376
+ "type": {
377
+ "text": "string"
378
+ },
379
+ "description": "The property name."
380
+ }
381
+ ],
382
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
477
383
  "privacy": "public"
478
384
  }
479
385
  ],
480
386
  "exports": [
481
387
  {
482
388
  "kind": "js",
483
- "name": "isDev",
389
+ "name": "renderOnChange",
484
390
  "declaration": {
485
- "name": "isDev",
486
- "module": "src/env/is-dev.ts"
391
+ "name": "renderOnChange",
392
+ "module": "src/decorators/renderOnChange.ts"
487
393
  }
488
394
  }
489
395
  ]
490
396
  },
491
397
  {
492
398
  "kind": "javascript-module",
493
- "path": "src/env/variables.ts",
399
+ "path": "src/design-system/design-system.ts",
494
400
  "declarations": [
495
401
  {
496
- "kind": "variable",
497
- "name": "SOCKET_EXT",
498
- "type": {
499
- "text": "string"
500
- }
501
- },
502
- {
503
- "kind": "variable",
504
- "name": "_SOCKET_EXT",
505
- "type": {
506
- "text": "string"
507
- },
508
- "default": "'gwf'",
509
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
510
- "privacy": "public"
511
- },
512
- {
513
- "kind": "variable",
514
- "name": "FORCE_HTTP",
515
- "type": {
516
- "text": "string"
517
- }
518
- },
519
- {
520
- "kind": "variable",
521
- "name": "_FORCE_HTTP",
522
- "type": {
523
- "text": "string"
524
- },
525
- "description": "The path to a JSON config file for the HTTP mode.",
526
- "privacy": "public"
527
- },
528
- {
529
- "kind": "variable",
530
- "name": "API_HOST",
531
- "type": {
532
- "text": "string"
533
- }
534
- },
535
- {
536
- "kind": "variable",
537
- "name": "_API_HOST",
538
- "type": {
539
- "text": "string"
540
- },
541
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
542
- "description": "The Genesis Server URL (WebSocket or HTTP).",
543
- "privacy": "public"
544
- },
545
- {
546
- "kind": "variable",
547
- "name": "HTTP_CONFIG",
548
- "type": {
549
- "text": "string"
550
- }
551
- },
552
- {
553
- "kind": "variable",
554
- "name": "_HTTP_CONFIG",
555
- "type": {
556
- "text": "string"
557
- },
558
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
559
- "privacy": "public"
560
- },
561
- {
562
- "kind": "variable",
563
- "name": "DEFAULT_ORGANISATION",
564
- "type": {
565
- "text": "string"
566
- }
567
- },
568
- {
569
- "kind": "variable",
570
- "name": "_DEFAULT_ORGANISATION",
571
- "type": {
572
- "text": "string"
573
- },
574
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
575
- "privacy": "public"
576
- },
577
- {
578
- "kind": "variable",
579
- "name": "DEFAULT_PASSWORD",
580
- "type": {
581
- "text": "string"
582
- }
583
- },
584
- {
585
- "kind": "variable",
586
- "name": "_DEFAULT_PASSWORD",
587
- "type": {
588
- "text": "string"
589
- },
590
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
591
- "privacy": "public"
592
- },
593
- {
594
- "kind": "variable",
595
- "name": "DEFAULT_USER",
596
- "type": {
597
- "text": "string"
598
- }
599
- },
600
- {
601
- "kind": "variable",
602
- "name": "_DEFAULT_USER",
603
- "type": {
604
- "text": "string"
402
+ "kind": "function",
403
+ "name": "assureDesignSystem",
404
+ "return": {
405
+ "type": {
406
+ "text": "DesignSystemModule"
407
+ }
605
408
  },
606
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
607
- "privacy": "public"
608
- }
609
- ],
610
- "exports": [
611
- {
612
- "kind": "js",
613
- "name": "SOCKET_EXT",
614
- "declaration": {
615
- "name": "_SOCKET_EXT",
616
- "module": "src/env/variables.ts"
617
- }
618
- },
619
- {
620
- "kind": "js",
621
- "name": "FORCE_HTTP",
622
- "declaration": {
623
- "name": "_FORCE_HTTP",
624
- "module": "src/env/variables.ts"
625
- }
626
- },
627
- {
628
- "kind": "js",
629
- "name": "API_HOST",
630
- "declaration": {
631
- "name": "_API_HOST",
632
- "module": "src/env/variables.ts"
633
- }
634
- },
635
- {
636
- "kind": "js",
637
- "name": "HTTP_CONFIG",
638
- "declaration": {
639
- "name": "_HTTP_CONFIG",
640
- "module": "src/env/variables.ts"
641
- }
642
- },
643
- {
644
- "kind": "js",
645
- "name": "DEFAULT_ORGANISATION",
646
- "declaration": {
647
- "name": "_DEFAULT_ORGANISATION",
648
- "module": "src/env/variables.ts"
649
- }
650
- },
409
+ "parameters": [
410
+ {
411
+ "name": "module",
412
+ "type": {
413
+ "text": "DesignSystemModule"
414
+ }
415
+ }
416
+ ],
417
+ "privacy": "public"
418
+ }
419
+ ],
420
+ "exports": [
651
421
  {
652
422
  "kind": "js",
653
- "name": "DEFAULT_PASSWORD",
423
+ "name": "assureDesignSystem",
654
424
  "declaration": {
655
- "name": "_DEFAULT_PASSWORD",
656
- "module": "src/env/variables.ts"
425
+ "name": "assureDesignSystem",
426
+ "module": "src/design-system/design-system.ts"
657
427
  }
658
- },
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "kind": "javascript-module",
433
+ "path": "src/design-system/index.ts",
434
+ "declarations": [],
435
+ "exports": [
659
436
  {
660
437
  "kind": "js",
661
- "name": "DEFAULT_USER",
438
+ "name": "*",
662
439
  "declaration": {
663
- "name": "_DEFAULT_USER",
664
- "module": "src/env/variables.ts"
440
+ "name": "*",
441
+ "package": "./design-system"
665
442
  }
666
443
  }
667
444
  ]
@@ -1181,6 +958,229 @@
1181
958
  }
1182
959
  ]
1183
960
  },
961
+ {
962
+ "kind": "javascript-module",
963
+ "path": "src/env/index.ts",
964
+ "declarations": [],
965
+ "exports": [
966
+ {
967
+ "kind": "js",
968
+ "name": "*",
969
+ "declaration": {
970
+ "name": "*",
971
+ "package": "./is-dev"
972
+ }
973
+ },
974
+ {
975
+ "kind": "js",
976
+ "name": "*",
977
+ "declaration": {
978
+ "name": "*",
979
+ "package": "./variables"
980
+ }
981
+ }
982
+ ]
983
+ },
984
+ {
985
+ "kind": "javascript-module",
986
+ "path": "src/env/is-dev.ts",
987
+ "declarations": [
988
+ {
989
+ "kind": "function",
990
+ "name": "isDev",
991
+ "description": "Determines if the current environment is a development environment.",
992
+ "privacy": "public"
993
+ }
994
+ ],
995
+ "exports": [
996
+ {
997
+ "kind": "js",
998
+ "name": "isDev",
999
+ "declaration": {
1000
+ "name": "isDev",
1001
+ "module": "src/env/is-dev.ts"
1002
+ }
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ "kind": "javascript-module",
1008
+ "path": "src/env/variables.ts",
1009
+ "declarations": [
1010
+ {
1011
+ "kind": "variable",
1012
+ "name": "SOCKET_EXT",
1013
+ "type": {
1014
+ "text": "string"
1015
+ }
1016
+ },
1017
+ {
1018
+ "kind": "variable",
1019
+ "name": "_SOCKET_EXT",
1020
+ "type": {
1021
+ "text": "string"
1022
+ },
1023
+ "default": "'gwf'",
1024
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
1025
+ "privacy": "public"
1026
+ },
1027
+ {
1028
+ "kind": "variable",
1029
+ "name": "FORCE_HTTP",
1030
+ "type": {
1031
+ "text": "string"
1032
+ }
1033
+ },
1034
+ {
1035
+ "kind": "variable",
1036
+ "name": "_FORCE_HTTP",
1037
+ "type": {
1038
+ "text": "string"
1039
+ },
1040
+ "description": "The path to a JSON config file for the HTTP mode.",
1041
+ "privacy": "public"
1042
+ },
1043
+ {
1044
+ "kind": "variable",
1045
+ "name": "API_HOST",
1046
+ "type": {
1047
+ "text": "string"
1048
+ }
1049
+ },
1050
+ {
1051
+ "kind": "variable",
1052
+ "name": "_API_HOST",
1053
+ "type": {
1054
+ "text": "string"
1055
+ },
1056
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
1057
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
1058
+ "privacy": "public"
1059
+ },
1060
+ {
1061
+ "kind": "variable",
1062
+ "name": "HTTP_CONFIG",
1063
+ "type": {
1064
+ "text": "string"
1065
+ }
1066
+ },
1067
+ {
1068
+ "kind": "variable",
1069
+ "name": "_HTTP_CONFIG",
1070
+ "type": {
1071
+ "text": "string"
1072
+ },
1073
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
1074
+ "privacy": "public"
1075
+ },
1076
+ {
1077
+ "kind": "variable",
1078
+ "name": "DEFAULT_ORGANISATION",
1079
+ "type": {
1080
+ "text": "string"
1081
+ }
1082
+ },
1083
+ {
1084
+ "kind": "variable",
1085
+ "name": "_DEFAULT_ORGANISATION",
1086
+ "type": {
1087
+ "text": "string"
1088
+ },
1089
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1090
+ "privacy": "public"
1091
+ },
1092
+ {
1093
+ "kind": "variable",
1094
+ "name": "DEFAULT_PASSWORD",
1095
+ "type": {
1096
+ "text": "string"
1097
+ }
1098
+ },
1099
+ {
1100
+ "kind": "variable",
1101
+ "name": "_DEFAULT_PASSWORD",
1102
+ "type": {
1103
+ "text": "string"
1104
+ },
1105
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1106
+ "privacy": "public"
1107
+ },
1108
+ {
1109
+ "kind": "variable",
1110
+ "name": "DEFAULT_USER",
1111
+ "type": {
1112
+ "text": "string"
1113
+ }
1114
+ },
1115
+ {
1116
+ "kind": "variable",
1117
+ "name": "_DEFAULT_USER",
1118
+ "type": {
1119
+ "text": "string"
1120
+ },
1121
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1122
+ "privacy": "public"
1123
+ }
1124
+ ],
1125
+ "exports": [
1126
+ {
1127
+ "kind": "js",
1128
+ "name": "SOCKET_EXT",
1129
+ "declaration": {
1130
+ "name": "_SOCKET_EXT",
1131
+ "module": "src/env/variables.ts"
1132
+ }
1133
+ },
1134
+ {
1135
+ "kind": "js",
1136
+ "name": "FORCE_HTTP",
1137
+ "declaration": {
1138
+ "name": "_FORCE_HTTP",
1139
+ "module": "src/env/variables.ts"
1140
+ }
1141
+ },
1142
+ {
1143
+ "kind": "js",
1144
+ "name": "API_HOST",
1145
+ "declaration": {
1146
+ "name": "_API_HOST",
1147
+ "module": "src/env/variables.ts"
1148
+ }
1149
+ },
1150
+ {
1151
+ "kind": "js",
1152
+ "name": "HTTP_CONFIG",
1153
+ "declaration": {
1154
+ "name": "_HTTP_CONFIG",
1155
+ "module": "src/env/variables.ts"
1156
+ }
1157
+ },
1158
+ {
1159
+ "kind": "js",
1160
+ "name": "DEFAULT_ORGANISATION",
1161
+ "declaration": {
1162
+ "name": "_DEFAULT_ORGANISATION",
1163
+ "module": "src/env/variables.ts"
1164
+ }
1165
+ },
1166
+ {
1167
+ "kind": "js",
1168
+ "name": "DEFAULT_PASSWORD",
1169
+ "declaration": {
1170
+ "name": "_DEFAULT_PASSWORD",
1171
+ "module": "src/env/variables.ts"
1172
+ }
1173
+ },
1174
+ {
1175
+ "kind": "js",
1176
+ "name": "DEFAULT_USER",
1177
+ "declaration": {
1178
+ "name": "_DEFAULT_USER",
1179
+ "module": "src/env/variables.ts"
1180
+ }
1181
+ }
1182
+ ]
1183
+ },
1184
1184
  {
1185
1185
  "kind": "javascript-module",
1186
1186
  "path": "src/mappers/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.94.2",
4
+ "version": "14.95.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,12 +19,12 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.94.2",
23
- "@genesislcap/genx": "14.94.2",
22
+ "@genesislcap/foundation-testing": "14.95.0",
23
+ "@genesislcap/genx": "14.95.0",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.94.2",
27
+ "@genesislcap/foundation-logger": "14.95.0",
28
28
  "@microsoft/fast-components": "^2.21.3",
29
29
  "@microsoft/fast-element": "^1.7.0",
30
30
  "@microsoft/fast-foundation": "^2.33.2",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "8f234d54d3f4baf8f21a036b93dd6ba07eb59158"
45
+ "gitHead": "c104bd1dbc712b08c2e279f71f1f3ba2fca5c34c"
46
46
  }