@genesislcap/foundation-utils 14.252.0 → 14.252.1-alpha-ea46342.0
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 +241 -241
- package/package.json +10 -10
|
@@ -171,190 +171,42 @@
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"kind": "javascript-module",
|
|
174
|
-
"path": "src/
|
|
174
|
+
"path": "src/design-system/design-system.ts",
|
|
175
175
|
"declarations": [
|
|
176
176
|
{
|
|
177
|
-
"kind": "
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"text": "boolean"
|
|
186
|
-
},
|
|
187
|
-
"privacy": "public",
|
|
188
|
-
"default": "false"
|
|
189
|
-
},
|
|
177
|
+
"kind": "function",
|
|
178
|
+
"name": "assureDesignSystem",
|
|
179
|
+
"return": {
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "DesignSystemModule"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"parameters": [
|
|
190
185
|
{
|
|
191
|
-
"
|
|
192
|
-
"name": "records",
|
|
186
|
+
"name": "module",
|
|
193
187
|
"type": {
|
|
194
|
-
"text": "
|
|
195
|
-
}
|
|
196
|
-
"privacy": "private",
|
|
197
|
-
"default": "{}"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"kind": "field",
|
|
201
|
-
"name": "beforeUpdateListeners",
|
|
202
|
-
"privacy": "private"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"kind": "field",
|
|
206
|
-
"name": "afterUpdateListeners",
|
|
207
|
-
"privacy": "private"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"kind": "method",
|
|
211
|
-
"name": "create",
|
|
212
|
-
"privacy": "public",
|
|
213
|
-
"return": {
|
|
214
|
-
"type": {
|
|
215
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"parameters": [
|
|
219
|
-
{
|
|
220
|
-
"name": "newValue",
|
|
221
|
-
"type": {
|
|
222
|
-
"text": "Omit<T, 'id'>"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "method",
|
|
229
|
-
"name": "read",
|
|
230
|
-
"privacy": "public",
|
|
231
|
-
"return": {
|
|
232
|
-
"type": {
|
|
233
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"parameters": [
|
|
237
|
-
{
|
|
238
|
-
"name": "id",
|
|
239
|
-
"type": {
|
|
240
|
-
"text": "string"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"kind": "method",
|
|
247
|
-
"name": "update",
|
|
248
|
-
"privacy": "public",
|
|
249
|
-
"return": {
|
|
250
|
-
"type": {
|
|
251
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"parameters": [
|
|
255
|
-
{
|
|
256
|
-
"name": "id",
|
|
257
|
-
"type": {
|
|
258
|
-
"text": "string"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "newValue",
|
|
263
|
-
"type": {
|
|
264
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"kind": "method",
|
|
271
|
-
"name": "delete",
|
|
272
|
-
"privacy": "public",
|
|
273
|
-
"return": {
|
|
274
|
-
"type": {
|
|
275
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"parameters": [
|
|
279
|
-
{
|
|
280
|
-
"name": "id",
|
|
281
|
-
"type": {
|
|
282
|
-
"text": "string"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"kind": "method",
|
|
289
|
-
"name": "visit",
|
|
290
|
-
"privacy": "public",
|
|
291
|
-
"return": {
|
|
292
|
-
"type": {
|
|
293
|
-
"text": "Promise<void>"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"parameters": [
|
|
297
|
-
{
|
|
298
|
-
"name": "visitor",
|
|
299
|
-
"type": {
|
|
300
|
-
"text": "(record: T) => void"
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"kind": "method",
|
|
307
|
-
"name": "onBeforeUpdate",
|
|
308
|
-
"privacy": "public",
|
|
309
|
-
"return": {
|
|
310
|
-
"type": {
|
|
311
|
-
"text": "() => void"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
"parameters": [
|
|
315
|
-
{
|
|
316
|
-
"name": "listener",
|
|
317
|
-
"type": {
|
|
318
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"kind": "method",
|
|
325
|
-
"name": "onAfterUpdate",
|
|
326
|
-
"privacy": "public",
|
|
327
|
-
"return": {
|
|
328
|
-
"type": {
|
|
329
|
-
"text": "() => void"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"parameters": [
|
|
333
|
-
{
|
|
334
|
-
"name": "listener",
|
|
335
|
-
"type": {
|
|
336
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
]
|
|
188
|
+
"text": "DesignSystemModule"
|
|
189
|
+
}
|
|
340
190
|
}
|
|
341
|
-
]
|
|
191
|
+
],
|
|
192
|
+
"description": "assureDesignSystem.",
|
|
193
|
+
"privacy": "public"
|
|
342
194
|
}
|
|
343
195
|
],
|
|
344
196
|
"exports": [
|
|
345
197
|
{
|
|
346
198
|
"kind": "js",
|
|
347
|
-
"name": "
|
|
199
|
+
"name": "assureDesignSystem",
|
|
348
200
|
"declaration": {
|
|
349
|
-
"name": "
|
|
350
|
-
"module": "src/
|
|
201
|
+
"name": "assureDesignSystem",
|
|
202
|
+
"module": "src/design-system/design-system.ts"
|
|
351
203
|
}
|
|
352
204
|
}
|
|
353
205
|
]
|
|
354
206
|
},
|
|
355
207
|
{
|
|
356
208
|
"kind": "javascript-module",
|
|
357
|
-
"path": "src/
|
|
209
|
+
"path": "src/design-system/index.ts",
|
|
358
210
|
"declarations": [],
|
|
359
211
|
"exports": [
|
|
360
212
|
{
|
|
@@ -362,7 +214,30 @@
|
|
|
362
214
|
"name": "*",
|
|
363
215
|
"declaration": {
|
|
364
216
|
"name": "*",
|
|
365
|
-
"package": "./
|
|
217
|
+
"package": "./design-system"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "javascript-module",
|
|
224
|
+
"path": "src/directives/index.ts",
|
|
225
|
+
"declarations": [],
|
|
226
|
+
"exports": [
|
|
227
|
+
{
|
|
228
|
+
"kind": "js",
|
|
229
|
+
"name": "*",
|
|
230
|
+
"declaration": {
|
|
231
|
+
"name": "*",
|
|
232
|
+
"package": "./sync"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"kind": "js",
|
|
237
|
+
"name": "*",
|
|
238
|
+
"declaration": {
|
|
239
|
+
"name": "*",
|
|
240
|
+
"package": "./when-else"
|
|
366
241
|
}
|
|
367
242
|
}
|
|
368
243
|
]
|
|
@@ -420,79 +295,6 @@
|
|
|
420
295
|
}
|
|
421
296
|
]
|
|
422
297
|
},
|
|
423
|
-
{
|
|
424
|
-
"kind": "javascript-module",
|
|
425
|
-
"path": "src/design-system/design-system.ts",
|
|
426
|
-
"declarations": [
|
|
427
|
-
{
|
|
428
|
-
"kind": "function",
|
|
429
|
-
"name": "assureDesignSystem",
|
|
430
|
-
"return": {
|
|
431
|
-
"type": {
|
|
432
|
-
"text": "DesignSystemModule"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
"parameters": [
|
|
436
|
-
{
|
|
437
|
-
"name": "module",
|
|
438
|
-
"type": {
|
|
439
|
-
"text": "DesignSystemModule"
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
"description": "assureDesignSystem.",
|
|
444
|
-
"privacy": "public"
|
|
445
|
-
}
|
|
446
|
-
],
|
|
447
|
-
"exports": [
|
|
448
|
-
{
|
|
449
|
-
"kind": "js",
|
|
450
|
-
"name": "assureDesignSystem",
|
|
451
|
-
"declaration": {
|
|
452
|
-
"name": "assureDesignSystem",
|
|
453
|
-
"module": "src/design-system/design-system.ts"
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"kind": "javascript-module",
|
|
460
|
-
"path": "src/design-system/index.ts",
|
|
461
|
-
"declarations": [],
|
|
462
|
-
"exports": [
|
|
463
|
-
{
|
|
464
|
-
"kind": "js",
|
|
465
|
-
"name": "*",
|
|
466
|
-
"declaration": {
|
|
467
|
-
"name": "*",
|
|
468
|
-
"package": "./design-system"
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"kind": "javascript-module",
|
|
475
|
-
"path": "src/directives/index.ts",
|
|
476
|
-
"declarations": [],
|
|
477
|
-
"exports": [
|
|
478
|
-
{
|
|
479
|
-
"kind": "js",
|
|
480
|
-
"name": "*",
|
|
481
|
-
"declaration": {
|
|
482
|
-
"name": "*",
|
|
483
|
-
"package": "./sync"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "js",
|
|
488
|
-
"name": "*",
|
|
489
|
-
"declaration": {
|
|
490
|
-
"name": "*",
|
|
491
|
-
"package": "./when-else"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
]
|
|
495
|
-
},
|
|
496
298
|
{
|
|
497
299
|
"kind": "javascript-module",
|
|
498
300
|
"path": "src/encoding/index.ts",
|
|
@@ -1148,6 +950,204 @@
|
|
|
1148
950
|
}
|
|
1149
951
|
]
|
|
1150
952
|
},
|
|
953
|
+
{
|
|
954
|
+
"kind": "javascript-module",
|
|
955
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
956
|
+
"declarations": [
|
|
957
|
+
{
|
|
958
|
+
"kind": "class",
|
|
959
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
960
|
+
"name": "InMemoryDatabase",
|
|
961
|
+
"members": [
|
|
962
|
+
{
|
|
963
|
+
"kind": "field",
|
|
964
|
+
"name": "isWorking",
|
|
965
|
+
"type": {
|
|
966
|
+
"text": "boolean"
|
|
967
|
+
},
|
|
968
|
+
"privacy": "public",
|
|
969
|
+
"default": "false"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"kind": "field",
|
|
973
|
+
"name": "records",
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "Record<string, T>"
|
|
976
|
+
},
|
|
977
|
+
"privacy": "private",
|
|
978
|
+
"default": "{}"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"kind": "field",
|
|
982
|
+
"name": "beforeUpdateListeners",
|
|
983
|
+
"privacy": "private"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"kind": "field",
|
|
987
|
+
"name": "afterUpdateListeners",
|
|
988
|
+
"privacy": "private"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"kind": "method",
|
|
992
|
+
"name": "create",
|
|
993
|
+
"privacy": "public",
|
|
994
|
+
"return": {
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"parameters": [
|
|
1000
|
+
{
|
|
1001
|
+
"name": "newValue",
|
|
1002
|
+
"type": {
|
|
1003
|
+
"text": "Omit<T, 'id'>"
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "method",
|
|
1010
|
+
"name": "read",
|
|
1011
|
+
"privacy": "public",
|
|
1012
|
+
"return": {
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"parameters": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "id",
|
|
1020
|
+
"type": {
|
|
1021
|
+
"text": "string"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"kind": "method",
|
|
1028
|
+
"name": "update",
|
|
1029
|
+
"privacy": "public",
|
|
1030
|
+
"return": {
|
|
1031
|
+
"type": {
|
|
1032
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
"parameters": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "id",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "string"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "newValue",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "method",
|
|
1052
|
+
"name": "delete",
|
|
1053
|
+
"privacy": "public",
|
|
1054
|
+
"return": {
|
|
1055
|
+
"type": {
|
|
1056
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"parameters": [
|
|
1060
|
+
{
|
|
1061
|
+
"name": "id",
|
|
1062
|
+
"type": {
|
|
1063
|
+
"text": "string"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "method",
|
|
1070
|
+
"name": "visit",
|
|
1071
|
+
"privacy": "public",
|
|
1072
|
+
"return": {
|
|
1073
|
+
"type": {
|
|
1074
|
+
"text": "Promise<void>"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
"parameters": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "visitor",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "(record: T) => void"
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "method",
|
|
1088
|
+
"name": "onBeforeUpdate",
|
|
1089
|
+
"privacy": "public",
|
|
1090
|
+
"return": {
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "() => void"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"parameters": [
|
|
1096
|
+
{
|
|
1097
|
+
"name": "listener",
|
|
1098
|
+
"type": {
|
|
1099
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
]
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "method",
|
|
1106
|
+
"name": "onAfterUpdate",
|
|
1107
|
+
"privacy": "public",
|
|
1108
|
+
"return": {
|
|
1109
|
+
"type": {
|
|
1110
|
+
"text": "() => void"
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
"parameters": [
|
|
1114
|
+
{
|
|
1115
|
+
"name": "listener",
|
|
1116
|
+
"type": {
|
|
1117
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
}
|
|
1122
|
+
]
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"exports": [
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "js",
|
|
1128
|
+
"name": "InMemoryDatabase",
|
|
1129
|
+
"declaration": {
|
|
1130
|
+
"name": "InMemoryDatabase",
|
|
1131
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
]
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"kind": "javascript-module",
|
|
1138
|
+
"path": "src/data/index.ts",
|
|
1139
|
+
"declarations": [],
|
|
1140
|
+
"exports": [
|
|
1141
|
+
{
|
|
1142
|
+
"kind": "js",
|
|
1143
|
+
"name": "*",
|
|
1144
|
+
"declaration": {
|
|
1145
|
+
"name": "*",
|
|
1146
|
+
"package": "./inMemoryDatabase"
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
]
|
|
1150
|
+
},
|
|
1151
1151
|
{
|
|
1152
1152
|
"kind": "javascript-module",
|
|
1153
1153
|
"path": "src/formatters/datetime.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.252.0",
|
|
4
|
+
"version": "14.252.1-alpha-ea46342.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.252.0",
|
|
31
|
-
"@genesislcap/genx": "14.252.0",
|
|
32
|
-
"@genesislcap/rollup-builder": "14.252.0",
|
|
33
|
-
"@genesislcap/ts-builder": "14.252.0",
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.252.0",
|
|
35
|
-
"@genesislcap/vite-builder": "14.252.0",
|
|
36
|
-
"@genesislcap/webpack-builder": "14.252.0",
|
|
30
|
+
"@genesislcap/foundation-testing": "14.252.1-alpha-ea46342.0",
|
|
31
|
+
"@genesislcap/genx": "14.252.1-alpha-ea46342.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.252.1-alpha-ea46342.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.252.1-alpha-ea46342.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.252.1-alpha-ea46342.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.252.1-alpha-ea46342.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.252.1-alpha-ea46342.0",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.252.0",
|
|
40
|
+
"@genesislcap/foundation-logger": "14.252.1-alpha-ea46342.0",
|
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
|
42
42
|
"@microsoft/fast-element": "1.14.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": "
|
|
58
|
+
"gitHead": "485b2409a4e213714ababadb49b8b87d3052c6cf"
|
|
59
59
|
}
|