@genesislcap/foundation-utils 14.416.0 → 14.416.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 +400 -400
  2. package/package.json +11 -11
@@ -209,6 +209,82 @@
209
209
  }
210
210
  ]
211
211
  },
212
+ {
213
+ "kind": "javascript-module",
214
+ "path": "src/decorators/index.ts",
215
+ "declarations": [],
216
+ "exports": [
217
+ {
218
+ "kind": "js",
219
+ "name": "*",
220
+ "declaration": {
221
+ "name": "*",
222
+ "package": "./renderOnChange"
223
+ }
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "kind": "javascript-module",
229
+ "path": "src/decorators/renderOnChange.ts",
230
+ "declarations": [
231
+ {
232
+ "kind": "function",
233
+ "name": "renderOnChange",
234
+ "parameters": [
235
+ {
236
+ "name": "target",
237
+ "type": {
238
+ "text": "FASTElement & { render(): void }"
239
+ },
240
+ "description": "The target to define the property change handler on."
241
+ },
242
+ {
243
+ "name": "name",
244
+ "type": {
245
+ "text": "string"
246
+ },
247
+ "description": "The property name."
248
+ }
249
+ ],
250
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
251
+ "privacy": "public"
252
+ }
253
+ ],
254
+ "exports": [
255
+ {
256
+ "kind": "js",
257
+ "name": "renderOnChange",
258
+ "declaration": {
259
+ "name": "renderOnChange",
260
+ "module": "src/decorators/renderOnChange.ts"
261
+ }
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "kind": "javascript-module",
267
+ "path": "src/directives/index.ts",
268
+ "declarations": [],
269
+ "exports": [
270
+ {
271
+ "kind": "js",
272
+ "name": "*",
273
+ "declaration": {
274
+ "name": "*",
275
+ "package": "./sync"
276
+ }
277
+ },
278
+ {
279
+ "kind": "js",
280
+ "name": "*",
281
+ "declaration": {
282
+ "name": "*",
283
+ "package": "./when-else"
284
+ }
285
+ }
286
+ ]
287
+ },
212
288
  {
213
289
  "kind": "javascript-module",
214
290
  "path": "src/converters/index.ts",
@@ -252,416 +328,22 @@
252
328
  },
253
329
  {
254
330
  "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
- ],
331
+ "path": "src/encoding/index.ts",
332
+ "declarations": [],
425
333
  "exports": [
426
334
  {
427
335
  "kind": "js",
428
- "name": "InMemoryDatabase",
336
+ "name": "*",
429
337
  "declaration": {
430
- "name": "InMemoryDatabase",
431
- "module": "src/data/inMemoryDatabase.ts"
338
+ "name": "*",
339
+ "package": "./base64"
432
340
  }
433
341
  }
434
342
  ]
435
343
  },
436
344
  {
437
345
  "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
- {
452
- "kind": "javascript-module",
453
- "path": "src/design-system/design-system.ts",
454
- "declarations": [
455
- {
456
- "kind": "function",
457
- "name": "assureDesignSystem",
458
- "return": {
459
- "type": {
460
- "text": "DesignSystemModule"
461
- }
462
- },
463
- "parameters": [
464
- {
465
- "name": "module",
466
- "type": {
467
- "text": "DesignSystemModule"
468
- }
469
- }
470
- ],
471
- "description": "assureDesignSystem.",
472
- "privacy": "public"
473
- },
474
- {
475
- "kind": "function",
476
- "name": "getCurrentDesignSystem",
477
- "return": {
478
- "type": {
479
- "text": ""
480
- }
481
- },
482
- "parameters": [
483
- {
484
- "name": "element",
485
- "type": {
486
- "text": "HTMLElement"
487
- },
488
- "description": "The starting HTML element"
489
- },
490
- {
491
- "name": "fallbackPrefix",
492
- "type": {
493
- "text": "string"
494
- },
495
- "description": "The prefix to fallback to if the provider is not available"
496
- }
497
- ],
498
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
499
- "privacy": "public"
500
- },
501
- {
502
- "kind": "function",
503
- "name": "getCurrentDesignSystemPrefix",
504
- "return": {
505
- "type": {
506
- "text": ""
507
- }
508
- },
509
- "parameters": [
510
- {
511
- "name": "element",
512
- "type": {
513
- "text": "HTMLElement"
514
- },
515
- "description": "The starting HTML element"
516
- },
517
- {
518
- "name": "fallbackPrefix",
519
- "type": {
520
- "text": "string"
521
- },
522
- "description": "The prefix to fallback to if the provider is not available"
523
- }
524
- ],
525
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
526
- "privacy": "public"
527
- }
528
- ],
529
- "exports": [
530
- {
531
- "kind": "js",
532
- "name": "assureDesignSystem",
533
- "declaration": {
534
- "name": "assureDesignSystem",
535
- "module": "src/design-system/design-system.ts"
536
- }
537
- },
538
- {
539
- "kind": "js",
540
- "name": "getCurrentDesignSystem",
541
- "declaration": {
542
- "name": "getCurrentDesignSystem",
543
- "module": "src/design-system/design-system.ts"
544
- }
545
- },
546
- {
547
- "kind": "js",
548
- "name": "getCurrentDesignSystemPrefix",
549
- "declaration": {
550
- "name": "getCurrentDesignSystemPrefix",
551
- "module": "src/design-system/design-system.ts"
552
- }
553
- }
554
- ]
555
- },
556
- {
557
- "kind": "javascript-module",
558
- "path": "src/design-system/index.ts",
559
- "declarations": [],
560
- "exports": [
561
- {
562
- "kind": "js",
563
- "name": "*",
564
- "declaration": {
565
- "name": "*",
566
- "package": "./design-system"
567
- }
568
- }
569
- ]
570
- },
571
- {
572
- "kind": "javascript-module",
573
- "path": "src/directives/index.ts",
574
- "declarations": [],
575
- "exports": [
576
- {
577
- "kind": "js",
578
- "name": "*",
579
- "declaration": {
580
- "name": "*",
581
- "package": "./sync"
582
- }
583
- },
584
- {
585
- "kind": "js",
586
- "name": "*",
587
- "declaration": {
588
- "name": "*",
589
- "package": "./when-else"
590
- }
591
- }
592
- ]
593
- },
594
- {
595
- "kind": "javascript-module",
596
- "path": "src/decorators/index.ts",
597
- "declarations": [],
598
- "exports": [
599
- {
600
- "kind": "js",
601
- "name": "*",
602
- "declaration": {
603
- "name": "*",
604
- "package": "./renderOnChange"
605
- }
606
- }
607
- ]
608
- },
609
- {
610
- "kind": "javascript-module",
611
- "path": "src/decorators/renderOnChange.ts",
612
- "declarations": [
613
- {
614
- "kind": "function",
615
- "name": "renderOnChange",
616
- "parameters": [
617
- {
618
- "name": "target",
619
- "type": {
620
- "text": "FASTElement & { render(): void }"
621
- },
622
- "description": "The target to define the property change handler on."
623
- },
624
- {
625
- "name": "name",
626
- "type": {
627
- "text": "string"
628
- },
629
- "description": "The property name."
630
- }
631
- ],
632
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
633
- "privacy": "public"
634
- }
635
- ],
636
- "exports": [
637
- {
638
- "kind": "js",
639
- "name": "renderOnChange",
640
- "declaration": {
641
- "name": "renderOnChange",
642
- "module": "src/decorators/renderOnChange.ts"
643
- }
644
- }
645
- ]
646
- },
647
- {
648
- "kind": "javascript-module",
649
- "path": "src/encoding/index.ts",
650
- "declarations": [],
651
- "exports": [
652
- {
653
- "kind": "js",
654
- "name": "*",
655
- "declaration": {
656
- "name": "*",
657
- "package": "./base64"
658
- }
659
- }
660
- ]
661
- },
662
- {
663
- "kind": "javascript-module",
664
- "path": "src/env/index.ts",
346
+ "path": "src/env/index.ts",
665
347
  "declarations": [],
666
348
  "exports": [
667
349
  {
@@ -1134,6 +816,324 @@
1134
816
  }
1135
817
  ]
1136
818
  },
819
+ {
820
+ "kind": "javascript-module",
821
+ "path": "src/data/inMemoryDatabase.ts",
822
+ "declarations": [
823
+ {
824
+ "kind": "class",
825
+ "description": "An in memory database of specific DatabaseRecord types.",
826
+ "name": "InMemoryDatabase",
827
+ "members": [
828
+ {
829
+ "kind": "field",
830
+ "name": "isWorking",
831
+ "type": {
832
+ "text": "boolean"
833
+ },
834
+ "privacy": "public",
835
+ "default": "false"
836
+ },
837
+ {
838
+ "kind": "field",
839
+ "name": "records",
840
+ "type": {
841
+ "text": "Record<string, T>"
842
+ },
843
+ "privacy": "private",
844
+ "default": "{}"
845
+ },
846
+ {
847
+ "kind": "field",
848
+ "name": "beforeUpdateListeners",
849
+ "privacy": "private"
850
+ },
851
+ {
852
+ "kind": "field",
853
+ "name": "afterUpdateListeners",
854
+ "privacy": "private"
855
+ },
856
+ {
857
+ "kind": "method",
858
+ "name": "create",
859
+ "privacy": "public",
860
+ "return": {
861
+ "type": {
862
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
863
+ }
864
+ },
865
+ "parameters": [
866
+ {
867
+ "name": "newValue",
868
+ "type": {
869
+ "text": "Omit<T, 'id'>"
870
+ }
871
+ }
872
+ ]
873
+ },
874
+ {
875
+ "kind": "method",
876
+ "name": "read",
877
+ "privacy": "public",
878
+ "return": {
879
+ "type": {
880
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
881
+ }
882
+ },
883
+ "parameters": [
884
+ {
885
+ "name": "id",
886
+ "type": {
887
+ "text": "string"
888
+ }
889
+ }
890
+ ]
891
+ },
892
+ {
893
+ "kind": "method",
894
+ "name": "update",
895
+ "privacy": "public",
896
+ "return": {
897
+ "type": {
898
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
899
+ }
900
+ },
901
+ "parameters": [
902
+ {
903
+ "name": "id",
904
+ "type": {
905
+ "text": "string"
906
+ }
907
+ },
908
+ {
909
+ "name": "newValue",
910
+ "type": {
911
+ "text": "Omit<Partial<T>, 'id'>"
912
+ }
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "kind": "method",
918
+ "name": "delete",
919
+ "privacy": "public",
920
+ "return": {
921
+ "type": {
922
+ "text": "Promise<DatabaseAccessResult.Delete>"
923
+ }
924
+ },
925
+ "parameters": [
926
+ {
927
+ "name": "id",
928
+ "type": {
929
+ "text": "string"
930
+ }
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ "kind": "method",
936
+ "name": "visit",
937
+ "privacy": "public",
938
+ "return": {
939
+ "type": {
940
+ "text": "Promise<void>"
941
+ }
942
+ },
943
+ "parameters": [
944
+ {
945
+ "name": "visitor",
946
+ "type": {
947
+ "text": "(record: T) => void"
948
+ }
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "kind": "method",
954
+ "name": "onBeforeUpdate",
955
+ "privacy": "public",
956
+ "return": {
957
+ "type": {
958
+ "text": "() => void"
959
+ }
960
+ },
961
+ "parameters": [
962
+ {
963
+ "name": "listener",
964
+ "type": {
965
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
966
+ }
967
+ }
968
+ ]
969
+ },
970
+ {
971
+ "kind": "method",
972
+ "name": "onAfterUpdate",
973
+ "privacy": "public",
974
+ "return": {
975
+ "type": {
976
+ "text": "() => void"
977
+ }
978
+ },
979
+ "parameters": [
980
+ {
981
+ "name": "listener",
982
+ "type": {
983
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
984
+ }
985
+ }
986
+ ]
987
+ }
988
+ ]
989
+ }
990
+ ],
991
+ "exports": [
992
+ {
993
+ "kind": "js",
994
+ "name": "InMemoryDatabase",
995
+ "declaration": {
996
+ "name": "InMemoryDatabase",
997
+ "module": "src/data/inMemoryDatabase.ts"
998
+ }
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "kind": "javascript-module",
1004
+ "path": "src/data/index.ts",
1005
+ "declarations": [],
1006
+ "exports": [
1007
+ {
1008
+ "kind": "js",
1009
+ "name": "*",
1010
+ "declaration": {
1011
+ "name": "*",
1012
+ "package": "./inMemoryDatabase"
1013
+ }
1014
+ }
1015
+ ]
1016
+ },
1017
+ {
1018
+ "kind": "javascript-module",
1019
+ "path": "src/design-system/design-system.ts",
1020
+ "declarations": [
1021
+ {
1022
+ "kind": "function",
1023
+ "name": "assureDesignSystem",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": "DesignSystemModule"
1027
+ }
1028
+ },
1029
+ "parameters": [
1030
+ {
1031
+ "name": "module",
1032
+ "type": {
1033
+ "text": "DesignSystemModule"
1034
+ }
1035
+ }
1036
+ ],
1037
+ "description": "assureDesignSystem.",
1038
+ "privacy": "public"
1039
+ },
1040
+ {
1041
+ "kind": "function",
1042
+ "name": "getCurrentDesignSystem",
1043
+ "return": {
1044
+ "type": {
1045
+ "text": ""
1046
+ }
1047
+ },
1048
+ "parameters": [
1049
+ {
1050
+ "name": "element",
1051
+ "type": {
1052
+ "text": "HTMLElement"
1053
+ },
1054
+ "description": "The starting HTML element"
1055
+ },
1056
+ {
1057
+ "name": "fallbackPrefix",
1058
+ "type": {
1059
+ "text": "string"
1060
+ },
1061
+ "description": "The prefix to fallback to if the provider is not available"
1062
+ }
1063
+ ],
1064
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1065
+ "privacy": "public"
1066
+ },
1067
+ {
1068
+ "kind": "function",
1069
+ "name": "getCurrentDesignSystemPrefix",
1070
+ "return": {
1071
+ "type": {
1072
+ "text": ""
1073
+ }
1074
+ },
1075
+ "parameters": [
1076
+ {
1077
+ "name": "element",
1078
+ "type": {
1079
+ "text": "HTMLElement"
1080
+ },
1081
+ "description": "The starting HTML element"
1082
+ },
1083
+ {
1084
+ "name": "fallbackPrefix",
1085
+ "type": {
1086
+ "text": "string"
1087
+ },
1088
+ "description": "The prefix to fallback to if the provider is not available"
1089
+ }
1090
+ ],
1091
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1092
+ "privacy": "public"
1093
+ }
1094
+ ],
1095
+ "exports": [
1096
+ {
1097
+ "kind": "js",
1098
+ "name": "assureDesignSystem",
1099
+ "declaration": {
1100
+ "name": "assureDesignSystem",
1101
+ "module": "src/design-system/design-system.ts"
1102
+ }
1103
+ },
1104
+ {
1105
+ "kind": "js",
1106
+ "name": "getCurrentDesignSystem",
1107
+ "declaration": {
1108
+ "name": "getCurrentDesignSystem",
1109
+ "module": "src/design-system/design-system.ts"
1110
+ }
1111
+ },
1112
+ {
1113
+ "kind": "js",
1114
+ "name": "getCurrentDesignSystemPrefix",
1115
+ "declaration": {
1116
+ "name": "getCurrentDesignSystemPrefix",
1117
+ "module": "src/design-system/design-system.ts"
1118
+ }
1119
+ }
1120
+ ]
1121
+ },
1122
+ {
1123
+ "kind": "javascript-module",
1124
+ "path": "src/design-system/index.ts",
1125
+ "declarations": [],
1126
+ "exports": [
1127
+ {
1128
+ "kind": "js",
1129
+ "name": "*",
1130
+ "declaration": {
1131
+ "name": "*",
1132
+ "package": "./design-system"
1133
+ }
1134
+ }
1135
+ ]
1136
+ },
1137
1137
  {
1138
1138
  "kind": "javascript-module",
1139
1139
  "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.416.0",
4
+ "version": "14.416.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.416.0",
33
- "@genesislcap/genx": "14.416.0",
34
- "@genesislcap/rollup-builder": "14.416.0",
35
- "@genesislcap/ts-builder": "14.416.0",
36
- "@genesislcap/uvu-playwright-builder": "14.416.0",
37
- "@genesislcap/vite-builder": "14.416.0",
38
- "@genesislcap/webpack-builder": "14.416.0",
32
+ "@genesislcap/foundation-testing": "14.416.1",
33
+ "@genesislcap/genx": "14.416.1",
34
+ "@genesislcap/rollup-builder": "14.416.1",
35
+ "@genesislcap/ts-builder": "14.416.1",
36
+ "@genesislcap/uvu-playwright-builder": "14.416.1",
37
+ "@genesislcap/vite-builder": "14.416.1",
38
+ "@genesislcap/webpack-builder": "14.416.1",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.416.0",
43
- "@genesislcap/foundation-logger": "14.416.0",
42
+ "@genesislcap/expression-builder": "14.416.1",
43
+ "@genesislcap/foundation-logger": "14.416.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": "3da4cdb8c31b4200fe69b20f3453abbef4937ac4"
61
+ "gitHead": "dd39f2bffbd92a41d51853efc09425731aab4d12"
62
62
  }