@genesislcap/foundation-utils 14.199.3-alpha-40ecfcd.0 → 14.200.0-FUI-2127.3

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 +304 -304
  2. package/package.json +10 -10
@@ -159,56 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "kind": "javascript-module",
164
- "path": "src/design-system/design-system.ts",
165
- "declarations": [
166
- {
167
- "kind": "function",
168
- "name": "assureDesignSystem",
169
- "return": {
170
- "type": {
171
- "text": "DesignSystemModule"
172
- }
173
- },
174
- "parameters": [
175
- {
176
- "name": "module",
177
- "type": {
178
- "text": "DesignSystemModule"
179
- }
180
- }
181
- ],
182
- "description": "assureDesignSystem.",
183
- "privacy": "public"
184
- }
185
- ],
186
- "exports": [
187
- {
188
- "kind": "js",
189
- "name": "assureDesignSystem",
190
- "declaration": {
191
- "name": "assureDesignSystem",
192
- "module": "src/design-system/design-system.ts"
193
- }
194
- }
195
- ]
196
- },
197
- {
198
- "kind": "javascript-module",
199
- "path": "src/design-system/index.ts",
200
- "declarations": [],
201
- "exports": [
202
- {
203
- "kind": "js",
204
- "name": "*",
205
- "declaration": {
206
- "name": "*",
207
- "package": "./design-system"
208
- }
209
- }
210
- ]
211
- },
212
162
  {
213
163
  "kind": "javascript-module",
214
164
  "path": "src/directives/index.ts",
@@ -232,257 +182,6 @@
232
182
  }
233
183
  ]
234
184
  },
