@genesislcap/foundation-ui 15.83.0 → 15.84.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 +541 -541
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +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,469 +3087,281 @@
|
|
|
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
3135
|
{
|
|
3107
3136
|
"kind": "js",
|
|
3108
|
-
"name": "
|
|
3137
|
+
"name": "*",
|
|
3109
3138
|
"declaration": {
|
|
3110
|
-
"name": "
|
|
3111
|
-
"
|
|
3139
|
+
"name": "*",
|
|
3140
|
+
"package": "./accordion.template"
|
|
3112
3141
|
}
|
|
3113
3142
|
},
|
|
3114
3143
|
{
|
|
3115
3144
|
"kind": "js",
|
|
3116
|
-
"name": "
|
|
3145
|
+
"name": "*",
|
|
3117
3146
|
"declaration": {
|
|
3118
|
-
"name": "
|
|
3119
|
-
"
|
|
3147
|
+
"name": "*",
|
|
3148
|
+
"package": "./accordion.styles"
|
|
3120
3149
|
}
|
|
3121
3150
|
},
|
|
3122
3151
|
{
|
|
3123
3152
|
"kind": "js",
|
|
3124
|
-
"name": "
|
|
3153
|
+
"name": "*",
|
|
3125
3154
|
"declaration": {
|
|
3126
|
-
"name": "
|
|
3127
|
-
"
|
|
3155
|
+
"name": "*",
|
|
3156
|
+
"package": "./accordion"
|
|
3128
3157
|
}
|
|
3129
|
-
}
|
|
3158
|
+
}
|
|
3159
|
+
]
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "javascript-module",
|
|
3163
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3164
|
+
"declarations": [
|
|
3130
3165
|
{
|
|
3131
|
-
"kind": "
|
|
3132
|
-
"name": "
|
|
3133
|
-
"
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
},
|
|
3166
|
+
"kind": "variable",
|
|
3167
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3168
|
+
"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`"
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
"exports": [
|
|
3138
3172
|
{
|
|
3139
3173
|
"kind": "js",
|
|
3140
3174
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3141
3175
|
"declaration": {
|
|
3142
3176
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3143
|
-
"module": "
|
|
3177
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3144
3178
|
}
|
|
3145
|
-
}
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"kind": "javascript-module",
|
|
3184
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3185
|
+
"declarations": [
|
|
3146
3186
|
{
|
|
3147
|
-
"kind": "
|
|
3187
|
+
"kind": "variable",
|
|
3148
3188
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3149
|
-
"
|
|
3150
|
-
"
|
|
3151
|
-
|
|
3152
|
-
}
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
"name": "*",
|
|
3157
|
-
"declaration": {
|
|
3158
|
-
"name": "*",
|
|
3159
|
-
"package": "./validation/criteria-ir"
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "js",
|
|
3164
|
-
"name": "*",
|
|
3165
|
-
"declaration": {
|
|
3166
|
-
"name": "*",
|
|
3167
|
-
"package": "./validation/operator-map"
|
|
3168
|
-
}
|
|
3169
|
-
},
|
|
3189
|
+
"type": {
|
|
3190
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3191
|
+
},
|
|
3192
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3193
|
+
}
|
|
3194
|
+
],
|
|
3195
|
+
"exports": [
|
|
3170
3196
|
{
|
|
3171
3197
|
"kind": "js",
|
|
3172
|
-
"name": "
|
|
3198
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3173
3199
|
"declaration": {
|
|
3174
|
-
"name": "
|
|
3175
|
-
"
|
|
3200
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3201
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3176
3202
|
}
|
|
3177
3203
|
}
|
|
3178
3204
|
]
|
|
3179
3205
|
},
|
|
3180
3206
|
{
|
|
3181
3207
|
"kind": "javascript-module",
|
|
3182
|
-
"path": "src/ai-criteria-search/
|
|
3208
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3183
3209
|
"declarations": [
|
|
3184
3210
|
{
|
|
3185
|
-
"kind": "
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
|
|
3189
|
-
"text": "string"
|
|
3190
|
-
}
|
|
3191
|
-
},
|
|
3192
|
-
"parameters": [
|
|
3211
|
+
"kind": "class",
|
|
3212
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3213
|
+
"name": "AiCriteriaSearch",
|
|
3214
|
+
"members": [
|
|
3193
3215
|
{
|
|
3194
|
-
"
|
|
3216
|
+
"kind": "field",
|
|
3217
|
+
"name": "providerRegistry",
|
|
3195
3218
|
"type": {
|
|
3196
|
-
"text": "
|
|
3219
|
+
"text": "AIProviderRegistry"
|
|
3197
3220
|
}
|
|
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": [
|
|
3221
|
+
},
|
|
3211
3222
|
{
|
|
3212
|
-
"
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "placeholder",
|
|
3213
3225
|
"type": {
|
|
3214
3226
|
"text": "string"
|
|
3215
3227
|
},
|
|
3216
|
-
"
|
|
3228
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3217
3229
|
},
|
|
3218
3230
|
{
|
|
3219
|
-
"
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "disabled",
|
|
3220
3233
|
"type": {
|
|
3221
|
-
"text": "
|
|
3222
|
-
}
|
|
3223
|
-
"description": "Error message to display"
|
|
3234
|
+
"text": "boolean"
|
|
3235
|
+
}
|
|
3224
3236
|
},
|
|
3225
3237
|
{
|
|
3226
|
-
"
|
|
3238
|
+
"kind": "field",
|
|
3239
|
+
"name": "inputValue",
|
|
3227
3240
|
"type": {
|
|
3228
3241
|
"text": "string"
|
|
3229
3242
|
},
|
|
3230
|
-
"
|
|
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"
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
]
|
|
3254
|
-
},
|
|
3255
|
-
{
|
|
3256
|
-
"kind": "javascript-module",
|
|
3257
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3258
|
-
"declarations": [
|
|
3259
|
-
{
|
|
3260
|
-
"kind": "function",
|
|
3261
|
-
"name": "foundationAccordionStyles",
|
|
3262
|
-
"return": {
|
|
3263
|
-
"type": {
|
|
3264
|
-
"text": "ElementStyles"
|
|
3265
|
-
}
|
|
3266
|
-
},
|
|
3267
|
-
"parameters": [
|
|
3268
|
-
{
|
|
3269
|
-
"name": "context",
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "ElementDefinitionContext"
|
|
3272
|
-
}
|
|
3243
|
+
"default": "''"
|
|
3273
3244
|
},
|
|
3274
3245
|
{
|
|
3275
|
-
"
|
|
3276
|
-
"
|
|
3277
|
-
"text": "FoundationElementDefinition"
|
|
3278
|
-
}
|
|
3279
|
-
}
|
|
3280
|
-
]
|
|
3281
|
-
}
|
|
3282
|
-
],
|
|
3283
|
-
"exports": [
|
|
3284
|
-
{
|
|
3285
|
-
"kind": "js",
|
|
3286
|
-
"name": "foundationAccordionStyles",
|
|
3287
|
-
"declaration": {
|
|
3288
|
-
"name": "foundationAccordionStyles",
|
|
3289
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3290
|
-
}
|
|
3291
|
-
}
|
|
3292
|
-
]
|
|
3293
|
-
},
|
|
3294
|
-
{
|
|
3295
|
-
"kind": "javascript-module",
|
|
3296
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3297
|
-
"declarations": [
|
|
3298
|
-
{
|
|
3299
|
-
"kind": "function",
|
|
3300
|
-
"name": "foundationAccordionTemplate",
|
|
3301
|
-
"return": {
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ViewTemplate<Accordion>"
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
"parameters": [
|
|
3307
|
-
{
|
|
3308
|
-
"name": "context",
|
|
3246
|
+
"kind": "field",
|
|
3247
|
+
"name": "isInterpreting",
|
|
3309
3248
|
"type": {
|
|
3310
|
-
"text": "
|
|
3311
|
-
}
|
|
3249
|
+
"text": "boolean"
|
|
3250
|
+
},
|
|
3251
|
+
"default": "false"
|
|
3312
3252
|
},
|
|
3313
3253
|
{
|
|
3314
|
-
"
|
|
3315
|
-
"
|
|
3316
|
-
"text": "FoundationElementDefinition"
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
]
|
|
3320
|
-
}
|
|
3321
|
-
],
|
|
3322
|
-
"exports": [
|
|
3323
|
-
{
|
|
3324
|
-
"kind": "js",
|
|
3325
|
-
"name": "foundationAccordionTemplate",
|
|
3326
|
-
"declaration": {
|
|
3327
|
-
"name": "foundationAccordionTemplate",
|
|
3328
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
]
|
|
3332
|
-
},
|
|
3333
|
-
{
|
|
3334
|
-
"kind": "javascript-module",
|
|
3335
|
-
"path": "src/accordion/accordion.ts",
|
|
3336
|
-
"declarations": [
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "class",
|
|
3339
|
-
"description": "",
|
|
3340
|
-
"name": "Accordion",
|
|
3341
|
-
"superclass": {
|
|
3342
|
-
"name": "FASTAccordion",
|
|
3343
|
-
"package": "@microsoft/fast-foundation"
|
|
3344
|
-
},
|
|
3345
|
-
"tagName": "%%prefix%%-accordion",
|
|
3346
|
-
"customElement": true,
|
|
3347
|
-
"attributes": [
|
|
3348
|
-
{
|
|
3349
|
-
"name": "expand-mode",
|
|
3254
|
+
"kind": "field",
|
|
3255
|
+
"name": "lastValidCriteria",
|
|
3350
3256
|
"type": {
|
|
3351
|
-
"text": "
|
|
3257
|
+
"text": "string | null"
|
|
3352
3258
|
},
|
|
3353
|
-
"
|
|
3354
|
-
|
|
3355
|
-
"inheritedFrom": {
|
|
3356
|
-
"name": "Accordion",
|
|
3357
|
-
"module": "src/accordion/accordion.ts"
|
|
3358
|
-
}
|
|
3359
|
-
}
|
|
3360
|
-
],
|
|
3361
|
-
"members": [
|
|
3259
|
+
"default": "null"
|
|
3260
|
+
},
|
|
3362
3261
|
{
|
|
3363
3262
|
"kind": "field",
|
|
3364
|
-
"name": "
|
|
3263
|
+
"name": "activeGroups",
|
|
3365
3264
|
"type": {
|
|
3366
|
-
"text": "
|
|
3265
|
+
"text": "CriteriaGroup[]"
|
|
3367
3266
|
},
|
|
3368
|
-
"
|
|
3369
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3370
|
-
"inheritedFrom": {
|
|
3371
|
-
"name": "Accordion",
|
|
3372
|
-
"module": "src/accordion/accordion.ts"
|
|
3373
|
-
}
|
|
3267
|
+
"default": "[]"
|
|
3374
3268
|
},
|
|
3375
3269
|
{
|
|
3376
3270
|
"kind": "field",
|
|
3377
|
-
"name": "
|
|
3271
|
+
"name": "showingChips",
|
|
3378
3272
|
"type": {
|
|
3379
|
-
"text": "
|
|
3273
|
+
"text": "boolean"
|
|
3380
3274
|
},
|
|
3381
|
-
"
|
|
3382
|
-
"inheritedFrom": {
|
|
3383
|
-
"name": "Accordion",
|
|
3384
|
-
"module": "src/accordion/accordion.ts"
|
|
3385
|
-
}
|
|
3275
|
+
"default": "false"
|
|
3386
3276
|
},
|
|
3387
3277
|
{
|
|
3388
3278
|
"kind": "field",
|
|
3389
|
-
"name": "
|
|
3279
|
+
"name": "fieldMetadata",
|
|
3390
3280
|
"type": {
|
|
3391
|
-
"text": "
|
|
3281
|
+
"text": "MetadataDetail[] | string[]"
|
|
3392
3282
|
},
|
|
3393
|
-
"
|
|
3394
|
-
"default": "0",
|
|
3395
|
-
"inheritedFrom": {
|
|
3396
|
-
"name": "Accordion",
|
|
3397
|
-
"module": "src/accordion/accordion.ts"
|
|
3398
|
-
}
|
|
3283
|
+
"default": "[]"
|
|
3399
3284
|
},
|
|
3400
3285
|
{
|
|
3401
3286
|
"kind": "field",
|
|
3402
|
-
"name": "
|
|
3287
|
+
"name": "isRecording",
|
|
3403
3288
|
"type": {
|
|
3404
|
-
"text": "
|
|
3289
|
+
"text": "boolean"
|
|
3405
3290
|
},
|
|
3406
|
-
"
|
|
3407
|
-
"inheritedFrom": {
|
|
3408
|
-
"name": "Accordion",
|
|
3409
|
-
"module": "src/accordion/accordion.ts"
|
|
3410
|
-
}
|
|
3291
|
+
"default": "false"
|
|
3411
3292
|
},
|
|
3412
3293
|
{
|
|
3413
3294
|
"kind": "field",
|
|
3414
|
-
"name": "
|
|
3415
|
-
"
|
|
3416
|
-
|
|
3417
|
-
"name": "Accordion",
|
|
3418
|
-
"module": "src/accordion/accordion.ts"
|
|
3419
|
-
}
|
|
3420
|
-
},
|
|
3421
|
-
{
|
|
3422
|
-
"kind": "method",
|
|
3423
|
-
"name": "findExpandedItem",
|
|
3424
|
-
"privacy": "private",
|
|
3425
|
-
"return": {
|
|
3426
|
-
"type": {
|
|
3427
|
-
"text": "AccordionItem | null"
|
|
3428
|
-
}
|
|
3295
|
+
"name": "textAreaRef",
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "HTMLTextAreaElement"
|
|
3429
3298
|
},
|
|
3430
|
-
"
|
|
3431
|
-
"name": "Accordion",
|
|
3432
|
-
"module": "src/accordion/accordion.ts"
|
|
3433
|
-
}
|
|
3299
|
+
"privacy": "public"
|
|
3434
3300
|
},
|
|
3435
3301
|
{
|
|
3436
3302
|
"kind": "field",
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3439
|
-
|
|
3440
|
-
"name": "Accordion",
|
|
3441
|
-
"module": "src/accordion/accordion.ts"
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
|
-
{
|
|
3445
|
-
"kind": "method",
|
|
3446
|
-
"name": "resetItems",
|
|
3447
|
-
"privacy": "private",
|
|
3448
|
-
"return": {
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "void"
|
|
3451
|
-
}
|
|
3303
|
+
"name": "stopRecording",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "(() => void) | null"
|
|
3452
3306
|
},
|
|
3453
|
-
"
|
|
3454
|
-
|
|
3455
|
-
"module": "src/accordion/accordion.ts"
|
|
3456
|
-
}
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"default": "null"
|
|
3457
3309
|
},
|
|
3458
3310
|
{
|
|
3459
3311
|
"kind": "field",
|
|
3460
|
-
"name": "
|
|
3312
|
+
"name": "speechApplyDebounceTimer",
|
|
3313
|
+
"type": {
|
|
3314
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3315
|
+
},
|
|
3461
3316
|
"privacy": "private",
|
|
3462
|
-
"
|
|
3463
|
-
"name": "Accordion",
|
|
3464
|
-
"module": "src/accordion/accordion.ts"
|
|
3465
|
-
}
|
|
3317
|
+
"default": "null"
|
|
3466
3318
|
},
|
|
3467
3319
|
{
|
|
3468
3320
|
"kind": "field",
|
|
3469
|
-
"name": "
|
|
3470
|
-
"
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
}
|
|
3321
|
+
"name": "speechAvailable",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"readonly": true
|
|
3475
3326
|
},
|
|
3476
3327
|
{
|
|
3477
|
-
"kind": "
|
|
3478
|
-
"name": "
|
|
3479
|
-
"
|
|
3480
|
-
|
|
3481
|
-
"type": {
|
|
3482
|
-
"text": "Array<string | null>"
|
|
3483
|
-
}
|
|
3328
|
+
"kind": "field",
|
|
3329
|
+
"name": "criteriaChips",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "CriteriaChip[]"
|
|
3484
3332
|
},
|
|
3485
|
-
"
|
|
3486
|
-
"name": "Accordion",
|
|
3487
|
-
"module": "src/accordion/accordion.ts"
|
|
3488
|
-
}
|
|
3333
|
+
"readonly": true
|
|
3489
3334
|
},
|
|
3490
3335
|
{
|
|
3491
3336
|
"kind": "method",
|
|
3492
|
-
"name": "
|
|
3337
|
+
"name": "getFieldLabel",
|
|
3493
3338
|
"privacy": "private",
|
|
3494
3339
|
"return": {
|
|
3495
3340
|
"type": {
|
|
3496
|
-
"text": "
|
|
3341
|
+
"text": "string"
|
|
3497
3342
|
}
|
|
3498
3343
|
},
|
|
3499
|
-
"
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
"name": "handleItemFocus",
|
|
3516
|
-
"privacy": "private",
|
|
3517
|
-
"inheritedFrom": {
|
|
3518
|
-
"name": "Accordion",
|
|
3519
|
-
"module": "src/accordion/accordion.ts"
|
|
3344
|
+
"parameters": [
|
|
3345
|
+
{
|
|
3346
|
+
"name": "fieldName",
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "string"
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
]
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"kind": "method",
|
|
3355
|
+
"name": "toggleCriteriaView",
|
|
3356
|
+
"return": {
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "void"
|
|
3359
|
+
}
|
|
3520
3360
|
}
|
|
3521
3361
|
},
|
|
3522
3362
|
{
|
|
3523
3363
|
"kind": "method",
|
|
3524
|
-
"name": "
|
|
3525
|
-
"privacy": "private",
|
|
3364
|
+
"name": "removeChip",
|
|
3526
3365
|
"return": {
|
|
3527
3366
|
"type": {
|
|
3528
3367
|
"text": "void"
|
|
@@ -3530,31 +3369,49 @@
|
|
|
3530
3369
|
},
|
|
3531
3370
|
"parameters": [
|
|
3532
3371
|
{
|
|
3533
|
-
"name": "
|
|
3372
|
+
"name": "groupIndex",
|
|
3373
|
+
"type": {
|
|
3374
|
+
"text": "number"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "clauseIndex",
|
|
3534
3379
|
"type": {
|
|
3535
3380
|
"text": "number"
|
|
3536
3381
|
}
|
|
3537
3382
|
}
|
|
3538
|
-
]
|
|
3539
|
-
"inheritedFrom": {
|
|
3540
|
-
"name": "Accordion",
|
|
3541
|
-
"module": "src/accordion/accordion.ts"
|
|
3542
|
-
}
|
|
3383
|
+
]
|
|
3543
3384
|
},
|
|
3544
3385
|
{
|
|
3545
3386
|
"kind": "method",
|
|
3546
|
-
"name": "
|
|
3547
|
-
"privacy": "private",
|
|
3387
|
+
"name": "clearChips",
|
|
3548
3388
|
"return": {
|
|
3549
3389
|
"type": {
|
|
3550
3390
|
"text": "void"
|
|
3551
3391
|
}
|
|
3552
|
-
},
|
|
3553
|
-
"inheritedFrom": {
|
|
3554
|
-
"name": "Accordion",
|
|
3555
|
-
"module": "src/accordion/accordion.ts"
|
|
3556
3392
|
}
|
|
3557
3393
|
},
|
|
3394
|
+
{
|
|
3395
|
+
"kind": "method",
|
|
3396
|
+
"name": "handleSubmit"
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "method",
|
|
3400
|
+
"name": "handleBlur"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "method",
|
|
3404
|
+
"name": "clear"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "method",
|
|
3408
|
+
"name": "toggleSpeechInput"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"kind": "method",
|
|
3412
|
+
"name": "clearSpeechApplyDebounce",
|
|
3413
|
+
"privacy": "private"
|
|
3414
|
+
},
|
|
3558
3415
|
{
|
|
3559
3416
|
"kind": "field",
|
|
3560
3417
|
"name": "_presentation",
|
|
@@ -3669,26 +3526,48 @@
|
|
|
3669
3526
|
],
|
|
3670
3527
|
"events": [
|
|
3671
3528
|
{
|
|
3672
|
-
"description": "
|
|
3673
|
-
"name": "
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3529
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3530
|
+
"name": "criteria-changed"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3534
|
+
"name": "validation-errors"
|
|
3678
3535
|
}
|
|
3679
|
-
]
|
|
3536
|
+
],
|
|
3537
|
+
"attributes": [
|
|
3538
|
+
{
|
|
3539
|
+
"name": "placeholder",
|
|
3540
|
+
"type": {
|
|
3541
|
+
"text": "string"
|
|
3542
|
+
},
|
|
3543
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3544
|
+
"fieldName": "placeholder"
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
"type": {
|
|
3548
|
+
"text": "boolean"
|
|
3549
|
+
},
|
|
3550
|
+
"fieldName": "disabled"
|
|
3551
|
+
}
|
|
3552
|
+
],
|
|
3553
|
+
"superclass": {
|
|
3554
|
+
"name": "FoundationElement",
|
|
3555
|
+
"package": "@microsoft/fast-foundation"
|
|
3556
|
+
},
|
|
3557
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3558
|
+
"customElement": true
|
|
3680
3559
|
},
|
|
3681
3560
|
{
|
|
3682
3561
|
"kind": "variable",
|
|
3683
|
-
"name": "
|
|
3562
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3684
3563
|
"type": {
|
|
3685
3564
|
"text": "ShadowRootInit"
|
|
3686
3565
|
},
|
|
3687
|
-
"default": "
|
|
3566
|
+
"default": "undefined"
|
|
3688
3567
|
},
|
|
3689
3568
|
{
|
|
3690
3569
|
"kind": "variable",
|
|
3691
|
-
"name": "
|
|
3570
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3692
3571
|
"type": {
|
|
3693
3572
|
"text": "object"
|
|
3694
3573
|
},
|
|
@@ -3696,57 +3575,103 @@
|
|
|
3696
3575
|
},
|
|
3697
3576
|
{
|
|
3698
3577
|
"kind": "variable",
|
|
3699
|
-
"name": "
|
|
3700
|
-
"description": "The Foundation Accordion",
|
|
3701
|
-
"privacy": "public"
|
|
3578
|
+
"name": "foundationAiCriteriaSearch"
|
|
3702
3579
|
}
|
|
3703
3580
|
],
|
|
3704
3581
|
"exports": [
|
|
3705
3582
|
{
|
|
3706
3583
|
"kind": "js",
|
|
3707
|
-
"name": "
|
|
3584
|
+
"name": "AiCriteriaSearch",
|
|
3708
3585
|
"declaration": {
|
|
3709
|
-
"name": "
|
|
3710
|
-
"module": "src/
|
|
3586
|
+
"name": "AiCriteriaSearch",
|
|
3587
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3711
3588
|
}
|
|
3712
3589
|
},
|
|
3713
3590
|
{
|
|
3714
3591
|
"kind": "js",
|
|
3715
|
-
"name": "
|
|
3592
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3716
3593
|
"declaration": {
|
|
3717
|
-
"name": "
|
|
3718
|
-
"module": "src/
|
|
3594
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3595
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3719
3596
|
}
|
|
3720
3597
|
},
|
|
3721
3598
|
{
|
|
3722
3599
|
"kind": "js",
|
|
3723
|
-
"name": "
|
|
3600
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3724
3601
|
"declaration": {
|
|
3725
|
-
"name": "
|
|
3726
|
-
"module": "src/
|
|
3602
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3603
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3727
3604
|
}
|
|
3728
3605
|
},
|
|
3729
3606
|
{
|
|
3730
3607
|
"kind": "js",
|
|
3731
|
-
"name": "
|
|
3608
|
+
"name": "foundationAiCriteriaSearch",
|
|
3732
3609
|
"declaration": {
|
|
3733
|
-
"name": "
|
|
3734
|
-
"module": "src/
|
|
3610
|
+
"name": "foundationAiCriteriaSearch",
|
|
3611
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3735
3612
|
}
|
|
3736
3613
|
}
|
|
3737
3614
|
]
|
|
3738
3615
|
},
|
|
3739
3616
|
{
|
|
3740
3617
|
"kind": "javascript-module",
|
|
3741
|
-
"path": "src/
|
|
3618
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3742
3619
|
"declarations": [],
|
|
3743
3620
|
"exports": [
|
|
3621
|
+
{
|
|
3622
|
+
"kind": "js",
|
|
3623
|
+
"name": "AiCriteriaSearch",
|
|
3624
|
+
"declaration": {
|
|
3625
|
+
"name": "AiCriteriaSearch",
|
|
3626
|
+
"module": "./ai-criteria-search"
|
|
3627
|
+
}
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"kind": "js",
|
|
3631
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3632
|
+
"declaration": {
|
|
3633
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3634
|
+
"module": "./ai-criteria-search"
|
|
3635
|
+
}
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"kind": "js",
|
|
3639
|
+
"name": "foundationAiCriteriaSearch",
|
|
3640
|
+
"declaration": {
|
|
3641
|
+
"name": "foundationAiCriteriaSearch",
|
|
3642
|
+
"module": "./ai-criteria-search"
|
|
3643
|
+
}
|
|
3644
|
+
},
|
|
3645
|
+
{
|
|
3646
|
+
"kind": "js",
|
|
3647
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3648
|
+
"declaration": {
|
|
3649
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3650
|
+
"module": "./ai-criteria-search"
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"kind": "js",
|
|
3655
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3656
|
+
"declaration": {
|
|
3657
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3658
|
+
"module": "./ai-criteria-search.styles"
|
|
3659
|
+
}
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"kind": "js",
|
|
3663
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3664
|
+
"declaration": {
|
|
3665
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3666
|
+
"module": "./ai-criteria-search.template"
|
|
3667
|
+
}
|
|
3668
|
+
},
|
|
3744
3669
|
{
|
|
3745
3670
|
"kind": "js",
|
|
3746
3671
|
"name": "*",
|
|
3747
3672
|
"declaration": {
|
|
3748
3673
|
"name": "*",
|
|
3749
|
-
"package": "./
|
|
3674
|
+
"package": "./validation/criteria-ir"
|
|
3750
3675
|
}
|
|
3751
3676
|
},
|
|
3752
3677
|
{
|
|
@@ -3754,7 +3679,7 @@
|
|
|
3754
3679
|
"name": "*",
|
|
3755
3680
|
"declaration": {
|
|
3756
3681
|
"name": "*",
|
|
3757
|
-
"package": "./
|
|
3682
|
+
"package": "./validation/operator-map"
|
|
3758
3683
|
}
|
|
3759
3684
|
},
|
|
3760
3685
|
{
|
|
@@ -3762,7 +3687,82 @@
|
|
|
3762
3687
|
"name": "*",
|
|
3763
3688
|
"declaration": {
|
|
3764
3689
|
"name": "*",
|
|
3765
|
-
"package": "./
|
|
3690
|
+
"package": "./validation/schema-validator"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
]
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
"kind": "javascript-module",
|
|
3697
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3698
|
+
"declarations": [
|
|
3699
|
+
{
|
|
3700
|
+
"kind": "function",
|
|
3701
|
+
"name": "formatValidationErrors",
|
|
3702
|
+
"return": {
|
|
3703
|
+
"type": {
|
|
3704
|
+
"text": "string"
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
"parameters": [
|
|
3708
|
+
{
|
|
3709
|
+
"name": "errors",
|
|
3710
|
+
"type": {
|
|
3711
|
+
"text": "ValidationError[]"
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
],
|
|
3715
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"kind": "function",
|
|
3719
|
+
"name": "showCriteriaError",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "void"
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
"parameters": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "title",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"name": "body",
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"description": "Error message to display"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"name": "tagName",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "string"
|
|
3744
|
+
},
|
|
3745
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3746
|
+
}
|
|
3747
|
+
],
|
|
3748
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3749
|
+
}
|
|
3750
|
+
],
|
|
3751
|
+
"exports": [
|
|
3752
|
+
{
|
|
3753
|
+
"kind": "js",
|
|
3754
|
+
"name": "formatValidationErrors",
|
|
3755
|
+
"declaration": {
|
|
3756
|
+
"name": "formatValidationErrors",
|
|
3757
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3758
|
+
}
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"kind": "js",
|
|
3762
|
+
"name": "showCriteriaError",
|
|
3763
|
+
"declaration": {
|
|
3764
|
+
"name": "showCriteriaError",
|
|
3765
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3766
3766
|
}
|
|
3767
3767
|
}
|
|
3768
3768
|
]
|