@genesislcap/foundation-utils 14.228.2-alpha-263af68.0 → 14.229.0-RPT-20.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +426 -426
- package/package.json +10 -10
@@ -171,190 +171,7 @@
|
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"kind": "javascript-module",
|
174
|
-
"path": "src/
|
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
|
-
],
|
344
|
-
"exports": [
|
345
|
-
{
|
346
|
-
"kind": "js",
|
347
|
-
"name": "InMemoryDatabase",
|
348
|
-
"declaration": {
|
349
|
-
"name": "InMemoryDatabase",
|
350
|
-
"module": "src/data/inMemoryDatabase.ts"
|
351
|
-
}
|
352
|
-
}
|
353
|
-
]
|
354
|
-
},
|
355
|
-
{
|
356
|
-
"kind": "javascript-module",
|
357
|
-
"path": "src/data/index.ts",
|
174
|
+
"path": "src/directives/index.ts",
|
358
175
|
"declarations": [],
|
359
176
|
"exports": [
|
360
177
|
{
|
@@ -362,67 +179,37 @@
|
|
362
179
|
"name": "*",
|
363
180
|
"declaration": {
|
364
181
|
"name": "*",
|
365
|
-
"package": "./
|
182
|
+
"package": "./sync"
|
366
183
|
}
|
367
|
-
}
|
368
|
-
]
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"kind": "javascript-module",
|
372
|
-
"path": "src/decorators/index.ts",
|
373
|
-
"declarations": [],
|
374
|
-
"exports": [
|
184
|
+
},
|
375
185
|
{
|
376
186
|
"kind": "js",
|
377
187
|
"name": "*",
|
378
188
|
"declaration": {
|
379
189
|
"name": "*",
|
380
|
-
"package": "./
|
190
|
+
"package": "./when-else"
|
381
191
|
}
|
382
192
|
}
|
383
193
|
]
|
384
194
|
},
|
385
195
|
{
|
386
196
|
"kind": "javascript-module",
|
387
|
-
"path": "src/
|
388
|
-
"declarations": [
|
389
|
-
{
|
390
|
-
"kind": "function",
|
391
|
-
"name": "renderOnChange",
|
392
|
-
"parameters": [
|
393
|
-
{
|
394
|
-
"name": "target",
|
395
|
-
"type": {
|
396
|
-
"text": "FASTElement & { render(): void }"
|
397
|
-
},
|
398
|
-
"description": "The target to define the property change handler on."
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"name": "name",
|
402
|
-
"type": {
|
403
|
-
"text": "string"
|
404
|
-
},
|
405
|
-
"description": "The property name."
|
406
|
-
}
|
407
|
-
],
|
408
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
409
|
-
"privacy": "public"
|
410
|
-
}
|
411
|
-
],
|
197
|
+
"path": "src/encoding/index.ts",
|
198
|
+
"declarations": [],
|
412
199
|
"exports": [
|
413
200
|
{
|
414
201
|
"kind": "js",
|
415
|
-
"name": "
|
202
|
+
"name": "*",
|
416
203
|
"declaration": {
|
417
|
-
"name": "
|
418
|
-
"
|
204
|
+
"name": "*",
|
205
|
+
"package": "./base64"
|
419
206
|
}
|
420
207
|
}
|
421
208
|
]
|
422
209
|
},
|
423
210
|
{
|
424
211
|
"kind": "javascript-module",
|
425
|
-
"path": "src/
|
212
|
+
"path": "src/env/index.ts",
|
426
213
|
"declarations": [],
|
427
214
|
"exports": [
|
428
215
|
{
|
@@ -430,7 +217,7 @@
|
|
430
217
|
"name": "*",
|
431
218
|
"declaration": {
|
432
219
|
"name": "*",
|
433
|
-
"package": "./
|
220
|
+
"package": "./is-dev"
|
434
221
|
}
|
435
222
|
},
|
436
223
|
{
|
@@ -438,107 +225,19 @@
|
|
438
225
|
"name": "*",
|
439
226
|
"declaration": {
|
440
227
|
"name": "*",
|
441
|
-
"package": "./
|
228
|
+
"package": "./variables"
|
442
229
|
}
|
443
230
|
}
|
444
231
|
]
|
445
232
|
},
|
446
233
|
{
|
447
234
|
"kind": "javascript-module",
|
448
|
-
"path": "src/
|
235
|
+
"path": "src/env/is-dev.ts",
|
449
236
|
"declarations": [
|
450
237
|
{
|
451
238
|
"kind": "function",
|
452
|
-
"name": "
|
453
|
-
"
|
454
|
-
"type": {
|
455
|
-
"text": "DesignSystemModule"
|
456
|
-
}
|
457
|
-
},
|
458
|
-
"parameters": [
|
459
|
-
{
|
460
|
-
"name": "module",
|
461
|
-
"type": {
|
462
|
-
"text": "DesignSystemModule"
|
463
|
-
}
|
464
|
-
}
|
465
|
-
],
|
466
|
-
"description": "assureDesignSystem.",
|
467
|
-
"privacy": "public"
|
468
|
-
}
|
469
|
-
],
|
470
|
-
"exports": [
|
471
|
-
{
|
472
|
-
"kind": "js",
|
473
|
-
"name": "assureDesignSystem",
|
474
|
-
"declaration": {
|
475
|
-
"name": "assureDesignSystem",
|
476
|
-
"module": "src/design-system/design-system.ts"
|
477
|
-
}
|
478
|
-
}
|
479
|
-
]
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"kind": "javascript-module",
|
483
|
-
"path": "src/design-system/index.ts",
|
484
|
-
"declarations": [],
|
485
|
-
"exports": [
|
486
|
-
{
|
487
|
-
"kind": "js",
|
488
|
-
"name": "*",
|
489
|
-
"declaration": {
|
490
|
-
"name": "*",
|
491
|
-
"package": "./design-system"
|
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.",
|
239
|
+
"name": "isDev",
|
240
|
+
"description": "Determines if the current environment is a development environment.",
|
542
241
|
"privacy": "public"
|
543
242
|
}
|
544
243
|
],
|
@@ -777,212 +476,513 @@
|
|
777
476
|
"name": "_DEFAULT_ORGANISATION",
|
778
477
|
"module": "src/env/variables.ts"
|
779
478
|
}
|
780
|
-
},
|
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": [
|
740
|
+
{
|
741
|
+
"kind": "js",
|
742
|
+
"name": "renderOnChange",
|
743
|
+
"declaration": {
|
744
|
+
"name": "renderOnChange",
|
745
|
+
"module": "src/decorators/renderOnChange.ts"
|
746
|
+
}
|
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": [
|
781
775
|
{
|
782
776
|
"kind": "js",
|
783
|
-
"name": "
|
777
|
+
"name": "assureDesignSystem",
|
784
778
|
"declaration": {
|
785
|
-
"name": "
|
786
|
-
"module": "src/
|
779
|
+
"name": "assureDesignSystem",
|
780
|
+
"module": "src/design-system/design-system.ts"
|
787
781
|
}
|
788
|
-
}
|
782
|
+
}
|
783
|
+
]
|
784
|
+
},
|
785
|
+
{
|
786
|
+
"kind": "javascript-module",
|
787
|
+
"path": "src/design-system/index.ts",
|
788
|
+
"declarations": [],
|
789
|
+
"exports": [
|
789
790
|
{
|
790
791
|
"kind": "js",
|
791
|
-
"name": "
|
792
|
+
"name": "*",
|
792
793
|
"declaration": {
|
793
|
-
"name": "
|
794
|
-
"
|
794
|
+
"name": "*",
|
795
|
+
"package": "./design-system"
|
795
796
|
}
|
796
797
|
}
|
797
798
|
]
|
798
799
|
},
|
799
800
|
{
|
800
801
|
"kind": "javascript-module",
|
801
|
-
"path": "src/
|
802
|
+
"path": "src/data/inMemoryDatabase.ts",
|
802
803
|
"declarations": [
|
803
804
|
{
|
804
805
|
"kind": "class",
|
805
|
-
"description": "",
|
806
|
-
"name": "
|
806
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
807
|
+
"name": "InMemoryDatabase",
|
807
808
|
"members": [
|
808
809
|
{
|
809
810
|
"kind": "field",
|
810
|
-
"name": "
|
811
|
-
"
|
812
|
-
|
811
|
+
"name": "isWorking",
|
812
|
+
"type": {
|
813
|
+
"text": "boolean"
|
814
|
+
},
|
815
|
+
"privacy": "public",
|
816
|
+
"default": "false"
|
813
817
|
},
|
814
818
|
{
|
815
819
|
"kind": "field",
|
816
|
-
"name": "
|
820
|
+
"name": "records",
|
817
821
|
"type": {
|
818
|
-
"text": "
|
822
|
+
"text": "Record<string, T>"
|
819
823
|
},
|
820
|
-
"
|
824
|
+
"privacy": "private",
|
825
|
+
"default": "{}"
|
826
|
+
},
|
827
|
+
{
|
828
|
+
"kind": "field",
|
829
|
+
"name": "beforeUpdateListeners",
|
830
|
+
"privacy": "private"
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"kind": "field",
|
834
|
+
"name": "afterUpdateListeners",
|
835
|
+
"privacy": "private"
|
821
836
|
},
|
822
837
|
{
|
823
838
|
"kind": "method",
|
824
|
-
"name": "
|
839
|
+
"name": "create",
|
840
|
+
"privacy": "public",
|
825
841
|
"return": {
|
826
842
|
"type": {
|
827
|
-
"text": "
|
843
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
828
844
|
}
|
829
845
|
},
|
830
846
|
"parameters": [
|
831
847
|
{
|
832
|
-
"name": "
|
833
|
-
"type": {
|
834
|
-
"text": "keyof TErrorDetailMap"
|
835
|
-
}
|
836
|
-
},
|
837
|
-
{
|
838
|
-
"name": "error",
|
848
|
+
"name": "newValue",
|
839
849
|
"type": {
|
840
|
-
"text": "
|
850
|
+
"text": "Omit<T, 'id'>"
|
841
851
|
}
|
842
852
|
}
|
843
|
-
]
|
844
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
853
|
+
]
|
845
854
|
},
|
846
855
|
{
|
847
856
|
"kind": "method",
|
848
|
-
"name": "
|
857
|
+
"name": "read",
|
858
|
+
"privacy": "public",
|
849
859
|
"return": {
|
850
860
|
"type": {
|
851
|
-
"text": ""
|
861
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
852
862
|
}
|
853
863
|
},
|
854
864
|
"parameters": [
|
855
865
|
{
|
856
|
-
"name": "
|
866
|
+
"name": "id",
|
857
867
|
"type": {
|
858
|
-
"text": "
|
859
|
-
}
|
860
|
-
"description": "The key."
|
868
|
+
"text": "string"
|
869
|
+
}
|
861
870
|
}
|
862
|
-
]
|
863
|
-
"description": "Get an error by key.",
|
864
|
-
"privacy": "public"
|
871
|
+
]
|
865
872
|
},
|
866
873
|
{
|
867
874
|
"kind": "method",
|
868
|
-
"name": "
|
875
|
+
"name": "update",
|
876
|
+
"privacy": "public",
|
869
877
|
"return": {
|
870
878
|
"type": {
|
871
|
-
"text": ""
|
879
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
872
880
|
}
|
873
881
|
},
|
874
882
|
"parameters": [
|
875
883
|
{
|
876
|
-
"name": "
|
884
|
+
"name": "id",
|
877
885
|
"type": {
|
878
|
-
"text": "
|
879
|
-
}
|
880
|
-
|
886
|
+
"text": "string"
|
887
|
+
}
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"name": "newValue",
|
891
|
+
"type": {
|
892
|
+
"text": "Omit<Partial<T>, 'id'>"
|
893
|
+
}
|
881
894
|
}
|
882
|
-
]
|
883
|
-
"description": "Has an error for key.",
|
884
|
-
"privacy": "public"
|
895
|
+
]
|
885
896
|
},
|
886
897
|
{
|
887
898
|
"kind": "method",
|
888
899
|
"name": "delete",
|
900
|
+
"privacy": "public",
|
889
901
|
"return": {
|
890
902
|
"type": {
|
891
|
-
"text": ""
|
903
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
892
904
|
}
|
893
905
|
},
|
894
906
|
"parameters": [
|
895
907
|
{
|
896
|
-
"name": "
|
908
|
+
"name": "id",
|
897
909
|
"type": {
|
898
|
-
"text": "
|
899
|
-
}
|
900
|
-
"description": "The key."
|
910
|
+
"text": "string"
|
911
|
+
}
|
901
912
|
}
|
902
|
-
]
|
903
|
-
"description": "Delete an error.",
|
904
|
-
"privacy": "public"
|
913
|
+
]
|
905
914
|
},
|
906
915
|
{
|
907
916
|
"kind": "method",
|
908
|
-
"name": "
|
909
|
-
"
|
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.",
|
917
|
+
"name": "visit",
|
918
|
+
"privacy": "public",
|
919
919
|
"return": {
|
920
920
|
"type": {
|
921
|
-
"text": ""
|
921
|
+
"text": "Promise<void>"
|
922
922
|
}
|
923
923
|
},
|
924
|
-
"
|
925
|
-
|
924
|
+
"parameters": [
|
925
|
+
{
|
926
|
+
"name": "visitor",
|
927
|
+
"type": {
|
928
|
+
"text": "(record: T) => void"
|
929
|
+
}
|
930
|
+
}
|
931
|
+
]
|
926
932
|
},
|
927
933
|
{
|
928
934
|
"kind": "method",
|
929
|
-
"name": "
|
930
|
-
"privacy": "public"
|
935
|
+
"name": "onBeforeUpdate",
|
936
|
+
"privacy": "public",
|
937
|
+
"return": {
|
938
|
+
"type": {
|
939
|
+
"text": "() => void"
|
940
|
+
}
|
941
|
+
},
|
942
|
+
"parameters": [
|
943
|
+
{
|
944
|
+
"name": "listener",
|
945
|
+
"type": {
|
946
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
947
|
+
}
|
948
|
+
}
|
949
|
+
]
|
931
950
|
},
|
932
951
|
{
|
933
|
-
"kind": "
|
934
|
-
"name": "
|
935
|
-
"
|
936
|
-
|
952
|
+
"kind": "method",
|
953
|
+
"name": "onAfterUpdate",
|
954
|
+
"privacy": "public",
|
955
|
+
"return": {
|
956
|
+
"type": {
|
957
|
+
"text": "() => void"
|
958
|
+
}
|
937
959
|
},
|
938
|
-
"
|
939
|
-
|
960
|
+
"parameters": [
|
961
|
+
{
|
962
|
+
"name": "listener",
|
963
|
+
"type": {
|
964
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
965
|
+
}
|
966
|
+
}
|
967
|
+
]
|
940
968
|
}
|
941
969
|
]
|
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"
|
962
970
|
}
|
963
971
|
],
|
964
972
|
"exports": [
|
965
973
|
{
|
966
974
|
"kind": "js",
|
967
|
-
"name": "
|
968
|
-
"declaration": {
|
969
|
-
"name": "DefaultErrorMap",
|
970
|
-
"module": "src/error/errorMap.ts"
|
971
|
-
}
|
972
|
-
},
|
973
|
-
{
|
974
|
-
"kind": "js",
|
975
|
-
"name": "createErrorMap",
|
975
|
+
"name": "InMemoryDatabase",
|
976
976
|
"declaration": {
|
977
|
-
"name": "
|
978
|
-
"module": "src/
|
977
|
+
"name": "InMemoryDatabase",
|
978
|
+
"module": "src/data/inMemoryDatabase.ts"
|
979
979
|
}
|
980
980
|
}
|
981
981
|
]
|
982
982
|
},
|
983
983
|
{
|
984
984
|
"kind": "javascript-module",
|
985
|
-
"path": "src/
|
985
|
+
"path": "src/data/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": "./inMemoryDatabase"
|
994
994
|
}
|
995
995
|
}
|
996
996
|
]
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
3
3
|
"description": "Genesis Foundation Utils",
|
4
|
-
"version": "14.
|
4
|
+
"version": "14.229.0-RPT-20.1",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.
|
31
|
-
"@genesislcap/genx": "14.
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
33
|
-
"@genesislcap/ts-builder": "14.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
35
|
-
"@genesislcap/vite-builder": "14.
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
30
|
+
"@genesislcap/foundation-testing": "14.229.0-RPT-20.1",
|
31
|
+
"@genesislcap/genx": "14.229.0-RPT-20.1",
|
32
|
+
"@genesislcap/rollup-builder": "14.229.0-RPT-20.1",
|
33
|
+
"@genesislcap/ts-builder": "14.229.0-RPT-20.1",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.229.0-RPT-20.1",
|
35
|
+
"@genesislcap/vite-builder": "14.229.0-RPT-20.1",
|
36
|
+
"@genesislcap/webpack-builder": "14.229.0-RPT-20.1",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.229.0-RPT-20.1",
|
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": "cb0dfc6654ef83c7dc576e0d7b5b4708d335b600"
|
59
59
|
}
|