@genesislcap/foundation-utils 14.220.0 → 14.221.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +313 -313
  2. package/package.json +10 -10
@@ -167,204 +167,6 @@
167
167
  }
168
168
  ]
169
169
  },
170
- {
171
- "kind": "javascript-module",
172
- "path": "src/data/inMemoryDatabase.ts",
173
- "declarations": [
174
- {
175
- "kind": "class",
176
- "description": "An in memory database of specific DatabaseRecord types.",
177
- "name": "InMemoryDatabase",
178
- "members": [
179
- {
180
- "kind": "field",
181
- "name": "isWorking",
182
- "type": {
183
- "text": "boolean"
184
- },
185
- "privacy": "public",
186
- "default": "false"
187
- },
188
- {
189
- "kind": "field",
190
- "name": "records",
191
- "type": {
192
- "text": "Record<string, T>"
193
- },
194
- "privacy": "private",
195
- "default": "{}"
196
- },
197
- {
198
- "kind": "field",
199
- "name": "beforeUpdateListeners",
200
- "privacy": "private"
201
- },
202
- {
203
- "kind": "field",
204
- "name": "afterUpdateListeners",
205
- "privacy": "private"
206
- },
207
- {
208
- "kind": "method",
209
- "name": "create",
210
- "privacy": "public",
211
- "return": {
212
- "type": {
213
- "text": "Promise<DatabaseAccessResult.Create<T>>"
214
- }
215
- },
216
- "parameters": [
217
- {
218
- "name": "newValue",
219
- "type": {
220
- "text": "Omit<T, 'id'>"
221
- }
222
- }
223
- ]
224
- },
225
- {
226
- "kind": "method",
227
- "name": "read",
228
- "privacy": "public",
229
- "return": {
230
- "type": {
231
- "text": "Promise<DatabaseAccessResult.Read<T>>"
232
- }
233
- },
234
- "parameters": [
235
- {
236
- "name": "id",
237
- "type": {
238
- "text": "string"
239
- }
240
- }
241
- ]
242
- },
243
- {
244
- "kind": "method",
245
- "name": "update",
246
- "privacy": "public",
247
- "return": {
248
- "type": {
249
- "text": "Promise<DatabaseAccessResult.Update<T>>"
250
- }
251
- },
252
- "parameters": [
253
- {
254
- "name": "id",
255
- "type": {
256
- "text": "string"
257
- }
258
- },
259
- {
260
- "name": "newValue",
261
- "type": {
262
- "text": "Omit<Partial<T>, 'id'>"
263
- }
264
- }
265
- ]
266
- },
267
- {
268
- "kind": "method",
269
- "name": "delete",
270
- "privacy": "public",
271
- "return": {
272
- "type": {
273
- "text": "Promise<DatabaseAccessResult.Delete>"
274
- }
275
- },
276
- "parameters": [
277
- {
278
- "name": "id",
279
- "type": {
280
- "text": "string"
281
- }
282
- }
283
- ]
284
- },
285
- {
286
- "kind": "method",
287
- "name": "visit",
288
- "privacy": "public",
289
- "return": {
290
- "type": {
291
- "text": "Promise<void>"
292
- }
293
- },
294
- "parameters": [
295
- {
296
- "name": "visitor",
297
- "type": {
298
- "text": "(record: T) => void"
299
- }
300
- }
301
- ]
302
- },
303
- {
304
- "kind": "method",
305
- "name": "onBeforeUpdate",
306
- "privacy": "public",
307
- "return": {
308
- "type": {
309
- "text": "() => void"
310
- }
311
- },
312
- "parameters": [
313
- {
314
- "name": "listener",
315
- "type": {
316
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
317
- }
318
- }
319
- ]
320
- },
321
- {
322
- "kind": "method",
323
- "name": "onAfterUpdate",
324
- "privacy": "public",
325
- "return": {
326
- "type": {
327
- "text": "() => void"
328
- }
329
- },
330
- "parameters": [
331
- {
332
- "name": "listener",
333
- "type": {
334
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
335
- }
336
- }
337
- ]
338
- }
339
- ]
340
- }
341
- ],
342
- "exports": [
343
- {
344
- "kind": "js",
345
- "name": "InMemoryDatabase",
346
- "declaration": {
347
- "name": "InMemoryDatabase",
348
- "module": "src/data/inMemoryDatabase.ts"
349
- }
350
- }
351
- ]
352
- },
353
- {
354
- "kind": "javascript-module",
355
- "path": "src/data/index.ts",
356
- "declarations": [],
357
- "exports": [
358
- {
359
- "kind": "js",
360
- "name": "*",
361
- "declaration": {
362
- "name": "*",
363
- "package": "./inMemoryDatabase"
364
- }
365
- }
366
- ]
367
- },
368
170
  {
369
171
  "kind": "javascript-module",
370
172
  "path": "src/directives/index.ts",
@@ -388,109 +190,6 @@
388
190
  }
