@genesislcap/foundation-utils 14.229.0-RPT-20.1 → 14.230.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +560 -560
- package/package.json +10 -10
@@ -171,45 +171,240 @@
|
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"kind": "javascript-module",
|
174
|
-
"path": "src/
|
175
|
-
"declarations": [
|
174
|
+
"path": "src/data/inMemoryDatabase.ts",
|
175
|
+
"declarations": [
|
176
|
+
{
|
177
|
+
"kind": "class",
|
178
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
179
|
+
"name": "InMemoryDatabase",
|
180
|
+
"members": [
|
181
|
+
{
|
182
|
+
"kind": "field",
|
183
|
+
"name": "isWorking",
|
184
|
+
"type": {
|
185
|
+
"text": "boolean"
|
186
|
+
},
|
187
|
+
"privacy": "public",
|
188
|
+
"default": "false"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"kind": "field",
|
192
|
+
"name": "records",
|
193
|
+
"type": {
|
194
|
+
"text": "Record<string, T>"
|
195
|
+
},
|
196
|
+
"privacy": "private",
|
197
|
+
"default": "{}"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"kind": "field",
|
201
|
+
"name": "beforeUpdateListeners",
|
202
|
+
"privacy": "private"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"kind": "field",
|
206
|
+
"name": "afterUpdateListeners",
|
207
|
+
"privacy": "private"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"kind": "method",
|
211
|
+
"name": "create",
|
212
|
+
"privacy": "public",
|
213
|
+
"return": {
|
214
|
+
"type": {
|
215
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"parameters": [
|
219
|
+
{
|
220
|
+
"name": "newValue",
|
221
|
+
"type": {
|
222
|
+
"text": "Omit<T, 'id'>"
|
223
|
+
}
|
224
|
+
}
|
225
|
+
]
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"kind": "method",
|
229
|
+
"name": "read",
|
230
|
+
"privacy": "public",
|
231
|
+
"return": {
|
232
|
+
"type": {
|
233
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"parameters": [
|
237
|
+
{
|
238
|
+
"name": "id",
|
239
|
+
"type": {
|
240
|
+
"text": "string"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
]
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"kind": "method",
|
247
|
+
"name": "update",
|
248
|
+
"privacy": "public",
|
249
|
+
"return": {
|
250
|
+
"type": {
|
251
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
252
|
+
}
|
253
|
+
},
|
254
|
+
"parameters": [
|
255
|
+
{
|
256
|
+
"name": "id",
|
257
|
+
"type": {
|
258
|
+
"text": "string"
|
259
|
+
}
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"name": "newValue",
|
263
|
+
"type": {
|
264
|
+
"text": "Omit<Partial<T>, 'id'>"
|
265
|
+
}
|
266
|
+
}
|
267
|
+
]
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"kind": "method",
|
271
|
+
"name": "delete",
|
272
|
+
"privacy": "public",
|
273
|
+
"return": {
|
274
|
+
"type": {
|
275
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
276
|
+
}
|
277
|
+
},
|
278
|
+
"parameters": [
|
279
|
+
{
|
280
|
+
"name": "id",
|
281
|
+
"type": {
|
282
|
+
"text": "string"
|
283
|
+
}
|
284
|
+
}
|
285
|
+
]
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"kind": "method",
|
289
|
+
"name": "visit",
|
290
|
+
"privacy": "public",
|
291
|
+
"return": {
|
292
|
+
"type": {
|
293
|
+
"text": "Promise<void>"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"parameters": [
|
297
|
+
{
|
298
|
+
"name": "visitor",
|
299
|
+
"type": {
|
300
|
+
"text": "(record: T) => void"
|
301
|
+
}
|
302
|
+
}
|
303
|
+
]
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"kind": "method",
|
307
|
+
"name": "onBeforeUpdate",
|
308
|
+
"privacy": "public",
|
309
|
+
"return": {
|
310
|
+
"type": {
|
311
|
+
"text": "() => void"
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"parameters": [
|
315
|
+
{
|
316
|
+
"name": "listener",
|
317
|
+
"type": {
|
318
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
319
|
+
}
|
320
|
+
}
|
321
|
+
]
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"kind": "method",
|
325
|
+
"name": "onAfterUpdate",
|
326
|
+
"privacy": "public",
|
327
|
+
"return": {
|
328
|
+
"type": {
|
329
|
+
"text": "() => void"
|
330
|
+
}
|
331
|
+
},
|
332
|
+
"parameters": [
|
333
|
+
{
|
334
|
+
"name": "listener",
|
335
|
+
"type": {
|
336
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
337
|
+
}
|
338
|
+
}
|
339
|
+
]
|
340
|
+
}
|
341
|
+
]
|
342
|
+
}
|
343
|
+
],
|
176
344
|
"exports": [
|
177
345
|
{
|
178
346
|
"kind": "js",
|
179
|
-
"name": "
|
347
|
+
"name": "InMemoryDatabase",
|
180
348
|
"declaration": {
|
181
|
-
"name": "
|
182
|
-
"
|
349
|
+
"name": "InMemoryDatabase",
|
350
|
+
"module": "src/data/inMemoryDatabase.ts"
|
183
351
|
}
|
184
|
-
}
|
352
|
+
}
|
353
|
+
]
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"kind": "javascript-module",
|
357
|
+
"path": "src/data/index.ts",
|
358
|
+
"declarations": [],
|
359
|
+
"exports": [
|
185
360
|
{
|
186
361
|
"kind": "js",
|
187
362
|
"name": "*",
|
188
363
|
"declaration": {
|
189
364
|
"name": "*",
|
190
|
-
"package": "./
|
365
|
+
"package": "./inMemoryDatabase"
|
191
366
|
}
|
192
367
|
}
|
193
368
|
]
|
194
369
|
},
|
195
370
|
{
|
196
371
|
"kind": "javascript-module",
|
197
|
-
"path": "src/
|
198
|
-
"declarations": [
|
372
|
+
"path": "src/design-system/design-system.ts",
|
373
|
+
"declarations": [
|
374
|
+
{
|
375
|
+
"kind": "function",
|
376
|
+
"name": "assureDesignSystem",
|
377
|
+
"return": {
|
378
|
+
"type": {
|
379
|
+
"text": "DesignSystemModule"
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"parameters": [
|
383
|
+
{
|
384
|
+
"name": "module",
|
385
|
+
"type": {
|
386
|
+
"text": "DesignSystemModule"
|
387
|
+
}
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"description": "assureDesignSystem.",
|
391
|
+
"privacy": "public"
|
392
|
+
}
|
393
|
+
],
|
199
394
|
"exports": [
|
200
395
|
{
|
201
396
|
"kind": "js",
|
202
|
-
"name": "
|
397
|
+
"name": "assureDesignSystem",
|
203
398
|
"declaration": {
|
204
|
-
"name": "
|
205
|
-
"
|
399
|
+
"name": "assureDesignSystem",
|
400
|
+
"module": "src/design-system/design-system.ts"
|
206
401
|
}
|
207
402
|
}
|
208
403
|
]
|
209
404
|
},
|
210
405
|
{
|
211
406
|
"kind": "javascript-module",
|
212
|
-
"path": "src/
|
407
|
+
"path": "src/design-system/index.ts",
|
213
408
|
"declarations": [],
|
214
409
|
"exports": [
|
215
410
|
{
|
@@ -217,27 +412,133 @@
|
|
217
412
|
"name": "*",
|
218
413
|
"declaration": {
|
219
414
|
"name": "*",
|
220
|
-
"package": "./
|
415
|
+
"package": "./design-system"
|
221
416
|
}
|
222
|
-
}
|
417
|
+
}
|
418
|
+
]
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"kind": "javascript-module",
|
422
|
+
"path": "src/decorators/index.ts",
|
423
|
+
"declarations": [],
|
424
|
+
"exports": [
|
223
425
|
{
|
224
426
|
"kind": "js",
|
225
427
|
"name": "*",
|
226
428
|
"declaration": {
|
227
429
|
"name": "*",
|
228
|
-
"package": "./
|
430
|
+
"package": "./renderOnChange"
|
229
431
|
}
|
230
432
|
}
|
231
433
|
]
|
232
434
|
},
|
233
435
|
{
|
234
436
|
"kind": "javascript-module",
|
235
|
-
"path": "src/
|
437
|
+
"path": "src/decorators/renderOnChange.ts",
|
236
438
|
"declarations": [
|
237
439
|
{
|
238
440
|
"kind": "function",
|
239
|
-
"name": "
|
240
|
-
"
|
441
|
+
"name": "renderOnChange",
|
442
|
+
"parameters": [
|
443
|
+
{
|
444
|
+
"name": "target",
|
445
|
+
"type": {
|
446
|
+
"text": "FASTElement & { render(): void }"
|
447
|
+
},
|
448
|
+
"description": "The target to define the property change handler on."
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"name": "name",
|
452
|
+
"type": {
|
453
|
+
"text": "string"
|
454
|
+
},
|
455
|
+
"description": "The property name."
|
456
|
+
}
|
457
|
+
],
|
458
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
459
|
+
"privacy": "public"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"exports": [
|
463
|
+
{
|
464
|
+
"kind": "js",
|
465
|
+
"name": "renderOnChange",
|
466
|
+
"declaration": {
|
467
|
+
"name": "renderOnChange",
|
468
|
+
"module": "src/decorators/renderOnChange.ts"
|
469
|
+
}
|
470
|
+
}
|
471
|
+
]
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"kind": "javascript-module",
|
475
|
+
"path": "src/directives/index.ts",
|
476
|
+
"declarations": [],
|
477
|
+
"exports": [
|
478
|
+
{
|
479
|
+
"kind": "js",
|
480
|
+
"name": "*",
|
481
|
+
"declaration": {
|
482
|
+
"name": "*",
|
483
|
+
"package": "./sync"
|
484
|
+
}
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"kind": "js",
|
488
|
+
"name": "*",
|
489
|
+
"declaration": {
|
490
|
+
"name": "*",
|
491
|
+
"package": "./when-else"
|
492
|
+
}
|
493
|
+
}
|
494
|
+
]
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"kind": "javascript-module",
|
498
|
+
"path": "src/encoding/index.ts",
|
499
|
+
"declarations": [],
|
500
|
+
"exports": [
|
501
|
+
{
|
502
|
+
"kind": "js",
|
503
|
+
"name": "*",
|
504
|
+
"declaration": {
|
505
|
+
"name": "*",
|
506
|
+
"package": "./base64"
|
507
|
+
}
|
508
|
+
}
|
509
|
+
]
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"kind": "javascript-module",
|
513
|
+
"path": "src/env/index.ts",
|
514
|
+
"declarations": [],
|
515
|
+
"exports": [
|
516
|
+
{
|
517
|
+
"kind": "js",
|
518
|
+
"name": "*",
|
519
|
+
"declaration": {
|
520
|
+
"name": "*",
|
521
|
+
"package": "./is-dev"
|
522
|
+
}
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"kind": "js",
|
526
|
+
"name": "*",
|
527
|
+
"declaration": {
|
528
|
+
"name": "*",
|
529
|
+
"package": "./variables"
|
530
|
+
}
|
531
|
+
}
|
532
|
+
]
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"kind": "javascript-module",
|
536
|
+
"path": "src/env/is-dev.ts",
|
537
|
+
"declarations": [
|
538
|
+
{
|
539
|
+
"kind": "function",
|
540
|
+
"name": "isDev",
|
541
|
+
"description": "Determines if the current environment is a development environment.",
|
241
542
|
"privacy": "public"
|
242
543
|
}
|
243
544
|
],
|
@@ -468,521 +769,220 @@
|
|
468
769
|
"name": "_HTTP_CONFIG",
|
469
770
|
"module": "src/env/variables.ts"
|
470
771
|
}
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"kind": "js",
|
474
|
-
"name": "DEFAULT_ORGANISATION",
|
475
|
-
"declaration": {
|
476
|
-
"name": "_DEFAULT_ORGANISATION",
|
477
|
-
"module": "src/env/variables.ts"
|
478
|
-
}
|
479
|
-
},
|
480
|
-
{
|
481
|
-
"kind": "js",
|
482
|
-
"name": "DEFAULT_PASSWORD",
|
483
|
-
"declaration": {
|
484
|
-
"name": "_DEFAULT_PASSWORD",
|
485
|
-
"module": "src/env/variables.ts"
|
486
|
-
}
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"kind": "js",
|
490
|
-
"name": "DEFAULT_USER",
|
491
|
-
"declaration": {
|
492
|
-
"name": "_DEFAULT_USER",
|
493
|
-
"module": "src/env/variables.ts"
|
494
|
-
}
|
495
|
-
}
|
496
|
-
]
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"kind": "javascript-module",
|
500
|
-
"path": "src/error/errorMap.ts",
|
501
|
-
"declarations": [
|
502
|
-
{
|
503
|
-
"kind": "class",
|
504
|
-
"description": "",
|
505
|
-
"name": "DefaultErrorMap",
|
506
|
-
"members": [
|
507
|
-
{
|
508
|
-
"kind": "field",
|
509
|
-
"name": "map",
|
510
|
-
"privacy": "private",
|
511
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
512
|
-
},
|
513
|
-
{
|
514
|
-
"kind": "field",
|
515
|
-
"name": "lastError",
|
516
|
-
"type": {
|
517
|
-
"text": "Error"
|
518
|
-
},
|
519
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"kind": "method",
|
523
|
-
"name": "set",
|
524
|
-
"return": {
|
525
|
-
"type": {
|
526
|
-
"text": "void"
|
527
|
-
}
|
528
|
-
},
|
529
|
-
"parameters": [
|
530
|
-
{
|
531
|
-
"name": "key",
|
532
|
-
"type": {
|
533
|
-
"text": "keyof TErrorDetailMap"
|
534
|
-
}
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"name": "error",
|
538
|
-
"type": {
|
539
|
-
"text": "Error"
|
540
|
-
}
|
541
|
-
}
|
542
|
-
],
|
543
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
544
|
-
},
|
545
|
-
{
|
546
|
-
"kind": "method",
|
547
|
-
"name": "get",
|
548
|
-
"return": {
|
549
|
-
"type": {
|
550
|
-
"text": ""
|
551
|
-
}
|
552
|
-
},
|
553
|
-
"parameters": [
|
554
|
-
{
|
555
|
-
"name": "key",
|
556
|
-
"type": {
|
557
|
-
"text": "keyof TErrorDetailMap"
|
558
|
-
},
|
559
|
-
"description": "The key."
|
560
|
-
}
|
561
|
-
],
|
562
|
-
"description": "Get an error by key.",
|
563
|
-
"privacy": "public"
|
564
|
-
},
|
565
|
-
{
|
566
|
-
"kind": "method",
|
567
|
-
"name": "has",
|
568
|
-
"return": {
|
569
|
-
"type": {
|
570
|
-
"text": ""
|
571
|
-
}
|
572
|
-
},
|
573
|
-
"parameters": [
|
574
|
-
{
|
575
|
-
"name": "key",
|
576
|
-
"type": {
|
577
|
-
"text": "keyof TErrorDetailMap"
|
578
|
-
},
|
579
|
-
"description": "The key."
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"description": "Has an error for key.",
|
583
|
-
"privacy": "public"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"kind": "method",
|
587
|
-
"name": "delete",
|
588
|
-
"return": {
|
589
|
-
"type": {
|
590
|
-
"text": ""
|
591
|
-
}
|
592
|
-
},
|
593
|
-
"parameters": [
|
594
|
-
{
|
595
|
-
"name": "key",
|
596
|
-
"type": {
|
597
|
-
"text": "keyof TErrorDetailMap"
|
598
|
-
},
|
599
|
-
"description": "The key."
|
600
|
-
}
|
601
|
-
],
|
602
|
-
"description": "Delete an error.",
|
603
|
-
"privacy": "public"
|
604
|
-
},
|
605
|
-
{
|
606
|
-
"kind": "method",
|
607
|
-
"name": "clear",
|
608
|
-
"description": "Clear errors.",
|
609
|
-
"privacy": "public"
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"kind": "field",
|
613
|
-
"name": "size",
|
614
|
-
"type": {
|
615
|
-
"text": "number"
|
616
|
-
},
|
617
|
-
"description": "The size of the error map.",
|
618
|
-
"return": {
|
619
|
-
"type": {
|
620
|
-
"text": ""
|
621
|
-
}
|
622
|
-
},
|
623
|
-
"privacy": "public",
|
624
|
-
"readonly": true
|
625
|
-
},
|
626
|
-
{
|
627
|
-
"kind": "method",
|
628
|
-
"name": "values",
|
629
|
-
"privacy": "public"
|
630
|
-
},
|
631
|
-
{
|
632
|
-
"kind": "field",
|
633
|
-
"name": "messages",
|
634
|
-
"type": {
|
635
|
-
"text": "string"
|
636
|
-
},
|
637
|
-
"description": "{@inheritDoc ErrorMap.messages}",
|
638
|
-
"readonly": true
|
639
|
-
}
|
640
|
-
]
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"kind": "function",
|
644
|
-
"name": "createErrorMap",
|
645
|
-
"return": {
|
646
|
-
"type": {
|
647
|
-
"text": ""
|
648
|
-
}
|
649
|
-
},
|
650
|
-
"parameters": [
|
651
|
-
{
|
652
|
-
"name": "logger",
|
653
|
-
"type": {
|
654
|
-
"text": "ErrorMapLogger"
|
655
|
-
},
|
656
|
-
"description": "A logger error method reference."
|
657
|
-
}
|
658
|
-
],
|
659
|
-
"description": "A factory to create the error map.",
|
660
|
-
"privacy": "public"
|
661
|
-
}
|
662
|
-
],
|
663
|
-
"exports": [
|
664
|
-
{
|
665
|
-
"kind": "js",
|
666
|
-
"name": "DefaultErrorMap",
|
667
|
-
"declaration": {
|
668
|
-
"name": "DefaultErrorMap",
|
669
|
-
"module": "src/error/errorMap.ts"
|
670
|
-
}
|
671
|
-
},
|
672
|
-
{
|
673
|
-
"kind": "js",
|
674
|
-
"name": "createErrorMap",
|
675
|
-
"declaration": {
|
676
|
-
"name": "createErrorMap",
|
677
|
-
"module": "src/error/errorMap.ts"
|
678
|
-
}
|
679
|
-
}
|
680
|
-
]
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"kind": "javascript-module",
|
684
|
-
"path": "src/error/index.ts",
|
685
|
-
"declarations": [],
|
686
|
-
"exports": [
|
687
|
-
{
|
688
|
-
"kind": "js",
|
689
|
-
"name": "*",
|
690
|
-
"declaration": {
|
691
|
-
"name": "*",
|
692
|
-
"package": "./errorMap"
|
693
|
-
}
|
694
|
-
}
|
695
|
-
]
|
696
|
-
},
|
697
|
-
{
|
698
|
-
"kind": "javascript-module",
|
699
|
-
"path": "src/decorators/index.ts",
|
700
|
-
"declarations": [],
|
701
|
-
"exports": [
|
702
|
-
{
|
703
|
-
"kind": "js",
|
704
|
-
"name": "*",
|
705
|
-
"declaration": {
|
706
|
-
"name": "*",
|
707
|
-
"package": "./renderOnChange"
|
708
|
-
}
|
709
|
-
}
|
710
|
-
]
|
711
|
-
},
|
712
|
-
{
|
713
|
-
"kind": "javascript-module",
|
714
|
-
"path": "src/decorators/renderOnChange.ts",
|
715
|
-
"declarations": [
|
716
|
-
{
|
717
|
-
"kind": "function",
|
718
|
-
"name": "renderOnChange",
|
719
|
-
"parameters": [
|
720
|
-
{
|
721
|
-
"name": "target",
|
722
|
-
"type": {
|
723
|
-
"text": "FASTElement & { render(): void }"
|
724
|
-
},
|
725
|
-
"description": "The target to define the property change handler on."
|
726
|
-
},
|
727
|
-
{
|
728
|
-
"name": "name",
|
729
|
-
"type": {
|
730
|
-
"text": "string"
|
731
|
-
},
|
732
|
-
"description": "The property name."
|
733
|
-
}
|
734
|
-
],
|
735
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
736
|
-
"privacy": "public"
|
737
|
-
}
|
738
|
-
],
|
739
|
-
"exports": [
|
772
|
+
},
|
740
773
|
{
|
741
774
|
"kind": "js",
|
742
|
-
"name": "
|
775
|
+
"name": "DEFAULT_ORGANISATION",
|
743
776
|
"declaration": {
|
744
|
-
"name": "
|
745
|
-
"module": "src/
|
777
|
+
"name": "_DEFAULT_ORGANISATION",
|
778
|
+
"module": "src/env/variables.ts"
|
746
779
|
}
|
747
|
-
}
|
748
|
-
]
|
749
|
-
},
|
750
|
-
{
|
751
|
-
"kind": "javascript-module",
|
752
|
-
"path": "src/design-system/design-system.ts",
|
753
|
-
"declarations": [
|
754
|
-
{
|
755
|
-
"kind": "function",
|
756
|
-
"name": "assureDesignSystem",
|
757
|
-
"return": {
|
758
|
-
"type": {
|
759
|
-
"text": "DesignSystemModule"
|
760
|
-
}
|
761
|
-
},
|
762
|
-
"parameters": [
|
763
|
-
{
|
764
|
-
"name": "module",
|
765
|
-
"type": {
|
766
|
-
"text": "DesignSystemModule"
|
767
|
-
}
|
768
|
-
}
|
769
|
-
],
|
770
|
-
"description": "assureDesignSystem.",
|
771
|
-
"privacy": "public"
|
772
|
-
}
|
773
|
-
],
|
774
|
-
"exports": [
|
780
|
+
},
|
775
781
|
{
|
776
782
|
"kind": "js",
|
777
|
-
"name": "
|
783
|
+
"name": "DEFAULT_PASSWORD",
|
778
784
|
"declaration": {
|
779
|
-
"name": "
|
780
|
-
"module": "src/
|
785
|
+
"name": "_DEFAULT_PASSWORD",
|
786
|
+
"module": "src/env/variables.ts"
|
781
787
|
}
|
782
|
-
}
|
783
|
-
]
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"kind": "javascript-module",
|
787
|
-
"path": "src/design-system/index.ts",
|
788
|
-
"declarations": [],
|
789
|
-
"exports": [
|
788
|
+
},
|
790
789
|
{
|
791
790
|
"kind": "js",
|
792
|
-
"name": "
|
791
|
+
"name": "DEFAULT_USER",
|
793
792
|
"declaration": {
|
794
|
-
"name": "
|
795
|
-
"
|
793
|
+
"name": "_DEFAULT_USER",
|
794
|
+
"module": "src/env/variables.ts"
|
796
795
|
}
|
797
796
|
}
|
798
797
|
]
|
799
798
|
},
|
800
799
|
{
|
801
800
|
"kind": "javascript-module",
|
802
|
-
"path": "src/
|
801
|
+
"path": "src/error/errorMap.ts",
|
803
802
|
"declarations": [
|
804
803
|
{
|
805
804
|
"kind": "class",
|
806
|
-
"description": "
|
807
|
-
"name": "
|
805
|
+
"description": "",
|
806
|
+
"name": "DefaultErrorMap",
|
808
807
|
"members": [
|
809
808
|
{
|
810
809
|
"kind": "field",
|
811
|
-
"name": "
|
812
|
-
"
|
813
|
-
|
814
|
-
},
|
815
|
-
"privacy": "public",
|
816
|
-
"default": "false"
|
810
|
+
"name": "map",
|
811
|
+
"privacy": "private",
|
812
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
817
813
|
},
|
818
814
|
{
|
819
815
|
"kind": "field",
|
820
|
-
"name": "
|
816
|
+
"name": "lastError",
|
821
817
|
"type": {
|
822
|
-
"text": "
|
818
|
+
"text": "Error"
|
823
819
|
},
|
824
|
-
"
|
825
|
-
"default": "{}"
|
826
|
-
},
|
827
|
-
{
|
828
|
-
"kind": "field",
|
829
|
-
"name": "beforeUpdateListeners",
|
830
|
-
"privacy": "private"
|
831
|
-
},
|
832
|
-
{
|
833
|
-
"kind": "field",
|
834
|
-
"name": "afterUpdateListeners",
|
835
|
-
"privacy": "private"
|
820
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
836
821
|
},
|
837
822
|
{
|
838
823
|
"kind": "method",
|
839
|
-
"name": "
|
840
|
-
"privacy": "public",
|
824
|
+
"name": "set",
|
841
825
|
"return": {
|
842
826
|
"type": {
|
843
|
-
"text": "
|
827
|
+
"text": "void"
|
844
828
|
}
|
845
829
|
},
|
846
830
|
"parameters": [
|
847
831
|
{
|
848
|
-
"name": "
|
832
|
+
"name": "key",
|
849
833
|
"type": {
|
850
|
-
"text": "
|
834
|
+
"text": "keyof TErrorDetailMap"
|
851
835
|
}
|
852
|
-
}
|
853
|
-
]
|
854
|
-
},
|
855
|
-
{
|
856
|
-
"kind": "method",
|
857
|
-
"name": "read",
|
858
|
-
"privacy": "public",
|
859
|
-
"return": {
|
860
|
-
"type": {
|
861
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
862
|
-
}
|
863
|
-
},
|
864
|
-
"parameters": [
|
836
|
+
},
|
865
837
|
{
|
866
|
-
"name": "
|
838
|
+
"name": "error",
|
867
839
|
"type": {
|
868
|
-
"text": "
|
840
|
+
"text": "Error"
|
869
841
|
}
|
870
842
|
}
|
871
|
-
]
|
843
|
+
],
|
844
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
872
845
|
},
|
873
846
|
{
|
874
847
|
"kind": "method",
|
875
|
-
"name": "
|
876
|
-
"privacy": "public",
|
848
|
+
"name": "get",
|
877
849
|
"return": {
|
878
850
|
"type": {
|
879
|
-
"text": "
|
851
|
+
"text": ""
|
880
852
|
}
|
881
853
|
},
|
882
854
|
"parameters": [
|
883
855
|
{
|
884
|
-
"name": "
|
885
|
-
"type": {
|
886
|
-
"text": "string"
|
887
|
-
}
|
888
|
-
},
|
889
|
-
{
|
890
|
-
"name": "newValue",
|
856
|
+
"name": "key",
|
891
857
|
"type": {
|
892
|
-
"text": "
|
893
|
-
}
|
858
|
+
"text": "keyof TErrorDetailMap"
|
859
|
+
},
|
860
|
+
"description": "The key."
|
894
861
|
}
|
895
|
-
]
|
862
|
+
],
|
863
|
+
"description": "Get an error by key.",
|
864
|
+
"privacy": "public"
|
896
865
|
},
|
897
866
|
{
|
898
867
|
"kind": "method",
|
899
|
-
"name": "
|
900
|
-
"privacy": "public",
|
868
|
+
"name": "has",
|
901
869
|
"return": {
|
902
870
|
"type": {
|
903
|
-
"text": "
|
871
|
+
"text": ""
|
904
872
|
}
|
905
873
|
},
|
906
874
|
"parameters": [
|
907
875
|
{
|
908
|
-
"name": "
|
876
|
+
"name": "key",
|
909
877
|
"type": {
|
910
|
-
"text": "
|
911
|
-
}
|
878
|
+
"text": "keyof TErrorDetailMap"
|
879
|
+
},
|
880
|
+
"description": "The key."
|
912
881
|
}
|
913
|
-
]
|
882
|
+
],
|
883
|
+
"description": "Has an error for key.",
|
884
|
+
"privacy": "public"
|
914
885
|
},
|
915
886
|
{
|
916
887
|
"kind": "method",
|
917
|
-
"name": "
|
918
|
-
"privacy": "public",
|
888
|
+
"name": "delete",
|
919
889
|
"return": {
|
920
890
|
"type": {
|
921
|
-
"text": "
|
891
|
+
"text": ""
|
922
892
|
}
|
923
893
|
},
|
924
894
|
"parameters": [
|
925
895
|
{
|
926
|
-
"name": "
|
896
|
+
"name": "key",
|
927
897
|
"type": {
|
928
|
-
"text": "
|
929
|
-
}
|
898
|
+
"text": "keyof TErrorDetailMap"
|
899
|
+
},
|
900
|
+
"description": "The key."
|
930
901
|
}
|
931
|
-
]
|
902
|
+
],
|
903
|
+
"description": "Delete an error.",
|
904
|
+
"privacy": "public"
|
932
905
|
},
|
933
906
|
{
|
934
907
|
"kind": "method",
|
935
|
-
"name": "
|
936
|
-
"
|
908
|
+
"name": "clear",
|
909
|
+
"description": "Clear errors.",
|
910
|
+
"privacy": "public"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"kind": "field",
|
914
|
+
"name": "size",
|
915
|
+
"type": {
|
916
|
+
"text": "number"
|
917
|
+
},
|
918
|
+
"description": "The size of the error map.",
|
937
919
|
"return": {
|
938
920
|
"type": {
|
939
|
-
"text": "
|
921
|
+
"text": ""
|
940
922
|
}
|
941
923
|
},
|
942
|
-
"
|
943
|
-
|
944
|
-
"name": "listener",
|
945
|
-
"type": {
|
946
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
947
|
-
}
|
948
|
-
}
|
949
|
-
]
|
924
|
+
"privacy": "public",
|
925
|
+
"readonly": true
|
950
926
|
},
|
951
927
|
{
|
952
928
|
"kind": "method",
|
953
|
-
"name": "
|
954
|
-
"privacy": "public"
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
929
|
+
"name": "values",
|
930
|
+
"privacy": "public"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"kind": "field",
|
934
|
+
"name": "messages",
|
935
|
+
"type": {
|
936
|
+
"text": "string"
|
959
937
|
},
|
960
|
-
"
|
961
|
-
|
962
|
-
"name": "listener",
|
963
|
-
"type": {
|
964
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
965
|
-
}
|
966
|
-
}
|
967
|
-
]
|
938
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
939
|
+
"readonly": true
|
968
940
|
}
|
969
941
|
]
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"kind": "function",
|
945
|
+
"name": "createErrorMap",
|
946
|
+
"return": {
|
947
|
+
"type": {
|
948
|
+
"text": ""
|
949
|
+
}
|
950
|
+
},
|
951
|
+
"parameters": [
|
952
|
+
{
|
953
|
+
"name": "logger",
|
954
|
+
"type": {
|
955
|
+
"text": "ErrorMapLogger"
|
956
|
+
},
|
957
|
+
"description": "A logger error method reference."
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"description": "A factory to create the error map.",
|
961
|
+
"privacy": "public"
|
970
962
|
}
|
971
963
|
],
|
972
964
|
"exports": [
|
973
965
|
{
|
974
966
|
"kind": "js",
|
975
|
-
"name": "
|
967
|
+
"name": "DefaultErrorMap",
|
976
968
|
"declaration": {
|
977
|
-
"name": "
|
978
|
-
"module": "src/
|
969
|
+
"name": "DefaultErrorMap",
|
970
|
+
"module": "src/error/errorMap.ts"
|
971
|
+
}
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"kind": "js",
|
975
|
+
"name": "createErrorMap",
|
976
|
+
"declaration": {
|
977
|
+
"name": "createErrorMap",
|
978
|
+
"module": "src/error/errorMap.ts"
|
979
979
|
}
|
980
980
|
}
|
981
981
|
]
|
982
982
|
},
|
983
983
|
{
|
984
984
|
"kind": "javascript-module",
|
985
|
-
"path": "src/
|
985
|
+
"path": "src/error/index.ts",
|
986
986
|
"declarations": [],
|
987
987
|
"exports": [
|
988
988
|
{
|
@@ -990,7 +990,7 @@
|
|
990
990
|
"name": "*",
|
991
991
|
"declaration": {
|
992
992
|
"name": "*",
|
993
|
-
"package": "./
|
993
|
+
"package": "./errorMap"
|
994
994
|
}
|
995
995
|
}
|
996
996
|
]
|
@@ -1478,7 +1478,7 @@
|
|
1478
1478
|
},
|
1479
1479
|
{
|
1480
1480
|
"kind": "javascript-module",
|
1481
|
-
"path": "src/
|
1481
|
+
"path": "src/resource/index.ts",
|
1482
1482
|
"declarations": [],
|
1483
1483
|
"exports": [
|
1484
1484
|
{
|
@@ -1486,55 +1486,40 @@
|
|
1486
1486
|
"name": "*",
|
1487
1487
|
"declaration": {
|
1488
1488
|
"name": "*",
|
1489
|
-
"package": "./
|
1489
|
+
"package": "./types"
|
1490
1490
|
}
|
1491
1491
|
}
|
1492
1492
|
]
|
1493
1493
|
},
|
1494
1494
|
{
|
1495
1495
|
"kind": "javascript-module",
|
1496
|
-
"path": "src/
|
1496
|
+
"path": "src/resource/types.ts",
|
1497
1497
|
"declarations": [
|
1498
1498
|
{
|
1499
|
-
"kind": "
|
1500
|
-
"name": "
|
1501
|
-
"
|
1502
|
-
"
|
1503
|
-
"text": "Promise<T>"
|
1504
|
-
}
|
1499
|
+
"kind": "variable",
|
1500
|
+
"name": "ResourceType",
|
1501
|
+
"type": {
|
1502
|
+
"text": "{\n local: 'local',\n remote: 'remote',\n}"
|
1505
1503
|
},
|
1506
|
-
"
|
1507
|
-
|
1508
|
-
"name": "ms",
|
1509
|
-
"type": {
|
1510
|
-
"text": "number"
|
1511
|
-
}
|
1512
|
-
},
|
1513
|
-
{
|
1514
|
-
"name": "valueCreator",
|
1515
|
-
"type": {
|
1516
|
-
"text": "() => T"
|
1517
|
-
}
|
1518
|
-
}
|
1519
|
-
],
|
1520
|
-
"description": "Resolve a promise after a timeout.",
|
1504
|
+
"default": "{\n local: 'local',\n remote: 'remote',\n}",
|
1505
|
+
"description": "An object that defines two resource types: \"local\" and \"remote\".",
|
1521
1506
|
"privacy": "public"
|
1522
1507
|
}
|
1523
1508
|
],
|
1524
1509
|
"exports": [
|
1525
1510
|
{
|
1526
1511
|
"kind": "js",
|
1527
|
-
"name": "
|
1512
|
+
"name": "ResourceType",
|
1528
1513
|
"declaration": {
|
1529
|
-
"name": "
|
1530
|
-
"module": "src/
|
1514
|
+
"name": "ResourceType",
|
1515
|
+
"module": "src/resource/types.ts"
|
1531
1516
|
}
|
1532
1517
|
}
|
1533
1518
|
]
|
1534
1519
|
},
|
1535
1520
|
{
|
1536
1521
|
"kind": "javascript-module",
|
1537
|
-
"path": "src/
|
1522
|
+
"path": "src/promise/index.ts",
|
1538
1523
|
"declarations": [],
|
1539
1524
|
"exports": [
|
1540
1525
|
{
|
@@ -1542,33 +1527,48 @@
|
|
1542
1527
|
"name": "*",
|
1543
1528
|
"declaration": {
|
1544
1529
|
"name": "*",
|
1545
|
-
"package": "./
|
1530
|
+
"package": "./resolveAfter"
|
1546
1531
|
}
|
1547
1532
|
}
|
1548
1533
|
]
|
1549
1534
|
},
|
1550
1535
|
{
|
1551
1536
|
"kind": "javascript-module",
|
1552
|
-
"path": "src/
|
1537
|
+
"path": "src/promise/resolveAfter.ts",
|
1553
1538
|
"declarations": [
|
1554
1539
|
{
|
1555
|
-
"kind": "
|
1556
|
-
"name": "
|
1557
|
-
"
|
1558
|
-
"
|
1540
|
+
"kind": "function",
|
1541
|
+
"name": "resolveAfter",
|
1542
|
+
"return": {
|
1543
|
+
"type": {
|
1544
|
+
"text": "Promise<T>"
|
1545
|
+
}
|
1559
1546
|
},
|
1560
|
-
"
|
1561
|
-
|
1547
|
+
"parameters": [
|
1548
|
+
{
|
1549
|
+
"name": "ms",
|
1550
|
+
"type": {
|
1551
|
+
"text": "number"
|
1552
|
+
}
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"name": "valueCreator",
|
1556
|
+
"type": {
|
1557
|
+
"text": "() => T"
|
1558
|
+
}
|
1559
|
+
}
|
1560
|
+
],
|
1561
|
+
"description": "Resolve a promise after a timeout.",
|
1562
1562
|
"privacy": "public"
|
1563
1563
|
}
|
1564
1564
|
],
|
1565
1565
|
"exports": [
|
1566
1566
|
{
|
1567
1567
|
"kind": "js",
|
1568
|
-
"name": "
|
1568
|
+
"name": "resolveAfter",
|
1569
1569
|
"declaration": {
|
1570
|
-
"name": "
|
1571
|
-
"module": "src/
|
1570
|
+
"name": "resolveAfter",
|
1571
|
+
"module": "src/promise/resolveAfter.ts"
|
1572
1572
|
}
|
1573
1573
|
}
|
1574
1574
|
]
|
@@ -2691,6 +2691,93 @@
|
|
2691
2691
|
"declarations": [],
|
2692
2692
|
"exports": []
|
2693
2693
|
},
|
2694
|
+
{
|
2695
|
+
"kind": "javascript-module",
|
2696
|
+
"path": "src/mixins/pendingState/index.ts",
|
2697
|
+
"declarations": [],
|
2698
|
+
"exports": [
|
2699
|
+
{
|
2700
|
+
"kind": "js",
|
2701
|
+
"name": "*",
|
2702
|
+
"declaration": {
|
2703
|
+
"name": "*",
|
2704
|
+
"package": "./pendingState"
|
2705
|
+
}
|
2706
|
+
}
|
2707
|
+
]
|
2708
|
+
},
|
2709
|
+
{
|
2710
|
+
"kind": "javascript-module",
|
2711
|
+
"path": "src/mixins/pendingState/pendingState.ts",
|
2712
|
+
"declarations": [
|
2713
|
+
{
|
2714
|
+
"kind": "mixin",
|
2715
|
+
"description": "The `PendingState` mixin.",
|
2716
|
+
"name": "PendingState",
|
2717
|
+
"members": [
|
2718
|
+
{
|
2719
|
+
"kind": "field",
|
2720
|
+
"name": "pendingCount",
|
2721
|
+
"type": {
|
2722
|
+
"text": "number"
|
2723
|
+
},
|
2724
|
+
"privacy": "public",
|
2725
|
+
"default": "0",
|
2726
|
+
"description": "The number of promises that are currently pending."
|
2727
|
+
},
|
2728
|
+
{
|
2729
|
+
"kind": "field",
|
2730
|
+
"name": "resolvedCount",
|
2731
|
+
"type": {
|
2732
|
+
"text": "number"
|
2733
|
+
},
|
2734
|
+
"privacy": "public",
|
2735
|
+
"default": "0",
|
2736
|
+
"description": "The number of promises that have been resolved."
|
2737
|
+
},
|
2738
|
+
{
|
2739
|
+
"kind": "field",
|
2740
|
+
"name": "hasPendingChildren",
|
2741
|
+
"type": {
|
2742
|
+
"text": "boolean"
|
2743
|
+
},
|
2744
|
+
"privacy": "public",
|
2745
|
+
"default": "false",
|
2746
|
+
"description": "A boolean indicating whether there are any pending children."
|
2747
|
+
},
|
2748
|
+
{
|
2749
|
+
"kind": "field",
|
2750
|
+
"name": "progress",
|
2751
|
+
"type": {
|
2752
|
+
"text": "number"
|
2753
|
+
},
|
2754
|
+
"privacy": "public",
|
2755
|
+
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
2756
|
+
"readonly": true
|
2757
|
+
}
|
2758
|
+
],
|
2759
|
+
"parameters": [
|
2760
|
+
{
|
2761
|
+
"name": "Base",
|
2762
|
+
"type": {
|
2763
|
+
"text": "TBase"
|
2764
|
+
}
|
2765
|
+
}
|
2766
|
+
],
|
2767
|
+
"privacy": "public"
|
2768
|
+
}
|
2769
|
+
],
|
2770
|
+
"exports": [
|
2771
|
+
{
|
2772
|
+
"kind": "js",
|
2773
|
+
"name": "PendingState",
|
2774
|
+
"declaration": {
|
2775
|
+
"name": "PendingState",
|
2776
|
+
"module": "src/mixins/pendingState/pendingState.ts"
|
2777
|
+
}
|
2778
|
+
}
|
2779
|
+
]
|
2780
|
+
},
|
2694
2781
|
{
|
2695
2782
|
"kind": "javascript-module",
|
2696
2783
|
"path": "src/mixins/lifecycle/index.ts",
|
@@ -2815,93 +2902,6 @@
|
|
2815
2902
|
}
|
2816
2903
|
]
|
2817
2904
|
},
|
2818
|
-
{
|
2819
|
-
"kind": "javascript-module",
|
2820
|
-
"path": "src/mixins/pendingState/index.ts",
|
2821
|
-
"declarations": [],
|
2822
|
-
"exports": [
|
2823
|
-
{
|
2824
|
-
"kind": "js",
|
2825
|
-
"name": "*",
|
2826
|
-
"declaration": {
|
2827
|
-
"name": "*",
|
2828
|
-
"package": "./pendingState"
|
2829
|
-
}
|
2830
|
-
}
|
2831
|
-
]
|
2832
|
-
},
|
2833
|
-
{
|
2834
|
-
"kind": "javascript-module",
|
2835
|
-
"path": "src/mixins/pendingState/pendingState.ts",
|
2836
|
-
"declarations": [
|
2837
|
-
{
|
2838
|
-
"kind": "mixin",
|
2839
|
-
"description": "The `PendingState` mixin.",
|
2840
|
-
"name": "PendingState",
|
2841
|
-
"members": [
|
2842
|
-
{
|
2843
|
-
"kind": "field",
|
2844
|
-
"name": "pendingCount",
|
2845
|
-
"type": {
|
2846
|
-
"text": "number"
|
2847
|
-
},
|
2848
|
-
"privacy": "public",
|
2849
|
-
"default": "0",
|
2850
|
-
"description": "The number of promises that are currently pending."
|
2851
|
-
},
|
2852
|
-
{
|
2853
|
-
"kind": "field",
|
2854
|
-
"name": "resolvedCount",
|
2855
|
-
"type": {
|
2856
|
-
"text": "number"
|
2857
|
-
},
|
2858
|
-
"privacy": "public",
|
2859
|
-
"default": "0",
|
2860
|
-
"description": "The number of promises that have been resolved."
|
2861
|
-
},
|
2862
|
-
{
|
2863
|
-
"kind": "field",
|
2864
|
-
"name": "hasPendingChildren",
|
2865
|
-
"type": {
|
2866
|
-
"text": "boolean"
|
2867
|
-
},
|
2868
|
-
"privacy": "public",
|
2869
|
-
"default": "false",
|
2870
|
-
"description": "A boolean indicating whether there are any pending children."
|
2871
|
-
},
|
2872
|
-
{
|
2873
|
-
"kind": "field",
|
2874
|
-
"name": "progress",
|
2875
|
-
"type": {
|
2876
|
-
"text": "number"
|
2877
|
-
},
|
2878
|
-
"privacy": "public",
|
2879
|
-
"description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
|
2880
|
-
"readonly": true
|
2881
|
-
}
|
2882
|
-
],
|
2883
|
-
"parameters": [
|
2884
|
-
{
|
2885
|
-
"name": "Base",
|
2886
|
-
"type": {
|
2887
|
-
"text": "TBase"
|
2888
|
-
}
|
2889
|
-
}
|
2890
|
-
],
|
2891
|
-
"privacy": "public"
|
2892
|
-
}
|
2893
|
-
],
|
2894
|
-
"exports": [
|
2895
|
-
{
|
2896
|
-
"kind": "js",
|
2897
|
-
"name": "PendingState",
|
2898
|
-
"declaration": {
|
2899
|
-
"name": "PendingState",
|
2900
|
-
"module": "src/mixins/pendingState/pendingState.ts"
|
2901
|
-
}
|
2902
|
-
}
|
2903
|
-
]
|
2904
|
-
},
|
2905
2905
|
{
|
2906
2906
|
"kind": "javascript-module",
|
2907
2907
|
"path": "src/serializers/json/index.ts",
|