@genesislcap/foundation-utils 15.19.2-FUI-2596.1 → 15.19.2-canary.2
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 +10 -10
|
@@ -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,60 @@
|
|
|
507
652
|
},
|
|
508
653
|
{
|
|
509
654
|
"kind": "javascript-module",
|
|
510
|
-
"path": "src/
|
|
655
|
+
"path": "src/decorators/index.ts",
|
|
656
|
+
"declarations": [],
|
|
657
|
+
"exports": [
|
|
658
|
+
{
|
|
659
|
+
"kind": "js",
|
|
660
|
+
"name": "*",
|
|
661
|
+
"declaration": {
|
|
662
|
+
"name": "*",
|
|
663
|
+
"package": "./renderOnChange"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"kind": "javascript-module",
|
|
670
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
511
671
|
"declarations": [
|
|
512
672
|
{
|
|
513
|
-
"kind": "
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"members": [
|
|
673
|
+
"kind": "function",
|
|
674
|
+
"name": "renderOnChange",
|
|
675
|
+
"parameters": [
|
|
517
676
|
{
|
|
518
|
-
"
|
|
519
|
-
"name": "isWorking",
|
|
677
|
+
"name": "target",
|
|
520
678
|
"type": {
|
|
521
|
-
"text": "
|
|
679
|
+
"text": "FASTElement & { render(): void }"
|
|
522
680
|
},
|
|
523
|
-
"
|
|
524
|
-
"default": "false"
|
|
681
|
+
"description": "The target to define the property change handler on."
|
|
525
682
|
},
|
|
526
683
|
{
|
|
527
|
-
"
|
|
528
|
-
"name": "records",
|
|
684
|
+
"name": "name",
|
|
529
685
|
"type": {
|
|
530
|
-
"text": "
|
|
686
|
+
"text": "string"
|
|
531
687
|
},
|
|
532
|
-
"
|
|
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
|
-
]
|
|
688
|
+
"description": "The property name."
|
|
676
689
|
}
|
|
677
|
-
]
|
|
690
|
+
],
|
|
691
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
692
|
+
"privacy": "public"
|
|
678
693
|
}
|
|
679
694
|
],
|
|
680
695
|
"exports": [
|
|
681
696
|
{
|
|
682
697
|
"kind": "js",
|
|
683
|
-
"name": "
|
|
698
|
+
"name": "renderOnChange",
|
|
684
699
|
"declaration": {
|
|
685
|
-
"name": "
|
|
686
|
-
"module": "src/
|
|
700
|
+
"name": "renderOnChange",
|
|
701
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
687
702
|
}
|
|
688
703
|
}
|
|
689
704
|
]
|
|
690
705
|
},
|
|
691
706
|
{
|
|
692
707
|
"kind": "javascript-module",
|
|
693
|
-
"path": "src/
|
|
708
|
+
"path": "src/directives/index.ts",
|
|
694
709
|
"declarations": [],
|
|
695
710
|
"exports": [
|
|
696
711
|
{
|
|
@@ -698,7 +713,30 @@
|
|
|
698
713
|
"name": "*",
|
|
699
714
|
"declaration": {
|
|
700
715
|
"name": "*",
|
|
701
|
-
"package": "./
|
|
716
|
+
"package": "./sync"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"kind": "js",
|
|
721
|
+
"name": "*",
|
|
722
|
+
"declaration": {
|
|
723
|
+
"name": "*",
|
|
724
|
+
"package": "./when-else"
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "javascript-module",
|
|
731
|
+
"path": "src/encoding/index.ts",
|
|
732
|
+
"declarations": [],
|
|
733
|
+
"exports": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "js",
|
|
736
|
+
"name": "*",
|
|
737
|
+
"declaration": {
|
|
738
|
+
"name": "*",
|
|
739
|
+
"package": "./base64"
|
|
702
740
|
}
|
|
703
741
|
}
|
|
704
742
|
]
|
|
@@ -1202,44 +1240,6 @@
|
|
|
1202
1240
|
}
|
|
1203
1241
|
]
|
|
1204
1242
|
},
|
|
1205
|
-
{
|
|
1206
|
-
"kind": "javascript-module",
|
|
1207
|
-
"path": "src/encoding/index.ts",
|
|
1208
|
-
"declarations": [],
|
|
1209
|
-
"exports": [
|
|
1210
|
-
{
|
|
1211
|
-
"kind": "js",
|
|
1212
|
-
"name": "*",
|
|
1213
|
-
"declaration": {
|
|
1214
|
-
"name": "*",
|
|
1215
|
-
"package": "./base64"
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
]
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"kind": "javascript-module",
|
|
1222
|
-
"path": "src/directives/index.ts",
|
|
1223
|
-
"declarations": [],
|
|
1224
|
-
"exports": [
|
|
1225
|
-
{
|
|
1226
|
-
"kind": "js",
|
|
1227
|
-
"name": "*",
|
|
1228
|
-
"declaration": {
|
|
1229
|
-
"name": "*",
|
|
1230
|
-
"package": "./sync"
|
|
1231
|
-
}
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
"kind": "js",
|
|
1235
|
-
"name": "*",
|
|
1236
|
-
"declaration": {
|
|
1237
|
-
"name": "*",
|
|
1238
|
-
"package": "./when-else"
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
]
|
|
1242
|
-
},
|
|
1243
1243
|
{
|
|
1244
1244
|
"kind": "javascript-module",
|
|
1245
1245
|
"path": "src/error/errorMap.ts",
|
|
@@ -4904,98 +4904,188 @@
|
|
|
4904
4904
|
},
|
|
4905
4905
|
{
|
|
4906
4906
|
"kind": "javascript-module",
|
|
4907
|
-
"path": "src/
|
|
4907
|
+
"path": "src/directives/sync/index.ts",
|
|
4908
|
+
"declarations": [],
|
|
4909
|
+
"exports": [
|
|
4910
|
+
{
|
|
4911
|
+
"kind": "js",
|
|
4912
|
+
"name": "*",
|
|
4913
|
+
"declaration": {
|
|
4914
|
+
"name": "*",
|
|
4915
|
+
"package": "./sync"
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
]
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
"kind": "javascript-module",
|
|
4922
|
+
"path": "src/directives/sync/sync.ts",
|
|
4908
4923
|
"declarations": [
|
|
4909
4924
|
{
|
|
4910
|
-
"kind": "
|
|
4911
|
-
"name": "
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4914
|
-
"text": ""
|
|
4915
|
-
}
|
|
4925
|
+
"kind": "variable",
|
|
4926
|
+
"name": "defaultEventMap",
|
|
4927
|
+
"type": {
|
|
4928
|
+
"text": "Map<string, EventName>"
|
|
4916
4929
|
},
|
|
4917
|
-
"
|
|
4918
|
-
|
|
4919
|
-
"name": "base64Value",
|
|
4920
|
-
"type": {
|
|
4921
|
-
"text": "string"
|
|
4922
|
-
}
|
|
4923
|
-
},
|
|
4924
|
-
{
|
|
4925
|
-
"description": "The value to decode from base64.",
|
|
4926
|
-
"name": "value"
|
|
4927
|
-
}
|
|
4928
|
-
],
|
|
4929
|
-
"description": "Decodes a value from base64.",
|
|
4930
|
+
"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])",
|
|
4931
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4930
4932
|
"privacy": "public"
|
|
4931
4933
|
},
|
|
4932
4934
|
{
|
|
4933
4935
|
"kind": "function",
|
|
4934
|
-
"name": "
|
|
4936
|
+
"name": "sync",
|
|
4935
4937
|
"return": {
|
|
4936
4938
|
"type": {
|
|
4937
|
-
"text": ""
|
|
4939
|
+
"text": "CaptureType<TSource>"
|
|
4938
4940
|
}
|
|
4939
4941
|
},
|
|
4940
4942
|
"parameters": [
|
|
4941
4943
|
{
|
|
4942
|
-
"name": "
|
|
4944
|
+
"name": "binding",
|
|
4945
|
+
"type": {
|
|
4946
|
+
"text": "Binding<TSource, TReturn>"
|
|
4947
|
+
}
|
|
4948
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"name": "conversionType",
|
|
4951
|
+
"default": "'string'",
|
|
4952
|
+
"type": {
|
|
4953
|
+
"text": "ConversionType"
|
|
4954
|
+
}
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"name": "eventName",
|
|
4958
|
+
"default": "'default'",
|
|
4959
|
+
"type": {
|
|
4960
|
+
"text": "EventName"
|
|
4961
|
+
}
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"name": "keyAttr",
|
|
4965
|
+
"optional": true,
|
|
4943
4966
|
"type": {
|
|
4944
4967
|
"text": "string"
|
|
4945
|
-
}
|
|
4946
|
-
"description": "The value to decode from base64."
|
|
4968
|
+
}
|
|
4947
4969
|
}
|
|
4948
4970
|
],
|
|
4949
|
-
"description": "
|
|
4971
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4950
4972
|
"privacy": "public"
|
|
4951
4973
|
}
|
|
4952
4974
|
],
|
|
4953
4975
|
"exports": [
|
|
4954
4976
|
{
|
|
4955
4977
|
"kind": "js",
|
|
4956
|
-
"name": "
|
|
4978
|
+
"name": "defaultEventMap",
|
|
4957
4979
|
"declaration": {
|
|
4958
|
-
"name": "
|
|
4959
|
-
"module": "src/
|
|
4980
|
+
"name": "defaultEventMap",
|
|
4981
|
+
"module": "src/directives/sync/sync.ts"
|
|
4960
4982
|
}
|
|
4961
4983
|
},
|
|
4962
4984
|
{
|
|
4963
4985
|
"kind": "js",
|
|
4964
|
-
"name": "
|
|
4986
|
+
"name": "sync",
|
|
4965
4987
|
"declaration": {
|
|
4966
|
-
"name": "
|
|
4967
|
-
"module": "src/
|
|
4988
|
+
"name": "sync",
|
|
4989
|
+
"module": "src/directives/sync/sync.ts"
|
|
4968
4990
|
}
|
|
4969
4991
|
}
|
|
4970
4992
|
]
|
|
4971
4993
|
},
|
|
4972
4994
|
{
|
|
4973
4995
|
"kind": "javascript-module",
|
|
4974
|
-
"path": "src/
|
|
4996
|
+
"path": "src/directives/when-else/index.ts",
|
|
4997
|
+
"declarations": [],
|
|
4998
|
+
"exports": [
|
|
4999
|
+
{
|
|
5000
|
+
"kind": "js",
|
|
5001
|
+
"name": "*",
|
|
5002
|
+
"declaration": {
|
|
5003
|
+
"name": "*",
|
|
5004
|
+
"package": "./when-else"
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
]
|
|
5008
|
+
},
|
|
5009
|
+
{
|
|
5010
|
+
"kind": "javascript-module",
|
|
5011
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
4975
5012
|
"declarations": [
|
|
4976
5013
|
{
|
|
4977
5014
|
"kind": "function",
|
|
4978
|
-
"name": "
|
|
5015
|
+
"name": "whenElse",
|
|
4979
5016
|
"return": {
|
|
4980
5017
|
"type": {
|
|
4981
|
-
"text": ""
|
|
5018
|
+
"text": "CaptureType<TSource>"
|
|
4982
5019
|
}
|
|
4983
5020
|
},
|
|
4984
5021
|
"parameters": [
|
|
4985
5022
|
{
|
|
4986
|
-
"name": "
|
|
5023
|
+
"name": "binding",
|
|
4987
5024
|
"type": {
|
|
4988
|
-
"text": "
|
|
5025
|
+
"text": "Binding<TSource, TReturn>"
|
|
4989
5026
|
},
|
|
4990
|
-
"description": "The
|
|
5027
|
+
"description": "The condition to test for rendering."
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
5031
|
+
"type": {
|
|
5032
|
+
"text": "WhenTemplate<TSource>"
|
|
5033
|
+
},
|
|
5034
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
5038
|
+
"type": {
|
|
5039
|
+
"text": "WhenTemplate<TSource>"
|
|
5040
|
+
},
|
|
5041
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4991
5042
|
}
|
|
4992
5043
|
],
|
|
4993
|
-
"description": "
|
|
5044
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5045
|
+
"privacy": "public"
|
|
5046
|
+
}
|
|
5047
|
+
],
|
|
5048
|
+
"exports": [
|
|
5049
|
+
{
|
|
5050
|
+
"kind": "js",
|
|
5051
|
+
"name": "whenElse",
|
|
5052
|
+
"declaration": {
|
|
5053
|
+
"name": "whenElse",
|
|
5054
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
5057
|
+
]
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
"kind": "javascript-module",
|
|
5061
|
+
"path": "src/encoding/base64/decode.ts",
|
|
5062
|
+
"declarations": [
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "function",
|
|
5065
|
+
"name": "decodeFromBase64",
|
|
5066
|
+
"return": {
|
|
5067
|
+
"type": {
|
|
5068
|
+
"text": ""
|
|
5069
|
+
}
|
|
5070
|
+
},
|
|
5071
|
+
"parameters": [
|
|
5072
|
+
{
|
|
5073
|
+
"name": "base64Value",
|
|
5074
|
+
"type": {
|
|
5075
|
+
"text": "string"
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
"description": "The value to decode from base64.",
|
|
5080
|
+
"name": "value"
|
|
5081
|
+
}
|
|
5082
|
+
],
|
|
5083
|
+
"description": "Decodes a value from base64.",
|
|
4994
5084
|
"privacy": "public"
|
|
4995
5085
|
},
|
|
4996
5086
|
{
|
|
4997
5087
|
"kind": "function",
|
|
4998
|
-
"name": "
|
|
5088
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4999
5089
|
"return": {
|
|
5000
5090
|
"type": {
|
|
5001
5091
|
"text": ""
|
|
@@ -5005,149 +5095,101 @@
|
|
|
5005
5095
|
{
|
|
5006
5096
|
"name": "value",
|
|
5007
5097
|
"type": {
|
|
5008
|
-
"text": "string
|
|
5098
|
+
"text": "string"
|
|
5009
5099
|
},
|
|
5010
|
-
"description": "The value to
|
|
5100
|
+
"description": "The value to decode from base64."
|
|
5011
5101
|
}
|
|
5012
5102
|
],
|
|
5013
|
-
"description": "
|
|
5103
|
+
"description": "Decodes a value from base64 with a prefix.",
|
|
5014
5104
|
"privacy": "public"
|
|
5015
5105
|
}
|
|
5016
5106
|
],
|
|
5017
5107
|
"exports": [
|
|
5018
5108
|
{
|
|
5019
5109
|
"kind": "js",
|
|
5020
|
-
"name": "
|
|
5021
|
-
"declaration": {
|
|
5022
|
-
"name": "encodeToBase64",
|
|
5023
|
-
"module": "src/encoding/base64/encode.ts"
|
|
5024
|
-
}
|
|
5025
|
-
},
|
|
5026
|
-
{
|
|
5027
|
-
"kind": "js",
|
|
5028
|
-
"name": "encodeToBase64WithPrefix",
|
|
5029
|
-
"declaration": {
|
|
5030
|
-
"name": "encodeToBase64WithPrefix",
|
|
5031
|
-
"module": "src/encoding/base64/encode.ts"
|
|
5032
|
-
}
|
|
5033
|
-
}
|
|
5034
|
-
]
|
|
5035
|
-
},
|
|
5036
|
-
{
|
|
5037
|
-
"kind": "javascript-module",
|
|
5038
|
-
"path": "src/encoding/base64/index.ts",
|
|
5039
|
-
"declarations": [],
|
|
5040
|
-
"exports": [
|
|
5041
|
-
{
|
|
5042
|
-
"kind": "js",
|
|
5043
|
-
"name": "*",
|
|
5110
|
+
"name": "decodeFromBase64",
|
|
5044
5111
|
"declaration": {
|
|
5045
|
-
"name": "
|
|
5046
|
-
"
|
|
5112
|
+
"name": "decodeFromBase64",
|
|
5113
|
+
"module": "src/encoding/base64/decode.ts"
|
|
5047
5114
|
}
|
|
5048
5115
|
},
|
|
5049
5116
|
{
|
|
5050
5117
|
"kind": "js",
|
|
5051
|
-
"name": "
|
|
5052
|
-
"declaration": {
|
|
5053
|
-
"name": "*",
|
|
5054
|
-
"package": "./encode"
|
|
5055
|
-
}
|
|
5056
|
-
}
|
|
5057
|
-
]
|
|
5058
|
-
},
|
|
5059
|
-
{
|
|
5060
|
-
"kind": "javascript-module",
|
|
5061
|
-
"path": "src/directives/sync/index.ts",
|
|
5062
|
-
"declarations": [],
|
|
5063
|
-
"exports": [
|
|
5064
|
-
{
|
|
5065
|
-
"kind": "js",
|
|
5066
|
-
"name": "*",
|
|
5118
|
+
"name": "decodeFromBase64WithPrefix",
|
|
5067
5119
|
"declaration": {
|
|
5068
|
-
"name": "
|
|
5069
|
-
"
|
|
5120
|
+
"name": "decodeFromBase64WithPrefix",
|
|
5121
|
+
"module": "src/encoding/base64/decode.ts"
|
|
5070
5122
|
}
|
|
5071
5123
|
}
|
|
5072
5124
|
]
|
|
5073
5125
|
},
|
|
5074
5126
|
{
|
|
5075
5127
|
"kind": "javascript-module",
|
|
5076
|
-
"path": "src/
|
|
5128
|
+
"path": "src/encoding/base64/encode.ts",
|
|
5077
5129
|
"declarations": [
|
|
5078
5130
|
{
|
|
5079
|
-
"kind": "
|
|
5080
|
-
"name": "
|
|
5081
|
-
"
|
|
5082
|
-
"
|
|
5131
|
+
"kind": "function",
|
|
5132
|
+
"name": "encodeToBase64",
|
|
5133
|
+
"return": {
|
|
5134
|
+
"type": {
|
|
5135
|
+
"text": ""
|
|
5136
|
+
}
|
|
5083
5137
|
},
|
|
5084
|
-
"
|
|
5085
|
-
|
|
5138
|
+
"parameters": [
|
|
5139
|
+
{
|
|
5140
|
+
"name": "value",
|
|
5141
|
+
"type": {
|
|
5142
|
+
"text": "string | ArrayBuffer"
|
|
5143
|
+
},
|
|
5144
|
+
"description": "The value to encode to base64."
|
|
5145
|
+
}
|
|
5146
|
+
],
|
|
5147
|
+
"description": "Encodes the given value to base64.",
|
|
5086
5148
|
"privacy": "public"
|
|
5087
5149
|
},
|
|
5088
5150
|
{
|
|
5089
5151
|
"kind": "function",
|
|
5090
|
-
"name": "
|
|
5152
|
+
"name": "encodeToBase64WithPrefix",
|
|
5091
5153
|
"return": {
|
|
5092
5154
|
"type": {
|
|
5093
|
-
"text": "
|
|
5155
|
+
"text": ""
|
|
5094
5156
|
}
|
|
5095
5157
|
},
|
|
5096
5158
|
"parameters": [
|
|
5097
5159
|
{
|
|
5098
|
-
"name": "
|
|
5099
|
-
"type": {
|
|
5100
|
-
"text": "Binding<TSource, TReturn>"
|
|
5101
|
-
}
|
|
5102
|
-
},
|
|
5103
|
-
{
|
|
5104
|
-
"name": "conversionType",
|
|
5105
|
-
"default": "'string'",
|
|
5106
|
-
"type": {
|
|
5107
|
-
"text": "ConversionType"
|
|
5108
|
-
}
|
|
5109
|
-
},
|
|
5110
|
-
{
|
|
5111
|
-
"name": "eventName",
|
|
5112
|
-
"default": "'default'",
|
|
5113
|
-
"type": {
|
|
5114
|
-
"text": "EventName"
|
|
5115
|
-
}
|
|
5116
|
-
},
|
|
5117
|
-
{
|
|
5118
|
-
"name": "keyAttr",
|
|
5119
|
-
"optional": true,
|
|
5160
|
+
"name": "value",
|
|
5120
5161
|
"type": {
|
|
5121
|
-
"text": "string"
|
|
5122
|
-
}
|
|
5162
|
+
"text": "string | ArrayBuffer"
|
|
5163
|
+
},
|
|
5164
|
+
"description": "The value to encode to base64."
|
|
5123
5165
|
}
|
|
5124
5166
|
],
|
|
5125
|
-
"description": "
|
|
5167
|
+
"description": "Encodes the given value with a prefix to base64.",
|
|
5126
5168
|
"privacy": "public"
|
|
5127
5169
|
}
|
|
5128
5170
|
],
|
|
5129
5171
|
"exports": [
|
|
5130
5172
|
{
|
|
5131
5173
|
"kind": "js",
|
|
5132
|
-
"name": "
|
|
5174
|
+
"name": "encodeToBase64",
|
|
5133
5175
|
"declaration": {
|
|
5134
|
-
"name": "
|
|
5135
|
-
"module": "src/
|
|
5176
|
+
"name": "encodeToBase64",
|
|
5177
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5136
5178
|
}
|
|
5137
5179
|
},
|
|
5138
5180
|
{
|
|
5139
5181
|
"kind": "js",
|
|
5140
|
-
"name": "
|
|
5182
|
+
"name": "encodeToBase64WithPrefix",
|
|
5141
5183
|
"declaration": {
|
|
5142
|
-
"name": "
|
|
5143
|
-
"module": "src/
|
|
5184
|
+
"name": "encodeToBase64WithPrefix",
|
|
5185
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5144
5186
|
}
|
|
5145
5187
|
}
|
|
5146
5188
|
]
|
|
5147
5189
|
},
|
|
5148
5190
|
{
|
|
5149
5191
|
"kind": "javascript-module",
|
|
5150
|
-
"path": "src/
|
|
5192
|
+
"path": "src/encoding/base64/index.ts",
|
|
5151
5193
|
"declarations": [],
|
|
5152
5194
|
"exports": [
|
|
5153
5195
|
{
|
|
@@ -5155,57 +5197,15 @@
|
|
|
5155
5197
|
"name": "*",
|
|
5156
5198
|
"declaration": {
|
|
5157
5199
|
"name": "*",
|
|
5158
|
-
"package": "./
|
|
5200
|
+
"package": "./decode"
|
|
5159
5201
|
}
|
|
5160
|
-
}
|
|
5161
|
-
]
|
|
5162
|
-
},
|
|
5163
|
-
{
|
|
5164
|
-
"kind": "javascript-module",
|
|
5165
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
5166
|
-
"declarations": [
|
|
5167
|
-
{
|
|
5168
|
-
"kind": "function",
|
|
5169
|
-
"name": "whenElse",
|
|
5170
|
-
"return": {
|
|
5171
|
-
"type": {
|
|
5172
|
-
"text": "CaptureType<TSource>"
|
|
5173
|
-
}
|
|
5174
|
-
},
|
|
5175
|
-
"parameters": [
|
|
5176
|
-
{
|
|
5177
|
-
"name": "binding",
|
|
5178
|
-
"type": {
|
|
5179
|
-
"text": "Binding<TSource, TReturn>"
|
|
5180
|
-
},
|
|
5181
|
-
"description": "The condition to test for rendering."
|
|
5182
|
-
},
|
|
5183
|
-
{
|
|
5184
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
5185
|
-
"type": {
|
|
5186
|
-
"text": "WhenTemplate<TSource>"
|
|
5187
|
-
},
|
|
5188
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5189
|
-
},
|
|
5190
|
-
{
|
|
5191
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
5192
|
-
"type": {
|
|
5193
|
-
"text": "WhenTemplate<TSource>"
|
|
5194
|
-
},
|
|
5195
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5196
|
-
}
|
|
5197
|
-
],
|
|
5198
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5199
|
-
"privacy": "public"
|
|
5200
|
-
}
|
|
5201
|
-
],
|
|
5202
|
-
"exports": [
|
|
5202
|
+
},
|
|
5203
5203
|
{
|
|
5204
5204
|
"kind": "js",
|
|
5205
|
-
"name": "
|
|
5205
|
+
"name": "*",
|
|
5206
5206
|
"declaration": {
|
|
5207
|
-
"name": "
|
|
5208
|
-
"
|
|
5207
|
+
"name": "*",
|
|
5208
|
+
"package": "./encode"
|
|
5209
5209
|
}
|
|
5210
5210
|
}
|
|
5211
5211
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "15.19.2-
|
|
4
|
+
"version": "15.19.2-canary.2",
|
|
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": "15.19.2-
|
|
33
|
-
"@genesislcap/genx": "15.19.2-
|
|
34
|
-
"@genesislcap/rollup-builder": "15.19.2-
|
|
35
|
-
"@genesislcap/ts-builder": "15.19.2-
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "15.19.2-
|
|
37
|
-
"@genesislcap/vite-builder": "15.19.2-
|
|
38
|
-
"@genesislcap/webpack-builder": "15.19.2-
|
|
32
|
+
"@genesislcap/foundation-testing": "15.19.2-canary.2",
|
|
33
|
+
"@genesislcap/genx": "15.19.2-canary.2",
|
|
34
|
+
"@genesislcap/rollup-builder": "15.19.2-canary.2",
|
|
35
|
+
"@genesislcap/ts-builder": "15.19.2-canary.2",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "15.19.2-canary.2",
|
|
37
|
+
"@genesislcap/vite-builder": "15.19.2-canary.2",
|
|
38
|
+
"@genesislcap/webpack-builder": "15.19.2-canary.2",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "15.19.2-
|
|
43
|
-
"@genesislcap/foundation-logger": "15.19.2-
|
|
42
|
+
"@genesislcap/expression-builder": "15.19.2-canary.2",
|
|
43
|
+
"@genesislcap/foundation-logger": "15.19.2-canary.2",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|