@genesislcap/foundation-utils 14.225.1 → 14.225.2-alpha-a51f60c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +531 -531
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +51 -29
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +45 -29
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +1109 -270
- package/dist/foundation-utils.d.ts +93 -58
- package/docs/api/foundation-utils.createerrormap.md +14 -1
- package/docs/api/foundation-utils.createobserver.md +5 -1
- package/docs/api/foundation-utils.getfontmixin.md +16 -1
- package/docs/api/foundation-utils.iniframe.md +7 -1
- package/docs/api/foundation-utils.insertdocumentcssrule.md +15 -1
- package/docs/api/foundation-utils.insertdocumentlink.md +12 -1
- package/docs/api/foundation-utils.insymphonydesktop.md +7 -1
- package/docs/api/foundation-utils.isdev.md +5 -1
- package/docs/api/foundation-utils.lifecyclemixin.md +56 -30
- package/docs/api/foundation-utils.loadfontfaces.md +13 -1
- package/docs/api/foundation-utils.md +14 -14
- package/docs/api/foundation-utils.openpopup.md +17 -1
- package/docs/api/foundation-utils.pendingstate.md +57 -30
- package/docs/api/foundation-utils.resolveafter.md +12 -1
- package/docs/api/foundation-utils.respondtovisibility.md +13 -1
- package/docs/{api-report.md → api-report.md.api.md} +93 -58
- package/package.json +11 -11
@@ -163,264 +163,293 @@
|
|
163
163
|
},
|
164
164
|
{
|
165
165
|
"kind": "javascript-module",
|
166
|
-
"path": "src/
|
167
|
-
"declarations": [],
|
168
|
-
"exports": [
|
169
|
-
{
|
170
|
-
"kind": "js",
|
171
|
-
"name": "*",
|
172
|
-
"declaration": {
|
173
|
-
"name": "*",
|
174
|
-
"package": "./sync"
|
175
|
-
}
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"kind": "js",
|
179
|
-
"name": "*",
|
180
|
-
"declaration": {
|
181
|
-
"name": "*",
|
182
|
-
"package": "./when-else"
|
183
|
-
}
|
184
|
-
}
|
185
|
-
]
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"kind": "javascript-module",
|
189
|
-
"path": "src/design-system/design-system.ts",
|
190
|
-
"declarations": [
|
191
|
-
{
|
192
|
-
"kind": "function",
|
193
|
-
"name": "assureDesignSystem",
|
194
|
-
"return": {
|
195
|
-
"type": {
|
196
|
-
"text": "DesignSystemModule"
|
197
|
-
}
|
198
|
-
},
|
199
|
-
"parameters": [
|
200
|
-
{
|
201
|
-
"name": "module",
|
202
|
-
"type": {
|
203
|
-
"text": "DesignSystemModule"
|
204
|
-
}
|
205
|
-
}
|
206
|
-
],
|
207
|
-
"description": "assureDesignSystem.",
|
208
|
-
"privacy": "public"
|
209
|
-
}
|
210
|
-
],
|
211
|
-
"exports": [
|
212
|
-
{
|
213
|
-
"kind": "js",
|
214
|
-
"name": "assureDesignSystem",
|
215
|
-
"declaration": {
|
216
|
-
"name": "assureDesignSystem",
|
217
|
-
"module": "src/design-system/design-system.ts"
|
218
|
-
}
|
219
|
-
}
|
220
|
-
]
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"kind": "javascript-module",
|
224
|
-
"path": "src/design-system/index.ts",
|
225
|
-
"declarations": [],
|
226
|
-
"exports": [
|
227
|
-
{
|
228
|
-
"kind": "js",
|
229
|
-
"name": "*",
|
230
|
-
"declaration": {
|
231
|
-
"name": "*",
|
232
|
-
"package": "./design-system"
|
233
|
-
}
|
234
|
-
}
|
235
|
-
]
|
236
|
-
},
|
237
|
-
{
|
238
|
-
"kind": "javascript-module",
|
239
|
-
"path": "src/error/errorMap.ts",
|
166
|
+
"path": "src/data/inMemoryDatabase.ts",
|
240
167
|
"declarations": [
|
241
168
|
{
|
242
169
|
"kind": "class",
|
243
|
-
"description": "",
|
244
|
-
"name": "
|
170
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
171
|
+
"name": "InMemoryDatabase",
|
245
172
|
"members": [
|
246
173
|
{
|
247
174
|
"kind": "field",
|
248
|
-
"name": "
|
249
|
-
"
|
250
|
-
|
175
|
+
"name": "isWorking",
|
176
|
+
"type": {
|
177
|
+
"text": "boolean"
|
178
|
+
},
|
179
|
+
"privacy": "public",
|
180
|
+
"default": "false"
|
251
181
|
},
|
252
182
|
{
|
253
183
|
"kind": "field",
|
254
|
-
"name": "
|
184
|
+
"name": "records",
|
255
185
|
"type": {
|
256
|
-
"text": "
|
186
|
+
"text": "Record<string, T>"
|
257
187
|
},
|
258
|
-
"
|
188
|
+
"privacy": "private",
|
189
|
+
"default": "{}"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"kind": "field",
|
193
|
+
"name": "beforeUpdateListeners",
|
194
|
+
"privacy": "private"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"kind": "field",
|
198
|
+
"name": "afterUpdateListeners",
|
199
|
+
"privacy": "private"
|
259
200
|
},
|
260
201
|
{
|
261
202
|
"kind": "method",
|
262
|
-
"name": "
|
203
|
+
"name": "create",
|
204
|
+
"privacy": "public",
|
263
205
|
"return": {
|
264
206
|
"type": {
|
265
|
-
"text": "
|
207
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
266
208
|
}
|
267
209
|
},
|
268
210
|
"parameters": [
|
269
211
|
{
|
270
|
-
"name": "
|
271
|
-
"type": {
|
272
|
-
"text": "keyof TErrorDetailMap"
|
273
|
-
}
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"name": "error",
|
212
|
+
"name": "newValue",
|
277
213
|
"type": {
|
278
|
-
"text": "
|
214
|
+
"text": "Omit<T, 'id'>"
|
279
215
|
}
|
280
216
|
}
|
281
|
-
]
|
282
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
217
|
+
]
|
283
218
|
},
|
284
219
|
{
|
285
220
|
"kind": "method",
|
286
|
-
"name": "
|
221
|
+
"name": "read",
|
222
|
+
"privacy": "public",
|
287
223
|
"return": {
|
288
224
|
"type": {
|
289
|
-
"text": ""
|
225
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
290
226
|
}
|
291
227
|
},
|
292
228
|
"parameters": [
|
293
229
|
{
|
294
|
-
"name": "
|
230
|
+
"name": "id",
|
295
231
|
"type": {
|
296
|
-
"text": "
|
297
|
-
}
|
298
|
-
"description": "The key."
|
232
|
+
"text": "string"
|
233
|
+
}
|
299
234
|
}
|
300
|
-
]
|
301
|
-
"description": "Get an error by key.",
|
302
|
-
"privacy": "public"
|
235
|
+
]
|
303
236
|
},
|
304
237
|
{
|
305
238
|
"kind": "method",
|
306
|
-
"name": "
|
239
|
+
"name": "update",
|
240
|
+
"privacy": "public",
|
307
241
|
"return": {
|
308
242
|
"type": {
|
309
|
-
"text": ""
|
243
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
310
244
|
}
|
311
245
|
},
|
312
246
|
"parameters": [
|
313
247
|
{
|
314
|
-
"name": "
|
248
|
+
"name": "id",
|
315
249
|
"type": {
|
316
|
-
"text": "
|
317
|
-
}
|
318
|
-
|
250
|
+
"text": "string"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"name": "newValue",
|
255
|
+
"type": {
|
256
|
+
"text": "Omit<Partial<T>, 'id'>"
|
257
|
+
}
|
319
258
|
}
|
320
|
-
]
|
321
|
-
"description": "Has an error for key.",
|
322
|
-
"privacy": "public"
|
259
|
+
]
|
323
260
|
},
|
324
261
|
{
|
325
262
|
"kind": "method",
|
326
263
|
"name": "delete",
|
264
|
+
"privacy": "public",
|
327
265
|
"return": {
|
328
266
|
"type": {
|
329
|
-
"text": ""
|
267
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
330
268
|
}
|
331
269
|
},
|
332
270
|
"parameters": [
|
333
271
|
{
|
334
|
-
"name": "
|
272
|
+
"name": "id",
|
335
273
|
"type": {
|
336
|
-
"text": "
|
337
|
-
}
|
338
|
-
"description": "The key."
|
274
|
+
"text": "string"
|
275
|
+
}
|
339
276
|
}
|
340
|
-
]
|
341
|
-
"description": "Delete an error.",
|
342
|
-
"privacy": "public"
|
277
|
+
]
|
343
278
|
},
|
344
279
|
{
|
345
280
|
"kind": "method",
|
346
|
-
"name": "
|
347
|
-
"
|
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.",
|
281
|
+
"name": "visit",
|
282
|
+
"privacy": "public",
|
357
283
|
"return": {
|
358
284
|
"type": {
|
359
|
-
"text": ""
|
285
|
+
"text": "Promise<void>"
|
360
286
|
}
|
361
287
|
},
|
362
|
-
"
|
363
|
-
|
288
|
+
"parameters": [
|
289
|
+
{
|
290
|
+
"name": "visitor",
|
291
|
+
"type": {
|
292
|
+
"text": "(record: T) => void"
|
293
|
+
}
|
294
|
+
}
|
295
|
+
]
|
364
296
|
},
|
365
297
|
{
|
366
298
|
"kind": "method",
|
367
|
-
"name": "
|
368
|
-
"privacy": "public"
|
299
|
+
"name": "onBeforeUpdate",
|
300
|
+
"privacy": "public",
|
301
|
+
"return": {
|
302
|
+
"type": {
|
303
|
+
"text": "() => void"
|
304
|
+
}
|
305
|
+
},
|
306
|
+
"parameters": [
|
307
|
+
{
|
308
|
+
"name": "listener",
|
309
|
+
"type": {
|
310
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
311
|
+
}
|
312
|
+
}
|
313
|
+
]
|
369
314
|
},
|
370
315
|
{
|
371
|
-
"kind": "
|
372
|
-
"name": "
|
373
|
-
"
|
374
|
-
|
316
|
+
"kind": "method",
|
317
|
+
"name": "onAfterUpdate",
|
318
|
+
"privacy": "public",
|
319
|
+
"return": {
|
320
|
+
"type": {
|
321
|
+
"text": "() => void"
|
322
|
+
}
|
375
323
|
},
|
376
|
-
"
|
377
|
-
|
324
|
+
"parameters": [
|
325
|
+
{
|
326
|
+
"name": "listener",
|
327
|
+
"type": {
|
328
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
]
|
378
332
|
}
|
379
333
|
]
|
380
|
-
}
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"exports": [
|
381
337
|
{
|
382
|
-
"kind": "
|
383
|
-
"name": "
|
384
|
-
"
|
385
|
-
"
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
338
|
+
"kind": "js",
|
339
|
+
"name": "InMemoryDatabase",
|
340
|
+
"declaration": {
|
341
|
+
"name": "InMemoryDatabase",
|
342
|
+
"module": "src/data/inMemoryDatabase.ts"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
]
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"kind": "javascript-module",
|
349
|
+
"path": "src/data/index.ts",
|
350
|
+
"declarations": [],
|
351
|
+
"exports": [
|
352
|
+
{
|
353
|
+
"kind": "js",
|
354
|
+
"name": "*",
|
355
|
+
"declaration": {
|
356
|
+
"name": "*",
|
357
|
+
"package": "./inMemoryDatabase"
|
358
|
+
}
|
359
|
+
}
|
360
|
+
]
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"kind": "javascript-module",
|
364
|
+
"path": "src/decorators/index.ts",
|
365
|
+
"declarations": [],
|
366
|
+
"exports": [
|
367
|
+
{
|
368
|
+
"kind": "js",
|
369
|
+
"name": "*",
|
370
|
+
"declaration": {
|
371
|
+
"name": "*",
|
372
|
+
"package": "./renderOnChange"
|
373
|
+
}
|
374
|
+
}
|
375
|
+
]
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"kind": "javascript-module",
|
379
|
+
"path": "src/decorators/renderOnChange.ts",
|
380
|
+
"declarations": [
|
381
|
+
{
|
382
|
+
"kind": "function",
|
383
|
+
"name": "renderOnChange",
|
384
|
+
"parameters": [
|
385
|
+
{
|
386
|
+
"name": "target",
|
387
|
+
"type": {
|
388
|
+
"text": "FASTElement & { render(): void }"
|
389
|
+
},
|
390
|
+
"description": "The target to define the property change handler on."
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"name": "name",
|
394
|
+
"type": {
|
395
|
+
"text": "string"
|
396
|
+
},
|
397
|
+
"description": "The property name."
|
396
398
|
}
|
397
399
|
],
|
398
|
-
"description": "
|
400
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
399
401
|
"privacy": "public"
|
400
402
|
}
|
401
403
|
],
|
402
404
|
"exports": [
|
403
405
|
{
|
404
406
|
"kind": "js",
|
405
|
-
"name": "
|
407
|
+
"name": "renderOnChange",
|
406
408
|
"declaration": {
|
407
|
-
"name": "
|
408
|
-
"module": "src/
|
409
|
+
"name": "renderOnChange",
|
410
|
+
"module": "src/decorators/renderOnChange.ts"
|
409
411
|
}
|
410
|
-
}
|
412
|
+
}
|
413
|
+
]
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"kind": "javascript-module",
|
417
|
+
"path": "src/design-system/design-system.ts",
|
418
|
+
"declarations": [
|
419
|
+
{
|
420
|
+
"kind": "function",
|
421
|
+
"name": "assureDesignSystem",
|
422
|
+
"return": {
|
423
|
+
"type": {
|
424
|
+
"text": "DesignSystemModule"
|
425
|
+
}
|
426
|
+
},
|
427
|
+
"parameters": [
|
428
|
+
{
|
429
|
+
"name": "module",
|
430
|
+
"type": {
|
431
|
+
"text": "DesignSystemModule"
|
432
|
+
}
|
433
|
+
}
|
434
|
+
],
|
435
|
+
"description": "assureDesignSystem.",
|
436
|
+
"privacy": "public"
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"exports": [
|
411
440
|
{
|
412
441
|
"kind": "js",
|
413
|
-
"name": "
|
442
|
+
"name": "assureDesignSystem",
|
414
443
|
"declaration": {
|
415
|
-
"name": "
|
416
|
-
"module": "src/
|
444
|
+
"name": "assureDesignSystem",
|
445
|
+
"module": "src/design-system/design-system.ts"
|
417
446
|
}
|
418
447
|
}
|
419
448
|
]
|
420
449
|
},
|
421
450
|
{
|
422
451
|
"kind": "javascript-module",
|
423
|
-
"path": "src/
|
452
|
+
"path": "src/design-system/index.ts",
|
424
453
|
"declarations": [],
|
425
454
|
"exports": [
|
426
455
|
{
|
@@ -428,197 +457,221 @@
|
|
428
457
|
"name": "*",
|
429
458
|
"declaration": {
|
430
459
|
"name": "*",
|
431
|
-
"package": "./
|
460
|
+
"package": "./design-system"
|
432
461
|
}
|
433
462
|
}
|
434
463
|
]
|
435
464
|
},
|
436
465
|
{
|
437
466
|
"kind": "javascript-module",
|
438
|
-
"path": "src/
|
467
|
+
"path": "src/directives/index.ts",
|
468
|
+
"declarations": [],
|
469
|
+
"exports": [
|
470
|
+
{
|
471
|
+
"kind": "js",
|
472
|
+
"name": "*",
|
473
|
+
"declaration": {
|
474
|
+
"name": "*",
|
475
|
+
"package": "./sync"
|
476
|
+
}
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"kind": "js",
|
480
|
+
"name": "*",
|
481
|
+
"declaration": {
|
482
|
+
"name": "*",
|
483
|
+
"package": "./when-else"
|
484
|
+
}
|
485
|
+
}
|
486
|
+
]
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"kind": "javascript-module",
|
490
|
+
"path": "src/error/errorMap.ts",
|
439
491
|
"declarations": [
|
440
492
|
{
|
441
493
|
"kind": "class",
|
442
|
-
"description": "
|
443
|
-
"name": "
|
494
|
+
"description": "",
|
495
|
+
"name": "DefaultErrorMap",
|
444
496
|
"members": [
|
445
497
|
{
|
446
498
|
"kind": "field",
|
447
|
-
"name": "
|
448
|
-
"
|
449
|
-
|
450
|
-
},
|
451
|
-
"privacy": "public",
|
452
|
-
"default": "false"
|
499
|
+
"name": "map",
|
500
|
+
"privacy": "private",
|
501
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
453
502
|
},
|
454
503
|
{
|
455
504
|
"kind": "field",
|
456
|
-
"name": "
|
505
|
+
"name": "lastError",
|
457
506
|
"type": {
|
458
|
-
"text": "
|
507
|
+
"text": "Error"
|
459
508
|
},
|
460
|
-
"
|
461
|
-
"default": "{}"
|
462
|
-
},
|
463
|
-
{
|
464
|
-
"kind": "field",
|
465
|
-
"name": "beforeUpdateListeners",
|
466
|
-
"privacy": "private"
|
467
|
-
},
|
468
|
-
{
|
469
|
-
"kind": "field",
|
470
|
-
"name": "afterUpdateListeners",
|
471
|
-
"privacy": "private"
|
509
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
472
510
|
},
|
473
511
|
{
|
474
512
|
"kind": "method",
|
475
|
-
"name": "
|
476
|
-
"privacy": "public",
|
513
|
+
"name": "set",
|
477
514
|
"return": {
|
478
515
|
"type": {
|
479
|
-
"text": "
|
516
|
+
"text": "void"
|
480
517
|
}
|
481
518
|
},
|
482
519
|
"parameters": [
|
483
520
|
{
|
484
|
-
"name": "
|
521
|
+
"name": "key",
|
485
522
|
"type": {
|
486
|
-
"text": "
|
523
|
+
"text": "keyof TErrorDetailMap"
|
524
|
+
}
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"name": "error",
|
528
|
+
"type": {
|
529
|
+
"text": "Error"
|
487
530
|
}
|
488
531
|
}
|
489
|
-
]
|
532
|
+
],
|
533
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
490
534
|
},
|
491
535
|
{
|
492
536
|
"kind": "method",
|
493
|
-
"name": "
|
494
|
-
"privacy": "public",
|
537
|
+
"name": "get",
|
495
538
|
"return": {
|
496
539
|
"type": {
|
497
|
-
"text": "
|
540
|
+
"text": ""
|
498
541
|
}
|
499
542
|
},
|
500
543
|
"parameters": [
|
501
544
|
{
|
502
|
-
"name": "
|
545
|
+
"name": "key",
|
503
546
|
"type": {
|
504
|
-
"text": "
|
505
|
-
}
|
547
|
+
"text": "keyof TErrorDetailMap"
|
548
|
+
},
|
549
|
+
"description": "The key."
|
506
550
|
}
|
507
|
-
]
|
551
|
+
],
|
552
|
+
"description": "Get an error by key.",
|
553
|
+
"privacy": "public"
|
508
554
|
},
|
509
555
|
{
|
510
556
|
"kind": "method",
|
511
|
-
"name": "
|
512
|
-
"privacy": "public",
|
557
|
+
"name": "has",
|
513
558
|
"return": {
|
514
559
|
"type": {
|
515
|
-
"text": "
|
560
|
+
"text": ""
|
516
561
|
}
|
517
562
|
},
|
518
563
|
"parameters": [
|
519
564
|
{
|
520
|
-
"name": "
|
521
|
-
"type": {
|
522
|
-
"text": "string"
|
523
|
-
}
|
524
|
-
},
|
525
|
-
{
|
526
|
-
"name": "newValue",
|
565
|
+
"name": "key",
|
527
566
|
"type": {
|
528
|
-
"text": "
|
529
|
-
}
|
567
|
+
"text": "keyof TErrorDetailMap"
|
568
|
+
},
|
569
|
+
"description": "The key."
|
530
570
|
}
|
531
|
-
]
|
571
|
+
],
|
572
|
+
"description": "Has an error for key.",
|
573
|
+
"privacy": "public"
|
532
574
|
},
|
533
575
|
{
|
534
576
|
"kind": "method",
|
535
577
|
"name": "delete",
|
536
|
-
"privacy": "public",
|
537
578
|
"return": {
|
538
579
|
"type": {
|
539
|
-
"text": "
|
580
|
+
"text": ""
|
540
581
|
}
|
541
582
|
},
|
542
583
|
"parameters": [
|
543
584
|
{
|
544
|
-
"name": "
|
585
|
+
"name": "key",
|
545
586
|
"type": {
|
546
|
-
"text": "
|
547
|
-
}
|
587
|
+
"text": "keyof TErrorDetailMap"
|
588
|
+
},
|
589
|
+
"description": "The key."
|
548
590
|
}
|
549
|
-
]
|
591
|
+
],
|
592
|
+
"description": "Delete an error.",
|
593
|
+
"privacy": "public"
|
550
594
|
},
|
551
595
|
{
|
552
596
|
"kind": "method",
|
553
|
-
"name": "
|
554
|
-
"
|
597
|
+
"name": "clear",
|
598
|
+
"description": "Clear errors.",
|
599
|
+
"privacy": "public"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"kind": "field",
|
603
|
+
"name": "size",
|
604
|
+
"type": {
|
605
|
+
"text": "number"
|
606
|
+
},
|
607
|
+
"description": "The size of the error map.",
|
555
608
|
"return": {
|
556
609
|
"type": {
|
557
|
-
"text": "
|
610
|
+
"text": ""
|
558
611
|
}
|
559
612
|
},
|
560
|
-
"parameters": [
|
561
|
-
{
|
562
|
-
"name": "visitor",
|
563
|
-
"type": {
|
564
|
-
"text": "(record: T) => void"
|
565
|
-
}
|
566
|
-
}
|
567
|
-
]
|
568
|
-
},
|
569
|
-
{
|
570
|
-
"kind": "method",
|
571
|
-
"name": "onBeforeUpdate",
|
572
613
|
"privacy": "public",
|
573
|
-
"
|
574
|
-
"type": {
|
575
|
-
"text": "() => void"
|
576
|
-
}
|
577
|
-
},
|
578
|
-
"parameters": [
|
579
|
-
{
|
580
|
-
"name": "listener",
|
581
|
-
"type": {
|
582
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
583
|
-
}
|
584
|
-
}
|
585
|
-
]
|
614
|
+
"readonly": true
|
586
615
|
},
|
587
616
|
{
|
588
617
|
"kind": "method",
|
589
|
-
"name": "
|
590
|
-
"privacy": "public"
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
618
|
+
"name": "values",
|
619
|
+
"privacy": "public"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"kind": "field",
|
623
|
+
"name": "messages",
|
624
|
+
"type": {
|
625
|
+
"text": "string"
|
595
626
|
},
|
596
|
-
"
|
597
|
-
|
598
|
-
"name": "listener",
|
599
|
-
"type": {
|
600
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
601
|
-
}
|
602
|
-
}
|
603
|
-
]
|
627
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
628
|
+
"readonly": true
|
604
629
|
}
|
605
630
|
]
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"kind": "function",
|
634
|
+
"name": "createErrorMap",
|
635
|
+
"return": {
|
636
|
+
"type": {
|
637
|
+
"text": ""
|
638
|
+
}
|
639
|
+
},
|
640
|
+
"parameters": [
|
641
|
+
{
|
642
|
+
"name": "logger",
|
643
|
+
"type": {
|
644
|
+
"text": "ErrorMapLogger"
|
645
|
+
},
|
646
|
+
"description": "A logger error method reference."
|
647
|
+
}
|
648
|
+
],
|
649
|
+
"description": "A factory to create the error map.",
|
650
|
+
"privacy": "public"
|
606
651
|
}
|
607
652
|
],
|
608
653
|
"exports": [
|
609
654
|
{
|
610
655
|
"kind": "js",
|
611
|
-
"name": "
|
656
|
+
"name": "DefaultErrorMap",
|
612
657
|
"declaration": {
|
613
|
-
"name": "
|
614
|
-
"module": "src/
|
658
|
+
"name": "DefaultErrorMap",
|
659
|
+
"module": "src/error/errorMap.ts"
|
660
|
+
}
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"kind": "js",
|
664
|
+
"name": "createErrorMap",
|
665
|
+
"declaration": {
|
666
|
+
"name": "createErrorMap",
|
667
|
+
"module": "src/error/errorMap.ts"
|
615
668
|
}
|
616
669
|
}
|
617
670
|
]
|
618
671
|
},
|
619
672
|
{
|
620
673
|
"kind": "javascript-module",
|
621
|
-
"path": "src/
|
674
|
+
"path": "src/error/index.ts",
|
622
675
|
"declarations": [],
|
623
676
|
"exports": [
|
624
677
|
{
|
@@ -626,14 +679,14 @@
|
|
626
679
|
"name": "*",
|
627
680
|
"declaration": {
|
628
681
|
"name": "*",
|
629
|
-
"package": "./
|
682
|
+
"package": "./errorMap"
|
630
683
|
}
|
631
684
|
}
|
632
685
|
]
|
633
686
|
},
|
634
687
|
{
|
635
688
|
"kind": "javascript-module",
|
636
|
-
"path": "src/
|
689
|
+
"path": "src/env/index.ts",
|
637
690
|
"declarations": [],
|
638
691
|
"exports": [
|
639
692
|
{
|
@@ -641,45 +694,230 @@
|
|
641
694
|
"name": "*",
|
642
695
|
"declaration": {
|
643
696
|
"name": "*",
|
644
|
-
"package": "./
|
697
|
+
"package": "./is-dev"
|
698
|
+
}
|
699
|
+
},
|
700
|
+
{
|
701
|
+
"kind": "js",
|
702
|
+
"name": "*",
|
703
|
+
"declaration": {
|
704
|
+
"name": "*",
|
705
|
+
"package": "./variables"
|
645
706
|
}
|
646
707
|
}
|
647
708
|
]
|
648
709
|
},
|
649
710
|
{
|
650
711
|
"kind": "javascript-module",
|
651
|
-
"path": "src/
|
712
|
+
"path": "src/env/is-dev.ts",
|
652
713
|
"declarations": [
|
653
714
|
{
|
654
715
|
"kind": "function",
|
655
|
-
"name": "
|
656
|
-
"
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
716
|
+
"name": "isDev",
|
717
|
+
"description": "Determines if the current environment is a development environment.",
|
718
|
+
"privacy": "public"
|
719
|
+
}
|
720
|
+
],
|
721
|
+
"exports": [
|
722
|
+
{
|
723
|
+
"kind": "js",
|
724
|
+
"name": "isDev",
|
725
|
+
"declaration": {
|
726
|
+
"name": "isDev",
|
727
|
+
"module": "src/env/is-dev.ts"
|
728
|
+
}
|
729
|
+
}
|
730
|
+
]
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"kind": "javascript-module",
|
734
|
+
"path": "src/env/variables.ts",
|
735
|
+
"declarations": [
|
736
|
+
{
|
737
|
+
"kind": "variable",
|
738
|
+
"name": "SOCKET_EXT",
|
739
|
+
"type": {
|
740
|
+
"text": "string"
|
741
|
+
}
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"kind": "variable",
|
745
|
+
"name": "_SOCKET_EXT",
|
746
|
+
"type": {
|
747
|
+
"text": "string"
|
748
|
+
},
|
749
|
+
"default": "'gwf'",
|
750
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
751
|
+
"privacy": "public"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"kind": "variable",
|
755
|
+
"name": "FORCE_HTTP",
|
756
|
+
"type": {
|
757
|
+
"text": "string"
|
758
|
+
}
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"kind": "variable",
|
762
|
+
"name": "_FORCE_HTTP",
|
763
|
+
"type": {
|
764
|
+
"text": "string"
|
765
|
+
},
|
766
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
767
|
+
"privacy": "public"
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"kind": "variable",
|
771
|
+
"name": "GENESIS_SOCKET_URL",
|
772
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
773
|
+
"description": "Genesis Socket URL",
|
774
|
+
"privacy": "public"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"kind": "variable",
|
778
|
+
"name": "API_HOST",
|
779
|
+
"type": {
|
780
|
+
"text": "string"
|
781
|
+
}
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"kind": "variable",
|
785
|
+
"name": "_API_HOST",
|
786
|
+
"type": {
|
787
|
+
"text": "string"
|
788
|
+
},
|
789
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
790
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
791
|
+
"privacy": "public"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"kind": "variable",
|
795
|
+
"name": "HTTP_CONFIG",
|
796
|
+
"type": {
|
797
|
+
"text": "string"
|
798
|
+
}
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"kind": "variable",
|
802
|
+
"name": "_HTTP_CONFIG",
|
803
|
+
"type": {
|
804
|
+
"text": "string"
|
805
|
+
},
|
806
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
807
|
+
"privacy": "public"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"kind": "variable",
|
811
|
+
"name": "DEFAULT_ORGANISATION",
|
812
|
+
"type": {
|
813
|
+
"text": "string"
|
814
|
+
}
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"kind": "variable",
|
818
|
+
"name": "_DEFAULT_ORGANISATION",
|
819
|
+
"type": {
|
820
|
+
"text": "string"
|
821
|
+
},
|
822
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
823
|
+
"privacy": "public"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"kind": "variable",
|
827
|
+
"name": "DEFAULT_PASSWORD",
|
828
|
+
"type": {
|
829
|
+
"text": "string"
|
830
|
+
}
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"kind": "variable",
|
834
|
+
"name": "_DEFAULT_PASSWORD",
|
835
|
+
"type": {
|
836
|
+
"text": "string"
|
837
|
+
},
|
838
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
839
|
+
"privacy": "public"
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"kind": "variable",
|
843
|
+
"name": "DEFAULT_USER",
|
844
|
+
"type": {
|
845
|
+
"text": "string"
|
846
|
+
}
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"kind": "variable",
|
850
|
+
"name": "_DEFAULT_USER",
|
851
|
+
"type": {
|
852
|
+
"text": "string"
|
853
|
+
},
|
854
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
673
855
|
"privacy": "public"
|
674
856
|
}
|
675
857
|
],
|
676
858
|
"exports": [
|
677
859
|
{
|
678
860
|
"kind": "js",
|
679
|
-
"name": "
|
861
|
+
"name": "SOCKET_EXT",
|
862
|
+
"declaration": {
|
863
|
+
"name": "_SOCKET_EXT",
|
864
|
+
"module": "src/env/variables.ts"
|
865
|
+
}
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"kind": "js",
|
869
|
+
"name": "FORCE_HTTP",
|
870
|
+
"declaration": {
|
871
|
+
"name": "_FORCE_HTTP",
|
872
|
+
"module": "src/env/variables.ts"
|
873
|
+
}
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"kind": "js",
|
877
|
+
"name": "GENESIS_SOCKET_URL",
|
878
|
+
"declaration": {
|
879
|
+
"name": "GENESIS_SOCKET_URL",
|
880
|
+
"module": "src/env/variables.ts"
|
881
|
+
}
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"kind": "js",
|
885
|
+
"name": "API_HOST",
|
886
|
+
"declaration": {
|
887
|
+
"name": "_API_HOST",
|
888
|
+
"module": "src/env/variables.ts"
|
889
|
+
}
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"kind": "js",
|
893
|
+
"name": "HTTP_CONFIG",
|
894
|
+
"declaration": {
|
895
|
+
"name": "_HTTP_CONFIG",
|
896
|
+
"module": "src/env/variables.ts"
|
897
|
+
}
|
898
|
+
},
|
899
|
+
{
|
900
|
+
"kind": "js",
|
901
|
+
"name": "DEFAULT_ORGANISATION",
|
902
|
+
"declaration": {
|
903
|
+
"name": "_DEFAULT_ORGANISATION",
|
904
|
+
"module": "src/env/variables.ts"
|
905
|
+
}
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"kind": "js",
|
909
|
+
"name": "DEFAULT_PASSWORD",
|
680
910
|
"declaration": {
|
681
|
-
"name": "
|
682
|
-
"module": "src/
|
911
|
+
"name": "_DEFAULT_PASSWORD",
|
912
|
+
"module": "src/env/variables.ts"
|
913
|
+
}
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"kind": "js",
|
917
|
+
"name": "DEFAULT_USER",
|
918
|
+
"declaration": {
|
919
|
+
"name": "_DEFAULT_USER",
|
920
|
+
"module": "src/env/variables.ts"
|
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",
|