@genesislcap/foundation-utils 14.127.3 → 14.127.5
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 +205 -205
- package/package.json +5 -5
|
@@ -145,23 +145,198 @@
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"kind": "javascript-module",
|
|
148
|
-
"path": "src/
|
|
149
|
-
"declarations": [
|
|
148
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
149
|
+
"declarations": [
|
|
150
|
+
{
|
|
151
|
+
"kind": "class",
|
|
152
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
153
|
+
"name": "InMemoryDatabase",
|
|
154
|
+
"members": [
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "isWorking",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "boolean"
|
|
160
|
+
},
|
|
161
|
+
"privacy": "public",
|
|
162
|
+
"default": "false"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "records",
|
|
167
|
+
"type": {
|
|
168
|
+
"text": "Record<string, T>"
|
|
169
|
+
},
|
|
170
|
+
"privacy": "private",
|
|
171
|
+
"default": "{}"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "field",
|
|
175
|
+
"name": "beforeUpdateListeners",
|
|
176
|
+
"privacy": "private"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "field",
|
|
180
|
+
"name": "afterUpdateListeners",
|
|
181
|
+
"privacy": "private"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"kind": "method",
|
|
185
|
+
"name": "create",
|
|
186
|
+
"privacy": "public",
|
|
187
|
+
"return": {
|
|
188
|
+
"type": {
|
|
189
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"parameters": [
|
|
193
|
+
{
|
|
194
|
+
"name": "newValue",
|
|
195
|
+
"type": {
|
|
196
|
+
"text": "Omit<T, 'id'>"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "method",
|
|
203
|
+
"name": "read",
|
|
204
|
+
"privacy": "public",
|
|
205
|
+
"return": {
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"parameters": [
|
|
211
|
+
{
|
|
212
|
+
"name": "id",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "string"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"kind": "method",
|
|
221
|
+
"name": "update",
|
|
222
|
+
"privacy": "public",
|
|
223
|
+
"return": {
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"parameters": [
|
|
229
|
+
{
|
|
230
|
+
"name": "id",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "string"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "newValue",
|
|
237
|
+
"type": {
|
|
238
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"kind": "method",
|
|
245
|
+
"name": "delete",
|
|
246
|
+
"privacy": "public",
|
|
247
|
+
"return": {
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"parameters": [
|
|
253
|
+
{
|
|
254
|
+
"name": "id",
|
|
255
|
+
"type": {
|
|
256
|
+
"text": "string"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "method",
|
|
263
|
+
"name": "visit",
|
|
264
|
+
"privacy": "public",
|
|
265
|
+
"return": {
|
|
266
|
+
"type": {
|
|
267
|
+
"text": "Promise<void>"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"parameters": [
|
|
271
|
+
{
|
|
272
|
+
"name": "visitor",
|
|
273
|
+
"type": {
|
|
274
|
+
"text": "(record: T) => void"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "method",
|
|
281
|
+
"name": "onBeforeUpdate",
|
|
282
|
+
"privacy": "public",
|
|
283
|
+
"return": {
|
|
284
|
+
"type": {
|
|
285
|
+
"text": "() => void"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"parameters": [
|
|
289
|
+
{
|
|
290
|
+
"name": "listener",
|
|
291
|
+
"type": {
|
|
292
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"kind": "method",
|
|
299
|
+
"name": "onAfterUpdate",
|
|
300
|
+
"privacy": "public",
|
|
301
|
+
"return": {
|
|
302
|
+
"type": {
|
|
303
|
+
"text": "() => void"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"parameters": [
|
|
307
|
+
{
|
|
308
|
+
"name": "listener",
|
|
309
|
+
"type": {
|
|
310
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
],
|
|
150
318
|
"exports": [
|
|
151
319
|
{
|
|
152
320
|
"kind": "js",
|
|
153
|
-
"name": "
|
|
321
|
+
"name": "InMemoryDatabase",
|
|
154
322
|
"declaration": {
|
|
155
|
-
"name": "
|
|
156
|
-
"
|
|
323
|
+
"name": "InMemoryDatabase",
|
|
324
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
157
325
|
}
|
|
158
|
-
}
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "javascript-module",
|
|
331
|
+
"path": "src/data/index.ts",
|
|
332
|
+
"declarations": [],
|
|
333
|
+
"exports": [
|
|
159
334
|
{
|
|
160
335
|
"kind": "js",
|
|
161
336
|
"name": "*",
|
|
162
337
|
"declaration": {
|
|
163
338
|
"name": "*",
|
|
164
|
-
"package": "./
|
|
339
|
+
"package": "./inMemoryDatabase"
|
|
165
340
|
}
|
|
166
341
|
}
|
|
167
342
|
]
|
|
@@ -389,204 +564,6 @@
|
|
|
389
564
|
}
|
|
390
565
|
]
|
|
391
566
|
},
|
|
392
|
-
{
|
|
393
|
-
"kind": "javascript-module",
|
|
394
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
395
|
-
"declarations": [
|
|
396
|
-
{
|
|
397
|
-
"kind": "class",
|
|
398
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
399
|
-
"name": "InMemoryDatabase",
|
|
400
|
-
"members": [
|
|
401
|
-
{
|
|
402
|
-
"kind": "field",
|
|
403
|
-
"name": "isWorking",
|
|
404
|
-
"type": {
|
|
405
|
-
"text": "boolean"
|
|
406
|
-
},
|
|
407
|
-
"privacy": "public",
|
|
408
|
-
"default": "false"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"kind": "field",
|
|
412
|
-
"name": "records",
|
|
413
|
-
"type": {
|
|
414
|
-
"text": "Record<string, T>"
|
|
415
|
-
},
|
|
416
|
-
"privacy": "private",
|
|
417
|
-
"default": "{}"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"kind": "field",
|
|
421
|
-
"name": "beforeUpdateListeners",
|
|
422
|
-
"privacy": "private"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"kind": "field",
|
|
426
|
-
"name": "afterUpdateListeners",
|
|
427
|
-
"privacy": "private"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"kind": "method",
|
|
431
|
-
"name": "create",
|
|
432
|
-
"privacy": "public",
|
|
433
|
-
"return": {
|
|
434
|
-
"type": {
|
|
435
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
"parameters": [
|
|
439
|
-
{
|
|
440
|
-
"name": "newValue",
|
|
441
|
-
"type": {
|
|
442
|
-
"text": "Omit<T, 'id'>"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
]
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "method",
|
|
449
|
-
"name": "read",
|
|
450
|
-
"privacy": "public",
|
|
451
|
-
"return": {
|
|
452
|
-
"type": {
|
|
453
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
"parameters": [
|
|
457
|
-
{
|
|
458
|
-
"name": "id",
|
|
459
|
-
"type": {
|
|
460
|
-
"text": "string"
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
]
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"kind": "method",
|
|
467
|
-
"name": "update",
|
|
468
|
-
"privacy": "public",
|
|
469
|
-
"return": {
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"parameters": [
|
|
475
|
-
{
|
|
476
|
-
"name": "id",
|
|
477
|
-
"type": {
|
|
478
|
-
"text": "string"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "newValue",
|
|
483
|
-
"type": {
|
|
484
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
]
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"kind": "method",
|
|
491
|
-
"name": "delete",
|
|
492
|
-
"privacy": "public",
|
|
493
|
-
"return": {
|
|
494
|
-
"type": {
|
|
495
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"parameters": [
|
|
499
|
-
{
|
|
500
|
-
"name": "id",
|
|
501
|
-
"type": {
|
|
502
|
-
"text": "string"
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
]
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"kind": "method",
|
|
509
|
-
"name": "visit",
|
|
510
|
-
"privacy": "public",
|
|
511
|
-
"return": {
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "Promise<void>"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"parameters": [
|
|
517
|
-
{
|
|
518
|
-
"name": "visitor",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "(record: T) => void"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
]
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"kind": "method",
|
|
527
|
-
"name": "onBeforeUpdate",
|
|
528
|
-
"privacy": "public",
|
|
529
|
-
"return": {
|
|
530
|
-
"type": {
|
|
531
|
-
"text": "() => void"
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
"parameters": [
|
|
535
|
-
{
|
|
536
|
-
"name": "listener",
|
|
537
|
-
"type": {
|
|
538
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
]
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"kind": "method",
|
|
545
|
-
"name": "onAfterUpdate",
|
|
546
|
-
"privacy": "public",
|
|
547
|
-
"return": {
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "() => void"
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
"parameters": [
|
|
553
|
-
{
|
|
554
|
-
"name": "listener",
|
|
555
|
-
"type": {
|
|
556
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
]
|
|
560
|
-
}
|
|
561
|
-
]
|
|
562
|
-
}
|
|
563
|
-
],
|
|
564
|
-
"exports": [
|
|
565
|
-
{
|
|
566
|
-
"kind": "js",
|
|
567
|
-
"name": "InMemoryDatabase",
|
|
568
|
-
"declaration": {
|
|
569
|
-
"name": "InMemoryDatabase",
|
|
570
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
]
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"kind": "javascript-module",
|
|
577
|
-
"path": "src/data/index.ts",
|
|
578
|
-
"declarations": [],
|
|
579
|
-
"exports": [
|
|
580
|
-
{
|
|
581
|
-
"kind": "js",
|
|
582
|
-
"name": "*",
|
|
583
|
-
"declaration": {
|
|
584
|
-
"name": "*",
|
|
585
|
-
"package": "./inMemoryDatabase"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
567
|
{
|
|
591
568
|
"kind": "javascript-module",
|
|
592
569
|
"path": "src/error/errorMap.ts",
|
|
@@ -839,6 +816,29 @@
|
|
|
839
816
|
}
|
|
840
817
|
]
|
|
841
818
|
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "javascript-module",
|
|
821
|
+
"path": "src/directives/index.ts",
|
|
822
|
+
"declarations": [],
|
|
823
|
+
"exports": [
|
|
824
|
+
{
|
|
825
|
+
"kind": "js",
|
|
826
|
+
"name": "*",
|
|
827
|
+
"declaration": {
|
|
828
|
+
"name": "*",
|
|
829
|
+
"package": "./sync"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "js",
|
|
834
|
+
"name": "*",
|
|
835
|
+
"declaration": {
|
|
836
|
+
"name": "*",
|
|
837
|
+
"package": "./when-else"
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
842
|
{
|
|
843
843
|
"kind": "javascript-module",
|
|
844
844
|
"path": "src/design-system/design-system.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.127.
|
|
4
|
+
"version": "14.127.5",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.127.
|
|
23
|
-
"@genesislcap/genx": "14.127.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.127.5",
|
|
23
|
+
"@genesislcap/genx": "14.127.5",
|
|
24
24
|
"rimraf": "^3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@genesislcap/foundation-logger": "14.127.
|
|
27
|
+
"@genesislcap/foundation-logger": "14.127.5",
|
|
28
28
|
"@microsoft/fast-components": "^2.30.6",
|
|
29
29
|
"@microsoft/fast-element": "^1.12.0",
|
|
30
30
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"customElements": "dist/custom-elements.json",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "0264e691e3bb631c39ec62f560950d0ca3dcdafa"
|
|
46
46
|
}
|