@genesislcap/foundation-utils 14.244.1 → 14.244.3
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 +222 -222
- package/package.json +10 -10
|
@@ -169,59 +169,6 @@
|
|
|
169
169
|
}
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
-
{
|
|
173
|
-
"kind": "javascript-module",
|
|
174
|
-
"path": "src/decorators/index.ts",
|
|
175
|
-
"declarations": [],
|
|
176
|
-
"exports": [
|
|
177
|
-
{
|
|
178
|
-
"kind": "js",
|
|
179
|
-
"name": "*",
|
|
180
|
-
"declaration": {
|
|
181
|
-
"name": "*",
|
|
182
|
-
"package": "./renderOnChange"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"kind": "javascript-module",
|
|
189
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
190
|
-
"declarations": [
|
|
191
|
-
{
|
|
192
|
-
"kind": "function",
|
|
193
|
-
"name": "renderOnChange",
|
|
194
|
-
"parameters": [
|
|
195
|
-
{
|
|
196
|
-
"name": "target",
|
|
197
|
-
"type": {
|
|
198
|
-
"text": "FASTElement & { render(): void }"
|
|
199
|
-
},
|
|
200
|
-
"description": "The target to define the property change handler on."
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "name",
|
|
204
|
-
"type": {
|
|
205
|
-
"text": "string"
|
|
206
|
-
},
|
|
207
|
-
"description": "The property name."
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
211
|
-
"privacy": "public"
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"exports": [
|
|
215
|
-
{
|
|
216
|
-
"kind": "js",
|
|
217
|
-
"name": "renderOnChange",
|
|
218
|
-
"declaration": {
|
|
219
|
-
"name": "renderOnChange",
|
|
220
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
},
|
|
225
172
|
{
|
|
226
173
|
"kind": "javascript-module",
|
|
227
174
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -470,6 +417,74 @@
|
|
|
470
417
|
}
|
|
471
418
|
]
|
|
472
419
|
},
|
|
420
|
+
{
|
|
421
|
+
"kind": "javascript-module",
|
|
422
|
+
"path": "src/decorators/index.ts",
|
|
423
|
+
"declarations": [],
|
|
424
|
+
"exports": [
|
|
425
|
+
{
|
|
426
|
+
"kind": "js",
|
|
427
|
+
"name": "*",
|
|
428
|
+
"declaration": {
|
|
429
|
+
"name": "*",
|
|
430
|
+
"package": "./renderOnChange"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"kind": "javascript-module",
|
|
437
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
438
|
+
"declarations": [
|
|
439
|
+
{
|
|
440
|
+
"kind": "function",
|
|
441
|
+
"name": "renderOnChange",
|
|
442
|
+
"parameters": [
|
|
443
|
+
{
|
|
444
|
+
"name": "target",
|
|
445
|
+
"type": {
|
|
446
|
+
"text": "FASTElement & { render(): void }"
|
|
447
|
+
},
|
|
448
|
+
"description": "The target to define the property change handler on."
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "name",
|
|
452
|
+
"type": {
|
|
453
|
+
"text": "string"
|
|
454
|
+
},
|
|
455
|
+
"description": "The property name."
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
459
|
+
"privacy": "public"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"exports": [
|
|
463
|
+
{
|
|
464
|
+
"kind": "js",
|
|
465
|
+
"name": "renderOnChange",
|
|
466
|
+
"declaration": {
|
|
467
|
+
"name": "renderOnChange",
|
|
468
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"kind": "javascript-module",
|
|
475
|
+
"path": "src/encoding/index.ts",
|
|
476
|
+
"declarations": [],
|
|
477
|
+
"exports": [
|
|
478
|
+
{
|
|
479
|
+
"kind": "js",
|
|
480
|
+
"name": "*",
|
|
481
|
+
"declaration": {
|
|
482
|
+
"name": "*",
|
|
483
|
+
"package": "./base64"
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
]
|
|
487
|
+
},
|
|
473
488
|
{
|
|
474
489
|
"kind": "javascript-module",
|
|
475
490
|
"path": "src/directives/index.ts",
|
|
@@ -934,21 +949,6 @@
|
|
|
934
949
|
}
|
|
935
950
|
]
|
|
936
951
|
},
|
|
937
|
-
{
|
|
938
|
-
"kind": "javascript-module",
|
|
939
|
-
"path": "src/encoding/index.ts",
|
|
940
|
-
"declarations": [],
|
|
941
|
-
"exports": [
|
|
942
|
-
{
|
|
943
|
-
"kind": "js",
|
|
944
|
-
"name": "*",
|
|
945
|
-
"declaration": {
|
|
946
|
-
"name": "*",
|
|
947
|
-
"package": "./base64"
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
]
|
|
951
|
-
},
|
|
952
952
|
{
|
|
953
953
|
"kind": "javascript-module",
|
|
954
954
|
"path": "src/error/errorMap.ts",
|
|
@@ -2436,160 +2436,6 @@
|
|
|
2436
2436
|
}
|
|
2437
2437
|
]
|
|
2438
2438
|
},
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "javascript-module",
|
|
2441
|
-
"path": "src/directives/sync/index.ts",
|
|
2442
|
-
"declarations": [],
|
|
2443
|
-
"exports": [
|
|
2444
|
-
{
|
|
2445
|
-
"kind": "js",
|
|
2446
|
-
"name": "*",
|
|
2447
|
-
"declaration": {
|
|
2448
|
-
"name": "*",
|
|
2449
|
-
"package": "./sync"
|
|
2450
|
-
}
|
|
2451
|
-
}
|
|
2452
|
-
]
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "javascript-module",
|
|
2456
|
-
"path": "src/directives/sync/sync.ts",
|
|
2457
|
-
"declarations": [
|
|
2458
|
-
{
|
|
2459
|
-
"kind": "variable",
|
|
2460
|
-
"name": "defaultEventMap",
|
|
2461
|
-
"type": {
|
|
2462
|
-
"text": "Map<string, EventName>"
|
|
2463
|
-
},
|
|
2464
|
-
"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])",
|
|
2465
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2466
|
-
"privacy": "public"
|
|
2467
|
-
},
|
|
2468
|
-
{
|
|
2469
|
-
"kind": "function",
|
|
2470
|
-
"name": "sync",
|
|
2471
|
-
"return": {
|
|
2472
|
-
"type": {
|
|
2473
|
-
"text": "CaptureType<TSource>"
|
|
2474
|
-
}
|
|
2475
|
-
},
|
|
2476
|
-
"parameters": [
|
|
2477
|
-
{
|
|
2478
|
-
"name": "binding",
|
|
2479
|
-
"type": {
|
|
2480
|
-
"text": "Binding<TSource, TReturn>"
|
|
2481
|
-
}
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "conversionType",
|
|
2485
|
-
"default": "'string'",
|
|
2486
|
-
"type": {
|
|
2487
|
-
"text": "ConversionType"
|
|
2488
|
-
}
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"name": "eventName",
|
|
2492
|
-
"default": "'default'",
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "EventName"
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2497
|
-
{
|
|
2498
|
-
"name": "keyAttr",
|
|
2499
|
-
"optional": true,
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "string"
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
],
|
|
2505
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2506
|
-
"privacy": "public"
|
|
2507
|
-
}
|
|
2508
|
-
],
|
|
2509
|
-
"exports": [
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "js",
|
|
2512
|
-
"name": "defaultEventMap",
|
|
2513
|
-
"declaration": {
|
|
2514
|
-
"name": "defaultEventMap",
|
|
2515
|
-
"module": "src/directives/sync/sync.ts"
|
|
2516
|
-
}
|
|
2517
|
-
},
|
|
2518
|
-
{
|
|
2519
|
-
"kind": "js",
|
|
2520
|
-
"name": "sync",
|
|
2521
|
-
"declaration": {
|
|
2522
|
-
"name": "sync",
|
|
2523
|
-
"module": "src/directives/sync/sync.ts"
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
]
|
|
2527
|
-
},
|
|
2528
|
-
{
|
|
2529
|
-
"kind": "javascript-module",
|
|
2530
|
-
"path": "src/directives/when-else/index.ts",
|
|
2531
|
-
"declarations": [],
|
|
2532
|
-
"exports": [
|
|
2533
|
-
{
|
|
2534
|
-
"kind": "js",
|
|
2535
|
-
"name": "*",
|
|
2536
|
-
"declaration": {
|
|
2537
|
-
"name": "*",
|
|
2538
|
-
"package": "./when-else"
|
|
2539
|
-
}
|
|
2540
|
-
}
|
|
2541
|
-
]
|
|
2542
|
-
},
|
|
2543
|
-
{
|
|
2544
|
-
"kind": "javascript-module",
|
|
2545
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
2546
|
-
"declarations": [
|
|
2547
|
-
{
|
|
2548
|
-
"kind": "function",
|
|
2549
|
-
"name": "whenElse",
|
|
2550
|
-
"return": {
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "CaptureType<TSource>"
|
|
2553
|
-
}
|
|
2554
|
-
},
|
|
2555
|
-
"parameters": [
|
|
2556
|
-
{
|
|
2557
|
-
"name": "binding",
|
|
2558
|
-
"type": {
|
|
2559
|
-
"text": "Binding<TSource, TReturn>"
|
|
2560
|
-
},
|
|
2561
|
-
"description": "The condition to test for rendering."
|
|
2562
|
-
},
|
|
2563
|
-
{
|
|
2564
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
2565
|
-
"type": {
|
|
2566
|
-
"text": "WhenTemplate<TSource>"
|
|
2567
|
-
},
|
|
2568
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
2572
|
-
"type": {
|
|
2573
|
-
"text": "WhenTemplate<TSource>"
|
|
2574
|
-
},
|
|
2575
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2576
|
-
}
|
|
2577
|
-
],
|
|
2578
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2579
|
-
"privacy": "public"
|
|
2580
|
-
}
|
|
2581
|
-
],
|
|
2582
|
-
"exports": [
|
|
2583
|
-
{
|
|
2584
|
-
"kind": "js",
|
|
2585
|
-
"name": "whenElse",
|
|
2586
|
-
"declaration": {
|
|
2587
|
-
"name": "whenElse",
|
|
2588
|
-
"module": "src/directives/when-else/when-else.ts"
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
2591
|
-
]
|
|
2592
|
-
},
|
|
2593
2439
|
{
|
|
2594
2440
|
"kind": "javascript-module",
|
|
2595
2441
|
"path": "src/encoding/base64/decode.ts",
|
|
@@ -2744,6 +2590,160 @@
|
|
|
2744
2590
|
}
|
|
2745
2591
|
]
|
|
2746
2592
|
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "javascript-module",
|
|
2595
|
+
"path": "src/directives/sync/index.ts",
|
|
2596
|
+
"declarations": [],
|
|
2597
|
+
"exports": [
|
|
2598
|
+
{
|
|
2599
|
+
"kind": "js",
|
|
2600
|
+
"name": "*",
|
|
2601
|
+
"declaration": {
|
|
2602
|
+
"name": "*",
|
|
2603
|
+
"package": "./sync"
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
]
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"kind": "javascript-module",
|
|
2610
|
+
"path": "src/directives/sync/sync.ts",
|
|
2611
|
+
"declarations": [
|
|
2612
|
+
{
|
|
2613
|
+
"kind": "variable",
|
|
2614
|
+
"name": "defaultEventMap",
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "Map<string, EventName>"
|
|
2617
|
+
},
|
|
2618
|
+
"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])",
|
|
2619
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
2620
|
+
"privacy": "public"
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"kind": "function",
|
|
2624
|
+
"name": "sync",
|
|
2625
|
+
"return": {
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "CaptureType<TSource>"
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
"parameters": [
|
|
2631
|
+
{
|
|
2632
|
+
"name": "binding",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "Binding<TSource, TReturn>"
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "conversionType",
|
|
2639
|
+
"default": "'string'",
|
|
2640
|
+
"type": {
|
|
2641
|
+
"text": "ConversionType"
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"name": "eventName",
|
|
2646
|
+
"default": "'default'",
|
|
2647
|
+
"type": {
|
|
2648
|
+
"text": "EventName"
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"name": "keyAttr",
|
|
2653
|
+
"optional": true,
|
|
2654
|
+
"type": {
|
|
2655
|
+
"text": "string"
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
],
|
|
2659
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
2660
|
+
"privacy": "public"
|
|
2661
|
+
}
|
|
2662
|
+
],
|
|
2663
|
+
"exports": [
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "js",
|
|
2666
|
+
"name": "defaultEventMap",
|
|
2667
|
+
"declaration": {
|
|
2668
|
+
"name": "defaultEventMap",
|
|
2669
|
+
"module": "src/directives/sync/sync.ts"
|
|
2670
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "js",
|
|
2674
|
+
"name": "sync",
|
|
2675
|
+
"declaration": {
|
|
2676
|
+
"name": "sync",
|
|
2677
|
+
"module": "src/directives/sync/sync.ts"
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
]
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "javascript-module",
|
|
2684
|
+
"path": "src/directives/when-else/index.ts",
|
|
2685
|
+
"declarations": [],
|
|
2686
|
+
"exports": [
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "js",
|
|
2689
|
+
"name": "*",
|
|
2690
|
+
"declaration": {
|
|
2691
|
+
"name": "*",
|
|
2692
|
+
"package": "./when-else"
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
]
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"kind": "javascript-module",
|
|
2699
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
2700
|
+
"declarations": [
|
|
2701
|
+
{
|
|
2702
|
+
"kind": "function",
|
|
2703
|
+
"name": "whenElse",
|
|
2704
|
+
"return": {
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "CaptureType<TSource>"
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
"parameters": [
|
|
2710
|
+
{
|
|
2711
|
+
"name": "binding",
|
|
2712
|
+
"type": {
|
|
2713
|
+
"text": "Binding<TSource, TReturn>"
|
|
2714
|
+
},
|
|
2715
|
+
"description": "The condition to test for rendering."
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
2719
|
+
"type": {
|
|
2720
|
+
"text": "WhenTemplate<TSource>"
|
|
2721
|
+
},
|
|
2722
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
2726
|
+
"type": {
|
|
2727
|
+
"text": "WhenTemplate<TSource>"
|
|
2728
|
+
},
|
|
2729
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
2730
|
+
}
|
|
2731
|
+
],
|
|
2732
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
2733
|
+
"privacy": "public"
|
|
2734
|
+
}
|
|
2735
|
+
],
|
|
2736
|
+
"exports": [
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "js",
|
|
2739
|
+
"name": "whenElse",
|
|
2740
|
+
"declaration": {
|
|
2741
|
+
"name": "whenElse",
|
|
2742
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
]
|
|
2746
|
+
},
|
|
2747
2747
|
{
|
|
2748
2748
|
"kind": "javascript-module",
|
|
2749
2749
|
"path": "src/mappers/dto/index.ts",
|
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.244.
|
|
4
|
+
"version": "14.244.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@genesislcap/foundation-testing": "14.244.
|
|
31
|
-
"@genesislcap/genx": "14.244.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.244.
|
|
33
|
-
"@genesislcap/ts-builder": "14.244.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.244.
|
|
35
|
-
"@genesislcap/vite-builder": "14.244.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.244.
|
|
30
|
+
"@genesislcap/foundation-testing": "14.244.3",
|
|
31
|
+
"@genesislcap/genx": "14.244.3",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.244.3",
|
|
33
|
+
"@genesislcap/ts-builder": "14.244.3",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.244.3",
|
|
35
|
+
"@genesislcap/vite-builder": "14.244.3",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.244.3",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.244.
|
|
40
|
+
"@genesislcap/foundation-logger": "14.244.3",
|
|
41
41
|
"@microsoft/fast-components": "2.30.6",
|
|
42
42
|
"@microsoft/fast-element": "1.14.0",
|
|
43
43
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"customElements": "dist/custom-elements.json",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "c4f2b114e38e7e3aedaa8f72a6643770a8d8652b"
|
|
59
59
|
}
|