@genesislcap/foundation-utils 14.253.0 → 14.255.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 +464 -464
- package/package.json +10 -10
|
@@ -171,190 +171,30 @@
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"kind": "javascript-module",
|
|
174
|
-
"path": "src/
|
|
175
|
-
"declarations": [
|
|
176
|
-
{
|
|
177
|
-
"kind": "class",
|
|
178
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
179
|
-
"name": "InMemoryDatabase",
|
|
180
|
-
"members": [
|
|
181
|
-
{
|
|
182
|
-
"kind": "field",
|
|
183
|
-
"name": "isWorking",
|
|
184
|
-
"type": {
|
|
185
|
-
"text": "boolean"
|
|
186
|
-
},
|
|
187
|
-
"privacy": "public",
|
|
188
|
-
"default": "false"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"kind": "field",
|
|
192
|
-
"name": "records",
|
|
193
|
-
"type": {
|
|
194
|
-
"text": "Record<string, T>"
|
|
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
|
-
]
|
|
340
|
-
}
|
|
341
|
-
]
|
|
342
|
-
}
|
|
343
|
-
],
|
|
174
|
+
"path": "src/directives/index.ts",
|
|
175
|
+
"declarations": [],
|
|
344
176
|
"exports": [
|
|
345
177
|
{
|
|
346
178
|
"kind": "js",
|
|
347
|
-
"name": "
|
|
179
|
+
"name": "*",
|
|
348
180
|
"declaration": {
|
|
349
|
-
"name": "
|
|
350
|
-
"
|
|
181
|
+
"name": "*",
|
|
182
|
+
"package": "./sync"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "js",
|
|
187
|
+
"name": "*",
|
|
188
|
+
"declaration": {
|
|
189
|
+
"name": "*",
|
|
190
|
+
"package": "./when-else"
|
|
351
191
|
}
|
|
352
192
|
}
|
|
353
193
|
]
|
|
354
194
|
},
|
|
355
195
|
{
|
|
356
196
|
"kind": "javascript-module",
|
|
357
|
-
"path": "src/
|
|
197
|
+
"path": "src/encoding/index.ts",
|
|
358
198
|
"declarations": [],
|
|
359
199
|
"exports": [
|
|
360
200
|
{
|
|
@@ -362,14 +202,14 @@
|
|
|
362
202
|
"name": "*",
|
|
363
203
|
"declaration": {
|
|
364
204
|
"name": "*",
|
|
365
|
-
"package": "./
|
|
205
|
+
"package": "./base64"
|
|
366
206
|
}
|
|
367
207
|
}
|
|
368
208
|
]
|
|
369
209
|
},
|
|
370
210
|
{
|
|
371
211
|
"kind": "javascript-module",
|
|
372
|
-
"path": "src/
|
|
212
|
+
"path": "src/env/index.ts",
|
|
373
213
|
"declarations": [],
|
|
374
214
|
"exports": [
|
|
375
215
|
{
|
|
@@ -377,198 +217,57 @@
|
|
|
377
217
|
"name": "*",
|
|
378
218
|
"declaration": {
|
|
379
219
|
"name": "*",
|
|
380
|
-
"package": "./
|
|
220
|
+
"package": "./is-dev"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "js",
|
|
225
|
+
"name": "*",
|
|
226
|
+
"declaration": {
|
|
227
|
+
"name": "*",
|
|
228
|
+
"package": "./variables"
|
|
381
229
|
}
|
|
382
230
|
}
|
|
383
231
|
]
|
|
384
232
|
},
|
|
385
233
|
{
|
|
386
234
|
"kind": "javascript-module",
|
|
387
|
-
"path": "src/
|
|
235
|
+
"path": "src/env/is-dev.ts",
|
|
388
236
|
"declarations": [
|
|
389
237
|
{
|
|
390
238
|
"kind": "function",
|
|
391
|
-
"name": "
|
|
392
|
-
"
|
|
393
|
-
{
|
|
394
|
-
"name": "target",
|
|
395
|
-
"type": {
|
|
396
|
-
"text": "FASTElement & { render(): void }"
|
|
397
|
-
},
|
|
398
|
-
"description": "The target to define the property change handler on."
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"name": "name",
|
|
402
|
-
"type": {
|
|
403
|
-
"text": "string"
|
|
404
|
-
},
|
|
405
|
-
"description": "The property name."
|
|
406
|
-
}
|
|
407
|
-
],
|
|
408
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
239
|
+
"name": "isDev",
|
|
240
|
+
"description": "Determines if the current environment is a development environment.",
|
|
409
241
|
"privacy": "public"
|
|
410
242
|
}
|
|
411
243
|
],
|
|
412
244
|
"exports": [
|
|
413
245
|
{
|
|
414
246
|
"kind": "js",
|
|
415
|
-
"name": "
|
|
247
|
+
"name": "isDev",
|
|
416
248
|
"declaration": {
|
|
417
|
-
"name": "
|
|
418
|
-
"module": "src/
|
|
249
|
+
"name": "isDev",
|
|
250
|
+
"module": "src/env/is-dev.ts"
|
|
419
251
|
}
|
|
420
252
|
}
|
|
421
253
|
]
|
|
422
254
|
},
|
|
423
255
|
{
|
|
424
256
|
"kind": "javascript-module",
|
|
425
|
-
"path": "src/
|
|
257
|
+
"path": "src/env/variables.ts",
|
|
426
258
|
"declarations": [
|
|
427
259
|
{
|
|
428
|
-
"kind": "
|
|
429
|
-
"name": "
|
|
430
|
-
"
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
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
|
-
{
|
|
497
|
-
"kind": "javascript-module",
|
|
498
|
-
"path": "src/encoding/index.ts",
|
|
499
|
-
"declarations": [],
|
|
500
|
-
"exports": [
|
|
501
|
-
{
|
|
502
|
-
"kind": "js",
|
|
503
|
-
"name": "*",
|
|
504
|
-
"declaration": {
|
|
505
|
-
"name": "*",
|
|
506
|
-
"package": "./base64"
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
]
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"kind": "javascript-module",
|
|
513
|
-
"path": "src/env/index.ts",
|
|
514
|
-
"declarations": [],
|
|
515
|
-
"exports": [
|
|
516
|
-
{
|
|
517
|
-
"kind": "js",
|
|
518
|
-
"name": "*",
|
|
519
|
-
"declaration": {
|
|
520
|
-
"name": "*",
|
|
521
|
-
"package": "./is-dev"
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"kind": "js",
|
|
526
|
-
"name": "*",
|
|
527
|
-
"declaration": {
|
|
528
|
-
"name": "*",
|
|
529
|
-
"package": "./variables"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
]
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"kind": "javascript-module",
|
|
536
|
-
"path": "src/env/is-dev.ts",
|
|
537
|
-
"declarations": [
|
|
538
|
-
{
|
|
539
|
-
"kind": "function",
|
|
540
|
-
"name": "isDev",
|
|
541
|
-
"description": "Determines if the current environment is a development environment.",
|
|
542
|
-
"privacy": "public"
|
|
543
|
-
}
|
|
544
|
-
],
|
|
545
|
-
"exports": [
|
|
546
|
-
{
|
|
547
|
-
"kind": "js",
|
|
548
|
-
"name": "isDev",
|
|
549
|
-
"declaration": {
|
|
550
|
-
"name": "isDev",
|
|
551
|
-
"module": "src/env/is-dev.ts"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
]
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"kind": "javascript-module",
|
|
558
|
-
"path": "src/env/variables.ts",
|
|
559
|
-
"declarations": [
|
|
560
|
-
{
|
|
561
|
-
"kind": "variable",
|
|
562
|
-
"name": "BUILDER",
|
|
563
|
-
"type": {
|
|
564
|
-
"text": "string"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"kind": "variable",
|
|
569
|
-
"name": "_BUILDER",
|
|
570
|
-
"type": {
|
|
571
|
-
"text": "string"
|
|
260
|
+
"kind": "variable",
|
|
261
|
+
"name": "BUILDER",
|
|
262
|
+
"type": {
|
|
263
|
+
"text": "string"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"kind": "variable",
|
|
268
|
+
"name": "_BUILDER",
|
|
269
|
+
"type": {
|
|
270
|
+
"text": "string"
|
|
572
271
|
},
|
|
573
272
|
"default": "'webpack'",
|
|
574
273
|
"description": "The builder aka file bundler.",
|
|
@@ -941,201 +640,502 @@
|
|
|
941
640
|
},
|
|
942
641
|
{
|
|
943
642
|
"kind": "js",
|
|
944
|
-
"name": "SSO_LOGIN_URL",
|
|
643
|
+
"name": "SSO_LOGIN_URL",
|
|
644
|
+
"declaration": {
|
|
645
|
+
"name": "SSO_LOGIN_URL",
|
|
646
|
+
"module": "src/env/variables.ts"
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"kind": "javascript-module",
|
|
653
|
+
"path": "src/error/errorMap.ts",
|
|
654
|
+
"declarations": [
|
|
655
|
+
{
|
|
656
|
+
"kind": "class",
|
|
657
|
+
"description": "",
|
|
658
|
+
"name": "DefaultErrorMap",
|
|
659
|
+
"members": [
|
|
660
|
+
{
|
|
661
|
+
"kind": "field",
|
|
662
|
+
"name": "map",
|
|
663
|
+
"privacy": "private",
|
|
664
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "field",
|
|
668
|
+
"name": "lastError",
|
|
669
|
+
"type": {
|
|
670
|
+
"text": "Error"
|
|
671
|
+
},
|
|
672
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "method",
|
|
676
|
+
"name": "set",
|
|
677
|
+
"return": {
|
|
678
|
+
"type": {
|
|
679
|
+
"text": "void"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
"parameters": [
|
|
683
|
+
{
|
|
684
|
+
"name": "key",
|
|
685
|
+
"type": {
|
|
686
|
+
"text": "keyof TErrorDetailMap"
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "error",
|
|
691
|
+
"type": {
|
|
692
|
+
"text": "Error"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "method",
|
|
700
|
+
"name": "get",
|
|
701
|
+
"return": {
|
|
702
|
+
"type": {
|
|
703
|
+
"text": ""
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"parameters": [
|
|
707
|
+
{
|
|
708
|
+
"name": "key",
|
|
709
|
+
"type": {
|
|
710
|
+
"text": "keyof TErrorDetailMap"
|
|
711
|
+
},
|
|
712
|
+
"description": "The key."
|
|
713
|
+
}
|
|
714
|
+
],
|
|
715
|
+
"description": "Get an error by key.",
|
|
716
|
+
"privacy": "public"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"kind": "method",
|
|
720
|
+
"name": "has",
|
|
721
|
+
"return": {
|
|
722
|
+
"type": {
|
|
723
|
+
"text": ""
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"parameters": [
|
|
727
|
+
{
|
|
728
|
+
"name": "key",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "keyof TErrorDetailMap"
|
|
731
|
+
},
|
|
732
|
+
"description": "The key."
|
|
733
|
+
}
|
|
734
|
+
],
|
|
735
|
+
"description": "Has an error for key.",
|
|
736
|
+
"privacy": "public"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"kind": "method",
|
|
740
|
+
"name": "delete",
|
|
741
|
+
"return": {
|
|
742
|
+
"type": {
|
|
743
|
+
"text": ""
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"parameters": [
|
|
747
|
+
{
|
|
748
|
+
"name": "key",
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "keyof TErrorDetailMap"
|
|
751
|
+
},
|
|
752
|
+
"description": "The key."
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"description": "Delete an error.",
|
|
756
|
+
"privacy": "public"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"kind": "method",
|
|
760
|
+
"name": "clear",
|
|
761
|
+
"description": "Clear errors.",
|
|
762
|
+
"privacy": "public"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "field",
|
|
766
|
+
"name": "size",
|
|
767
|
+
"type": {
|
|
768
|
+
"text": "number"
|
|
769
|
+
},
|
|
770
|
+
"description": "The size of the error map.",
|
|
771
|
+
"return": {
|
|
772
|
+
"type": {
|
|
773
|
+
"text": ""
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"privacy": "public",
|
|
777
|
+
"readonly": true
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"kind": "method",
|
|
781
|
+
"name": "values",
|
|
782
|
+
"privacy": "public"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"kind": "field",
|
|
786
|
+
"name": "messages",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "string"
|
|
789
|
+
},
|
|
790
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
|
791
|
+
"readonly": true
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"kind": "function",
|
|
797
|
+
"name": "createErrorMap",
|
|
798
|
+
"return": {
|
|
799
|
+
"type": {
|
|
800
|
+
"text": ""
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
"parameters": [
|
|
804
|
+
{
|
|
805
|
+
"name": "logger",
|
|
806
|
+
"type": {
|
|
807
|
+
"text": "ErrorMapLogger"
|
|
808
|
+
},
|
|
809
|
+
"description": "A logger error method reference."
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"description": "A factory to create the error map.",
|
|
813
|
+
"privacy": "public"
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"exports": [
|
|
817
|
+
{
|
|
818
|
+
"kind": "js",
|
|
819
|
+
"name": "DefaultErrorMap",
|
|
820
|
+
"declaration": {
|
|
821
|
+
"name": "DefaultErrorMap",
|
|
822
|
+
"module": "src/error/errorMap.ts"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"kind": "js",
|
|
827
|
+
"name": "createErrorMap",
|
|
828
|
+
"declaration": {
|
|
829
|
+
"name": "createErrorMap",
|
|
830
|
+
"module": "src/error/errorMap.ts"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"kind": "javascript-module",
|
|
837
|
+
"path": "src/error/index.ts",
|
|
838
|
+
"declarations": [],
|
|
839
|
+
"exports": [
|
|
840
|
+
{
|
|
841
|
+
"kind": "js",
|
|
842
|
+
"name": "*",
|
|
843
|
+
"declaration": {
|
|
844
|
+
"name": "*",
|
|
845
|
+
"package": "./errorMap"
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
]
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "javascript-module",
|
|
852
|
+
"path": "src/design-system/design-system.ts",
|
|
853
|
+
"declarations": [
|
|
854
|
+
{
|
|
855
|
+
"kind": "function",
|
|
856
|
+
"name": "assureDesignSystem",
|
|
857
|
+
"return": {
|
|
858
|
+
"type": {
|
|
859
|
+
"text": "DesignSystemModule"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"parameters": [
|
|
863
|
+
{
|
|
864
|
+
"name": "module",
|
|
865
|
+
"type": {
|
|
866
|
+
"text": "DesignSystemModule"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"description": "assureDesignSystem.",
|
|
871
|
+
"privacy": "public"
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
"exports": [
|
|
875
|
+
{
|
|
876
|
+
"kind": "js",
|
|
877
|
+
"name": "assureDesignSystem",
|
|
878
|
+
"declaration": {
|
|
879
|
+
"name": "assureDesignSystem",
|
|
880
|
+
"module": "src/design-system/design-system.ts"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"kind": "javascript-module",
|
|
887
|
+
"path": "src/design-system/index.ts",
|
|
888
|
+
"declarations": [],
|
|
889
|
+
"exports": [
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "*",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "*",
|
|
895
|
+
"package": "./design-system"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
]
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"kind": "javascript-module",
|
|
902
|
+
"path": "src/decorators/index.ts",
|
|
903
|
+
"declarations": [],
|
|
904
|
+
"exports": [
|
|
905
|
+
{
|
|
906
|
+
"kind": "js",
|
|
907
|
+
"name": "*",
|
|
908
|
+
"declaration": {
|
|
909
|
+
"name": "*",
|
|
910
|
+
"package": "./renderOnChange"
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"kind": "javascript-module",
|
|
917
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
918
|
+
"declarations": [
|
|
919
|
+
{
|
|
920
|
+
"kind": "function",
|
|
921
|
+
"name": "renderOnChange",
|
|
922
|
+
"parameters": [
|
|
923
|
+
{
|
|
924
|
+
"name": "target",
|
|
925
|
+
"type": {
|
|
926
|
+
"text": "FASTElement & { render(): void }"
|
|
927
|
+
},
|
|
928
|
+
"description": "The target to define the property change handler on."
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "name",
|
|
932
|
+
"type": {
|
|
933
|
+
"text": "string"
|
|
934
|
+
},
|
|
935
|
+
"description": "The property name."
|
|
936
|
+
}
|
|
937
|
+
],
|
|
938
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
939
|
+
"privacy": "public"
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"exports": [
|
|
943
|
+
{
|
|
944
|
+
"kind": "js",
|
|
945
|
+
"name": "renderOnChange",
|
|
945
946
|
"declaration": {
|
|
946
|
-
"name": "
|
|
947
|
-
"module": "src/
|
|
947
|
+
"name": "renderOnChange",
|
|
948
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
948
949
|
}
|
|
949
950
|
}
|
|
950
951
|
]
|
|
951
952
|
},
|
|
952
953
|
{
|
|
953
954
|
"kind": "javascript-module",
|
|
954
|
-
"path": "src/
|
|
955
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
955
956
|
"declarations": [
|
|
956
957
|
{
|
|
957
958
|
"kind": "class",
|
|
958
|
-
"description": "",
|
|
959
|
-
"name": "
|
|
959
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
960
|
+
"name": "InMemoryDatabase",
|
|
960
961
|
"members": [
|
|
961
962
|
{
|
|
962
963
|
"kind": "field",
|
|
963
|
-
"name": "
|
|
964
|
-
"
|
|
965
|
-
|
|
964
|
+
"name": "isWorking",
|
|
965
|
+
"type": {
|
|
966
|
+
"text": "boolean"
|
|
967
|
+
},
|
|
968
|
+
"privacy": "public",
|
|
969
|
+
"default": "false"
|
|
966
970
|
},
|
|
967
971
|
{
|
|
968
972
|
"kind": "field",
|
|
969
|
-
"name": "
|
|
973
|
+
"name": "records",
|
|
970
974
|
"type": {
|
|
971
|
-
"text": "
|
|
975
|
+
"text": "Record<string, T>"
|
|
972
976
|
},
|
|
973
|
-
"
|
|
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"
|
|
974
989
|
},
|
|
975
990
|
{
|
|
976
991
|
"kind": "method",
|
|
977
|
-
"name": "
|
|
992
|
+
"name": "create",
|
|
993
|
+
"privacy": "public",
|
|
978
994
|
"return": {
|
|
979
995
|
"type": {
|
|
980
|
-
"text": "
|
|
996
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
981
997
|
}
|
|
982
998
|
},
|
|
983
999
|
"parameters": [
|
|
984
1000
|
{
|
|
985
|
-
"name": "
|
|
986
|
-
"type": {
|
|
987
|
-
"text": "keyof TErrorDetailMap"
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "error",
|
|
1001
|
+
"name": "newValue",
|
|
992
1002
|
"type": {
|
|
993
|
-
"text": "
|
|
1003
|
+
"text": "Omit<T, 'id'>"
|
|
994
1004
|
}
|
|
995
1005
|
}
|
|
996
|
-
]
|
|
997
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
1006
|
+
]
|
|
998
1007
|
},
|
|
999
1008
|
{
|
|
1000
1009
|
"kind": "method",
|
|
1001
|
-
"name": "
|
|
1010
|
+
"name": "read",
|
|
1011
|
+
"privacy": "public",
|
|
1002
1012
|
"return": {
|
|
1003
1013
|
"type": {
|
|
1004
|
-
"text": ""
|
|
1014
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1005
1015
|
}
|
|
1006
1016
|
},
|
|
1007
1017
|
"parameters": [
|
|
1008
1018
|
{
|
|
1009
|
-
"name": "
|
|
1019
|
+
"name": "id",
|
|
1010
1020
|
"type": {
|
|
1011
|
-
"text": "
|
|
1012
|
-
}
|
|
1013
|
-
"description": "The key."
|
|
1021
|
+
"text": "string"
|
|
1022
|
+
}
|
|
1014
1023
|
}
|
|
1015
|
-
]
|
|
1016
|
-
"description": "Get an error by key.",
|
|
1017
|
-
"privacy": "public"
|
|
1024
|
+
]
|
|
1018
1025
|
},
|
|
1019
1026
|
{
|
|
1020
1027
|
"kind": "method",
|
|
1021
|
-
"name": "
|
|
1028
|
+
"name": "update",
|
|
1029
|
+
"privacy": "public",
|
|
1022
1030
|
"return": {
|
|
1023
1031
|
"type": {
|
|
1024
|
-
"text": ""
|
|
1032
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1025
1033
|
}
|
|
1026
1034
|
},
|
|
1027
1035
|
"parameters": [
|
|
1028
1036
|
{
|
|
1029
|
-
"name": "
|
|
1037
|
+
"name": "id",
|
|
1030
1038
|
"type": {
|
|
1031
|
-
"text": "
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1039
|
+
"text": "string"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "newValue",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1046
|
+
}
|
|
1034
1047
|
}
|
|
1035
|
-
]
|
|
1036
|
-
"description": "Has an error for key.",
|
|
1037
|
-
"privacy": "public"
|
|
1048
|
+
]
|
|
1038
1049
|
},
|
|
1039
1050
|
{
|
|
1040
1051
|
"kind": "method",
|
|
1041
1052
|
"name": "delete",
|
|
1053
|
+
"privacy": "public",
|
|
1042
1054
|
"return": {
|
|
1043
1055
|
"type": {
|
|
1044
|
-
"text": ""
|
|
1056
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1045
1057
|
}
|
|
1046
1058
|
},
|
|
1047
1059
|
"parameters": [
|
|
1048
1060
|
{
|
|
1049
|
-
"name": "
|
|
1061
|
+
"name": "id",
|
|
1050
1062
|
"type": {
|
|
1051
|
-
"text": "
|
|
1052
|
-
}
|
|
1053
|
-
"description": "The key."
|
|
1063
|
+
"text": "string"
|
|
1064
|
+
}
|
|
1054
1065
|
}
|
|
1055
|
-
]
|
|
1056
|
-
"description": "Delete an error.",
|
|
1057
|
-
"privacy": "public"
|
|
1066
|
+
]
|
|
1058
1067
|
},
|
|
1059
1068
|
{
|
|
1060
1069
|
"kind": "method",
|
|
1061
|
-
"name": "
|
|
1062
|
-
"
|
|
1063
|
-
"privacy": "public"
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"kind": "field",
|
|
1067
|
-
"name": "size",
|
|
1068
|
-
"type": {
|
|
1069
|
-
"text": "number"
|
|
1070
|
-
},
|
|
1071
|
-
"description": "The size of the error map.",
|
|
1070
|
+
"name": "visit",
|
|
1071
|
+
"privacy": "public",
|
|
1072
1072
|
"return": {
|
|
1073
1073
|
"type": {
|
|
1074
|
-
"text": ""
|
|
1074
|
+
"text": "Promise<void>"
|
|
1075
1075
|
}
|
|
1076
1076
|
},
|
|
1077
|
-
"
|
|
1078
|
-
|
|
1077
|
+
"parameters": [
|
|
1078
|
+
{
|
|
1079
|
+
"name": "visitor",
|
|
1080
|
+
"type": {
|
|
1081
|
+
"text": "(record: T) => void"
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
]
|
|
1079
1085
|
},
|
|
1080
1086
|
{
|
|
1081
1087
|
"kind": "method",
|
|
1082
|
-
"name": "
|
|
1083
|
-
"privacy": "public"
|
|
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
|
+
]
|
|
1084
1103
|
},
|
|
1085
1104
|
{
|
|
1086
|
-
"kind": "
|
|
1087
|
-
"name": "
|
|
1088
|
-
"
|
|
1089
|
-
|
|
1105
|
+
"kind": "method",
|
|
1106
|
+
"name": "onAfterUpdate",
|
|
1107
|
+
"privacy": "public",
|
|
1108
|
+
"return": {
|
|
1109
|
+
"type": {
|
|
1110
|
+
"text": "() => void"
|
|
1111
|
+
}
|
|
1090
1112
|
},
|
|
1091
|
-
"
|
|
1092
|
-
|
|
1113
|
+
"parameters": [
|
|
1114
|
+
{
|
|
1115
|
+
"name": "listener",
|
|
1116
|
+
"type": {
|
|
1117
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1093
1121
|
}
|
|
1094
1122
|
]
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"kind": "function",
|
|
1098
|
-
"name": "createErrorMap",
|
|
1099
|
-
"return": {
|
|
1100
|
-
"type": {
|
|
1101
|
-
"text": ""
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
"parameters": [
|
|
1105
|
-
{
|
|
1106
|
-
"name": "logger",
|
|
1107
|
-
"type": {
|
|
1108
|
-
"text": "ErrorMapLogger"
|
|
1109
|
-
},
|
|
1110
|
-
"description": "A logger error method reference."
|
|
1111
|
-
}
|
|
1112
|
-
],
|
|
1113
|
-
"description": "A factory to create the error map.",
|
|
1114
|
-
"privacy": "public"
|
|
1115
1123
|
}
|
|
1116
1124
|
],
|
|
1117
1125
|
"exports": [
|
|
1118
1126
|
{
|
|
1119
1127
|
"kind": "js",
|
|
1120
|
-
"name": "
|
|
1121
|
-
"declaration": {
|
|
1122
|
-
"name": "DefaultErrorMap",
|
|
1123
|
-
"module": "src/error/errorMap.ts"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
"kind": "js",
|
|
1128
|
-
"name": "createErrorMap",
|
|
1128
|
+
"name": "InMemoryDatabase",
|
|
1129
1129
|
"declaration": {
|
|
1130
|
-
"name": "
|
|
1131
|
-
"module": "src/
|
|
1130
|
+
"name": "InMemoryDatabase",
|
|
1131
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
1134
1134
|
]
|
|
1135
1135
|
},
|
|
1136
1136
|
{
|
|
1137
1137
|
"kind": "javascript-module",
|
|
1138
|
-
"path": "src/
|
|
1138
|
+
"path": "src/data/index.ts",
|
|
1139
1139
|
"declarations": [],
|
|
1140
1140
|
"exports": [
|
|
1141
1141
|
{
|
|
@@ -1143,7 +1143,7 @@
|
|
|
1143
1143
|
"name": "*",
|
|
1144
1144
|
"declaration": {
|
|
1145
1145
|
"name": "*",
|
|
1146
|
-
"package": "./
|
|
1146
|
+
"package": "./inMemoryDatabase"
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
]
|
|
@@ -1685,6 +1685,21 @@
|
|
|
1685
1685
|
}
|
|
1686
1686
|
]
|
|
1687
1687
|
},
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "javascript-module",
|
|
1690
|
+
"path": "src/serializers/index.ts",
|
|
1691
|
+
"declarations": [],
|
|
1692
|
+
"exports": [
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "js",
|
|
1695
|
+
"name": "*",
|
|
1696
|
+
"declaration": {
|
|
1697
|
+
"name": "*",
|
|
1698
|
+
"package": "./json"
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1688
1703
|
{
|
|
1689
1704
|
"kind": "javascript-module",
|
|
1690
1705
|
"path": "src/resource/index.ts",
|
|
@@ -1726,21 +1741,6 @@
|
|
|
1726
1741
|
}
|
|
1727
1742
|
]
|
|
1728
1743
|
},
|
|
1729
|
-
{
|
|
1730
|
-
"kind": "javascript-module",
|
|
1731
|
-
"path": "src/serializers/index.ts",
|
|
1732
|
-
"declarations": [],
|
|
1733
|
-
"exports": [
|
|
1734
|
-
{
|
|
1735
|
-
"kind": "js",
|
|
1736
|
-
"name": "*",
|
|
1737
|
-
"declaration": {
|
|
1738
|
-
"name": "*",
|
|
1739
|
-
"package": "./json"
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
]
|
|
1743
|
-
},
|
|
1744
1744
|
{
|
|
1745
1745
|
"kind": "javascript-module",
|
|
1746
1746
|
"path": "src/state/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.
|
|
4
|
+
"version": "14.255.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.
|
|
31
|
-
"@genesislcap/genx": "14.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
|
33
|
-
"@genesislcap/ts-builder": "14.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
35
|
-
"@genesislcap/vite-builder": "14.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
|
30
|
+
"@genesislcap/foundation-testing": "14.255.0",
|
|
31
|
+
"@genesislcap/genx": "14.255.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.255.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.255.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.255.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.255.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.255.0",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.255.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": "0138f4ab8d5257e8ffcc6f744c5524a8beb6e11c"
|
|
59
59
|
}
|