235
- {
236
- "kind": "javascript-module",
237
- "path": "src/data/inMemoryDatabase.ts",
238
- "declarations": [
239
- {
240
- "kind": "class",
241
- "description": "An in memory database of specific DatabaseRecord types.",
242
- "name": "InMemoryDatabase",
243
- "members": [
244
- {
245
- "kind": "field",
246
- "name": "isWorking",
247
- "type": {
248
- "text": "boolean"
249
- },
250
- "privacy": "public",
251
- "default": "false"
252
- },
253
- {
254
- "kind": "field",
255
- "name": "records",
256
- "type": {
257
- "text": "Record<string, T>"
258
- },
259
- "privacy": "private",
260
- "default": "{}"
261
- },
262
- {
263
- "kind": "field",
264
- "name": "beforeUpdateListeners",
265
- "privacy": "private"
266
- },
267
- {
268
- "kind": "field",
269
- "name": "afterUpdateListeners",
270
- "privacy": "private"
271
- },
272
- {
273
- "kind": "method",
274
- "name": "create",
275
- "privacy": "public",
276
- "return": {
277
- "type": {
278
- "text": "Promise<DatabaseAccessResult.Create<T>>"
279
- }
280
- },
281
- "parameters": [
282
- {
283
- "name": "newValue",
284
- "type": {
285
- "text": "Omit<T, 'id'>"
286
- }
287
- }
288
- ]
289
- },
290
- {
291
- "kind": "method",
292
- "name": "read",
293
- "privacy": "public",
294
- "return": {
295
- "type": {
296
- "text": "Promise<DatabaseAccessResult.Read<T>>"
297
- }
298
- },
299
- "parameters": [
300
- {
301
- "name": "id",
302
- "type": {
303
- "text": "string"
304
- }
305
- }
306
- ]
307
- },
308
- {
309
- "kind": "method",
310
- "name": "update",
311
- "privacy": "public",
312
- "return": {
313
- "type": {
314
- "text": "Promise<DatabaseAccessResult.Update<T>>"
315
- }
316
- },
317
- "parameters": [
318
- {
319
- "name": "id",
320
- "type": {
321
- "text": "string"
322
- }
323
- },
324
- {
325
- "name": "newValue",
326
- "type": {
327
- "text": "Omit<Partial<T>, 'id'>"
328
- }
329
- }
330
- ]
331
- },
332
- {
333
- "kind": "method",
334
- "name": "delete",
335
- "privacy": "public",
336
- "return": {
337
- "type": {
338
- "text": "Promise<DatabaseAccessResult.Delete>"
339
- }
340
- },
341
- "parameters": [
342
- {
343
- "name": "id",
344
- "type": {
345
- "text": "string"
346
- }
347
- }
348
- ]
349
- },
350
- {
351
- "kind": "method",
352
- "name": "visit",
353
- "privacy": "public",
354
- "return": {
355
- "type": {
356
- "text": "Promise<void>"
357
- }
358
- },
359
- "parameters": [
360
- {
361
- "name": "visitor",
362
- "type": {
363
- "text": "(record: T) => void"
364
- }
365
- }
366
- ]
367
- },
368
- {
369
- "kind": "method",
370
- "name": "onBeforeUpdate",
371
- "privacy": "public",
372
- "return": {
373
- "type": {
374
- "text": "() => void"
375
- }
376
- },
377
- "parameters": [
378
- {
379
- "name": "listener",
380
- "type": {
381
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
382
- }
383
- }
384
- ]
385
- },
386
- {
387
- "kind": "method",
388
- "name": "onAfterUpdate",
389
- "privacy": "public",
390
- "return": {
391
- "type": {
392
- "text": "() => void"
393
- }
394
- },
395
- "parameters": [
396
- {
397
- "name": "listener",
398
- "type": {
399
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
400
- }
401
- }
402
- ]
403
- }
404
- ]
405
- }
406
- ],
407
- "exports": [
408
- {
409
- "kind": "js",
410
- "name": "InMemoryDatabase",
411
- "declaration": {
412
- "name": "InMemoryDatabase",
413
- "module": "src/data/inMemoryDatabase.ts"
414
- }
415
- }
416
- ]
417
- },
418
- {
419
- "kind": "javascript-module",
420
- "path": "src/data/index.ts",
421
- "declarations": [],
422
- "exports": [
423
- {
424
- "kind": "js",
425
- "name": "*",
426
- "declaration": {
427
- "name": "*",
428
- "package": "./inMemoryDatabase"
429
- }
430
- }
431
- ]
432
- },
433
- {
434
- "kind": "javascript-module",
435
- "path": "src/decorators/index.ts",
436
- "declarations": [],
437
- "exports": [
438
- {
439
- "kind": "js",
440
- "name": "*",
441
- "declaration": {
442
- "name": "*",
443
- "package": "./renderOnChange"
444
- }
445
- }
446
- ]
447
- },
448
- {
449
- "kind": "javascript-module",
450
- "path": "src/decorators/renderOnChange.ts",
451
- "declarations": [
452
- {
453
- "kind": "function",
454
- "name": "renderOnChange",
455
- "parameters": [
456
- {
457
- "name": "target",
458
- "type": {
459
- "text": "FASTElement & { render(): void }"
460
- },
461
- "description": "The target to define the property change handler on."
462
- },
463
- {
464
- "name": "name",
465
- "type": {
466
- "text": "string"
467
- },
468
- "description": "The property name."
469
- }
470
- ],
471
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
472
- "privacy": "public"
473
- }
474
- ],
475
- "exports": [
476
- {
477
- "kind": "js",
478
- "name": "renderOnChange",
479
- "declaration": {
480
- "name": "renderOnChange",
481
- "module": "src/decorators/renderOnChange.ts"
482
- }
483
- }
484
- ]
485
- },
486
185
  {
487
186
  "kind": "javascript-module",
488
187
  "path": "src/env/index.ts",
@@ -713,10 +412,63 @@
713
412
  },
714
413
  {
715
414
  "kind": "js",
716
- "name": "DEFAULT_USER",
415
+ "name": "DEFAULT_USER",
416
+ "declaration": {
417
+ "name": "_DEFAULT_USER",
418
+ "module": "src/env/variables.ts"
419
+ }
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "kind": "javascript-module",
425
+ "path": "src/decorators/index.ts",
426
+ "declarations": [],
427
+ "exports": [
428
+ {
429
+ "kind": "js",
430
+ "name": "*",
431
+ "declaration": {
432
+ "name": "*",
433
+ "package": "./renderOnChange"
434
+ }
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "kind": "javascript-module",
440
+ "path": "src/decorators/renderOnChange.ts",
441
+ "declarations": [
442
+ {
443
+ "kind": "function",
444
+ "name": "renderOnChange",
445
+ "parameters": [
446
+ {
447
+ "name": "target",
448
+ "type": {
449
+ "text": "FASTElement & { render(): void }"
450
+ },
451
+ "description": "The target to define the property change handler on."
452
+ },
453
+ {
454
+ "name": "name",
455
+ "type": {
456
+ "text": "string"
457
+ },
458
+ "description": "The property name."
459
+ }
460
+ ],
461
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
462
+ "privacy": "public"
463
+ }
464
+ ],
465
+ "exports": [
466
+ {
467
+ "kind": "js",
468
+ "name": "renderOnChange",
717
469
  "declaration": {
718
- "name": "_DEFAULT_USER",
719
- "module": "src/env/variables.ts"
470
+ "name": "renderOnChange",
471
+ "module": "src/decorators/renderOnChange.ts"
720
472
  }
721
473
  }
722
474
  ]
@@ -1205,6 +957,254 @@
1205
957
  }
1206
958
  ]
1207
959
  },
