@genesislcap/foundation-utils 14.195.3-FUI-2102.1 → 14.195.3-FUI-2102.2

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 +265 -265
  2. package/package.json +10 -10
@@ -159,204 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "kind": "javascript-module",
164
- "path": "src/data/inMemoryDatabase.ts",
165
- "declarations": [
166
- {
167
- "kind": "class",
168
- "description": "An in memory database of specific DatabaseRecord types.",
169
- "name": "InMemoryDatabase",
170
- "members": [
171
- {
172
- "kind": "field",
173
- "name": "isWorking",
174
- "type": {
175
- "text": "boolean"
176
- },
177
- "privacy": "public",
178
- "default": "false"
179
- },
180
- {
181
- "kind": "field",
182
- "name": "records",
183
- "type": {
184
- "text": "Record<string, T>"
185
- },
186
- "privacy": "private",
187
- "default": "{}"
188
- },
189
- {
190
- "kind": "field",
191
- "name": "beforeUpdateListeners",
192
- "privacy": "private"
193
- },
194
- {
195
- "kind": "field",
196
- "name": "afterUpdateListeners",
197
- "privacy": "private"
198
- },
199
- {
200
- "kind": "method",
201
- "name": "create",
202
- "privacy": "public",
203
- "return": {
204
- "type": {
205
- "text": "Promise<DatabaseAccessResult.Create<T>>"
206
- }
207
- },
208
- "parameters": [
209
- {
210
- "name": "newValue",
211
- "type": {
212
- "text": "Omit<T, 'id'>"
213
- }
214
- }
215
- ]
216
- },
217
- {
218
- "kind": "method",
219
- "name": "read",
220
- "privacy": "public",
221
- "return": {
222
- "type": {
223
- "text": "Promise<DatabaseAccessResult.Read<T>>"
224
- }
225
- },
226
- "parameters": [
227
- {
228
- "name": "id",
229
- "type": {
230
- "text": "string"
231
- }
232
- }
233
- ]
234
- },
235
- {
236
- "kind": "method",
237
- "name": "update",
238
- "privacy": "public",
239
- "return": {
240
- "type": {
241
- "text": "Promise<DatabaseAccessResult.Update<T>>"
242
- }
243
- },
244
- "parameters": [
245
- {
246
- "name": "id",
247
- "type": {
248
- "text": "string"
249
- }
250
- },
251
- {
252
- "name": "newValue",
253
- "type": {
254
- "text": "Omit<Partial<T>, 'id'>"
255
- }
256
- }
257
- ]
258
- },
259
- {
260
- "kind": "method",
261
- "name": "delete",
262
- "privacy": "public",
263
- "return": {
264
- "type": {
265
- "text": "Promise<DatabaseAccessResult.Delete>"
266
- }
267
- },
268
- "parameters": [
269
- {
270
- "name": "id",
271
- "type": {
272
- "text": "string"
273
- }
274
- }
275
- ]
276
- },
277
- {
278
- "kind": "method",
279
- "name": "visit",
280
- "privacy": "public",
281
- "return": {
282
- "type": {
283
- "text": "Promise<void>"
284
- }
285
- },
286
- "parameters": [
287
- {
288
- "name": "visitor",
289
- "type": {
290
- "text": "(record: T) => void"
291
- }
292
- }
293
- ]
294
- },
295
- {
296
- "kind": "method",
297
- "name": "onBeforeUpdate",
298
- "privacy": "public",
299
- "return": {
300
- "type": {
301
- "text": "() => void"
302
- }
303
- },
304
- "parameters": [
305
- {
306
- "name": "listener",
307
- "type": {
308
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
309
- }
310
- }
311
- ]
312
- },
313
- {
314
- "kind": "method",
315
- "name": "onAfterUpdate",
316
- "privacy": "public",
317
- "return": {
318
- "type": {
319
- "text": "() => void"
320
- }
321
- },
322
- "parameters": [
323
- {
324
- "name": "listener",
325
- "type": {
326
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
327
- }
328
- }
329
- ]
330
- }
331
- ]
332
- }
333
- ],
334
- "exports": [
335
- {
336
- "kind": "js",
337
- "name": "InMemoryDatabase",
338
- "declaration": {
339
- "name": "InMemoryDatabase",
340
- "module": "src/data/inMemoryDatabase.ts"
341
- }
342
- }
343
- ]
344
- },
345
- {
346
- "kind": "javascript-module",
347
- "path": "src/data/index.ts",
348
- "declarations": [],
349
- "exports": [
350
- {
351
- "kind": "js",
352
- "name": "*",
353
- "declaration": {
354
- "name": "*",
355
- "package": "./inMemoryDatabase"
356
- }
357
- }
358
- ]
359
- },
360
162
  {
361
163
  "kind": "javascript-module",
362
164
  "path": "src/directives/index.ts",
@@ -620,95 +422,190 @@
620
422
  },
