@genesislcap/foundation-utils 14.225.1 → 14.225.2-alpha-968f711.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +452 -452
- package/package.json +10 -10
@@ -163,7 +163,7 @@
|
|
163
163
|
},
|
164
164
|
{
|
165
165
|
"kind": "javascript-module",
|
166
|
-
"path": "src/
|
166
|
+
"path": "src/decorators/index.ts",
|
167
167
|
"declarations": [],
|
168
168
|
"exports": [
|
169
169
|
{
|
@@ -171,57 +171,52 @@
|
|
171
171
|
"name": "*",
|
172
172
|
"declaration": {
|
173
173
|
"name": "*",
|
174
|
-
"package": "./
|
175
|
-
}
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"kind": "js",
|
179
|
-
"name": "*",
|
180
|
-
"declaration": {
|
181
|
-
"name": "*",
|
182
|
-
"package": "./when-else"
|
174
|
+
"package": "./renderOnChange"
|
183
175
|
}
|
184
176
|
}
|
185
177
|
]
|
186
178
|
},
|
187
179
|
{
|
188
180
|
"kind": "javascript-module",
|
189
|
-
"path": "src/
|
181
|
+
"path": "src/decorators/renderOnChange.ts",
|
190
182
|
"declarations": [
|
191
183
|
{
|
192
184
|
"kind": "function",
|
193
|
-
"name": "
|
194
|
-
"return": {
|
195
|
-
"type": {
|
196
|
-
"text": "DesignSystemModule"
|
197
|
-
}
|
198
|
-
},
|
185
|
+
"name": "renderOnChange",
|
199
186
|
"parameters": [
|
200
187
|
{
|
201
|
-
"name": "
|
188
|
+
"name": "target",
|
202
189
|
"type": {
|
203
|
-
"text": "
|
204
|
-
}
|
190
|
+
"text": "FASTElement & { render(): void }"
|
191
|
+
},
|
192
|
+
"description": "The target to define the property change handler on."
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"name": "name",
|
196
|
+
"type": {
|
197
|
+
"text": "string"
|
198
|
+
},
|
199
|
+
"description": "The property name."
|
205
200
|
}
|
206
201
|
],
|
207
|
-
"description": "
|
202
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
208
203
|
"privacy": "public"
|
209
204
|
}
|
210
205
|
],
|
211
206
|
"exports": [
|
212
207
|
{
|
213
208
|
"kind": "js",
|
214
|
-
"name": "
|
209
|
+
"name": "renderOnChange",
|
215
210
|
"declaration": {
|
216
|
-
"name": "
|
217
|
-
"module": "src/
|
211
|
+
"name": "renderOnChange",
|
212
|
+
"module": "src/decorators/renderOnChange.ts"
|
218
213
|
}
|
219
214
|
}
|
220
215
|
]
|
221
216
|
},
|
222
217
|
{
|
223
218
|
"kind": "javascript-module",
|
224
|
-
"path": "src/
|
219
|
+
"path": "src/directives/index.ts",
|
225
220
|
"declarations": [],
|
226
221
|
"exports": [
|
227
222
|
{
|
@@ -229,206 +224,253 @@
|
|
229
224
|
"name": "*",
|
230
225
|
"declaration": {
|
231
226
|
"name": "*",
|
232
|
-
"package": "./
|
227
|
+
"package": "./sync"
|
228
|
+
}
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"kind": "js",
|
232
|
+
"name": "*",
|
233
|
+
"declaration": {
|
234
|
+
"name": "*",
|
235
|
+
"package": "./when-else"
|
233
236
|
}
|
234
237
|
}
|
235
238
|
]
|
236
239
|
},
|
237
240
|
{
|
238
241
|
"kind": "javascript-module",
|
239
|
-
"path": "src/
|
240
|
-
"declarations": [
|
242
|
+
"path": "src/env/index.ts",
|
243
|
+
"declarations": [],
|
244
|
+
"exports": [
|
241
245
|
{
|
242
|
-
"kind": "
|
243
|
-
"
|
244
|
-
"
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
"name": "map",
|
249
|
-
"privacy": "private",
|
250
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"kind": "field",
|
254
|
-
"name": "lastError",
|
255
|
-
"type": {
|
256
|
-
"text": "Error"
|
257
|
-
},
|
258
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"kind": "method",
|
262
|
-
"name": "set",
|
263
|
-
"return": {
|
264
|
-
"type": {
|
265
|
-
"text": "void"
|
266
|
-
}
|
267
|
-
},
|
268
|
-
"parameters": [
|
269
|
-
{
|
270
|
-
"name": "key",
|
271
|
-
"type": {
|
272
|
-
"text": "keyof TErrorDetailMap"
|
273
|
-
}
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "error",
|
277
|
-
"type": {
|
278
|
-
"text": "Error"
|
279
|
-
}
|
280
|
-
}
|
281
|
-
],
|
282
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"kind": "method",
|
286
|
-
"name": "get",
|
287
|
-
"return": {
|
288
|
-
"type": {
|
289
|
-
"text": ""
|
290
|
-
}
|
291
|
-
},
|
292
|
-
"parameters": [
|
293
|
-
{
|
294
|
-
"name": "key",
|
295
|
-
"type": {
|
296
|
-
"text": "keyof TErrorDetailMap"
|
297
|
-
},
|
298
|
-
"description": "The key."
|
299
|
-
}
|
300
|
-
],
|
301
|
-
"description": "Get an error by key.",
|
302
|
-
"privacy": "public"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"kind": "method",
|
306
|
-
"name": "has",
|
307
|
-
"return": {
|
308
|
-
"type": {
|
309
|
-
"text": ""
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"parameters": [
|
313
|
-
{
|
314
|
-
"name": "key",
|
315
|
-
"type": {
|
316
|
-
"text": "keyof TErrorDetailMap"
|
317
|
-
},
|
318
|
-
"description": "The key."
|
319
|
-
}
|
320
|
-
],
|
321
|
-
"description": "Has an error for key.",
|
322
|
-
"privacy": "public"
|
323
|
-
},
|
324
|
-
{
|
325
|
-
"kind": "method",
|
326
|
-
"name": "delete",
|
327
|
-
"return": {
|
328
|
-
"type": {
|
329
|
-
"text": ""
|
330
|
-
}
|
331
|
-
},
|
332
|
-
"parameters": [
|
333
|
-
{
|
334
|
-
"name": "key",
|
335
|
-
"type": {
|
336
|
-
"text": "keyof TErrorDetailMap"
|
337
|
-
},
|
338
|
-
"description": "The key."
|
339
|
-
}
|
340
|
-
],
|
341
|
-
"description": "Delete an error.",
|
342
|
-
"privacy": "public"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"kind": "method",
|
346
|
-
"name": "clear",
|
347
|
-
"description": "Clear errors.",
|
348
|
-
"privacy": "public"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"kind": "field",
|
352
|
-
"name": "size",
|
353
|
-
"type": {
|
354
|
-
"text": "number"
|
355
|
-
},
|
356
|
-
"description": "The size of the error map.",
|
357
|
-
"return": {
|
358
|
-
"type": {
|
359
|
-
"text": ""
|
360
|
-
}
|
361
|
-
},
|
362
|
-
"privacy": "public",
|
363
|
-
"readonly": true
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"kind": "method",
|
367
|
-
"name": "values",
|
368
|
-
"privacy": "public"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"kind": "field",
|
372
|
-
"name": "messages",
|
373
|
-
"type": {
|
374
|
-
"text": "string"
|
375
|
-
},
|
376
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
377
|
-
"readonly": true
|
378
|
-
}
|
379
|
-
]
|
246
|
+
"kind": "js",
|
247
|
+
"name": "*",
|
248
|
+
"declaration": {
|
249
|
+
"name": "*",
|
250
|
+
"package": "./is-dev"
|
251
|
+
}
|
380
252
|
},
|
253
|
+
{
|
254
|
+
"kind": "js",
|
255
|
+
"name": "*",
|
256
|
+
"declaration": {
|
257
|
+
"name": "*",
|
258
|
+
"package": "./variables"
|
259
|
+
}
|
260
|
+
}
|
261
|
+
]
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"kind": "javascript-module",
|
265
|
+
"path": "src/env/is-dev.ts",
|
266
|
+
"declarations": [
|
381
267
|
{
|
382
268
|
"kind": "function",
|
383
|
-
"name": "
|
384
|
-
"
|
385
|
-
|
386
|
-
|
387
|
-
|
269
|
+
"name": "isDev",
|
270
|
+
"description": "Determines if the current environment is a development environment.",
|
271
|
+
"privacy": "public"
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"exports": [
|
275
|
+
{
|
276
|
+
"kind": "js",
|
277
|
+
"name": "isDev",
|
278
|
+
"declaration": {
|
279
|
+
"name": "isDev",
|
280
|
+
"module": "src/env/is-dev.ts"
|
281
|
+
}
|
282
|
+
}
|
283
|
+
]
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"kind": "javascript-module",
|
287
|
+
"path": "src/env/variables.ts",
|
288
|
+
"declarations": [
|
289
|
+
{
|
290
|
+
"kind": "variable",
|
291
|
+
"name": "SOCKET_EXT",
|
292
|
+
"type": {
|
293
|
+
"text": "string"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"kind": "variable",
|
298
|
+
"name": "_SOCKET_EXT",
|
299
|
+
"type": {
|
300
|
+
"text": "string"
|
388
301
|
},
|
389
|
-
"
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
302
|
+
"default": "'gwf'",
|
303
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
304
|
+
"privacy": "public"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"kind": "variable",
|
308
|
+
"name": "FORCE_HTTP",
|
309
|
+
"type": {
|
310
|
+
"text": "string"
|
311
|
+
}
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"kind": "variable",
|
315
|
+
"name": "_FORCE_HTTP",
|
316
|
+
"type": {
|
317
|
+
"text": "string"
|
318
|
+
},
|
319
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
320
|
+
"privacy": "public"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"kind": "variable",
|
324
|
+
"name": "GENESIS_SOCKET_URL",
|
325
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
326
|
+
"description": "Genesis Socket URL",
|
327
|
+
"privacy": "public"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"kind": "variable",
|
331
|
+
"name": "API_HOST",
|
332
|
+
"type": {
|
333
|
+
"text": "string"
|
334
|
+
}
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"kind": "variable",
|
338
|
+
"name": "_API_HOST",
|
339
|
+
"type": {
|
340
|
+
"text": "string"
|
341
|
+
},
|
342
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
343
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
344
|
+
"privacy": "public"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"kind": "variable",
|
348
|
+
"name": "HTTP_CONFIG",
|
349
|
+
"type": {
|
350
|
+
"text": "string"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"kind": "variable",
|
355
|
+
"name": "_HTTP_CONFIG",
|
356
|
+
"type": {
|
357
|
+
"text": "string"
|
358
|
+
},
|
359
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
360
|
+
"privacy": "public"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"kind": "variable",
|
364
|
+
"name": "DEFAULT_ORGANISATION",
|
365
|
+
"type": {
|
366
|
+
"text": "string"
|
367
|
+
}
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"kind": "variable",
|
371
|
+
"name": "_DEFAULT_ORGANISATION",
|
372
|
+
"type": {
|
373
|
+
"text": "string"
|
374
|
+
},
|
375
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
376
|
+
"privacy": "public"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"kind": "variable",
|
380
|
+
"name": "DEFAULT_PASSWORD",
|
381
|
+
"type": {
|
382
|
+
"text": "string"
|
383
|
+
}
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"kind": "variable",
|
387
|
+
"name": "_DEFAULT_PASSWORD",
|
388
|
+
"type": {
|
389
|
+
"text": "string"
|
390
|
+
},
|
391
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
392
|
+
"privacy": "public"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"kind": "variable",
|
396
|
+
"name": "DEFAULT_USER",
|
397
|
+
"type": {
|
398
|
+
"text": "string"
|
399
|
+
}
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"kind": "variable",
|
403
|
+
"name": "_DEFAULT_USER",
|
404
|
+
"type": {
|
405
|
+
"text": "string"
|
406
|
+
},
|
407
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
399
408
|
"privacy": "public"
|
400
409
|
}
|
401
410
|
],
|
402
411
|
"exports": [
|
403
412
|
{
|
404
413
|
"kind": "js",
|
405
|
-
"name": "
|
414
|
+
"name": "SOCKET_EXT",
|
415
|
+
"declaration": {
|
416
|
+
"name": "_SOCKET_EXT",
|
417
|
+
"module": "src/env/variables.ts"
|
418
|
+
}
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"kind": "js",
|
422
|
+
"name": "FORCE_HTTP",
|
423
|
+
"declaration": {
|
424
|
+
"name": "_FORCE_HTTP",
|
425
|
+
"module": "src/env/variables.ts"
|
426
|
+
}
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"kind": "js",
|
430
|
+
"name": "GENESIS_SOCKET_URL",
|
431
|
+
"declaration": {
|
432
|
+
"name": "GENESIS_SOCKET_URL",
|
433
|
+
"module": "src/env/variables.ts"
|
434
|
+
}
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"kind": "js",
|
438
|
+
"name": "API_HOST",
|
406
439
|
"declaration": {
|
407
|
-
"name": "
|
408
|
-
"module": "src/
|
440
|
+
"name": "_API_HOST",
|
441
|
+
"module": "src/env/variables.ts"
|
409
442
|
}
|
410
443
|
},
|
411
444
|
{
|
412
445
|
"kind": "js",
|
413
|
-
"name": "
|
446
|
+
"name": "HTTP_CONFIG",
|
414
447
|
"declaration": {
|
415
|
-
"name": "
|
416
|
-
"module": "src/
|
448
|
+
"name": "_HTTP_CONFIG",
|
449
|
+
"module": "src/env/variables.ts"
|
417
450
|
}
|
418
|
-
}
|
419
|
-
]
|
420
|
-
},
|
421
|
-
{
|
422
|
-
"kind": "javascript-module",
|
423
|
-
"path": "src/error/index.ts",
|
424
|
-
"declarations": [],
|
425
|
-
"exports": [
|
451
|
+
},
|
426
452
|
{
|
427
453
|
"kind": "js",
|
428
|
-
"name": "
|
454
|
+
"name": "DEFAULT_ORGANISATION",
|
429
455
|
"declaration": {
|
430
|
-
"name": "
|
431
|
-
"
|
456
|
+
"name": "_DEFAULT_ORGANISATION",
|
457
|
+
"module": "src/env/variables.ts"
|
458
|
+
}
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"kind": "js",
|
462
|
+
"name": "DEFAULT_PASSWORD",
|
463
|
+
"declaration": {
|
464
|
+
"name": "_DEFAULT_PASSWORD",
|
465
|
+
"module": "src/env/variables.ts"
|
466
|
+
}
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"kind": "js",
|
470
|
+
"name": "DEFAULT_USER",
|
471
|
+
"declaration": {
|
472
|
+
"name": "_DEFAULT_USER",
|
473
|
+
"module": "src/env/variables.ts"
|
432
474
|
}
|
433
475
|
}
|
434
476
|
]
|
@@ -633,7 +675,42 @@
|
|
633
675
|
},
|
634
676
|
{
|
635
677
|
"kind": "javascript-module",
|
636
|
-
"path": "src/
|
678
|
+
"path": "src/design-system/design-system.ts",
|
679
|
+
"declarations": [
|
680
|
+
{
|
681
|
+
"kind": "function",
|
682
|
+
"name": "assureDesignSystem",
|
683
|
+
"return": {
|
684
|
+
"type": {
|
685
|
+
"text": "DesignSystemModule"
|
686
|
+
}
|
687
|
+
},
|
688
|
+
"parameters": [
|
689
|
+
{
|
690
|
+
"name": "module",
|
691
|
+
"type": {
|
692
|
+
"text": "DesignSystemModule"
|
693
|
+
}
|
694
|
+
}
|
695
|
+
],
|
696
|
+
"description": "assureDesignSystem.",
|
697
|
+
"privacy": "public"
|
698
|
+
}
|
699
|
+
],
|
700
|
+
"exports": [
|
701
|
+
{
|
702
|
+
"kind": "js",
|
703
|
+
"name": "assureDesignSystem",
|
704
|
+
"declaration": {
|
705
|
+
"name": "assureDesignSystem",
|
706
|
+
"module": "src/design-system/design-system.ts"
|
707
|
+
}
|
708
|
+
}
|
709
|
+
]
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"kind": "javascript-module",
|
713
|
+
"path": "src/design-system/index.ts",
|
637
714
|
"declarations": [],
|
638
715
|
"exports": [
|
639
716
|
{
|
@@ -641,45 +718,206 @@
|
|
641
718
|
"name": "*",
|
642
719
|
"declaration": {
|
643
720
|
"name": "*",
|
644
|
-
"package": "./
|
721
|
+
"package": "./design-system"
|
645
722
|
}
|
646
723
|
}
|
647
724
|
]
|
648
725
|
},
|
649
726
|
{
|
650
727
|
"kind": "javascript-module",
|
651
|
-
"path": "src/
|
728
|
+
"path": "src/error/errorMap.ts",
|
652
729
|
"declarations": [
|
653
730
|
{
|
654
|
-
"kind": "
|
655
|
-
"
|
656
|
-
"
|
731
|
+
"kind": "class",
|
732
|
+
"description": "",
|
733
|
+
"name": "DefaultErrorMap",
|
734
|
+
"members": [
|
657
735
|
{
|
658
|
-
"
|
736
|
+
"kind": "field",
|
737
|
+
"name": "map",
|
738
|
+
"privacy": "private",
|
739
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"kind": "field",
|
743
|
+
"name": "lastError",
|
659
744
|
"type": {
|
660
|
-
"text": "
|
745
|
+
"text": "Error"
|
661
746
|
},
|
662
|
-
"description": "
|
747
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
663
748
|
},
|
664
749
|
{
|
665
|
-
"
|
750
|
+
"kind": "method",
|
751
|
+
"name": "set",
|
752
|
+
"return": {
|
753
|
+
"type": {
|
754
|
+
"text": "void"
|
755
|
+
}
|
756
|
+
},
|
757
|
+
"parameters": [
|
758
|
+
{
|
759
|
+
"name": "key",
|
760
|
+
"type": {
|
761
|
+
"text": "keyof TErrorDetailMap"
|
762
|
+
}
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"name": "error",
|
766
|
+
"type": {
|
767
|
+
"text": "Error"
|
768
|
+
}
|
769
|
+
}
|
770
|
+
],
|
771
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"kind": "method",
|
775
|
+
"name": "get",
|
776
|
+
"return": {
|
777
|
+
"type": {
|
778
|
+
"text": ""
|
779
|
+
}
|
780
|
+
},
|
781
|
+
"parameters": [
|
782
|
+
{
|
783
|
+
"name": "key",
|
784
|
+
"type": {
|
785
|
+
"text": "keyof TErrorDetailMap"
|
786
|
+
},
|
787
|
+
"description": "The key."
|
788
|
+
}
|
789
|
+
],
|
790
|
+
"description": "Get an error by key.",
|
791
|
+
"privacy": "public"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"kind": "method",
|
795
|
+
"name": "has",
|
796
|
+
"return": {
|
797
|
+
"type": {
|
798
|
+
"text": ""
|
799
|
+
}
|
800
|
+
},
|
801
|
+
"parameters": [
|
802
|
+
{
|
803
|
+
"name": "key",
|
804
|
+
"type": {
|
805
|
+
"text": "keyof TErrorDetailMap"
|
806
|
+
},
|
807
|
+
"description": "The key."
|
808
|
+
}
|
809
|
+
],
|
810
|
+
"description": "Has an error for key.",
|
811
|
+
"privacy": "public"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"kind": "method",
|
815
|
+
"name": "delete",
|
816
|
+
"return": {
|
817
|
+
"type": {
|
818
|
+
"text": ""
|
819
|
+
}
|
820
|
+
},
|
821
|
+
"parameters": [
|
822
|
+
{
|
823
|
+
"name": "key",
|
824
|
+
"type": {
|
825
|
+
"text": "keyof TErrorDetailMap"
|
826
|
+
},
|
827
|
+
"description": "The key."
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"description": "Delete an error.",
|
831
|
+
"privacy": "public"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"kind": "method",
|
835
|
+
"name": "clear",
|
836
|
+
"description": "Clear errors.",
|
837
|
+
"privacy": "public"
|
838
|
+
},
|
839
|
+
{
|
840
|
+
"kind": "field",
|
841
|
+
"name": "size",
|
842
|
+
"type": {
|
843
|
+
"text": "number"
|
844
|
+
},
|
845
|
+
"description": "The size of the error map.",
|
846
|
+
"return": {
|
847
|
+
"type": {
|
848
|
+
"text": ""
|
849
|
+
}
|
850
|
+
},
|
851
|
+
"privacy": "public",
|
852
|
+
"readonly": true
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"kind": "method",
|
856
|
+
"name": "values",
|
857
|
+
"privacy": "public"
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"kind": "field",
|
861
|
+
"name": "messages",
|
666
862
|
"type": {
|
667
863
|
"text": "string"
|
668
864
|
},
|
669
|
-
"description": "
|
865
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
866
|
+
"readonly": true
|
867
|
+
}
|
868
|
+
]
|
869
|
+
},
|
870
|
+
{
|
871
|
+
"kind": "function",
|
872
|
+
"name": "createErrorMap",
|
873
|
+
"return": {
|
874
|
+
"type": {
|
875
|
+
"text": ""
|
876
|
+
}
|
877
|
+
},
|
878
|
+
"parameters": [
|
879
|
+
{
|
880
|
+
"name": "logger",
|
881
|
+
"type": {
|
882
|
+
"text": "ErrorMapLogger"
|
883
|
+
},
|
884
|
+
"description": "A logger error method reference."
|
670
885
|
}
|
671
886
|
],
|
672
|
-
"description": "
|
887
|
+
"description": "A factory to create the error map.",
|
673
888
|
"privacy": "public"
|
674
889
|
}
|
675
|
-
],
|
890
|
+
],
|
891
|
+
"exports": [
|
892
|
+
{
|
893
|
+
"kind": "js",
|
894
|
+
"name": "DefaultErrorMap",
|
895
|
+
"declaration": {
|
896
|
+
"name": "DefaultErrorMap",
|
897
|
+
"module": "src/error/errorMap.ts"
|
898
|
+
}
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"kind": "js",
|
902
|
+
"name": "createErrorMap",
|
903
|
+
"declaration": {
|
904
|
+
"name": "createErrorMap",
|
905
|
+
"module": "src/error/errorMap.ts"
|
906
|
+
}
|
907
|
+
}
|
908
|
+
]
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"kind": "javascript-module",
|
912
|
+
"path": "src/error/index.ts",
|
913
|
+
"declarations": [],
|
676
914
|
"exports": [
|
677
915
|
{
|
678
916
|
"kind": "js",
|
679
|
-
"name": "
|
917
|
+
"name": "*",
|
680
918
|
"declaration": {
|
681
|
-
"name": "
|
682
|
-
"
|
919
|
+
"name": "*",
|
920
|
+
"package": "./errorMap"
|
683
921
|
}
|
684
922
|
}
|
685
923
|
]
|
@@ -969,244 +1207,6 @@
|
|
969
1207
|
}
|
970
1208
|
]
|
971
1209
|
},
|
972
|
-
{
|
973
|
-
"kind": "javascript-module",
|
974
|
-
"path": "src/env/index.ts",
|
975
|
-
"declarations": [],
|
976
|
-
"exports": [
|
977
|
-
{
|
978
|
-
"kind": "js",
|
979
|
-
"name": "*",
|
980
|
-
"declaration": {
|
981
|
-
"name": "*",
|
982
|
-
"package": "./is-dev"
|
983
|
-
}
|
984
|
-
},
|
985
|
-
{
|
986
|
-
"kind": "js",
|
987
|
-
"name": "*",
|
988
|
-
"declaration": {
|
989
|
-
"name": "*",
|
990
|
-
"package": "./variables"
|
991
|
-
}
|
992
|
-
}
|
993
|
-
]
|
994
|
-
},
|
995
|
-
{
|
996
|
-
"kind": "javascript-module",
|
997
|
-
"path": "src/env/is-dev.ts",
|
998
|
-
"declarations": [
|
999
|
-
{
|
1000
|
-
"kind": "function",
|
1001
|
-
"name": "isDev",
|
1002
|
-
"description": "Determines if the current environment is a development environment.",
|
1003
|
-
"privacy": "public"
|
1004
|
-
}
|
1005
|
-
],
|
1006
|
-
"exports": [
|
1007
|
-
{
|
1008
|
-
"kind": "js",
|
1009
|
-
"name": "isDev",
|
1010
|
-
"declaration": {
|
1011
|
-
"name": "isDev",
|
1012
|
-
"module": "src/env/is-dev.ts"
|
1013
|
-
}
|
1014
|
-
}
|
1015
|
-
]
|
1016
|
-
},
|
1017
|
-
{
|
1018
|
-
"kind": "javascript-module",
|
1019
|
-
"path": "src/env/variables.ts",
|
1020
|
-
"declarations": [
|
1021
|
-
{
|
1022
|
-
"kind": "variable",
|
1023
|
-
"name": "SOCKET_EXT",
|
1024
|
-
"type": {
|
1025
|
-
"text": "string"
|
1026
|
-
}
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"kind": "variable",
|
1030
|
-
"name": "_SOCKET_EXT",
|
1031
|
-
"type": {
|
1032
|
-
"text": "string"
|
1033
|
-
},
|
1034
|
-
"default": "'gwf'",
|
1035
|
-
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
1036
|
-
"privacy": "public"
|
1037
|
-
},
|
1038
|
-
{
|
1039
|
-
"kind": "variable",
|
1040
|
-
"name": "FORCE_HTTP",
|
1041
|
-
"type": {
|
1042
|
-
"text": "string"
|
1043
|
-
}
|
1044
|
-
},
|
1045
|
-
{
|
1046
|
-
"kind": "variable",
|
1047
|
-
"name": "_FORCE_HTTP",
|
1048
|
-
"type": {
|
1049
|
-
"text": "string"
|
1050
|
-
},
|
1051
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
1052
|
-
"privacy": "public"
|
1053
|
-
},
|
1054
|
-
{
|
1055
|
-
"kind": "variable",
|
1056
|
-
"name": "GENESIS_SOCKET_URL",
|
1057
|
-
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
1058
|
-
"description": "Genesis Socket URL",
|
1059
|
-
"privacy": "public"
|
1060
|
-
},
|
1061
|
-
{
|
1062
|
-
"kind": "variable",
|
1063
|
-
"name": "API_HOST",
|
1064
|
-
"type": {
|
1065
|
-
"text": "string"
|
1066
|
-
}
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"kind": "variable",
|
1070
|
-
"name": "_API_HOST",
|
1071
|
-
"type": {
|
1072
|
-
"text": "string"
|
1073
|
-
},
|
1074
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
1075
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
1076
|
-
"privacy": "public"
|
1077
|
-
},
|
1078
|
-
{
|
1079
|
-
"kind": "variable",
|
1080
|
-
"name": "HTTP_CONFIG",
|
1081
|
-
"type": {
|
1082
|
-
"text": "string"
|
1083
|
-
}
|
1084
|
-
},
|
1085
|
-
{
|
1086
|
-
"kind": "variable",
|
1087
|
-
"name": "_HTTP_CONFIG",
|
1088
|
-
"type": {
|
1089
|
-
"text": "string"
|
1090
|
-
},
|
1091
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
1092
|
-
"privacy": "public"
|
1093
|
-
},
|
1094
|
-
{
|
1095
|
-
"kind": "variable",
|
1096
|
-
"name": "DEFAULT_ORGANISATION",
|
1097
|
-
"type": {
|
1098
|
-
"text": "string"
|
1099
|
-
}
|
1100
|
-
},
|
1101
|
-
{
|
1102
|
-
"kind": "variable",
|
1103
|
-
"name": "_DEFAULT_ORGANISATION",
|
1104
|
-
"type": {
|
1105
|
-
"text": "string"
|
1106
|
-
},
|
1107
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1108
|
-
"privacy": "public"
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"kind": "variable",
|
1112
|
-
"name": "DEFAULT_PASSWORD",
|
1113
|
-
"type": {
|
1114
|
-
"text": "string"
|
1115
|
-
}
|
1116
|
-
},
|
1117
|
-
{
|
1118
|
-
"kind": "variable",
|
1119
|
-
"name": "_DEFAULT_PASSWORD",
|
1120
|
-
"type": {
|
1121
|
-
"text": "string"
|
1122
|
-
},
|
1123
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1124
|
-
"privacy": "public"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"kind": "variable",
|
1128
|
-
"name": "DEFAULT_USER",
|
1129
|
-
"type": {
|
1130
|
-
"text": "string"
|
1131
|
-
}
|
1132
|
-
},
|
1133
|
-
{
|
1134
|
-
"kind": "variable",
|
1135
|
-
"name": "_DEFAULT_USER",
|
1136
|
-
"type": {
|
1137
|
-
"text": "string"
|
1138
|
-
},
|
1139
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
1140
|
-
"privacy": "public"
|
1141
|
-
}
|
1142
|
-
],
|
1143
|
-
"exports": [
|
1144
|
-
{
|
1145
|
-
"kind": "js",
|
1146
|
-
"name": "SOCKET_EXT",
|
1147
|
-
"declaration": {
|
1148
|
-
"name": "_SOCKET_EXT",
|
1149
|
-
"module": "src/env/variables.ts"
|
1150
|
-
}
|
1151
|
-
},
|
1152
|
-
{
|
1153
|
-
"kind": "js",
|
1154
|
-
"name": "FORCE_HTTP",
|
1155
|
-
"declaration": {
|
1156
|
-
"name": "_FORCE_HTTP",
|
1157
|
-
"module": "src/env/variables.ts"
|
1158
|
-
}
|
1159
|
-
},
|
1160
|
-
{
|
1161
|
-
"kind": "js",
|
1162
|
-
"name": "GENESIS_SOCKET_URL",
|
1163
|
-
"declaration": {
|
1164
|
-
"name": "GENESIS_SOCKET_URL",
|
1165
|
-
"module": "src/env/variables.ts"
|
1166
|
-
}
|
1167
|
-
},
|
1168
|
-
{
|
1169
|
-
"kind": "js",
|
1170
|
-
"name": "API_HOST",
|
1171
|
-
"declaration": {
|
1172
|
-
"name": "_API_HOST",
|
1173
|
-
"module": "src/env/variables.ts"
|
1174
|
-
}
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"kind": "js",
|
1178
|
-
"name": "HTTP_CONFIG",
|
1179
|
-
"declaration": {
|
1180
|
-
"name": "_HTTP_CONFIG",
|
1181
|
-
"module": "src/env/variables.ts"
|
1182
|
-
}
|
1183
|
-
},
|
1184
|
-
{
|
1185
|
-
"kind": "js",
|
1186
|
-
"name": "DEFAULT_ORGANISATION",
|
1187
|
-
"declaration": {
|
1188
|
-
"name": "_DEFAULT_ORGANISATION",
|
1189
|
-
"module": "src/env/variables.ts"
|
1190
|
-
}
|
1191
|
-
},
|
1192
|
-
{
|
1193
|
-
"kind": "js",
|
1194
|
-
"name": "DEFAULT_PASSWORD",
|
1195
|
-
"declaration": {
|
1196
|
-
"name": "_DEFAULT_PASSWORD",
|
1197
|
-
"module": "src/env/variables.ts"
|
1198
|
-
}
|
1199
|
-
},
|
1200
|
-
{
|
1201
|
-
"kind": "js",
|
1202
|
-
"name": "DEFAULT_USER",
|
1203
|
-
"declaration": {
|
1204
|
-
"name": "_DEFAULT_USER",
|
1205
|
-
"module": "src/env/variables.ts"
|
1206
|
-
}
|
1207
|
-
}
|
1208
|
-
]
|
1209
|
-
},
|
1210
1210
|
{
|
1211
1211
|
"kind": "javascript-module",
|
1212
1212
|
"path": "src/logger/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.225.
|
4
|
+
"version": "14.225.2-alpha-968f711.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.225.
|
31
|
-
"@genesislcap/genx": "14.225.
|
32
|
-
"@genesislcap/rollup-builder": "14.225.
|
33
|
-
"@genesislcap/ts-builder": "14.225.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.225.
|
35
|
-
"@genesislcap/vite-builder": "14.225.
|
36
|
-
"@genesislcap/webpack-builder": "14.225.
|
30
|
+
"@genesislcap/foundation-testing": "14.225.2-alpha-968f711.0",
|
31
|
+
"@genesislcap/genx": "14.225.2-alpha-968f711.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.225.2-alpha-968f711.0",
|
33
|
+
"@genesislcap/ts-builder": "14.225.2-alpha-968f711.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.225.2-alpha-968f711.0",
|
35
|
+
"@genesislcap/vite-builder": "14.225.2-alpha-968f711.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.225.2-alpha-968f711.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.225.
|
40
|
+
"@genesislcap/foundation-logger": "14.225.2-alpha-968f711.0",
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "2e163db0a3535db6a246596f532170b8f497c93a"
|
59
59
|
}
|