@genesislcap/foundation-utils 14.310.0 → 14.310.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 +356 -356
  2. package/package.json +11 -11
@@ -169,204 +169,6 @@
169
169
  }
170
170
  ]
171
171
  },
172
- {
173
- "kind": "javascript-module",
174
- "path": "src/data/inMemoryDatabase.ts",
175
- "declarations": [
176
- {
177
- "kind": "class",
178
- "description": "An in memory database of specific DatabaseRecord types.",
179
- "name": "InMemoryDatabase",
180
- "members": [
181
- {
182
- "kind": "field",
183
- "name": "isWorking",
184
- "type": {
185
- "text": "boolean"
186
- },
187
- "privacy": "public",
188
- "default": "false"
189
- },
190
- {
191
- "kind": "field",
192
- "name": "records",
193
- "type": {
194
- "text": "Record<string, T>"
195
- },
196
- "privacy": "private",
197
- "default": "{}"
198
- },
199
- {
200
- "kind": "field",
201
- "name": "beforeUpdateListeners",
202
- "privacy": "private"
203
- },
204
- {
205
- "kind": "field",
206
- "name": "afterUpdateListeners",
207
- "privacy": "private"
208
- },
209
- {
210
- "kind": "method",
211
- "name": "create",
212
- "privacy": "public",
213
- "return": {
214
- "type": {
215
- "text": "Promise<DatabaseAccessResult.Create<T>>"
216
- }
217
- },
218
- "parameters": [
219
- {
220
- "name": "newValue",
221
- "type": {
222
- "text": "Omit<T, 'id'>"
223
- }
224
- }
225
- ]
226
- },
227
- {
228
- "kind": "method",
229
- "name": "read",
230
- "privacy": "public",
231
- "return": {
232
- "type": {
233
- "text": "Promise<DatabaseAccessResult.Read<T>>"
234
- }
235
- },
236
- "parameters": [
237
- {
238
- "name": "id",
239
- "type": {
240
- "text": "string"
241
- }
242
- }
243
- ]
244
- },
245
- {
246
- "kind": "method",
247
- "name": "update",
248
- "privacy": "public",
249
- "return": {
250
- "type": {
251
- "text": "Promise<DatabaseAccessResult.Update<T>>"
252
- }
253
- },
254
- "parameters": [
255
- {
256
- "name": "id",
257
- "type": {
258
- "text": "string"
259
- }
260
- },
261
- {
262
- "name": "newValue",
263
- "type": {
264
- "text": "Omit<Partial<T>, 'id'>"
265
- }
266
- }
267
- ]
268
- },
269
- {
270
- "kind": "method",
271
- "name": "delete",
272
- "privacy": "public",
273
- "return": {
274
- "type": {
275
- "text": "Promise<DatabaseAccessResult.Delete>"
276
- }
277
- },
278
- "parameters": [
279
- {
280
- "name": "id",
281
- "type": {
282
- "text": "string"
283
- }
284
- }
285
- ]
286
- },
287
- {
288
- "kind": "method",
289
- "name": "visit",
290
- "privacy": "public",
291
- "return": {
292
- "type": {
293
- "text": "Promise<void>"
294
- }
295
- },
296
- "parameters": [
297
- {
298
- "name": "visitor",
299
- "type": {
300
- "text": "(record: T) => void"
301
- }
302
- }
303
- ]
304
- },
305
- {
306
- "kind": "method",
307
- "name": "onBeforeUpdate",
308
- "privacy": "public",
309
- "return": {
310
- "type": {
311
- "text": "() => void"
312
- }
313
- },
314
- "parameters": [
315
- {
316
- "name": "listener",
317
- "type": {
318
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
319
- }
320
- }
321
- ]
322
- },
323
- {
324
- "kind": "method",
325
- "name": "onAfterUpdate",
326
- "privacy": "public",
327
- "return": {
328
- "type": {
329
- "text": "() => void"
330
- }
331
- },
332
- "parameters": [
333
- {
334
- "name": "listener",
335
- "type": {
336
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
337
- }
338
- }
339
- ]
340
- }
341
- ]
342
- }
343
- ],
344
- "exports": [
345
- {
346
- "kind": "js",
347
- "name": "InMemoryDatabase",
348
- "declaration": {
349
- "name": "InMemoryDatabase",
350
- "module": "src/data/inMemoryDatabase.ts"
351
- }
352
- }
353
- ]
354
- },
355
- {
356
- "kind": "javascript-module",
357
- "path": "src/data/index.ts",
358
- "declarations": [],
359
- "exports": [
360
- {
361
- "kind": "js",
362
- "name": "*",
363
- "declaration": {
364
- "name": "*",
365
- "package": "./inMemoryDatabase"
366
- }
367
- }
368
- ]
369
- },
370
172
  {
371
173
  "kind": "javascript-module",
372
174
  "path": "src/decorators/index.ts",
@@ -445,166 +247,46 @@
445
247
  },
