@genesislcap/foundation-utils 14.472.1-alpha-c6ccba5.0 → 14.472.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +231 -231
  2. package/package.json +11 -11
@@ -250,204 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/data/inMemoryDatabase.ts",
256
- "declarations": [
257
- {
258
- "kind": "class",
259
- "description": "An in memory database of specific DatabaseRecord types.",
260
- "name": "InMemoryDatabase",
261
- "members": [
262
- {
263
- "kind": "field",
264
- "name": "isWorking",
265
- "type": {
266
- "text": "boolean"
267
- },
268
- "privacy": "public",
269
- "default": "false"
270
- },
271
- {
272
- "kind": "field",
273
- "name": "records",
274
- "type": {
275
- "text": "Record<string, T>"
276
- },
277
- "privacy": "private",
278
- "default": "{}"
279
- },
280
- {
281
- "kind": "field",
282
- "name": "beforeUpdateListeners",
283
- "privacy": "private"
284
- },
285
- {
286
- "kind": "field",
287
- "name": "afterUpdateListeners",
288
- "privacy": "private"
289
- },
290
- {
291
- "kind": "method",
292
- "name": "create",
293
- "privacy": "public",
294
- "return": {
295
- "type": {
296
- "text": "Promise<DatabaseAccessResult.Create<T>>"
297
- }
298
- },
299
- "parameters": [
300
- {
301
- "name": "newValue",
302
- "type": {
303
- "text": "Omit<T, 'id'>"
304
- }
305
- }
306
- ]
307
- },
308
- {
309
- "kind": "method",
310
- "name": "read",
311
- "privacy": "public",
312
- "return": {
313
- "type": {
314
- "text": "Promise<DatabaseAccessResult.Read<T>>"
315
- }
316
- },
317
- "parameters": [
318
- {
319
- "name": "id",
320
- "type": {
321
- "text": "string"
322
- }
323
- }
324
- ]
325
- },
326
- {
327
- "kind": "method",
328
- "name": "update",
329
- "privacy": "public",
330
- "return": {
331
- "type": {
332
- "text": "Promise<DatabaseAccessResult.Update<T>>"
333
- }
334
- },
335
- "parameters": [
336
- {
337
- "name": "id",
338
- "type": {
339
- "text": "string"
340
- }
341
- },
342
- {
343
- "name": "newValue",
344
- "type": {
345
- "text": "Omit<Partial<T>, 'id'>"
346
- }
347
- }
348
- ]
349
- },
350
- {
351
- "kind": "method",
352
- "name": "delete",
353
- "privacy": "public",
354
- "return": {
355
- "type": {
356
- "text": "Promise<DatabaseAccessResult.Delete>"
357
- }
358
- },
359
- "parameters": [
360
- {
361
- "name": "id",
362
- "type": {
363
- "text": "string"
364
- }
365
- }
366
- ]
367
- },
368
- {
369
- "kind": "method",
370
- "name": "visit",
371
- "privacy": "public",
372
- "return": {
373
- "type": {
374
- "text": "Promise<void>"
375
- }
376
- },
377
- "parameters": [
378
- {
379
- "name": "visitor",
380
- "type": {
381
- "text": "(record: T) => void"
382
- }
383
- }
384
- ]
385
- },
386
- {
387
- "kind": "method",
388
- "name": "onBeforeUpdate",
389
- "privacy": "public",
390
- "return": {
391
- "type": {
392
- "text": "() => void"
393
- }
394
- },
395
- "parameters": [
396
- {
397
- "name": "listener",
398
- "type": {
399
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
400
- }
401
- }
402
- ]
403
- },
404
- {
405
- "kind": "method",
406
- "name": "onAfterUpdate",
407
- "privacy": "public",
408
- "return": {
409
- "type": {
410
- "text": "() => void"
411
- }
412
- },
413
- "parameters": [
414
- {
415
- "name": "listener",
416
- "type": {
417
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
418
- }
419
- }
420
- ]
421
- }
422
- ]
423
- }
424
- ],
425
- "exports": [
426
- {
427
- "kind": "js",
428
- "name": "InMemoryDatabase",
429
- "declaration": {
430
- "name": "InMemoryDatabase",
431
- "module": "src/data/inMemoryDatabase.ts"
432
- }
433
- }
434
- ]
435
- },
436
- {
437
- "kind": "javascript-module",
438
- "path": "src/data/index.ts",
439
- "declarations": [],
440
- "exports": [
441
- {
442
- "kind": "js",
443
- "name": "*",
444
- "declaration": {
445
- "name": "*",
446
- "package": "./inMemoryDatabase"
447
- }
448
- }
449
- ]
450
- },
451
253
  {
452
254
  "kind": "javascript-module",
453
255
  "path": "src/design-system/design-system.ts",
@@ -652,7 +454,7 @@
652
454
  },
