@genesislcap/foundation-utils 14.219.3-alpha-cbd5fc5.0 → 14.220.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +272 -272
- package/package.json +10 -10
@@ -169,42 +169,190 @@
|
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"kind": "javascript-module",
|
172
|
-
"path": "src/
|
172
|
+
"path": "src/data/inMemoryDatabase.ts",
|
173
173
|
"declarations": [
|
174
174
|
{
|
175
|
-
"kind": "
|
176
|
-
"
|
177
|
-
"
|
178
|
-
|
179
|
-
"text": "DesignSystemModule"
|
180
|
-
}
|
181
|
-
},
|
182
|
-
"parameters": [
|
175
|
+
"kind": "class",
|
176
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
177
|
+
"name": "InMemoryDatabase",
|
178
|
+
"members": [
|
183
179
|
{
|
184
|
-
"
|
180
|
+
"kind": "field",
|
181
|
+
"name": "isWorking",
|
185
182
|
"type": {
|
186
|
-
"text": "
|
187
|
-
}
|
183
|
+
"text": "boolean"
|
184
|
+
},
|
185
|
+
"privacy": "public",
|
186
|
+
"default": "false"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"kind": "field",
|
190
|
+
"name": "records",
|
191
|
+
"type": {
|
192
|
+
"text": "Record<string, T>"
|
193
|
+
},
|
194
|
+
"privacy": "private",
|
195
|
+
"default": "{}"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"kind": "field",
|
199
|
+
"name": "beforeUpdateListeners",
|
200
|
+
"privacy": "private"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"kind": "field",
|
204
|
+
"name": "afterUpdateListeners",
|
205
|
+
"privacy": "private"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"kind": "method",
|
209
|
+
"name": "create",
|
210
|
+
"privacy": "public",
|
211
|
+
"return": {
|
212
|
+
"type": {
|
213
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"parameters": [
|
217
|
+
{
|
218
|
+
"name": "newValue",
|
219
|
+
"type": {
|
220
|
+
"text": "Omit<T, 'id'>"
|
221
|
+
}
|
222
|
+
}
|
223
|
+
]
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"kind": "method",
|
227
|
+
"name": "read",
|
228
|
+
"privacy": "public",
|
229
|
+
"return": {
|
230
|
+
"type": {
|
231
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
232
|
+
}
|
233
|
+
},
|
234
|
+
"parameters": [
|
235
|
+
{
|
236
|
+
"name": "id",
|
237
|
+
"type": {
|
238
|
+
"text": "string"
|
239
|
+
}
|
240
|
+
}
|
241
|
+
]
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"kind": "method",
|
245
|
+
"name": "update",
|
246
|
+
"privacy": "public",
|
247
|
+
"return": {
|
248
|
+
"type": {
|
249
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
250
|
+
}
|
251
|
+
},
|
252
|
+
"parameters": [
|
253
|
+
{
|
254
|
+
"name": "id",
|
255
|
+
"type": {
|
256
|
+
"text": "string"
|
257
|
+
}
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"name": "newValue",
|
261
|
+
"type": {
|
262
|
+
"text": "Omit<Partial<T>, 'id'>"
|
263
|
+
}
|
264
|
+
}
|
265
|
+
]
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"kind": "method",
|
269
|
+
"name": "delete",
|
270
|
+
"privacy": "public",
|
271
|
+
"return": {
|
272
|
+
"type": {
|
273
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
274
|
+
}
|
275
|
+
},
|
276
|
+
"parameters": [
|
277
|
+
{
|
278
|
+
"name": "id",
|
279
|
+
"type": {
|
280
|
+
"text": "string"
|
281
|
+
}
|
282
|
+
}
|
283
|
+
]
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"kind": "method",
|
287
|
+
"name": "visit",
|
288
|
+
"privacy": "public",
|
289
|
+
"return": {
|
290
|
+
"type": {
|
291
|
+
"text": "Promise<void>"
|
292
|
+
}
|
293
|
+
},
|
294
|
+
"parameters": [
|
295
|
+
{
|
296
|
+
"name": "visitor",
|
297
|
+
"type": {
|
298
|
+
"text": "(record: T) => void"
|
299
|
+
}
|
300
|
+
}
|
301
|
+
]
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"kind": "method",
|
305
|
+
"name": "onBeforeUpdate",
|
306
|
+
"privacy": "public",
|
307
|
+
"return": {
|
308
|
+
"type": {
|
309
|
+
"text": "() => void"
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"parameters": [
|
313
|
+
{
|
314
|
+
"name": "listener",
|
315
|
+
"type": {
|
316
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
317
|
+
}
|
318
|
+
}
|
319
|
+
]
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"kind": "method",
|
323
|
+
"name": "onAfterUpdate",
|
324
|
+
"privacy": "public",
|
325
|
+
"return": {
|
326
|
+
"type": {
|
327
|
+
"text": "() => void"
|
328
|
+
}
|
329
|
+
},
|
330
|
+
"parameters": [
|
331
|
+
{
|
332
|
+
"name": "listener",
|
333
|
+
"type": {
|
334
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
335
|
+
}
|
336
|
+
}
|
337
|
+
]
|
188
338
|
}
|
189
|
-
]
|
190
|
-
"description": "assureDesignSystem.",
|
191
|
-
"privacy": "public"
|
339
|
+
]
|
192
340
|
}
|
193
341
|
],
|
194
342
|
"exports": [
|
195
343
|
{
|
196
344
|
"kind": "js",
|
197
|
-
"name": "
|
345
|
+
"name": "InMemoryDatabase",
|
198
346
|
"declaration": {
|
199
|
-
"name": "
|
200
|
-
"module": "src/
|
347
|
+
"name": "InMemoryDatabase",
|
348
|
+
"module": "src/data/inMemoryDatabase.ts"
|
201
349
|
}
|
202
350
|
}
|
203
351
|
]
|
204
352
|
},
|
205
353
|
{
|
206
354
|
"kind": "javascript-module",
|
207
|
-
"path": "src/
|
355
|
+
"path": "src/data/index.ts",
|
208
356
|
"declarations": [],
|
209
357
|
"exports": [
|
210
358
|
{
|
@@ -212,7 +360,7 @@
|
|
212
360
|
"name": "*",
|
213
361
|
"declaration": {
|
214
362
|
"name": "*",
|
215
|
-
"package": "./
|
363
|
+
"package": "./inMemoryDatabase"
|
216
364
|
}
|
217
365
|
}
|
218
366
|
]
|
@@ -235,7 +383,110 @@
|
|
235
383
|
"name": "*",
|
236
384
|
"declaration": {
|
237
385
|
"name": "*",
|
238
|
-
"package": "./when-else"
|
386
|
+
"package": "./when-else"
|
387
|
+
}
|
388
|
+
}
|
389
|
+
]
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"kind": "javascript-module",
|
393
|
+
"path": "src/decorators/index.ts",
|
394
|
+
"declarations": [],
|
395
|
+
"exports": [
|
396
|
+
{
|
397
|
+
"kind": "js",
|
398
|
+
"name": "*",
|
399
|
+
"declaration": {
|
400
|
+
"name": "*",
|
401
|
+
"package": "./renderOnChange"
|
402
|
+
}
|
403
|
+
}
|
404
|
+
]
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"kind": "javascript-module",
|
408
|
+
"path": "src/decorators/renderOnChange.ts",
|
409
|
+
"declarations": [
|
410
|
+
{
|
411
|
+
"kind": "function",
|
412
|
+
"name": "renderOnChange",
|
413
|
+
"parameters": [
|
414
|
+
{
|
415
|
+
"name": "target",
|
416
|
+
"type": {
|
417
|
+
"text": "FASTElement & { render(): void }"
|
418
|
+
},
|
419
|
+
"description": "The target to define the property change handler on."
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"name": "name",
|
423
|
+
"type": {
|
424
|
+
"text": "string"
|
425
|
+
},
|
426
|
+
"description": "The property name."
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
430
|
+
"privacy": "public"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"exports": [
|
434
|
+
{
|
435
|
+
"kind": "js",
|
436
|
+
"name": "renderOnChange",
|
437
|
+
"declaration": {
|
438
|
+
"name": "renderOnChange",
|
439
|
+
"module": "src/decorators/renderOnChange.ts"
|
440
|
+
}
|
441
|
+
}
|
442
|
+
]
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"kind": "javascript-module",
|
446
|
+
"path": "src/design-system/design-system.ts",
|
447
|
+
"declarations": [
|
448
|
+
{
|
449
|
+
"kind": "function",
|
450
|
+
"name": "assureDesignSystem",
|
451
|
+
"return": {
|
452
|
+
"type": {
|
453
|
+
"text": "DesignSystemModule"
|
454
|
+
}
|
455
|
+
},
|
456
|
+
"parameters": [
|
457
|
+
{
|
458
|
+
"name": "module",
|
459
|
+
"type": {
|
460
|
+
"text": "DesignSystemModule"
|
461
|
+
}
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"description": "assureDesignSystem.",
|
465
|
+
"privacy": "public"
|
466
|
+
}
|
467
|
+
],
|
468
|
+
"exports": [
|
469
|
+
{
|
470
|
+
"kind": "js",
|
471
|
+
"name": "assureDesignSystem",
|
472
|
+
"declaration": {
|
473
|
+
"name": "assureDesignSystem",
|
474
|
+
"module": "src/design-system/design-system.ts"
|
475
|
+
}
|
476
|
+
}
|
477
|
+
]
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"kind": "javascript-module",
|
481
|
+
"path": "src/design-system/index.ts",
|
482
|
+
"declarations": [],
|
483
|
+
"exports": [
|
484
|
+
{
|
485
|
+
"kind": "js",
|
486
|
+
"name": "*",
|
487
|
+
"declaration": {
|
488
|
+
"name": "*",
|
489
|
+
"package": "./design-system"
|
239
490
|
}
|
240
491
|
}
|
241
492
|
]
|
@@ -478,257 +729,6 @@
|
|
478
729
|
}
|
479
730
|
]
|
480
731
|
},
|
481
|
-
{
|
482
|
-
"kind": "javascript-module",
|
483
|
-
"path": "src/data/inMemoryDatabase.ts",
|
484
|
-
"declarations": [
|
485
|
-
{
|
486
|
-
"kind": "class",
|
487
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
488
|
-
"name": "InMemoryDatabase",
|
489
|
-
"members": [
|
490
|
-
{
|
491
|
-
"kind": "field",
|
492
|
-
"name": "isWorking",
|
493
|
-
"type": {
|
494
|
-
"text": "boolean"
|
495
|
-
},
|
496
|
-
"privacy": "public",
|
497
|
-
"default": "false"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"kind": "field",
|
501
|
-
"name": "records",
|
502
|
-
"type": {
|
503
|
-
"text": "Record<string, T>"
|
504
|
-
},
|
505
|
-
"privacy": "private",
|
506
|
-
"default": "{}"
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"kind": "field",
|
510
|
-
"name": "beforeUpdateListeners",
|
511
|
-
"privacy": "private"
|
512
|
-
},
|
513
|
-
{
|
514
|
-
"kind": "field",
|
515
|
-
"name": "afterUpdateListeners",
|
516
|
-
"privacy": "private"
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"kind": "method",
|
520
|
-
"name": "create",
|
521
|
-
"privacy": "public",
|
522
|
-
"return": {
|
523
|
-
"type": {
|
524
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
525
|
-
}
|
526
|
-
},
|
527
|
-
"parameters": [
|
528
|
-
{
|
529
|
-
"name": "newValue",
|
530
|
-
"type": {
|
531
|
-
"text": "Omit<T, 'id'>"
|
532
|
-
}
|
533
|
-
}
|
534
|
-
]
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"kind": "method",
|
538
|
-
"name": "read",
|
539
|
-
"privacy": "public",
|
540
|
-
"return": {
|
541
|
-
"type": {
|
542
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
543
|
-
}
|
544
|
-
},
|
545
|
-
"parameters": [
|
546
|
-
{
|
547
|
-
"name": "id",
|
548
|
-
"type": {
|
549
|
-
"text": "string"
|
550
|
-
}
|
551
|
-
}
|
552
|
-
]
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"kind": "method",
|
556
|
-
"name": "update",
|
557
|
-
"privacy": "public",
|
558
|
-
"return": {
|
559
|
-
"type": {
|
560
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
561
|
-
}
|
562
|
-
},
|
563
|
-
"parameters": [
|
564
|
-
{
|
565
|
-
"name": "id",
|
566
|
-
"type": {
|
567
|
-
"text": "string"
|
568
|
-
}
|
569
|
-
},
|
570
|
-
{
|
571
|
-
"name": "newValue",
|
572
|
-
"type": {
|
573
|
-
"text": "Omit<Partial<T>, 'id'>"
|
574
|
-
}
|
575
|
-
}
|
576
|
-
]
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"kind": "method",
|
580
|
-
"name": "delete",
|
581
|
-
"privacy": "public",
|
582
|
-
"return": {
|
583
|
-
"type": {
|
584
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
585
|
-
}
|
586
|
-
},
|
587
|
-
"parameters": [
|
588
|
-
{
|
589
|
-
"name": "id",
|
590
|
-
"type": {
|
591
|
-
"text": "string"
|
592
|
-
}
|
593
|
-
}
|
594
|
-
]
|
595
|
-
},
|
596
|
-
{
|
597
|
-
"kind": "method",
|
598
|
-
"name": "visit",
|
599
|
-
"privacy": "public",
|
600
|
-
"return": {
|
601
|
-
"type": {
|
602
|
-
"text": "Promise<void>"
|
603
|
-
}
|
604
|
-
},
|
605
|
-
"parameters": [
|
606
|
-
{
|
607
|
-
"name": "visitor",
|
608
|
-
"type": {
|
609
|
-
"text": "(record: T) => void"
|
610
|
-
}
|
611
|
-
}
|
612
|
-
]
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"kind": "method",
|
616
|
-
"name": "onBeforeUpdate",
|
617
|
-
"privacy": "public",
|
618
|
-
"return": {
|
619
|
-
"type": {
|
620
|
-
"text": "() => void"
|
621
|
-
}
|
622
|
-
},
|
623
|
-
"parameters": [
|
624
|
-
{
|
625
|
-
"name": "listener",
|
626
|
-
"type": {
|
627
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
628
|
-
}
|
629
|
-
}
|
630
|
-
]
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"kind": "method",
|
634
|
-
"name": "onAfterUpdate",
|
635
|
-
"privacy": "public",
|
636
|
-
"return": {
|
637
|
-
"type": {
|
638
|
-
"text": "() => void"
|
639
|
-
}
|
640
|
-
},
|
641
|
-
"parameters": [
|
642
|
-
{
|
643
|
-
"name": "listener",
|
644
|
-
"type": {
|
645
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
646
|
-
}
|
647
|
-
}
|
648
|
-
]
|
649
|
-
}
|
650
|
-
]
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"exports": [
|
654
|
-
{
|
655
|
-
"kind": "js",
|
656
|
-
"name": "InMemoryDatabase",
|
657
|
-
"declaration": {
|
658
|
-
"name": "InMemoryDatabase",
|
659
|
-
"module": "src/data/inMemoryDatabase.ts"
|
660
|
-
}
|
661
|
-
}
|
662
|
-
]
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"kind": "javascript-module",
|
666
|
-
"path": "src/data/index.ts",
|
667
|
-
"declarations": [],
|
668
|
-
"exports": [
|
669
|
-
{
|
670
|
-
"kind": "js",
|
671
|
-
"name": "*",
|
672
|
-
"declaration": {
|
673
|
-
"name": "*",
|
674
|
-
"package": "./inMemoryDatabase"
|
675
|
-
}
|
676
|
-
}
|
677
|
-
]
|
678
|
-
},
|
679
|
-
{
|
680
|
-
"kind": "javascript-module",
|
681
|
-
"path": "src/decorators/index.ts",
|
682
|
-
"declarations": [],
|
683
|
-
"exports": [
|
684
|
-
{
|
685
|
-
"kind": "js",
|
686
|
-
"name": "*",
|
687
|
-
"declaration": {
|
688
|
-
"name": "*",
|
689
|
-
"package": "./renderOnChange"
|
690
|
-
}
|
691
|
-
}
|
692
|
-
]
|
693
|
-
},
|
694
|
-
{
|
695
|
-
"kind": "javascript-module",
|
696
|
-
"path": "src/decorators/renderOnChange.ts",
|
697
|
-
"declarations": [
|
698
|
-
{
|
699
|
-
"kind": "function",
|
700
|
-
"name": "renderOnChange",
|
701
|
-
"parameters": [
|
702
|
-
{
|
703
|
-
"name": "target",
|
704
|
-
"type": {
|
705
|
-
"text": "FASTElement & { render(): void }"
|
706
|
-
},
|
707
|
-
"description": "The target to define the property change handler on."
|
708
|
-
},
|
709
|
-
{
|
710
|
-
"name": "name",
|
711
|
-
"type": {
|
712
|
-
"text": "string"
|
713
|
-
},
|
714
|
-
"description": "The property name."
|
715
|
-
}
|
716
|
-
],
|
717
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
718
|
-
"privacy": "public"
|
719
|
-
}
|
720
|
-
],
|
721
|
-
"exports": [
|
722
|
-
{
|
723
|
-
"kind": "js",
|
724
|
-
"name": "renderOnChange",
|
725
|
-
"declaration": {
|
726
|
-
"name": "renderOnChange",
|
727
|
-
"module": "src/decorators/renderOnChange.ts"
|
728
|
-
}
|
729
|
-
}
|
730
|
-
]
|
731
|
-
},
|
732
732
|
{
|
733
733
|
"kind": "javascript-module",
|
734
734
|
"path": "src/error/errorMap.ts",
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
3
3
|
"description": "Genesis Foundation Utils",
|
4
|
-
"version": "14.
|
4
|
+
"version": "14.220.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.
|
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.220.0",
|
31
|
+
"@genesislcap/genx": "14.220.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.220.0",
|
33
|
+
"@genesislcap/ts-builder": "14.220.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.220.0",
|
35
|
+
"@genesislcap/vite-builder": "14.220.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.220.0",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
40
|
+
"@genesislcap/foundation-logger": "14.220.0",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.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": "18dcf3cbca18cf957d0bb082cb87c8b677ffe7b6"
|
59
59
|
}
|