@genesislcap/foundation-utils 15.84.1 → 15.84.2-GENC-1737.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.
- package/dist/custom-elements.json +251 -251
- package/package.json +9 -9
|
@@ -258,204 +258,6 @@
|
|
|
258
258
|
}
|
|
259
259
|
]
|
|
260
260
|
},
|
|
261
|
-
{
|
|
262
|
-
"kind": "javascript-module",
|
|
263
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
264
|
-
"declarations": [
|
|
265
|
-
{
|
|
266
|
-
"kind": "class",
|
|
267
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
268
|
-
"name": "InMemoryDatabase",
|
|
269
|
-
"members": [
|
|
270
|
-
{
|
|
271
|
-
"kind": "field",
|
|
272
|
-
"name": "isWorking",
|
|
273
|
-
"type": {
|
|
274
|
-
"text": "boolean"
|
|
275
|
-
},
|
|
276
|
-
"privacy": "public",
|
|
277
|
-
"default": "false"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"kind": "field",
|
|
281
|
-
"name": "records",
|
|
282
|
-
"type": {
|
|
283
|
-
"text": "Record<string, T>"
|
|
284
|
-
},
|
|
285
|
-
"privacy": "private",
|
|
286
|
-
"default": "{}"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"kind": "field",
|
|
290
|
-
"name": "beforeUpdateListeners",
|
|
291
|
-
"privacy": "private"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"kind": "field",
|
|
295
|
-
"name": "afterUpdateListeners",
|
|
296
|
-
"privacy": "private"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"kind": "method",
|
|
300
|
-
"name": "create",
|
|
301
|
-
"privacy": "public",
|
|
302
|
-
"return": {
|
|
303
|
-
"type": {
|
|
304
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
"parameters": [
|
|
308
|
-
{
|
|
309
|
-
"name": "newValue",
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "Omit<T, 'id'>"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
]
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"kind": "method",
|
|
318
|
-
"name": "read",
|
|
319
|
-
"privacy": "public",
|
|
320
|
-
"return": {
|
|
321
|
-
"type": {
|
|
322
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
"parameters": [
|
|
326
|
-
{
|
|
327
|
-
"name": "id",
|
|
328
|
-
"type": {
|
|
329
|
-
"text": "string"
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
]
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"kind": "method",
|
|
336
|
-
"name": "update",
|
|
337
|
-
"privacy": "public",
|
|
338
|
-
"return": {
|
|
339
|
-
"type": {
|
|
340
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"parameters": [
|
|
344
|
-
{
|
|
345
|
-
"name": "id",
|
|
346
|
-
"type": {
|
|
347
|
-
"text": "string"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"name": "newValue",
|
|
352
|
-
"type": {
|
|
353
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"kind": "method",
|
|
360
|
-
"name": "delete",
|
|
361
|
-
"privacy": "public",
|
|
362
|
-
"return": {
|
|
363
|
-
"type": {
|
|
364
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
"parameters": [
|
|
368
|
-
{
|
|
369
|
-
"name": "id",
|
|
370
|
-
"type": {
|
|
371
|
-
"text": "string"
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
]
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"kind": "method",
|
|
378
|
-
"name": "visit",
|
|
379
|
-
"privacy": "public",
|
|
380
|
-
"return": {
|
|
381
|
-
"type": {
|
|
382
|
-
"text": "Promise<void>"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
"parameters": [
|
|
386
|
-
{
|
|
387
|
-
"name": "visitor",
|
|
388
|
-
"type": {
|
|
389
|
-
"text": "(record: T) => void"
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"kind": "method",
|
|
396
|
-
"name": "onBeforeUpdate",
|
|
397
|
-
"privacy": "public",
|
|
398
|
-
"return": {
|
|
399
|
-
"type": {
|
|
400
|
-
"text": "() => void"
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
"parameters": [
|
|
404
|
-
{
|
|
405
|
-
"name": "listener",
|
|
406
|
-
"type": {
|
|
407
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
]
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"kind": "method",
|
|
414
|
-
"name": "onAfterUpdate",
|
|
415
|
-
"privacy": "public",
|
|
416
|
-
"return": {
|
|
417
|
-
"type": {
|
|
418
|
-
"text": "() => void"
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
"parameters": [
|
|
422
|
-
{
|
|
423
|
-
"name": "listener",
|
|
424
|
-
"type": {
|
|
425
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
]
|
|
429
|
-
}
|
|
430
|
-
]
|
|
431
|
-
}
|
|
432
|
-
],
|
|
433
|
-
"exports": [
|
|
434
|
-
{
|
|
435
|
-
"kind": "js",
|
|
436
|
-
"name": "InMemoryDatabase",
|
|
437
|
-
"declaration": {
|
|
438
|
-
"name": "InMemoryDatabase",
|
|
439
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
]
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"kind": "javascript-module",
|
|
446
|
-
"path": "src/data/index.ts",
|
|
447
|
-
"declarations": [],
|
|
448
|
-
"exports": [
|
|
449
|
-
{
|
|
450
|
-
"kind": "js",
|
|
451
|
-
"name": "*",
|
|
452
|
-
"declaration": {
|
|
453
|
-
"name": "*",
|
|
454
|
-
"package": "./inMemoryDatabase"
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
]
|
|
458
|
-
},
|
|
459
261
|
{
|
|
460
262
|
"kind": "javascript-module",
|
|
461
263
|
"path": "src/design-system/design-system.ts",
|
|
@@ -732,59 +534,6 @@
|
|
|
732
534
|
}
|
|
733
535
|
]
|
|
734
536
|
},
|
|
735
|
-
{
|
|
736
|
-
"kind": "javascript-module",
|
|
737
|
-
"path": "src/decorators/index.ts",
|
|
738
|
-
"declarations": [],
|
|
739
|
-
"exports": [
|
|
740
|
-
{
|
|
741
|
-
"kind": "js",
|
|
742
|
-
"name": "*",
|
|
743
|
-
"declaration": {
|
|
744
|
-
"name": "*",
|
|
745
|
-
"package": "./renderOnChange"
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
]
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"kind": "javascript-module",
|
|
752
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
753
|
-
"declarations": [
|
|
754
|
-
{
|
|
755
|
-
"kind": "function",
|
|
756
|
-
"name": "renderOnChange",
|
|
757
|
-
"parameters": [
|
|
758
|
-
{
|
|
759
|
-
"name": "target",
|
|
760
|
-
"type": {
|
|
761
|
-
"text": "FASTElement & { render(): void }"
|
|
762
|
-
},
|
|
763
|
-
"description": "The target to define the property change handler on."
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"name": "name",
|
|
767
|
-
"type": {
|
|
768
|
-
"text": "string"
|
|
769
|
-
},
|
|
770
|
-
"description": "The property name."
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
774
|
-
"privacy": "public"
|
|
775
|
-
}
|
|
776
|
-
],
|
|
777
|
-
"exports": [
|
|
778
|
-
{
|
|
779
|
-
"kind": "js",
|
|
780
|
-
"name": "renderOnChange",
|
|
781
|
-
"declaration": {
|
|
782
|
-
"name": "renderOnChange",
|
|
783
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
]
|
|
787
|
-
},
|
|
788
537
|
{
|
|
789
538
|
"kind": "javascript-module",
|
|
790
539
|
"path": "src/env/index.ts",
|
|
@@ -1284,6 +1033,257 @@
|
|
|
1284
1033
|
}
|
|
1285
1034
|
]
|
|
1286
1035
|
},
|
|
1036
|
+
{
|
|
1037
|
+
"kind": "javascript-module",
|
|
1038
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
1039
|
+
"declarations": [
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "class",
|
|
1042
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
1043
|
+
"name": "InMemoryDatabase",
|
|
1044
|
+
"members": [
|
|
1045
|
+
{
|
|
1046
|
+
"kind": "field",
|
|
1047
|
+
"name": "isWorking",
|
|
1048
|
+
"type": {
|
|
1049
|
+
"text": "boolean"
|
|
1050
|
+
},
|
|
1051
|
+
"privacy": "public",
|
|
1052
|
+
"default": "false"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"kind": "field",
|
|
1056
|
+
"name": "records",
|
|
1057
|
+
"type": {
|
|
1058
|
+
"text": "Record<string, T>"
|
|
1059
|
+
},
|
|
1060
|
+
"privacy": "private",
|
|
1061
|
+
"default": "{}"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"kind": "field",
|
|
1065
|
+
"name": "beforeUpdateListeners",
|
|
1066
|
+
"privacy": "private"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "field",
|
|
1070
|
+
"name": "afterUpdateListeners",
|
|
1071
|
+
"privacy": "private"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "method",
|
|
1075
|
+
"name": "create",
|
|
1076
|
+
"privacy": "public",
|
|
1077
|
+
"return": {
|
|
1078
|
+
"type": {
|
|
1079
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
"parameters": [
|
|
1083
|
+
{
|
|
1084
|
+
"name": "newValue",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "Omit<T, 'id'>"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
]
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "method",
|
|
1093
|
+
"name": "read",
|
|
1094
|
+
"privacy": "public",
|
|
1095
|
+
"return": {
|
|
1096
|
+
"type": {
|
|
1097
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"parameters": [
|
|
1101
|
+
{
|
|
1102
|
+
"name": "id",
|
|
1103
|
+
"type": {
|
|
1104
|
+
"text": "string"
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
]
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"kind": "method",
|
|
1111
|
+
"name": "update",
|
|
1112
|
+
"privacy": "public",
|
|
1113
|
+
"return": {
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"parameters": [
|
|
1119
|
+
{
|
|
1120
|
+
"name": "id",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "string"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "newValue",
|
|
1127
|
+
"type": {
|
|
1128
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
]
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"kind": "method",
|
|
1135
|
+
"name": "delete",
|
|
1136
|
+
"privacy": "public",
|
|
1137
|
+
"return": {
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"parameters": [
|
|
1143
|
+
{
|
|
1144
|
+
"name": "id",
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "string"
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
]
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "method",
|
|
1153
|
+
"name": "visit",
|
|
1154
|
+
"privacy": "public",
|
|
1155
|
+
"return": {
|
|
1156
|
+
"type": {
|
|
1157
|
+
"text": "Promise<void>"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"parameters": [
|
|
1161
|
+
{
|
|
1162
|
+
"name": "visitor",
|
|
1163
|
+
"type": {
|
|
1164
|
+
"text": "(record: T) => void"
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
]
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"kind": "method",
|
|
1171
|
+
"name": "onBeforeUpdate",
|
|
1172
|
+
"privacy": "public",
|
|
1173
|
+
"return": {
|
|
1174
|
+
"type": {
|
|
1175
|
+
"text": "() => void"
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
"parameters": [
|
|
1179
|
+
{
|
|
1180
|
+
"name": "listener",
|
|
1181
|
+
"type": {
|
|
1182
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
]
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "method",
|
|
1189
|
+
"name": "onAfterUpdate",
|
|
1190
|
+
"privacy": "public",
|
|
1191
|
+
"return": {
|
|
1192
|
+
"type": {
|
|
1193
|
+
"text": "() => void"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"parameters": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "listener",
|
|
1199
|
+
"type": {
|
|
1200
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
}
|
|
1207
|
+
],
|
|
1208
|
+
"exports": [
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "js",
|
|
1211
|
+
"name": "InMemoryDatabase",
|
|
1212
|
+
"declaration": {
|
|
1213
|
+
"name": "InMemoryDatabase",
|
|
1214
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
]
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "javascript-module",
|
|
1221
|
+
"path": "src/data/index.ts",
|
|
1222
|
+
"declarations": [],
|
|
1223
|
+
"exports": [
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "js",
|
|
1226
|
+
"name": "*",
|
|
1227
|
+
"declaration": {
|
|
1228
|
+
"name": "*",
|
|
1229
|
+
"package": "./inMemoryDatabase"
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
]
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "javascript-module",
|
|
1236
|
+
"path": "src/decorators/index.ts",
|
|
1237
|
+
"declarations": [],
|
|
1238
|
+
"exports": [
|
|
1239
|
+
{
|
|
1240
|
+
"kind": "js",
|
|
1241
|
+
"name": "*",
|
|
1242
|
+
"declaration": {
|
|
1243
|
+
"name": "*",
|
|
1244
|
+
"package": "./renderOnChange"
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
]
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"kind": "javascript-module",
|
|
1251
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
1252
|
+
"declarations": [
|
|
1253
|
+
{
|
|
1254
|
+
"kind": "function",
|
|
1255
|
+
"name": "renderOnChange",
|
|
1256
|
+
"parameters": [
|
|
1257
|
+
{
|
|
1258
|
+
"name": "target",
|
|
1259
|
+
"type": {
|
|
1260
|
+
"text": "FASTElement & { render(): void }"
|
|
1261
|
+
},
|
|
1262
|
+
"description": "The target to define the property change handler on."
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "name",
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "string"
|
|
1268
|
+
},
|
|
1269
|
+
"description": "The property name."
|
|
1270
|
+
}
|
|
1271
|
+
],
|
|
1272
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
1273
|
+
"privacy": "public"
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"exports": [
|
|
1277
|
+
{
|
|
1278
|
+
"kind": "js",
|
|
1279
|
+
"name": "renderOnChange",
|
|
1280
|
+
"declaration": {
|
|
1281
|
+
"name": "renderOnChange",
|
|
1282
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
1287
|
{
|
|
1288
1288
|
"kind": "javascript-module",
|
|
1289
1289
|
"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": "15.84.
|
|
4
|
+
"version": "15.84.2-GENC-1737.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "15.84.
|
|
33
|
-
"@genesislcap/genx": "15.84.
|
|
34
|
-
"@genesislcap/ts-builder": "15.84.
|
|
35
|
-
"@genesislcap/uvu-playwright-builder": "15.84.
|
|
36
|
-
"@genesislcap/vite-builder": "15.84.
|
|
37
|
-
"@genesislcap/webpack-builder": "15.84.
|
|
32
|
+
"@genesislcap/foundation-testing": "15.84.2-GENC-1737.2",
|
|
33
|
+
"@genesislcap/genx": "15.84.2-GENC-1737.2",
|
|
34
|
+
"@genesislcap/ts-builder": "15.84.2-GENC-1737.2",
|
|
35
|
+
"@genesislcap/uvu-playwright-builder": "15.84.2-GENC-1737.2",
|
|
36
|
+
"@genesislcap/vite-builder": "15.84.2-GENC-1737.2",
|
|
37
|
+
"@genesislcap/webpack-builder": "15.84.2-GENC-1737.2",
|
|
38
38
|
"@types/json-schema": "^7.0.11"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@genesislcap/expression-builder": "15.84.
|
|
42
|
-
"@genesislcap/foundation-logger": "15.84.
|
|
41
|
+
"@genesislcap/expression-builder": "15.84.2-GENC-1737.2",
|
|
42
|
+
"@genesislcap/foundation-logger": "15.84.2-GENC-1737.2",
|
|
43
43
|
"@microsoft/fast-components": "2.30.6",
|
|
44
44
|
"@microsoft/fast-element": "1.14.0",
|
|
45
45
|
"@microsoft/fast-foundation": "2.50.0",
|