@genesislcap/foundation-utils 14.223.1-alpha-96ec959.0 → 14.223.1-alpha-e2da71c.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 +306 -306
  2. package/package.json +13 -13
@@ -167,6 +167,307 @@
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
+ {
369
+ "kind": "javascript-module",
370
+ "path": "src/decorators/index.ts",
371
+ "declarations": [],
372
+ "exports": [
373
+ {
374
+ "kind": "js",
375
+ "name": "*",
376
+ "declaration": {
377
+ "name": "*",
378
+ "package": "./renderOnChange"
379
+ }
380
+ }
381
+ ]
382
+ },
383
+ {
384
+ "kind": "javascript-module",
385
+ "path": "src/decorators/renderOnChange.ts",
386
+ "declarations": [
387
+ {
388
+ "kind": "function",
389
+ "name": "renderOnChange",
390
+ "parameters": [
391
+ {
392
+ "name": "target",
393
+ "type": {
394
+ "text": "FASTElement & { render(): void }"
395
+ },
396
+ "description": "The target to define the property change handler on."
397
+ },
398
+ {
399
+ "name": "name",
400
+ "type": {
401
+ "text": "string"
402
+ },
403
+ "description": "The property name."
404
+ }
405
+ ],
406
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
407
+ "privacy": "public"
408
+ }
409
+ ],
410
+ "exports": [
411
+ {
412
+ "kind": "js",
413
+ "name": "renderOnChange",
414
+ "declaration": {
415
+ "name": "renderOnChange",
416
+ "module": "src/decorators/renderOnChange.ts"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "kind": "javascript-module",
423
+ "path": "src/design-system/design-system.ts",
424
+ "declarations": [
425
+ {
426
+ "kind": "function",
427
+ "name": "assureDesignSystem",
428
+ "return": {
429
+ "type": {
430
+ "text": "DesignSystemModule"
431
+ }
432
+ },
433
+ "parameters": [
434
+ {
435
+ "name": "module",
436
+ "type": {
437
+ "text": "DesignSystemModule"
438
+ }
439
+ }
440
+ ],
441
+ "description": "assureDesignSystem.",
442
+ "privacy": "public"
443
+ }
444
+ ],
445
+ "exports": [
446
+ {
447
+ "kind": "js",
448
+ "name": "assureDesignSystem",
449
+ "declaration": {
450
+ "name": "assureDesignSystem",
451
+ "module": "src/design-system/design-system.ts"
452
+ }
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "kind": "javascript-module",
458
+ "path": "src/design-system/index.ts",
459
+ "declarations": [],
460
+ "exports": [
461
+ {
462
+ "kind": "js",
463
+ "name": "*",
464
+ "declaration": {
465
+ "name": "*",
466
+ "package": "./design-system"
467
+ }
468
+ }
469
+ ]
470
+ },
170
471
  {
171
472
  "kind": "javascript-module",
172
473
  "path": "src/directives/index.ts",
@@ -614,68 +915,15 @@
614
915
  },
615
916
  {
616
917
  "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/decorators/index.ts",
633
- "declarations": [],
634
- "exports": [
635
- {
636
- "kind": "js",
637
- "name": "*",
638
- "declaration": {
639
- "name": "*",
640
- "package": "./renderOnChange"
641
- }
642
- }
643
- ]
644
- },
645
- {
646
- "kind": "javascript-module",
647
- "path": "src/decorators/renderOnChange.ts",
648
- "declarations": [
649
- {
650
- "kind": "function",
651
- "name": "renderOnChange",
652
- "parameters": [
653
- {
654
- "name": "target",
655
- "type": {
656
- "text": "FASTElement & { render(): void }"
657
- },
658
- "description": "The target to define the property change handler on."
659
- },
660
- {
661
- "name": "name",
662
- "type": {
663
- "text": "string"
664
- },
665
- "description": "The property name."
666
- }
667
- ],
668
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
669
- "privacy": "public"
670
- }
671
- ],
918
+ "path": "src/error/index.ts",
919
+ "declarations": [],
672
920
  "exports": [
673
921
  {
674
922
  "kind": "js",
675
- "name": "renderOnChange",
923
+ "name": "*",
676
924
  "declaration": {
677
- "name": "renderOnChange",
678
- "module": "src/decorators/renderOnChange.ts"
925
+ "name": "*",
926
+ "package": "./errorMap"
679
927
  }
680
928
  }
681
929
  ]
@@ -965,254 +1213,6 @@
965
1213
  }
966
1214
  ]
967
1215
  },
968
- {
969
- "kind": "javascript-module",
970
- "path": "src/design-system/design-system.ts",
971
- "declarations": [
972
- {
973
- "kind": "function",
974
- "name": "assureDesignSystem",
975
- "return": {
976
- "type": {
977
- "text": "DesignSystemModule"
978
- }
979
- },
980
- "parameters": [
981
- {
982
- "name": "module",
983
- "type": {
984
- "text": "DesignSystemModule"
985
- }
986
- }
987
- ],
988
- "description": "assureDesignSystem.",
989
- "privacy": "public"
990
- }
991
- ],
992
- "exports": [
993
- {
994
- "kind": "js",
995
- "name": "assureDesignSystem",
996
- "declaration": {
997
- "name": "assureDesignSystem",
998
- "module": "src/design-system/design-system.ts"
999
- }
1000
- }
1001
- ]
1002
- },
1003
- {
1004
- "kind": "javascript-module",
1005
- "path": "src/design-system/index.ts",
1006
- "declarations": [],
1007
- "exports": [
1008
- {
1009
- "kind": "js",
1010
- "name": "*",
1011
- "declaration": {
1012
- "name": "*",
1013
- "package": "./design-system"
1014
- }
1015
- }
1016
- ]
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.223.1-alpha-96ec959.0",
4
+ "version": "14.223.1-alpha-e2da71c.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,20 +27,20 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.223.1-alpha-96ec959.0",
31
- "@genesislcap/genx": "14.223.1-alpha-96ec959.0",
32
- "@genesislcap/rollup-builder": "14.223.1-alpha-96ec959.0",
33
- "@genesislcap/ts-builder": "14.223.1-alpha-96ec959.0",
34
- "@genesislcap/uvu-playwright-builder": "14.223.1-alpha-96ec959.0",
35
- "@genesislcap/vite-builder": "14.223.1-alpha-96ec959.0",
36
- "@genesislcap/webpack-builder": "14.223.1-alpha-96ec959.0",
30
+ "@genesislcap/foundation-testing": "14.223.1-alpha-e2da71c.0",
31
+ "@genesislcap/genx": "14.223.1-alpha-e2da71c.0",
32
+ "@genesislcap/rollup-builder": "14.223.1-alpha-e2da71c.0",
33
+ "@genesislcap/ts-builder": "14.223.1-alpha-e2da71c.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.223.1-alpha-e2da71c.0",
35
+ "@genesislcap/vite-builder": "14.223.1-alpha-e2da71c.0",
36
+ "@genesislcap/webpack-builder": "14.223.1-alpha-e2da71c.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.223.1-alpha-96ec959.0",
41
- "@microsoft/fast-components": "^2.30.6",
42
- "@microsoft/fast-element": "^1.12.0",
43
- "@microsoft/fast-foundation": "2.49.5",
40
+ "@genesislcap/foundation-logger": "14.223.1-alpha-e2da71c.0",
41
+ "@microsoft/fast-components": "2.30.6",
42
+ "@microsoft/fast-element": "1.14.0",
43
+ "@microsoft/fast-foundation": "2.49.6",
44
44
  "lossless-json": "^2.0.11",
45
45
  "numeral": "2.0.6",
46
46
  "tslib": "^2.3.1",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "6b618f4aa58da9d5c4a3c701895321cb4d13efef"
58
+ "gitHead": "a19985b4b79f9733183bbf5d13dd7d1029d19468"
59
59
  }