@genesislcap/foundation-utils 14.336.2-alpha-a066463.0 → 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 +472 -472
- package/package.json +11 -11
@@ -185,324 +185,6 @@
|
|
185
185
|
}
|
186
186
|
]
|
187
187
|
},
|
188
|
-
{
|
189
|
-
"kind": "javascript-module",
|
190
|
-
"path": "src/data/inMemoryDatabase.ts",
|
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",
|
374
|
-
"declarations": [],
|
375
|
-
"exports": [
|
376
|
-
{
|
377
|
-
"kind": "js",
|
378
|
-
"name": "*",
|
379
|
-
"declaration": {
|
380
|
-
"name": "*",
|
381
|
-
"package": "./inMemoryDatabase"
|
382
|
-
}
|
383
|
-
}
|
384
|
-
]
|
385
|
-
},
|
386
|
-
{
|
387
|
-
"kind": "javascript-module",
|
388
|
-
"path": "src/design-system/design-system.ts",
|
389
|
-
"declarations": [
|
390
|
-
{
|
391
|
-
"kind": "function",
|
392
|
-
"name": "assureDesignSystem",
|
393
|
-
"return": {
|
394
|
-
"type": {
|
395
|
-
"text": "DesignSystemModule"
|
396
|
-
}
|
397
|
-
},
|
398
|
-
"parameters": [
|
399
|
-
{
|
400
|
-
"name": "module",
|
401
|
-
"type": {
|
402
|
-
"text": "DesignSystemModule"
|
403
|
-
}
|
404
|
-
}
|
405
|
-
],
|
406
|
-
"description": "assureDesignSystem.",
|
407
|
-
"privacy": "public"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"kind": "function",
|
411
|
-
"name": "getCurrentDesignSystem",
|
412
|
-
"return": {
|
413
|
-
"type": {
|
414
|
-
"text": ""
|
415
|
-
}
|
416
|
-
},
|
417
|
-
"parameters": [
|
418
|
-
{
|
419
|
-
"name": "element",
|
420
|
-
"type": {
|
421
|
-
"text": "HTMLElement"
|
422
|
-
},
|
423
|
-
"description": "The starting HTML element"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"name": "fallbackPrefix",
|
427
|
-
"type": {
|
428
|
-
"text": "string"
|
429
|
-
},
|
430
|
-
"description": "The prefix to fallback to if the provider is not available"
|
431
|
-
}
|
432
|
-
],
|
433
|
-
"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.",
|
434
|
-
"privacy": "public"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"kind": "function",
|
438
|
-
"name": "getCurrentDesignSystemPrefix",
|
439
|
-
"return": {
|
440
|
-
"type": {
|
441
|
-
"text": ""
|
442
|
-
}
|
443
|
-
},
|
444
|
-
"parameters": [
|
445
|
-
{
|
446
|
-
"name": "element",
|
447
|
-
"type": {
|
448
|
-
"text": "HTMLElement"
|
449
|
-
},
|
450
|
-
"description": "The starting HTML element"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"name": "fallbackPrefix",
|
454
|
-
"type": {
|
455
|
-
"text": "string"
|
456
|
-
},
|
457
|
-
"description": "The prefix to fallback to if the provider is not available"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
461
|
-
"privacy": "public"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"exports": [
|
465
|
-
{
|
466
|
-
"kind": "js",
|
467
|
-
"name": "assureDesignSystem",
|
468
|
-
"declaration": {
|
469
|
-
"name": "assureDesignSystem",
|
470
|
-
"module": "src/design-system/design-system.ts"
|
471
|
-
}
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"kind": "js",
|
475
|
-
"name": "getCurrentDesignSystem",
|
476
|
-
"declaration": {
|
477
|
-
"name": "getCurrentDesignSystem",
|
478
|
-
"module": "src/design-system/design-system.ts"
|
479
|
-
}
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"kind": "js",
|
483
|
-
"name": "getCurrentDesignSystemPrefix",
|
484
|
-
"declaration": {
|
485
|
-
"name": "getCurrentDesignSystemPrefix",
|
486
|
-
"module": "src/design-system/design-system.ts"
|
487
|
-
}
|
488
|
-
}
|
489
|
-
]
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"kind": "javascript-module",
|
493
|
-
"path": "src/design-system/index.ts",
|
494
|
-
"declarations": [],
|
495
|
-
"exports": [
|
496
|
-
{
|
497
|
-
"kind": "js",
|
498
|
-
"name": "*",
|
499
|
-
"declaration": {
|
500
|
-
"name": "*",
|
501
|
-
"package": "./design-system"
|
502
|
-
}
|
503
|
-
}
|
504
|
-
]
|
505
|
-
},
|
506
188
|
{
|
507
189
|
"kind": "javascript-module",
|
508
190
|
"path": "src/directives/index.ts",
|
@@ -528,7 +210,7 @@
|
|
528
210
|
},
|
529
211
|
{
|
530
212
|
"kind": "javascript-module",
|
531
|
-
"path": "src/
|
213
|
+
"path": "src/encoding/index.ts",
|
532
214
|
"declarations": [],
|
533
215
|
"exports": [
|
534
216
|
{
|
@@ -536,45 +218,7 @@
|
|
536
218
|
"name": "*",
|
537
219
|
"declaration": {
|
538
220
|
"name": "*",
|
539
|
-
"package": "./
|
540
|
-
}
|
541
|
-
}
|
542
|
-
]
|
543
|
-
},
|
544
|
-
{
|
545
|
-
"kind": "javascript-module",
|
546
|
-
"path": "src/decorators/renderOnChange.ts",
|
547
|
-
"declarations": [
|
548
|
-
{
|
549
|
-
"kind": "function",
|
550
|
-
"name": "renderOnChange",
|
551
|
-
"parameters": [
|
552
|
-
{
|
553
|
-
"name": "target",
|
554
|
-
"type": {
|
555
|
-
"text": "FASTElement & { render(): void }"
|
556
|
-
},
|
557
|
-
"description": "The target to define the property change handler on."
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"name": "name",
|
561
|
-
"type": {
|
562
|
-
"text": "string"
|
563
|
-
},
|
564
|
-
"description": "The property name."
|
565
|
-
}
|
566
|
-
],
|
567
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
568
|
-
"privacy": "public"
|
569
|
-
}
|
570
|
-
],
|
571
|
-
"exports": [
|
572
|
-
{
|
573
|
-
"kind": "js",
|
574
|
-
"name": "renderOnChange",
|
575
|
-
"declaration": {
|
576
|
-
"name": "renderOnChange",
|
577
|
-
"module": "src/decorators/renderOnChange.ts"
|
221
|
+
"package": "./base64"
|
578
222
|
}
|
579
223
|
}
|
580
224
|
]
|
@@ -1021,186 +665,542 @@
|
|
1021
665
|
}
|
1022
666
|
},
|
1023
667
|
{
|
1024
|
-
"kind": "js",
|
1025
|
-
"name": "SSO_LIST_URL",
|
1026
|
-
"declaration": {
|
1027
|
-
"name": "SSO_LIST_URL",
|
1028
|
-
"module": "src/env/variables.ts"
|
1029
|
-
}
|
1030
|
-
},
|
668
|
+
"kind": "js",
|
669
|
+
"name": "SSO_LIST_URL",
|
670
|
+
"declaration": {
|
671
|
+
"name": "SSO_LIST_URL",
|
672
|
+
"module": "src/env/variables.ts"
|
673
|
+
}
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"kind": "js",
|
677
|
+
"name": "SSO_LOGIN_URL",
|
678
|
+
"declaration": {
|
679
|
+
"name": "SSO_LOGIN_URL",
|
680
|
+
"module": "src/env/variables.ts"
|
681
|
+
}
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"kind": "js",
|
685
|
+
"name": "ENVIRONMENT_LEVEL",
|
686
|
+
"declaration": {
|
687
|
+
"name": "ENVIRONMENT_LEVEL",
|
688
|
+
"module": "src/env/variables.ts"
|
689
|
+
}
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"kind": "js",
|
693
|
+
"name": "ACCEPT_TERMS_URL",
|
694
|
+
"declaration": {
|
695
|
+
"name": "ACCEPT_TERMS_URL",
|
696
|
+
"module": "src/env/variables.ts"
|
697
|
+
}
|
698
|
+
}
|
699
|
+
]
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"kind": "javascript-module",
|
703
|
+
"path": "src/error/errorMap.ts",
|
704
|
+
"declarations": [
|
705
|
+
{
|
706
|
+
"kind": "class",
|
707
|
+
"description": "",
|
708
|
+
"name": "DefaultErrorMap",
|
709
|
+
"members": [
|
710
|
+
{
|
711
|
+
"kind": "field",
|
712
|
+
"name": "map",
|
713
|
+
"privacy": "private",
|
714
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"kind": "field",
|
718
|
+
"name": "lastError",
|
719
|
+
"type": {
|
720
|
+
"text": "Error"
|
721
|
+
},
|
722
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"kind": "method",
|
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": [
|
1031
867
|
{
|
1032
868
|
"kind": "js",
|
1033
|
-
"name": "
|
869
|
+
"name": "DefaultErrorMap",
|
1034
870
|
"declaration": {
|
1035
|
-
"name": "
|
1036
|
-
"module": "src/
|
871
|
+
"name": "DefaultErrorMap",
|
872
|
+
"module": "src/error/errorMap.ts"
|
1037
873
|
}
|
1038
874
|
},
|
1039
875
|
{
|
1040
876
|
"kind": "js",
|
1041
|
-
"name": "
|
877
|
+
"name": "createErrorMap",
|
1042
878
|
"declaration": {
|
1043
|
-
"name": "
|
1044
|
-
"module": "src/
|
879
|
+
"name": "createErrorMap",
|
880
|
+
"module": "src/error/errorMap.ts"
|
1045
881
|
}
|
1046
|
-
}
|
882
|
+
}
|
883
|
+
]
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"kind": "javascript-module",
|
887
|
+
"path": "src/error/index.ts",
|
888
|
+
"declarations": [],
|
889
|
+
"exports": [
|
1047
890
|
{
|
1048
891
|
"kind": "js",
|
1049
|
-
"name": "
|
892
|
+
"name": "*",
|
1050
893
|
"declaration": {
|
1051
|
-
"name": "
|
1052
|
-
"
|
894
|
+
"name": "*",
|
895
|
+
"package": "./errorMap"
|
1053
896
|
}
|
1054
897
|
}
|
1055
898
|
]
|
1056
899
|
},
|
1057
900
|
{
|
1058
901
|
"kind": "javascript-module",
|
1059
|
-
"path": "src/
|
902
|
+
"path": "src/data/inMemoryDatabase.ts",
|
1060
903
|
"declarations": [
|
1061
904
|
{
|
1062
905
|
"kind": "class",
|
1063
|
-
"description": "",
|
1064
|
-
"name": "
|
906
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
907
|
+
"name": "InMemoryDatabase",
|
1065
908
|
"members": [
|
1066
909
|
{
|
1067
910
|
"kind": "field",
|
1068
|
-
"name": "
|
1069
|
-
"
|
1070
|
-
|
911
|
+
"name": "isWorking",
|
912
|
+
"type": {
|
913
|
+
"text": "boolean"
|
914
|
+
},
|
915
|
+
"privacy": "public",
|
916
|
+
"default": "false"
|
1071
917
|
},
|
1072
918
|
{
|
1073
919
|
"kind": "field",
|
1074
|
-
"name": "
|
920
|
+
"name": "records",
|
1075
921
|
"type": {
|
1076
|
-
"text": "
|
922
|
+
"text": "Record<string, T>"
|
1077
923
|
},
|
1078
|
-
"
|
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"
|
1079
936
|
},
|
1080
937
|
{
|
1081
938
|
"kind": "method",
|
1082
|
-
"name": "
|
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",
|
1083
1001
|
"return": {
|
1084
1002
|
"type": {
|
1085
|
-
"text": "
|
1003
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
1086
1004
|
}
|
1087
1005
|
},
|
1088
1006
|
"parameters": [
|
1089
1007
|
{
|
1090
|
-
"name": "
|
1091
|
-
"type": {
|
1092
|
-
"text": "keyof TErrorDetailMap"
|
1093
|
-
}
|
1094
|
-
},
|
1095
|
-
{
|
1096
|
-
"name": "error",
|
1008
|
+
"name": "id",
|
1097
1009
|
"type": {
|
1098
|
-
"text": "
|
1010
|
+
"text": "string"
|
1099
1011
|
}
|
1100
1012
|
}
|
1101
|
-
]
|
1102
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
1013
|
+
]
|
1103
1014
|
},
|
1104
1015
|
{
|
1105
1016
|
"kind": "method",
|
1106
|
-
"name": "
|
1017
|
+
"name": "visit",
|
1018
|
+
"privacy": "public",
|
1107
1019
|
"return": {
|
1108
1020
|
"type": {
|
1109
|
-
"text": ""
|
1021
|
+
"text": "Promise<void>"
|
1110
1022
|
}
|
1111
1023
|
},
|
1112
1024
|
"parameters": [
|
1113
1025
|
{
|
1114
|
-
"name": "
|
1026
|
+
"name": "visitor",
|
1115
1027
|
"type": {
|
1116
|
-
"text": "
|
1117
|
-
}
|
1118
|
-
"description": "The key."
|
1028
|
+
"text": "(record: T) => void"
|
1029
|
+
}
|
1119
1030
|
}
|
1120
|
-
]
|
1121
|
-
"description": "Get an error by key.",
|
1122
|
-
"privacy": "public"
|
1031
|
+
]
|
1123
1032
|
},
|
1124
1033
|
{
|
1125
1034
|
"kind": "method",
|
1126
|
-
"name": "
|
1035
|
+
"name": "onBeforeUpdate",
|
1036
|
+
"privacy": "public",
|
1127
1037
|
"return": {
|
1128
1038
|
"type": {
|
1129
|
-
"text": ""
|
1039
|
+
"text": "() => void"
|
1130
1040
|
}
|
1131
1041
|
},
|
1132
1042
|
"parameters": [
|
1133
1043
|
{
|
1134
|
-
"name": "
|
1044
|
+
"name": "listener",
|
1135
1045
|
"type": {
|
1136
|
-
"text": "
|
1137
|
-
}
|
1138
|
-
"description": "The key."
|
1046
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
1047
|
+
}
|
1139
1048
|
}
|
1140
|
-
]
|
1141
|
-
"description": "Has an error for key.",
|
1142
|
-
"privacy": "public"
|
1049
|
+
]
|
1143
1050
|
},
|
1144
1051
|
{
|
1145
1052
|
"kind": "method",
|
1146
|
-
"name": "
|
1053
|
+
"name": "onAfterUpdate",
|
1054
|
+
"privacy": "public",
|
1147
1055
|
"return": {
|
1148
1056
|
"type": {
|
1149
|
-
"text": ""
|
1057
|
+
"text": "() => void"
|
1150
1058
|
}
|
1151
1059
|
},
|
1152
1060
|
"parameters": [
|
1153
1061
|
{
|
1154
|
-
"name": "
|
1062
|
+
"name": "listener",
|
1155
1063
|
"type": {
|
1156
|
-
"text": "
|
1157
|
-
}
|
1158
|
-
"description": "The key."
|
1064
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
1065
|
+
}
|
1159
1066
|
}
|
1160
|
-
]
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
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": [
|
1164
1121
|
{
|
1165
|
-
"
|
1166
|
-
"
|
1167
|
-
|
1168
|
-
|
1122
|
+
"name": "target",
|
1123
|
+
"type": {
|
1124
|
+
"text": "FASTElement & { render(): void }"
|
1125
|
+
},
|
1126
|
+
"description": "The target to define the property change handler on."
|
1169
1127
|
},
|
1170
1128
|
{
|
1171
|
-
"
|
1172
|
-
"name": "size",
|
1129
|
+
"name": "name",
|
1173
1130
|
"type": {
|
1174
|
-
"text": "
|
1175
|
-
},
|
1176
|
-
"description": "The size of the error map.",
|
1177
|
-
"return": {
|
1178
|
-
"type": {
|
1179
|
-
"text": ""
|
1180
|
-
}
|
1131
|
+
"text": "string"
|
1181
1132
|
},
|
1182
|
-
"
|
1183
|
-
|
1184
|
-
|
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": [
|
1185
1164
|
{
|
1186
|
-
"
|
1187
|
-
"
|
1188
|
-
|
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"
|
1189
1189
|
},
|
1190
1190
|
{
|
1191
|
-
"
|
1192
|
-
"name": "messages",
|
1191
|
+
"name": "fallbackPrefix",
|
1193
1192
|
"type": {
|
1194
1193
|
"text": "string"
|
1195
1194
|
},
|
1196
|
-
"description": "
|
1197
|
-
"readonly": true
|
1195
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1198
1196
|
}
|
1199
|
-
]
|
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"
|
1200
1200
|
},
|
1201
1201
|
{
|
1202
1202
|
"kind": "function",
|
1203
|
-
"name": "
|
1203
|
+
"name": "getCurrentDesignSystemPrefix",
|
1204
1204
|
"return": {
|
1205
1205
|
"type": {
|
1206
1206
|
"text": ""
|
@@ -1208,54 +1208,54 @@
|
|
1208
1208
|
},
|
1209
1209
|
"parameters": [
|
1210
1210
|
{
|
1211
|
-
"name": "
|
1211
|
+
"name": "element",
|
1212
1212
|
"type": {
|
1213
|
-
"text": "
|
1213
|
+
"text": "HTMLElement"
|
1214
1214
|
},
|
1215
|
-
"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"
|
1216
1223
|
}
|
1217
1224
|
],
|
1218
|
-
"description": "
|
1225
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1219
1226
|
"privacy": "public"
|
1220
1227
|
}
|
1221
1228
|
],
|
1222
1229
|
"exports": [
|
1223
1230
|
{
|
1224
1231
|
"kind": "js",
|
1225
|
-
"name": "
|
1232
|
+
"name": "assureDesignSystem",
|
1226
1233
|
"declaration": {
|
1227
|
-
"name": "
|
1228
|
-
"module": "src/
|
1234
|
+
"name": "assureDesignSystem",
|
1235
|
+
"module": "src/design-system/design-system.ts"
|
1229
1236
|
}
|
1230
1237
|
},
|
1231
1238
|
{
|
1232
1239
|
"kind": "js",
|
1233
|
-
"name": "
|
1240
|
+
"name": "getCurrentDesignSystem",
|
1234
1241
|
"declaration": {
|
1235
|
-
"name": "
|
1236
|
-
"module": "src/
|
1242
|
+
"name": "getCurrentDesignSystem",
|
1243
|
+
"module": "src/design-system/design-system.ts"
|
1237
1244
|
}
|
1238
|
-
}
|
1239
|
-
]
|
1240
|
-
},
|
1241
|
-
{
|
1242
|
-
"kind": "javascript-module",
|
1243
|
-
"path": "src/error/index.ts",
|
1244
|
-
"declarations": [],
|
1245
|
-
"exports": [
|
1245
|
+
},
|
1246
1246
|
{
|
1247
1247
|
"kind": "js",
|
1248
|
-
"name": "
|
1248
|
+
"name": "getCurrentDesignSystemPrefix",
|
1249
1249
|
"declaration": {
|
1250
|
-
"name": "
|
1251
|
-
"
|
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
|
}
|