389
191
  ]
390
192
  },
391
- {
392
- "kind": "javascript-module",
393
- "path": "src/decorators/index.ts",
394
- "declarations": [],
395
- "exports": [
396
- {
397
- "kind": "js",
398
- "name": "*",
399
- "declaration": {
400
- "name": "*",
401
- "package": "./renderOnChange"
402
- }
403
- }
404
- ]
405
- },
406
- {
407
- "kind": "javascript-module",
408
- "path": "src/decorators/renderOnChange.ts",
409
- "declarations": [
410
- {
411
- "kind": "function",
412
- "name": "renderOnChange",
413
- "parameters": [
414
- {
415
- "name": "target",
416
- "type": {
417
- "text": "FASTElement & { render(): void }"
418
- },
419
- "description": "The target to define the property change handler on."
420
- },
421
- {
422
- "name": "name",
423
- "type": {
424
- "text": "string"
425
- },
426
- "description": "The property name."
427
- }
428
- ],
429
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
430
- "privacy": "public"
431
- }
432
- ],
433
- "exports": [
434
- {
435
- "kind": "js",
436
- "name": "renderOnChange",
437
- "declaration": {
438
- "name": "renderOnChange",
439
- "module": "src/decorators/renderOnChange.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/design-system/design-system.ts",
447
- "declarations": [
448
- {
449
- "kind": "function",
450
- "name": "assureDesignSystem",
451
- "return": {
452
- "type": {
453
- "text": "DesignSystemModule"
454
- }
455
- },
456
- "parameters": [
457
- {
458
- "name": "module",
459
- "type": {
460
- "text": "DesignSystemModule"
461
- }
462
- }
463
- ],
464
- "description": "assureDesignSystem.",
465
- "privacy": "public"
466
- }
467
- ],
468
- "exports": [
469
- {
470
- "kind": "js",
471
- "name": "assureDesignSystem",
472
- "declaration": {
473
- "name": "assureDesignSystem",
474
- "module": "src/design-system/design-system.ts"
475
- }
476
- }
477
- ]
478
- },
479
- {
480
- "kind": "javascript-module",
481
- "path": "src/design-system/index.ts",
482
- "declarations": [],
483
- "exports": [
484
- {
485
- "kind": "js",
486
- "name": "*",
487
- "declaration": {
488
- "name": "*",
489
- "package": "./design-system"
490
- }
491
- }
492
- ]
493
- },
494
193
  {
495
194
  "kind": "javascript-module",
496
195
  "path": "src/env/index.ts",
@@ -897,33 +596,136 @@
897
596
  "exports": [
898
597
  {
899
598
  "kind": "js",
900
- "name": "DefaultErrorMap",
599
+ "name": "DefaultErrorMap",
600
+ "declaration": {
601
+ "name": "DefaultErrorMap",
602
+ "module": "src/error/errorMap.ts"
603
+ }
604
+ },
605
+ {
606
+ "kind": "js",
607
+ "name": "createErrorMap",
608
+ "declaration": {
609
+ "name": "createErrorMap",
610
+ "module": "src/error/errorMap.ts"
611
+ }
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "kind": "javascript-module",
617
+ "path": "src/error/index.ts",
618
+ "declarations": [],
619
+ "exports": [
620
+ {
621
+ "kind": "js",
622
+ "name": "*",
623
+ "declaration": {
624
+ "name": "*",
625
+ "package": "./errorMap"
626
+ }
627
+ }
628
+ ]
629
+ },
630
+ {
631
+ "kind": "javascript-module",
632
+ "path": "src/design-system/design-system.ts",
633
+ "declarations": [
634
+ {
635
+ "kind": "function",
636
+ "name": "assureDesignSystem",
637
+ "return": {
638
+ "type": {
639
+ "text": "DesignSystemModule"
640
+ }
641
+ },
642
+ "parameters": [
643
+ {
644
+ "name": "module",
645
+ "type": {
646
+ "text": "DesignSystemModule"
647
+ }
648
+ }
649
+ ],
650
+ "description": "assureDesignSystem.",
651
+ "privacy": "public"
652
+ }
653
+ ],
654
+ "exports": [
655
+ {
656
+ "kind": "js",
657
+ "name": "assureDesignSystem",
658
+ "declaration": {
659
+ "name": "assureDesignSystem",
660
+ "module": "src/design-system/design-system.ts"
661
+ }
662
+ }
663
+ ]
664
+ },
665
+ {
666
+ "kind": "javascript-module",
667
+ "path": "src/design-system/index.ts",
668
+ "declarations": [],
669
+ "exports": [
670
+ {
671
+ "kind": "js",
672
+ "name": "*",
901
673
  "declaration": {
902
- "name": "DefaultErrorMap",
903
- "module": "src/error/errorMap.ts"
674
+ "name": "*",
675
+ "package": "./design-system"
904
676
  }
905
- },
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "kind": "javascript-module",
682
+ "path": "src/decorators/index.ts",
683
+ "declarations": [],
684
+ "exports": [
906
685
  {
907
686
  "kind": "js",
908
- "name": "createErrorMap",
687
+ "name": "*",
909
688
  "declaration": {
910
- "name": "createErrorMap",
911
- "module": "src/error/errorMap.ts"
689
+ "name": "*",
690
+ "package": "./renderOnChange"
912
691
  }
913
692
  }
914
693
  ]
915
694
  },
916
695
  {
917
696
  "kind": "javascript-module",
918
- "path": "src/error/index.ts",
919
- "declarations": [],
697
+ "path": "src/decorators/renderOnChange.ts",
698
+ "declarations": [
699
+ {
700
+ "kind": "function",
701
+ "name": "renderOnChange",
702
+ "parameters": [
703
+ {
704
+ "name": "target",
705
+ "type": {
706
+ "text": "FASTElement & { render(): void }"
707
+ },
708
+ "description": "The target to define the property change handler on."
709
+ },
710
+ {
711
+ "name": "name",
712
+ "type": {
713
+ "text": "string"
714
+ },
715
+ "description": "The property name."
716
+ }
717
+ ],
718
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
719
+ "privacy": "public"
720
+ }
721
+ ],
920
722
  "exports": [
921
723
  {
922
724
  "kind": "js",
923
- "name": "*",
725
+ "name": "renderOnChange",
924
726
  "declaration": {
925
- "name": "*",
926
- "package": "./errorMap"
727
+ "name": "renderOnChange",
728
+ "module": "src/decorators/renderOnChange.ts"
927
729
  }
928
730
  }
929
731
  ]
@@ -1213,6 +1015,204 @@
1213
1015
  }
1214
1016
  ]
1215
1017
  },
1018
+ {
1019
+ "kind": "javascript-module",
1020
+ "path": "src/data/inMemoryDatabase.ts",
1021
+ "declarations": [
1022
+ {
1023
+ "kind": "class",
1024
+ "description": "An in memory database of specific DatabaseRecord types.",
1025
+ "name": "InMemoryDatabase",
1026
+ "members": [
1027
+ {
1028
+ "kind": "field",
1029
+ "name": "isWorking",
1030
+ "type": {
1031
+ "text": "boolean"
1032
+ },
1033
+ "privacy": "public",
1034
+ "default": "false"
1035
+ },
1036
+ {
1037
+ "kind": "field",
1038
+ "name": "records",
1039
+ "type": {
1040
+ "text": "Record<string, T>"
1041
+ },
1042
+ "privacy": "private",
1043
+ "default": "{}"
1044
+ },
1045
+ {
1046
+ "kind": "field",
1047
+ "name": "beforeUpdateListeners",
1048
+ "privacy": "private"
1049
+ },
1050
+ {
1051
+ "kind": "field",
1052
+ "name": "afterUpdateListeners",
1053
+ "privacy": "private"
1054
+ },
1055
+ {
1056
+ "kind": "method",
1057
+ "name": "create",
1058
+ "privacy": "public",
1059
+ "return": {
1060
+ "type": {
1061
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1062
+ }
1063
+ },
1064
+ "parameters": [
1065
+ {
1066
+ "name": "newValue",
1067
+ "type": {
1068
+ "text": "Omit<T, 'id'>"
1069
+ }
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "kind": "method",
1075
+ "name": "read",
1076
+ "privacy": "public",
1077
+ "return": {
1078
+ "type": {
1079
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1080
+ }
1081
+ },
1082
+ "parameters": [
1083
+ {
1084
+ "name": "id",
1085
+ "type": {
1086
+ "text": "string"
1087
+ }
1088
+ }
1089
+ ]
1090
+ },
1091
+ {
1092
+ "kind": "method",
1093
+ "name": "update",
1094
+ "privacy": "public",
1095
+ "return": {
1096
+ "type": {
1097
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1098
+ }
1099
+ },
1100
+ "parameters": [
1101
+ {
1102
+ "name": "id",
1103
+ "type": {
1104
+ "text": "string"
1105
+ }
1106
+ },
1107
+ {
1108
+ "name": "newValue",
1109
+ "type": {
1110
+ "text": "Omit<Partial<T>, 'id'>"
1111
+ }
1112
+ }
1113
+ ]
1114
+ },
1115
+ {
1116
+ "kind": "method",
1117
+ "name": "delete",
1118
+ "privacy": "public",
1119
+ "return": {
1120
+ "type": {
1121
+ "text": "Promise<DatabaseAccessResult.Delete>"
1122
+ }
1123
+ },
1124
+ "parameters": [
1125
+ {
1126
+ "name": "id",
1127
+ "type": {
1128
+ "text": "string"
1129
+ }
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "kind": "method",
1135
+ "name": "visit",
1136
+ "privacy": "public",
1137
+ "return": {
1138
+ "type": {
1139
+ "text": "Promise<void>"
1140
+ }
1141
+ },
1142
+ "parameters": [
1143
+ {
1144
+ "name": "visitor",
1145
+ "type": {
1146
+ "text": "(record: T) => void"
1147
+ }
1148
+ }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "kind": "method",
1153
+ "name": "onBeforeUpdate",
1154
+ "privacy": "public",
1155
+ "return": {
1156
+ "type": {
1157
+ "text": "() => void"
1158
+ }
1159
+ },
1160
+ "parameters": [
1161
+ {
1162
+ "name": "listener",
1163
+ "type": {
1164
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1165
+ }
1166
+ }
1167
+ ]
1168
+ },
1169
+ {
1170
+ "kind": "method",
1171
+ "name": "onAfterUpdate",
1172
+ "privacy": "public",
1173
+ "return": {
1174
+ "type": {
1175
+ "text": "() => void"
1176
+ }
1177
+ },
1178
+ "parameters": [
1179
+ {
1180
+ "name": "listener",
1181
+ "type": {
1182
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1183
+ }
1184
+ }
1185
+ ]
1186
+ }
1187
+ ]
1188
+ }
1189
+ ],
1190
+ "exports": [
1191
+ {
1192
+ "kind": "js",
1193
+ "name": "InMemoryDatabase",
1194
+ "declaration": {
1195
+ "name": "InMemoryDatabase",
1196
+ "module": "src/data/inMemoryDatabase.ts"
1197
+ }
1198
+ }
1199
+ ]
1200
+ },
1201
+ {
1202
+ "kind": "javascript-module",
1203
+ "path": "src/data/index.ts",
1204
+ "declarations": [],
1205
+ "exports": [
1206
+ {
1207
+ "kind": "js",
1208
+ "name": "*",
1209
+ "declaration": {
1210
+ "name": "*",
1211
+ "package": "./inMemoryDatabase"
1212
+ }
1213
+ }
1214
+ ]
1215
+ },
1216
1216
  {
1217
1217
  "kind": "javascript-module",
1218
1218
  "path": "src/logger/index.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.220.0",
4
+ "version": "14.221.0",
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.220.0",
31
- "@genesislcap/genx": "14.220.0",
32
- "@genesislcap/rollup-builder": "14.220.0",
33
- "@genesislcap/ts-builder": "14.220.0",
34
- "@genesislcap/uvu-playwright-builder": "14.220.0",
35
- "@genesislcap/vite-builder": "14.220.0",
36
- "@genesislcap/webpack-builder": "14.220.0",
30
+ "@genesislcap/foundation-testing": "14.221.0",
31
+ "@genesislcap/genx": "14.221.0",
32
+ "@genesislcap/rollup-builder": "14.221.0",
33
+ "@genesislcap/ts-builder": "14.221.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.221.0",
35
+ "@genesislcap/vite-builder": "14.221.0",
36
+ "@genesislcap/webpack-builder": "14.221.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.220.0",
40
+ "@genesislcap/foundation-logger": "14.221.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@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": "18dcf3cbca18cf957d0bb082cb87c8b677ffe7b6"
58
+ "gitHead": "74cb1a2eb7b1b23c6c56f8852db7b8254968b88b"
59
59
  }