653
455
  {
654
456
  "kind": "javascript-module",
655
- "path": "src/directives/index.ts",
457
+ "path": "src/decorators/index.ts",
656
458
  "declarations": [],
657
459
  "exports": [
658
460
  {
@@ -660,37 +462,52 @@
660
462
  "name": "*",
661
463
  "declaration": {
662
464
  "name": "*",
663
- "package": "./sync"
664
- }
665
- },
666
- {
667
- "kind": "js",
668
- "name": "*",
669
- "declaration": {
670
- "name": "*",
671
- "package": "./when-else"
465
+ "package": "./renderOnChange"
672
466
  }
673
467
  }
674
468
  ]
675
469
  },
676
470
  {
677
471
  "kind": "javascript-module",
678
- "path": "src/encoding/index.ts",
679
- "declarations": [],
472
+ "path": "src/decorators/renderOnChange.ts",
473
+ "declarations": [
474
+ {
475
+ "kind": "function",
476
+ "name": "renderOnChange",
477
+ "parameters": [
478
+ {
479
+ "name": "target",
480
+ "type": {
481
+ "text": "FASTElement & { render(): void }"
482
+ },
483
+ "description": "The target to define the property change handler on."
484
+ },
485
+ {
486
+ "name": "name",
487
+ "type": {
488
+ "text": "string"
489
+ },
490
+ "description": "The property name."
491
+ }
492
+ ],
493
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
494
+ "privacy": "public"
495
+ }
496
+ ],
680
497
  "exports": [
681
498
  {
682
499
  "kind": "js",
683
- "name": "*",
500
+ "name": "renderOnChange",
684
501
  "declaration": {
685
- "name": "*",
686
- "package": "./base64"
502
+ "name": "renderOnChange",
503
+ "module": "src/decorators/renderOnChange.ts"
687
504
  }
688
505
  }
689
506
  ]
690
507
  },
691
508
  {
692
509
  "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
510
+ "path": "src/directives/index.ts",
694
511
  "declarations": [],
695
512
  "exports": [
696
513
  {
@@ -698,45 +515,228 @@
698
515
  "name": "*",
699
516
  "declaration": {
700
517
  "name": "*",
701
- "package": "./renderOnChange"
518
+ "package": "./sync"
519
+ }
520
+ },
521
+ {
522
+ "kind": "js",
523
+ "name": "*",
524
+ "declaration": {
525
+ "name": "*",
526
+ "package": "./when-else"
702
527
  }
703
528
  }
704
529
  ]
705
530
  },
