@genesislcap/foundation-utils 14.401.1 → 14.401.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 +277 -277
  2. package/package.json +11 -11
@@ -201,6 +201,257 @@
201
201
  }
202
202
  ]
203
203
  },
204
+ {
205
+ "kind": "javascript-module",
206
+ "path": "src/data/inMemoryDatabase.ts",
207
+ "declarations": [
208
+ {
209
+ "kind": "class",
210
+ "description": "An in memory database of specific DatabaseRecord types.",
211
+ "name": "InMemoryDatabase",
212
+ "members": [
213
+ {
214
+ "kind": "field",
215
+ "name": "isWorking",
216
+ "type": {
217
+ "text": "boolean"
218
+ },
219
+ "privacy": "public",
220
+ "default": "false"
221
+ },
222
+ {
223
+ "kind": "field",
224
+ "name": "records",
225
+ "type": {
226
+ "text": "Record<string, T>"
227
+ },
228
+ "privacy": "private",
229
+ "default": "{}"
230
+ },
231
+ {
232
+ "kind": "field",
233
+ "name": "beforeUpdateListeners",
234
+ "privacy": "private"
235
+ },
236
+ {
237
+ "kind": "field",
238
+ "name": "afterUpdateListeners",
239
+ "privacy": "private"
240
+ },
241
+ {
242
+ "kind": "method",
243
+ "name": "create",
244
+ "privacy": "public",
245
+ "return": {
246
+ "type": {
247
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
248
+ }
249
+ },
250
+ "parameters": [
251
+ {
252
+ "name": "newValue",
253
+ "type": {
254
+ "text": "Omit<T, 'id'>"
255
+ }
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "kind": "method",
261
+ "name": "read",
262
+ "privacy": "public",
263
+ "return": {
264
+ "type": {
265
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
266
+ }
267
+ },
268
+ "parameters": [
269
+ {
270
+ "name": "id",
271
+ "type": {
272
+ "text": "string"
273
+ }
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "kind": "method",
279
+ "name": "update",
280
+ "privacy": "public",
281
+ "return": {
282
+ "type": {
283
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
284
+ }
285
+ },
286
+ "parameters": [
287
+ {
288
+ "name": "id",
289
+ "type": {
290
+ "text": "string"
291
+ }
292
+ },
293
+ {
294
+ "name": "newValue",
295
+ "type": {
296
+ "text": "Omit<Partial<T>, 'id'>"
297
+ }
298
+ }
299
+ ]
300
+ },
301
+ {
302
+ "kind": "method",
303
+ "name": "delete",
304
+ "privacy": "public",
305
+ "return": {
306
+ "type": {
307
+ "text": "Promise<DatabaseAccessResult.Delete>"
308
+ }
309
+ },
310
+ "parameters": [
311
+ {
312
+ "name": "id",
313
+ "type": {
314
+ "text": "string"
315
+ }
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "kind": "method",
321
+ "name": "visit",
322
+ "privacy": "public",
323
+ "return": {
324
+ "type": {
325
+ "text": "Promise<void>"
326
+ }
327
+ },
328
+ "parameters": [
329
+ {
330
+ "name": "visitor",
331
+ "type": {
332
+ "text": "(record: T) => void"
333
+ }
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "kind": "method",
339
+ "name": "onBeforeUpdate",
340
+ "privacy": "public",
341
+ "return": {
342
+ "type": {
343
+ "text": "() => void"
344
+ }
345
+ },
346
+ "parameters": [
347
+ {
348
+ "name": "listener",
349
+ "type": {
350
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
351
+ }
352
+ }
353
+ ]
354
+ },
355
+ {
356
+ "kind": "method",
357
+ "name": "onAfterUpdate",
358
+ "privacy": "public",
359
+ "return": {
360
+ "type": {
361
+ "text": "() => void"
362
+ }
363
+ },
364
+ "parameters": [
365
+ {
366
+ "name": "listener",
367
+ "type": {
368
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
369
+ }
370
+ }
371
+ ]
372
+ }
373
+ ]
374
+ }
375
+ ],
376
+ "exports": [
377
+ {
378
+ "kind": "js",
379
+ "name": "InMemoryDatabase",
380
+ "declaration": {
381
+ "name": "InMemoryDatabase",
382
+ "module": "src/data/inMemoryDatabase.ts"
383
+ }
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "kind": "javascript-module",
389
+ "path": "src/data/index.ts",
390
+ "declarations": [],
391
+ "exports": [
392
+ {
393
+ "kind": "js",
394
+ "name": "*",
395
+ "declaration": {
396
+ "name": "*",
397
+ "package": "./inMemoryDatabase"
398
+ }
399
+ }
400
+ ]
401
+ },
402
+ {
403
+ "kind": "javascript-module",
404
+ "path": "src/decorators/index.ts",
405
+ "declarations": [],
406
+ "exports": [
407
+ {
408
+ "kind": "js",
409
+ "name": "*",
410
+ "declaration": {
411
+ "name": "*",
412
+ "package": "./renderOnChange"
413
+ }
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ "kind": "javascript-module",
419
+ "path": "src/decorators/renderOnChange.ts",
420
+ "declarations": [
421
+ {
422
+ "kind": "function",
423
+ "name": "renderOnChange",
424
+ "parameters": [
425
+ {
426
+ "name": "target",
427
+ "type": {
428
+ "text": "FASTElement & { render(): void }"
429
+ },
430
+ "description": "The target to define the property change handler on."
431
+ },
432
+ {
433
+ "name": "name",
434
+ "type": {
435
+ "text": "string"
436
+ },
437
+ "description": "The property name."
438
+ }
439
+ ],
440
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
441
+ "privacy": "public"
442
+ }
443
+ ],
444
+ "exports": [
445
+ {
446
+ "kind": "js",
447
+ "name": "renderOnChange",
448
+ "declaration": {
449
+ "name": "renderOnChange",
450
+ "module": "src/decorators/renderOnChange.ts"
451
+ }
452
+ }
453
+ ]
454
+ },
204
455
  {
205
456
  "kind": "javascript-module",
206
457
  "path": "src/design-system/design-system.ts",
@@ -338,7 +589,7 @@
338
589
  },
339
590
  {
340
591
  "kind": "javascript-module",
341
- "path": "src/env/index.ts",
592
+ "path": "src/directives/index.ts",
342
593
  "declarations": [],
343
594
  "exports": [
344
595
  {
@@ -346,7 +597,7 @@
346
597
  "name": "*",
347
598
  "declaration": {
348
599
  "name": "*",
349
- "package": "./is-dev"
600
+ "package": "./sync"
350
601
  }
351
602
  },
352
603
  {
@@ -354,7 +605,30 @@
354
605
  "name": "*",
355
606
  "declaration": {
356
607
  "name": "*",
357
- "package": "./variables"
608
+ "package": "./when-else"
609
+ }
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "kind": "javascript-module",
615
+ "path": "src/env/index.ts",
616
+ "declarations": [],
617
+ "exports": [
618
+ {
619
+ "kind": "js",
620
+ "name": "*",
621
+ "declaration": {
622
+ "name": "*",
623
+ "package": "./is-dev"
624
+ }
625
+ },
626
+ {
627
+ "kind": "js",
628
+ "name": "*",
629
+ "declaration": {
630
+ "name": "*",
631
+ "package": "./variables"
358
632
  }
359
633
  }
360
634
  ]
@@ -1010,280 +1284,6 @@
1010
1284
  }
1011
1285
  ]
1012
1286
  },
1013
- {
1014
- "kind": "javascript-module",
1015
- "path": "src/data/inMemoryDatabase.ts",
1016
- "declarations": [
1017
- {
1018
- "kind": "class",
1019
- "description": "An in memory database of specific DatabaseRecord types.",
1020
- "name": "InMemoryDatabase",
1021
- "members": [
1022
- {
1023
- "kind": "field",
1024
- "name": "isWorking",
1025
- "type": {
1026
- "text": "boolean"
1027
- },
1028
- "privacy": "public",
1029
- "default": "false"
1030
- },
1031
- {
1032
- "kind": "field",
1033
- "name": "records",
1034
- "type": {
1035
- "text": "Record<string, T>"
1036
- },
1037
- "privacy": "private",
1038
- "default": "{}"
1039
- },
1040
- {
1041
- "kind": "field",
1042
- "name": "beforeUpdateListeners",
1043
- "privacy": "private"
1044
- },
1045
- {
1046
- "kind": "field",
1047
- "name": "afterUpdateListeners",
1048
- "privacy": "private"
1049
- },
1050
- {
1051
- "kind": "method",
1052
- "name": "create",
1053
- "privacy": "public",
1054
- "return": {
1055
- "type": {
1056
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1057
- }
1058
- },
1059
- "parameters": [
1060
- {
1061
- "name": "newValue",
1062
- "type": {
1063
- "text": "Omit<T, 'id'>"
1064
- }
1065
- }
1066
- ]
1067
- },
1068
- {
1069
- "kind": "method",
1070
- "name": "read",
1071
- "privacy": "public",
1072
- "return": {
1073
- "type": {
1074
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1075
- }
1076
- },
1077
- "parameters": [
1078
- {
1079
- "name": "id",
1080
- "type": {
1081
- "text": "string"
1082
- }
1083
- }
1084
- ]
1085
- },
1086
- {
1087
- "kind": "method",
1088
- "name": "update",
1089
- "privacy": "public",
1090
- "return": {
1091
- "type": {
1092
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1093
- }
1094
- },
1095
- "parameters": [
1096
- {
1097
- "name": "id",
1098
- "type": {
1099
- "text": "string"
1100
- }
1101
- },
1102
- {
1103
- "name": "newValue",
1104
- "type": {
1105
- "text": "Omit<Partial<T>, 'id'>"
1106
- }
1107
- }
1108
- ]
1109
- },
1110
- {
1111
- "kind": "method",
1112
- "name": "delete",
1113
- "privacy": "public",
1114
- "return": {
1115
- "type": {
1116
- "text": "Promise<DatabaseAccessResult.Delete>"
1117
- }
1118
- },
1119
- "parameters": [
1120
- {
1121
- "name": "id",
1122
- "type": {
1123
- "text": "string"
1124
- }
1125
- }
1126
- ]
1127
- },
1128
- {
1129
- "kind": "method",
1130
- "name": "visit",
1131
- "privacy": "public",
1132
- "return": {
1133
- "type": {
1134
- "text": "Promise<void>"
1135
- }
1136
- },
1137
- "parameters": [
1138
- {
1139
- "name": "visitor",
1140
- "type": {
1141
- "text": "(record: T) => void"
1142
- }
1143
- }
1144
- ]
1145
- },
1146
- {
1147
- "kind": "method",
1148
- "name": "onBeforeUpdate",
1149
- "privacy": "public",
1150
- "return": {
1151
- "type": {
1152
- "text": "() => void"
1153
- }
1154
- },
1155
- "parameters": [
1156
- {
1157
- "name": "listener",
1158
- "type": {
1159
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1160
- }
1161
- }
1162
- ]
1163
- },
1164
- {
1165
- "kind": "method",
1166
- "name": "onAfterUpdate",
1167
- "privacy": "public",
1168
- "return": {
1169
- "type": {
1170
- "text": "() => void"
1171
- }
1172
- },
1173
- "parameters": [
1174
- {
1175
- "name": "listener",
1176
- "type": {
1177
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1178
- }
1179
- }
1180
- ]
1181
- }
1182
- ]
1183
- }
1184
- ],
1185
- "exports": [
1186
- {
1187
- "kind": "js",
1188
- "name": "InMemoryDatabase",
1189
- "declaration": {
1190
- "name": "InMemoryDatabase",
1191
- "module": "src/data/inMemoryDatabase.ts"
1192
- }
1193
- }
1194
- ]
1195
- },
1196
- {
1197
- "kind": "javascript-module",
1198
- "path": "src/data/index.ts",
1199
- "declarations": [],
1200
- "exports": [
1201
- {
1202
- "kind": "js",
1203
- "name": "*",
1204
- "declaration": {
1205
- "name": "*",
1206
- "package": "./inMemoryDatabase"
1207
- }
1208
- }
1209
- ]
1210
- },
1211
- {
1212
- "kind": "javascript-module",
1213
- "path": "src/decorators/index.ts",
1214
- "declarations": [],
1215
- "exports": [
1216
- {
1217
- "kind": "js",
1218
- "name": "*",
1219
- "declaration": {
1220
- "name": "*",
1221
- "package": "./renderOnChange"
1222
- }
1223
- }
1224
- ]
1225
- },
1226
- {
1227
- "kind": "javascript-module",
1228
- "path": "src/decorators/renderOnChange.ts",
1229
- "declarations": [
1230
- {
1231
- "kind": "function",
1232
- "name": "renderOnChange",
1233
- "parameters": [
1234
- {
1235
- "name": "target",
1236
- "type": {
1237
- "text": "FASTElement & { render(): void }"
1238
- },
1239
- "description": "The target to define the property change handler on."
1240
- },
1241
- {
1242
- "name": "name",
1243
- "type": {
1244
- "text": "string"
1245
- },
1246
- "description": "The property name."
1247
- }
1248
- ],
1249
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1250
- "privacy": "public"
1251
- }
1252
- ],
1253
- "exports": [
1254
- {
1255
- "kind": "js",
1256
- "name": "renderOnChange",
1257
- "declaration": {
1258
- "name": "renderOnChange",
1259
- "module": "src/decorators/renderOnChange.ts"
1260
- }
1261
- }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "javascript-module",
1266
- "path": "src/directives/index.ts",
1267
- "declarations": [],
1268
- "exports": [
1269
- {
1270
- "kind": "js",
1271
- "name": "*",
1272
- "declaration": {
1273
- "name": "*",
1274
- "package": "./sync"
1275
- }
1276
- },
1277
- {
1278
- "kind": "js",
1279
- "name": "*",
1280
- "declaration": {
1281
- "name": "*",
1282
- "package": "./when-else"
1283
- }
1284
- }
1285
- ]
1286
- },
1287
1287
  {
1288
1288
  "kind": "javascript-module",
1289
1289
  "path": "src/feature-flags/featureFlags.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.401.1",
4
+ "version": "14.401.2",
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.401.1",
33
- "@genesislcap/genx": "14.401.1",
34
- "@genesislcap/rollup-builder": "14.401.1",
35
- "@genesislcap/ts-builder": "14.401.1",
36
- "@genesislcap/uvu-playwright-builder": "14.401.1",
37
- "@genesislcap/vite-builder": "14.401.1",
38
- "@genesislcap/webpack-builder": "14.401.1",
32
+ "@genesislcap/foundation-testing": "14.401.2",
33
+ "@genesislcap/genx": "14.401.2",
34
+ "@genesislcap/rollup-builder": "14.401.2",
35
+ "@genesislcap/ts-builder": "14.401.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.401.2",
37
+ "@genesislcap/vite-builder": "14.401.2",
38
+ "@genesislcap/webpack-builder": "14.401.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.401.1",
43
- "@genesislcap/foundation-logger": "14.401.1",
42
+ "@genesislcap/expression-builder": "14.401.2",
43
+ "@genesislcap/foundation-logger": "14.401.2",
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": "67e1a22a530940a9656775a0af0062847f407119"
61
+ "gitHead": "962c621bc4517795517825d5d8c932aad5f350fd"
62
62
  }