960
+ {
961
+ "kind": "javascript-module",
962
+ "path": "src/data/inMemoryDatabase.ts",
963
+ "declarations": [
964
+ {
965
+ "kind": "class",
966
+ "description": "An in memory database of specific DatabaseRecord types.",
967
+ "name": "InMemoryDatabase",
968
+ "members": [
969
+ {
970
+ "kind": "field",
971
+ "name": "isWorking",
972
+ "type": {
973
+ "text": "boolean"
974
+ },
975
+ "privacy": "public",
976
+ "default": "false"
977
+ },
978
+ {
979
+ "kind": "field",
980
+ "name": "records",
981
+ "type": {
982
+ "text": "Record<string, T>"
983
+ },
984
+ "privacy": "private",
985
+ "default": "{}"
986
+ },
987
+ {
988
+ "kind": "field",
989
+ "name": "beforeUpdateListeners",
990
+ "privacy": "private"
991
+ },
992
+ {
993
+ "kind": "field",
994
+ "name": "afterUpdateListeners",
995
+ "privacy": "private"
996
+ },
997
+ {
998
+ "kind": "method",
999
+ "name": "create",
1000
+ "privacy": "public",
1001
+ "return": {
1002
+ "type": {
1003
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1004
+ }
1005
+ },
1006
+ "parameters": [
1007
+ {
1008
+ "name": "newValue",
1009
+ "type": {
1010
+ "text": "Omit<T, 'id'>"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "method",
1017
+ "name": "read",
1018
+ "privacy": "public",
1019
+ "return": {
1020
+ "type": {
1021
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1022
+ }
1023
+ },
1024
+ "parameters": [
1025
+ {
1026
+ "name": "id",
1027
+ "type": {
1028
+ "text": "string"
1029
+ }
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "kind": "method",
1035
+ "name": "update",
1036
+ "privacy": "public",
1037
+ "return": {
1038
+ "type": {
1039
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1040
+ }
1041
+ },
1042
+ "parameters": [
1043
+ {
1044
+ "name": "id",
1045
+ "type": {
1046
+ "text": "string"
1047
+ }
1048
+ },
1049
+ {
1050
+ "name": "newValue",
1051
+ "type": {
1052
+ "text": "Omit<Partial<T>, 'id'>"
1053
+ }
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "kind": "method",
1059
+ "name": "delete",
1060
+ "privacy": "public",
1061
+ "return": {
1062
+ "type": {
1063
+ "text": "Promise<DatabaseAccessResult.Delete>"
1064
+ }
1065
+ },
1066
+ "parameters": [
1067
+ {
1068
+ "name": "id",
1069
+ "type": {
1070
+ "text": "string"
1071
+ }
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "kind": "method",
1077
+ "name": "visit",
1078
+ "privacy": "public",
1079
+ "return": {
1080
+ "type": {
1081
+ "text": "Promise<void>"
1082
+ }
1083
+ },
1084
+ "parameters": [
1085
+ {
1086
+ "name": "visitor",
1087
+ "type": {
1088
+ "text": "(record: T) => void"
1089
+ }
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ "kind": "method",
1095
+ "name": "onBeforeUpdate",
1096
+ "privacy": "public",
1097
+ "return": {
1098
+ "type": {
1099
+ "text": "() => void"
1100
+ }
1101
+ },
1102
+ "parameters": [
1103
+ {
1104
+ "name": "listener",
1105
+ "type": {
1106
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1107
+ }
1108
+ }
1109
+ ]
1110
+ },
1111
+ {
1112
+ "kind": "method",
1113
+ "name": "onAfterUpdate",
1114
+ "privacy": "public",
1115
+ "return": {
1116
+ "type": {
1117
+ "text": "() => void"
1118
+ }
1119
+ },
1120
+ "parameters": [
1121
+ {
1122
+ "name": "listener",
1123
+ "type": {
1124
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1125
+ }
1126
+ }
1127
+ ]
1128
+ }
1129
+ ]
1130
+ }
1131
+ ],
1132
+ "exports": [
1133
+ {
1134
+ "kind": "js",
1135
+ "name": "InMemoryDatabase",
1136
+ "declaration": {
1137
+ "name": "InMemoryDatabase",
1138
+ "module": "src/data/inMemoryDatabase.ts"
1139
+ }
1140
+ }
1141
+ ]
1142
+ },
1143
+ {
1144
+ "kind": "javascript-module",
1145
+ "path": "src/data/index.ts",
1146
+ "declarations": [],
1147
+ "exports": [
1148
+ {
1149
+ "kind": "js",
1150
+ "name": "*",
1151
+ "declaration": {
1152
+ "name": "*",
1153
+ "package": "./inMemoryDatabase"
1154
+ }
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "javascript-module",
1160
+ "path": "src/design-system/design-system.ts",
1161
+ "declarations": [
1162
+ {
1163
+ "kind": "function",
1164
+ "name": "assureDesignSystem",
1165
+ "return": {
1166
+ "type": {
1167
+ "text": "DesignSystemModule"
1168
+ }
1169
+ },
1170
+ "parameters": [
1171
+ {
1172
+ "name": "module",
1173
+ "type": {
1174
+ "text": "DesignSystemModule"
1175
+ }
1176
+ }
1177
+ ],
1178
+ "description": "assureDesignSystem.",
1179
+ "privacy": "public"
1180
+ }
1181
+ ],
1182
+ "exports": [
1183
+ {
1184
+ "kind": "js",
1185
+ "name": "assureDesignSystem",
1186
+ "declaration": {
1187
+ "name": "assureDesignSystem",
1188
+ "module": "src/design-system/design-system.ts"
1189
+ }
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ "kind": "javascript-module",
1195
+ "path": "src/design-system/index.ts",
1196
+ "declarations": [],
1197
+ "exports": [
1198
+ {
1199
+ "kind": "js",
1200
+ "name": "*",
1201
+ "declaration": {
1202
+ "name": "*",
1203
+ "package": "./design-system"
1204
+ }
1205
+ }
1206
+ ]
1207
+ },
1208
1208
  {
1209
1209
  "kind": "javascript-module",
1210
1210
  "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.199.3-alpha-40ecfcd.0",
4
+ "version": "14.200.0-FUI-2127.3",
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.199.3-alpha-40ecfcd.0",
31
- "@genesislcap/genx": "14.199.3-alpha-40ecfcd.0",
32
- "@genesislcap/rollup-builder": "14.199.3-alpha-40ecfcd.0",
33
- "@genesislcap/ts-builder": "14.199.3-alpha-40ecfcd.0",
34
- "@genesislcap/uvu-playwright-builder": "14.199.3-alpha-40ecfcd.0",
35
- "@genesislcap/vite-builder": "14.199.3-alpha-40ecfcd.0",
36
- "@genesislcap/webpack-builder": "14.199.3-alpha-40ecfcd.0",
30
+ "@genesislcap/foundation-testing": "14.200.0-FUI-2127.3",
31
+ "@genesislcap/genx": "14.200.0-FUI-2127.3",
32
+ "@genesislcap/rollup-builder": "14.200.0-FUI-2127.3",
33
+ "@genesislcap/ts-builder": "14.200.0-FUI-2127.3",
34
+ "@genesislcap/uvu-playwright-builder": "14.200.0-FUI-2127.3",
35
+ "@genesislcap/vite-builder": "14.200.0-FUI-2127.3",
36
+ "@genesislcap/webpack-builder": "14.200.0-FUI-2127.3",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.199.3-alpha-40ecfcd.0",
40
+ "@genesislcap/foundation-logger": "14.200.0-FUI-2127.3",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "149c12e480fefd02669c2c830f01c9eb7190e2aa"
58
+ "gitHead": "b29e581ae1cc6e2acdaec752de35ddeb6262894d"
59
59
  }