706
531
  {
707
532
  "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
533
+ "path": "src/data/inMemoryDatabase.ts",
709
534
  "declarations": [
710
535
  {
711
- "kind": "function",
712
- "name": "renderOnChange",
713
- "parameters": [
536
+ "kind": "class",
537
+ "description": "An in memory database of specific DatabaseRecord types.",
538
+ "name": "InMemoryDatabase",
539
+ "members": [
714
540
  {
715
- "name": "target",
541
+ "kind": "field",
542
+ "name": "isWorking",
716
543
  "type": {
717
- "text": "FASTElement & { render(): void }"
544
+ "text": "boolean"
718
545
  },
719
- "description": "The target to define the property change handler on."
546
+ "privacy": "public",
547
+ "default": "false"
720
548
  },
721
549
  {
722
- "name": "name",
550
+ "kind": "field",
551
+ "name": "records",
723
552
  "type": {
724
- "text": "string"
553
+ "text": "Record<string, T>"
725
554
  },
726
- "description": "The property name."
555
+ "privacy": "private",
556
+ "default": "{}"
557
+ },
558
+ {
559
+ "kind": "field",
560
+ "name": "beforeUpdateListeners",
561
+ "privacy": "private"
562
+ },
563
+ {
564
+ "kind": "field",
565
+ "name": "afterUpdateListeners",
566
+ "privacy": "private"
567
+ },
568
+ {
569
+ "kind": "method",
570
+ "name": "create",
571
+ "privacy": "public",
572
+ "return": {
573
+ "type": {
574
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
575
+ }
576
+ },
577
+ "parameters": [
578
+ {
579
+ "name": "newValue",
580
+ "type": {
581
+ "text": "Omit<T, 'id'>"
582
+ }
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "kind": "method",
588
+ "name": "read",
589
+ "privacy": "public",
590
+ "return": {
591
+ "type": {
592
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
593
+ }
594
+ },
595
+ "parameters": [
596
+ {
597
+ "name": "id",
598
+ "type": {
599
+ "text": "string"
600
+ }
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "kind": "method",
606
+ "name": "update",
607
+ "privacy": "public",
608
+ "return": {
609
+ "type": {
610
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
611
+ }
612
+ },
613
+ "parameters": [
614
+ {
615
+ "name": "id",
616
+ "type": {
617
+ "text": "string"
618
+ }
619
+ },
620
+ {
621
+ "name": "newValue",
622
+ "type": {
623
+ "text": "Omit<Partial<T>, 'id'>"
624
+ }
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ "kind": "method",
630
+ "name": "delete",
631
+ "privacy": "public",
632
+ "return": {
633
+ "type": {
634
+ "text": "Promise<DatabaseAccessResult.Delete>"
635
+ }
636
+ },
637
+ "parameters": [
638
+ {
639
+ "name": "id",
640
+ "type": {
641
+ "text": "string"
642
+ }
643
+ }
644
+ ]
645
+ },
646
+ {
647
+ "kind": "method",
648
+ "name": "visit",
649
+ "privacy": "public",
650
+ "return": {
651
+ "type": {
652
+ "text": "Promise<void>"
653
+ }
654
+ },
655
+ "parameters": [
656
+ {
657
+ "name": "visitor",
658
+ "type": {
659
+ "text": "(record: T) => void"
660
+ }
661
+ }
662
+ ]
663
+ },
664
+ {
665
+ "kind": "method",
666
+ "name": "onBeforeUpdate",
667
+ "privacy": "public",
668
+ "return": {
669
+ "type": {
670
+ "text": "() => void"
671
+ }
672
+ },
673
+ "parameters": [
674
+ {
675
+ "name": "listener",
676
+ "type": {
677
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
678
+ }
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "kind": "method",
684
+ "name": "onAfterUpdate",
685
+ "privacy": "public",
686
+ "return": {
687
+ "type": {
688
+ "text": "() => void"
689
+ }
690
+ },
691
+ "parameters": [
692
+ {
693
+ "name": "listener",
694
+ "type": {
695
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
696
+ }
697
+ }
698
+ ]
727
699
  }
728
- ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
730
- "privacy": "public"
700
+ ]
731
701
  }
732
702
  ],
733
703
  "exports": [
734
704
  {
735
705
  "kind": "js",
736
- "name": "renderOnChange",
706
+ "name": "InMemoryDatabase",
737
707
  "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
708
+ "name": "InMemoryDatabase",
709
+ "module": "src/data/inMemoryDatabase.ts"
710
+ }
711
+ }
712
+ ]
713
+ },
714
+ {
715
+ "kind": "javascript-module",
716
+ "path": "src/data/index.ts",
717
+ "declarations": [],
718
+ "exports": [
719
+ {
720
+ "kind": "js",
721
+ "name": "*",
722
+ "declaration": {
723
+ "name": "*",
724
+ "package": "./inMemoryDatabase"
725
+ }
726
+ }
727
+ ]
728
+ },
729
+ {
730
+ "kind": "javascript-module",
731
+ "path": "src/encoding/index.ts",
732
+ "declarations": [],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./base64"
740
740
  }
741
741
  }
742
742
  ]
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.472.1-alpha-c6ccba5.0",
4
+ "version": "14.472.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "14.472.1-alpha-c6ccba5.0",
33
- "@genesislcap/genx": "14.472.1-alpha-c6ccba5.0",
34
- "@genesislcap/rollup-builder": "14.472.1-alpha-c6ccba5.0",
35
- "@genesislcap/ts-builder": "14.472.1-alpha-c6ccba5.0",
36
- "@genesislcap/uvu-playwright-builder": "14.472.1-alpha-c6ccba5.0",
37
- "@genesislcap/vite-builder": "14.472.1-alpha-c6ccba5.0",
38
- "@genesislcap/webpack-builder": "14.472.1-alpha-c6ccba5.0",
32
+ "@genesislcap/foundation-testing": "14.472.1",
33
+ "@genesislcap/genx": "14.472.1",
34
+ "@genesislcap/rollup-builder": "14.472.1",
35
+ "@genesislcap/ts-builder": "14.472.1",
36
+ "@genesislcap/uvu-playwright-builder": "14.472.1",
37
+ "@genesislcap/vite-builder": "14.472.1",
38
+ "@genesislcap/webpack-builder": "14.472.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.472.1-alpha-c6ccba5.0",
43
- "@genesislcap/foundation-logger": "14.472.1-alpha-c6ccba5.0",
42
+ "@genesislcap/expression-builder": "14.472.1",
43
+ "@genesislcap/foundation-logger": "14.472.1",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "51eae869bff861d522ada8626ee8e154b6326732"
61
+ "gitHead": "552eb1292e66bba5b3f27f2b0fbd6cbe62c20772"
62
62
  }