@genesislcap/foundation-utils 14.336.2 → 14.336.3-alpha-54b30b8.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 +473 -473
- package/package.json +11 -11
@@ -187,190 +187,7 @@
|
|
187
187
|
},
|
188
188
|
{
|
189
189
|
"kind": "javascript-module",
|
190
|
-
"path": "src/
|
191
|
-
"declarations": [
|
192
|
-
{
|
193
|
-
"kind": "class",
|
194
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
195
|
-
"name": "InMemoryDatabase",
|
196
|
-
"members": [
|
197
|
-
{
|
198
|
-
"kind": "field",
|
199
|
-
"name": "isWorking",
|
200
|
-
"type": {
|
201
|
-
"text": "boolean"
|
202
|
-
},
|
203
|
-
"privacy": "public",
|
204
|
-
"default": "false"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"kind": "field",
|
208
|
-
"name": "records",
|
209
|
-
"type": {
|
210
|
-
"text": "Record<string, T>"
|
211
|
-
},
|
212
|
-
"privacy": "private",
|
213
|
-
"default": "{}"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"kind": "field",
|
217
|
-
"name": "beforeUpdateListeners",
|
218
|
-
"privacy": "private"
|
219
|
-
},
|
220
|
-
{
|
221
|
-
"kind": "field",
|
222
|
-
"name": "afterUpdateListeners",
|
223
|
-
"privacy": "private"
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"kind": "method",
|
227
|
-
"name": "create",
|
228
|
-
"privacy": "public",
|
229
|
-
"return": {
|
230
|
-
"type": {
|
231
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
232
|
-
}
|
233
|
-
},
|
234
|
-
"parameters": [
|
235
|
-
{
|
236
|
-
"name": "newValue",
|
237
|
-
"type": {
|
238
|
-
"text": "Omit<T, 'id'>"
|
239
|
-
}
|
240
|
-
}
|
241
|
-
]
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"kind": "method",
|
245
|
-
"name": "read",
|
246
|
-
"privacy": "public",
|
247
|
-
"return": {
|
248
|
-
"type": {
|
249
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
250
|
-
}
|
251
|
-
},
|
252
|
-
"parameters": [
|
253
|
-
{
|
254
|
-
"name": "id",
|
255
|
-
"type": {
|
256
|
-
"text": "string"
|
257
|
-
}
|
258
|
-
}
|
259
|
-
]
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"kind": "method",
|
263
|
-
"name": "update",
|
264
|
-
"privacy": "public",
|
265
|
-
"return": {
|
266
|
-
"type": {
|
267
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
268
|
-
}
|
269
|
-
},
|
270
|
-
"parameters": [
|
271
|
-
{
|
272
|
-
"name": "id",
|
273
|
-
"type": {
|
274
|
-
"text": "string"
|
275
|
-
}
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"name": "newValue",
|
279
|
-
"type": {
|
280
|
-
"text": "Omit<Partial<T>, 'id'>"
|
281
|
-
}
|
282
|
-
}
|
283
|
-
]
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"kind": "method",
|
287
|
-
"name": "delete",
|
288
|
-
"privacy": "public",
|
289
|
-
"return": {
|
290
|
-
"type": {
|
291
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
292
|
-
}
|
293
|
-
},
|
294
|
-
"parameters": [
|
295
|
-
{
|
296
|
-
"name": "id",
|
297
|
-
"type": {
|
298
|
-
"text": "string"
|
299
|
-
}
|
300
|
-
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"kind": "method",
|
305
|
-
"name": "visit",
|
306
|
-
"privacy": "public",
|
307
|
-
"return": {
|
308
|
-
"type": {
|
309
|
-
"text": "Promise<void>"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"parameters": [
|
313
|
-
{
|
314
|
-
"name": "visitor",
|
315
|
-
"type": {
|
316
|
-
"text": "(record: T) => void"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
]
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"kind": "method",
|
323
|
-
"name": "onBeforeUpdate",
|
324
|
-
"privacy": "public",
|
325
|
-
"return": {
|
326
|
-
"type": {
|
327
|
-
"text": "() => void"
|
328
|
-
}
|
329
|
-
},
|
330
|
-
"parameters": [
|
331
|
-
{
|
332
|
-
"name": "listener",
|
333
|
-
"type": {
|
334
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
335
|
-
}
|
336
|
-
}
|
337
|
-
]
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"kind": "method",
|
341
|
-
"name": "onAfterUpdate",
|
342
|
-
"privacy": "public",
|
343
|
-
"return": {
|
344
|
-
"type": {
|
345
|
-
"text": "() => void"
|
346
|
-
}
|
347
|
-
},
|
348
|
-
"parameters": [
|
349
|
-
{
|
350
|
-
"name": "listener",
|
351
|
-
"type": {
|
352
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
353
|
-
}
|
354
|
-
}
|
355
|
-
]
|
356
|
-
}
|
357
|
-
]
|
358
|
-
}
|
359
|
-
],
|
360
|
-
"exports": [
|
361
|
-
{
|
362
|
-
"kind": "js",
|
363
|
-
"name": "InMemoryDatabase",
|
364
|
-
"declaration": {
|
365
|
-
"name": "InMemoryDatabase",
|
366
|
-
"module": "src/data/inMemoryDatabase.ts"
|
367
|
-
}
|
368
|
-
}
|
369
|
-
]
|
370
|
-
},
|
371
|
-
{
|
372
|
-
"kind": "javascript-module",
|
373
|
-
"path": "src/data/index.ts",
|
190
|
+
"path": "src/directives/index.ts",
|
374
191
|
"declarations": [],
|
375
192
|
"exports": [
|
376
193
|
{
|
@@ -378,67 +195,37 @@
|
|
378
195
|
"name": "*",
|
379
196
|
"declaration": {
|
380
197
|
"name": "*",
|
381
|
-
"package": "./
|
198
|
+
"package": "./sync"
|
382
199
|
}
|
383
|
-
}
|
384
|
-
]
|
385
|
-
},
|
386
|
-
{
|
387
|
-
"kind": "javascript-module",
|
388
|
-
"path": "src/decorators/index.ts",
|
389
|
-
"declarations": [],
|
390
|
-
"exports": [
|
200
|
+
},
|
391
201
|
{
|
392
202
|
"kind": "js",
|
393
203
|
"name": "*",
|
394
204
|
"declaration": {
|
395
205
|
"name": "*",
|
396
|
-
"package": "./
|
206
|
+
"package": "./when-else"
|
397
207
|
}
|
398
208
|
}
|
399
209
|
]
|
400
210
|
},
|
401
211
|
{
|
402
212
|
"kind": "javascript-module",
|
403
|
-
"path": "src/
|
404
|
-
"declarations": [
|
405
|
-
{
|
406
|
-
"kind": "function",
|
407
|
-
"name": "renderOnChange",
|
408
|
-
"parameters": [
|
409
|
-
{
|
410
|
-
"name": "target",
|
411
|
-
"type": {
|
412
|
-
"text": "FASTElement & { render(): void }"
|
413
|
-
},
|
414
|
-
"description": "The target to define the property change handler on."
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"name": "name",
|
418
|
-
"type": {
|
419
|
-
"text": "string"
|
420
|
-
},
|
421
|
-
"description": "The property name."
|
422
|
-
}
|
423
|
-
],
|
424
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
425
|
-
"privacy": "public"
|
426
|
-
}
|
427
|
-
],
|
213
|
+
"path": "src/encoding/index.ts",
|
214
|
+
"declarations": [],
|
428
215
|
"exports": [
|
429
216
|
{
|
430
217
|
"kind": "js",
|
431
|
-
"name": "
|
218
|
+
"name": "*",
|
432
219
|
"declaration": {
|
433
|
-
"name": "
|
434
|
-
"
|
220
|
+
"name": "*",
|
221
|
+
"package": "./base64"
|
435
222
|
}
|
436
223
|
}
|
437
224
|
]
|
438
225
|
},
|
439
226
|
{
|
440
227
|
"kind": "javascript-module",
|
441
|
-
"path": "src/
|
228
|
+
"path": "src/env/index.ts",
|
442
229
|
"declarations": [],
|
443
230
|
"exports": [
|
444
231
|
{
|
@@ -446,7 +233,7 @@
|
|
446
233
|
"name": "*",
|
447
234
|
"declaration": {
|
448
235
|
"name": "*",
|
449
|
-
"package": "./
|
236
|
+
"package": "./is-dev"
|
450
237
|
}
|
451
238
|
},
|
452
239
|
{
|
@@ -454,194 +241,36 @@
|
|
454
241
|
"name": "*",
|
455
242
|
"declaration": {
|
456
243
|
"name": "*",
|
457
|
-
"package": "./
|
244
|
+
"package": "./variables"
|
458
245
|
}
|
459
246
|
}
|
460
247
|
]
|
461
248
|
},
|
462
249
|
{
|
463
250
|
"kind": "javascript-module",
|
464
|
-
"path": "src/
|
465
|
-
"declarations": [
|
251
|
+
"path": "src/env/is-dev.ts",
|
252
|
+
"declarations": [
|
253
|
+
{
|
254
|
+
"kind": "function",
|
255
|
+
"name": "isDev",
|
256
|
+
"description": "Determines if the current environment is a development environment.",
|
257
|
+
"privacy": "public"
|
258
|
+
}
|
259
|
+
],
|
466
260
|
"exports": [
|
467
261
|
{
|
468
262
|
"kind": "js",
|
469
|
-
"name": "
|
263
|
+
"name": "isDev",
|
470
264
|
"declaration": {
|
471
|
-
"name": "
|
472
|
-
"
|
265
|
+
"name": "isDev",
|
266
|
+
"module": "src/env/is-dev.ts"
|
473
267
|
}
|
474
268
|
}
|
475
269
|
]
|
476
270
|
},
|
477
271
|
{
|
478
272
|
"kind": "javascript-module",
|
479
|
-
"path": "src/
|
480
|
-
"declarations": [
|
481
|
-
{
|
482
|
-
"kind": "function",
|
483
|
-
"name": "assureDesignSystem",
|
484
|
-
"return": {
|
485
|
-
"type": {
|
486
|
-
"text": "DesignSystemModule"
|
487
|
-
}
|
488
|
-
},
|
489
|
-
"parameters": [
|
490
|
-
{
|
491
|
-
"name": "module",
|
492
|
-
"type": {
|
493
|
-
"text": "DesignSystemModule"
|
494
|
-
}
|
495
|
-
}
|
496
|
-
],
|
497
|
-
"description": "assureDesignSystem.",
|
498
|
-
"privacy": "public"
|
499
|
-
},
|
500
|
-
{
|
501
|
-
"kind": "function",
|
502
|
-
"name": "getCurrentDesignSystem",
|
503
|
-
"return": {
|
504
|
-
"type": {
|
505
|
-
"text": ""
|
506
|
-
}
|
507
|
-
},
|
508
|
-
"parameters": [
|
509
|
-
{
|
510
|
-
"name": "element",
|
511
|
-
"type": {
|
512
|
-
"text": "HTMLElement"
|
513
|
-
},
|
514
|
-
"description": "The starting HTML element"
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"name": "fallbackPrefix",
|
518
|
-
"type": {
|
519
|
-
"text": "string"
|
520
|
-
},
|
521
|
-
"description": "The prefix to fallback to if the provider is not available"
|
522
|
-
}
|
523
|
-
],
|
524
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
525
|
-
"privacy": "public"
|
526
|
-
},
|
527
|
-
{
|
528
|
-
"kind": "function",
|
529
|
-
"name": "getCurrentDesignSystemPrefix",
|
530
|
-
"return": {
|
531
|
-
"type": {
|
532
|
-
"text": ""
|
533
|
-
}
|
534
|
-
},
|
535
|
-
"parameters": [
|
536
|
-
{
|
537
|
-
"name": "element",
|
538
|
-
"type": {
|
539
|
-
"text": "HTMLElement"
|
540
|
-
},
|
541
|
-
"description": "The starting HTML element"
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"name": "fallbackPrefix",
|
545
|
-
"type": {
|
546
|
-
"text": "string"
|
547
|
-
},
|
548
|
-
"description": "The prefix to fallback to if the provider is not available"
|
549
|
-
}
|
550
|
-
],
|
551
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
552
|
-
"privacy": "public"
|
553
|
-
}
|
554
|
-
],
|
555
|
-
"exports": [
|
556
|
-
{
|
557
|
-
"kind": "js",
|
558
|
-
"name": "assureDesignSystem",
|
559
|
-
"declaration": {
|
560
|
-
"name": "assureDesignSystem",
|
561
|
-
"module": "src/design-system/design-system.ts"
|
562
|
-
}
|
563
|
-
},
|
564
|
-
{
|
565
|
-
"kind": "js",
|
566
|
-
"name": "getCurrentDesignSystem",
|
567
|
-
"declaration": {
|
568
|
-
"name": "getCurrentDesignSystem",
|
569
|
-
"module": "src/design-system/design-system.ts"
|
570
|
-
}
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"kind": "js",
|
574
|
-
"name": "getCurrentDesignSystemPrefix",
|
575
|
-
"declaration": {
|
576
|
-
"name": "getCurrentDesignSystemPrefix",
|
577
|
-
"module": "src/design-system/design-system.ts"
|
578
|
-
}
|
579
|
-
}
|
580
|
-
]
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"kind": "javascript-module",
|
584
|
-
"path": "src/design-system/index.ts",
|
585
|
-
"declarations": [],
|
586
|
-
"exports": [
|
587
|
-
{
|
588
|
-
"kind": "js",
|
589
|
-
"name": "*",
|
590
|
-
"declaration": {
|
591
|
-
"name": "*",
|
592
|
-
"package": "./design-system"
|
593
|
-
}
|
594
|
-
}
|
595
|
-
]
|
596
|
-
},
|
597
|
-
{
|
598
|
-
"kind": "javascript-module",
|
599
|
-
"path": "src/env/index.ts",
|
600
|
-
"declarations": [],
|
601
|
-
"exports": [
|
602
|
-
{
|
603
|
-
"kind": "js",
|
604
|
-
"name": "*",
|
605
|
-
"declaration": {
|
606
|
-
"name": "*",
|
607
|
-
"package": "./is-dev"
|
608
|
-
}
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"kind": "js",
|
612
|
-
"name": "*",
|
613
|
-
"declaration": {
|
614
|
-
"name": "*",
|
615
|
-
"package": "./variables"
|
616
|
-
}
|
617
|
-
}
|
618
|
-
]
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"kind": "javascript-module",
|
622
|
-
"path": "src/env/is-dev.ts",
|
623
|
-
"declarations": [
|
624
|
-
{
|
625
|
-
"kind": "function",
|
626
|
-
"name": "isDev",
|
627
|
-
"description": "Determines if the current environment is a development environment.",
|
628
|
-
"privacy": "public"
|
629
|
-
}
|
630
|
-
],
|
631
|
-
"exports": [
|
632
|
-
{
|
633
|
-
"kind": "js",
|
634
|
-
"name": "isDev",
|
635
|
-
"declaration": {
|
636
|
-
"name": "isDev",
|
637
|
-
"module": "src/env/is-dev.ts"
|
638
|
-
}
|
639
|
-
}
|
640
|
-
]
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"kind": "javascript-module",
|
644
|
-
"path": "src/env/variables.ts",
|
273
|
+
"path": "src/env/variables.ts",
|
645
274
|
"declarations": [
|
646
275
|
{
|
647
276
|
"kind": "variable",
|
@@ -1094,128 +723,484 @@
|
|
1094
723
|
},
|
1095
724
|
{
|
1096
725
|
"kind": "method",
|
1097
|
-
"name": "set",
|
726
|
+
"name": "set",
|
727
|
+
"return": {
|
728
|
+
"type": {
|
729
|
+
"text": "void"
|
730
|
+
}
|
731
|
+
},
|
732
|
+
"parameters": [
|
733
|
+
{
|
734
|
+
"name": "key",
|
735
|
+
"type": {
|
736
|
+
"text": "keyof TErrorDetailMap"
|
737
|
+
}
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"name": "error",
|
741
|
+
"type": {
|
742
|
+
"text": "Error"
|
743
|
+
}
|
744
|
+
}
|
745
|
+
],
|
746
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"kind": "method",
|
750
|
+
"name": "get",
|
751
|
+
"return": {
|
752
|
+
"type": {
|
753
|
+
"text": ""
|
754
|
+
}
|
755
|
+
},
|
756
|
+
"parameters": [
|
757
|
+
{
|
758
|
+
"name": "key",
|
759
|
+
"type": {
|
760
|
+
"text": "keyof TErrorDetailMap"
|
761
|
+
},
|
762
|
+
"description": "The key."
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"description": "Get an error by key.",
|
766
|
+
"privacy": "public"
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"kind": "method",
|
770
|
+
"name": "has",
|
771
|
+
"return": {
|
772
|
+
"type": {
|
773
|
+
"text": ""
|
774
|
+
}
|
775
|
+
},
|
776
|
+
"parameters": [
|
777
|
+
{
|
778
|
+
"name": "key",
|
779
|
+
"type": {
|
780
|
+
"text": "keyof TErrorDetailMap"
|
781
|
+
},
|
782
|
+
"description": "The key."
|
783
|
+
}
|
784
|
+
],
|
785
|
+
"description": "Has an error for key.",
|
786
|
+
"privacy": "public"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"kind": "method",
|
790
|
+
"name": "delete",
|
791
|
+
"return": {
|
792
|
+
"type": {
|
793
|
+
"text": ""
|
794
|
+
}
|
795
|
+
},
|
796
|
+
"parameters": [
|
797
|
+
{
|
798
|
+
"name": "key",
|
799
|
+
"type": {
|
800
|
+
"text": "keyof TErrorDetailMap"
|
801
|
+
},
|
802
|
+
"description": "The key."
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"description": "Delete an error.",
|
806
|
+
"privacy": "public"
|
807
|
+
},
|
808
|
+
{
|
809
|
+
"kind": "method",
|
810
|
+
"name": "clear",
|
811
|
+
"description": "Clear errors.",
|
812
|
+
"privacy": "public"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"kind": "field",
|
816
|
+
"name": "size",
|
817
|
+
"type": {
|
818
|
+
"text": "number"
|
819
|
+
},
|
820
|
+
"description": "The size of the error map.",
|
821
|
+
"return": {
|
822
|
+
"type": {
|
823
|
+
"text": ""
|
824
|
+
}
|
825
|
+
},
|
826
|
+
"privacy": "public",
|
827
|
+
"readonly": true
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"kind": "method",
|
831
|
+
"name": "values",
|
832
|
+
"privacy": "public"
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"kind": "field",
|
836
|
+
"name": "messages",
|
837
|
+
"type": {
|
838
|
+
"text": "string"
|
839
|
+
},
|
840
|
+
"description": "{@inheritDoc ErrorMap.messages}",
|
841
|
+
"readonly": true
|
842
|
+
}
|
843
|
+
]
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"kind": "function",
|
847
|
+
"name": "createErrorMap",
|
848
|
+
"return": {
|
849
|
+
"type": {
|
850
|
+
"text": ""
|
851
|
+
}
|
852
|
+
},
|
853
|
+
"parameters": [
|
854
|
+
{
|
855
|
+
"name": "logger",
|
856
|
+
"type": {
|
857
|
+
"text": "ErrorMapLogger"
|
858
|
+
},
|
859
|
+
"description": "A logger error method reference."
|
860
|
+
}
|
861
|
+
],
|
862
|
+
"description": "A factory to create the error map.",
|
863
|
+
"privacy": "public"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"exports": [
|
867
|
+
{
|
868
|
+
"kind": "js",
|
869
|
+
"name": "DefaultErrorMap",
|
870
|
+
"declaration": {
|
871
|
+
"name": "DefaultErrorMap",
|
872
|
+
"module": "src/error/errorMap.ts"
|
873
|
+
}
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"kind": "js",
|
877
|
+
"name": "createErrorMap",
|
878
|
+
"declaration": {
|
879
|
+
"name": "createErrorMap",
|
880
|
+
"module": "src/error/errorMap.ts"
|
881
|
+
}
|
882
|
+
}
|
883
|
+
]
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"kind": "javascript-module",
|
887
|
+
"path": "src/error/index.ts",
|
888
|
+
"declarations": [],
|
889
|
+
"exports": [
|
890
|
+
{
|
891
|
+
"kind": "js",
|
892
|
+
"name": "*",
|
893
|
+
"declaration": {
|
894
|
+
"name": "*",
|
895
|
+
"package": "./errorMap"
|
896
|
+
}
|
897
|
+
}
|
898
|
+
]
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"kind": "javascript-module",
|
902
|
+
"path": "src/data/inMemoryDatabase.ts",
|
903
|
+
"declarations": [
|
904
|
+
{
|
905
|
+
"kind": "class",
|
906
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
907
|
+
"name": "InMemoryDatabase",
|
908
|
+
"members": [
|
909
|
+
{
|
910
|
+
"kind": "field",
|
911
|
+
"name": "isWorking",
|
912
|
+
"type": {
|
913
|
+
"text": "boolean"
|
914
|
+
},
|
915
|
+
"privacy": "public",
|
916
|
+
"default": "false"
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"kind": "field",
|
920
|
+
"name": "records",
|
921
|
+
"type": {
|
922
|
+
"text": "Record<string, T>"
|
923
|
+
},
|
924
|
+
"privacy": "private",
|
925
|
+
"default": "{}"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"kind": "field",
|
929
|
+
"name": "beforeUpdateListeners",
|
930
|
+
"privacy": "private"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"kind": "field",
|
934
|
+
"name": "afterUpdateListeners",
|
935
|
+
"privacy": "private"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"kind": "method",
|
939
|
+
"name": "create",
|
940
|
+
"privacy": "public",
|
941
|
+
"return": {
|
942
|
+
"type": {
|
943
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
944
|
+
}
|
945
|
+
},
|
946
|
+
"parameters": [
|
947
|
+
{
|
948
|
+
"name": "newValue",
|
949
|
+
"type": {
|
950
|
+
"text": "Omit<T, 'id'>"
|
951
|
+
}
|
952
|
+
}
|
953
|
+
]
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"kind": "method",
|
957
|
+
"name": "read",
|
958
|
+
"privacy": "public",
|
959
|
+
"return": {
|
960
|
+
"type": {
|
961
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
962
|
+
}
|
963
|
+
},
|
964
|
+
"parameters": [
|
965
|
+
{
|
966
|
+
"name": "id",
|
967
|
+
"type": {
|
968
|
+
"text": "string"
|
969
|
+
}
|
970
|
+
}
|
971
|
+
]
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"kind": "method",
|
975
|
+
"name": "update",
|
976
|
+
"privacy": "public",
|
977
|
+
"return": {
|
978
|
+
"type": {
|
979
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
980
|
+
}
|
981
|
+
},
|
982
|
+
"parameters": [
|
983
|
+
{
|
984
|
+
"name": "id",
|
985
|
+
"type": {
|
986
|
+
"text": "string"
|
987
|
+
}
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"name": "newValue",
|
991
|
+
"type": {
|
992
|
+
"text": "Omit<Partial<T>, 'id'>"
|
993
|
+
}
|
994
|
+
}
|
995
|
+
]
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"kind": "method",
|
999
|
+
"name": "delete",
|
1000
|
+
"privacy": "public",
|
1098
1001
|
"return": {
|
1099
1002
|
"type": {
|
1100
|
-
"text": "
|
1003
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
1101
1004
|
}
|
1102
1005
|
},
|
1103
1006
|
"parameters": [
|
1104
1007
|
{
|
1105
|
-
"name": "
|
1106
|
-
"type": {
|
1107
|
-
"text": "keyof TErrorDetailMap"
|
1108
|
-
}
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"name": "error",
|
1008
|
+
"name": "id",
|
1112
1009
|
"type": {
|
1113
|
-
"text": "
|
1010
|
+
"text": "string"
|
1114
1011
|
}
|
1115
1012
|
}
|
1116
|
-
]
|
1117
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
1013
|
+
]
|
1118
1014
|
},
|
1119
1015
|
{
|
1120
1016
|
"kind": "method",
|
1121
|
-
"name": "
|
1017
|
+
"name": "visit",
|
1018
|
+
"privacy": "public",
|
1122
1019
|
"return": {
|
1123
1020
|
"type": {
|
1124
|
-
"text": ""
|
1021
|
+
"text": "Promise<void>"
|
1125
1022
|
}
|
1126
1023
|
},
|
1127
1024
|
"parameters": [
|
1128
1025
|
{
|
1129
|
-
"name": "
|
1026
|
+
"name": "visitor",
|
1130
1027
|
"type": {
|
1131
|
-
"text": "
|
1132
|
-
}
|
1133
|
-
"description": "The key."
|
1028
|
+
"text": "(record: T) => void"
|
1029
|
+
}
|
1134
1030
|
}
|
1135
|
-
]
|
1136
|
-
"description": "Get an error by key.",
|
1137
|
-
"privacy": "public"
|
1031
|
+
]
|
1138
1032
|
},
|
1139
1033
|
{
|
1140
1034
|
"kind": "method",
|
1141
|
-
"name": "
|
1035
|
+
"name": "onBeforeUpdate",
|
1036
|
+
"privacy": "public",
|
1142
1037
|
"return": {
|
1143
1038
|
"type": {
|
1144
|
-
"text": ""
|
1039
|
+
"text": "() => void"
|
1145
1040
|
}
|
1146
1041
|
},
|
1147
1042
|
"parameters": [
|
1148
1043
|
{
|
1149
|
-
"name": "
|
1044
|
+
"name": "listener",
|
1150
1045
|
"type": {
|
1151
|
-
"text": "
|
1152
|
-
}
|
1153
|
-
"description": "The key."
|
1046
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
1047
|
+
}
|
1154
1048
|
}
|
1155
|
-
]
|
1156
|
-
"description": "Has an error for key.",
|
1157
|
-
"privacy": "public"
|
1049
|
+
]
|
1158
1050
|
},
|
1159
1051
|
{
|
1160
1052
|
"kind": "method",
|
1161
|
-
"name": "
|
1053
|
+
"name": "onAfterUpdate",
|
1054
|
+
"privacy": "public",
|
1162
1055
|
"return": {
|
1163
1056
|
"type": {
|
1164
|
-
"text": ""
|
1057
|
+
"text": "() => void"
|
1165
1058
|
}
|
1166
1059
|
},
|
1167
1060
|
"parameters": [
|
1168
1061
|
{
|
1169
|
-
"name": "
|
1062
|
+
"name": "listener",
|
1170
1063
|
"type": {
|
1171
|
-
"text": "
|
1172
|
-
}
|
1173
|
-
"description": "The key."
|
1064
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
1065
|
+
}
|
1174
1066
|
}
|
1175
|
-
]
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1067
|
+
]
|
1068
|
+
}
|
1069
|
+
]
|
1070
|
+
}
|
1071
|
+
],
|
1072
|
+
"exports": [
|
1073
|
+
{
|
1074
|
+
"kind": "js",
|
1075
|
+
"name": "InMemoryDatabase",
|
1076
|
+
"declaration": {
|
1077
|
+
"name": "InMemoryDatabase",
|
1078
|
+
"module": "src/data/inMemoryDatabase.ts"
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
]
|
1082
|
+
},
|
1083
|
+
{
|
1084
|
+
"kind": "javascript-module",
|
1085
|
+
"path": "src/data/index.ts",
|
1086
|
+
"declarations": [],
|
1087
|
+
"exports": [
|
1088
|
+
{
|
1089
|
+
"kind": "js",
|
1090
|
+
"name": "*",
|
1091
|
+
"declaration": {
|
1092
|
+
"name": "*",
|
1093
|
+
"package": "./inMemoryDatabase"
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
]
|
1097
|
+
},
|
1098
|
+
{
|
1099
|
+
"kind": "javascript-module",
|
1100
|
+
"path": "src/decorators/index.ts",
|
1101
|
+
"declarations": [],
|
1102
|
+
"exports": [
|
1103
|
+
{
|
1104
|
+
"kind": "js",
|
1105
|
+
"name": "*",
|
1106
|
+
"declaration": {
|
1107
|
+
"name": "*",
|
1108
|
+
"package": "./renderOnChange"
|
1109
|
+
}
|
1110
|
+
}
|
1111
|
+
]
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"kind": "javascript-module",
|
1115
|
+
"path": "src/decorators/renderOnChange.ts",
|
1116
|
+
"declarations": [
|
1117
|
+
{
|
1118
|
+
"kind": "function",
|
1119
|
+
"name": "renderOnChange",
|
1120
|
+
"parameters": [
|
1179
1121
|
{
|
1180
|
-
"
|
1181
|
-
"
|
1182
|
-
|
1183
|
-
|
1122
|
+
"name": "target",
|
1123
|
+
"type": {
|
1124
|
+
"text": "FASTElement & { render(): void }"
|
1125
|
+
},
|
1126
|
+
"description": "The target to define the property change handler on."
|
1184
1127
|
},
|
1185
1128
|
{
|
1186
|
-
"
|
1187
|
-
"name": "size",
|
1129
|
+
"name": "name",
|
1188
1130
|
"type": {
|
1189
|
-
"text": "
|
1190
|
-
},
|
1191
|
-
"description": "The size of the error map.",
|
1192
|
-
"return": {
|
1193
|
-
"type": {
|
1194
|
-
"text": ""
|
1195
|
-
}
|
1131
|
+
"text": "string"
|
1196
1132
|
},
|
1197
|
-
"
|
1198
|
-
|
1199
|
-
|
1133
|
+
"description": "The property name."
|
1134
|
+
}
|
1135
|
+
],
|
1136
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
1137
|
+
"privacy": "public"
|
1138
|
+
}
|
1139
|
+
],
|
1140
|
+
"exports": [
|
1141
|
+
{
|
1142
|
+
"kind": "js",
|
1143
|
+
"name": "renderOnChange",
|
1144
|
+
"declaration": {
|
1145
|
+
"name": "renderOnChange",
|
1146
|
+
"module": "src/decorators/renderOnChange.ts"
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
]
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"kind": "javascript-module",
|
1153
|
+
"path": "src/design-system/design-system.ts",
|
1154
|
+
"declarations": [
|
1155
|
+
{
|
1156
|
+
"kind": "function",
|
1157
|
+
"name": "assureDesignSystem",
|
1158
|
+
"return": {
|
1159
|
+
"type": {
|
1160
|
+
"text": "DesignSystemModule"
|
1161
|
+
}
|
1162
|
+
},
|
1163
|
+
"parameters": [
|
1200
1164
|
{
|
1201
|
-
"
|
1202
|
-
"
|
1203
|
-
|
1165
|
+
"name": "module",
|
1166
|
+
"type": {
|
1167
|
+
"text": "DesignSystemModule"
|
1168
|
+
}
|
1169
|
+
}
|
1170
|
+
],
|
1171
|
+
"description": "assureDesignSystem.",
|
1172
|
+
"privacy": "public"
|
1173
|
+
},
|
1174
|
+
{
|
1175
|
+
"kind": "function",
|
1176
|
+
"name": "getCurrentDesignSystem",
|
1177
|
+
"return": {
|
1178
|
+
"type": {
|
1179
|
+
"text": ""
|
1180
|
+
}
|
1181
|
+
},
|
1182
|
+
"parameters": [
|
1183
|
+
{
|
1184
|
+
"name": "element",
|
1185
|
+
"type": {
|
1186
|
+
"text": "HTMLElement"
|
1187
|
+
},
|
1188
|
+
"description": "The starting HTML element"
|
1204
1189
|
},
|
1205
1190
|
{
|
1206
|
-
"
|
1207
|
-
"name": "messages",
|
1191
|
+
"name": "fallbackPrefix",
|
1208
1192
|
"type": {
|
1209
1193
|
"text": "string"
|
1210
1194
|
},
|
1211
|
-
"description": "
|
1212
|
-
"readonly": true
|
1195
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1213
1196
|
}
|
1214
|
-
]
|
1197
|
+
],
|
1198
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1199
|
+
"privacy": "public"
|
1215
1200
|
},
|
1216
1201
|
{
|
1217
1202
|
"kind": "function",
|
1218
|
-
"name": "
|
1203
|
+
"name": "getCurrentDesignSystemPrefix",
|
1219
1204
|
"return": {
|
1220
1205
|
"type": {
|
1221
1206
|
"text": ""
|
@@ -1223,39 +1208,54 @@
|
|
1223
1208
|
},
|
1224
1209
|
"parameters": [
|
1225
1210
|
{
|
1226
|
-
"name": "
|
1211
|
+
"name": "element",
|
1227
1212
|
"type": {
|
1228
|
-
"text": "
|
1213
|
+
"text": "HTMLElement"
|
1229
1214
|
},
|
1230
|
-
"description": "
|
1215
|
+
"description": "The starting HTML element"
|
1216
|
+
},
|
1217
|
+
{
|
1218
|
+
"name": "fallbackPrefix",
|
1219
|
+
"type": {
|
1220
|
+
"text": "string"
|
1221
|
+
},
|
1222
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1231
1223
|
}
|
1232
1224
|
],
|
1233
|
-
"description": "
|
1225
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1234
1226
|
"privacy": "public"
|
1235
1227
|
}
|
1236
1228
|
],
|
1237
1229
|
"exports": [
|
1238
1230
|
{
|
1239
1231
|
"kind": "js",
|
1240
|
-
"name": "
|
1232
|
+
"name": "assureDesignSystem",
|
1241
1233
|
"declaration": {
|
1242
|
-
"name": "
|
1243
|
-
"module": "src/
|
1234
|
+
"name": "assureDesignSystem",
|
1235
|
+
"module": "src/design-system/design-system.ts"
|
1244
1236
|
}
|
1245
1237
|
},
|
1246
1238
|
{
|
1247
1239
|
"kind": "js",
|
1248
|
-
"name": "
|
1240
|
+
"name": "getCurrentDesignSystem",
|
1249
1241
|
"declaration": {
|
1250
|
-
"name": "
|
1251
|
-
"module": "src/
|
1242
|
+
"name": "getCurrentDesignSystem",
|
1243
|
+
"module": "src/design-system/design-system.ts"
|
1244
|
+
}
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
"kind": "js",
|
1248
|
+
"name": "getCurrentDesignSystemPrefix",
|
1249
|
+
"declaration": {
|
1250
|
+
"name": "getCurrentDesignSystemPrefix",
|
1251
|
+
"module": "src/design-system/design-system.ts"
|
1252
1252
|
}
|
1253
1253
|
}
|
1254
1254
|
]
|
1255
1255
|
},
|
1256
1256
|
{
|
1257
1257
|
"kind": "javascript-module",
|
1258
|
-
"path": "src/
|
1258
|
+
"path": "src/design-system/index.ts",
|
1259
1259
|
"declarations": [],
|
1260
1260
|
"exports": [
|
1261
1261
|
{
|
@@ -1263,7 +1263,7 @@
|
|
1263
1263
|
"name": "*",
|
1264
1264
|
"declaration": {
|
1265
1265
|
"name": "*",
|
1266
|
-
"package": "./
|
1266
|
+
"package": "./design-system"
|
1267
1267
|
}
|
1268
1268
|
}
|
1269
1269
|
]
|
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.336.
|
4
|
+
"version": "14.336.3-alpha-54b30b8.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,18 +27,18 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.336.
|
31
|
-
"@genesislcap/genx": "14.336.
|
32
|
-
"@genesislcap/rollup-builder": "14.336.
|
33
|
-
"@genesislcap/ts-builder": "14.336.
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.336.
|
35
|
-
"@genesislcap/vite-builder": "14.336.
|
36
|
-
"@genesislcap/webpack-builder": "14.336.
|
30
|
+
"@genesislcap/foundation-testing": "14.336.3-alpha-54b30b8.0",
|
31
|
+
"@genesislcap/genx": "14.336.3-alpha-54b30b8.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.336.3-alpha-54b30b8.0",
|
33
|
+
"@genesislcap/ts-builder": "14.336.3-alpha-54b30b8.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.336.3-alpha-54b30b8.0",
|
35
|
+
"@genesislcap/vite-builder": "14.336.3-alpha-54b30b8.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.336.3-alpha-54b30b8.0",
|
37
37
|
"@types/json-schema": "^7.0.11"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/expression-builder": "14.336.
|
41
|
-
"@genesislcap/foundation-logger": "14.336.
|
40
|
+
"@genesislcap/expression-builder": "14.336.3-alpha-54b30b8.0",
|
41
|
+
"@genesislcap/foundation-logger": "14.336.3-alpha-54b30b8.0",
|
42
42
|
"@microsoft/fast-components": "2.30.6",
|
43
43
|
"@microsoft/fast-element": "1.14.0",
|
44
44
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -56,5 +56,5 @@
|
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
58
|
"customElements": "dist/custom-elements.json",
|
59
|
-
"gitHead": "
|
59
|
+
"gitHead": "0b4bbbff5505de9aab4f490e7a3cc488ad04735f"
|
60
60
|
}
|