@genesislcap/foundation-ui 15.79.2 → 15.80.0-FUI-2666.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +673 -673
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +10 -10
- package/package.json +17 -17
|
@@ -2645,208 +2645,275 @@
|
|
|
2645
2645
|
},
|
|
2646
2646
|
{
|
|
2647
2647
|
"kind": "javascript-module",
|
|
2648
|
-
"path": "src/
|
|
2648
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2649
2649
|
"declarations": [
|
|
2650
2650
|
{
|
|
2651
|
-
"kind": "
|
|
2652
|
-
"name": "
|
|
2653
|
-
"
|
|
2651
|
+
"kind": "function",
|
|
2652
|
+
"name": "foundationAccordionStyles",
|
|
2653
|
+
"return": {
|
|
2654
|
+
"type": {
|
|
2655
|
+
"text": "ElementStyles"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2658
|
+
"parameters": [
|
|
2659
|
+
{
|
|
2660
|
+
"name": "context",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ElementDefinitionContext"
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"name": "definition",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "FoundationElementDefinition"
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
]
|
|
2654
2672
|
}
|
|
2655
2673
|
],
|
|
2656
2674
|
"exports": [
|
|
2657
2675
|
{
|
|
2658
2676
|
"kind": "js",
|
|
2659
|
-
"name": "
|
|
2677
|
+
"name": "foundationAccordionStyles",
|
|
2660
2678
|
"declaration": {
|
|
2661
|
-
"name": "
|
|
2662
|
-
"module": "src/
|
|
2679
|
+
"name": "foundationAccordionStyles",
|
|
2680
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2663
2681
|
}
|
|
2664
2682
|
}
|
|
2665
2683
|
]
|
|
2666
2684
|
},
|
|
2667
2685
|
{
|
|
2668
2686
|
"kind": "javascript-module",
|
|
2669
|
-
"path": "src/
|
|
2687
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2670
2688
|
"declarations": [
|
|
2671
2689
|
{
|
|
2672
|
-
"kind": "
|
|
2673
|
-
"name": "
|
|
2674
|
-
"
|
|
2675
|
-
"
|
|
2690
|
+
"kind": "function",
|
|
2691
|
+
"name": "foundationAccordionTemplate",
|
|
2692
|
+
"return": {
|
|
2693
|
+
"type": {
|
|
2694
|
+
"text": "ViewTemplate<Accordion>"
|
|
2695
|
+
}
|
|
2676
2696
|
},
|
|
2677
|
-
"
|
|
2697
|
+
"parameters": [
|
|
2698
|
+
{
|
|
2699
|
+
"name": "context",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"text": "ElementDefinitionContext"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"name": "definition",
|
|
2706
|
+
"type": {
|
|
2707
|
+
"text": "FoundationElementDefinition"
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
]
|
|
2678
2711
|
}
|
|
2679
2712
|
],
|
|
2680
2713
|
"exports": [
|
|
2681
2714
|
{
|
|
2682
2715
|
"kind": "js",
|
|
2683
|
-
"name": "
|
|
2716
|
+
"name": "foundationAccordionTemplate",
|
|
2684
2717
|
"declaration": {
|
|
2685
|
-
"name": "
|
|
2686
|
-
"module": "src/
|
|
2718
|
+
"name": "foundationAccordionTemplate",
|
|
2719
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2687
2720
|
}
|
|
2688
2721
|
}
|
|
2689
2722
|
]
|
|
2690
2723
|
},
|
|
2691
2724
|
{
|
|
2692
2725
|
"kind": "javascript-module",
|
|
2693
|
-
"path": "src/
|
|
2726
|
+
"path": "src/accordion/accordion.ts",
|
|
2694
2727
|
"declarations": [
|
|
2695
2728
|
{
|
|
2696
2729
|
"kind": "class",
|
|
2697
|
-
"description": "
|
|
2698
|
-
"name": "
|
|
2699
|
-
"
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
},
|
|
2730
|
+
"description": "",
|
|
2731
|
+
"name": "Accordion",
|
|
2732
|
+
"superclass": {
|
|
2733
|
+
"name": "FASTAccordion",
|
|
2734
|
+
"package": "@microsoft/fast-foundation"
|
|
2735
|
+
},
|
|
2736
|
+
"tagName": "%%prefix%%-accordion",
|
|
2737
|
+
"customElement": true,
|
|
2738
|
+
"attributes": [
|
|
2707
2739
|
{
|
|
2708
|
-
"
|
|
2709
|
-
"name": "placeholder",
|
|
2740
|
+
"name": "expand-mode",
|
|
2710
2741
|
"type": {
|
|
2711
|
-
"text": "
|
|
2742
|
+
"text": "AccordionExpandMode"
|
|
2712
2743
|
},
|
|
2713
|
-
"
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
"type": {
|
|
2719
|
-
"text": "boolean"
|
|
2744
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2745
|
+
"fieldName": "expandmode",
|
|
2746
|
+
"inheritedFrom": {
|
|
2747
|
+
"name": "Accordion",
|
|
2748
|
+
"module": "src/accordion/accordion.ts"
|
|
2720
2749
|
}
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
"name": "inputValue",
|
|
2725
|
-
"type": {
|
|
2726
|
-
"text": "string"
|
|
2727
|
-
},
|
|
2728
|
-
"default": "''"
|
|
2729
|
-
},
|
|
2750
|
+
}
|
|
2751
|
+
],
|
|
2752
|
+
"members": [
|
|
2730
2753
|
{
|
|
2731
2754
|
"kind": "field",
|
|
2732
|
-
"name": "
|
|
2755
|
+
"name": "expandmode",
|
|
2733
2756
|
"type": {
|
|
2734
|
-
"text": "
|
|
2757
|
+
"text": "AccordionExpandMode"
|
|
2735
2758
|
},
|
|
2736
|
-
"
|
|
2759
|
+
"privacy": "public",
|
|
2760
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2761
|
+
"inheritedFrom": {
|
|
2762
|
+
"name": "Accordion",
|
|
2763
|
+
"module": "src/accordion/accordion.ts"
|
|
2764
|
+
}
|
|
2737
2765
|
},
|
|
2738
2766
|
{
|
|
2739
2767
|
"kind": "field",
|
|
2740
|
-
"name": "
|
|
2768
|
+
"name": "activeid",
|
|
2741
2769
|
"type": {
|
|
2742
2770
|
"text": "string | null"
|
|
2743
2771
|
},
|
|
2744
|
-
"
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
"type": {
|
|
2750
|
-
"text": "CriteriaGroup[]"
|
|
2751
|
-
},
|
|
2752
|
-
"default": "[]"
|
|
2772
|
+
"privacy": "private",
|
|
2773
|
+
"inheritedFrom": {
|
|
2774
|
+
"name": "Accordion",
|
|
2775
|
+
"module": "src/accordion/accordion.ts"
|
|
2776
|
+
}
|
|
2753
2777
|
},
|
|
2754
2778
|
{
|
|
2755
2779
|
"kind": "field",
|
|
2756
|
-
"name": "
|
|
2780
|
+
"name": "activeItemIndex",
|
|
2757
2781
|
"type": {
|
|
2758
|
-
"text": "
|
|
2782
|
+
"text": "number"
|
|
2759
2783
|
},
|
|
2760
|
-
"
|
|
2784
|
+
"privacy": "private",
|
|
2785
|
+
"default": "0",
|
|
2786
|
+
"inheritedFrom": {
|
|
2787
|
+
"name": "Accordion",
|
|
2788
|
+
"module": "src/accordion/accordion.ts"
|
|
2789
|
+
}
|
|
2761
2790
|
},
|
|
2762
2791
|
{
|
|
2763
2792
|
"kind": "field",
|
|
2764
|
-
"name": "
|
|
2793
|
+
"name": "accordionIds",
|
|
2765
2794
|
"type": {
|
|
2766
|
-
"text": "
|
|
2795
|
+
"text": "Array<string | null>"
|
|
2767
2796
|
},
|
|
2768
|
-
"
|
|
2797
|
+
"privacy": "private",
|
|
2798
|
+
"inheritedFrom": {
|
|
2799
|
+
"name": "Accordion",
|
|
2800
|
+
"module": "src/accordion/accordion.ts"
|
|
2801
|
+
}
|
|
2769
2802
|
},
|
|
2770
2803
|
{
|
|
2771
2804
|
"kind": "field",
|
|
2772
|
-
"name": "
|
|
2773
|
-
"
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2805
|
+
"name": "change",
|
|
2806
|
+
"privacy": "private",
|
|
2807
|
+
"inheritedFrom": {
|
|
2808
|
+
"name": "Accordion",
|
|
2809
|
+
"module": "src/accordion/accordion.ts"
|
|
2810
|
+
}
|
|
2777
2811
|
},
|
|
2778
2812
|
{
|
|
2779
|
-
"kind": "
|
|
2780
|
-
"name": "
|
|
2781
|
-
"
|
|
2782
|
-
|
|
2813
|
+
"kind": "method",
|
|
2814
|
+
"name": "findExpandedItem",
|
|
2815
|
+
"privacy": "private",
|
|
2816
|
+
"return": {
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "AccordionItem | null"
|
|
2819
|
+
}
|
|
2783
2820
|
},
|
|
2784
|
-
"
|
|
2821
|
+
"inheritedFrom": {
|
|
2822
|
+
"name": "Accordion",
|
|
2823
|
+
"module": "src/accordion/accordion.ts"
|
|
2824
|
+
}
|
|
2785
2825
|
},
|
|
2786
2826
|
{
|
|
2787
2827
|
"kind": "field",
|
|
2788
|
-
"name": "
|
|
2789
|
-
"type": {
|
|
2790
|
-
"text": "(() => void) | null"
|
|
2791
|
-
},
|
|
2828
|
+
"name": "setItems",
|
|
2792
2829
|
"privacy": "private",
|
|
2793
|
-
"
|
|
2830
|
+
"inheritedFrom": {
|
|
2831
|
+
"name": "Accordion",
|
|
2832
|
+
"module": "src/accordion/accordion.ts"
|
|
2833
|
+
}
|
|
2794
2834
|
},
|
|
2795
2835
|
{
|
|
2796
|
-
"kind": "
|
|
2797
|
-
"name": "
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2800
|
-
},
|
|
2836
|
+
"kind": "method",
|
|
2837
|
+
"name": "resetItems",
|
|
2801
2838
|
"privacy": "private",
|
|
2802
|
-
"
|
|
2839
|
+
"return": {
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "void"
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
"inheritedFrom": {
|
|
2845
|
+
"name": "Accordion",
|
|
2846
|
+
"module": "src/accordion/accordion.ts"
|
|
2847
|
+
}
|
|
2803
2848
|
},
|
|
2804
2849
|
{
|
|
2805
2850
|
"kind": "field",
|
|
2806
|
-
"name": "
|
|
2807
|
-
"
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2851
|
+
"name": "removeItemListeners",
|
|
2852
|
+
"privacy": "private",
|
|
2853
|
+
"inheritedFrom": {
|
|
2854
|
+
"name": "Accordion",
|
|
2855
|
+
"module": "src/accordion/accordion.ts"
|
|
2856
|
+
}
|
|
2811
2857
|
},
|
|
2812
2858
|
{
|
|
2813
2859
|
"kind": "field",
|
|
2814
|
-
"name": "
|
|
2815
|
-
"
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2860
|
+
"name": "activeItemChange",
|
|
2861
|
+
"privacy": "private",
|
|
2862
|
+
"inheritedFrom": {
|
|
2863
|
+
"name": "Accordion",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2865
|
+
}
|
|
2819
2866
|
},
|
|
2820
2867
|
{
|
|
2821
2868
|
"kind": "method",
|
|
2822
|
-
"name": "
|
|
2869
|
+
"name": "getItemIds",
|
|
2823
2870
|
"privacy": "private",
|
|
2824
2871
|
"return": {
|
|
2825
2872
|
"type": {
|
|
2826
|
-
"text": "string"
|
|
2873
|
+
"text": "Array<string | null>"
|
|
2827
2874
|
}
|
|
2828
2875
|
},
|
|
2829
|
-
"
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
"text": "string"
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
]
|
|
2876
|
+
"inheritedFrom": {
|
|
2877
|
+
"name": "Accordion",
|
|
2878
|
+
"module": "src/accordion/accordion.ts"
|
|
2879
|
+
}
|
|
2837
2880
|
},
|
|
2838
2881
|
{
|
|
2839
2882
|
"kind": "method",
|
|
2840
|
-
"name": "
|
|
2883
|
+
"name": "isSingleExpandMode",
|
|
2884
|
+
"privacy": "private",
|
|
2841
2885
|
"return": {
|
|
2842
2886
|
"type": {
|
|
2843
|
-
"text": "
|
|
2887
|
+
"text": "boolean"
|
|
2844
2888
|
}
|
|
2889
|
+
},
|
|
2890
|
+
"inheritedFrom": {
|
|
2891
|
+
"name": "Accordion",
|
|
2892
|
+
"module": "src/accordion/accordion.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "field",
|
|
2897
|
+
"name": "handleItemKeyDown",
|
|
2898
|
+
"privacy": "private",
|
|
2899
|
+
"inheritedFrom": {
|
|
2900
|
+
"name": "Accordion",
|
|
2901
|
+
"module": "src/accordion/accordion.ts"
|
|
2902
|
+
}
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
"kind": "field",
|
|
2906
|
+
"name": "handleItemFocus",
|
|
2907
|
+
"privacy": "private",
|
|
2908
|
+
"inheritedFrom": {
|
|
2909
|
+
"name": "Accordion",
|
|
2910
|
+
"module": "src/accordion/accordion.ts"
|
|
2845
2911
|
}
|
|
2846
2912
|
},
|
|
2847
2913
|
{
|
|
2848
2914
|
"kind": "method",
|
|
2849
|
-
"name": "
|
|
2915
|
+
"name": "adjust",
|
|
2916
|
+
"privacy": "private",
|
|
2850
2917
|
"return": {
|
|
2851
2918
|
"type": {
|
|
2852
2919
|
"text": "void"
|
|
@@ -2854,48 +2921,30 @@
|
|
|
2854
2921
|
},
|
|
2855
2922
|
"parameters": [
|
|
2856
2923
|
{
|
|
2857
|
-
"name": "
|
|
2858
|
-
"type": {
|
|
2859
|
-
"text": "number"
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"name": "clauseIndex",
|
|
2924
|
+
"name": "adjustment",
|
|
2864
2925
|
"type": {
|
|
2865
|
-
"text": "number"
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2868
|
-
]
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
"return": {
|
|
2874
|
-
"type": {
|
|
2875
|
-
"text": "void"
|
|
2876
|
-
}
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "method",
|
|
2881
|
-
"name": "handleSubmit"
|
|
2882
|
-
},
|
|
2883
|
-
{
|
|
2884
|
-
"kind": "method",
|
|
2885
|
-
"name": "handleBlur"
|
|
2886
|
-
},
|
|
2887
|
-
{
|
|
2888
|
-
"kind": "method",
|
|
2889
|
-
"name": "clear"
|
|
2890
|
-
},
|
|
2891
|
-
{
|
|
2892
|
-
"kind": "method",
|
|
2893
|
-
"name": "toggleSpeechInput"
|
|
2926
|
+
"text": "number"
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
],
|
|
2930
|
+
"inheritedFrom": {
|
|
2931
|
+
"name": "Accordion",
|
|
2932
|
+
"module": "src/accordion/accordion.ts"
|
|
2933
|
+
}
|
|
2894
2934
|
},
|
|
2895
2935
|
{
|
|
2896
2936
|
"kind": "method",
|
|
2897
|
-
"name": "
|
|
2898
|
-
"privacy": "private"
|
|
2937
|
+
"name": "focusItem",
|
|
2938
|
+
"privacy": "private",
|
|
2939
|
+
"return": {
|
|
2940
|
+
"type": {
|
|
2941
|
+
"text": "void"
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2944
|
+
"inheritedFrom": {
|
|
2945
|
+
"name": "Accordion",
|
|
2946
|
+
"module": "src/accordion/accordion.ts"
|
|
2947
|
+
}
|
|
2899
2948
|
},
|
|
2900
2949
|
{
|
|
2901
2950
|
"kind": "field",
|
|
@@ -3011,48 +3060,26 @@
|
|
|
3011
3060
|
],
|
|
3012
3061
|
"events": [
|
|
3013
3062
|
{
|
|
3014
|
-
"description": "
|
|
3015
|
-
"name": "
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
}
|
|
3021
|
-
],
|
|
3022
|
-
"attributes": [
|
|
3023
|
-
{
|
|
3024
|
-
"name": "placeholder",
|
|
3025
|
-
"type": {
|
|
3026
|
-
"text": "string"
|
|
3027
|
-
},
|
|
3028
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3029
|
-
"fieldName": "placeholder"
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
"type": {
|
|
3033
|
-
"text": "boolean"
|
|
3034
|
-
},
|
|
3035
|
-
"fieldName": "disabled"
|
|
3063
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3064
|
+
"name": "change",
|
|
3065
|
+
"inheritedFrom": {
|
|
3066
|
+
"name": "Accordion",
|
|
3067
|
+
"module": "src/accordion/accordion.ts"
|
|
3068
|
+
}
|
|
3036
3069
|
}
|
|
3037
|
-
]
|
|
3038
|
-
"superclass": {
|
|
3039
|
-
"name": "FoundationElement",
|
|
3040
|
-
"package": "@microsoft/fast-foundation"
|
|
3041
|
-
},
|
|
3042
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3043
|
-
"customElement": true
|
|
3070
|
+
]
|
|
3044
3071
|
},
|
|
3045
3072
|
{
|
|
3046
3073
|
"kind": "variable",
|
|
3047
|
-
"name": "
|
|
3074
|
+
"name": "foundationAccordionShadowOptions",
|
|
3048
3075
|
"type": {
|
|
3049
3076
|
"text": "ShadowRootInit"
|
|
3050
3077
|
},
|
|
3051
|
-
"default": "
|
|
3078
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3052
3079
|
},
|
|
3053
3080
|
{
|
|
3054
3081
|
"kind": "variable",
|
|
3055
|
-
"name": "
|
|
3082
|
+
"name": "defaultAccordionConfig",
|
|
3056
3083
|
"type": {
|
|
3057
3084
|
"text": "object"
|
|
3058
3085
|
},
|
|
@@ -3060,103 +3087,57 @@
|
|
|
3060
3087
|
},
|
|
3061
3088
|
{
|
|
3062
3089
|
"kind": "variable",
|
|
3063
|
-
"name": "
|
|
3090
|
+
"name": "foundationAccordion",
|
|
3091
|
+
"description": "The Foundation Accordion",
|
|
3092
|
+
"privacy": "public"
|
|
3064
3093
|
}
|
|
3065
3094
|
],
|
|
3066
3095
|
"exports": [
|
|
3067
3096
|
{
|
|
3068
3097
|
"kind": "js",
|
|
3069
|
-
"name": "
|
|
3098
|
+
"name": "Accordion",
|
|
3070
3099
|
"declaration": {
|
|
3071
|
-
"name": "
|
|
3072
|
-
"module": "src/
|
|
3100
|
+
"name": "Accordion",
|
|
3101
|
+
"module": "src/accordion/accordion.ts"
|
|
3073
3102
|
}
|
|
3074
3103
|
},
|
|
3075
3104
|
{
|
|
3076
3105
|
"kind": "js",
|
|
3077
|
-
"name": "
|
|
3106
|
+
"name": "foundationAccordionShadowOptions",
|
|
3078
3107
|
"declaration": {
|
|
3079
|
-
"name": "
|
|
3080
|
-
"module": "src/
|
|
3108
|
+
"name": "foundationAccordionShadowOptions",
|
|
3109
|
+
"module": "src/accordion/accordion.ts"
|
|
3081
3110
|
}
|
|
3082
3111
|
},
|
|
3083
3112
|
{
|
|
3084
3113
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
3114
|
+
"name": "defaultAccordionConfig",
|
|
3086
3115
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"module": "src/
|
|
3116
|
+
"name": "defaultAccordionConfig",
|
|
3117
|
+
"module": "src/accordion/accordion.ts"
|
|
3089
3118
|
}
|
|
3090
3119
|
},
|
|
3091
3120
|
{
|
|
3092
3121
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
3122
|
+
"name": "foundationAccordion",
|
|
3094
3123
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"module": "src/
|
|
3124
|
+
"name": "foundationAccordion",
|
|
3125
|
+
"module": "src/accordion/accordion.ts"
|
|
3097
3126
|
}
|
|
3098
3127
|
}
|
|
3099
3128
|
]
|
|
3100
3129
|
},
|
|
3101
3130
|
{
|
|
3102
3131
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3132
|
+
"path": "src/accordion/index.ts",
|
|
3104
3133
|
"declarations": [],
|
|
3105
3134
|
"exports": [
|
|
3106
|
-
{
|
|
3107
|
-
"kind": "js",
|
|
3108
|
-
"name": "AiCriteriaSearch",
|
|
3109
|
-
"declaration": {
|
|
3110
|
-
"name": "AiCriteriaSearch",
|
|
3111
|
-
"module": "./ai-criteria-search"
|
|
3112
|
-
}
|
|
3113
|
-
},
|
|
3114
|
-
{
|
|
3115
|
-
"kind": "js",
|
|
3116
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3117
|
-
"declaration": {
|
|
3118
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3119
|
-
"module": "./ai-criteria-search"
|
|
3120
|
-
}
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"kind": "js",
|
|
3124
|
-
"name": "foundationAiCriteriaSearch",
|
|
3125
|
-
"declaration": {
|
|
3126
|
-
"name": "foundationAiCriteriaSearch",
|
|
3127
|
-
"module": "./ai-criteria-search"
|
|
3128
|
-
}
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "js",
|
|
3132
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3133
|
-
"declaration": {
|
|
3134
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3135
|
-
"module": "./ai-criteria-search"
|
|
3136
|
-
}
|
|
3137
|
-
},
|
|
3138
|
-
{
|
|
3139
|
-
"kind": "js",
|
|
3140
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3141
|
-
"declaration": {
|
|
3142
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3143
|
-
"module": "./ai-criteria-search.styles"
|
|
3144
|
-
}
|
|
3145
|
-
},
|
|
3146
|
-
{
|
|
3147
|
-
"kind": "js",
|
|
3148
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3149
|
-
"declaration": {
|
|
3150
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3151
|
-
"module": "./ai-criteria-search.template"
|
|
3152
|
-
}
|
|
3153
|
-
},
|
|
3154
3135
|
{
|
|
3155
3136
|
"kind": "js",
|
|
3156
3137
|
"name": "*",
|
|
3157
3138
|
"declaration": {
|
|
3158
3139
|
"name": "*",
|
|
3159
|
-
"package": "./
|
|
3140
|
+
"package": "./accordion.template"
|
|
3160
3141
|
}
|
|
3161
3142
|
},
|
|
3162
3143
|
{
|
|
@@ -3164,7 +3145,7 @@
|
|
|
3164
3145
|
"name": "*",
|
|
3165
3146
|
"declaration": {
|
|
3166
3147
|
"name": "*",
|
|
3167
|
-
"package": "./
|
|
3148
|
+
"package": "./accordion.styles"
|
|
3168
3149
|
}
|
|
3169
3150
|
},
|
|
3170
3151
|
{
|
|
@@ -3172,93 +3153,18 @@
|
|
|
3172
3153
|
"name": "*",
|
|
3173
3154
|
"declaration": {
|
|
3174
3155
|
"name": "*",
|
|
3175
|
-
"package": "./
|
|
3176
|
-
}
|
|
3177
|
-
}
|
|
3178
|
-
]
|
|
3179
|
-
},
|
|
3180
|
-
{
|
|
3181
|
-
"kind": "javascript-module",
|
|
3182
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3183
|
-
"declarations": [
|
|
3184
|
-
{
|
|
3185
|
-
"kind": "function",
|
|
3186
|
-
"name": "formatValidationErrors",
|
|
3187
|
-
"return": {
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "string"
|
|
3190
|
-
}
|
|
3191
|
-
},
|
|
3192
|
-
"parameters": [
|
|
3193
|
-
{
|
|
3194
|
-
"name": "errors",
|
|
3195
|
-
"type": {
|
|
3196
|
-
"text": "ValidationError[]"
|
|
3197
|
-
}
|
|
3198
|
-
}
|
|
3199
|
-
],
|
|
3200
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
"kind": "function",
|
|
3204
|
-
"name": "showCriteriaError",
|
|
3205
|
-
"return": {
|
|
3206
|
-
"type": {
|
|
3207
|
-
"text": "void"
|
|
3208
|
-
}
|
|
3209
|
-
},
|
|
3210
|
-
"parameters": [
|
|
3211
|
-
{
|
|
3212
|
-
"name": "title",
|
|
3213
|
-
"type": {
|
|
3214
|
-
"text": "string"
|
|
3215
|
-
},
|
|
3216
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3217
|
-
},
|
|
3218
|
-
{
|
|
3219
|
-
"name": "body",
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "string"
|
|
3222
|
-
},
|
|
3223
|
-
"description": "Error message to display"
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"name": "tagName",
|
|
3227
|
-
"type": {
|
|
3228
|
-
"text": "string"
|
|
3229
|
-
},
|
|
3230
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3231
|
-
}
|
|
3232
|
-
],
|
|
3233
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3234
|
-
}
|
|
3235
|
-
],
|
|
3236
|
-
"exports": [
|
|
3237
|
-
{
|
|
3238
|
-
"kind": "js",
|
|
3239
|
-
"name": "formatValidationErrors",
|
|
3240
|
-
"declaration": {
|
|
3241
|
-
"name": "formatValidationErrors",
|
|
3242
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3243
|
-
}
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "js",
|
|
3247
|
-
"name": "showCriteriaError",
|
|
3248
|
-
"declaration": {
|
|
3249
|
-
"name": "showCriteriaError",
|
|
3250
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3156
|
+
"package": "./accordion"
|
|
3251
3157
|
}
|
|
3252
3158
|
}
|
|
3253
3159
|
]
|
|
3254
3160
|
},
|
|
3255
3161
|
{
|
|
3256
3162
|
"kind": "javascript-module",
|
|
3257
|
-
"path": "src/
|
|
3163
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3258
3164
|
"declarations": [
|
|
3259
3165
|
{
|
|
3260
3166
|
"kind": "function",
|
|
3261
|
-
"name": "
|
|
3167
|
+
"name": "foundationAiIndicatorStyles",
|
|
3262
3168
|
"return": {
|
|
3263
3169
|
"type": {
|
|
3264
3170
|
"text": "ElementStyles"
|
|
@@ -3283,276 +3189,224 @@
|
|
|
3283
3189
|
"exports": [
|
|
3284
3190
|
{
|
|
3285
3191
|
"kind": "js",
|
|
3286
|
-
"name": "
|
|
3192
|
+
"name": "foundationAiIndicatorStyles",
|
|
3287
3193
|
"declaration": {
|
|
3288
|
-
"name": "
|
|
3289
|
-
"module": "src/
|
|
3194
|
+
"name": "foundationAiIndicatorStyles",
|
|
3195
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3290
3196
|
}
|
|
3291
3197
|
}
|
|
3292
3198
|
]
|
|
3293
3199
|
},
|
|
3294
3200
|
{
|
|
3295
3201
|
"kind": "javascript-module",
|
|
3296
|
-
"path": "src/
|
|
3202
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3297
3203
|
"declarations": [
|
|
3298
|
-
{
|
|
3299
|
-
"kind": "
|
|
3300
|
-
"name": "
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
},
|
|
3306
|
-
"parameters": [
|
|
3307
|
-
{
|
|
3308
|
-
"name": "context",
|
|
3309
|
-
"type": {
|
|
3310
|
-
"text": "ElementDefinitionContext"
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
|
-
{
|
|
3314
|
-
"name": "definition",
|
|
3315
|
-
"type": {
|
|
3316
|
-
"text": "FoundationElementDefinition"
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
]
|
|
3204
|
+
{
|
|
3205
|
+
"kind": "variable",
|
|
3206
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3209
|
+
},
|
|
3210
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3320
3211
|
}
|
|
3321
3212
|
],
|
|
3322
3213
|
"exports": [
|
|
3323
3214
|
{
|
|
3324
3215
|
"kind": "js",
|
|
3325
|
-
"name": "
|
|
3216
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3326
3217
|
"declaration": {
|
|
3327
|
-
"name": "
|
|
3328
|
-
"module": "src/
|
|
3218
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3219
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3329
3220
|
}
|
|
3330
3221
|
}
|
|
3331
3222
|
]
|
|
3332
3223
|
},
|
|
3333
3224
|
{
|
|
3334
3225
|
"kind": "javascript-module",
|
|
3335
|
-
"path": "src/
|
|
3226
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3336
3227
|
"declarations": [
|
|
3337
3228
|
{
|
|
3338
3229
|
"kind": "class",
|
|
3339
3230
|
"description": "",
|
|
3340
|
-
"name": "
|
|
3341
|
-
"
|
|
3342
|
-
"name": "FASTAccordion",
|
|
3343
|
-
"package": "@microsoft/fast-foundation"
|
|
3344
|
-
},
|
|
3345
|
-
"tagName": "%%prefix%%-accordion",
|
|
3346
|
-
"customElement": true,
|
|
3347
|
-
"attributes": [
|
|
3231
|
+
"name": "AiIndicator",
|
|
3232
|
+
"members": [
|
|
3348
3233
|
{
|
|
3349
|
-
"
|
|
3234
|
+
"kind": "field",
|
|
3235
|
+
"name": "providerRegistry",
|
|
3350
3236
|
"type": {
|
|
3351
|
-
"text": "
|
|
3352
|
-
},
|
|
3353
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3354
|
-
"fieldName": "expandmode",
|
|
3355
|
-
"inheritedFrom": {
|
|
3356
|
-
"name": "Accordion",
|
|
3357
|
-
"module": "src/accordion/accordion.ts"
|
|
3237
|
+
"text": "AIProviderRegistry"
|
|
3358
3238
|
}
|
|
3359
|
-
}
|
|
3360
|
-
],
|
|
3361
|
-
"members": [
|
|
3239
|
+
},
|
|
3362
3240
|
{
|
|
3363
3241
|
"kind": "field",
|
|
3364
|
-
"name": "
|
|
3242
|
+
"name": "aiProvider",
|
|
3365
3243
|
"type": {
|
|
3366
|
-
"text": "
|
|
3244
|
+
"text": "AIProvider | undefined"
|
|
3367
3245
|
},
|
|
3368
|
-
"privacy": "
|
|
3369
|
-
"description": "
|
|
3370
|
-
"
|
|
3371
|
-
"name": "Accordion",
|
|
3372
|
-
"module": "src/accordion/accordion.ts"
|
|
3373
|
-
}
|
|
3246
|
+
"privacy": "private",
|
|
3247
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3248
|
+
"readonly": true
|
|
3374
3249
|
},
|
|
3375
3250
|
{
|
|
3376
3251
|
"kind": "field",
|
|
3377
|
-
"name": "
|
|
3252
|
+
"name": "status",
|
|
3378
3253
|
"type": {
|
|
3379
|
-
"text": "
|
|
3254
|
+
"text": "AIStatus | null"
|
|
3380
3255
|
},
|
|
3381
|
-
"
|
|
3382
|
-
"inheritedFrom": {
|
|
3383
|
-
"name": "Accordion",
|
|
3384
|
-
"module": "src/accordion/accordion.ts"
|
|
3385
|
-
}
|
|
3256
|
+
"default": "null"
|
|
3386
3257
|
},
|
|
3387
3258
|
{
|
|
3388
3259
|
"kind": "field",
|
|
3389
|
-
"name": "
|
|
3260
|
+
"name": "open",
|
|
3390
3261
|
"type": {
|
|
3391
|
-
"text": "
|
|
3262
|
+
"text": "boolean"
|
|
3392
3263
|
},
|
|
3393
|
-
"
|
|
3394
|
-
"default": "0",
|
|
3395
|
-
"inheritedFrom": {
|
|
3396
|
-
"name": "Accordion",
|
|
3397
|
-
"module": "src/accordion/accordion.ts"
|
|
3398
|
-
}
|
|
3264
|
+
"default": "false"
|
|
3399
3265
|
},
|
|
3400
3266
|
{
|
|
3401
3267
|
"kind": "field",
|
|
3402
|
-
"name": "
|
|
3268
|
+
"name": "state",
|
|
3403
3269
|
"type": {
|
|
3404
|
-
"text": "
|
|
3270
|
+
"text": "AIIndicatorState"
|
|
3405
3271
|
},
|
|
3406
|
-
"
|
|
3407
|
-
"inheritedFrom": {
|
|
3408
|
-
"name": "Accordion",
|
|
3409
|
-
"module": "src/accordion/accordion.ts"
|
|
3410
|
-
}
|
|
3272
|
+
"default": "'none'"
|
|
3411
3273
|
},
|
|
3412
3274
|
{
|
|
3413
3275
|
"kind": "field",
|
|
3414
|
-
"name": "
|
|
3415
|
-
"
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
}
|
|
3276
|
+
"name": "isInstalling",
|
|
3277
|
+
"type": {
|
|
3278
|
+
"text": "boolean"
|
|
3279
|
+
},
|
|
3280
|
+
"default": "false"
|
|
3420
3281
|
},
|
|
3421
3282
|
{
|
|
3422
|
-
"kind": "
|
|
3423
|
-
"name": "
|
|
3283
|
+
"kind": "field",
|
|
3284
|
+
"name": "pollTimer",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3287
|
+
},
|
|
3424
3288
|
"privacy": "private",
|
|
3425
|
-
"
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3289
|
+
"default": "null"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"kind": "field",
|
|
3293
|
+
"name": "clickOutside",
|
|
3294
|
+
"privacy": "private"
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "chromeStatusLabel",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "string | null"
|
|
3429
3301
|
},
|
|
3430
|
-
"
|
|
3431
|
-
"name": "Accordion",
|
|
3432
|
-
"module": "src/accordion/accordion.ts"
|
|
3433
|
-
}
|
|
3302
|
+
"readonly": true
|
|
3434
3303
|
},
|
|
3435
3304
|
{
|
|
3436
3305
|
"kind": "field",
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3306
|
+
"name": "canInstall",
|
|
3307
|
+
"type": {
|
|
3308
|
+
"text": "boolean"
|
|
3309
|
+
},
|
|
3310
|
+
"readonly": true
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"kind": "field",
|
|
3314
|
+
"name": "isDownloading",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "boolean"
|
|
3317
|
+
},
|
|
3318
|
+
"readonly": true
|
|
3443
3319
|
},
|
|
3444
3320
|
{
|
|
3445
3321
|
"kind": "method",
|
|
3446
|
-
"name": "
|
|
3447
|
-
"privacy": "private",
|
|
3322
|
+
"name": "openChanged",
|
|
3448
3323
|
"return": {
|
|
3449
3324
|
"type": {
|
|
3450
3325
|
"text": "void"
|
|
3451
3326
|
}
|
|
3452
|
-
},
|
|
3453
|
-
"inheritedFrom": {
|
|
3454
|
-
"name": "Accordion",
|
|
3455
|
-
"module": "src/accordion/accordion.ts"
|
|
3456
3327
|
}
|
|
3457
3328
|
},
|
|
3458
3329
|
{
|
|
3459
|
-
"kind": "
|
|
3460
|
-
"name": "
|
|
3330
|
+
"kind": "method",
|
|
3331
|
+
"name": "handleClickOutside",
|
|
3461
3332
|
"privacy": "private",
|
|
3462
|
-
"
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3333
|
+
"parameters": [
|
|
3334
|
+
{
|
|
3335
|
+
"name": "event",
|
|
3336
|
+
"type": {
|
|
3337
|
+
"text": "MouseEvent"
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
]
|
|
3466
3341
|
},
|
|
3467
3342
|
{
|
|
3468
|
-
"kind": "
|
|
3469
|
-
"name": "
|
|
3470
|
-
"privacy": "private",
|
|
3471
|
-
"inheritedFrom": {
|
|
3472
|
-
"name": "Accordion",
|
|
3473
|
-
"module": "src/accordion/accordion.ts"
|
|
3474
|
-
}
|
|
3343
|
+
"kind": "method",
|
|
3344
|
+
"name": "toggleDropdown"
|
|
3475
3345
|
},
|
|
3476
3346
|
{
|
|
3477
3347
|
"kind": "method",
|
|
3478
|
-
"name": "
|
|
3479
|
-
"privacy": "private",
|
|
3348
|
+
"name": "refreshStatus",
|
|
3480
3349
|
"return": {
|
|
3481
3350
|
"type": {
|
|
3482
|
-
"text": "
|
|
3351
|
+
"text": "Promise<void>"
|
|
3483
3352
|
}
|
|
3484
|
-
},
|
|
3485
|
-
"inheritedFrom": {
|
|
3486
|
-
"name": "Accordion",
|
|
3487
|
-
"module": "src/accordion/accordion.ts"
|
|
3488
3353
|
}
|
|
3489
3354
|
},
|
|
3490
3355
|
{
|
|
3491
3356
|
"kind": "method",
|
|
3492
|
-
"name": "
|
|
3357
|
+
"name": "deriveState",
|
|
3493
3358
|
"privacy": "private",
|
|
3494
3359
|
"return": {
|
|
3495
3360
|
"type": {
|
|
3496
|
-
"text": "
|
|
3361
|
+
"text": "AIIndicatorState"
|
|
3497
3362
|
}
|
|
3498
3363
|
},
|
|
3499
|
-
"
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3364
|
+
"parameters": [
|
|
3365
|
+
{
|
|
3366
|
+
"name": "s",
|
|
3367
|
+
"type": {
|
|
3368
|
+
"text": "AIStatus | null"
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
]
|
|
3503
3372
|
},
|
|
3504
3373
|
{
|
|
3505
|
-
"kind": "
|
|
3506
|
-
"name": "
|
|
3374
|
+
"kind": "method",
|
|
3375
|
+
"name": "maybeStartPolling",
|
|
3507
3376
|
"privacy": "private",
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3377
|
+
"return": {
|
|
3378
|
+
"type": {
|
|
3379
|
+
"text": "void"
|
|
3380
|
+
}
|
|
3511
3381
|
}
|
|
3512
3382
|
},
|
|
3513
3383
|
{
|
|
3514
|
-
"kind": "
|
|
3515
|
-
"name": "
|
|
3384
|
+
"kind": "method",
|
|
3385
|
+
"name": "startPolling",
|
|
3516
3386
|
"privacy": "private",
|
|
3517
|
-
"
|
|
3518
|
-
"
|
|
3519
|
-
|
|
3387
|
+
"return": {
|
|
3388
|
+
"type": {
|
|
3389
|
+
"text": "void"
|
|
3390
|
+
}
|
|
3520
3391
|
}
|
|
3521
3392
|
},
|
|
3522
3393
|
{
|
|
3523
3394
|
"kind": "method",
|
|
3524
|
-
"name": "
|
|
3395
|
+
"name": "stopPolling",
|
|
3525
3396
|
"privacy": "private",
|
|
3526
3397
|
"return": {
|
|
3527
3398
|
"type": {
|
|
3528
3399
|
"text": "void"
|
|
3529
3400
|
}
|
|
3530
|
-
},
|
|
3531
|
-
"parameters": [
|
|
3532
|
-
{
|
|
3533
|
-
"name": "adjustment",
|
|
3534
|
-
"type": {
|
|
3535
|
-
"text": "number"
|
|
3536
|
-
}
|
|
3537
|
-
}
|
|
3538
|
-
],
|
|
3539
|
-
"inheritedFrom": {
|
|
3540
|
-
"name": "Accordion",
|
|
3541
|
-
"module": "src/accordion/accordion.ts"
|
|
3542
3401
|
}
|
|
3543
3402
|
},
|
|
3544
3403
|
{
|
|
3545
3404
|
"kind": "method",
|
|
3546
|
-
"name": "
|
|
3547
|
-
"privacy": "private",
|
|
3405
|
+
"name": "onInstall",
|
|
3548
3406
|
"return": {
|
|
3549
3407
|
"type": {
|
|
3550
|
-
"text": "void"
|
|
3408
|
+
"text": "Promise<void>"
|
|
3551
3409
|
}
|
|
3552
|
-
},
|
|
3553
|
-
"inheritedFrom": {
|
|
3554
|
-
"name": "Accordion",
|
|
3555
|
-
"module": "src/accordion/accordion.ts"
|
|
3556
3410
|
}
|
|
3557
3411
|
},
|
|
3558
3412
|
{
|
|
@@ -3662,182 +3516,150 @@
|
|
|
3662
3516
|
],
|
|
3663
3517
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3664
3518
|
"inheritedFrom": {
|
|
3665
|
-
"name": "FoundationElement",
|
|
3666
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3667
|
-
}
|
|
3668
|
-
}
|
|
3669
|
-
],
|
|
3670
|
-
"events": [
|
|
3671
|
-
{
|
|
3672
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
3673
|
-
"name": "change",
|
|
3674
|
-
"inheritedFrom": {
|
|
3675
|
-
"name": "Accordion",
|
|
3676
|
-
"module": "src/accordion/accordion.ts"
|
|
3519
|
+
"name": "FoundationElement",
|
|
3520
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3677
3521
|
}
|
|
3678
3522
|
}
|
|
3679
|
-
]
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
"name": "foundationAccordionShadowOptions",
|
|
3684
|
-
"type": {
|
|
3685
|
-
"text": "ShadowRootInit"
|
|
3686
|
-
},
|
|
3687
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3688
|
-
},
|
|
3689
|
-
{
|
|
3690
|
-
"kind": "variable",
|
|
3691
|
-
"name": "defaultAccordionConfig",
|
|
3692
|
-
"type": {
|
|
3693
|
-
"text": "object"
|
|
3523
|
+
],
|
|
3524
|
+
"superclass": {
|
|
3525
|
+
"name": "FoundationElement",
|
|
3526
|
+
"package": "@microsoft/fast-foundation"
|
|
3694
3527
|
},
|
|
3695
|
-
"
|
|
3528
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3529
|
+
"customElement": true
|
|
3696
3530
|
},
|
|
3697
3531
|
{
|
|
3698
3532
|
"kind": "variable",
|
|
3699
|
-
"name": "
|
|
3700
|
-
"description": "The Foundation Accordion",
|
|
3701
|
-
"privacy": "public"
|
|
3533
|
+
"name": "foundationAiIndicator"
|
|
3702
3534
|
}
|
|
3703
3535
|
],
|
|
3704
3536
|
"exports": [
|
|
3705
3537
|
{
|
|
3706
3538
|
"kind": "js",
|
|
3707
|
-
"name": "
|
|
3539
|
+
"name": "AiIndicator",
|
|
3708
3540
|
"declaration": {
|
|
3709
|
-
"name": "
|
|
3710
|
-
"module": "src/
|
|
3541
|
+
"name": "AiIndicator",
|
|
3542
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3711
3543
|
}
|
|
3712
3544
|
},
|
|
3713
3545
|
{
|
|
3714
3546
|
"kind": "js",
|
|
3715
|
-
"name": "
|
|
3547
|
+
"name": "foundationAiIndicator",
|
|
3716
3548
|
"declaration": {
|
|
3717
|
-
"name": "
|
|
3718
|
-
"module": "src/
|
|
3549
|
+
"name": "foundationAiIndicator",
|
|
3550
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
]
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"kind": "javascript-module",
|
|
3557
|
+
"path": "src/ai-indicator/index.ts",
|
|
3558
|
+
"declarations": [],
|
|
3559
|
+
"exports": [
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "js",
|
|
3562
|
+
"name": "AiIndicator",
|
|
3563
|
+
"declaration": {
|
|
3564
|
+
"name": "AiIndicator",
|
|
3565
|
+
"module": "./ai-indicator"
|
|
3719
3566
|
}
|
|
3720
3567
|
},
|
|
3721
3568
|
{
|
|
3722
3569
|
"kind": "js",
|
|
3723
|
-
"name": "
|
|
3570
|
+
"name": "foundationAiIndicator",
|
|
3724
3571
|
"declaration": {
|
|
3725
|
-
"name": "
|
|
3726
|
-
"module": "
|
|
3572
|
+
"name": "foundationAiIndicator",
|
|
3573
|
+
"module": "./ai-indicator"
|
|
3727
3574
|
}
|
|
3728
3575
|
},
|
|
3729
3576
|
{
|
|
3730
3577
|
"kind": "js",
|
|
3731
|
-
"name": "
|
|
3578
|
+
"name": "type",
|
|
3732
3579
|
"declaration": {
|
|
3733
|
-
"name": "
|
|
3734
|
-
"module": "
|
|
3580
|
+
"name": "type",
|
|
3581
|
+
"module": "./ai-indicator"
|
|
3735
3582
|
}
|
|
3736
|
-
}
|
|
3737
|
-
]
|
|
3738
|
-
},
|
|
3739
|
-
{
|
|
3740
|
-
"kind": "javascript-module",
|
|
3741
|
-
"path": "src/accordion/index.ts",
|
|
3742
|
-
"declarations": [],
|
|
3743
|
-
"exports": [
|
|
3583
|
+
},
|
|
3744
3584
|
{
|
|
3745
3585
|
"kind": "js",
|
|
3746
|
-
"name": "
|
|
3586
|
+
"name": "AIIndicatorState",
|
|
3747
3587
|
"declaration": {
|
|
3748
|
-
"name": "
|
|
3749
|
-
"
|
|
3588
|
+
"name": "AIIndicatorState",
|
|
3589
|
+
"module": "./ai-indicator"
|
|
3750
3590
|
}
|
|
3751
3591
|
},
|
|
3752
3592
|
{
|
|
3753
3593
|
"kind": "js",
|
|
3754
|
-
"name": "
|
|
3594
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3755
3595
|
"declaration": {
|
|
3756
|
-
"name": "
|
|
3757
|
-
"
|
|
3596
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3597
|
+
"module": "./ai-indicator.template"
|
|
3758
3598
|
}
|
|
3759
3599
|
},
|
|
3760
3600
|
{
|
|
3761
3601
|
"kind": "js",
|
|
3762
|
-
"name": "
|
|
3602
|
+
"name": "foundationAiIndicatorStyles",
|
|
3763
3603
|
"declaration": {
|
|
3764
|
-
"name": "
|
|
3765
|
-
"
|
|
3604
|
+
"name": "foundationAiIndicatorStyles",
|
|
3605
|
+
"module": "./ai-indicator.styles"
|
|
3766
3606
|
}
|
|
3767
3607
|
}
|
|
3768
3608
|
]
|
|
3769
3609
|
},
|
|
3770
3610
|
{
|
|
3771
3611
|
"kind": "javascript-module",
|
|
3772
|
-
"path": "src/ai-
|
|
3612
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3773
3613
|
"declarations": [
|
|
3774
3614
|
{
|
|
3775
|
-
"kind": "
|
|
3776
|
-
"name": "
|
|
3777
|
-
"
|
|
3778
|
-
"type": {
|
|
3779
|
-
"text": "ElementStyles"
|
|
3780
|
-
}
|
|
3781
|
-
},
|
|
3782
|
-
"parameters": [
|
|
3783
|
-
{
|
|
3784
|
-
"name": "context",
|
|
3785
|
-
"type": {
|
|
3786
|
-
"text": "ElementDefinitionContext"
|
|
3787
|
-
}
|
|
3788
|
-
},
|
|
3789
|
-
{
|
|
3790
|
-
"name": "definition",
|
|
3791
|
-
"type": {
|
|
3792
|
-
"text": "FoundationElementDefinition"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3615
|
+
"kind": "variable",
|
|
3616
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3617
|
+
"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`"
|
|
3796
3618
|
}
|
|
3797
3619
|
],
|
|
3798
3620
|
"exports": [
|
|
3799
3621
|
{
|
|
3800
3622
|
"kind": "js",
|
|
3801
|
-
"name": "
|
|
3623
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3802
3624
|
"declaration": {
|
|
3803
|
-
"name": "
|
|
3804
|
-
"module": "src/ai-
|
|
3625
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3626
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3805
3627
|
}
|
|
3806
3628
|
}
|
|
3807
3629
|
]
|
|
3808
3630
|
},
|
|
3809
3631
|
{
|
|
3810
3632
|
"kind": "javascript-module",
|
|
3811
|
-
"path": "src/ai-
|
|
3633
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3812
3634
|
"declarations": [
|
|
3813
3635
|
{
|
|
3814
3636
|
"kind": "variable",
|
|
3815
|
-
"name": "
|
|
3637
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3816
3638
|
"type": {
|
|
3817
|
-
"text": "ViewTemplate<
|
|
3639
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3818
3640
|
},
|
|
3819
|
-
"default": "html`\n ${(x) =>
|
|
3641
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3820
3642
|
}
|
|
3821
3643
|
],
|
|
3822
3644
|
"exports": [
|
|
3823
3645
|
{
|
|
3824
3646
|
"kind": "js",
|
|
3825
|
-
"name": "
|
|
3647
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3826
3648
|
"declaration": {
|
|
3827
|
-
"name": "
|
|
3828
|
-
"module": "src/ai-
|
|
3649
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3650
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3829
3651
|
}
|
|
3830
3652
|
}
|
|
3831
3653
|
]
|
|
3832
3654
|
},
|
|
3833
3655
|
{
|
|
3834
3656
|
"kind": "javascript-module",
|
|
3835
|
-
"path": "src/ai-
|
|
3657
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3836
3658
|
"declarations": [
|
|
3837
3659
|
{
|
|
3838
3660
|
"kind": "class",
|
|
3839
|
-
"description": "",
|
|
3840
|
-
"name": "
|
|
3661
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3662
|
+
"name": "AiCriteriaSearch",
|
|
3841
3663
|
"members": [
|
|
3842
3664
|
{
|
|
3843
3665
|
"kind": "field",
|
|
@@ -3848,25 +3670,54 @@
|
|
|
3848
3670
|
},
|
|
3849
3671
|
{
|
|
3850
3672
|
"kind": "field",
|
|
3851
|
-
"name": "
|
|
3673
|
+
"name": "placeholder",
|
|
3852
3674
|
"type": {
|
|
3853
|
-
"text": "
|
|
3675
|
+
"text": "string"
|
|
3854
3676
|
},
|
|
3855
|
-
"
|
|
3856
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3857
|
-
"readonly": true
|
|
3677
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3858
3678
|
},
|
|
3859
3679
|
{
|
|
3860
3680
|
"kind": "field",
|
|
3861
|
-
"name": "
|
|
3681
|
+
"name": "disabled",
|
|
3862
3682
|
"type": {
|
|
3863
|
-
"text": "
|
|
3683
|
+
"text": "boolean"
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"kind": "field",
|
|
3688
|
+
"name": "inputValue",
|
|
3689
|
+
"type": {
|
|
3690
|
+
"text": "string"
|
|
3691
|
+
},
|
|
3692
|
+
"default": "''"
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
"kind": "field",
|
|
3696
|
+
"name": "isInterpreting",
|
|
3697
|
+
"type": {
|
|
3698
|
+
"text": "boolean"
|
|
3699
|
+
},
|
|
3700
|
+
"default": "false"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"kind": "field",
|
|
3704
|
+
"name": "lastValidCriteria",
|
|
3705
|
+
"type": {
|
|
3706
|
+
"text": "string | null"
|
|
3864
3707
|
},
|
|
3865
3708
|
"default": "null"
|
|
3866
3709
|
},
|
|
3867
3710
|
{
|
|
3868
3711
|
"kind": "field",
|
|
3869
|
-
"name": "
|
|
3712
|
+
"name": "activeGroups",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "CriteriaGroup[]"
|
|
3715
|
+
},
|
|
3716
|
+
"default": "[]"
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
"kind": "field",
|
|
3720
|
+
"name": "showingChips",
|
|
3870
3721
|
"type": {
|
|
3871
3722
|
"text": "boolean"
|
|
3872
3723
|
},
|
|
@@ -3874,15 +3725,15 @@
|
|
|
3874
3725
|
},
|
|
3875
3726
|
{
|
|
3876
3727
|
"kind": "field",
|
|
3877
|
-
"name": "
|
|
3728
|
+
"name": "fieldMetadata",
|
|
3878
3729
|
"type": {
|
|
3879
|
-
"text": "
|
|
3730
|
+
"text": "MetadataDetail[] | string[]"
|
|
3880
3731
|
},
|
|
3881
|
-
"default": "
|
|
3732
|
+
"default": "[]"
|
|
3882
3733
|
},
|
|
3883
3734
|
{
|
|
3884
3735
|
"kind": "field",
|
|
3885
|
-
"name": "
|
|
3736
|
+
"name": "isRecording",
|
|
3886
3737
|
"type": {
|
|
3887
3738
|
"text": "boolean"
|
|
3888
3739
|
},
|
|
@@ -3890,29 +3741,33 @@
|
|
|
3890
3741
|
},
|
|
3891
3742
|
{
|
|
3892
3743
|
"kind": "field",
|
|
3893
|
-
"name": "
|
|
3744
|
+
"name": "textAreaRef",
|
|
3894
3745
|
"type": {
|
|
3895
|
-
"text": "
|
|
3746
|
+
"text": "HTMLTextAreaElement"
|
|
3896
3747
|
},
|
|
3897
|
-
"privacy": "
|
|
3898
|
-
"default": "null"
|
|
3748
|
+
"privacy": "public"
|
|
3899
3749
|
},
|
|
3900
3750
|
{
|
|
3901
3751
|
"kind": "field",
|
|
3902
|
-
"name": "
|
|
3903
|
-
"
|
|
3752
|
+
"name": "stopRecording",
|
|
3753
|
+
"type": {
|
|
3754
|
+
"text": "(() => void) | null"
|
|
3755
|
+
},
|
|
3756
|
+
"privacy": "private",
|
|
3757
|
+
"default": "null"
|
|
3904
3758
|
},
|
|
3905
3759
|
{
|
|
3906
3760
|
"kind": "field",
|
|
3907
|
-
"name": "
|
|
3761
|
+
"name": "speechApplyDebounceTimer",
|
|
3908
3762
|
"type": {
|
|
3909
|
-
"text": "
|
|
3763
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3910
3764
|
},
|
|
3911
|
-
"
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"default": "null"
|
|
3912
3767
|
},
|
|
3913
3768
|
{
|
|
3914
3769
|
"kind": "field",
|
|
3915
|
-
"name": "
|
|
3770
|
+
"name": "speechAvailable",
|
|
3916
3771
|
"type": {
|
|
3917
3772
|
"text": "boolean"
|
|
3918
3773
|
},
|
|
@@ -3920,69 +3775,65 @@
|
|
|
3920
3775
|
},
|
|
3921
3776
|
{
|
|
3922
3777
|
"kind": "field",
|
|
3923
|
-
"name": "
|
|
3778
|
+
"name": "criteriaChips",
|
|
3924
3779
|
"type": {
|
|
3925
|
-
"text": "
|
|
3780
|
+
"text": "CriteriaChip[]"
|
|
3926
3781
|
},
|
|
3927
3782
|
"readonly": true
|
|
3928
3783
|
},
|
|
3929
3784
|
{
|
|
3930
3785
|
"kind": "method",
|
|
3931
|
-
"name": "
|
|
3786
|
+
"name": "getFieldLabel",
|
|
3787
|
+
"privacy": "private",
|
|
3932
3788
|
"return": {
|
|
3933
3789
|
"type": {
|
|
3934
|
-
"text": "
|
|
3790
|
+
"text": "string"
|
|
3935
3791
|
}
|
|
3936
|
-
}
|
|
3937
|
-
},
|
|
3938
|
-
{
|
|
3939
|
-
"kind": "method",
|
|
3940
|
-
"name": "handleClickOutside",
|
|
3941
|
-
"privacy": "private",
|
|
3792
|
+
},
|
|
3942
3793
|
"parameters": [
|
|
3943
3794
|
{
|
|
3944
|
-
"name": "
|
|
3795
|
+
"name": "fieldName",
|
|
3945
3796
|
"type": {
|
|
3946
|
-
"text": "
|
|
3797
|
+
"text": "string"
|
|
3947
3798
|
}
|
|
3948
3799
|
}
|
|
3949
3800
|
]
|
|
3950
3801
|
},
|
|
3951
3802
|
{
|
|
3952
3803
|
"kind": "method",
|
|
3953
|
-
"name": "
|
|
3954
|
-
},
|
|
3955
|
-
{
|
|
3956
|
-
"kind": "method",
|
|
3957
|
-
"name": "refreshStatus",
|
|
3804
|
+
"name": "toggleCriteriaView",
|
|
3958
3805
|
"return": {
|
|
3959
3806
|
"type": {
|
|
3960
|
-
"text": "
|
|
3807
|
+
"text": "void"
|
|
3961
3808
|
}
|
|
3962
3809
|
}
|
|
3963
3810
|
},
|
|
3964
3811
|
{
|
|
3965
3812
|
"kind": "method",
|
|
3966
|
-
"name": "
|
|
3967
|
-
"privacy": "private",
|
|
3813
|
+
"name": "removeChip",
|
|
3968
3814
|
"return": {
|
|
3969
3815
|
"type": {
|
|
3970
|
-
"text": "
|
|
3816
|
+
"text": "void"
|
|
3971
3817
|
}
|
|
3972
3818
|
},
|
|
3973
3819
|
"parameters": [
|
|
3974
3820
|
{
|
|
3975
|
-
"name": "
|
|
3821
|
+
"name": "groupIndex",
|
|
3976
3822
|
"type": {
|
|
3977
|
-
"text": "
|
|
3823
|
+
"text": "number"
|
|
3824
|
+
}
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"name": "clauseIndex",
|
|
3828
|
+
"type": {
|
|
3829
|
+
"text": "number"
|
|
3978
3830
|
}
|
|
3979
3831
|
}
|
|
3980
3832
|
]
|
|
3981
3833
|
},
|
|
3982
3834
|
{
|
|
3983
3835
|
"kind": "method",
|
|
3984
|
-
"name": "
|
|
3985
|
-
"privacy": "private",
|
|
3836
|
+
"name": "clearChips",
|
|
3986
3837
|
"return": {
|
|
3987
3838
|
"type": {
|
|
3988
3839
|
"text": "void"
|
|
@@ -3991,32 +3842,24 @@
|
|
|
3991
3842
|
},
|
|
3992
3843
|
{
|
|
3993
3844
|
"kind": "method",
|
|
3994
|
-
"name": "
|
|
3995
|
-
"privacy": "private",
|
|
3996
|
-
"return": {
|
|
3997
|
-
"type": {
|
|
3998
|
-
"text": "void"
|
|
3999
|
-
}
|
|
4000
|
-
}
|
|
3845
|
+
"name": "handleSubmit"
|
|
4001
3846
|
},
|
|
4002
3847
|
{
|
|
4003
3848
|
"kind": "method",
|
|
4004
|
-
"name": "
|
|
4005
|
-
"privacy": "private",
|
|
4006
|
-
"return": {
|
|
4007
|
-
"type": {
|
|
4008
|
-
"text": "void"
|
|
4009
|
-
}
|
|
4010
|
-
}
|
|
3849
|
+
"name": "handleBlur"
|
|
4011
3850
|
},
|
|
4012
3851
|
{
|
|
4013
3852
|
"kind": "method",
|
|
4014
|
-
"name": "
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
3853
|
+
"name": "clear"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"kind": "method",
|
|
3857
|
+
"name": "toggleSpeechInput"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "method",
|
|
3861
|
+
"name": "clearSpeechApplyDebounce",
|
|
3862
|
+
"privacy": "private"
|
|
4020
3863
|
},
|
|
4021
3864
|
{
|
|
4022
3865
|
"kind": "field",
|
|
@@ -4130,88 +3973,245 @@
|
|
|
4130
3973
|
}
|
|
4131
3974
|
}
|
|
4132
3975
|
],
|
|
3976
|
+
"events": [
|
|
3977
|
+
{
|
|
3978
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3979
|
+
"name": "criteria-changed"
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3983
|
+
"name": "validation-errors"
|
|
3984
|
+
}
|
|
3985
|
+
],
|
|
3986
|
+
"attributes": [
|
|
3987
|
+
{
|
|
3988
|
+
"name": "placeholder",
|
|
3989
|
+
"type": {
|
|
3990
|
+
"text": "string"
|
|
3991
|
+
},
|
|
3992
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3993
|
+
"fieldName": "placeholder"
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"type": {
|
|
3997
|
+
"text": "boolean"
|
|
3998
|
+
},
|
|
3999
|
+
"fieldName": "disabled"
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4133
4002
|
"superclass": {
|
|
4134
4003
|
"name": "FoundationElement",
|
|
4135
4004
|
"package": "@microsoft/fast-foundation"
|
|
4136
4005
|
},
|
|
4137
|
-
"tagName": "%%prefix%%-ai-
|
|
4006
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
4138
4007
|
"customElement": true
|
|
4139
4008
|
},
|
|
4140
4009
|
{
|
|
4141
4010
|
"kind": "variable",
|
|
4142
|
-
"name": "
|
|
4011
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4012
|
+
"type": {
|
|
4013
|
+
"text": "ShadowRootInit"
|
|
4014
|
+
},
|
|
4015
|
+
"default": "undefined"
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
"kind": "variable",
|
|
4019
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4020
|
+
"type": {
|
|
4021
|
+
"text": "object"
|
|
4022
|
+
},
|
|
4023
|
+
"default": "{}"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"kind": "variable",
|
|
4027
|
+
"name": "foundationAiCriteriaSearch"
|
|
4143
4028
|
}
|
|
4144
4029
|
],
|
|
4145
4030
|
"exports": [
|
|
4146
4031
|
{
|
|
4147
4032
|
"kind": "js",
|
|
4148
|
-
"name": "
|
|
4033
|
+
"name": "AiCriteriaSearch",
|
|
4149
4034
|
"declaration": {
|
|
4150
|
-
"name": "
|
|
4151
|
-
"module": "src/ai-
|
|
4035
|
+
"name": "AiCriteriaSearch",
|
|
4036
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4152
4037
|
}
|
|
4153
4038
|
},
|
|
4154
4039
|
{
|
|
4155
4040
|
"kind": "js",
|
|
4156
|
-
"name": "
|
|
4041
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4157
4042
|
"declaration": {
|
|
4158
|
-
"name": "
|
|
4159
|
-
"module": "src/ai-
|
|
4043
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4044
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"kind": "js",
|
|
4049
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4050
|
+
"declaration": {
|
|
4051
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4052
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "js",
|
|
4057
|
+
"name": "foundationAiCriteriaSearch",
|
|
4058
|
+
"declaration": {
|
|
4059
|
+
"name": "foundationAiCriteriaSearch",
|
|
4060
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4160
4061
|
}
|
|
4161
4062
|
}
|
|
4162
4063
|
]
|
|
4163
4064
|
},
|
|
4164
4065
|
{
|
|
4165
4066
|
"kind": "javascript-module",
|
|
4166
|
-
"path": "src/ai-
|
|
4067
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
4167
4068
|
"declarations": [],
|
|
4168
4069
|
"exports": [
|
|
4169
4070
|
{
|
|
4170
4071
|
"kind": "js",
|
|
4171
|
-
"name": "
|
|
4072
|
+
"name": "AiCriteriaSearch",
|
|
4172
4073
|
"declaration": {
|
|
4173
|
-
"name": "
|
|
4174
|
-
"module": "./ai-
|
|
4074
|
+
"name": "AiCriteriaSearch",
|
|
4075
|
+
"module": "./ai-criteria-search"
|
|
4175
4076
|
}
|
|
4176
4077
|
},
|
|
4177
4078
|
{
|
|
4178
4079
|
"kind": "js",
|
|
4179
|
-
"name": "
|
|
4080
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4180
4081
|
"declaration": {
|
|
4181
|
-
"name": "
|
|
4182
|
-
"module": "./ai-
|
|
4082
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4083
|
+
"module": "./ai-criteria-search"
|
|
4183
4084
|
}
|
|
4184
4085
|
},
|
|
4185
4086
|
{
|
|
4186
4087
|
"kind": "js",
|
|
4187
|
-
"name": "
|
|
4088
|
+
"name": "foundationAiCriteriaSearch",
|
|
4188
4089
|
"declaration": {
|
|
4189
|
-
"name": "
|
|
4190
|
-
"module": "./ai-
|
|
4090
|
+
"name": "foundationAiCriteriaSearch",
|
|
4091
|
+
"module": "./ai-criteria-search"
|
|
4191
4092
|
}
|
|
4192
4093
|
},
|
|
4193
4094
|
{
|
|
4194
4095
|
"kind": "js",
|
|
4195
|
-
"name": "
|
|
4096
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4196
4097
|
"declaration": {
|
|
4197
|
-
"name": "
|
|
4198
|
-
"module": "./ai-
|
|
4098
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4099
|
+
"module": "./ai-criteria-search"
|
|
4199
4100
|
}
|
|
4200
4101
|
},
|
|
4201
4102
|
{
|
|
4202
4103
|
"kind": "js",
|
|
4203
|
-
"name": "
|
|
4104
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4204
4105
|
"declaration": {
|
|
4205
|
-
"name": "
|
|
4206
|
-
"module": "./ai-
|
|
4106
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4107
|
+
"module": "./ai-criteria-search.styles"
|
|
4207
4108
|
}
|
|
4208
4109
|
},
|
|
4209
4110
|
{
|
|
4210
4111
|
"kind": "js",
|
|
4211
|
-
"name": "
|
|
4112
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4212
4113
|
"declaration": {
|
|
4213
|
-
"name": "
|
|
4214
|
-
"module": "./ai-
|
|
4114
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4115
|
+
"module": "./ai-criteria-search.template"
|
|
4116
|
+
}
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
"kind": "js",
|
|
4120
|
+
"name": "*",
|
|
4121
|
+
"declaration": {
|
|
4122
|
+
"name": "*",
|
|
4123
|
+
"package": "./validation/criteria-ir"
|
|
4124
|
+
}
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
"kind": "js",
|
|
4128
|
+
"name": "*",
|
|
4129
|
+
"declaration": {
|
|
4130
|
+
"name": "*",
|
|
4131
|
+
"package": "./validation/operator-map"
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
{
|
|
4135
|
+
"kind": "js",
|
|
4136
|
+
"name": "*",
|
|
4137
|
+
"declaration": {
|
|
4138
|
+
"name": "*",
|
|
4139
|
+
"package": "./validation/schema-validator"
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
4142
|
+
]
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
"kind": "javascript-module",
|
|
4146
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
4147
|
+
"declarations": [
|
|
4148
|
+
{
|
|
4149
|
+
"kind": "function",
|
|
4150
|
+
"name": "formatValidationErrors",
|
|
4151
|
+
"return": {
|
|
4152
|
+
"type": {
|
|
4153
|
+
"text": "string"
|
|
4154
|
+
}
|
|
4155
|
+
},
|
|
4156
|
+
"parameters": [
|
|
4157
|
+
{
|
|
4158
|
+
"name": "errors",
|
|
4159
|
+
"type": {
|
|
4160
|
+
"text": "ValidationError[]"
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
],
|
|
4164
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"kind": "function",
|
|
4168
|
+
"name": "showCriteriaError",
|
|
4169
|
+
"return": {
|
|
4170
|
+
"type": {
|
|
4171
|
+
"text": "void"
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
"parameters": [
|
|
4175
|
+
{
|
|
4176
|
+
"name": "title",
|
|
4177
|
+
"type": {
|
|
4178
|
+
"text": "string"
|
|
4179
|
+
},
|
|
4180
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"name": "body",
|
|
4184
|
+
"type": {
|
|
4185
|
+
"text": "string"
|
|
4186
|
+
},
|
|
4187
|
+
"description": "Error message to display"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "tagName",
|
|
4191
|
+
"type": {
|
|
4192
|
+
"text": "string"
|
|
4193
|
+
},
|
|
4194
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
4195
|
+
}
|
|
4196
|
+
],
|
|
4197
|
+
"description": "Shows a criteria error as a toast notification."
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
"exports": [
|
|
4201
|
+
{
|
|
4202
|
+
"kind": "js",
|
|
4203
|
+
"name": "formatValidationErrors",
|
|
4204
|
+
"declaration": {
|
|
4205
|
+
"name": "formatValidationErrors",
|
|
4206
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4207
|
+
}
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
"kind": "js",
|
|
4211
|
+
"name": "showCriteriaError",
|
|
4212
|
+
"declaration": {
|
|
4213
|
+
"name": "showCriteriaError",
|
|
4214
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4215
4215
|
}
|
|
4216
4216
|
}
|
|
4217
4217
|
]
|