446
248
  {
447
249
  "kind": "javascript-module",
448
- "path": "src/design-system/design-system.ts",
449
- "declarations": [
250
+ "path": "src/encoding/index.ts",
251
+ "declarations": [],
252
+ "exports": [
450
253
  {
451
- "kind": "function",
452
- "name": "assureDesignSystem",
453
- "return": {
454
- "type": {
455
- "text": "DesignSystemModule"
456
- }
457
- },
458
- "parameters": [
459
- {
460
- "name": "module",
461
- "type": {
462
- "text": "DesignSystemModule"
463
- }
464
- }
465
- ],
466
- "description": "assureDesignSystem.",
467
- "privacy": "public"
254
+ "kind": "js",
255
+ "name": "*",
256
+ "declaration": {
257
+ "name": "*",
258
+ "package": "./base64"
259
+ }
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "kind": "javascript-module",
265
+ "path": "src/env/index.ts",
266
+ "declarations": [],
267
+ "exports": [
268
+ {
269
+ "kind": "js",
270
+ "name": "*",
271
+ "declaration": {
272
+ "name": "*",
273
+ "package": "./is-dev"
274
+ }
468
275
  },
469
- {
470
- "kind": "function",
471
- "name": "getCurrentDesignSystem",
472
- "return": {
473
- "type": {
474
- "text": ""
475
- }
476
- },
477
- "parameters": [
478
- {
479
- "name": "element",
480
- "type": {
481
- "text": "HTMLElement"
482
- },
483
- "description": "The starting HTML element"
484
- },
485
- {
486
- "name": "fallbackPrefix",
487
- "type": {
488
- "text": "string"
489
- },
490
- "description": "The prefix to fallback to if the provider is not available"
491
- }
492
- ],
493
- "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.",
494
- "privacy": "public"
495
- },
496
- {
497
- "kind": "function",
498
- "name": "getCurrentDesignSystemPrefix",
499
- "return": {
500
- "type": {
501
- "text": ""
502
- }
503
- },
504
- "parameters": [
505
- {
506
- "name": "element",
507
- "type": {
508
- "text": "HTMLElement"
509
- },
510
- "description": "The starting HTML element"
511
- },
512
- {
513
- "name": "fallbackPrefix",
514
- "type": {
515
- "text": "string"
516
- },
517
- "description": "The prefix to fallback to if the provider is not available"
518
- }
519
- ],
520
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
521
- "privacy": "public"
522
- }
523
- ],
524
- "exports": [
525
- {
526
- "kind": "js",
527
- "name": "assureDesignSystem",
528
- "declaration": {
529
- "name": "assureDesignSystem",
530
- "module": "src/design-system/design-system.ts"
531
- }
532
- },
533
- {
534
- "kind": "js",
535
- "name": "getCurrentDesignSystem",
536
- "declaration": {
537
- "name": "getCurrentDesignSystem",
538
- "module": "src/design-system/design-system.ts"
539
- }
540
- },
541
- {
542
- "kind": "js",
543
- "name": "getCurrentDesignSystemPrefix",
544
- "declaration": {
545
- "name": "getCurrentDesignSystemPrefix",
546
- "module": "src/design-system/design-system.ts"
547
- }
548
- }
549
- ]
550
- },
551
- {
552
- "kind": "javascript-module",
553
- "path": "src/design-system/index.ts",
554
- "declarations": [],
555
- "exports": [
556
- {
557
- "kind": "js",
558
- "name": "*",
559
- "declaration": {
560
- "name": "*",
561
- "package": "./design-system"
562
- }
563
- }
564
- ]
565
- },
566
- {
567
- "kind": "javascript-module",
568
- "path": "src/encoding/index.ts",
569
- "declarations": [],
570
- "exports": [
571
- {
572
- "kind": "js",
573
- "name": "*",
574
- "declaration": {
575
- "name": "*",
576
- "package": "./base64"
577
- }
578
- }
579
- ]
580
- },
581
- {
582
- "kind": "javascript-module",
583
- "path": "src/env/index.ts",
584
- "declarations": [],
585
- "exports": [
586
- {
587
- "kind": "js",
588
- "name": "*",
589
- "declaration": {
590
- "name": "*",
591
- "package": "./is-dev"
592
- }
593
- },
594
- {
595
- "kind": "js",
596
- "name": "*",
597
- "declaration": {
598
- "name": "*",
599
- "package": "./variables"
600
- }
601
- }
602
- ]
603
- },
604
- {
605
- "kind": "javascript-module",
606
- "path": "src/env/is-dev.ts",
607
- "declarations": [
276
+ {
277
+ "kind": "js",
278
+ "name": "*",
279
+ "declaration": {
280
+ "name": "*",
281
+ "package": "./variables"
282
+ }
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "kind": "javascript-module",
288
+ "path": "src/env/is-dev.ts",
289
+ "declarations": [
608
290
  {
609
291
  "kind": "function",
610
292
  "name": "isDev",
@@ -1036,6 +718,324 @@
1036
718
  }
1037
719
  ]
1038
720
  },
721
+ {
722
+ "kind": "javascript-module",
723
+ "path": "src/data/inMemoryDatabase.ts",
724
+ "declarations": [
725
+ {
726
+ "kind": "class",
727
+ "description": "An in memory database of specific DatabaseRecord types.",
728
+ "name": "InMemoryDatabase",
729
+ "members": [
730
+ {
731
+ "kind": "field",
732
+ "name": "isWorking",
733
+ "type": {
734
+ "text": "boolean"
735
+ },
736
+ "privacy": "public",
737
+ "default": "false"
738
+ },
739
+ {
740
+ "kind": "field",
741
+ "name": "records",
742
+ "type": {
743
+ "text": "Record<string, T>"
744
+ },
745
+ "privacy": "private",
746
+ "default": "{}"
747
+ },
748
+ {
749
+ "kind": "field",
750
+ "name": "beforeUpdateListeners",
751
+ "privacy": "private"
752
+ },
753
+ {
754
+ "kind": "field",
755
+ "name": "afterUpdateListeners",
756
+ "privacy": "private"
757
+ },
758
+ {
759
+ "kind": "method",
760
+ "name": "create",
761
+ "privacy": "public",
762
+ "return": {
763
+ "type": {
764
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
765
+ }
766
+ },
767
+ "parameters": [
768
+ {
769
+ "name": "newValue",
770
+ "type": {
771
+ "text": "Omit<T, 'id'>"
772
+ }
773
+ }
774
+ ]
775
+ },
776
+ {
777
+ "kind": "method",
778
+ "name": "read",
779
+ "privacy": "public",
780
+ "return": {
781
+ "type": {
782
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
783
+ }
784
+ },
785
+ "parameters": [
786
+ {
787
+ "name": "id",
788
+ "type": {
789
+ "text": "string"
790
+ }
791
+ }
792
+ ]
793
+ },
794
+ {
795
+ "kind": "method",
796
+ "name": "update",
797
+ "privacy": "public",
798
+ "return": {
799
+ "type": {
800
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
801
+ }
802
+ },
803
+ "parameters": [
804
+ {
805
+ "name": "id",
806
+ "type": {
807
+ "text": "string"
808
+ }
809
+ },
810
+ {
811
+ "name": "newValue",
812
+ "type": {
813
+ "text": "Omit<Partial<T>, 'id'>"
814
+ }
815
+ }
816
+ ]
817
+ },
818
+ {
819
+ "kind": "method",
820
+ "name": "delete",
821
+ "privacy": "public",
822
+ "return": {
823
+ "type": {
824
+ "text": "Promise<DatabaseAccessResult.Delete>"
825
+ }
826
+ },
827
+ "parameters": [
828
+ {
829
+ "name": "id",
830
+ "type": {
831
+ "text": "string"
832
+ }
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "kind": "method",
838
+ "name": "visit",
839
+ "privacy": "public",
840
+ "return": {
841
+ "type": {
842
+ "text": "Promise<void>"
843
+ }
844
+ },
845
+ "parameters": [
846
+ {
847
+ "name": "visitor",
848
+ "type": {
849
+ "text": "(record: T) => void"
850
+ }
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "kind": "method",
856
+ "name": "onBeforeUpdate",
857
+ "privacy": "public",
858
+ "return": {
859
+ "type": {
860
+ "text": "() => void"
861
+ }
862
+ },
863
+ "parameters": [
864
+ {
865
+ "name": "listener",
866
+ "type": {
867
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
868
+ }
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "kind": "method",
874
+ "name": "onAfterUpdate",
875
+ "privacy": "public",
876
+ "return": {
877
+ "type": {
878
+ "text": "() => void"
879
+ }
880
+ },
881
+ "parameters": [
882
+ {
883
+ "name": "listener",
884
+ "type": {
885
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
886
+ }
887
+ }
888
+ ]
889
+ }
890
+ ]
891
+ }
892
+ ],
893
+ "exports": [
894
+ {
895
+ "kind": "js",
896
+ "name": "InMemoryDatabase",
897
+ "declaration": {
898
+ "name": "InMemoryDatabase",
899
+ "module": "src/data/inMemoryDatabase.ts"
900
+ }
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "kind": "javascript-module",
906
+ "path": "src/data/index.ts",
907
+ "declarations": [],
908
+ "exports": [
909
+ {
910
+ "kind": "js",
911
+ "name": "*",
912
+ "declaration": {
913
+ "name": "*",
914
+ "package": "./inMemoryDatabase"
915
+ }
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "kind": "javascript-module",
921
+ "path": "src/design-system/design-system.ts",
922
+ "declarations": [
923
+ {
924
+ "kind": "function",
925
+ "name": "assureDesignSystem",
926
+ "return": {
927
+ "type": {
928
+ "text": "DesignSystemModule"
929
+ }
930
+ },
931
+ "parameters": [
932
+ {
933
+ "name": "module",
934
+ "type": {
935
+ "text": "DesignSystemModule"
936
+ }
937
+ }
938
+ ],
939
+ "description": "assureDesignSystem.",
940
+ "privacy": "public"
941
+ },
942
+ {
943
+ "kind": "function",
944
+ "name": "getCurrentDesignSystem",
945
+ "return": {
946
+ "type": {
947
+ "text": ""
948
+ }
949
+ },
950
+ "parameters": [
951
+ {
952
+ "name": "element",
953
+ "type": {
954
+ "text": "HTMLElement"
955
+ },
956
+ "description": "The starting HTML element"
957
+ },
958
+ {
959
+ "name": "fallbackPrefix",
960
+ "type": {
961
+ "text": "string"
962
+ },
963
+ "description": "The prefix to fallback to if the provider is not available"
964
+ }
965
+ ],
966
+ "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.",
967
+ "privacy": "public"
968
+ },
969
+ {
970
+ "kind": "function",
971
+ "name": "getCurrentDesignSystemPrefix",
972
+ "return": {
973
+ "type": {
974
+ "text": ""
975
+ }
976
+ },
977
+ "parameters": [
978
+ {
979
+ "name": "element",
980
+ "type": {
981
+ "text": "HTMLElement"
982
+ },
983
+ "description": "The starting HTML element"
984
+ },
985
+ {
986
+ "name": "fallbackPrefix",
987
+ "type": {
988
+ "text": "string"
989
+ },
990
+ "description": "The prefix to fallback to if the provider is not available"
991
+ }
992
+ ],
993
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
994
+ "privacy": "public"
995
+ }
996
+ ],
997
+ "exports": [
998
+ {
999
+ "kind": "js",
1000
+ "name": "assureDesignSystem",
1001
+ "declaration": {
1002
+ "name": "assureDesignSystem",
1003
+ "module": "src/design-system/design-system.ts"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "js",
1008
+ "name": "getCurrentDesignSystem",
1009
+ "declaration": {
1010
+ "name": "getCurrentDesignSystem",
1011
+ "module": "src/design-system/design-system.ts"
1012
+ }
1013
+ },
1014
+ {
1015
+ "kind": "js",
1016
+ "name": "getCurrentDesignSystemPrefix",
1017
+ "declaration": {
1018
+ "name": "getCurrentDesignSystemPrefix",
1019
+ "module": "src/design-system/design-system.ts"
1020
+ }
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "kind": "javascript-module",
1026
+ "path": "src/design-system/index.ts",
1027
+ "declarations": [],
1028
+ "exports": [
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "*",
1032
+ "declaration": {
1033
+ "name": "*",
1034
+ "package": "./design-system"
1035
+ }
1036
+ }
1037
+ ]
1038
+ },
1039
1039
  {
1040
1040
  "kind": "javascript-module",
1041
1041
  "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.310.0",
4
+ "version": "14.310.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,18 +27,18 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.310.0",
31
- "@genesislcap/genx": "14.310.0",
32
- "@genesislcap/rollup-builder": "14.310.0",
33
- "@genesislcap/ts-builder": "14.310.0",
34
- "@genesislcap/uvu-playwright-builder": "14.310.0",
35
- "@genesislcap/vite-builder": "14.310.0",
36
- "@genesislcap/webpack-builder": "14.310.0",
30
+ "@genesislcap/foundation-testing": "14.310.1",
31
+ "@genesislcap/genx": "14.310.1",
32
+ "@genesislcap/rollup-builder": "14.310.1",
33
+ "@genesislcap/ts-builder": "14.310.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.310.1",
35
+ "@genesislcap/vite-builder": "14.310.1",
36
+ "@genesislcap/webpack-builder": "14.310.1",
37
37
  "@types/json-schema": "^7.0.11"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/expression-builder": "14.310.0",
41
- "@genesislcap/foundation-logger": "14.310.0",
40
+ "@genesislcap/expression-builder": "14.310.1",
41
+ "@genesislcap/foundation-logger": "14.310.1",
42
42
  "@microsoft/fast-components": "2.30.6",
43
43
  "@microsoft/fast-element": "1.14.0",
44
44
  "@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": "3a67b9c5ee9c251945d5fe8121cb797d6aec37f3"
58
+ "gitHead": "961d1c76db14707ed77ef9e064f112145f8996ca"
59
59
  }