@genesislcap/foundation-utils 15.79.2-alpha-e9d30db797.0 → 15.80.0-FUI-2666.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -258,204 +258,6 @@
258
258
  }
259
259
  ]
260
260
  },
261
- {
262
- "kind": "javascript-module",
263
- "path": "src/data/inMemoryDatabase.ts",
264
- "declarations": [
265
- {
266
- "kind": "class",
267
- "description": "An in memory database of specific DatabaseRecord types.",
268
- "name": "InMemoryDatabase",
269
- "members": [
270
- {
271
- "kind": "field",
272
- "name": "isWorking",
273
- "type": {
274
- "text": "boolean"
275
- },
276
- "privacy": "public",
277
- "default": "false"
278
- },
279
- {
280
- "kind": "field",
281
- "name": "records",
282
- "type": {
283
- "text": "Record<string, T>"
284
- },
285
- "privacy": "private",
286
- "default": "{}"
287
- },
288
- {
289
- "kind": "field",
290
- "name": "beforeUpdateListeners",
291
- "privacy": "private"
292
- },
293
- {
294
- "kind": "field",
295
- "name": "afterUpdateListeners",
296
- "privacy": "private"
297
- },
298
- {
299
- "kind": "method",
300
- "name": "create",
301
- "privacy": "public",
302
- "return": {
303
- "type": {
304
- "text": "Promise<DatabaseAccessResult.Create<T>>"
305
- }
306
- },
307
- "parameters": [
308
- {
309
- "name": "newValue",
310
- "type": {
311
- "text": "Omit<T, 'id'>"
312
- }
313
- }
314
- ]
315
- },
316
- {
317
- "kind": "method",
318
- "name": "read",
319
- "privacy": "public",
320
- "return": {
321
- "type": {
322
- "text": "Promise<DatabaseAccessResult.Read<T>>"
323
- }
324
- },
325
- "parameters": [
326
- {
327
- "name": "id",
328
- "type": {
329
- "text": "string"
330
- }
331
- }
332
- ]
333
- },
334
- {
335
- "kind": "method",
336
- "name": "update",
337
- "privacy": "public",
338
- "return": {
339
- "type": {
340
- "text": "Promise<DatabaseAccessResult.Update<T>>"
341
- }
342
- },
343
- "parameters": [
344
- {
345
- "name": "id",
346
- "type": {
347
- "text": "string"
348
- }
349
- },
350
- {
351
- "name": "newValue",
352
- "type": {
353
- "text": "Omit<Partial<T>, 'id'>"
354
- }
355
- }
356
- ]
357
- },
358
- {
359
- "kind": "method",
360
- "name": "delete",
361
- "privacy": "public",
362
- "return": {
363
- "type": {
364
- "text": "Promise<DatabaseAccessResult.Delete>"
365
- }
366
- },
367
- "parameters": [
368
- {
369
- "name": "id",
370
- "type": {
371
- "text": "string"
372
- }
373
- }
374
- ]
375
- },
376
- {
377
- "kind": "method",
378
- "name": "visit",
379
- "privacy": "public",
380
- "return": {
381
- "type": {
382
- "text": "Promise<void>"
383
- }
384
- },
385
- "parameters": [
386
- {
387
- "name": "visitor",
388
- "type": {
389
- "text": "(record: T) => void"
390
- }
391
- }
392
- ]
393
- },
394
- {
395
- "kind": "method",
396
- "name": "onBeforeUpdate",
397
- "privacy": "public",
398
- "return": {
399
- "type": {
400
- "text": "() => void"
401
- }
402
- },
403
- "parameters": [
404
- {
405
- "name": "listener",
406
- "type": {
407
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
408
- }
409
- }
410
- ]
411
- },
412
- {
413
- "kind": "method",
414
- "name": "onAfterUpdate",
415
- "privacy": "public",
416
- "return": {
417
- "type": {
418
- "text": "() => void"
419
- }
420
- },
421
- "parameters": [
422
- {
423
- "name": "listener",
424
- "type": {
425
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
426
- }
427
- }
428
- ]
429
- }
430
- ]
431
- }
432
- ],
433
- "exports": [
434
- {
435
- "kind": "js",
436
- "name": "InMemoryDatabase",
437
- "declaration": {
438
- "name": "InMemoryDatabase",
439
- "module": "src/data/inMemoryDatabase.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/data/index.ts",
447
- "declarations": [],
448
- "exports": [
449
- {
450
- "kind": "js",
451
- "name": "*",
452
- "declaration": {
453
- "name": "*",
454
- "package": "./inMemoryDatabase"
455
- }
456
- }
457
- ]
458
- },
459
261
  {
460
262
  "kind": "javascript-module",
461
263
  "path": "src/design-system/design-system.ts",
@@ -696,7 +498,7 @@
696
498
  },
697
499
  {
698
500
  "kind": "javascript-module",
699
- "path": "src/decorators/index.ts",
501
+ "path": "src/directives/index.ts",
700
502
  "declarations": [],
701
503
  "exports": [
702
504
  {
@@ -704,75 +506,220 @@
704
506
  "name": "*",
705
507
  "declaration": {
706
508
  "name": "*",
707
- "package": "./renderOnChange"
509
+ "package": "./sync"
510
+ }
511
+ },
512
+ {
513
+ "kind": "js",
514
+ "name": "*",
515
+ "declaration": {
516
+ "name": "*",
517
+ "package": "./when-else"
708
518
  }
709
519
  }
710
520
  ]
711
521
  },
712
522
  {
713
523
  "kind": "javascript-module",
714
- "path": "src/decorators/renderOnChange.ts",
524
+ "path": "src/encoding/index.ts",
525
+ "declarations": [],
526
+ "exports": [
527
+ {
528
+ "kind": "js",
529
+ "name": "*",
530
+ "declaration": {
531
+ "name": "*",
532
+ "package": "./base64"
533
+ }
534
+ }
535
+ ]
536
+ },
537
+ {
538
+ "kind": "javascript-module",
539
+ "path": "src/data/inMemoryDatabase.ts",
715
540
  "declarations": [
716
541
  {
717
- "kind": "function",
718
- "name": "renderOnChange",
719
- "parameters": [
542
+ "kind": "class",
543
+ "description": "An in memory database of specific DatabaseRecord types.",
544
+ "name": "InMemoryDatabase",
545
+ "members": [
720
546
  {
721
- "name": "target",
547
+ "kind": "field",
548
+ "name": "isWorking",
722
549
  "type": {
723
- "text": "FASTElement & { render(): void }"
550
+ "text": "boolean"
724
551
  },
725
- "description": "The target to define the property change handler on."
552
+ "privacy": "public",
553
+ "default": "false"
726
554
  },
727
555
  {
728
- "name": "name",
556
+ "kind": "field",
557
+ "name": "records",
729
558
  "type": {
730
- "text": "string"
559
+ "text": "Record<string, T>"
731
560
  },
732
- "description": "The property name."
561
+ "privacy": "private",
562
+ "default": "{}"
563
+ },
564
+ {
565
+ "kind": "field",
566
+ "name": "beforeUpdateListeners",
567
+ "privacy": "private"
568
+ },
569
+ {
570
+ "kind": "field",
571
+ "name": "afterUpdateListeners",
572
+ "privacy": "private"
573
+ },
574
+ {
575
+ "kind": "method",
576
+ "name": "create",
577
+ "privacy": "public",
578
+ "return": {
579
+ "type": {
580
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
581
+ }
582
+ },
583
+ "parameters": [
584
+ {
585
+ "name": "newValue",
586
+ "type": {
587
+ "text": "Omit<T, 'id'>"
588
+ }
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "kind": "method",
594
+ "name": "read",
595
+ "privacy": "public",
596
+ "return": {
597
+ "type": {
598
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
599
+ }
600
+ },
601
+ "parameters": [
602
+ {
603
+ "name": "id",
604
+ "type": {
605
+ "text": "string"
606
+ }
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "kind": "method",
612
+ "name": "update",
613
+ "privacy": "public",
614
+ "return": {
615
+ "type": {
616
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
617
+ }
618
+ },
619
+ "parameters": [
620
+ {
621
+ "name": "id",
622
+ "type": {
623
+ "text": "string"
624
+ }
625
+ },
626
+ {
627
+ "name": "newValue",
628
+ "type": {
629
+ "text": "Omit<Partial<T>, 'id'>"
630
+ }
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "kind": "method",
636
+ "name": "delete",
637
+ "privacy": "public",
638
+ "return": {
639
+ "type": {
640
+ "text": "Promise<DatabaseAccessResult.Delete>"
641
+ }
642
+ },
643
+ "parameters": [
644
+ {
645
+ "name": "id",
646
+ "type": {
647
+ "text": "string"
648
+ }
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "kind": "method",
654
+ "name": "visit",
655
+ "privacy": "public",
656
+ "return": {
657
+ "type": {
658
+ "text": "Promise<void>"
659
+ }
660
+ },
661
+ "parameters": [
662
+ {
663
+ "name": "visitor",
664
+ "type": {
665
+ "text": "(record: T) => void"
666
+ }
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "kind": "method",
672
+ "name": "onBeforeUpdate",
673
+ "privacy": "public",
674
+ "return": {
675
+ "type": {
676
+ "text": "() => void"
677
+ }
678
+ },
679
+ "parameters": [
680
+ {
681
+ "name": "listener",
682
+ "type": {
683
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
684
+ }
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ "kind": "method",
690
+ "name": "onAfterUpdate",
691
+ "privacy": "public",
692
+ "return": {
693
+ "type": {
694
+ "text": "() => void"
695
+ }
696
+ },
697
+ "parameters": [
698
+ {
699
+ "name": "listener",
700
+ "type": {
701
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
702
+ }
703
+ }
704
+ ]
733
705
  }
734
- ],
735
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
736
- "privacy": "public"
706
+ ]
737
707
  }
738
708
  ],
739
709
  "exports": [
740
710
  {
741
711
  "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/directives/index.ts",
753
- "declarations": [],
754
- "exports": [
755
- {
756
- "kind": "js",
757
- "name": "*",
758
- "declaration": {
759
- "name": "*",
760
- "package": "./sync"
761
- }
762
- },
763
- {
764
- "kind": "js",
765
- "name": "*",
712
+ "name": "InMemoryDatabase",
766
713
  "declaration": {
767
- "name": "*",
768
- "package": "./when-else"
714
+ "name": "InMemoryDatabase",
715
+ "module": "src/data/inMemoryDatabase.ts"
769
716
  }
770
717
  }
771
718
  ]
772
719
  },
773
720
  {
774
721
  "kind": "javascript-module",
775
- "path": "src/encoding/index.ts",
722
+ "path": "src/data/index.ts",
776
723
  "declarations": [],
777
724
  "exports": [
778
725
  {
@@ -780,7 +727,7 @@
780
727
  "name": "*",
781
728
  "declaration": {
782
729
  "name": "*",
783
- "package": "./base64"
730
+ "package": "./inMemoryDatabase"
784
731
  }
785
732
  }
786
733
  ]
@@ -1284,6 +1231,59 @@
1284
1231
  }
1285
1232
  ]
1286
1233
  },
1234
+ {
1235
+ "kind": "javascript-module",
1236
+ "path": "src/decorators/index.ts",
1237
+ "declarations": [],
1238
+ "exports": [
1239
+ {
1240
+ "kind": "js",
1241
+ "name": "*",
1242
+ "declaration": {
1243
+ "name": "*",
1244
+ "package": "./renderOnChange"
1245
+ }
1246
+ }
1247
+ ]
1248
+ },
1249
+ {
1250
+ "kind": "javascript-module",
1251
+ "path": "src/decorators/renderOnChange.ts",
1252
+ "declarations": [
1253
+ {
1254
+ "kind": "function",
1255
+ "name": "renderOnChange",
1256
+ "parameters": [
1257
+ {
1258
+ "name": "target",
1259
+ "type": {
1260
+ "text": "FASTElement & { render(): void }"
1261
+ },
1262
+ "description": "The target to define the property change handler on."
1263
+ },
1264
+ {
1265
+ "name": "name",
1266
+ "type": {
1267
+ "text": "string"
1268
+ },
1269
+ "description": "The property name."
1270
+ }
1271
+ ],
1272
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1273
+ "privacy": "public"
1274
+ }
1275
+ ],
1276
+ "exports": [
1277
+ {
1278
+ "kind": "js",
1279
+ "name": "renderOnChange",
1280
+ "declaration": {
1281
+ "name": "renderOnChange",
1282
+ "module": "src/decorators/renderOnChange.ts"
1283
+ }
1284
+ }
1285
+ ]
1286
+ },
1287
1287
  {
1288
1288
  "kind": "javascript-module",
1289
1289
  "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": "15.79.2-alpha-e9d30db797.0",
4
+ "version": "15.80.0-FUI-2666.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.79.2-alpha-e9d30db797.0",
33
- "@genesislcap/genx": "15.79.2-alpha-e9d30db797.0",
34
- "@genesislcap/ts-builder": "15.79.2-alpha-e9d30db797.0",
35
- "@genesislcap/uvu-playwright-builder": "15.79.2-alpha-e9d30db797.0",
36
- "@genesislcap/vite-builder": "15.79.2-alpha-e9d30db797.0",
37
- "@genesislcap/webpack-builder": "15.79.2-alpha-e9d30db797.0",
32
+ "@genesislcap/foundation-testing": "15.80.0-FUI-2666.1",
33
+ "@genesislcap/genx": "15.80.0-FUI-2666.1",
34
+ "@genesislcap/ts-builder": "15.80.0-FUI-2666.1",
35
+ "@genesislcap/uvu-playwright-builder": "15.80.0-FUI-2666.1",
36
+ "@genesislcap/vite-builder": "15.80.0-FUI-2666.1",
37
+ "@genesislcap/webpack-builder": "15.80.0-FUI-2666.1",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.79.2-alpha-e9d30db797.0",
42
- "@genesislcap/foundation-logger": "15.79.2-alpha-e9d30db797.0",
41
+ "@genesislcap/expression-builder": "15.80.0-FUI-2666.1",
42
+ "@genesislcap/foundation-logger": "15.80.0-FUI-2666.1",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",