@genesislcap/foundation-utils 14.467.1-alpha-5e9a5600e.0 → 14.467.1
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 +407 -407
- package/package.json +11 -11
|
@@ -252,53 +252,198 @@
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"kind": "javascript-module",
|
|
255
|
-
"path": "src/
|
|
256
|
-
"declarations": [],
|
|
257
|
-
"exports": [
|
|
258
|
-
{
|
|
259
|
-
"kind": "js",
|
|
260
|
-
"name": "*",
|
|
261
|
-
"declaration": {
|
|
262
|
-
"name": "*",
|
|
263
|
-
"package": "./renderOnChange"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "javascript-module",
|
|
270
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
255
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
271
256
|
"declarations": [
|
|
272
257
|
{
|
|
273
|
-
"kind": "
|
|
274
|
-
"
|
|
275
|
-
"
|
|
258
|
+
"kind": "class",
|
|
259
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
260
|
+
"name": "InMemoryDatabase",
|
|
261
|
+
"members": [
|
|
276
262
|
{
|
|
277
|
-
"
|
|
263
|
+
"kind": "field",
|
|
264
|
+
"name": "isWorking",
|
|
278
265
|
"type": {
|
|
279
|
-
"text": "
|
|
266
|
+
"text": "boolean"
|
|
280
267
|
},
|
|
281
|
-
"
|
|
268
|
+
"privacy": "public",
|
|
269
|
+
"default": "false"
|
|
282
270
|
},
|
|
283
271
|
{
|
|
284
|
-
"
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "records",
|
|
285
274
|
"type": {
|
|
286
|
-
"text": "string"
|
|
275
|
+
"text": "Record<string, T>"
|
|
287
276
|
},
|
|
288
|
-
"
|
|
277
|
+
"privacy": "private",
|
|
278
|
+
"default": "{}"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "field",
|
|
282
|
+
"name": "beforeUpdateListeners",
|
|
283
|
+
"privacy": "private"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "field",
|
|
287
|
+
"name": "afterUpdateListeners",
|
|
288
|
+
"privacy": "private"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "method",
|
|
292
|
+
"name": "create",
|
|
293
|
+
"privacy": "public",
|
|
294
|
+
"return": {
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"parameters": [
|
|
300
|
+
{
|
|
301
|
+
"name": "newValue",
|
|
302
|
+
"type": {
|
|
303
|
+
"text": "Omit<T, 'id'>"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"kind": "method",
|
|
310
|
+
"name": "read",
|
|
311
|
+
"privacy": "public",
|
|
312
|
+
"return": {
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"parameters": [
|
|
318
|
+
{
|
|
319
|
+
"name": "id",
|
|
320
|
+
"type": {
|
|
321
|
+
"text": "string"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"kind": "method",
|
|
328
|
+
"name": "update",
|
|
329
|
+
"privacy": "public",
|
|
330
|
+
"return": {
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"parameters": [
|
|
336
|
+
{
|
|
337
|
+
"name": "id",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "string"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "newValue",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "method",
|
|
352
|
+
"name": "delete",
|
|
353
|
+
"privacy": "public",
|
|
354
|
+
"return": {
|
|
355
|
+
"type": {
|
|
356
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"parameters": [
|
|
360
|
+
{
|
|
361
|
+
"name": "id",
|
|
362
|
+
"type": {
|
|
363
|
+
"text": "string"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "method",
|
|
370
|
+
"name": "visit",
|
|
371
|
+
"privacy": "public",
|
|
372
|
+
"return": {
|
|
373
|
+
"type": {
|
|
374
|
+
"text": "Promise<void>"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"parameters": [
|
|
378
|
+
{
|
|
379
|
+
"name": "visitor",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "(record: T) => void"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "method",
|
|
388
|
+
"name": "onBeforeUpdate",
|
|
389
|
+
"privacy": "public",
|
|
390
|
+
"return": {
|
|
391
|
+
"type": {
|
|
392
|
+
"text": "() => void"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "listener",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "method",
|
|
406
|
+
"name": "onAfterUpdate",
|
|
407
|
+
"privacy": "public",
|
|
408
|
+
"return": {
|
|
409
|
+
"type": {
|
|
410
|
+
"text": "() => void"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"parameters": [
|
|
414
|
+
{
|
|
415
|
+
"name": "listener",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
289
421
|
}
|
|
290
|
-
]
|
|
291
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
292
|
-
"privacy": "public"
|
|
422
|
+
]
|
|
293
423
|
}
|
|
294
424
|
],
|
|
295
425
|
"exports": [
|
|
296
426
|
{
|
|
297
427
|
"kind": "js",
|
|
298
|
-
"name": "
|
|
428
|
+
"name": "InMemoryDatabase",
|
|
299
429
|
"declaration": {
|
|
300
|
-
"name": "
|
|
301
|
-
"module": "src/
|
|
430
|
+
"name": "InMemoryDatabase",
|
|
431
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "javascript-module",
|
|
438
|
+
"path": "src/data/index.ts",
|
|
439
|
+
"declarations": [],
|
|
440
|
+
"exports": [
|
|
441
|
+
{
|
|
442
|
+
"kind": "js",
|
|
443
|
+
"name": "*",
|
|
444
|
+
"declaration": {
|
|
445
|
+
"name": "*",
|
|
446
|
+
"package": "./inMemoryDatabase"
|
|
302
447
|
}
|
|
303
448
|
}
|
|
304
449
|
]
|
|
@@ -507,190 +652,30 @@
|
|
|
507
652
|
},
|
|
508
653
|
{
|
|
509
654
|
"kind": "javascript-module",
|
|
510
|
-
"path": "src/
|
|
511
|
-
"declarations": [
|
|
655
|
+
"path": "src/directives/index.ts",
|
|
656
|
+
"declarations": [],
|
|
657
|
+
"exports": [
|
|
512
658
|
{
|
|
513
|
-
"kind": "
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"type": {
|
|
521
|
-
"text": "boolean"
|
|
522
|
-
},
|
|
523
|
-
"privacy": "public",
|
|
524
|
-
"default": "false"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"kind": "field",
|
|
528
|
-
"name": "records",
|
|
529
|
-
"type": {
|
|
530
|
-
"text": "Record<string, T>"
|
|
531
|
-
},
|
|
532
|
-
"privacy": "private",
|
|
533
|
-
"default": "{}"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"kind": "field",
|
|
537
|
-
"name": "beforeUpdateListeners",
|
|
538
|
-
"privacy": "private"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"kind": "field",
|
|
542
|
-
"name": "afterUpdateListeners",
|
|
543
|
-
"privacy": "private"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "method",
|
|
547
|
-
"name": "create",
|
|
548
|
-
"privacy": "public",
|
|
549
|
-
"return": {
|
|
550
|
-
"type": {
|
|
551
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
"parameters": [
|
|
555
|
-
{
|
|
556
|
-
"name": "newValue",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "Omit<T, 'id'>"
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
]
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"kind": "method",
|
|
565
|
-
"name": "read",
|
|
566
|
-
"privacy": "public",
|
|
567
|
-
"return": {
|
|
568
|
-
"type": {
|
|
569
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"parameters": [
|
|
573
|
-
{
|
|
574
|
-
"name": "id",
|
|
575
|
-
"type": {
|
|
576
|
-
"text": "string"
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
]
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"kind": "method",
|
|
583
|
-
"name": "update",
|
|
584
|
-
"privacy": "public",
|
|
585
|
-
"return": {
|
|
586
|
-
"type": {
|
|
587
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
"parameters": [
|
|
591
|
-
{
|
|
592
|
-
"name": "id",
|
|
593
|
-
"type": {
|
|
594
|
-
"text": "string"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"name": "newValue",
|
|
599
|
-
"type": {
|
|
600
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
]
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"kind": "method",
|
|
607
|
-
"name": "delete",
|
|
608
|
-
"privacy": "public",
|
|
609
|
-
"return": {
|
|
610
|
-
"type": {
|
|
611
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
612
|
-
}
|
|
613
|
-
},
|
|
614
|
-
"parameters": [
|
|
615
|
-
{
|
|
616
|
-
"name": "id",
|
|
617
|
-
"type": {
|
|
618
|
-
"text": "string"
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
]
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"kind": "method",
|
|
625
|
-
"name": "visit",
|
|
626
|
-
"privacy": "public",
|
|
627
|
-
"return": {
|
|
628
|
-
"type": {
|
|
629
|
-
"text": "Promise<void>"
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
"parameters": [
|
|
633
|
-
{
|
|
634
|
-
"name": "visitor",
|
|
635
|
-
"type": {
|
|
636
|
-
"text": "(record: T) => void"
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
]
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"kind": "method",
|
|
643
|
-
"name": "onBeforeUpdate",
|
|
644
|
-
"privacy": "public",
|
|
645
|
-
"return": {
|
|
646
|
-
"type": {
|
|
647
|
-
"text": "() => void"
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"parameters": [
|
|
651
|
-
{
|
|
652
|
-
"name": "listener",
|
|
653
|
-
"type": {
|
|
654
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
]
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
"kind": "method",
|
|
661
|
-
"name": "onAfterUpdate",
|
|
662
|
-
"privacy": "public",
|
|
663
|
-
"return": {
|
|
664
|
-
"type": {
|
|
665
|
-
"text": "() => void"
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
"parameters": [
|
|
669
|
-
{
|
|
670
|
-
"name": "listener",
|
|
671
|
-
"type": {
|
|
672
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
]
|
|
676
|
-
}
|
|
677
|
-
]
|
|
678
|
-
}
|
|
679
|
-
],
|
|
680
|
-
"exports": [
|
|
659
|
+
"kind": "js",
|
|
660
|
+
"name": "*",
|
|
661
|
+
"declaration": {
|
|
662
|
+
"name": "*",
|
|
663
|
+
"package": "./sync"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
681
666
|
{
|
|
682
667
|
"kind": "js",
|
|
683
|
-
"name": "
|
|
668
|
+
"name": "*",
|
|
684
669
|
"declaration": {
|
|
685
|
-
"name": "
|
|
686
|
-
"
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./when-else"
|
|
687
672
|
}
|
|
688
673
|
}
|
|
689
674
|
]
|
|
690
675
|
},
|
|
691
676
|
{
|
|
692
677
|
"kind": "javascript-module",
|
|
693
|
-
"path": "src/
|
|
678
|
+
"path": "src/encoding/index.ts",
|
|
694
679
|
"declarations": [],
|
|
695
680
|
"exports": [
|
|
696
681
|
{
|
|
@@ -698,14 +683,14 @@
|
|
|
698
683
|
"name": "*",
|
|
699
684
|
"declaration": {
|
|
700
685
|
"name": "*",
|
|
701
|
-
"package": "./
|
|
686
|
+
"package": "./base64"
|
|
702
687
|
}
|
|
703
688
|
}
|
|
704
689
|
]
|
|
705
690
|
},
|
|
706
691
|
{
|
|
707
692
|
"kind": "javascript-module",
|
|
708
|
-
"path": "src/
|
|
693
|
+
"path": "src/decorators/index.ts",
|
|
709
694
|
"declarations": [],
|
|
710
695
|
"exports": [
|
|
711
696
|
{
|
|
@@ -713,7 +698,45 @@
|
|
|
713
698
|
"name": "*",
|
|
714
699
|
"declaration": {
|
|
715
700
|
"name": "*",
|
|
716
|
-
"package": "./
|
|
701
|
+
"package": "./renderOnChange"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "javascript-module",
|
|
708
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
709
|
+
"declarations": [
|
|
710
|
+
{
|
|
711
|
+
"kind": "function",
|
|
712
|
+
"name": "renderOnChange",
|
|
713
|
+
"parameters": [
|
|
714
|
+
{
|
|
715
|
+
"name": "target",
|
|
716
|
+
"type": {
|
|
717
|
+
"text": "FASTElement & { render(): void }"
|
|
718
|
+
},
|
|
719
|
+
"description": "The target to define the property change handler on."
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "name",
|
|
723
|
+
"type": {
|
|
724
|
+
"text": "string"
|
|
725
|
+
},
|
|
726
|
+
"description": "The property name."
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
730
|
+
"privacy": "public"
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"exports": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "js",
|
|
736
|
+
"name": "renderOnChange",
|
|
737
|
+
"declaration": {
|
|
738
|
+
"name": "renderOnChange",
|
|
739
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
717
740
|
}
|
|
718
741
|
}
|
|
719
742
|
]
|
|
@@ -1193,29 +1216,6 @@
|
|
|
1193
1216
|
}
|
|
1194
1217
|
]
|
|
1195
1218
|
},
|
|
1196
|
-
{
|
|
1197
|
-
"kind": "javascript-module",
|
|
1198
|
-
"path": "src/directives/index.ts",
|
|
1199
|
-
"declarations": [],
|
|
1200
|
-
"exports": [
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "js",
|
|
1203
|
-
"name": "*",
|
|
1204
|
-
"declaration": {
|
|
1205
|
-
"name": "*",
|
|
1206
|
-
"package": "./sync"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "*",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "*",
|
|
1214
|
-
"package": "./when-else"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.ts",
|
|
@@ -4825,98 +4825,188 @@
|
|
|
4825
4825
|
},
|
|
4826
4826
|
{
|
|
4827
4827
|
"kind": "javascript-module",
|
|
4828
|
-
"path": "src/
|
|
4828
|
+
"path": "src/directives/sync/index.ts",
|
|
4829
|
+
"declarations": [],
|
|
4830
|
+
"exports": [
|
|
4831
|
+
{
|
|
4832
|
+
"kind": "js",
|
|
4833
|
+
"name": "*",
|
|
4834
|
+
"declaration": {
|
|
4835
|
+
"name": "*",
|
|
4836
|
+
"package": "./sync"
|
|
4837
|
+
}
|
|
4838
|
+
}
|
|
4839
|
+
]
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"kind": "javascript-module",
|
|
4843
|
+
"path": "src/directives/sync/sync.ts",
|
|
4829
4844
|
"declarations": [
|
|
4830
4845
|
{
|
|
4831
|
-
"kind": "
|
|
4832
|
-
"name": "
|
|
4833
|
-
"
|
|
4834
|
-
"
|
|
4835
|
-
"text": ""
|
|
4836
|
-
}
|
|
4846
|
+
"kind": "variable",
|
|
4847
|
+
"name": "defaultEventMap",
|
|
4848
|
+
"type": {
|
|
4849
|
+
"text": "Map<string, EventName>"
|
|
4837
4850
|
},
|
|
4838
|
-
"
|
|
4839
|
-
|
|
4840
|
-
"name": "base64Value",
|
|
4841
|
-
"type": {
|
|
4842
|
-
"text": "string"
|
|
4843
|
-
}
|
|
4844
|
-
},
|
|
4845
|
-
{
|
|
4846
|
-
"description": "The value to decode from base64.",
|
|
4847
|
-
"name": "value"
|
|
4848
|
-
}
|
|
4849
|
-
],
|
|
4850
|
-
"description": "Decodes a value from base64.",
|
|
4851
|
+
"default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
|
|
4852
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4851
4853
|
"privacy": "public"
|
|
4852
4854
|
},
|
|
4853
4855
|
{
|
|
4854
4856
|
"kind": "function",
|
|
4855
|
-
"name": "
|
|
4857
|
+
"name": "sync",
|
|
4856
4858
|
"return": {
|
|
4857
4859
|
"type": {
|
|
4858
|
-
"text": ""
|
|
4860
|
+
"text": "CaptureType<TSource>"
|
|
4859
4861
|
}
|
|
4860
4862
|
},
|
|
4861
4863
|
"parameters": [
|
|
4862
4864
|
{
|
|
4863
|
-
"name": "
|
|
4865
|
+
"name": "binding",
|
|
4864
4866
|
"type": {
|
|
4865
|
-
"text": "
|
|
4866
|
-
}
|
|
4867
|
-
|
|
4867
|
+
"text": "Binding<TSource, TReturn>"
|
|
4868
|
+
}
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"name": "conversionType",
|
|
4872
|
+
"default": "'string'",
|
|
4873
|
+
"type": {
|
|
4874
|
+
"text": "ConversionType"
|
|
4875
|
+
}
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"name": "eventName",
|
|
4879
|
+
"default": "'default'",
|
|
4880
|
+
"type": {
|
|
4881
|
+
"text": "EventName"
|
|
4882
|
+
}
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
"name": "keyAttr",
|
|
4886
|
+
"optional": true,
|
|
4887
|
+
"type": {
|
|
4888
|
+
"text": "string"
|
|
4889
|
+
}
|
|
4868
4890
|
}
|
|
4869
4891
|
],
|
|
4870
|
-
"description": "
|
|
4892
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4871
4893
|
"privacy": "public"
|
|
4872
4894
|
}
|
|
4873
4895
|
],
|
|
4874
4896
|
"exports": [
|
|
4875
4897
|
{
|
|
4876
4898
|
"kind": "js",
|
|
4877
|
-
"name": "
|
|
4899
|
+
"name": "defaultEventMap",
|
|
4878
4900
|
"declaration": {
|
|
4879
|
-
"name": "
|
|
4880
|
-
"module": "src/
|
|
4901
|
+
"name": "defaultEventMap",
|
|
4902
|
+
"module": "src/directives/sync/sync.ts"
|
|
4881
4903
|
}
|
|
4882
4904
|
},
|
|
4883
4905
|
{
|
|
4884
4906
|
"kind": "js",
|
|
4885
|
-
"name": "
|
|
4907
|
+
"name": "sync",
|
|
4886
4908
|
"declaration": {
|
|
4887
|
-
"name": "
|
|
4888
|
-
"module": "src/
|
|
4909
|
+
"name": "sync",
|
|
4910
|
+
"module": "src/directives/sync/sync.ts"
|
|
4889
4911
|
}
|
|
4890
4912
|
}
|
|
4891
4913
|
]
|
|
4892
4914
|
},
|
|
4893
4915
|
{
|
|
4894
4916
|
"kind": "javascript-module",
|
|
4895
|
-
"path": "src/
|
|
4917
|
+
"path": "src/directives/when-else/index.ts",
|
|
4918
|
+
"declarations": [],
|
|
4919
|
+
"exports": [
|
|
4920
|
+
{
|
|
4921
|
+
"kind": "js",
|
|
4922
|
+
"name": "*",
|
|
4923
|
+
"declaration": {
|
|
4924
|
+
"name": "*",
|
|
4925
|
+
"package": "./when-else"
|
|
4926
|
+
}
|
|
4927
|
+
}
|
|
4928
|
+
]
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
"kind": "javascript-module",
|
|
4932
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
4896
4933
|
"declarations": [
|
|
4897
4934
|
{
|
|
4898
4935
|
"kind": "function",
|
|
4899
|
-
"name": "
|
|
4936
|
+
"name": "whenElse",
|
|
4900
4937
|
"return": {
|
|
4901
4938
|
"type": {
|
|
4902
|
-
"text": ""
|
|
4939
|
+
"text": "CaptureType<TSource>"
|
|
4903
4940
|
}
|
|
4904
4941
|
},
|
|
4905
4942
|
"parameters": [
|
|
4906
4943
|
{
|
|
4907
|
-
"name": "
|
|
4944
|
+
"name": "binding",
|
|
4908
4945
|
"type": {
|
|
4909
|
-
"text": "
|
|
4946
|
+
"text": "Binding<TSource, TReturn>"
|
|
4910
4947
|
},
|
|
4911
|
-
"description": "The
|
|
4948
|
+
"description": "The condition to test for rendering."
|
|
4949
|
+
},
|
|
4950
|
+
{
|
|
4951
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
4952
|
+
"type": {
|
|
4953
|
+
"text": "WhenTemplate<TSource>"
|
|
4954
|
+
},
|
|
4955
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
4956
|
+
},
|
|
4957
|
+
{
|
|
4958
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
4959
|
+
"type": {
|
|
4960
|
+
"text": "WhenTemplate<TSource>"
|
|
4961
|
+
},
|
|
4962
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4912
4963
|
}
|
|
4913
4964
|
],
|
|
4914
|
-
"description": "
|
|
4965
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
4966
|
+
"privacy": "public"
|
|
4967
|
+
}
|
|
4968
|
+
],
|
|
4969
|
+
"exports": [
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "js",
|
|
4972
|
+
"name": "whenElse",
|
|
4973
|
+
"declaration": {
|
|
4974
|
+
"name": "whenElse",
|
|
4975
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
4976
|
+
}
|
|
4977
|
+
}
|
|
4978
|
+
]
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "javascript-module",
|
|
4982
|
+
"path": "src/encoding/base64/decode.ts",
|
|
4983
|
+
"declarations": [
|
|
4984
|
+
{
|
|
4985
|
+
"kind": "function",
|
|
4986
|
+
"name": "decodeFromBase64",
|
|
4987
|
+
"return": {
|
|
4988
|
+
"type": {
|
|
4989
|
+
"text": ""
|
|
4990
|
+
}
|
|
4991
|
+
},
|
|
4992
|
+
"parameters": [
|
|
4993
|
+
{
|
|
4994
|
+
"name": "base64Value",
|
|
4995
|
+
"type": {
|
|
4996
|
+
"text": "string"
|
|
4997
|
+
}
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"description": "The value to decode from base64.",
|
|
5001
|
+
"name": "value"
|
|
5002
|
+
}
|
|
5003
|
+
],
|
|
5004
|
+
"description": "Decodes a value from base64.",
|
|
4915
5005
|
"privacy": "public"
|
|
4916
5006
|
},
|
|
4917
5007
|
{
|
|
4918
5008
|
"kind": "function",
|
|
4919
|
-
"name": "
|
|
5009
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4920
5010
|
"return": {
|
|
4921
5011
|
"type": {
|
|
4922
5012
|
"text": ""
|
|
@@ -4926,149 +5016,101 @@
|
|
|
4926
5016
|
{
|
|
4927
5017
|
"name": "value",
|
|
4928
5018
|
"type": {
|
|
4929
|
-
"text": "string
|
|
5019
|
+
"text": "string"
|
|
4930
5020
|
},
|
|
4931
|
-
"description": "The value to
|
|
5021
|
+
"description": "The value to decode from base64."
|
|
4932
5022
|
}
|
|
4933
5023
|
],
|
|
4934
|
-
"description": "
|
|
5024
|
+
"description": "Decodes a value from base64 with a prefix.",
|
|
4935
5025
|
"privacy": "public"
|
|
4936
5026
|
}
|
|
4937
5027
|
],
|
|
4938
5028
|
"exports": [
|
|
4939
5029
|
{
|
|
4940
5030
|
"kind": "js",
|
|
4941
|
-
"name": "
|
|
4942
|
-
"declaration": {
|
|
4943
|
-
"name": "encodeToBase64",
|
|
4944
|
-
"module": "src/encoding/base64/encode.ts"
|
|
4945
|
-
}
|
|
4946
|
-
},
|
|
4947
|
-
{
|
|
4948
|
-
"kind": "js",
|
|
4949
|
-
"name": "encodeToBase64WithPrefix",
|
|
4950
|
-
"declaration": {
|
|
4951
|
-
"name": "encodeToBase64WithPrefix",
|
|
4952
|
-
"module": "src/encoding/base64/encode.ts"
|
|
4953
|
-
}
|
|
4954
|
-
}
|
|
4955
|
-
]
|
|
4956
|
-
},
|
|
4957
|
-
{
|
|
4958
|
-
"kind": "javascript-module",
|
|
4959
|
-
"path": "src/encoding/base64/index.ts",
|
|
4960
|
-
"declarations": [],
|
|
4961
|
-
"exports": [
|
|
4962
|
-
{
|
|
4963
|
-
"kind": "js",
|
|
4964
|
-
"name": "*",
|
|
5031
|
+
"name": "decodeFromBase64",
|
|
4965
5032
|
"declaration": {
|
|
4966
|
-
"name": "
|
|
4967
|
-
"
|
|
5033
|
+
"name": "decodeFromBase64",
|
|
5034
|
+
"module": "src/encoding/base64/decode.ts"
|
|
4968
5035
|
}
|
|
4969
5036
|
},
|
|
4970
5037
|
{
|
|
4971
5038
|
"kind": "js",
|
|
4972
|
-
"name": "
|
|
4973
|
-
"declaration": {
|
|
4974
|
-
"name": "*",
|
|
4975
|
-
"package": "./encode"
|
|
4976
|
-
}
|
|
4977
|
-
}
|
|
4978
|
-
]
|
|
4979
|
-
},
|
|
4980
|
-
{
|
|
4981
|
-
"kind": "javascript-module",
|
|
4982
|
-
"path": "src/directives/sync/index.ts",
|
|
4983
|
-
"declarations": [],
|
|
4984
|
-
"exports": [
|
|
4985
|
-
{
|
|
4986
|
-
"kind": "js",
|
|
4987
|
-
"name": "*",
|
|
5039
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4988
5040
|
"declaration": {
|
|
4989
|
-
"name": "
|
|
4990
|
-
"
|
|
5041
|
+
"name": "decodeFromBase64WithPrefix",
|
|
5042
|
+
"module": "src/encoding/base64/decode.ts"
|
|
4991
5043
|
}
|
|
4992
5044
|
}
|
|
4993
5045
|
]
|
|
4994
5046
|
},
|
|
4995
5047
|
{
|
|
4996
5048
|
"kind": "javascript-module",
|
|
4997
|
-
"path": "src/
|
|
5049
|
+
"path": "src/encoding/base64/encode.ts",
|
|
4998
5050
|
"declarations": [
|
|
4999
5051
|
{
|
|
5000
|
-
"kind": "
|
|
5001
|
-
"name": "
|
|
5002
|
-
"
|
|
5003
|
-
"
|
|
5052
|
+
"kind": "function",
|
|
5053
|
+
"name": "encodeToBase64",
|
|
5054
|
+
"return": {
|
|
5055
|
+
"type": {
|
|
5056
|
+
"text": ""
|
|
5057
|
+
}
|
|
5004
5058
|
},
|
|
5005
|
-
"
|
|
5006
|
-
|
|
5059
|
+
"parameters": [
|
|
5060
|
+
{
|
|
5061
|
+
"name": "value",
|
|
5062
|
+
"type": {
|
|
5063
|
+
"text": "string | ArrayBuffer"
|
|
5064
|
+
},
|
|
5065
|
+
"description": "The value to encode to base64."
|
|
5066
|
+
}
|
|
5067
|
+
],
|
|
5068
|
+
"description": "Encodes the given value to base64.",
|
|
5007
5069
|
"privacy": "public"
|
|
5008
5070
|
},
|
|
5009
5071
|
{
|
|
5010
5072
|
"kind": "function",
|
|
5011
|
-
"name": "
|
|
5073
|
+
"name": "encodeToBase64WithPrefix",
|
|
5012
5074
|
"return": {
|
|
5013
5075
|
"type": {
|
|
5014
|
-
"text": "
|
|
5076
|
+
"text": ""
|
|
5015
5077
|
}
|
|
5016
5078
|
},
|
|
5017
5079
|
"parameters": [
|
|
5018
5080
|
{
|
|
5019
|
-
"name": "
|
|
5020
|
-
"type": {
|
|
5021
|
-
"text": "Binding<TSource, TReturn>"
|
|
5022
|
-
}
|
|
5023
|
-
},
|
|
5024
|
-
{
|
|
5025
|
-
"name": "conversionType",
|
|
5026
|
-
"default": "'string'",
|
|
5027
|
-
"type": {
|
|
5028
|
-
"text": "ConversionType"
|
|
5029
|
-
}
|
|
5030
|
-
},
|
|
5031
|
-
{
|
|
5032
|
-
"name": "eventName",
|
|
5033
|
-
"default": "'default'",
|
|
5034
|
-
"type": {
|
|
5035
|
-
"text": "EventName"
|
|
5036
|
-
}
|
|
5037
|
-
},
|
|
5038
|
-
{
|
|
5039
|
-
"name": "keyAttr",
|
|
5040
|
-
"optional": true,
|
|
5081
|
+
"name": "value",
|
|
5041
5082
|
"type": {
|
|
5042
|
-
"text": "string"
|
|
5043
|
-
}
|
|
5083
|
+
"text": "string | ArrayBuffer"
|
|
5084
|
+
},
|
|
5085
|
+
"description": "The value to encode to base64."
|
|
5044
5086
|
}
|
|
5045
5087
|
],
|
|
5046
|
-
"description": "
|
|
5088
|
+
"description": "Encodes the given value with a prefix to base64.",
|
|
5047
5089
|
"privacy": "public"
|
|
5048
5090
|
}
|
|
5049
5091
|
],
|
|
5050
5092
|
"exports": [
|
|
5051
5093
|
{
|
|
5052
5094
|
"kind": "js",
|
|
5053
|
-
"name": "
|
|
5095
|
+
"name": "encodeToBase64",
|
|
5054
5096
|
"declaration": {
|
|
5055
|
-
"name": "
|
|
5056
|
-
"module": "src/
|
|
5097
|
+
"name": "encodeToBase64",
|
|
5098
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5057
5099
|
}
|
|
5058
5100
|
},
|
|
5059
5101
|
{
|
|
5060
5102
|
"kind": "js",
|
|
5061
|
-
"name": "
|
|
5103
|
+
"name": "encodeToBase64WithPrefix",
|
|
5062
5104
|
"declaration": {
|
|
5063
|
-
"name": "
|
|
5064
|
-
"module": "src/
|
|
5105
|
+
"name": "encodeToBase64WithPrefix",
|
|
5106
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5065
5107
|
}
|
|
5066
5108
|
}
|
|
5067
5109
|
]
|
|
5068
5110
|
},
|
|
5069
5111
|
{
|
|
5070
5112
|
"kind": "javascript-module",
|
|
5071
|
-
"path": "src/
|
|
5113
|
+
"path": "src/encoding/base64/index.ts",
|
|
5072
5114
|
"declarations": [],
|
|
5073
5115
|
"exports": [
|
|
5074
5116
|
{
|
|
@@ -5076,57 +5118,15 @@
|
|
|
5076
5118
|
"name": "*",
|
|
5077
5119
|
"declaration": {
|
|
5078
5120
|
"name": "*",
|
|
5079
|
-
"package": "./
|
|
5121
|
+
"package": "./decode"
|
|
5080
5122
|
}
|
|
5081
|
-
}
|
|
5082
|
-
]
|
|
5083
|
-
},
|
|
5084
|
-
{
|
|
5085
|
-
"kind": "javascript-module",
|
|
5086
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
5087
|
-
"declarations": [
|
|
5088
|
-
{
|
|
5089
|
-
"kind": "function",
|
|
5090
|
-
"name": "whenElse",
|
|
5091
|
-
"return": {
|
|
5092
|
-
"type": {
|
|
5093
|
-
"text": "CaptureType<TSource>"
|
|
5094
|
-
}
|
|
5095
|
-
},
|
|
5096
|
-
"parameters": [
|
|
5097
|
-
{
|
|
5098
|
-
"name": "binding",
|
|
5099
|
-
"type": {
|
|
5100
|
-
"text": "Binding<TSource, TReturn>"
|
|
5101
|
-
},
|
|
5102
|
-
"description": "The condition to test for rendering."
|
|
5103
|
-
},
|
|
5104
|
-
{
|
|
5105
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
5106
|
-
"type": {
|
|
5107
|
-
"text": "WhenTemplate<TSource>"
|
|
5108
|
-
},
|
|
5109
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5110
|
-
},
|
|
5111
|
-
{
|
|
5112
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
5113
|
-
"type": {
|
|
5114
|
-
"text": "WhenTemplate<TSource>"
|
|
5115
|
-
},
|
|
5116
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5117
|
-
}
|
|
5118
|
-
],
|
|
5119
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5120
|
-
"privacy": "public"
|
|
5121
|
-
}
|
|
5122
|
-
],
|
|
5123
|
-
"exports": [
|
|
5123
|
+
},
|
|
5124
5124
|
{
|
|
5125
5125
|
"kind": "js",
|
|
5126
|
-
"name": "
|
|
5126
|
+
"name": "*",
|
|
5127
5127
|
"declaration": {
|
|
5128
|
-
"name": "
|
|
5129
|
-
"
|
|
5128
|
+
"name": "*",
|
|
5129
|
+
"package": "./encode"
|
|
5130
5130
|
}
|
|
5131
5131
|
}
|
|
5132
5132
|
]
|
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.467.1
|
|
4
|
+
"version": "14.467.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.467.1
|
|
33
|
-
"@genesislcap/genx": "14.467.1
|
|
34
|
-
"@genesislcap/rollup-builder": "14.467.1
|
|
35
|
-
"@genesislcap/ts-builder": "14.467.1
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.467.1
|
|
37
|
-
"@genesislcap/vite-builder": "14.467.1
|
|
38
|
-
"@genesislcap/webpack-builder": "14.467.1
|
|
32
|
+
"@genesislcap/foundation-testing": "14.467.1",
|
|
33
|
+
"@genesislcap/genx": "14.467.1",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.467.1",
|
|
35
|
+
"@genesislcap/ts-builder": "14.467.1",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.467.1",
|
|
37
|
+
"@genesislcap/vite-builder": "14.467.1",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.467.1",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.467.1
|
|
43
|
-
"@genesislcap/foundation-logger": "14.467.1
|
|
42
|
+
"@genesislcap/expression-builder": "14.467.1",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.467.1",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "2a9820e8efcc82074e74b760b5ec5e216a284d79"
|
|
62
62
|
}
|