@genesislcap/foundation-utils 14.493.1-alpha-8ff3328.0 → 14.495.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 +406 -406
- package/package.json +11 -11
|
@@ -252,198 +252,53 @@
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"kind": "javascript-module",
|
|
255
|
-
"path": "src/
|
|
255
|
+
"path": "src/decorators/index.ts",
|
|
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",
|
|
256
271
|
"declarations": [
|
|
257
272
|
{
|
|
258
|
-
"kind": "
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"members": [
|
|
273
|
+
"kind": "function",
|
|
274
|
+
"name": "renderOnChange",
|
|
275
|
+
"parameters": [
|
|
262
276
|
{
|
|
263
|
-
"
|
|
264
|
-
"name": "isWorking",
|
|
277
|
+
"name": "target",
|
|
265
278
|
"type": {
|
|
266
|
-
"text": "
|
|
279
|
+
"text": "FASTElement & { render(): void }"
|
|
267
280
|
},
|
|
268
|
-
"
|
|
269
|
-
"default": "false"
|
|
281
|
+
"description": "The target to define the property change handler on."
|
|
270
282
|
},
|
|
271
283
|
{
|
|
272
|
-
"
|
|
273
|
-
"name": "records",
|
|
284
|
+
"name": "name",
|
|
274
285
|
"type": {
|
|
275
|
-
"text": "
|
|
276
|
-
},
|
|
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
|
-
}
|
|
286
|
+
"text": "string"
|
|
412
287
|
},
|
|
413
|
-
"
|
|
414
|
-
{
|
|
415
|
-
"name": "listener",
|
|
416
|
-
"type": {
|
|
417
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
]
|
|
288
|
+
"description": "The property name."
|
|
421
289
|
}
|
|
422
|
-
]
|
|
290
|
+
],
|
|
291
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
292
|
+
"privacy": "public"
|
|
423
293
|
}
|
|
424
294
|
],
|
|
425
295
|
"exports": [
|
|
426
296
|
{
|
|
427
297
|
"kind": "js",
|
|
428
|
-
"name": "
|
|
429
|
-
"declaration": {
|
|
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": "*",
|
|
298
|
+
"name": "renderOnChange",
|
|
444
299
|
"declaration": {
|
|
445
|
-
"name": "
|
|
446
|
-
"
|
|
300
|
+
"name": "renderOnChange",
|
|
301
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
447
302
|
}
|
|
448
303
|
}
|
|
449
304
|
]
|
|
@@ -652,76 +507,198 @@
|
|
|
652
507
|
},
|
|
653
508
|
{
|
|
654
509
|
"kind": "javascript-module",
|
|
655
|
-
"path": "src/
|
|
656
|
-
"declarations": [],
|
|
657
|
-
"exports": [
|
|
658
|
-
{
|
|
659
|
-
"kind": "js",
|
|
660
|
-
"name": "*",
|
|
661
|
-
"declaration": {
|
|
662
|
-
"name": "*",
|
|
663
|
-
"package": "./sync"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"kind": "js",
|
|
668
|
-
"name": "*",
|
|
669
|
-
"declaration": {
|
|
670
|
-
"name": "*",
|
|
671
|
-
"package": "./when-else"
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
]
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"kind": "javascript-module",
|
|
678
|
-
"path": "src/decorators/index.ts",
|
|
679
|
-
"declarations": [],
|
|
680
|
-
"exports": [
|
|
681
|
-
{
|
|
682
|
-
"kind": "js",
|
|
683
|
-
"name": "*",
|
|
684
|
-
"declaration": {
|
|
685
|
-
"name": "*",
|
|
686
|
-
"package": "./renderOnChange"
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
]
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"kind": "javascript-module",
|
|
693
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
510
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
694
511
|
"declarations": [
|
|
695
512
|
{
|
|
696
|
-
"kind": "
|
|
697
|
-
"
|
|
698
|
-
"
|
|
513
|
+
"kind": "class",
|
|
514
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
515
|
+
"name": "InMemoryDatabase",
|
|
516
|
+
"members": [
|
|
699
517
|
{
|
|
700
|
-
"
|
|
701
|
-
"
|
|
702
|
-
|
|
518
|
+
"kind": "field",
|
|
519
|
+
"name": "isWorking",
|
|
520
|
+
"type": {
|
|
521
|
+
"text": "boolean"
|
|
703
522
|
},
|
|
704
|
-
"
|
|
523
|
+
"privacy": "public",
|
|
524
|
+
"default": "false"
|
|
705
525
|
},
|
|
706
526
|
{
|
|
707
|
-
"
|
|
527
|
+
"kind": "field",
|
|
528
|
+
"name": "records",
|
|
708
529
|
"type": {
|
|
709
|
-
"text": "string"
|
|
530
|
+
"text": "Record<string, T>"
|
|
710
531
|
},
|
|
711
|
-
"
|
|
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
|
+
]
|
|
712
676
|
}
|
|
713
|
-
]
|
|
714
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
715
|
-
"privacy": "public"
|
|
677
|
+
]
|
|
716
678
|
}
|
|
717
679
|
],
|
|
718
680
|
"exports": [
|
|
719
681
|
{
|
|
720
682
|
"kind": "js",
|
|
721
|
-
"name": "
|
|
683
|
+
"name": "InMemoryDatabase",
|
|
722
684
|
"declaration": {
|
|
723
|
-
"name": "
|
|
724
|
-
"module": "src/
|
|
685
|
+
"name": "InMemoryDatabase",
|
|
686
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "javascript-module",
|
|
693
|
+
"path": "src/data/index.ts",
|
|
694
|
+
"declarations": [],
|
|
695
|
+
"exports": [
|
|
696
|
+
{
|
|
697
|
+
"kind": "js",
|
|
698
|
+
"name": "*",
|
|
699
|
+
"declaration": {
|
|
700
|
+
"name": "*",
|
|
701
|
+
"package": "./inMemoryDatabase"
|
|
725
702
|
}
|
|
726
703
|
}
|
|
727
704
|
]
|
|
@@ -1216,6 +1193,29 @@
|
|
|
1216
1193
|
}
|
|
1217
1194
|
]
|
|
1218
1195
|
},
|
|
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,165 +4825,78 @@
|
|
|
4825
4825
|
},
|
|
4826
4826
|
{
|
|
4827
4827
|
"kind": "javascript-module",
|
|
4828
|
-
"path": "src/
|
|
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",
|
|
4828
|
+
"path": "src/encoding/base64/decode.ts",
|
|
4844
4829
|
"declarations": [
|
|
4845
4830
|
{
|
|
4846
|
-
"kind": "
|
|
4847
|
-
"name": "
|
|
4848
|
-
"
|
|
4849
|
-
"
|
|
4831
|
+
"kind": "function",
|
|
4832
|
+
"name": "decodeFromBase64",
|
|
4833
|
+
"return": {
|
|
4834
|
+
"type": {
|
|
4835
|
+
"text": ""
|
|
4836
|
+
}
|
|
4850
4837
|
},
|
|
4851
|
-
"
|
|
4852
|
-
|
|
4838
|
+
"parameters": [
|
|
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.",
|
|
4853
4851
|
"privacy": "public"
|
|
4854
4852
|
},
|
|
4855
4853
|
{
|
|
4856
4854
|
"kind": "function",
|
|
4857
|
-
"name": "
|
|
4855
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4858
4856
|
"return": {
|
|
4859
4857
|
"type": {
|
|
4860
|
-
"text": "
|
|
4858
|
+
"text": ""
|
|
4861
4859
|
}
|
|
4862
4860
|
},
|
|
4863
4861
|
"parameters": [
|
|
4864
4862
|
{
|
|
4865
|
-
"name": "
|
|
4866
|
-
"type": {
|
|
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,
|
|
4863
|
+
"name": "value",
|
|
4887
4864
|
"type": {
|
|
4888
4865
|
"text": "string"
|
|
4889
|
-
}
|
|
4866
|
+
},
|
|
4867
|
+
"description": "The value to decode from base64."
|
|
4890
4868
|
}
|
|
4891
4869
|
],
|
|
4892
|
-
"description": "
|
|
4870
|
+
"description": "Decodes a value from base64 with a prefix.",
|
|
4893
4871
|
"privacy": "public"
|
|
4894
4872
|
}
|
|
4895
4873
|
],
|
|
4896
4874
|
"exports": [
|
|
4897
4875
|
{
|
|
4898
4876
|
"kind": "js",
|
|
4899
|
-
"name": "
|
|
4877
|
+
"name": "decodeFromBase64",
|
|
4900
4878
|
"declaration": {
|
|
4901
|
-
"name": "
|
|
4902
|
-
"module": "src/
|
|
4879
|
+
"name": "decodeFromBase64",
|
|
4880
|
+
"module": "src/encoding/base64/decode.ts"
|
|
4903
4881
|
}
|
|
4904
4882
|
},
|
|
4905
4883
|
{
|
|
4906
4884
|
"kind": "js",
|
|
4907
|
-
"name": "
|
|
4908
|
-
"declaration": {
|
|
4909
|
-
"name": "sync",
|
|
4910
|
-
"module": "src/directives/sync/sync.ts"
|
|
4911
|
-
}
|
|
4912
|
-
}
|
|
4913
|
-
]
|
|
4914
|
-
},
|
|
4915
|
-
{
|
|
4916
|
-
"kind": "javascript-module",
|
|
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",
|
|
4933
|
-
"declarations": [
|
|
4934
|
-
{
|
|
4935
|
-
"kind": "function",
|
|
4936
|
-
"name": "whenElse",
|
|
4937
|
-
"return": {
|
|
4938
|
-
"type": {
|
|
4939
|
-
"text": "CaptureType<TSource>"
|
|
4940
|
-
}
|
|
4941
|
-
},
|
|
4942
|
-
"parameters": [
|
|
4943
|
-
{
|
|
4944
|
-
"name": "binding",
|
|
4945
|
-
"type": {
|
|
4946
|
-
"text": "Binding<TSource, TReturn>"
|
|
4947
|
-
},
|
|
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."
|
|
4963
|
-
}
|
|
4964
|
-
],
|
|
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",
|
|
4885
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4973
4886
|
"declaration": {
|
|
4974
|
-
"name": "
|
|
4975
|
-
"module": "src/
|
|
4887
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4888
|
+
"module": "src/encoding/base64/decode.ts"
|
|
4976
4889
|
}
|
|
4977
4890
|
}
|
|
4978
4891
|
]
|
|
4979
4892
|
},
|
|
4980
4893
|
{
|
|
4981
4894
|
"kind": "javascript-module",
|
|
4982
|
-
"path": "src/encoding/base64/
|
|
4895
|
+
"path": "src/encoding/base64/encode.ts",
|
|
4983
4896
|
"declarations": [
|
|
4984
4897
|
{
|
|
4985
4898
|
"kind": "function",
|
|
4986
|
-
"name": "
|
|
4899
|
+
"name": "encodeToBase64",
|
|
4987
4900
|
"return": {
|
|
4988
4901
|
"type": {
|
|
4989
4902
|
"text": ""
|
|
@@ -4991,22 +4904,19 @@
|
|
|
4991
4904
|
},
|
|
4992
4905
|
"parameters": [
|
|
4993
4906
|
{
|
|
4994
|
-
"name": "
|
|
4907
|
+
"name": "value",
|
|
4995
4908
|
"type": {
|
|
4996
|
-
"text": "string"
|
|
4997
|
-
}
|
|
4998
|
-
|
|
4999
|
-
{
|
|
5000
|
-
"description": "The value to decode from base64.",
|
|
5001
|
-
"name": "value"
|
|
4909
|
+
"text": "string | ArrayBuffer"
|
|
4910
|
+
},
|
|
4911
|
+
"description": "The value to encode to base64."
|
|
5002
4912
|
}
|
|
5003
4913
|
],
|
|
5004
|
-
"description": "
|
|
4914
|
+
"description": "Encodes the given value to base64.",
|
|
5005
4915
|
"privacy": "public"
|
|
5006
4916
|
},
|
|
5007
4917
|
{
|
|
5008
4918
|
"kind": "function",
|
|
5009
|
-
"name": "
|
|
4919
|
+
"name": "encodeToBase64WithPrefix",
|
|
5010
4920
|
"return": {
|
|
5011
4921
|
"type": {
|
|
5012
4922
|
"text": ""
|
|
@@ -5016,101 +4926,149 @@
|
|
|
5016
4926
|
{
|
|
5017
4927
|
"name": "value",
|
|
5018
4928
|
"type": {
|
|
5019
|
-
"text": "string"
|
|
4929
|
+
"text": "string | ArrayBuffer"
|
|
5020
4930
|
},
|
|
5021
|
-
"description": "The value to
|
|
4931
|
+
"description": "The value to encode to base64."
|
|
5022
4932
|
}
|
|
5023
4933
|
],
|
|
5024
|
-
"description": "
|
|
4934
|
+
"description": "Encodes the given value with a prefix to base64.",
|
|
5025
4935
|
"privacy": "public"
|
|
5026
4936
|
}
|
|
5027
4937
|
],
|
|
5028
4938
|
"exports": [
|
|
5029
4939
|
{
|
|
5030
4940
|
"kind": "js",
|
|
5031
|
-
"name": "
|
|
4941
|
+
"name": "encodeToBase64",
|
|
5032
4942
|
"declaration": {
|
|
5033
|
-
"name": "
|
|
5034
|
-
"module": "src/encoding/base64/
|
|
4943
|
+
"name": "encodeToBase64",
|
|
4944
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5035
4945
|
}
|
|
5036
4946
|
},
|
|
5037
4947
|
{
|
|
5038
4948
|
"kind": "js",
|
|
5039
|
-
"name": "
|
|
4949
|
+
"name": "encodeToBase64WithPrefix",
|
|
5040
4950
|
"declaration": {
|
|
5041
|
-
"name": "
|
|
5042
|
-
"module": "src/encoding/base64/
|
|
4951
|
+
"name": "encodeToBase64WithPrefix",
|
|
4952
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5043
4953
|
}
|
|
5044
4954
|
}
|
|
5045
4955
|
]
|
|
5046
4956
|
},
|
|
5047
4957
|
{
|
|
5048
4958
|
"kind": "javascript-module",
|
|
5049
|
-
"path": "src/encoding/base64/
|
|
4959
|
+
"path": "src/encoding/base64/index.ts",
|
|
4960
|
+
"declarations": [],
|
|
4961
|
+
"exports": [
|
|
4962
|
+
{
|
|
4963
|
+
"kind": "js",
|
|
4964
|
+
"name": "*",
|
|
4965
|
+
"declaration": {
|
|
4966
|
+
"name": "*",
|
|
4967
|
+
"package": "./decode"
|
|
4968
|
+
}
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"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": "*",
|
|
4988
|
+
"declaration": {
|
|
4989
|
+
"name": "*",
|
|
4990
|
+
"package": "./sync"
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
]
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"kind": "javascript-module",
|
|
4997
|
+
"path": "src/directives/sync/sync.ts",
|
|
5050
4998
|
"declarations": [
|
|
5051
4999
|
{
|
|
5052
|
-
"kind": "
|
|
5053
|
-
"name": "
|
|
5054
|
-
"
|
|
5055
|
-
"
|
|
5056
|
-
"text": ""
|
|
5057
|
-
}
|
|
5000
|
+
"kind": "variable",
|
|
5001
|
+
"name": "defaultEventMap",
|
|
5002
|
+
"type": {
|
|
5003
|
+
"text": "Map<string, EventName>"
|
|
5058
5004
|
},
|
|
5059
|
-
"
|
|
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.",
|
|
5005
|
+
"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])",
|
|
5006
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
5069
5007
|
"privacy": "public"
|
|
5070
5008
|
},
|
|
5071
5009
|
{
|
|
5072
5010
|
"kind": "function",
|
|
5073
|
-
"name": "
|
|
5011
|
+
"name": "sync",
|
|
5074
5012
|
"return": {
|
|
5075
5013
|
"type": {
|
|
5076
|
-
"text": ""
|
|
5014
|
+
"text": "CaptureType<TSource>"
|
|
5077
5015
|
}
|
|
5078
5016
|
},
|
|
5079
5017
|
"parameters": [
|
|
5080
5018
|
{
|
|
5081
|
-
"name": "
|
|
5019
|
+
"name": "binding",
|
|
5082
5020
|
"type": {
|
|
5083
|
-
"text": "
|
|
5084
|
-
}
|
|
5085
|
-
|
|
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,
|
|
5041
|
+
"type": {
|
|
5042
|
+
"text": "string"
|
|
5043
|
+
}
|
|
5086
5044
|
}
|
|
5087
5045
|
],
|
|
5088
|
-
"description": "
|
|
5046
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
5089
5047
|
"privacy": "public"
|
|
5090
5048
|
}
|
|
5091
5049
|
],
|
|
5092
5050
|
"exports": [
|
|
5093
5051
|
{
|
|
5094
5052
|
"kind": "js",
|
|
5095
|
-
"name": "
|
|
5053
|
+
"name": "defaultEventMap",
|
|
5096
5054
|
"declaration": {
|
|
5097
|
-
"name": "
|
|
5098
|
-
"module": "src/
|
|
5055
|
+
"name": "defaultEventMap",
|
|
5056
|
+
"module": "src/directives/sync/sync.ts"
|
|
5099
5057
|
}
|
|
5100
5058
|
},
|
|
5101
5059
|
{
|
|
5102
5060
|
"kind": "js",
|
|
5103
|
-
"name": "
|
|
5061
|
+
"name": "sync",
|
|
5104
5062
|
"declaration": {
|
|
5105
|
-
"name": "
|
|
5106
|
-
"module": "src/
|
|
5063
|
+
"name": "sync",
|
|
5064
|
+
"module": "src/directives/sync/sync.ts"
|
|
5107
5065
|
}
|
|
5108
5066
|
}
|
|
5109
5067
|
]
|
|
5110
5068
|
},
|
|
5111
5069
|
{
|
|
5112
5070
|
"kind": "javascript-module",
|
|
5113
|
-
"path": "src/
|
|
5071
|
+
"path": "src/directives/when-else/index.ts",
|
|
5114
5072
|
"declarations": [],
|
|
5115
5073
|
"exports": [
|
|
5116
5074
|
{
|
|
@@ -5118,15 +5076,57 @@
|
|
|
5118
5076
|
"name": "*",
|
|
5119
5077
|
"declaration": {
|
|
5120
5078
|
"name": "*",
|
|
5121
|
-
"package": "./
|
|
5079
|
+
"package": "./when-else"
|
|
5122
5080
|
}
|
|
5123
|
-
}
|
|
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": [
|
|
5124
5124
|
{
|
|
5125
5125
|
"kind": "js",
|
|
5126
|
-
"name": "
|
|
5126
|
+
"name": "whenElse",
|
|
5127
5127
|
"declaration": {
|
|
5128
|
-
"name": "
|
|
5129
|
-
"
|
|
5128
|
+
"name": "whenElse",
|
|
5129
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
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.
|
|
4
|
+
"version": "14.495.0",
|
|
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.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.495.0",
|
|
33
|
+
"@genesislcap/genx": "14.495.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.495.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.495.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.495.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.495.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.495.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.495.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.495.0",
|
|
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": "24d26a75271717d40c0b6168b983bd8536a3db7f"
|
|
62
62
|
}
|