@genesislcap/foundation-ui 15.43.0-FUI-2629.1 → 15.43.0-FUI-2629.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 +541 -541
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -2517,208 +2517,275 @@
|
|
|
2517
2517
|
},
|
|
2518
2518
|
{
|
|
2519
2519
|
"kind": "javascript-module",
|
|
2520
|
-
"path": "src/
|
|
2520
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2521
2521
|
"declarations": [
|
|
2522
2522
|
{
|
|
2523
|
-
"kind": "
|
|
2524
|
-
"name": "
|
|
2525
|
-
"
|
|
2523
|
+
"kind": "function",
|
|
2524
|
+
"name": "foundationAccordionStyles",
|
|
2525
|
+
"return": {
|
|
2526
|
+
"type": {
|
|
2527
|
+
"text": "ElementStyles"
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
"parameters": [
|
|
2531
|
+
{
|
|
2532
|
+
"name": "context",
|
|
2533
|
+
"type": {
|
|
2534
|
+
"text": "ElementDefinitionContext"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"name": "definition",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "FoundationElementDefinition"
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
]
|
|
2526
2544
|
}
|
|
2527
2545
|
],
|
|
2528
2546
|
"exports": [
|
|
2529
2547
|
{
|
|
2530
2548
|
"kind": "js",
|
|
2531
|
-
"name": "
|
|
2549
|
+
"name": "foundationAccordionStyles",
|
|
2532
2550
|
"declaration": {
|
|
2533
|
-
"name": "
|
|
2534
|
-
"module": "src/
|
|
2551
|
+
"name": "foundationAccordionStyles",
|
|
2552
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2535
2553
|
}
|
|
2536
2554
|
}
|
|
2537
2555
|
]
|
|
2538
2556
|
},
|
|
2539
2557
|
{
|
|
2540
2558
|
"kind": "javascript-module",
|
|
2541
|
-
"path": "src/
|
|
2559
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2542
2560
|
"declarations": [
|
|
2543
2561
|
{
|
|
2544
|
-
"kind": "
|
|
2545
|
-
"name": "
|
|
2546
|
-
"
|
|
2547
|
-
"
|
|
2562
|
+
"kind": "function",
|
|
2563
|
+
"name": "foundationAccordionTemplate",
|
|
2564
|
+
"return": {
|
|
2565
|
+
"type": {
|
|
2566
|
+
"text": "ViewTemplate<Accordion>"
|
|
2567
|
+
}
|
|
2548
2568
|
},
|
|
2549
|
-
"
|
|
2569
|
+
"parameters": [
|
|
2570
|
+
{
|
|
2571
|
+
"name": "context",
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "ElementDefinitionContext"
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "definition",
|
|
2578
|
+
"type": {
|
|
2579
|
+
"text": "FoundationElementDefinition"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
]
|
|
2550
2583
|
}
|
|
2551
2584
|
],
|
|
2552
2585
|
"exports": [
|
|
2553
2586
|
{
|
|
2554
2587
|
"kind": "js",
|
|
2555
|
-
"name": "
|
|
2588
|
+
"name": "foundationAccordionTemplate",
|
|
2556
2589
|
"declaration": {
|
|
2557
|
-
"name": "
|
|
2558
|
-
"module": "src/
|
|
2590
|
+
"name": "foundationAccordionTemplate",
|
|
2591
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2559
2592
|
}
|
|
2560
2593
|
}
|
|
2561
2594
|
]
|
|
2562
2595
|
},
|
|
2563
2596
|
{
|
|
2564
2597
|
"kind": "javascript-module",
|
|
2565
|
-
"path": "src/
|
|
2598
|
+
"path": "src/accordion/accordion.ts",
|
|
2566
2599
|
"declarations": [
|
|
2567
2600
|
{
|
|
2568
2601
|
"kind": "class",
|
|
2569
|
-
"description": "
|
|
2570
|
-
"name": "
|
|
2571
|
-
"
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
},
|
|
2602
|
+
"description": "",
|
|
2603
|
+
"name": "Accordion",
|
|
2604
|
+
"superclass": {
|
|
2605
|
+
"name": "FASTAccordion",
|
|
2606
|
+
"package": "@microsoft/fast-foundation"
|
|
2607
|
+
},
|
|
2608
|
+
"tagName": "%%prefix%%-accordion",
|
|
2609
|
+
"customElement": true,
|
|
2610
|
+
"attributes": [
|
|
2579
2611
|
{
|
|
2580
|
-
"
|
|
2581
|
-
"name": "placeholder",
|
|
2612
|
+
"name": "expand-mode",
|
|
2582
2613
|
"type": {
|
|
2583
|
-
"text": "
|
|
2614
|
+
"text": "AccordionExpandMode"
|
|
2584
2615
|
},
|
|
2585
|
-
"
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
"type": {
|
|
2591
|
-
"text": "boolean"
|
|
2616
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2617
|
+
"fieldName": "expandmode",
|
|
2618
|
+
"inheritedFrom": {
|
|
2619
|
+
"name": "Accordion",
|
|
2620
|
+
"module": "src/accordion/accordion.ts"
|
|
2592
2621
|
}
|
|
2593
|
-
}
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
"name": "inputValue",
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "string"
|
|
2599
|
-
},
|
|
2600
|
-
"default": "''"
|
|
2601
|
-
},
|
|
2622
|
+
}
|
|
2623
|
+
],
|
|
2624
|
+
"members": [
|
|
2602
2625
|
{
|
|
2603
2626
|
"kind": "field",
|
|
2604
|
-
"name": "
|
|
2627
|
+
"name": "expandmode",
|
|
2605
2628
|
"type": {
|
|
2606
|
-
"text": "
|
|
2629
|
+
"text": "AccordionExpandMode"
|
|
2607
2630
|
},
|
|
2608
|
-
"
|
|
2631
|
+
"privacy": "public",
|
|
2632
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2633
|
+
"inheritedFrom": {
|
|
2634
|
+
"name": "Accordion",
|
|
2635
|
+
"module": "src/accordion/accordion.ts"
|
|
2636
|
+
}
|
|
2609
2637
|
},
|
|
2610
2638
|
{
|
|
2611
2639
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2640
|
+
"name": "activeid",
|
|
2613
2641
|
"type": {
|
|
2614
2642
|
"text": "string | null"
|
|
2615
2643
|
},
|
|
2616
|
-
"
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
"type": {
|
|
2622
|
-
"text": "CriteriaGroup[]"
|
|
2623
|
-
},
|
|
2624
|
-
"default": "[]"
|
|
2644
|
+
"privacy": "private",
|
|
2645
|
+
"inheritedFrom": {
|
|
2646
|
+
"name": "Accordion",
|
|
2647
|
+
"module": "src/accordion/accordion.ts"
|
|
2648
|
+
}
|
|
2625
2649
|
},
|
|
2626
2650
|
{
|
|
2627
2651
|
"kind": "field",
|
|
2628
|
-
"name": "
|
|
2652
|
+
"name": "activeItemIndex",
|
|
2629
2653
|
"type": {
|
|
2630
|
-
"text": "
|
|
2654
|
+
"text": "number"
|
|
2631
2655
|
},
|
|
2632
|
-
"
|
|
2656
|
+
"privacy": "private",
|
|
2657
|
+
"default": "0",
|
|
2658
|
+
"inheritedFrom": {
|
|
2659
|
+
"name": "Accordion",
|
|
2660
|
+
"module": "src/accordion/accordion.ts"
|
|
2661
|
+
}
|
|
2633
2662
|
},
|
|
2634
2663
|
{
|
|
2635
2664
|
"kind": "field",
|
|
2636
|
-
"name": "
|
|
2665
|
+
"name": "accordionIds",
|
|
2637
2666
|
"type": {
|
|
2638
|
-
"text": "
|
|
2667
|
+
"text": "Array<string | null>"
|
|
2639
2668
|
},
|
|
2640
|
-
"
|
|
2669
|
+
"privacy": "private",
|
|
2670
|
+
"inheritedFrom": {
|
|
2671
|
+
"name": "Accordion",
|
|
2672
|
+
"module": "src/accordion/accordion.ts"
|
|
2673
|
+
}
|
|
2641
2674
|
},
|
|
2642
2675
|
{
|
|
2643
2676
|
"kind": "field",
|
|
2644
|
-
"name": "
|
|
2645
|
-
"
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2677
|
+
"name": "change",
|
|
2678
|
+
"privacy": "private",
|
|
2679
|
+
"inheritedFrom": {
|
|
2680
|
+
"name": "Accordion",
|
|
2681
|
+
"module": "src/accordion/accordion.ts"
|
|
2682
|
+
}
|
|
2649
2683
|
},
|
|
2650
2684
|
{
|
|
2651
|
-
"kind": "
|
|
2652
|
-
"name": "
|
|
2653
|
-
"
|
|
2654
|
-
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "findExpandedItem",
|
|
2687
|
+
"privacy": "private",
|
|
2688
|
+
"return": {
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "AccordionItem | null"
|
|
2691
|
+
}
|
|
2655
2692
|
},
|
|
2656
|
-
"
|
|
2693
|
+
"inheritedFrom": {
|
|
2694
|
+
"name": "Accordion",
|
|
2695
|
+
"module": "src/accordion/accordion.ts"
|
|
2696
|
+
}
|
|
2657
2697
|
},
|
|
2658
2698
|
{
|
|
2659
2699
|
"kind": "field",
|
|
2660
|
-
"name": "
|
|
2661
|
-
"type": {
|
|
2662
|
-
"text": "(() => void) | null"
|
|
2663
|
-
},
|
|
2700
|
+
"name": "setItems",
|
|
2664
2701
|
"privacy": "private",
|
|
2665
|
-
"
|
|
2702
|
+
"inheritedFrom": {
|
|
2703
|
+
"name": "Accordion",
|
|
2704
|
+
"module": "src/accordion/accordion.ts"
|
|
2705
|
+
}
|
|
2666
2706
|
},
|
|
2667
2707
|
{
|
|
2668
|
-
"kind": "
|
|
2669
|
-
"name": "
|
|
2670
|
-
"type": {
|
|
2671
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2672
|
-
},
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "resetItems",
|
|
2673
2710
|
"privacy": "private",
|
|
2674
|
-
"
|
|
2711
|
+
"return": {
|
|
2712
|
+
"type": {
|
|
2713
|
+
"text": "void"
|
|
2714
|
+
}
|
|
2715
|
+
},
|
|
2716
|
+
"inheritedFrom": {
|
|
2717
|
+
"name": "Accordion",
|
|
2718
|
+
"module": "src/accordion/accordion.ts"
|
|
2719
|
+
}
|
|
2675
2720
|
},
|
|
2676
2721
|
{
|
|
2677
2722
|
"kind": "field",
|
|
2678
|
-
"name": "
|
|
2679
|
-
"
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2723
|
+
"name": "removeItemListeners",
|
|
2724
|
+
"privacy": "private",
|
|
2725
|
+
"inheritedFrom": {
|
|
2726
|
+
"name": "Accordion",
|
|
2727
|
+
"module": "src/accordion/accordion.ts"
|
|
2728
|
+
}
|
|
2683
2729
|
},
|
|
2684
2730
|
{
|
|
2685
2731
|
"kind": "field",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2732
|
+
"name": "activeItemChange",
|
|
2733
|
+
"privacy": "private",
|
|
2734
|
+
"inheritedFrom": {
|
|
2735
|
+
"name": "Accordion",
|
|
2736
|
+
"module": "src/accordion/accordion.ts"
|
|
2737
|
+
}
|
|
2691
2738
|
},
|
|
2692
2739
|
{
|
|
2693
2740
|
"kind": "method",
|
|
2694
|
-
"name": "
|
|
2741
|
+
"name": "getItemIds",
|
|
2695
2742
|
"privacy": "private",
|
|
2696
2743
|
"return": {
|
|
2697
2744
|
"type": {
|
|
2698
|
-
"text": "string"
|
|
2745
|
+
"text": "Array<string | null>"
|
|
2699
2746
|
}
|
|
2700
2747
|
},
|
|
2701
|
-
"
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
"text": "string"
|
|
2706
|
-
}
|
|
2707
|
-
}
|
|
2708
|
-
]
|
|
2748
|
+
"inheritedFrom": {
|
|
2749
|
+
"name": "Accordion",
|
|
2750
|
+
"module": "src/accordion/accordion.ts"
|
|
2751
|
+
}
|
|
2709
2752
|
},
|
|
2710
2753
|
{
|
|
2711
2754
|
"kind": "method",
|
|
2712
|
-
"name": "
|
|
2755
|
+
"name": "isSingleExpandMode",
|
|
2756
|
+
"privacy": "private",
|
|
2713
2757
|
"return": {
|
|
2714
2758
|
"type": {
|
|
2715
|
-
"text": "
|
|
2759
|
+
"text": "boolean"
|
|
2716
2760
|
}
|
|
2761
|
+
},
|
|
2762
|
+
"inheritedFrom": {
|
|
2763
|
+
"name": "Accordion",
|
|
2764
|
+
"module": "src/accordion/accordion.ts"
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"kind": "field",
|
|
2769
|
+
"name": "handleItemKeyDown",
|
|
2770
|
+
"privacy": "private",
|
|
2771
|
+
"inheritedFrom": {
|
|
2772
|
+
"name": "Accordion",
|
|
2773
|
+
"module": "src/accordion/accordion.ts"
|
|
2774
|
+
}
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"kind": "field",
|
|
2778
|
+
"name": "handleItemFocus",
|
|
2779
|
+
"privacy": "private",
|
|
2780
|
+
"inheritedFrom": {
|
|
2781
|
+
"name": "Accordion",
|
|
2782
|
+
"module": "src/accordion/accordion.ts"
|
|
2717
2783
|
}
|
|
2718
2784
|
},
|
|
2719
2785
|
{
|
|
2720
2786
|
"kind": "method",
|
|
2721
|
-
"name": "
|
|
2787
|
+
"name": "adjust",
|
|
2788
|
+
"privacy": "private",
|
|
2722
2789
|
"return": {
|
|
2723
2790
|
"type": {
|
|
2724
2791
|
"text": "void"
|
|
@@ -2726,49 +2793,31 @@
|
|
|
2726
2793
|
},
|
|
2727
2794
|
"parameters": [
|
|
2728
2795
|
{
|
|
2729
|
-
"name": "
|
|
2730
|
-
"type": {
|
|
2731
|
-
"text": "number"
|
|
2732
|
-
}
|
|
2733
|
-
},
|
|
2734
|
-
{
|
|
2735
|
-
"name": "clauseIndex",
|
|
2796
|
+
"name": "adjustment",
|
|
2736
2797
|
"type": {
|
|
2737
2798
|
"text": "number"
|
|
2738
2799
|
}
|
|
2739
2800
|
}
|
|
2740
|
-
]
|
|
2801
|
+
],
|
|
2802
|
+
"inheritedFrom": {
|
|
2803
|
+
"name": "Accordion",
|
|
2804
|
+
"module": "src/accordion/accordion.ts"
|
|
2805
|
+
}
|
|
2741
2806
|
},
|
|
2742
2807
|
{
|
|
2743
2808
|
"kind": "method",
|
|
2744
|
-
"name": "
|
|
2809
|
+
"name": "focusItem",
|
|
2810
|
+
"privacy": "private",
|
|
2745
2811
|
"return": {
|
|
2746
2812
|
"type": {
|
|
2747
2813
|
"text": "void"
|
|
2748
2814
|
}
|
|
2815
|
+
},
|
|
2816
|
+
"inheritedFrom": {
|
|
2817
|
+
"name": "Accordion",
|
|
2818
|
+
"module": "src/accordion/accordion.ts"
|
|
2749
2819
|
}
|
|
2750
2820
|
},
|
|
2751
|
-
{
|
|
2752
|
-
"kind": "method",
|
|
2753
|
-
"name": "handleSubmit"
|
|
2754
|
-
},
|
|
2755
|
-
{
|
|
2756
|
-
"kind": "method",
|
|
2757
|
-
"name": "handleBlur"
|
|
2758
|
-
},
|
|
2759
|
-
{
|
|
2760
|
-
"kind": "method",
|
|
2761
|
-
"name": "clear"
|
|
2762
|
-
},
|
|
2763
|
-
{
|
|
2764
|
-
"kind": "method",
|
|
2765
|
-
"name": "toggleSpeechInput"
|
|
2766
|
-
},
|
|
2767
|
-
{
|
|
2768
|
-
"kind": "method",
|
|
2769
|
-
"name": "clearSpeechApplyDebounce",
|
|
2770
|
-
"privacy": "private"
|
|
2771
|
-
},
|
|
2772
2821
|
{
|
|
2773
2822
|
"kind": "field",
|
|
2774
2823
|
"name": "_presentation",
|
|
@@ -2883,48 +2932,26 @@
|
|
|
2883
2932
|
],
|
|
2884
2933
|
"events": [
|
|
2885
2934
|
{
|
|
2886
|
-
"description": "
|
|
2887
|
-
"name": "
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
}
|
|
2893
|
-
],
|
|
2894
|
-
"attributes": [
|
|
2895
|
-
{
|
|
2896
|
-
"name": "placeholder",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "string"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2901
|
-
"fieldName": "placeholder"
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"type": {
|
|
2905
|
-
"text": "boolean"
|
|
2906
|
-
},
|
|
2907
|
-
"fieldName": "disabled"
|
|
2935
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2936
|
+
"name": "change",
|
|
2937
|
+
"inheritedFrom": {
|
|
2938
|
+
"name": "Accordion",
|
|
2939
|
+
"module": "src/accordion/accordion.ts"
|
|
2940
|
+
}
|
|
2908
2941
|
}
|
|
2909
|
-
]
|
|
2910
|
-
"superclass": {
|
|
2911
|
-
"name": "FoundationElement",
|
|
2912
|
-
"package": "@microsoft/fast-foundation"
|
|
2913
|
-
},
|
|
2914
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2915
|
-
"customElement": true
|
|
2942
|
+
]
|
|
2916
2943
|
},
|
|
2917
2944
|
{
|
|
2918
2945
|
"kind": "variable",
|
|
2919
|
-
"name": "
|
|
2946
|
+
"name": "foundationAccordionShadowOptions",
|
|
2920
2947
|
"type": {
|
|
2921
2948
|
"text": "ShadowRootInit"
|
|
2922
2949
|
},
|
|
2923
|
-
"default": "
|
|
2950
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2924
2951
|
},
|
|
2925
2952
|
{
|
|
2926
2953
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
2954
|
+
"name": "defaultAccordionConfig",
|
|
2928
2955
|
"type": {
|
|
2929
2956
|
"text": "object"
|
|
2930
2957
|
},
|
|
@@ -2932,469 +2959,281 @@
|
|
|
2932
2959
|
},
|
|
2933
2960
|
{
|
|
2934
2961
|
"kind": "variable",
|
|
2935
|
-
"name": "
|
|
2962
|
+
"name": "foundationAccordion",
|
|
2963
|
+
"description": "The Foundation Accordion",
|
|
2964
|
+
"privacy": "public"
|
|
2936
2965
|
}
|
|
2937
2966
|
],
|
|
2938
2967
|
"exports": [
|
|
2939
2968
|
{
|
|
2940
2969
|
"kind": "js",
|
|
2941
|
-
"name": "
|
|
2970
|
+
"name": "Accordion",
|
|
2942
2971
|
"declaration": {
|
|
2943
|
-
"name": "
|
|
2944
|
-
"module": "src/
|
|
2972
|
+
"name": "Accordion",
|
|
2973
|
+
"module": "src/accordion/accordion.ts"
|
|
2945
2974
|
}
|
|
2946
2975
|
},
|
|
2947
2976
|
{
|
|
2948
2977
|
"kind": "js",
|
|
2949
|
-
"name": "
|
|
2978
|
+
"name": "foundationAccordionShadowOptions",
|
|
2950
2979
|
"declaration": {
|
|
2951
|
-
"name": "
|
|
2952
|
-
"module": "src/
|
|
2980
|
+
"name": "foundationAccordionShadowOptions",
|
|
2981
|
+
"module": "src/accordion/accordion.ts"
|
|
2953
2982
|
}
|
|
2954
2983
|
},
|
|
2955
2984
|
{
|
|
2956
2985
|
"kind": "js",
|
|
2957
|
-
"name": "
|
|
2986
|
+
"name": "defaultAccordionConfig",
|
|
2958
2987
|
"declaration": {
|
|
2959
|
-
"name": "
|
|
2960
|
-
"module": "src/
|
|
2988
|
+
"name": "defaultAccordionConfig",
|
|
2989
|
+
"module": "src/accordion/accordion.ts"
|
|
2961
2990
|
}
|
|
2962
2991
|
},
|
|
2963
2992
|
{
|
|
2964
2993
|
"kind": "js",
|
|
2965
|
-
"name": "
|
|
2994
|
+
"name": "foundationAccordion",
|
|
2966
2995
|
"declaration": {
|
|
2967
|
-
"name": "
|
|
2968
|
-
"module": "src/
|
|
2996
|
+
"name": "foundationAccordion",
|
|
2997
|
+
"module": "src/accordion/accordion.ts"
|
|
2969
2998
|
}
|
|
2970
2999
|
}
|
|
2971
3000
|
]
|
|
2972
3001
|
},
|
|
2973
3002
|
{
|
|
2974
3003
|
"kind": "javascript-module",
|
|
2975
|
-
"path": "src/
|
|
3004
|
+
"path": "src/accordion/index.ts",
|
|
2976
3005
|
"declarations": [],
|
|
2977
3006
|
"exports": [
|
|
2978
3007
|
{
|
|
2979
3008
|
"kind": "js",
|
|
2980
|
-
"name": "
|
|
3009
|
+
"name": "*",
|
|
2981
3010
|
"declaration": {
|
|
2982
|
-
"name": "
|
|
2983
|
-
"
|
|
3011
|
+
"name": "*",
|
|
3012
|
+
"package": "./accordion.template"
|
|
2984
3013
|
}
|
|
2985
3014
|
},
|
|
2986
3015
|
{
|
|
2987
3016
|
"kind": "js",
|
|
2988
|
-
"name": "
|
|
3017
|
+
"name": "*",
|
|
2989
3018
|
"declaration": {
|
|
2990
|
-
"name": "
|
|
2991
|
-
"
|
|
3019
|
+
"name": "*",
|
|
3020
|
+
"package": "./accordion.styles"
|
|
2992
3021
|
}
|
|
2993
3022
|
},
|
|
2994
3023
|
{
|
|
2995
3024
|
"kind": "js",
|
|
2996
|
-
"name": "
|
|
3025
|
+
"name": "*",
|
|
2997
3026
|
"declaration": {
|
|
2998
|
-
"name": "
|
|
2999
|
-
"
|
|
3027
|
+
"name": "*",
|
|
3028
|
+
"package": "./accordion"
|
|
3000
3029
|
}
|
|
3001
|
-
}
|
|
3030
|
+
}
|
|
3031
|
+
]
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"kind": "javascript-module",
|
|
3035
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3036
|
+
"declarations": [
|
|
3002
3037
|
{
|
|
3003
|
-
"kind": "
|
|
3004
|
-
"name": "
|
|
3005
|
-
"
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
},
|
|
3038
|
+
"kind": "variable",
|
|
3039
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3040
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3041
|
+
}
|
|
3042
|
+
],
|
|
3043
|
+
"exports": [
|
|
3010
3044
|
{
|
|
3011
3045
|
"kind": "js",
|
|
3012
3046
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3013
3047
|
"declaration": {
|
|
3014
3048
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3015
|
-
"module": "
|
|
3049
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3016
3050
|
}
|
|
3017
|
-
}
|
|
3051
|
+
}
|
|
3052
|
+
]
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "javascript-module",
|
|
3056
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3057
|
+
"declarations": [
|
|
3018
3058
|
{
|
|
3019
|
-
"kind": "
|
|
3059
|
+
"kind": "variable",
|
|
3020
3060
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3023
|
-
|
|
3024
|
-
}
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
"name": "*",
|
|
3029
|
-
"declaration": {
|
|
3030
|
-
"name": "*",
|
|
3031
|
-
"package": "./validation/criteria-ir"
|
|
3032
|
-
}
|
|
3033
|
-
},
|
|
3034
|
-
{
|
|
3035
|
-
"kind": "js",
|
|
3036
|
-
"name": "*",
|
|
3037
|
-
"declaration": {
|
|
3038
|
-
"name": "*",
|
|
3039
|
-
"package": "./validation/operator-map"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3061
|
+
"type": {
|
|
3062
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3063
|
+
},
|
|
3064
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3065
|
+
}
|
|
3066
|
+
],
|
|
3067
|
+
"exports": [
|
|
3042
3068
|
{
|
|
3043
3069
|
"kind": "js",
|
|
3044
|
-
"name": "
|
|
3070
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3045
3071
|
"declaration": {
|
|
3046
|
-
"name": "
|
|
3047
|
-
"
|
|
3072
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3073
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3048
3074
|
}
|
|
3049
3075
|
}
|
|
3050
3076
|
]
|
|
3051
3077
|
},
|
|
3052
3078
|
{
|
|
3053
3079
|
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/ai-criteria-search/
|
|
3080
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3055
3081
|
"declarations": [
|
|
3056
3082
|
{
|
|
3057
|
-
"kind": "
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3060
|
-
|
|
3061
|
-
"text": "string"
|
|
3062
|
-
}
|
|
3063
|
-
},
|
|
3064
|
-
"parameters": [
|
|
3083
|
+
"kind": "class",
|
|
3084
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3085
|
+
"name": "AiCriteriaSearch",
|
|
3086
|
+
"members": [
|
|
3065
3087
|
{
|
|
3066
|
-
"
|
|
3088
|
+
"kind": "field",
|
|
3089
|
+
"name": "providerRegistry",
|
|
3067
3090
|
"type": {
|
|
3068
|
-
"text": "
|
|
3091
|
+
"text": "AIProviderRegistry"
|
|
3069
3092
|
}
|
|
3070
|
-
}
|
|
3071
|
-
],
|
|
3072
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3073
|
-
},
|
|
3074
|
-
{
|
|
3075
|
-
"kind": "function",
|
|
3076
|
-
"name": "showCriteriaError",
|
|
3077
|
-
"return": {
|
|
3078
|
-
"type": {
|
|
3079
|
-
"text": "void"
|
|
3080
|
-
}
|
|
3081
|
-
},
|
|
3082
|
-
"parameters": [
|
|
3093
|
+
},
|
|
3083
3094
|
{
|
|
3084
|
-
"
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "placeholder",
|
|
3085
3097
|
"type": {
|
|
3086
3098
|
"text": "string"
|
|
3087
3099
|
},
|
|
3088
|
-
"
|
|
3100
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3089
3101
|
},
|
|
3090
3102
|
{
|
|
3091
|
-
"
|
|
3103
|
+
"kind": "field",
|
|
3104
|
+
"name": "disabled",
|
|
3092
3105
|
"type": {
|
|
3093
|
-
"text": "
|
|
3094
|
-
}
|
|
3095
|
-
"description": "Error message to display"
|
|
3106
|
+
"text": "boolean"
|
|
3107
|
+
}
|
|
3096
3108
|
},
|
|
3097
3109
|
{
|
|
3098
|
-
"
|
|
3110
|
+
"kind": "field",
|
|
3111
|
+
"name": "inputValue",
|
|
3099
3112
|
"type": {
|
|
3100
3113
|
"text": "string"
|
|
3101
3114
|
},
|
|
3102
|
-
"
|
|
3103
|
-
}
|
|
3104
|
-
],
|
|
3105
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3106
|
-
}
|
|
3107
|
-
],
|
|
3108
|
-
"exports": [
|
|
3109
|
-
{
|
|
3110
|
-
"kind": "js",
|
|
3111
|
-
"name": "formatValidationErrors",
|
|
3112
|
-
"declaration": {
|
|
3113
|
-
"name": "formatValidationErrors",
|
|
3114
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3115
|
-
}
|
|
3116
|
-
},
|
|
3117
|
-
{
|
|
3118
|
-
"kind": "js",
|
|
3119
|
-
"name": "showCriteriaError",
|
|
3120
|
-
"declaration": {
|
|
3121
|
-
"name": "showCriteriaError",
|
|
3122
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3123
|
-
}
|
|
3124
|
-
}
|
|
3125
|
-
]
|
|
3126
|
-
},
|
|
3127
|
-
{
|
|
3128
|
-
"kind": "javascript-module",
|
|
3129
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3130
|
-
"declarations": [
|
|
3131
|
-
{
|
|
3132
|
-
"kind": "function",
|
|
3133
|
-
"name": "foundationAccordionStyles",
|
|
3134
|
-
"return": {
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": "ElementStyles"
|
|
3137
|
-
}
|
|
3138
|
-
},
|
|
3139
|
-
"parameters": [
|
|
3140
|
-
{
|
|
3141
|
-
"name": "context",
|
|
3142
|
-
"type": {
|
|
3143
|
-
"text": "ElementDefinitionContext"
|
|
3144
|
-
}
|
|
3115
|
+
"default": "''"
|
|
3145
3116
|
},
|
|
3146
3117
|
{
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "FoundationElementDefinition"
|
|
3150
|
-
}
|
|
3151
|
-
}
|
|
3152
|
-
]
|
|
3153
|
-
}
|
|
3154
|
-
],
|
|
3155
|
-
"exports": [
|
|
3156
|
-
{
|
|
3157
|
-
"kind": "js",
|
|
3158
|
-
"name": "foundationAccordionStyles",
|
|
3159
|
-
"declaration": {
|
|
3160
|
-
"name": "foundationAccordionStyles",
|
|
3161
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3162
|
-
}
|
|
3163
|
-
}
|
|
3164
|
-
]
|
|
3165
|
-
},
|
|
3166
|
-
{
|
|
3167
|
-
"kind": "javascript-module",
|
|
3168
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3169
|
-
"declarations": [
|
|
3170
|
-
{
|
|
3171
|
-
"kind": "function",
|
|
3172
|
-
"name": "foundationAccordionTemplate",
|
|
3173
|
-
"return": {
|
|
3174
|
-
"type": {
|
|
3175
|
-
"text": "ViewTemplate<Accordion>"
|
|
3176
|
-
}
|
|
3177
|
-
},
|
|
3178
|
-
"parameters": [
|
|
3179
|
-
{
|
|
3180
|
-
"name": "context",
|
|
3118
|
+
"kind": "field",
|
|
3119
|
+
"name": "isInterpreting",
|
|
3181
3120
|
"type": {
|
|
3182
|
-
"text": "
|
|
3183
|
-
}
|
|
3121
|
+
"text": "boolean"
|
|
3122
|
+
},
|
|
3123
|
+
"default": "false"
|
|
3184
3124
|
},
|
|
3185
3125
|
{
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
"text": "FoundationElementDefinition"
|
|
3189
|
-
}
|
|
3190
|
-
}
|
|
3191
|
-
]
|
|
3192
|
-
}
|
|
3193
|
-
],
|
|
3194
|
-
"exports": [
|
|
3195
|
-
{
|
|
3196
|
-
"kind": "js",
|
|
3197
|
-
"name": "foundationAccordionTemplate",
|
|
3198
|
-
"declaration": {
|
|
3199
|
-
"name": "foundationAccordionTemplate",
|
|
3200
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3203
|
-
]
|
|
3204
|
-
},
|
|
3205
|
-
{
|
|
3206
|
-
"kind": "javascript-module",
|
|
3207
|
-
"path": "src/accordion/accordion.ts",
|
|
3208
|
-
"declarations": [
|
|
3209
|
-
{
|
|
3210
|
-
"kind": "class",
|
|
3211
|
-
"description": "",
|
|
3212
|
-
"name": "Accordion",
|
|
3213
|
-
"superclass": {
|
|
3214
|
-
"name": "FASTAccordion",
|
|
3215
|
-
"package": "@microsoft/fast-foundation"
|
|
3216
|
-
},
|
|
3217
|
-
"tagName": "%%prefix%%-accordion",
|
|
3218
|
-
"customElement": true,
|
|
3219
|
-
"attributes": [
|
|
3220
|
-
{
|
|
3221
|
-
"name": "expand-mode",
|
|
3126
|
+
"kind": "field",
|
|
3127
|
+
"name": "lastValidCriteria",
|
|
3222
3128
|
"type": {
|
|
3223
|
-
"text": "
|
|
3129
|
+
"text": "string | null"
|
|
3224
3130
|
},
|
|
3225
|
-
"
|
|
3226
|
-
|
|
3227
|
-
"inheritedFrom": {
|
|
3228
|
-
"name": "Accordion",
|
|
3229
|
-
"module": "src/accordion/accordion.ts"
|
|
3230
|
-
}
|
|
3231
|
-
}
|
|
3232
|
-
],
|
|
3233
|
-
"members": [
|
|
3131
|
+
"default": "null"
|
|
3132
|
+
},
|
|
3234
3133
|
{
|
|
3235
3134
|
"kind": "field",
|
|
3236
|
-
"name": "
|
|
3135
|
+
"name": "activeGroups",
|
|
3237
3136
|
"type": {
|
|
3238
|
-
"text": "
|
|
3137
|
+
"text": "CriteriaGroup[]"
|
|
3239
3138
|
},
|
|
3240
|
-
"
|
|
3241
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3242
|
-
"inheritedFrom": {
|
|
3243
|
-
"name": "Accordion",
|
|
3244
|
-
"module": "src/accordion/accordion.ts"
|
|
3245
|
-
}
|
|
3139
|
+
"default": "[]"
|
|
3246
3140
|
},
|
|
3247
3141
|
{
|
|
3248
3142
|
"kind": "field",
|
|
3249
|
-
"name": "
|
|
3143
|
+
"name": "showingChips",
|
|
3250
3144
|
"type": {
|
|
3251
|
-
"text": "
|
|
3145
|
+
"text": "boolean"
|
|
3252
3146
|
},
|
|
3253
|
-
"
|
|
3254
|
-
"inheritedFrom": {
|
|
3255
|
-
"name": "Accordion",
|
|
3256
|
-
"module": "src/accordion/accordion.ts"
|
|
3257
|
-
}
|
|
3147
|
+
"default": "false"
|
|
3258
3148
|
},
|
|
3259
3149
|
{
|
|
3260
3150
|
"kind": "field",
|
|
3261
|
-
"name": "
|
|
3151
|
+
"name": "fieldMetadata",
|
|
3262
3152
|
"type": {
|
|
3263
|
-
"text": "
|
|
3153
|
+
"text": "MetadataDetail[] | string[]"
|
|
3264
3154
|
},
|
|
3265
|
-
"
|
|
3266
|
-
"default": "0",
|
|
3267
|
-
"inheritedFrom": {
|
|
3268
|
-
"name": "Accordion",
|
|
3269
|
-
"module": "src/accordion/accordion.ts"
|
|
3270
|
-
}
|
|
3155
|
+
"default": "[]"
|
|
3271
3156
|
},
|
|
3272
3157
|
{
|
|
3273
3158
|
"kind": "field",
|
|
3274
|
-
"name": "
|
|
3159
|
+
"name": "isRecording",
|
|
3275
3160
|
"type": {
|
|
3276
|
-
"text": "
|
|
3161
|
+
"text": "boolean"
|
|
3277
3162
|
},
|
|
3278
|
-
"
|
|
3279
|
-
"inheritedFrom": {
|
|
3280
|
-
"name": "Accordion",
|
|
3281
|
-
"module": "src/accordion/accordion.ts"
|
|
3282
|
-
}
|
|
3163
|
+
"default": "false"
|
|
3283
3164
|
},
|
|
3284
3165
|
{
|
|
3285
3166
|
"kind": "field",
|
|
3286
|
-
"name": "
|
|
3287
|
-
"
|
|
3288
|
-
|
|
3289
|
-
"name": "Accordion",
|
|
3290
|
-
"module": "src/accordion/accordion.ts"
|
|
3291
|
-
}
|
|
3292
|
-
},
|
|
3293
|
-
{
|
|
3294
|
-
"kind": "method",
|
|
3295
|
-
"name": "findExpandedItem",
|
|
3296
|
-
"privacy": "private",
|
|
3297
|
-
"return": {
|
|
3298
|
-
"type": {
|
|
3299
|
-
"text": "AccordionItem | null"
|
|
3300
|
-
}
|
|
3167
|
+
"name": "textAreaRef",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "HTMLTextAreaElement"
|
|
3301
3170
|
},
|
|
3302
|
-
"
|
|
3303
|
-
"name": "Accordion",
|
|
3304
|
-
"module": "src/accordion/accordion.ts"
|
|
3305
|
-
}
|
|
3171
|
+
"privacy": "public"
|
|
3306
3172
|
},
|
|
3307
3173
|
{
|
|
3308
3174
|
"kind": "field",
|
|
3309
|
-
"name": "
|
|
3310
|
-
"
|
|
3311
|
-
|
|
3312
|
-
"name": "Accordion",
|
|
3313
|
-
"module": "src/accordion/accordion.ts"
|
|
3314
|
-
}
|
|
3315
|
-
},
|
|
3316
|
-
{
|
|
3317
|
-
"kind": "method",
|
|
3318
|
-
"name": "resetItems",
|
|
3319
|
-
"privacy": "private",
|
|
3320
|
-
"return": {
|
|
3321
|
-
"type": {
|
|
3322
|
-
"text": "void"
|
|
3323
|
-
}
|
|
3175
|
+
"name": "stopRecording",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "(() => void) | null"
|
|
3324
3178
|
},
|
|
3325
|
-
"
|
|
3326
|
-
|
|
3327
|
-
"module": "src/accordion/accordion.ts"
|
|
3328
|
-
}
|
|
3179
|
+
"privacy": "private",
|
|
3180
|
+
"default": "null"
|
|
3329
3181
|
},
|
|
3330
3182
|
{
|
|
3331
3183
|
"kind": "field",
|
|
3332
|
-
"name": "
|
|
3184
|
+
"name": "speechApplyDebounceTimer",
|
|
3185
|
+
"type": {
|
|
3186
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3187
|
+
},
|
|
3333
3188
|
"privacy": "private",
|
|
3334
|
-
"
|
|
3335
|
-
"name": "Accordion",
|
|
3336
|
-
"module": "src/accordion/accordion.ts"
|
|
3337
|
-
}
|
|
3189
|
+
"default": "null"
|
|
3338
3190
|
},
|
|
3339
3191
|
{
|
|
3340
3192
|
"kind": "field",
|
|
3341
|
-
"name": "
|
|
3342
|
-
"
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
}
|
|
3193
|
+
"name": "speechAvailable",
|
|
3194
|
+
"type": {
|
|
3195
|
+
"text": "boolean"
|
|
3196
|
+
},
|
|
3197
|
+
"readonly": true
|
|
3347
3198
|
},
|
|
3348
3199
|
{
|
|
3349
|
-
"kind": "
|
|
3350
|
-
"name": "
|
|
3351
|
-
"
|
|
3352
|
-
|
|
3353
|
-
"type": {
|
|
3354
|
-
"text": "Array<string | null>"
|
|
3355
|
-
}
|
|
3200
|
+
"kind": "field",
|
|
3201
|
+
"name": "criteriaChips",
|
|
3202
|
+
"type": {
|
|
3203
|
+
"text": "CriteriaChip[]"
|
|
3356
3204
|
},
|
|
3357
|
-
"
|
|
3358
|
-
"name": "Accordion",
|
|
3359
|
-
"module": "src/accordion/accordion.ts"
|
|
3360
|
-
}
|
|
3205
|
+
"readonly": true
|
|
3361
3206
|
},
|
|
3362
3207
|
{
|
|
3363
3208
|
"kind": "method",
|
|
3364
|
-
"name": "
|
|
3209
|
+
"name": "getFieldLabel",
|
|
3365
3210
|
"privacy": "private",
|
|
3366
3211
|
"return": {
|
|
3367
3212
|
"type": {
|
|
3368
|
-
"text": "
|
|
3213
|
+
"text": "string"
|
|
3369
3214
|
}
|
|
3370
3215
|
},
|
|
3371
|
-
"
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
"name": "handleItemFocus",
|
|
3388
|
-
"privacy": "private",
|
|
3389
|
-
"inheritedFrom": {
|
|
3390
|
-
"name": "Accordion",
|
|
3391
|
-
"module": "src/accordion/accordion.ts"
|
|
3216
|
+
"parameters": [
|
|
3217
|
+
{
|
|
3218
|
+
"name": "fieldName",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "string"
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
]
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"kind": "method",
|
|
3227
|
+
"name": "toggleCriteriaView",
|
|
3228
|
+
"return": {
|
|
3229
|
+
"type": {
|
|
3230
|
+
"text": "void"
|
|
3231
|
+
}
|
|
3392
3232
|
}
|
|
3393
3233
|
},
|
|
3394
3234
|
{
|
|
3395
3235
|
"kind": "method",
|
|
3396
|
-
"name": "
|
|
3397
|
-
"privacy": "private",
|
|
3236
|
+
"name": "removeChip",
|
|
3398
3237
|
"return": {
|
|
3399
3238
|
"type": {
|
|
3400
3239
|
"text": "void"
|
|
@@ -3402,31 +3241,49 @@
|
|
|
3402
3241
|
},
|
|
3403
3242
|
"parameters": [
|
|
3404
3243
|
{
|
|
3405
|
-
"name": "
|
|
3244
|
+
"name": "groupIndex",
|
|
3245
|
+
"type": {
|
|
3246
|
+
"text": "number"
|
|
3247
|
+
}
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"name": "clauseIndex",
|
|
3406
3251
|
"type": {
|
|
3407
3252
|
"text": "number"
|
|
3408
3253
|
}
|
|
3409
3254
|
}
|
|
3410
|
-
]
|
|
3411
|
-
"inheritedFrom": {
|
|
3412
|
-
"name": "Accordion",
|
|
3413
|
-
"module": "src/accordion/accordion.ts"
|
|
3414
|
-
}
|
|
3255
|
+
]
|
|
3415
3256
|
},
|
|
3416
3257
|
{
|
|
3417
3258
|
"kind": "method",
|
|
3418
|
-
"name": "
|
|
3419
|
-
"privacy": "private",
|
|
3259
|
+
"name": "clearChips",
|
|
3420
3260
|
"return": {
|
|
3421
3261
|
"type": {
|
|
3422
3262
|
"text": "void"
|
|
3423
3263
|
}
|
|
3424
|
-
},
|
|
3425
|
-
"inheritedFrom": {
|
|
3426
|
-
"name": "Accordion",
|
|
3427
|
-
"module": "src/accordion/accordion.ts"
|
|
3428
3264
|
}
|
|
3429
3265
|
},
|
|
3266
|
+
{
|
|
3267
|
+
"kind": "method",
|
|
3268
|
+
"name": "handleSubmit"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "method",
|
|
3272
|
+
"name": "handleBlur"
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "method",
|
|
3276
|
+
"name": "clear"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"kind": "method",
|
|
3280
|
+
"name": "toggleSpeechInput"
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"kind": "method",
|
|
3284
|
+
"name": "clearSpeechApplyDebounce",
|
|
3285
|
+
"privacy": "private"
|
|
3286
|
+
},
|
|
3430
3287
|
{
|
|
3431
3288
|
"kind": "field",
|
|
3432
3289
|
"name": "_presentation",
|
|
@@ -3541,26 +3398,48 @@
|
|
|
3541
3398
|
],
|
|
3542
3399
|
"events": [
|
|
3543
3400
|
{
|
|
3544
|
-
"description": "
|
|
3545
|
-
"name": "
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3401
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3402
|
+
"name": "criteria-changed"
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3406
|
+
"name": "validation-errors"
|
|
3550
3407
|
}
|
|
3551
|
-
]
|
|
3408
|
+
],
|
|
3409
|
+
"attributes": [
|
|
3410
|
+
{
|
|
3411
|
+
"name": "placeholder",
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "string"
|
|
3414
|
+
},
|
|
3415
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3416
|
+
"fieldName": "placeholder"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "boolean"
|
|
3421
|
+
},
|
|
3422
|
+
"fieldName": "disabled"
|
|
3423
|
+
}
|
|
3424
|
+
],
|
|
3425
|
+
"superclass": {
|
|
3426
|
+
"name": "FoundationElement",
|
|
3427
|
+
"package": "@microsoft/fast-foundation"
|
|
3428
|
+
},
|
|
3429
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3430
|
+
"customElement": true
|
|
3552
3431
|
},
|
|
3553
3432
|
{
|
|
3554
3433
|
"kind": "variable",
|
|
3555
|
-
"name": "
|
|
3434
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3556
3435
|
"type": {
|
|
3557
3436
|
"text": "ShadowRootInit"
|
|
3558
3437
|
},
|
|
3559
|
-
"default": "
|
|
3438
|
+
"default": "undefined"
|
|
3560
3439
|
},
|
|
3561
3440
|
{
|
|
3562
3441
|
"kind": "variable",
|
|
3563
|
-
"name": "
|
|
3442
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3564
3443
|
"type": {
|
|
3565
3444
|
"text": "object"
|
|
3566
3445
|
},
|
|
@@ -3568,57 +3447,103 @@
|
|
|
3568
3447
|
},
|
|
3569
3448
|
{
|
|
3570
3449
|
"kind": "variable",
|
|
3571
|
-
"name": "
|
|
3572
|
-
"description": "The Foundation Accordion",
|
|
3573
|
-
"privacy": "public"
|
|
3450
|
+
"name": "foundationAiCriteriaSearch"
|
|
3574
3451
|
}
|
|
3575
3452
|
],
|
|
3576
3453
|
"exports": [
|
|
3577
3454
|
{
|
|
3578
3455
|
"kind": "js",
|
|
3579
|
-
"name": "
|
|
3456
|
+
"name": "AiCriteriaSearch",
|
|
3580
3457
|
"declaration": {
|
|
3581
|
-
"name": "
|
|
3582
|
-
"module": "src/
|
|
3458
|
+
"name": "AiCriteriaSearch",
|
|
3459
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3583
3460
|
}
|
|
3584
3461
|
},
|
|
3585
3462
|
{
|
|
3586
3463
|
"kind": "js",
|
|
3587
|
-
"name": "
|
|
3464
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3588
3465
|
"declaration": {
|
|
3589
|
-
"name": "
|
|
3590
|
-
"module": "src/
|
|
3466
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3467
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3591
3468
|
}
|
|
3592
3469
|
},
|
|
3593
3470
|
{
|
|
3594
3471
|
"kind": "js",
|
|
3595
|
-
"name": "
|
|
3472
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3596
3473
|
"declaration": {
|
|
3597
|
-
"name": "
|
|
3598
|
-
"module": "src/
|
|
3474
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3475
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3599
3476
|
}
|
|
3600
3477
|
},
|
|
3601
3478
|
{
|
|
3602
3479
|
"kind": "js",
|
|
3603
|
-
"name": "
|
|
3480
|
+
"name": "foundationAiCriteriaSearch",
|
|
3604
3481
|
"declaration": {
|
|
3605
|
-
"name": "
|
|
3606
|
-
"module": "src/
|
|
3482
|
+
"name": "foundationAiCriteriaSearch",
|
|
3483
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3607
3484
|
}
|
|
3608
3485
|
}
|
|
3609
3486
|
]
|
|
3610
3487
|
},
|
|
3611
3488
|
{
|
|
3612
3489
|
"kind": "javascript-module",
|
|
3613
|
-
"path": "src/
|
|
3490
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3614
3491
|
"declarations": [],
|
|
3615
3492
|
"exports": [
|
|
3493
|
+
{
|
|
3494
|
+
"kind": "js",
|
|
3495
|
+
"name": "AiCriteriaSearch",
|
|
3496
|
+
"declaration": {
|
|
3497
|
+
"name": "AiCriteriaSearch",
|
|
3498
|
+
"module": "./ai-criteria-search"
|
|
3499
|
+
}
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"kind": "js",
|
|
3503
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3504
|
+
"declaration": {
|
|
3505
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3506
|
+
"module": "./ai-criteria-search"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"kind": "js",
|
|
3511
|
+
"name": "foundationAiCriteriaSearch",
|
|
3512
|
+
"declaration": {
|
|
3513
|
+
"name": "foundationAiCriteriaSearch",
|
|
3514
|
+
"module": "./ai-criteria-search"
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"kind": "js",
|
|
3519
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3520
|
+
"declaration": {
|
|
3521
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3522
|
+
"module": "./ai-criteria-search"
|
|
3523
|
+
}
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"kind": "js",
|
|
3527
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3528
|
+
"declaration": {
|
|
3529
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3530
|
+
"module": "./ai-criteria-search.styles"
|
|
3531
|
+
}
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"kind": "js",
|
|
3535
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3536
|
+
"declaration": {
|
|
3537
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3538
|
+
"module": "./ai-criteria-search.template"
|
|
3539
|
+
}
|
|
3540
|
+
},
|
|
3616
3541
|
{
|
|
3617
3542
|
"kind": "js",
|
|
3618
3543
|
"name": "*",
|
|
3619
3544
|
"declaration": {
|
|
3620
3545
|
"name": "*",
|
|
3621
|
-
"package": "./
|
|
3546
|
+
"package": "./validation/criteria-ir"
|
|
3622
3547
|
}
|
|
3623
3548
|
},
|
|
3624
3549
|
{
|
|
@@ -3626,7 +3551,7 @@
|
|
|
3626
3551
|
"name": "*",
|
|
3627
3552
|
"declaration": {
|
|
3628
3553
|
"name": "*",
|
|
3629
|
-
"package": "./
|
|
3554
|
+
"package": "./validation/operator-map"
|
|
3630
3555
|
}
|
|
3631
3556
|
},
|
|
3632
3557
|
{
|
|
@@ -3634,7 +3559,82 @@
|
|
|
3634
3559
|
"name": "*",
|
|
3635
3560
|
"declaration": {
|
|
3636
3561
|
"name": "*",
|
|
3637
|
-
"package": "./
|
|
3562
|
+
"package": "./validation/schema-validator"
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3565
|
+
]
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"kind": "javascript-module",
|
|
3569
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3570
|
+
"declarations": [
|
|
3571
|
+
{
|
|
3572
|
+
"kind": "function",
|
|
3573
|
+
"name": "formatValidationErrors",
|
|
3574
|
+
"return": {
|
|
3575
|
+
"type": {
|
|
3576
|
+
"text": "string"
|
|
3577
|
+
}
|
|
3578
|
+
},
|
|
3579
|
+
"parameters": [
|
|
3580
|
+
{
|
|
3581
|
+
"name": "errors",
|
|
3582
|
+
"type": {
|
|
3583
|
+
"text": "ValidationError[]"
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
],
|
|
3587
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"kind": "function",
|
|
3591
|
+
"name": "showCriteriaError",
|
|
3592
|
+
"return": {
|
|
3593
|
+
"type": {
|
|
3594
|
+
"text": "void"
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3597
|
+
"parameters": [
|
|
3598
|
+
{
|
|
3599
|
+
"name": "title",
|
|
3600
|
+
"type": {
|
|
3601
|
+
"text": "string"
|
|
3602
|
+
},
|
|
3603
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"name": "body",
|
|
3607
|
+
"type": {
|
|
3608
|
+
"text": "string"
|
|
3609
|
+
},
|
|
3610
|
+
"description": "Error message to display"
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"name": "tagName",
|
|
3614
|
+
"type": {
|
|
3615
|
+
"text": "string"
|
|
3616
|
+
},
|
|
3617
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3618
|
+
}
|
|
3619
|
+
],
|
|
3620
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3621
|
+
}
|
|
3622
|
+
],
|
|
3623
|
+
"exports": [
|
|
3624
|
+
{
|
|
3625
|
+
"kind": "js",
|
|
3626
|
+
"name": "formatValidationErrors",
|
|
3627
|
+
"declaration": {
|
|
3628
|
+
"name": "formatValidationErrors",
|
|
3629
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3630
|
+
}
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
"kind": "js",
|
|
3634
|
+
"name": "showCriteriaError",
|
|
3635
|
+
"declaration": {
|
|
3636
|
+
"name": "showCriteriaError",
|
|
3637
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3638
3638
|
}
|
|
3639
3639
|
}
|
|
3640
3640
|
]
|