@genesislcap/foundation-ui 15.88.0 → 15.88.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 +543 -543
- package/dist/dts/react.d.ts +10 -10
- package/dist/react.cjs +12 -12
- 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,49 +2921,31 @@
|
|
|
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
2926
|
"text": "number"
|
|
2866
2927
|
}
|
|
2867
2928
|
}
|
|
2868
|
-
]
|
|
2929
|
+
],
|
|
2930
|
+
"inheritedFrom": {
|
|
2931
|
+
"name": "Accordion",
|
|
2932
|
+
"module": "src/accordion/accordion.ts"
|
|
2933
|
+
}
|
|
2869
2934
|
},
|
|
2870
2935
|
{
|
|
2871
2936
|
"kind": "method",
|
|
2872
|
-
"name": "
|
|
2937
|
+
"name": "focusItem",
|
|
2938
|
+
"privacy": "private",
|
|
2873
2939
|
"return": {
|
|
2874
2940
|
"type": {
|
|
2875
2941
|
"text": "void"
|
|
2876
2942
|
}
|
|
2943
|
+
},
|
|
2944
|
+
"inheritedFrom": {
|
|
2945
|
+
"name": "Accordion",
|
|
2946
|
+
"module": "src/accordion/accordion.ts"
|
|
2877
2947
|
}
|
|
2878
2948
|
},
|
|
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"
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"kind": "method",
|
|
2897
|
-
"name": "clearSpeechApplyDebounce",
|
|
2898
|
-
"privacy": "private"
|
|
2899
|
-
},
|
|
2900
2949
|
{
|
|
2901
2950
|
"kind": "field",
|
|
2902
2951
|
"name": "_presentation",
|
|
@@ -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,121 +3153,46 @@
|
|
|
3172
3153
|
"name": "*",
|
|
3173
3154
|
"declaration": {
|
|
3174
3155
|
"name": "*",
|
|
3175
|
-
"package": "./
|
|
3156
|
+
"package": "./accordion"
|
|
3176
3157
|
}
|
|
3177
3158
|
}
|
|
3178
3159
|
]
|
|
3179
3160
|
},
|
|
3180
3161
|
{
|
|
3181
3162
|
"kind": "javascript-module",
|
|
3182
|
-
"path": "src/ai-
|
|
3163
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3183
3164
|
"declarations": [
|
|
3184
3165
|
{
|
|
3185
3166
|
"kind": "function",
|
|
3186
|
-
"name": "
|
|
3167
|
+
"name": "foundationAiIndicatorStyles",
|
|
3187
3168
|
"return": {
|
|
3188
3169
|
"type": {
|
|
3189
|
-
"text": "
|
|
3170
|
+
"text": "ElementStyles"
|
|
3190
3171
|
}
|
|
3191
3172
|
},
|
|
3192
3173
|
"parameters": [
|
|
3193
3174
|
{
|
|
3194
|
-
"name": "
|
|
3175
|
+
"name": "context",
|
|
3195
3176
|
"type": {
|
|
3196
|
-
"text": "
|
|
3177
|
+
"text": "ElementDefinitionContext"
|
|
3197
3178
|
}
|
|
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
3179
|
},
|
|
3225
3180
|
{
|
|
3226
|
-
"name": "
|
|
3181
|
+
"name": "definition",
|
|
3227
3182
|
"type": {
|
|
3228
|
-
"text": "
|
|
3229
|
-
}
|
|
3230
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3183
|
+
"text": "FoundationElementDefinition"
|
|
3184
|
+
}
|
|
3231
3185
|
}
|
|
3232
|
-
]
|
|
3233
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3186
|
+
]
|
|
3234
3187
|
}
|
|
3235
3188
|
],
|
|
3236
3189
|
"exports": [
|
|
3237
3190
|
{
|
|
3238
3191
|
"kind": "js",
|
|
3239
|
-
"name": "
|
|
3192
|
+
"name": "foundationAiIndicatorStyles",
|
|
3240
3193
|
"declaration": {
|
|
3241
|
-
"name": "
|
|
3242
|
-
"module": "src/ai-
|
|
3243
|
-
}
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "js",
|
|
3247
|
-
"name": "showCriteriaError",
|
|
3248
|
-
"declaration": {
|
|
3249
|
-
"name": "showCriteriaError",
|
|
3250
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
]
|
|
3254
|
-
},
|
|
3255
|
-
{
|
|
3256
|
-
"kind": "javascript-module",
|
|
3257
|
-
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3258
|
-
"declarations": [
|
|
3259
|
-
{
|
|
3260
|
-
"kind": "function",
|
|
3261
|
-
"name": "foundationAiIndicatorStyles",
|
|
3262
|
-
"return": {
|
|
3263
|
-
"type": {
|
|
3264
|
-
"text": "ElementStyles"
|
|
3265
|
-
}
|
|
3266
|
-
},
|
|
3267
|
-
"parameters": [
|
|
3268
|
-
{
|
|
3269
|
-
"name": "context",
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "ElementDefinitionContext"
|
|
3272
|
-
}
|
|
3273
|
-
},
|
|
3274
|
-
{
|
|
3275
|
-
"name": "definition",
|
|
3276
|
-
"type": {
|
|
3277
|
-
"text": "FoundationElementDefinition"
|
|
3278
|
-
}
|
|
3279
|
-
}
|
|
3280
|
-
]
|
|
3281
|
-
}
|
|
3282
|
-
],
|
|
3283
|
-
"exports": [
|
|
3284
|
-
{
|
|
3285
|
-
"kind": "js",
|
|
3286
|
-
"name": "foundationAiIndicatorStyles",
|
|
3287
|
-
"declaration": {
|
|
3288
|
-
"name": "foundationAiIndicatorStyles",
|
|
3289
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3194
|
+
"name": "foundationAiIndicatorStyles",
|
|
3195
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3290
3196
|
}
|
|
3291
3197
|
}
|
|
3292
3198
|
]
|
|
@@ -3703,275 +3609,208 @@
|
|
|
3703
3609
|
},
|
|
3704
3610
|
{
|
|
3705
3611
|
"kind": "javascript-module",
|
|
3706
|
-
"path": "src/
|
|
3612
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3707
3613
|
"declarations": [
|
|
3708
3614
|
{
|
|
3709
|
-
"kind": "
|
|
3710
|
-
"name": "
|
|
3711
|
-
"
|
|
3712
|
-
"type": {
|
|
3713
|
-
"text": "ElementStyles"
|
|
3714
|
-
}
|
|
3715
|
-
},
|
|
3716
|
-
"parameters": [
|
|
3717
|
-
{
|
|
3718
|
-
"name": "context",
|
|
3719
|
-
"type": {
|
|
3720
|
-
"text": "ElementDefinitionContext"
|
|
3721
|
-
}
|
|
3722
|
-
},
|
|
3723
|
-
{
|
|
3724
|
-
"name": "definition",
|
|
3725
|
-
"type": {
|
|
3726
|
-
"text": "FoundationElementDefinition"
|
|
3727
|
-
}
|
|
3728
|
-
}
|
|
3729
|
-
]
|
|
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`"
|
|
3730
3618
|
}
|
|
3731
3619
|
],
|
|
3732
3620
|
"exports": [
|
|
3733
3621
|
{
|
|
3734
3622
|
"kind": "js",
|
|
3735
|
-
"name": "
|
|
3623
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3736
3624
|
"declaration": {
|
|
3737
|
-
"name": "
|
|
3738
|
-
"module": "src/
|
|
3625
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3626
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3739
3627
|
}
|
|
3740
3628
|
}
|
|
3741
3629
|
]
|
|
3742
3630
|
},
|
|
3743
3631
|
{
|
|
3744
3632
|
"kind": "javascript-module",
|
|
3745
|
-
"path": "src/
|
|
3633
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3746
3634
|
"declarations": [
|
|
3747
3635
|
{
|
|
3748
|
-
"kind": "
|
|
3749
|
-
"name": "
|
|
3750
|
-
"
|
|
3751
|
-
"
|
|
3752
|
-
"text": "ViewTemplate<Accordion>"
|
|
3753
|
-
}
|
|
3636
|
+
"kind": "variable",
|
|
3637
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3638
|
+
"type": {
|
|
3639
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3754
3640
|
},
|
|
3755
|
-
"
|
|
3756
|
-
{
|
|
3757
|
-
"name": "context",
|
|
3758
|
-
"type": {
|
|
3759
|
-
"text": "ElementDefinitionContext"
|
|
3760
|
-
}
|
|
3761
|
-
},
|
|
3762
|
-
{
|
|
3763
|
-
"name": "definition",
|
|
3764
|
-
"type": {
|
|
3765
|
-
"text": "FoundationElementDefinition"
|
|
3766
|
-
}
|
|
3767
|
-
}
|
|
3768
|
-
]
|
|
3641
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3769
3642
|
}
|
|
3770
3643
|
],
|
|
3771
3644
|
"exports": [
|
|
3772
3645
|
{
|
|
3773
3646
|
"kind": "js",
|
|
3774
|
-
"name": "
|
|
3647
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3775
3648
|
"declaration": {
|
|
3776
|
-
"name": "
|
|
3777
|
-
"module": "src/
|
|
3649
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3650
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3778
3651
|
}
|
|
3779
3652
|
}
|
|
3780
3653
|
]
|
|
3781
3654
|
},
|
|
3782
3655
|
{
|
|
3783
3656
|
"kind": "javascript-module",
|
|
3784
|
-
"path": "src/
|
|
3657
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3785
3658
|
"declarations": [
|
|
3786
3659
|
{
|
|
3787
3660
|
"kind": "class",
|
|
3788
|
-
"description": "",
|
|
3789
|
-
"name": "
|
|
3790
|
-
"
|
|
3791
|
-
"name": "FASTAccordion",
|
|
3792
|
-
"package": "@microsoft/fast-foundation"
|
|
3793
|
-
},
|
|
3794
|
-
"tagName": "%%prefix%%-accordion",
|
|
3795
|
-
"customElement": true,
|
|
3796
|
-
"attributes": [
|
|
3661
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3662
|
+
"name": "AiCriteriaSearch",
|
|
3663
|
+
"members": [
|
|
3797
3664
|
{
|
|
3798
|
-
"
|
|
3665
|
+
"kind": "field",
|
|
3666
|
+
"name": "providerRegistry",
|
|
3799
3667
|
"type": {
|
|
3800
|
-
"text": "
|
|
3801
|
-
},
|
|
3802
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3803
|
-
"fieldName": "expandmode",
|
|
3804
|
-
"inheritedFrom": {
|
|
3805
|
-
"name": "Accordion",
|
|
3806
|
-
"module": "src/accordion/accordion.ts"
|
|
3668
|
+
"text": "AIProviderRegistry"
|
|
3807
3669
|
}
|
|
3808
|
-
}
|
|
3809
|
-
],
|
|
3810
|
-
"members": [
|
|
3670
|
+
},
|
|
3811
3671
|
{
|
|
3812
3672
|
"kind": "field",
|
|
3813
|
-
"name": "
|
|
3673
|
+
"name": "placeholder",
|
|
3814
3674
|
"type": {
|
|
3815
|
-
"text": "
|
|
3675
|
+
"text": "string"
|
|
3816
3676
|
},
|
|
3817
|
-
"
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3677
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"kind": "field",
|
|
3681
|
+
"name": "disabled",
|
|
3682
|
+
"type": {
|
|
3683
|
+
"text": "boolean"
|
|
3822
3684
|
}
|
|
3823
3685
|
},
|
|
3824
3686
|
{
|
|
3825
3687
|
"kind": "field",
|
|
3826
|
-
"name": "
|
|
3688
|
+
"name": "inputValue",
|
|
3827
3689
|
"type": {
|
|
3828
|
-
"text": "string
|
|
3690
|
+
"text": "string"
|
|
3829
3691
|
},
|
|
3830
|
-
"
|
|
3831
|
-
"inheritedFrom": {
|
|
3832
|
-
"name": "Accordion",
|
|
3833
|
-
"module": "src/accordion/accordion.ts"
|
|
3834
|
-
}
|
|
3692
|
+
"default": "''"
|
|
3835
3693
|
},
|
|
3836
3694
|
{
|
|
3837
3695
|
"kind": "field",
|
|
3838
|
-
"name": "
|
|
3696
|
+
"name": "isInterpreting",
|
|
3839
3697
|
"type": {
|
|
3840
|
-
"text": "
|
|
3698
|
+
"text": "boolean"
|
|
3841
3699
|
},
|
|
3842
|
-
"
|
|
3843
|
-
"default": "0",
|
|
3844
|
-
"inheritedFrom": {
|
|
3845
|
-
"name": "Accordion",
|
|
3846
|
-
"module": "src/accordion/accordion.ts"
|
|
3847
|
-
}
|
|
3700
|
+
"default": "false"
|
|
3848
3701
|
},
|
|
3849
3702
|
{
|
|
3850
3703
|
"kind": "field",
|
|
3851
|
-
"name": "
|
|
3704
|
+
"name": "lastValidCriteria",
|
|
3852
3705
|
"type": {
|
|
3853
|
-
"text": "
|
|
3706
|
+
"text": "string | null"
|
|
3854
3707
|
},
|
|
3855
|
-
"
|
|
3856
|
-
"inheritedFrom": {
|
|
3857
|
-
"name": "Accordion",
|
|
3858
|
-
"module": "src/accordion/accordion.ts"
|
|
3859
|
-
}
|
|
3708
|
+
"default": "null"
|
|
3860
3709
|
},
|
|
3861
3710
|
{
|
|
3862
3711
|
"kind": "field",
|
|
3863
|
-
"name": "
|
|
3864
|
-
"
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
}
|
|
3712
|
+
"name": "activeGroups",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "CriteriaGroup[]"
|
|
3715
|
+
},
|
|
3716
|
+
"default": "[]"
|
|
3869
3717
|
},
|
|
3870
3718
|
{
|
|
3871
|
-
"kind": "
|
|
3872
|
-
"name": "
|
|
3873
|
-
"
|
|
3874
|
-
|
|
3875
|
-
"type": {
|
|
3876
|
-
"text": "AccordionItem | null"
|
|
3877
|
-
}
|
|
3719
|
+
"kind": "field",
|
|
3720
|
+
"name": "showingChips",
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "boolean"
|
|
3878
3723
|
},
|
|
3879
|
-
"
|
|
3880
|
-
"name": "Accordion",
|
|
3881
|
-
"module": "src/accordion/accordion.ts"
|
|
3882
|
-
}
|
|
3724
|
+
"default": "false"
|
|
3883
3725
|
},
|
|
3884
3726
|
{
|
|
3885
3727
|
"kind": "field",
|
|
3886
|
-
"name": "
|
|
3887
|
-
"
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
}
|
|
3728
|
+
"name": "fieldMetadata",
|
|
3729
|
+
"type": {
|
|
3730
|
+
"text": "MetadataDetail[] | string[]"
|
|
3731
|
+
},
|
|
3732
|
+
"default": "[]"
|
|
3892
3733
|
},
|
|
3893
3734
|
{
|
|
3894
|
-
"kind": "
|
|
3895
|
-
"name": "
|
|
3896
|
-
"
|
|
3897
|
-
|
|
3898
|
-
"type": {
|
|
3899
|
-
"text": "void"
|
|
3900
|
-
}
|
|
3735
|
+
"kind": "field",
|
|
3736
|
+
"name": "isRecording",
|
|
3737
|
+
"type": {
|
|
3738
|
+
"text": "boolean"
|
|
3901
3739
|
},
|
|
3902
|
-
"
|
|
3903
|
-
"name": "Accordion",
|
|
3904
|
-
"module": "src/accordion/accordion.ts"
|
|
3905
|
-
}
|
|
3740
|
+
"default": "false"
|
|
3906
3741
|
},
|
|
3907
3742
|
{
|
|
3908
3743
|
"kind": "field",
|
|
3909
|
-
"name": "
|
|
3910
|
-
"
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
}
|
|
3744
|
+
"name": "textAreaRef",
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "HTMLTextAreaElement"
|
|
3747
|
+
},
|
|
3748
|
+
"privacy": "public"
|
|
3915
3749
|
},
|
|
3916
3750
|
{
|
|
3917
3751
|
"kind": "field",
|
|
3918
|
-
"name": "
|
|
3752
|
+
"name": "stopRecording",
|
|
3753
|
+
"type": {
|
|
3754
|
+
"text": "(() => void) | null"
|
|
3755
|
+
},
|
|
3919
3756
|
"privacy": "private",
|
|
3920
|
-
"
|
|
3921
|
-
"name": "Accordion",
|
|
3922
|
-
"module": "src/accordion/accordion.ts"
|
|
3923
|
-
}
|
|
3757
|
+
"default": "null"
|
|
3924
3758
|
},
|
|
3925
3759
|
{
|
|
3926
|
-
"kind": "
|
|
3927
|
-
"name": "
|
|
3928
|
-
"
|
|
3929
|
-
|
|
3930
|
-
"type": {
|
|
3931
|
-
"text": "Array<string | null>"
|
|
3932
|
-
}
|
|
3760
|
+
"kind": "field",
|
|
3761
|
+
"name": "speechApplyDebounceTimer",
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3933
3764
|
},
|
|
3934
|
-
"
|
|
3935
|
-
|
|
3936
|
-
"module": "src/accordion/accordion.ts"
|
|
3937
|
-
}
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"default": "null"
|
|
3938
3767
|
},
|
|
3939
3768
|
{
|
|
3940
|
-
"kind": "
|
|
3941
|
-
"name": "
|
|
3942
|
-
"
|
|
3943
|
-
|
|
3944
|
-
"type": {
|
|
3945
|
-
"text": "boolean"
|
|
3946
|
-
}
|
|
3769
|
+
"kind": "field",
|
|
3770
|
+
"name": "speechAvailable",
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "boolean"
|
|
3947
3773
|
},
|
|
3948
|
-
"
|
|
3949
|
-
"name": "Accordion",
|
|
3950
|
-
"module": "src/accordion/accordion.ts"
|
|
3951
|
-
}
|
|
3774
|
+
"readonly": true
|
|
3952
3775
|
},
|
|
3953
3776
|
{
|
|
3954
3777
|
"kind": "field",
|
|
3955
|
-
"name": "
|
|
3956
|
-
"
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
}
|
|
3778
|
+
"name": "criteriaChips",
|
|
3779
|
+
"type": {
|
|
3780
|
+
"text": "CriteriaChip[]"
|
|
3781
|
+
},
|
|
3782
|
+
"readonly": true
|
|
3961
3783
|
},
|
|
3962
3784
|
{
|
|
3963
|
-
"kind": "
|
|
3964
|
-
"name": "
|
|
3785
|
+
"kind": "method",
|
|
3786
|
+
"name": "getFieldLabel",
|
|
3965
3787
|
"privacy": "private",
|
|
3966
|
-
"
|
|
3967
|
-
"
|
|
3968
|
-
|
|
3788
|
+
"return": {
|
|
3789
|
+
"type": {
|
|
3790
|
+
"text": "string"
|
|
3791
|
+
}
|
|
3792
|
+
},
|
|
3793
|
+
"parameters": [
|
|
3794
|
+
{
|
|
3795
|
+
"name": "fieldName",
|
|
3796
|
+
"type": {
|
|
3797
|
+
"text": "string"
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
]
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
"kind": "method",
|
|
3804
|
+
"name": "toggleCriteriaView",
|
|
3805
|
+
"return": {
|
|
3806
|
+
"type": {
|
|
3807
|
+
"text": "void"
|
|
3808
|
+
}
|
|
3969
3809
|
}
|
|
3970
3810
|
},
|
|
3971
3811
|
{
|
|
3972
3812
|
"kind": "method",
|
|
3973
|
-
"name": "
|
|
3974
|
-
"privacy": "private",
|
|
3813
|
+
"name": "removeChip",
|
|
3975
3814
|
"return": {
|
|
3976
3815
|
"type": {
|
|
3977
3816
|
"text": "void"
|
|
@@ -3979,31 +3818,49 @@
|
|
|
3979
3818
|
},
|
|
3980
3819
|
"parameters": [
|
|
3981
3820
|
{
|
|
3982
|
-
"name": "
|
|
3821
|
+
"name": "groupIndex",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "number"
|
|
3824
|
+
}
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"name": "clauseIndex",
|
|
3983
3828
|
"type": {
|
|
3984
3829
|
"text": "number"
|
|
3985
3830
|
}
|
|
3986
3831
|
}
|
|
3987
|
-
]
|
|
3988
|
-
"inheritedFrom": {
|
|
3989
|
-
"name": "Accordion",
|
|
3990
|
-
"module": "src/accordion/accordion.ts"
|
|
3991
|
-
}
|
|
3832
|
+
]
|
|
3992
3833
|
},
|
|
3993
3834
|
{
|
|
3994
3835
|
"kind": "method",
|
|
3995
|
-
"name": "
|
|
3996
|
-
"privacy": "private",
|
|
3836
|
+
"name": "clearChips",
|
|
3997
3837
|
"return": {
|
|
3998
3838
|
"type": {
|
|
3999
3839
|
"text": "void"
|
|
4000
3840
|
}
|
|
4001
|
-
},
|
|
4002
|
-
"inheritedFrom": {
|
|
4003
|
-
"name": "Accordion",
|
|
4004
|
-
"module": "src/accordion/accordion.ts"
|
|
4005
3841
|
}
|
|
4006
3842
|
},
|
|
3843
|
+
{
|
|
3844
|
+
"kind": "method",
|
|
3845
|
+
"name": "handleSubmit"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"kind": "method",
|
|
3849
|
+
"name": "handleBlur"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"kind": "method",
|
|
3853
|
+
"name": "clear"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"kind": "method",
|
|
3857
|
+
"name": "toggleSpeechInput"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "method",
|
|
3861
|
+
"name": "clearSpeechApplyDebounce",
|
|
3862
|
+
"privacy": "private"
|
|
3863
|
+
},
|
|
4007
3864
|
{
|
|
4008
3865
|
"kind": "field",
|
|
4009
3866
|
"name": "_presentation",
|
|
@@ -4118,26 +3975,48 @@
|
|
|
4118
3975
|
],
|
|
4119
3976
|
"events": [
|
|
4120
3977
|
{
|
|
4121
|
-
"description": "
|
|
4122
|
-
"name": "
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
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"
|
|
4127
3984
|
}
|
|
4128
|
-
]
|
|
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
|
+
],
|
|
4002
|
+
"superclass": {
|
|
4003
|
+
"name": "FoundationElement",
|
|
4004
|
+
"package": "@microsoft/fast-foundation"
|
|
4005
|
+
},
|
|
4006
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
4007
|
+
"customElement": true
|
|
4129
4008
|
},
|
|
4130
4009
|
{
|
|
4131
4010
|
"kind": "variable",
|
|
4132
|
-
"name": "
|
|
4011
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4133
4012
|
"type": {
|
|
4134
4013
|
"text": "ShadowRootInit"
|
|
4135
4014
|
},
|
|
4136
|
-
"default": "
|
|
4015
|
+
"default": "undefined"
|
|
4137
4016
|
},
|
|
4138
4017
|
{
|
|
4139
4018
|
"kind": "variable",
|
|
4140
|
-
"name": "
|
|
4019
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4141
4020
|
"type": {
|
|
4142
4021
|
"text": "object"
|
|
4143
4022
|
},
|
|
@@ -4145,57 +4024,103 @@
|
|
|
4145
4024
|
},
|
|
4146
4025
|
{
|
|
4147
4026
|
"kind": "variable",
|
|
4148
|
-
"name": "
|
|
4149
|
-
"description": "The Foundation Accordion",
|
|
4150
|
-
"privacy": "public"
|
|
4027
|
+
"name": "foundationAiCriteriaSearch"
|
|
4151
4028
|
}
|
|
4152
4029
|
],
|
|
4153
4030
|
"exports": [
|
|
4154
4031
|
{
|
|
4155
4032
|
"kind": "js",
|
|
4156
|
-
"name": "
|
|
4033
|
+
"name": "AiCriteriaSearch",
|
|
4157
4034
|
"declaration": {
|
|
4158
|
-
"name": "
|
|
4159
|
-
"module": "src/
|
|
4035
|
+
"name": "AiCriteriaSearch",
|
|
4036
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4160
4037
|
}
|
|
4161
4038
|
},
|
|
4162
4039
|
{
|
|
4163
4040
|
"kind": "js",
|
|
4164
|
-
"name": "
|
|
4041
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4165
4042
|
"declaration": {
|
|
4166
|
-
"name": "
|
|
4167
|
-
"module": "src/
|
|
4043
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4044
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4168
4045
|
}
|
|
4169
4046
|
},
|
|
4170
4047
|
{
|
|
4171
4048
|
"kind": "js",
|
|
4172
|
-
"name": "
|
|
4049
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4173
4050
|
"declaration": {
|
|
4174
|
-
"name": "
|
|
4175
|
-
"module": "src/
|
|
4051
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4052
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4176
4053
|
}
|
|
4177
4054
|
},
|
|
4178
4055
|
{
|
|
4179
4056
|
"kind": "js",
|
|
4180
|
-
"name": "
|
|
4057
|
+
"name": "foundationAiCriteriaSearch",
|
|
4181
4058
|
"declaration": {
|
|
4182
|
-
"name": "
|
|
4183
|
-
"module": "src/
|
|
4059
|
+
"name": "foundationAiCriteriaSearch",
|
|
4060
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4184
4061
|
}
|
|
4185
4062
|
}
|
|
4186
4063
|
]
|
|
4187
4064
|
},
|
|
4188
4065
|
{
|
|
4189
4066
|
"kind": "javascript-module",
|
|
4190
|
-
"path": "src/
|
|
4067
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
4191
4068
|
"declarations": [],
|
|
4192
4069
|
"exports": [
|
|
4070
|
+
{
|
|
4071
|
+
"kind": "js",
|
|
4072
|
+
"name": "AiCriteriaSearch",
|
|
4073
|
+
"declaration": {
|
|
4074
|
+
"name": "AiCriteriaSearch",
|
|
4075
|
+
"module": "./ai-criteria-search"
|
|
4076
|
+
}
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"kind": "js",
|
|
4080
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4081
|
+
"declaration": {
|
|
4082
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4083
|
+
"module": "./ai-criteria-search"
|
|
4084
|
+
}
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
"kind": "js",
|
|
4088
|
+
"name": "foundationAiCriteriaSearch",
|
|
4089
|
+
"declaration": {
|
|
4090
|
+
"name": "foundationAiCriteriaSearch",
|
|
4091
|
+
"module": "./ai-criteria-search"
|
|
4092
|
+
}
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
"kind": "js",
|
|
4096
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4097
|
+
"declaration": {
|
|
4098
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4099
|
+
"module": "./ai-criteria-search"
|
|
4100
|
+
}
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"kind": "js",
|
|
4104
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4105
|
+
"declaration": {
|
|
4106
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4107
|
+
"module": "./ai-criteria-search.styles"
|
|
4108
|
+
}
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"kind": "js",
|
|
4112
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4113
|
+
"declaration": {
|
|
4114
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4115
|
+
"module": "./ai-criteria-search.template"
|
|
4116
|
+
}
|
|
4117
|
+
},
|
|
4193
4118
|
{
|
|
4194
4119
|
"kind": "js",
|
|
4195
4120
|
"name": "*",
|
|
4196
4121
|
"declaration": {
|
|
4197
4122
|
"name": "*",
|
|
4198
|
-
"package": "./
|
|
4123
|
+
"package": "./validation/criteria-ir"
|
|
4199
4124
|
}
|
|
4200
4125
|
},
|
|
4201
4126
|
{
|
|
@@ -4203,7 +4128,7 @@
|
|
|
4203
4128
|
"name": "*",
|
|
4204
4129
|
"declaration": {
|
|
4205
4130
|
"name": "*",
|
|
4206
|
-
"package": "./
|
|
4131
|
+
"package": "./validation/operator-map"
|
|
4207
4132
|
}
|
|
4208
4133
|
},
|
|
4209
4134
|
{
|
|
@@ -4211,7 +4136,82 @@
|
|
|
4211
4136
|
"name": "*",
|
|
4212
4137
|
"declaration": {
|
|
4213
4138
|
"name": "*",
|
|
4214
|
-
"package": "./
|
|
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
|
]
|