@genesislcap/foundation-ui 15.90.1 → 15.90.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +563 -563
- 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
|
@@ -1493,37 +1493,6 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/_config/index.ts",
|
|
1499
|
-
"declarations": [],
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "js",
|
|
1511
|
-
"name": "*",
|
|
1512
|
-
"declaration": {
|
|
1513
|
-
"name": "*",
|
|
1514
|
-
"package": "./tokens"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"kind": "js",
|
|
1519
|
-
"name": "*",
|
|
1520
|
-
"declaration": {
|
|
1521
|
-
"name": "*",
|
|
1522
|
-
"package": "./values"
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
]
|
|
1526
|
-
},
|
|
1527
1496
|
{
|
|
1528
1497
|
"kind": "javascript-module",
|
|
1529
1498
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -2039,6 +2008,37 @@
|
|
|
2039
2008
|
}
|
|
2040
2009
|
]
|
|
2041
2010
|
},
|
|
2011
|
+
{
|
|
2012
|
+
"kind": "javascript-module",
|
|
2013
|
+
"path": "src/_config/index.ts",
|
|
2014
|
+
"declarations": [],
|
|
2015
|
+
"exports": [
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "js",
|
|
2018
|
+
"name": "*",
|
|
2019
|
+
"declaration": {
|
|
2020
|
+
"name": "*",
|
|
2021
|
+
"package": "./styles"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "js",
|
|
2026
|
+
"name": "*",
|
|
2027
|
+
"declaration": {
|
|
2028
|
+
"name": "*",
|
|
2029
|
+
"package": "./tokens"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"kind": "js",
|
|
2034
|
+
"name": "*",
|
|
2035
|
+
"declaration": {
|
|
2036
|
+
"name": "*",
|
|
2037
|
+
"package": "./values"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
2042
|
{
|
|
2043
2043
|
"kind": "javascript-module",
|
|
2044
2044
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2766,289 +2766,217 @@
|
|
|
2766
2766
|
},
|
|
2767
2767
|
{
|
|
2768
2768
|
"kind": "javascript-module",
|
|
2769
|
-
"path": "src/
|
|
2769
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2770
2770
|
"declarations": [
|
|
2771
2771
|
{
|
|
2772
|
-
"kind": "
|
|
2773
|
-
"name": "
|
|
2774
|
-
"
|
|
2772
|
+
"kind": "function",
|
|
2773
|
+
"name": "foundationAccordionItemStyles",
|
|
2774
|
+
"return": {
|
|
2775
|
+
"type": {
|
|
2776
|
+
"text": "ElementStyles"
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
"parameters": [
|
|
2780
|
+
{
|
|
2781
|
+
"name": "context",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "ElementDefinitionContext"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "definition",
|
|
2788
|
+
"type": {
|
|
2789
|
+
"text": "FoundationElementDefinition"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
]
|
|
2775
2793
|
}
|
|
2776
2794
|
],
|
|
2777
2795
|
"exports": [
|
|
2778
2796
|
{
|
|
2779
2797
|
"kind": "js",
|
|
2780
|
-
"name": "
|
|
2798
|
+
"name": "foundationAccordionItemStyles",
|
|
2781
2799
|
"declaration": {
|
|
2782
|
-
"name": "
|
|
2783
|
-
"module": "src/
|
|
2800
|
+
"name": "foundationAccordionItemStyles",
|
|
2801
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2784
2802
|
}
|
|
2785
2803
|
}
|
|
2786
2804
|
]
|
|
2787
2805
|
},
|
|
2788
2806
|
{
|
|
2789
2807
|
"kind": "javascript-module",
|
|
2790
|
-
"path": "src/
|
|
2808
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2791
2809
|
"declarations": [
|
|
2792
2810
|
{
|
|
2793
|
-
"kind": "
|
|
2794
|
-
"name": "
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2811
|
+
"kind": "function",
|
|
2812
|
+
"name": "foundationAccordionItemTemplate",
|
|
2813
|
+
"return": {
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2816
|
+
}
|
|
2797
2817
|
},
|
|
2798
|
-
"
|
|
2818
|
+
"parameters": [
|
|
2819
|
+
{
|
|
2820
|
+
"name": "context",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "ElementDefinitionContext"
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"name": "definition",
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "FoundationElementDefinition"
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
]
|
|
2799
2832
|
}
|
|
2800
2833
|
],
|
|
2801
2834
|
"exports": [
|
|
2802
2835
|
{
|
|
2803
2836
|
"kind": "js",
|
|
2804
|
-
"name": "
|
|
2837
|
+
"name": "foundationAccordionItemTemplate",
|
|
2805
2838
|
"declaration": {
|
|
2806
|
-
"name": "
|
|
2807
|
-
"module": "src/
|
|
2839
|
+
"name": "foundationAccordionItemTemplate",
|
|
2840
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2808
2841
|
}
|
|
2809
2842
|
}
|
|
2810
2843
|
]
|
|
2811
2844
|
},
|
|
2812
2845
|
{
|
|
2813
2846
|
"kind": "javascript-module",
|
|
2814
|
-
"path": "src/
|
|
2847
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2815
2848
|
"declarations": [
|
|
2816
2849
|
{
|
|
2817
2850
|
"kind": "class",
|
|
2818
|
-
"description": "
|
|
2819
|
-
"name": "
|
|
2820
|
-
"
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
},
|
|
2851
|
+
"description": "",
|
|
2852
|
+
"name": "AccordionItem",
|
|
2853
|
+
"superclass": {
|
|
2854
|
+
"name": "FASTAccordionItem",
|
|
2855
|
+
"package": "@microsoft/fast-components"
|
|
2856
|
+
},
|
|
2857
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2858
|
+
"customElement": true,
|
|
2859
|
+
"attributes": [
|
|
2828
2860
|
{
|
|
2829
|
-
"
|
|
2830
|
-
"name": "placeholder",
|
|
2861
|
+
"name": "heading-level",
|
|
2831
2862
|
"type": {
|
|
2832
|
-
"text": "
|
|
2863
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2833
2864
|
},
|
|
2834
|
-
"default": "
|
|
2865
|
+
"default": "2",
|
|
2866
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2867
|
+
"fieldName": "headinglevel",
|
|
2868
|
+
"inheritedFrom": {
|
|
2869
|
+
"name": "AccordionItem",
|
|
2870
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2871
|
+
}
|
|
2835
2872
|
},
|
|
2836
2873
|
{
|
|
2837
|
-
"kind": "field",
|
|
2838
|
-
"name": "disabled",
|
|
2839
2874
|
"type": {
|
|
2840
2875
|
"text": "boolean"
|
|
2876
|
+
},
|
|
2877
|
+
"default": "false",
|
|
2878
|
+
"description": "Expands or collapses the item.",
|
|
2879
|
+
"fieldName": "expanded",
|
|
2880
|
+
"inheritedFrom": {
|
|
2881
|
+
"name": "AccordionItem",
|
|
2882
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2841
2883
|
}
|
|
2842
2884
|
},
|
|
2843
2885
|
{
|
|
2844
|
-
"
|
|
2845
|
-
"name": "inputValue",
|
|
2886
|
+
"name": "id",
|
|
2846
2887
|
"type": {
|
|
2847
2888
|
"text": "string"
|
|
2848
2889
|
},
|
|
2849
|
-
"
|
|
2850
|
-
|
|
2890
|
+
"description": "The item ID",
|
|
2891
|
+
"fieldName": "id",
|
|
2892
|
+
"inheritedFrom": {
|
|
2893
|
+
"name": "AccordionItem",
|
|
2894
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
],
|
|
2898
|
+
"members": [
|
|
2851
2899
|
{
|
|
2852
2900
|
"kind": "field",
|
|
2853
|
-
"name": "
|
|
2901
|
+
"name": "headinglevel",
|
|
2854
2902
|
"type": {
|
|
2855
|
-
"text": "
|
|
2903
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2856
2904
|
},
|
|
2857
|
-
"
|
|
2905
|
+
"privacy": "public",
|
|
2906
|
+
"default": "2",
|
|
2907
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2908
|
+
"inheritedFrom": {
|
|
2909
|
+
"name": "AccordionItem",
|
|
2910
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2911
|
+
}
|
|
2858
2912
|
},
|
|
2859
2913
|
{
|
|
2860
2914
|
"kind": "field",
|
|
2861
|
-
"name": "
|
|
2915
|
+
"name": "expanded",
|
|
2862
2916
|
"type": {
|
|
2863
|
-
"text": "
|
|
2917
|
+
"text": "boolean"
|
|
2864
2918
|
},
|
|
2865
|
-
"
|
|
2919
|
+
"privacy": "public",
|
|
2920
|
+
"default": "false",
|
|
2921
|
+
"description": "Expands or collapses the item.",
|
|
2922
|
+
"inheritedFrom": {
|
|
2923
|
+
"name": "AccordionItem",
|
|
2924
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2925
|
+
}
|
|
2866
2926
|
},
|
|
2867
2927
|
{
|
|
2868
2928
|
"kind": "field",
|
|
2869
|
-
"name": "
|
|
2929
|
+
"name": "id",
|
|
2870
2930
|
"type": {
|
|
2871
|
-
"text": "
|
|
2931
|
+
"text": "string"
|
|
2872
2932
|
},
|
|
2873
|
-
"
|
|
2933
|
+
"privacy": "public",
|
|
2934
|
+
"description": "The item ID",
|
|
2935
|
+
"inheritedFrom": {
|
|
2936
|
+
"name": "AccordionItem",
|
|
2937
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2938
|
+
}
|
|
2874
2939
|
},
|
|
2875
2940
|
{
|
|
2876
2941
|
"kind": "field",
|
|
2877
|
-
"name": "
|
|
2878
|
-
"
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2942
|
+
"name": "change",
|
|
2943
|
+
"privacy": "private",
|
|
2944
|
+
"inheritedFrom": {
|
|
2945
|
+
"name": "AccordionItem",
|
|
2946
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2947
|
+
}
|
|
2882
2948
|
},
|
|
2883
2949
|
{
|
|
2884
2950
|
"kind": "field",
|
|
2885
|
-
"name": "
|
|
2951
|
+
"name": "_presentation",
|
|
2886
2952
|
"type": {
|
|
2887
|
-
"text": "
|
|
2953
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2888
2954
|
},
|
|
2889
|
-
"
|
|
2955
|
+
"privacy": "private",
|
|
2956
|
+
"default": "void 0",
|
|
2957
|
+
"inheritedFrom": {
|
|
2958
|
+
"name": "FoundationElement",
|
|
2959
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2960
|
+
}
|
|
2890
2961
|
},
|
|
2891
2962
|
{
|
|
2892
2963
|
"kind": "field",
|
|
2893
|
-
"name": "
|
|
2964
|
+
"name": "$presentation",
|
|
2894
2965
|
"type": {
|
|
2895
|
-
"text": "
|
|
2966
|
+
"text": "ComponentPresentation | null"
|
|
2896
2967
|
},
|
|
2897
|
-
"
|
|
2968
|
+
"privacy": "public",
|
|
2969
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2970
|
+
"inheritedFrom": {
|
|
2971
|
+
"name": "FoundationElement",
|
|
2972
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2973
|
+
}
|
|
2898
2974
|
},
|
|
2899
2975
|
{
|
|
2900
2976
|
"kind": "field",
|
|
2901
|
-
"name": "
|
|
2977
|
+
"name": "template",
|
|
2902
2978
|
"type": {
|
|
2903
|
-
"text": "
|
|
2904
|
-
},
|
|
2905
|
-
"privacy": "public"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "field",
|
|
2909
|
-
"name": "stopRecording",
|
|
2910
|
-
"type": {
|
|
2911
|
-
"text": "(() => void) | null"
|
|
2912
|
-
},
|
|
2913
|
-
"privacy": "private",
|
|
2914
|
-
"default": "null"
|
|
2915
|
-
},
|
|
2916
|
-
{
|
|
2917
|
-
"kind": "field",
|
|
2918
|
-
"name": "speechApplyDebounceTimer",
|
|
2919
|
-
"type": {
|
|
2920
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2921
|
-
},
|
|
2922
|
-
"privacy": "private",
|
|
2923
|
-
"default": "null"
|
|
2924
|
-
},
|
|
2925
|
-
{
|
|
2926
|
-
"kind": "field",
|
|
2927
|
-
"name": "speechAvailable",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "boolean"
|
|
2930
|
-
},
|
|
2931
|
-
"readonly": true
|
|
2932
|
-
},
|
|
2933
|
-
{
|
|
2934
|
-
"kind": "field",
|
|
2935
|
-
"name": "criteriaChips",
|
|
2936
|
-
"type": {
|
|
2937
|
-
"text": "CriteriaChip[]"
|
|
2938
|
-
},
|
|
2939
|
-
"readonly": true
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "method",
|
|
2943
|
-
"name": "getFieldLabel",
|
|
2944
|
-
"privacy": "private",
|
|
2945
|
-
"return": {
|
|
2946
|
-
"type": {
|
|
2947
|
-
"text": "string"
|
|
2948
|
-
}
|
|
2949
|
-
},
|
|
2950
|
-
"parameters": [
|
|
2951
|
-
{
|
|
2952
|
-
"name": "fieldName",
|
|
2953
|
-
"type": {
|
|
2954
|
-
"text": "string"
|
|
2955
|
-
}
|
|
2956
|
-
}
|
|
2957
|
-
]
|
|
2958
|
-
},
|
|
2959
|
-
{
|
|
2960
|
-
"kind": "method",
|
|
2961
|
-
"name": "toggleCriteriaView",
|
|
2962
|
-
"return": {
|
|
2963
|
-
"type": {
|
|
2964
|
-
"text": "void"
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
|
-
},
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "method",
|
|
2970
|
-
"name": "removeChip",
|
|
2971
|
-
"return": {
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "void"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
"parameters": [
|
|
2977
|
-
{
|
|
2978
|
-
"name": "groupIndex",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "number"
|
|
2981
|
-
}
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
"name": "clauseIndex",
|
|
2985
|
-
"type": {
|
|
2986
|
-
"text": "number"
|
|
2987
|
-
}
|
|
2988
|
-
}
|
|
2989
|
-
]
|
|
2990
|
-
},
|
|
2991
|
-
{
|
|
2992
|
-
"kind": "method",
|
|
2993
|
-
"name": "clearChips",
|
|
2994
|
-
"return": {
|
|
2995
|
-
"type": {
|
|
2996
|
-
"text": "void"
|
|
2997
|
-
}
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "method",
|
|
3002
|
-
"name": "handleSubmit"
|
|
3003
|
-
},
|
|
3004
|
-
{
|
|
3005
|
-
"kind": "method",
|
|
3006
|
-
"name": "handleBlur"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "method",
|
|
3010
|
-
"name": "clear"
|
|
3011
|
-
},
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "method",
|
|
3014
|
-
"name": "toggleSpeechInput"
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "method",
|
|
3018
|
-
"name": "clearSpeechApplyDebounce",
|
|
3019
|
-
"privacy": "private"
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
"kind": "field",
|
|
3023
|
-
"name": "_presentation",
|
|
3024
|
-
"type": {
|
|
3025
|
-
"text": "ComponentPresentation | null | undefined"
|
|
3026
|
-
},
|
|
3027
|
-
"privacy": "private",
|
|
3028
|
-
"default": "void 0",
|
|
3029
|
-
"inheritedFrom": {
|
|
3030
|
-
"name": "FoundationElement",
|
|
3031
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3032
|
-
}
|
|
3033
|
-
},
|
|
3034
|
-
{
|
|
3035
|
-
"kind": "field",
|
|
3036
|
-
"name": "$presentation",
|
|
3037
|
-
"type": {
|
|
3038
|
-
"text": "ComponentPresentation | null"
|
|
3039
|
-
},
|
|
3040
|
-
"privacy": "public",
|
|
3041
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3042
|
-
"inheritedFrom": {
|
|
3043
|
-
"name": "FoundationElement",
|
|
3044
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3045
|
-
}
|
|
3046
|
-
},
|
|
3047
|
-
{
|
|
3048
|
-
"kind": "field",
|
|
3049
|
-
"name": "template",
|
|
3050
|
-
"type": {
|
|
3051
|
-
"text": "ElementViewTemplate | void | null"
|
|
2979
|
+
"text": "ElementViewTemplate | void | null"
|
|
3052
2980
|
},
|
|
3053
2981
|
"privacy": "public",
|
|
3054
2982
|
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
@@ -3132,428 +3060,357 @@
|
|
|
3132
3060
|
],
|
|
3133
3061
|
"events": [
|
|
3134
3062
|
{
|
|
3135
|
-
"description": "
|
|
3136
|
-
"name": "
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
],
|
|
3143
|
-
"attributes": [
|
|
3144
|
-
{
|
|
3145
|
-
"name": "placeholder",
|
|
3146
|
-
"type": {
|
|
3147
|
-
"text": "string"
|
|
3148
|
-
},
|
|
3149
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3150
|
-
"fieldName": "placeholder"
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "boolean"
|
|
3155
|
-
},
|
|
3156
|
-
"fieldName": "disabled"
|
|
3063
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3064
|
+
"name": "change",
|
|
3065
|
+
"inheritedFrom": {
|
|
3066
|
+
"name": "AccordionItem",
|
|
3067
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3068
|
+
}
|
|
3157
3069
|
}
|
|
3158
|
-
]
|
|
3159
|
-
"superclass": {
|
|
3160
|
-
"name": "FoundationElement",
|
|
3161
|
-
"package": "@microsoft/fast-foundation"
|
|
3162
|
-
},
|
|
3163
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3164
|
-
"customElement": true
|
|
3070
|
+
]
|
|
3165
3071
|
},
|
|
3166
3072
|
{
|
|
3167
3073
|
"kind": "variable",
|
|
3168
|
-
"name": "
|
|
3074
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3169
3075
|
"type": {
|
|
3170
3076
|
"text": "ShadowRootInit"
|
|
3171
3077
|
},
|
|
3172
|
-
"default": "
|
|
3078
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3173
3079
|
},
|
|
3174
3080
|
{
|
|
3175
3081
|
"kind": "variable",
|
|
3176
|
-
"name": "
|
|
3082
|
+
"name": "defaultAccordionItemConfig",
|
|
3177
3083
|
"type": {
|
|
3178
3084
|
"text": "object"
|
|
3179
3085
|
},
|
|
3180
|
-
"default": "{}"
|
|
3086
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
3181
3087
|
},
|
|
3182
3088
|
{
|
|
3183
3089
|
"kind": "variable",
|
|
3184
|
-
"name": "
|
|
3090
|
+
"name": "foundationAccordionItem",
|
|
3091
|
+
"description": "The Foundation Accordion Item",
|
|
3092
|
+
"privacy": "public"
|
|
3185
3093
|
}
|
|
3186
3094
|
],
|
|
3187
3095
|
"exports": [
|
|
3188
3096
|
{
|
|
3189
3097
|
"kind": "js",
|
|
3190
|
-
"name": "
|
|
3098
|
+
"name": "AccordionItem",
|
|
3191
3099
|
"declaration": {
|
|
3192
|
-
"name": "
|
|
3193
|
-
"module": "src/
|
|
3100
|
+
"name": "AccordionItem",
|
|
3101
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3194
3102
|
}
|
|
3195
3103
|
},
|
|
3196
3104
|
{
|
|
3197
3105
|
"kind": "js",
|
|
3198
|
-
"name": "
|
|
3106
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3199
3107
|
"declaration": {
|
|
3200
|
-
"name": "
|
|
3201
|
-
"module": "src/
|
|
3108
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3109
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3202
3110
|
}
|
|
3203
3111
|
},
|
|
3204
3112
|
{
|
|
3205
3113
|
"kind": "js",
|
|
3206
|
-
"name": "
|
|
3114
|
+
"name": "defaultAccordionItemConfig",
|
|
3207
3115
|
"declaration": {
|
|
3208
|
-
"name": "
|
|
3209
|
-
"module": "src/
|
|
3116
|
+
"name": "defaultAccordionItemConfig",
|
|
3117
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3210
3118
|
}
|
|
3211
3119
|
},
|
|
3212
3120
|
{
|
|
3213
3121
|
"kind": "js",
|
|
3214
|
-
"name": "
|
|
3122
|
+
"name": "foundationAccordionItem",
|
|
3215
3123
|
"declaration": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"module": "src/
|
|
3124
|
+
"name": "foundationAccordionItem",
|
|
3125
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3218
3126
|
}
|
|
3219
3127
|
}
|
|
3220
3128
|
]
|
|
3221
3129
|
},
|
|
3222
3130
|
{
|
|
3223
3131
|
"kind": "javascript-module",
|
|
3224
|
-
"path": "src/
|
|
3132
|
+
"path": "src/accordion-item/index.ts",
|
|
3225
3133
|
"declarations": [],
|
|
3226
3134
|
"exports": [
|
|
3227
3135
|
{
|
|
3228
3136
|
"kind": "js",
|
|
3229
|
-
"name": "
|
|
3137
|
+
"name": "*",
|
|
3230
3138
|
"declaration": {
|
|
3231
|
-
"name": "
|
|
3232
|
-
"
|
|
3139
|
+
"name": "*",
|
|
3140
|
+
"package": "./accordion-item.template"
|
|
3233
3141
|
}
|
|
3234
3142
|
},
|
|
3235
3143
|
{
|
|
3236
3144
|
"kind": "js",
|
|
3237
|
-
"name": "
|
|
3145
|
+
"name": "*",
|
|
3238
3146
|
"declaration": {
|
|
3239
|
-
"name": "
|
|
3240
|
-
"
|
|
3147
|
+
"name": "*",
|
|
3148
|
+
"package": "./accordion-item.styles"
|
|
3241
3149
|
}
|
|
3242
3150
|
},
|
|
3243
3151
|
{
|
|
3244
3152
|
"kind": "js",
|
|
3245
|
-
"name": "
|
|
3153
|
+
"name": "*",
|
|
3246
3154
|
"declaration": {
|
|
3247
|
-
"name": "
|
|
3248
|
-
"
|
|
3155
|
+
"name": "*",
|
|
3156
|
+
"package": "./accordion-item"
|
|
3249
3157
|
}
|
|
3250
|
-
}
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3158
|
+
}
|
|
3159
|
+
]
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "javascript-module",
|
|
3163
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3164
|
+
"declarations": [
|
|
3165
|
+
{
|
|
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": [
|
|
3259
3172
|
{
|
|
3260
3173
|
"kind": "js",
|
|
3261
3174
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3262
3175
|
"declaration": {
|
|
3263
3176
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3264
|
-
"module": "
|
|
3177
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3265
3178
|
}
|
|
3266
|
-
}
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"kind": "javascript-module",
|
|
3184
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3185
|
+
"declarations": [
|
|
3267
3186
|
{
|
|
3268
|
-
"kind": "
|
|
3187
|
+
"kind": "variable",
|
|
3269
3188
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3270
|
-
"
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
}
|
|
3274
|
-
}
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
"name": "*",
|
|
3278
|
-
"declaration": {
|
|
3279
|
-
"name": "*",
|
|
3280
|
-
"package": "./validation/criteria-ir"
|
|
3281
|
-
}
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"kind": "js",
|
|
3285
|
-
"name": "*",
|
|
3286
|
-
"declaration": {
|
|
3287
|
-
"name": "*",
|
|
3288
|
-
"package": "./validation/operator-map"
|
|
3289
|
-
}
|
|
3290
|
-
},
|
|
3189
|
+
"type": {
|
|
3190
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3191
|
+
},
|
|
3192
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3193
|
+
}
|
|
3194
|
+
],
|
|
3195
|
+
"exports": [
|
|
3291
3196
|
{
|
|
3292
3197
|
"kind": "js",
|
|
3293
|
-
"name": "
|
|
3198
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3294
3199
|
"declaration": {
|
|
3295
|
-
"name": "
|
|
3296
|
-
"
|
|
3200
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3201
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3297
3202
|
}
|
|
3298
3203
|
}
|
|
3299
3204
|
]
|
|
3300
3205
|
},
|
|
3301
3206
|
{
|
|
3302
3207
|
"kind": "javascript-module",
|
|
3303
|
-
"path": "src/ai-criteria-search/
|
|
3208
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3304
3209
|
"declarations": [
|
|
3305
3210
|
{
|
|
3306
|
-
"kind": "
|
|
3307
|
-
"
|
|
3308
|
-
"
|
|
3309
|
-
|
|
3310
|
-
"text": "string"
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
|
-
"parameters": [
|
|
3211
|
+
"kind": "class",
|
|
3212
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3213
|
+
"name": "AiCriteriaSearch",
|
|
3214
|
+
"members": [
|
|
3314
3215
|
{
|
|
3315
|
-
"
|
|
3216
|
+
"kind": "field",
|
|
3217
|
+
"name": "providerRegistry",
|
|
3316
3218
|
"type": {
|
|
3317
|
-
"text": "
|
|
3219
|
+
"text": "AIProviderRegistry"
|
|
3318
3220
|
}
|
|
3319
|
-
}
|
|
3320
|
-
],
|
|
3321
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3322
|
-
},
|
|
3323
|
-
{
|
|
3324
|
-
"kind": "function",
|
|
3325
|
-
"name": "showCriteriaError",
|
|
3326
|
-
"return": {
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "void"
|
|
3329
|
-
}
|
|
3330
|
-
},
|
|
3331
|
-
"parameters": [
|
|
3221
|
+
},
|
|
3332
3222
|
{
|
|
3333
|
-
"
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "placeholder",
|
|
3334
3225
|
"type": {
|
|
3335
3226
|
"text": "string"
|
|
3336
3227
|
},
|
|
3337
|
-
"
|
|
3228
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3338
3229
|
},
|
|
3339
3230
|
{
|
|
3340
|
-
"
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "disabled",
|
|
3341
3233
|
"type": {
|
|
3342
|
-
"text": "
|
|
3343
|
-
}
|
|
3344
|
-
"description": "Error message to display"
|
|
3234
|
+
"text": "boolean"
|
|
3235
|
+
}
|
|
3345
3236
|
},
|
|
3346
3237
|
{
|
|
3347
|
-
"
|
|
3238
|
+
"kind": "field",
|
|
3239
|
+
"name": "inputValue",
|
|
3348
3240
|
"type": {
|
|
3349
3241
|
"text": "string"
|
|
3350
3242
|
},
|
|
3351
|
-
"
|
|
3352
|
-
}
|
|
3353
|
-
],
|
|
3354
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3355
|
-
}
|
|
3356
|
-
],
|
|
3357
|
-
"exports": [
|
|
3358
|
-
{
|
|
3359
|
-
"kind": "js",
|
|
3360
|
-
"name": "formatValidationErrors",
|
|
3361
|
-
"declaration": {
|
|
3362
|
-
"name": "formatValidationErrors",
|
|
3363
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3364
|
-
}
|
|
3365
|
-
},
|
|
3366
|
-
{
|
|
3367
|
-
"kind": "js",
|
|
3368
|
-
"name": "showCriteriaError",
|
|
3369
|
-
"declaration": {
|
|
3370
|
-
"name": "showCriteriaError",
|
|
3371
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3372
|
-
}
|
|
3373
|
-
}
|
|
3374
|
-
]
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "javascript-module",
|
|
3378
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3379
|
-
"declarations": [
|
|
3380
|
-
{
|
|
3381
|
-
"kind": "function",
|
|
3382
|
-
"name": "foundationAccordionItemStyles",
|
|
3383
|
-
"return": {
|
|
3384
|
-
"type": {
|
|
3385
|
-
"text": "ElementStyles"
|
|
3386
|
-
}
|
|
3387
|
-
},
|
|
3388
|
-
"parameters": [
|
|
3243
|
+
"default": "''"
|
|
3244
|
+
},
|
|
3389
3245
|
{
|
|
3390
|
-
"
|
|
3246
|
+
"kind": "field",
|
|
3247
|
+
"name": "isInterpreting",
|
|
3391
3248
|
"type": {
|
|
3392
|
-
"text": "
|
|
3393
|
-
}
|
|
3249
|
+
"text": "boolean"
|
|
3250
|
+
},
|
|
3251
|
+
"default": "false"
|
|
3394
3252
|
},
|
|
3395
3253
|
{
|
|
3396
|
-
"
|
|
3254
|
+
"kind": "field",
|
|
3255
|
+
"name": "lastValidCriteria",
|
|
3397
3256
|
"type": {
|
|
3398
|
-
"text": "
|
|
3399
|
-
}
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
}
|
|
3403
|
-
],
|
|
3404
|
-
"exports": [
|
|
3405
|
-
{
|
|
3406
|
-
"kind": "js",
|
|
3407
|
-
"name": "foundationAccordionItemStyles",
|
|
3408
|
-
"declaration": {
|
|
3409
|
-
"name": "foundationAccordionItemStyles",
|
|
3410
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
]
|
|
3414
|
-
},
|
|
3415
|
-
{
|
|
3416
|
-
"kind": "javascript-module",
|
|
3417
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3418
|
-
"declarations": [
|
|
3419
|
-
{
|
|
3420
|
-
"kind": "function",
|
|
3421
|
-
"name": "foundationAccordionItemTemplate",
|
|
3422
|
-
"return": {
|
|
3423
|
-
"type": {
|
|
3424
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
|
-
"parameters": [
|
|
3257
|
+
"text": "string | null"
|
|
3258
|
+
},
|
|
3259
|
+
"default": "null"
|
|
3260
|
+
},
|
|
3428
3261
|
{
|
|
3429
|
-
"
|
|
3262
|
+
"kind": "field",
|
|
3263
|
+
"name": "activeGroups",
|
|
3430
3264
|
"type": {
|
|
3431
|
-
"text": "
|
|
3432
|
-
}
|
|
3265
|
+
"text": "CriteriaGroup[]"
|
|
3266
|
+
},
|
|
3267
|
+
"default": "[]"
|
|
3433
3268
|
},
|
|
3434
3269
|
{
|
|
3435
|
-
"
|
|
3270
|
+
"kind": "field",
|
|
3271
|
+
"name": "showingChips",
|
|
3436
3272
|
"type": {
|
|
3437
|
-
"text": "
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
}
|
|
3442
|
-
],
|
|
3443
|
-
"exports": [
|
|
3444
|
-
{
|
|
3445
|
-
"kind": "js",
|
|
3446
|
-
"name": "foundationAccordionItemTemplate",
|
|
3447
|
-
"declaration": {
|
|
3448
|
-
"name": "foundationAccordionItemTemplate",
|
|
3449
|
-
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3450
|
-
}
|
|
3451
|
-
}
|
|
3452
|
-
]
|
|
3453
|
-
},
|
|
3454
|
-
{
|
|
3455
|
-
"kind": "javascript-module",
|
|
3456
|
-
"path": "src/accordion-item/accordion-item.ts",
|
|
3457
|
-
"declarations": [
|
|
3458
|
-
{
|
|
3459
|
-
"kind": "class",
|
|
3460
|
-
"description": "",
|
|
3461
|
-
"name": "AccordionItem",
|
|
3462
|
-
"superclass": {
|
|
3463
|
-
"name": "FASTAccordionItem",
|
|
3464
|
-
"package": "@microsoft/fast-components"
|
|
3465
|
-
},
|
|
3466
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
3467
|
-
"customElement": true,
|
|
3468
|
-
"attributes": [
|
|
3273
|
+
"text": "boolean"
|
|
3274
|
+
},
|
|
3275
|
+
"default": "false"
|
|
3276
|
+
},
|
|
3469
3277
|
{
|
|
3470
|
-
"
|
|
3278
|
+
"kind": "field",
|
|
3279
|
+
"name": "fieldMetadata",
|
|
3471
3280
|
"type": {
|
|
3472
|
-
"text": "
|
|
3281
|
+
"text": "MetadataDetail[] | string[]"
|
|
3473
3282
|
},
|
|
3474
|
-
"default": "
|
|
3475
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3476
|
-
"fieldName": "headinglevel",
|
|
3477
|
-
"inheritedFrom": {
|
|
3478
|
-
"name": "AccordionItem",
|
|
3479
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3480
|
-
}
|
|
3283
|
+
"default": "[]"
|
|
3481
3284
|
},
|
|
3482
3285
|
{
|
|
3286
|
+
"kind": "field",
|
|
3287
|
+
"name": "isRecording",
|
|
3483
3288
|
"type": {
|
|
3484
3289
|
"text": "boolean"
|
|
3485
3290
|
},
|
|
3486
|
-
"default": "false"
|
|
3487
|
-
"description": "Expands or collapses the item.",
|
|
3488
|
-
"fieldName": "expanded",
|
|
3489
|
-
"inheritedFrom": {
|
|
3490
|
-
"name": "AccordionItem",
|
|
3491
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3492
|
-
}
|
|
3291
|
+
"default": "false"
|
|
3493
3292
|
},
|
|
3494
3293
|
{
|
|
3495
|
-
"
|
|
3294
|
+
"kind": "field",
|
|
3295
|
+
"name": "textAreaRef",
|
|
3496
3296
|
"type": {
|
|
3497
|
-
"text": "
|
|
3297
|
+
"text": "HTMLTextAreaElement"
|
|
3498
3298
|
},
|
|
3499
|
-
"
|
|
3500
|
-
|
|
3501
|
-
"inheritedFrom": {
|
|
3502
|
-
"name": "AccordionItem",
|
|
3503
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3504
|
-
}
|
|
3505
|
-
}
|
|
3506
|
-
],
|
|
3507
|
-
"members": [
|
|
3299
|
+
"privacy": "public"
|
|
3300
|
+
},
|
|
3508
3301
|
{
|
|
3509
3302
|
"kind": "field",
|
|
3510
|
-
"name": "
|
|
3303
|
+
"name": "stopRecording",
|
|
3511
3304
|
"type": {
|
|
3512
|
-
"text": "
|
|
3305
|
+
"text": "(() => void) | null"
|
|
3513
3306
|
},
|
|
3514
|
-
"privacy": "
|
|
3515
|
-
"default": "
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"default": "null"
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"kind": "field",
|
|
3312
|
+
"name": "speechApplyDebounceTimer",
|
|
3313
|
+
"type": {
|
|
3314
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3315
|
+
},
|
|
3316
|
+
"privacy": "private",
|
|
3317
|
+
"default": "null"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"kind": "field",
|
|
3321
|
+
"name": "speechAvailable",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"readonly": true
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"kind": "field",
|
|
3329
|
+
"name": "criteriaChips",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "CriteriaChip[]"
|
|
3332
|
+
},
|
|
3333
|
+
"readonly": true
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
"kind": "method",
|
|
3337
|
+
"name": "getFieldLabel",
|
|
3338
|
+
"privacy": "private",
|
|
3339
|
+
"return": {
|
|
3340
|
+
"type": {
|
|
3341
|
+
"text": "string"
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
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
|
-
"kind": "
|
|
3524
|
-
"name": "
|
|
3525
|
-
"
|
|
3526
|
-
"
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
"
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3363
|
+
"kind": "method",
|
|
3364
|
+
"name": "removeChip",
|
|
3365
|
+
"return": {
|
|
3366
|
+
"type": {
|
|
3367
|
+
"text": "void"
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
"parameters": [
|
|
3371
|
+
{
|
|
3372
|
+
"name": "groupIndex",
|
|
3373
|
+
"type": {
|
|
3374
|
+
"text": "number"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "clauseIndex",
|
|
3379
|
+
"type": {
|
|
3380
|
+
"text": "number"
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
]
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"kind": "method",
|
|
3387
|
+
"name": "clearChips",
|
|
3388
|
+
"return": {
|
|
3389
|
+
"type": {
|
|
3390
|
+
"text": "void"
|
|
3391
|
+
}
|
|
3534
3392
|
}
|
|
3535
3393
|
},
|
|
3536
3394
|
{
|
|
3537
|
-
"kind": "
|
|
3538
|
-
"name": "
|
|
3539
|
-
"type": {
|
|
3540
|
-
"text": "string"
|
|
3541
|
-
},
|
|
3542
|
-
"privacy": "public",
|
|
3543
|
-
"description": "The item ID",
|
|
3544
|
-
"inheritedFrom": {
|
|
3545
|
-
"name": "AccordionItem",
|
|
3546
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3547
|
-
}
|
|
3395
|
+
"kind": "method",
|
|
3396
|
+
"name": "handleSubmit"
|
|
3548
3397
|
},
|
|
3549
3398
|
{
|
|
3550
|
-
"kind": "
|
|
3551
|
-
"name": "
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
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"
|
|
3557
3414
|
},
|
|
3558
3415
|
{
|
|
3559
3416
|
"kind": "field",
|
|
@@ -3669,84 +3526,152 @@
|
|
|
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
|
},
|
|
3695
|
-
"default": "{
|
|
3574
|
+
"default": "{}"
|
|
3696
3575
|
},
|
|
3697
3576
|
{
|
|
3698
3577
|
"kind": "variable",
|
|
3699
|
-
"name": "
|
|
3700
|
-
"description": "The Foundation Accordion Item",
|
|
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
|
]
|