621
423
  {
622
424
  "kind": "javascript-module",
623
- "path": "src/decorators/index.ts",
624
- "declarations": [],
625
- "exports": [
626
- {
627
- "kind": "js",
628
- "name": "*",
629
- "declaration": {
630
- "name": "*",
631
- "package": "./renderOnChange"
632
- }
633
- }
634
- ]
635
- },
636
- {
637
- "kind": "javascript-module",
638
- "path": "src/decorators/renderOnChange.ts",
425
+ "path": "src/data/inMemoryDatabase.ts",
639
426
  "declarations": [
640
427
  {
641
- "kind": "function",
642
- "name": "renderOnChange",
643
- "parameters": [
428
+ "kind": "class",
429
+ "description": "An in memory database of specific DatabaseRecord types.",
430
+ "name": "InMemoryDatabase",
431
+ "members": [
644
432
  {
645
- "name": "target",
433
+ "kind": "field",
434
+ "name": "isWorking",
646
435
  "type": {
647
- "text": "FASTElement & { render(): void }"
436
+ "text": "boolean"
648
437
  },
649
- "description": "The target to define the property change handler on."
438
+ "privacy": "public",
439
+ "default": "false"
650
440
  },
651
441
  {
652
- "name": "name",
442
+ "kind": "field",
443
+ "name": "records",
653
444
  "type": {
654
- "text": "string"
445
+ "text": "Record<string, T>"
655
446
  },
656
- "description": "The property name."
657
- }
658
- ],
659
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
660
- "privacy": "public"
661
- }
662
- ],
663
- "exports": [
664
- {
665
- "kind": "js",
666
- "name": "renderOnChange",
667
- "declaration": {
668
- "name": "renderOnChange",
669
- "module": "src/decorators/renderOnChange.ts"
670
- }
671
- }
672
- ]
673
- },
674
- {
675
- "kind": "javascript-module",
676
- "path": "src/design-system/design-system.ts",
677
- "declarations": [
678
- {
679
- "kind": "function",
680
- "name": "assureDesignSystem",
681
- "return": {
682
- "type": {
683
- "text": "DesignSystemModule"
684
- }
685
- },
686
- "parameters": [
447
+ "privacy": "private",
448
+ "default": "{}"
449
+ },
687
450
  {
688
- "name": "module",
689
- "type": {
690
- "text": "DesignSystemModule"
691
- }
451
+ "kind": "field",
452
+ "name": "beforeUpdateListeners",
453
+ "privacy": "private"
454
+ },
455
+ {
456
+ "kind": "field",
457
+ "name": "afterUpdateListeners",
458
+ "privacy": "private"
459
+ },
460
+ {
461
+ "kind": "method",
462
+ "name": "create",
463
+ "privacy": "public",
464
+ "return": {
465
+ "type": {
466
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
467
+ }
468
+ },
469
+ "parameters": [
470
+ {
471
+ "name": "newValue",
472
+ "type": {
473
+ "text": "Omit<T, 'id'>"
474
+ }
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "kind": "method",
480
+ "name": "read",
481
+ "privacy": "public",
482
+ "return": {
483
+ "type": {
484
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
485
+ }
486
+ },
487
+ "parameters": [
488
+ {
489
+ "name": "id",
490
+ "type": {
491
+ "text": "string"
492
+ }
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "kind": "method",
498
+ "name": "update",
499
+ "privacy": "public",
500
+ "return": {
501
+ "type": {
502
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
503
+ }
504
+ },
505
+ "parameters": [
506
+ {
507
+ "name": "id",
508
+ "type": {
509
+ "text": "string"
510
+ }
511
+ },
512
+ {
513
+ "name": "newValue",
514
+ "type": {
515
+ "text": "Omit<Partial<T>, 'id'>"
516
+ }
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "kind": "method",
522
+ "name": "delete",
523
+ "privacy": "public",
524
+ "return": {
525
+ "type": {
526
+ "text": "Promise<DatabaseAccessResult.Delete>"
527
+ }
528
+ },
529
+ "parameters": [
530
+ {
531
+ "name": "id",
532
+ "type": {
533
+ "text": "string"
534
+ }
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "kind": "method",
540
+ "name": "visit",
541
+ "privacy": "public",
542
+ "return": {
543
+ "type": {
544
+ "text": "Promise<void>"
545
+ }
546
+ },
547
+ "parameters": [
548
+ {
549
+ "name": "visitor",
550
+ "type": {
551
+ "text": "(record: T) => void"
552
+ }
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "kind": "method",
558
+ "name": "onBeforeUpdate",
559
+ "privacy": "public",
560
+ "return": {
561
+ "type": {
562
+ "text": "() => void"
563
+ }
564
+ },
565
+ "parameters": [
566
+ {
567
+ "name": "listener",
568
+ "type": {
569
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
570
+ }
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "kind": "method",
576
+ "name": "onAfterUpdate",
577
+ "privacy": "public",
578
+ "return": {
579
+ "type": {
580
+ "text": "() => void"
581
+ }
582
+ },
583
+ "parameters": [
584
+ {
585
+ "name": "listener",
586
+ "type": {
587
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
588
+ }
589
+ }
590
+ ]
692
591
  }
693
- ],
694
- "description": "assureDesignSystem.",
695
- "privacy": "public"
592
+ ]
696
593
  }
697
594
  ],
698
595
  "exports": [
699
596
  {
700
597
  "kind": "js",
701
- "name": "assureDesignSystem",
598
+ "name": "InMemoryDatabase",
702
599
  "declaration": {
703
- "name": "assureDesignSystem",
704
- "module": "src/design-system/design-system.ts"
600
+ "name": "InMemoryDatabase",
601
+ "module": "src/data/inMemoryDatabase.ts"
705
602
  }
706
603
  }
707
604
  ]
708
605
  },
709
606
  {
710
607
  "kind": "javascript-module",
711
- "path": "src/design-system/index.ts",
608
+ "path": "src/data/index.ts",
712
609
  "declarations": [],
713
610
  "exports": [
714
611
  {
@@ -716,7 +613,7 @@
716
613
  "name": "*",
717
614
  "declaration": {
718
615
  "name": "*",
719
- "package": "./design-system"
616
+ "package": "./inMemoryDatabase"
720
617
  }
721
618
  }
722
619
  ]
@@ -920,6 +817,109 @@
920
817
  }
921
818
  ]
922
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "src/design-system/design-system.ts",
823
+ "declarations": [
824
+ {
825
+ "kind": "function",
826
+ "name": "assureDesignSystem",
827
+ "return": {
828
+ "type": {
829
+ "text": "DesignSystemModule"
830
+ }
831
+ },
832
+ "parameters": [
833
+ {
834
+ "name": "module",
835
+ "type": {
836
+ "text": "DesignSystemModule"
837
+ }
838
+ }
839
+ ],
840
+ "description": "assureDesignSystem.",
841
+ "privacy": "public"
842
+ }
843
+ ],
844
+ "exports": [
845
+ {
846
+ "kind": "js",
847
+ "name": "assureDesignSystem",
848
+ "declaration": {
849
+ "name": "assureDesignSystem",
850
+ "module": "src/design-system/design-system.ts"
851
+ }
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "kind": "javascript-module",
857
+ "path": "src/design-system/index.ts",
858
+ "declarations": [],
859
+ "exports": [
860
+ {
861
+ "kind": "js",
862
+ "name": "*",
863
+ "declaration": {
864
+ "name": "*",
865
+ "package": "./design-system"
866
+ }
867
+ }
868
+ ]
869
+ },
870
+ {
871
+ "kind": "javascript-module",
872
+ "path": "src/decorators/index.ts",
873
+ "declarations": [],
874
+ "exports": [
875
+ {
876
+ "kind": "js",
877
+ "name": "*",
878
+ "declaration": {
879
+ "name": "*",
880
+ "package": "./renderOnChange"
881
+ }
882
+ }
883
+ ]
884
+ },
885
+ {
886
+ "kind": "javascript-module",
887
+ "path": "src/decorators/renderOnChange.ts",
888
+ "declarations": [
889
+ {
890
+ "kind": "function",
891
+ "name": "renderOnChange",
892
+ "parameters": [
893
+ {
894
+ "name": "target",
895
+ "type": {
896
+ "text": "FASTElement & { render(): void }"
897
+ },
898
+ "description": "The target to define the property change handler on."
899
+ },
900
+ {
901
+ "name": "name",
902
+ "type": {
903
+ "text": "string"
904
+ },
905
+ "description": "The property name."
906
+ }
907
+ ],
908
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
909
+ "privacy": "public"
910
+ }
911
+ ],
912
+ "exports": [
913
+ {
914
+ "kind": "js",
915
+ "name": "renderOnChange",
916
+ "declaration": {
917
+ "name": "renderOnChange",
918
+ "module": "src/decorators/renderOnChange.ts"
919
+ }
920
+ }
921
+ ]
922
+ },
923
923
  {
924
924
  "kind": "javascript-module",
925
925
  "path": "src/formatters/datetime.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.195.3-FUI-2102.1",
4
+ "version": "14.195.3-FUI-2102.2",
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.195.3-FUI-2102.1",
31
- "@genesislcap/genx": "14.195.3-FUI-2102.1",
32
- "@genesislcap/rollup-builder": "14.195.3-FUI-2102.1",
33
- "@genesislcap/ts-builder": "14.195.3-FUI-2102.1",
34
- "@genesislcap/uvu-playwright-builder": "14.195.3-FUI-2102.1",
35
- "@genesislcap/vite-builder": "14.195.3-FUI-2102.1",
36
- "@genesislcap/webpack-builder": "14.195.3-FUI-2102.1",
30
+ "@genesislcap/foundation-testing": "14.195.3-FUI-2102.2",
31
+ "@genesislcap/genx": "14.195.3-FUI-2102.2",
32
+ "@genesislcap/rollup-builder": "14.195.3-FUI-2102.2",
33
+ "@genesislcap/ts-builder": "14.195.3-FUI-2102.2",
34
+ "@genesislcap/uvu-playwright-builder": "14.195.3-FUI-2102.2",
35
+ "@genesislcap/vite-builder": "14.195.3-FUI-2102.2",
36
+ "@genesislcap/webpack-builder": "14.195.3-FUI-2102.2",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.195.3-FUI-2102.1",
40
+ "@genesislcap/foundation-logger": "14.195.3-FUI-2102.2",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -54,5 +54,5 @@
54
54
  "access": "public"
55
55
  },
56
56
  "customElements": "dist/custom-elements.json",
57
- "gitHead": "2dd2faaee2b39b1265008661fa46493e31183e4d"
57
+ "gitHead": "5aa843977ecdef19e6a44e68e5f206c56ee868ac"
58
58
  }