@genesislcap/foundation-ui 14.469.0 → 14.470.0
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 +569 -569
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,6 +1398,37 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "javascript-module",
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1401
1432
|
{
|
|
1402
1433
|
"kind": "javascript-module",
|
|
1403
1434
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2351,37 +2382,6 @@
|
|
|
2351
2382
|
}
|
|
2352
2383
|
]
|
|
2353
2384
|
},
|
|
2354
|
-
{
|
|
2355
|
-
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/_config/index.ts",
|
|
2357
|
-
"declarations": [],
|
|
2358
|
-
"exports": [
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "js",
|
|
2361
|
-
"name": "*",
|
|
2362
|
-
"declaration": {
|
|
2363
|
-
"name": "*",
|
|
2364
|
-
"package": "./styles"
|
|
2365
|
-
}
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"kind": "js",
|
|
2369
|
-
"name": "*",
|
|
2370
|
-
"declaration": {
|
|
2371
|
-
"name": "*",
|
|
2372
|
-
"package": "./tokens"
|
|
2373
|
-
}
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"kind": "js",
|
|
2377
|
-
"name": "*",
|
|
2378
|
-
"declaration": {
|
|
2379
|
-
"name": "*",
|
|
2380
|
-
"package": "./values"
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
]
|
|
2384
|
-
},
|
|
2385
2385
|
{
|
|
2386
2386
|
"kind": "javascript-module",
|
|
2387
2387
|
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
@@ -2833,275 +2833,208 @@
|
|
|
2833
2833
|
},
|
|
2834
2834
|
{
|
|
2835
2835
|
"kind": "javascript-module",
|
|
2836
|
-
"path": "src/
|
|
2836
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2837
2837
|
"declarations": [
|
|
2838
2838
|
{
|
|
2839
|
-
"kind": "
|
|
2840
|
-
"name": "
|
|
2841
|
-
"
|
|
2842
|
-
"type": {
|
|
2843
|
-
"text": "ElementStyles"
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
"parameters": [
|
|
2847
|
-
{
|
|
2848
|
-
"name": "context",
|
|
2849
|
-
"type": {
|
|
2850
|
-
"text": "ElementDefinitionContext"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"name": "definition",
|
|
2855
|
-
"type": {
|
|
2856
|
-
"text": "FoundationElementDefinition"
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
]
|
|
2839
|
+
"kind": "variable",
|
|
2840
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2841
|
+
"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`"
|
|
2860
2842
|
}
|
|
2861
2843
|
],
|
|
2862
2844
|
"exports": [
|
|
2863
2845
|
{
|
|
2864
2846
|
"kind": "js",
|
|
2865
|
-
"name": "
|
|
2847
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2866
2848
|
"declaration": {
|
|
2867
|
-
"name": "
|
|
2868
|
-
"module": "src/
|
|
2849
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2850
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2869
2851
|
}
|
|
2870
2852
|
}
|
|
2871
2853
|
]
|
|
2872
2854
|
},
|
|
2873
2855
|
{
|
|
2874
2856
|
"kind": "javascript-module",
|
|
2875
|
-
"path": "src/
|
|
2857
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2876
2858
|
"declarations": [
|
|
2877
2859
|
{
|
|
2878
|
-
"kind": "
|
|
2879
|
-
"name": "
|
|
2880
|
-
"
|
|
2881
|
-
"
|
|
2882
|
-
"text": "ViewTemplate<Accordion>"
|
|
2883
|
-
}
|
|
2860
|
+
"kind": "variable",
|
|
2861
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2862
|
+
"type": {
|
|
2863
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2884
2864
|
},
|
|
2885
|
-
"
|
|
2886
|
-
{
|
|
2887
|
-
"name": "context",
|
|
2888
|
-
"type": {
|
|
2889
|
-
"text": "ElementDefinitionContext"
|
|
2890
|
-
}
|
|
2891
|
-
},
|
|
2892
|
-
{
|
|
2893
|
-
"name": "definition",
|
|
2894
|
-
"type": {
|
|
2895
|
-
"text": "FoundationElementDefinition"
|
|
2896
|
-
}
|
|
2897
|
-
}
|
|
2898
|
-
]
|
|
2865
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2899
2866
|
}
|
|
2900
2867
|
],
|
|
2901
2868
|
"exports": [
|
|
2902
2869
|
{
|
|
2903
2870
|
"kind": "js",
|
|
2904
|
-
"name": "
|
|
2871
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2905
2872
|
"declaration": {
|
|
2906
|
-
"name": "
|
|
2907
|
-
"module": "src/
|
|
2873
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2874
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2908
2875
|
}
|
|
2909
2876
|
}
|
|
2910
2877
|
]
|
|
2911
2878
|
},
|
|
2912
2879
|
{
|
|
2913
2880
|
"kind": "javascript-module",
|
|
2914
|
-
"path": "src/
|
|
2881
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2915
2882
|
"declarations": [
|
|
2916
2883
|
{
|
|
2917
2884
|
"kind": "class",
|
|
2918
|
-
"description": "",
|
|
2919
|
-
"name": "
|
|
2920
|
-
"
|
|
2921
|
-
"name": "FASTAccordion",
|
|
2922
|
-
"package": "@microsoft/fast-foundation"
|
|
2923
|
-
},
|
|
2924
|
-
"tagName": "%%prefix%%-accordion",
|
|
2925
|
-
"customElement": true,
|
|
2926
|
-
"attributes": [
|
|
2885
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2886
|
+
"name": "AiCriteriaSearch",
|
|
2887
|
+
"members": [
|
|
2927
2888
|
{
|
|
2928
|
-
"
|
|
2889
|
+
"kind": "field",
|
|
2890
|
+
"name": "providerRegistry",
|
|
2929
2891
|
"type": {
|
|
2930
|
-
"text": "
|
|
2931
|
-
},
|
|
2932
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2933
|
-
"fieldName": "expandmode",
|
|
2934
|
-
"inheritedFrom": {
|
|
2935
|
-
"name": "Accordion",
|
|
2936
|
-
"module": "src/accordion/accordion.ts"
|
|
2892
|
+
"text": "AIProviderRegistry"
|
|
2937
2893
|
}
|
|
2938
|
-
}
|
|
2939
|
-
],
|
|
2940
|
-
"members": [
|
|
2894
|
+
},
|
|
2941
2895
|
{
|
|
2942
2896
|
"kind": "field",
|
|
2943
|
-
"name": "
|
|
2897
|
+
"name": "placeholder",
|
|
2944
2898
|
"type": {
|
|
2945
|
-
"text": "
|
|
2899
|
+
"text": "string"
|
|
2946
2900
|
},
|
|
2947
|
-
"
|
|
2948
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2949
|
-
"inheritedFrom": {
|
|
2950
|
-
"name": "Accordion",
|
|
2951
|
-
"module": "src/accordion/accordion.ts"
|
|
2952
|
-
}
|
|
2901
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2953
2902
|
},
|
|
2954
2903
|
{
|
|
2955
2904
|
"kind": "field",
|
|
2956
|
-
"name": "
|
|
2905
|
+
"name": "disabled",
|
|
2957
2906
|
"type": {
|
|
2958
|
-
"text": "
|
|
2959
|
-
},
|
|
2960
|
-
"privacy": "private",
|
|
2961
|
-
"inheritedFrom": {
|
|
2962
|
-
"name": "Accordion",
|
|
2963
|
-
"module": "src/accordion/accordion.ts"
|
|
2907
|
+
"text": "boolean"
|
|
2964
2908
|
}
|
|
2965
2909
|
},
|
|
2966
2910
|
{
|
|
2967
2911
|
"kind": "field",
|
|
2968
|
-
"name": "
|
|
2912
|
+
"name": "inputValue",
|
|
2969
2913
|
"type": {
|
|
2970
|
-
"text": "
|
|
2914
|
+
"text": "string"
|
|
2971
2915
|
},
|
|
2972
|
-
"
|
|
2973
|
-
"default": "0",
|
|
2974
|
-
"inheritedFrom": {
|
|
2975
|
-
"name": "Accordion",
|
|
2976
|
-
"module": "src/accordion/accordion.ts"
|
|
2977
|
-
}
|
|
2916
|
+
"default": "''"
|
|
2978
2917
|
},
|
|
2979
2918
|
{
|
|
2980
2919
|
"kind": "field",
|
|
2981
|
-
"name": "
|
|
2920
|
+
"name": "isInterpreting",
|
|
2982
2921
|
"type": {
|
|
2983
|
-
"text": "
|
|
2922
|
+
"text": "boolean"
|
|
2984
2923
|
},
|
|
2985
|
-
"
|
|
2986
|
-
"inheritedFrom": {
|
|
2987
|
-
"name": "Accordion",
|
|
2988
|
-
"module": "src/accordion/accordion.ts"
|
|
2989
|
-
}
|
|
2924
|
+
"default": "false"
|
|
2990
2925
|
},
|
|
2991
2926
|
{
|
|
2992
2927
|
"kind": "field",
|
|
2993
|
-
"name": "
|
|
2994
|
-
"
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
}
|
|
2928
|
+
"name": "lastValidCriteria",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "string | null"
|
|
2931
|
+
},
|
|
2932
|
+
"default": "null"
|
|
2999
2933
|
},
|
|
3000
2934
|
{
|
|
3001
|
-
"kind": "
|
|
3002
|
-
"name": "
|
|
3003
|
-
"
|
|
3004
|
-
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "AccordionItem | null"
|
|
3007
|
-
}
|
|
2935
|
+
"kind": "field",
|
|
2936
|
+
"name": "activeGroups",
|
|
2937
|
+
"type": {
|
|
2938
|
+
"text": "CriteriaGroup[]"
|
|
3008
2939
|
},
|
|
3009
|
-
"
|
|
3010
|
-
"name": "Accordion",
|
|
3011
|
-
"module": "src/accordion/accordion.ts"
|
|
3012
|
-
}
|
|
2940
|
+
"default": "[]"
|
|
3013
2941
|
},
|
|
3014
2942
|
{
|
|
3015
2943
|
"kind": "field",
|
|
3016
|
-
"name": "
|
|
3017
|
-
"
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
}
|
|
2944
|
+
"name": "showingChips",
|
|
2945
|
+
"type": {
|
|
2946
|
+
"text": "boolean"
|
|
2947
|
+
},
|
|
2948
|
+
"default": "false"
|
|
3022
2949
|
},
|
|
3023
2950
|
{
|
|
3024
|
-
"kind": "
|
|
3025
|
-
"name": "
|
|
3026
|
-
"
|
|
3027
|
-
|
|
3028
|
-
"type": {
|
|
3029
|
-
"text": "void"
|
|
3030
|
-
}
|
|
2951
|
+
"kind": "field",
|
|
2952
|
+
"name": "fieldMetadata",
|
|
2953
|
+
"type": {
|
|
2954
|
+
"text": "MetadataDetail[] | string[]"
|
|
3031
2955
|
},
|
|
3032
|
-
"
|
|
3033
|
-
"name": "Accordion",
|
|
3034
|
-
"module": "src/accordion/accordion.ts"
|
|
3035
|
-
}
|
|
2956
|
+
"default": "[]"
|
|
3036
2957
|
},
|
|
3037
2958
|
{
|
|
3038
2959
|
"kind": "field",
|
|
3039
|
-
"name": "
|
|
3040
|
-
"
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
}
|
|
2960
|
+
"name": "isRecording",
|
|
2961
|
+
"type": {
|
|
2962
|
+
"text": "boolean"
|
|
2963
|
+
},
|
|
2964
|
+
"default": "false"
|
|
3045
2965
|
},
|
|
3046
2966
|
{
|
|
3047
2967
|
"kind": "field",
|
|
3048
|
-
"name": "
|
|
2968
|
+
"name": "textAreaRef",
|
|
2969
|
+
"type": {
|
|
2970
|
+
"text": "HTMLTextAreaElement"
|
|
2971
|
+
},
|
|
2972
|
+
"privacy": "public"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "field",
|
|
2976
|
+
"name": "stopRecording",
|
|
2977
|
+
"type": {
|
|
2978
|
+
"text": "(() => void) | null"
|
|
2979
|
+
},
|
|
3049
2980
|
"privacy": "private",
|
|
3050
|
-
"
|
|
3051
|
-
"name": "Accordion",
|
|
3052
|
-
"module": "src/accordion/accordion.ts"
|
|
3053
|
-
}
|
|
2981
|
+
"default": "null"
|
|
3054
2982
|
},
|
|
3055
2983
|
{
|
|
3056
|
-
"kind": "
|
|
3057
|
-
"name": "
|
|
2984
|
+
"kind": "field",
|
|
2985
|
+
"name": "speechApplyDebounceTimer",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2988
|
+
},
|
|
3058
2989
|
"privacy": "private",
|
|
3059
|
-
"
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
2990
|
+
"default": "null"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "speechAvailable",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "boolean"
|
|
3063
2997
|
},
|
|
3064
|
-
"
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
2998
|
+
"readonly": true
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "field",
|
|
3002
|
+
"name": "criteriaChips",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaChip[]"
|
|
3005
|
+
},
|
|
3006
|
+
"readonly": true
|
|
3068
3007
|
},
|
|
3069
3008
|
{
|
|
3070
3009
|
"kind": "method",
|
|
3071
|
-
"name": "
|
|
3010
|
+
"name": "getFieldLabel",
|
|
3072
3011
|
"privacy": "private",
|
|
3073
3012
|
"return": {
|
|
3074
3013
|
"type": {
|
|
3075
|
-
"text": "
|
|
3014
|
+
"text": "string"
|
|
3076
3015
|
}
|
|
3077
3016
|
},
|
|
3078
|
-
"
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
"privacy": "private",
|
|
3087
|
-
"inheritedFrom": {
|
|
3088
|
-
"name": "Accordion",
|
|
3089
|
-
"module": "src/accordion/accordion.ts"
|
|
3090
|
-
}
|
|
3017
|
+
"parameters": [
|
|
3018
|
+
{
|
|
3019
|
+
"name": "fieldName",
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "string"
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3091
3025
|
},
|
|
3092
3026
|
{
|
|
3093
|
-
"kind": "
|
|
3094
|
-
"name": "
|
|
3095
|
-
"
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3027
|
+
"kind": "method",
|
|
3028
|
+
"name": "toggleCriteriaView",
|
|
3029
|
+
"return": {
|
|
3030
|
+
"type": {
|
|
3031
|
+
"text": "void"
|
|
3032
|
+
}
|
|
3099
3033
|
}
|
|
3100
3034
|
},
|
|
3101
3035
|
{
|
|
3102
3036
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3104
|
-
"privacy": "private",
|
|
3037
|
+
"name": "removeChip",
|
|
3105
3038
|
"return": {
|
|
3106
3039
|
"type": {
|
|
3107
3040
|
"text": "void"
|
|
@@ -3109,31 +3042,49 @@
|
|
|
3109
3042
|
},
|
|
3110
3043
|
"parameters": [
|
|
3111
3044
|
{
|
|
3112
|
-
"name": "
|
|
3045
|
+
"name": "groupIndex",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "number"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "clauseIndex",
|
|
3113
3052
|
"type": {
|
|
3114
3053
|
"text": "number"
|
|
3115
3054
|
}
|
|
3116
3055
|
}
|
|
3117
|
-
]
|
|
3118
|
-
"inheritedFrom": {
|
|
3119
|
-
"name": "Accordion",
|
|
3120
|
-
"module": "src/accordion/accordion.ts"
|
|
3121
|
-
}
|
|
3056
|
+
]
|
|
3122
3057
|
},
|
|
3123
3058
|
{
|
|
3124
3059
|
"kind": "method",
|
|
3125
|
-
"name": "
|
|
3126
|
-
"privacy": "private",
|
|
3060
|
+
"name": "clearChips",
|
|
3127
3061
|
"return": {
|
|
3128
3062
|
"type": {
|
|
3129
3063
|
"text": "void"
|
|
3130
3064
|
}
|
|
3131
|
-
},
|
|
3132
|
-
"inheritedFrom": {
|
|
3133
|
-
"name": "Accordion",
|
|
3134
|
-
"module": "src/accordion/accordion.ts"
|
|
3135
3065
|
}
|
|
3136
3066
|
},
|
|
3067
|
+
{
|
|
3068
|
+
"kind": "method",
|
|
3069
|
+
"name": "handleSubmit"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"kind": "method",
|
|
3073
|
+
"name": "handleBlur"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
"kind": "method",
|
|
3077
|
+
"name": "clear"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "method",
|
|
3081
|
+
"name": "toggleSpeechInput"
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "method",
|
|
3085
|
+
"name": "clearSpeechApplyDebounce",
|
|
3086
|
+
"privacy": "private"
|
|
3087
|
+
},
|
|
3137
3088
|
{
|
|
3138
3089
|
"kind": "field",
|
|
3139
3090
|
"name": "_presentation",
|
|
@@ -3248,26 +3199,48 @@
|
|
|
3248
3199
|
],
|
|
3249
3200
|
"events": [
|
|
3250
3201
|
{
|
|
3251
|
-
"description": "
|
|
3252
|
-
"name": "
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3202
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3203
|
+
"name": "criteria-changed"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3207
|
+
"name": "validation-errors"
|
|
3257
3208
|
}
|
|
3258
|
-
]
|
|
3209
|
+
],
|
|
3210
|
+
"attributes": [
|
|
3211
|
+
{
|
|
3212
|
+
"name": "placeholder",
|
|
3213
|
+
"type": {
|
|
3214
|
+
"text": "string"
|
|
3215
|
+
},
|
|
3216
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3217
|
+
"fieldName": "placeholder"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "boolean"
|
|
3222
|
+
},
|
|
3223
|
+
"fieldName": "disabled"
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3226
|
+
"superclass": {
|
|
3227
|
+
"name": "FoundationElement",
|
|
3228
|
+
"package": "@microsoft/fast-foundation"
|
|
3229
|
+
},
|
|
3230
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3231
|
+
"customElement": true
|
|
3259
3232
|
},
|
|
3260
3233
|
{
|
|
3261
3234
|
"kind": "variable",
|
|
3262
|
-
"name": "
|
|
3235
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3263
3236
|
"type": {
|
|
3264
3237
|
"text": "ShadowRootInit"
|
|
3265
3238
|
},
|
|
3266
|
-
"default": "
|
|
3239
|
+
"default": "undefined"
|
|
3267
3240
|
},
|
|
3268
3241
|
{
|
|
3269
3242
|
"kind": "variable",
|
|
3270
|
-
"name": "
|
|
3243
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3271
3244
|
"type": {
|
|
3272
3245
|
"text": "object"
|
|
3273
3246
|
},
|
|
@@ -3275,281 +3248,469 @@
|
|
|
3275
3248
|
},
|
|
3276
3249
|
{
|
|
3277
3250
|
"kind": "variable",
|
|
3278
|
-
"name": "
|
|
3279
|
-
"description": "The Foundation Accordion",
|
|
3280
|
-
"privacy": "public"
|
|
3251
|
+
"name": "foundationAiCriteriaSearch"
|
|
3281
3252
|
}
|
|
3282
3253
|
],
|
|
3283
3254
|
"exports": [
|
|
3284
3255
|
{
|
|
3285
3256
|
"kind": "js",
|
|
3286
|
-
"name": "
|
|
3257
|
+
"name": "AiCriteriaSearch",
|
|
3287
3258
|
"declaration": {
|
|
3288
|
-
"name": "
|
|
3289
|
-
"module": "src/
|
|
3259
|
+
"name": "AiCriteriaSearch",
|
|
3260
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3290
3261
|
}
|
|
3291
3262
|
},
|
|
3292
3263
|
{
|
|
3293
3264
|
"kind": "js",
|
|
3294
|
-
"name": "
|
|
3265
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3295
3266
|
"declaration": {
|
|
3296
|
-
"name": "
|
|
3297
|
-
"module": "src/
|
|
3267
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3268
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3298
3269
|
}
|
|
3299
3270
|
},
|
|
3300
3271
|
{
|
|
3301
3272
|
"kind": "js",
|
|
3302
|
-
"name": "
|
|
3273
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3303
3274
|
"declaration": {
|
|
3304
|
-
"name": "
|
|
3305
|
-
"module": "src/
|
|
3275
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3306
3277
|
}
|
|
3307
3278
|
},
|
|
3308
3279
|
{
|
|
3309
3280
|
"kind": "js",
|
|
3310
|
-
"name": "
|
|
3281
|
+
"name": "foundationAiCriteriaSearch",
|
|
3311
3282
|
"declaration": {
|
|
3312
|
-
"name": "
|
|
3313
|
-
"module": "src/
|
|
3283
|
+
"name": "foundationAiCriteriaSearch",
|
|
3284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3314
3285
|
}
|
|
3315
3286
|
}
|
|
3316
3287
|
]
|
|
3317
3288
|
},
|
|
3318
3289
|
{
|
|
3319
3290
|
"kind": "javascript-module",
|
|
3320
|
-
"path": "src/
|
|
3291
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3321
3292
|
"declarations": [],
|
|
3322
3293
|
"exports": [
|
|
3323
3294
|
{
|
|
3324
3295
|
"kind": "js",
|
|
3325
|
-
"name": "
|
|
3296
|
+
"name": "AiCriteriaSearch",
|
|
3326
3297
|
"declaration": {
|
|
3327
|
-
"name": "
|
|
3328
|
-
"
|
|
3298
|
+
"name": "AiCriteriaSearch",
|
|
3299
|
+
"module": "./ai-criteria-search"
|
|
3329
3300
|
}
|
|
3330
3301
|
},
|
|
3331
3302
|
{
|
|
3332
3303
|
"kind": "js",
|
|
3333
|
-
"name": "
|
|
3304
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3334
3305
|
"declaration": {
|
|
3335
|
-
"name": "
|
|
3336
|
-
"
|
|
3306
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3307
|
+
"module": "./ai-criteria-search"
|
|
3337
3308
|
}
|
|
3338
3309
|
},
|
|
3339
3310
|
{
|
|
3340
3311
|
"kind": "js",
|
|
3341
|
-
"name": "
|
|
3312
|
+
"name": "foundationAiCriteriaSearch",
|
|
3342
3313
|
"declaration": {
|
|
3343
|
-
"name": "
|
|
3344
|
-
"
|
|
3314
|
+
"name": "foundationAiCriteriaSearch",
|
|
3315
|
+
"module": "./ai-criteria-search"
|
|
3345
3316
|
}
|
|
3346
|
-
}
|
|
3347
|
-
]
|
|
3348
|
-
},
|
|
3349
|
-
{
|
|
3350
|
-
"kind": "javascript-module",
|
|
3351
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3352
|
-
"declarations": [
|
|
3317
|
+
},
|
|
3353
3318
|
{
|
|
3354
|
-
"kind": "
|
|
3355
|
-
"name": "
|
|
3356
|
-
"
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3319
|
+
"kind": "js",
|
|
3320
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3321
|
+
"declaration": {
|
|
3322
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3323
|
+
"module": "./ai-criteria-search"
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3360
3326
|
{
|
|
3361
3327
|
"kind": "js",
|
|
3362
3328
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3363
3329
|
"declaration": {
|
|
3364
3330
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3365
|
-
"module": "
|
|
3331
|
+
"module": "./ai-criteria-search.styles"
|
|
3366
3332
|
}
|
|
3367
|
-
}
|
|
3368
|
-
]
|
|
3369
|
-
},
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "javascript-module",
|
|
3372
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3373
|
-
"declarations": [
|
|
3374
|
-
{
|
|
3375
|
-
"kind": "variable",
|
|
3376
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3377
|
-
"type": {
|
|
3378
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3379
|
-
},
|
|
3380
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"exports": [
|
|
3333
|
+
},
|
|
3384
3334
|
{
|
|
3385
3335
|
"kind": "js",
|
|
3386
3336
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3387
3337
|
"declaration": {
|
|
3388
3338
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3389
|
-
"module": "
|
|
3339
|
+
"module": "./ai-criteria-search.template"
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"kind": "js",
|
|
3344
|
+
"name": "*",
|
|
3345
|
+
"declaration": {
|
|
3346
|
+
"name": "*",
|
|
3347
|
+
"package": "./validation/criteria-ir"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "js",
|
|
3352
|
+
"name": "*",
|
|
3353
|
+
"declaration": {
|
|
3354
|
+
"name": "*",
|
|
3355
|
+
"package": "./validation/operator-map"
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "js",
|
|
3360
|
+
"name": "*",
|
|
3361
|
+
"declaration": {
|
|
3362
|
+
"name": "*",
|
|
3363
|
+
"package": "./validation/schema-validator"
|
|
3390
3364
|
}
|
|
3391
3365
|
}
|
|
3392
3366
|
]
|
|
3393
3367
|
},
|
|
3394
3368
|
{
|
|
3395
3369
|
"kind": "javascript-module",
|
|
3396
|
-
"path": "src/ai-criteria-search/
|
|
3370
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3397
3371
|
"declarations": [
|
|
3398
3372
|
{
|
|
3399
|
-
"kind": "
|
|
3400
|
-
"
|
|
3401
|
-
"
|
|
3402
|
-
|
|
3373
|
+
"kind": "function",
|
|
3374
|
+
"name": "formatValidationErrors",
|
|
3375
|
+
"return": {
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "string"
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"parameters": [
|
|
3403
3381
|
{
|
|
3404
|
-
"
|
|
3405
|
-
"name": "providerRegistry",
|
|
3382
|
+
"name": "errors",
|
|
3406
3383
|
"type": {
|
|
3407
|
-
"text": "
|
|
3384
|
+
"text": "ValidationError[]"
|
|
3408
3385
|
}
|
|
3409
|
-
}
|
|
3386
|
+
}
|
|
3387
|
+
],
|
|
3388
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"kind": "function",
|
|
3392
|
+
"name": "showCriteriaError",
|
|
3393
|
+
"return": {
|
|
3394
|
+
"type": {
|
|
3395
|
+
"text": "void"
|
|
3396
|
+
}
|
|
3397
|
+
},
|
|
3398
|
+
"parameters": [
|
|
3410
3399
|
{
|
|
3411
|
-
"
|
|
3412
|
-
"name": "placeholder",
|
|
3400
|
+
"name": "title",
|
|
3413
3401
|
"type": {
|
|
3414
3402
|
"text": "string"
|
|
3415
3403
|
},
|
|
3416
|
-
"
|
|
3404
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3417
3405
|
},
|
|
3418
3406
|
{
|
|
3419
|
-
"
|
|
3420
|
-
"name": "disabled",
|
|
3407
|
+
"name": "body",
|
|
3421
3408
|
"type": {
|
|
3422
|
-
"text": "
|
|
3423
|
-
}
|
|
3409
|
+
"text": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"description": "Error message to display"
|
|
3424
3412
|
},
|
|
3425
3413
|
{
|
|
3426
|
-
"
|
|
3427
|
-
"name": "inputValue",
|
|
3414
|
+
"name": "tagName",
|
|
3428
3415
|
"type": {
|
|
3429
3416
|
"text": "string"
|
|
3430
3417
|
},
|
|
3431
|
-
"
|
|
3418
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3419
|
+
}
|
|
3420
|
+
],
|
|
3421
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3422
|
+
}
|
|
3423
|
+
],
|
|
3424
|
+
"exports": [
|
|
3425
|
+
{
|
|
3426
|
+
"kind": "js",
|
|
3427
|
+
"name": "formatValidationErrors",
|
|
3428
|
+
"declaration": {
|
|
3429
|
+
"name": "formatValidationErrors",
|
|
3430
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "js",
|
|
3435
|
+
"name": "showCriteriaError",
|
|
3436
|
+
"declaration": {
|
|
3437
|
+
"name": "showCriteriaError",
|
|
3438
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
]
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"kind": "javascript-module",
|
|
3445
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3446
|
+
"declarations": [
|
|
3447
|
+
{
|
|
3448
|
+
"kind": "function",
|
|
3449
|
+
"name": "foundationAccordionStyles",
|
|
3450
|
+
"return": {
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "ElementStyles"
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
"parameters": [
|
|
3456
|
+
{
|
|
3457
|
+
"name": "context",
|
|
3458
|
+
"type": {
|
|
3459
|
+
"text": "ElementDefinitionContext"
|
|
3460
|
+
}
|
|
3432
3461
|
},
|
|
3433
3462
|
{
|
|
3434
|
-
"
|
|
3435
|
-
"name": "isInterpreting",
|
|
3463
|
+
"name": "definition",
|
|
3436
3464
|
"type": {
|
|
3437
|
-
"text": "
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3465
|
+
"text": "FoundationElementDefinition"
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
]
|
|
3469
|
+
}
|
|
3470
|
+
],
|
|
3471
|
+
"exports": [
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "js",
|
|
3474
|
+
"name": "foundationAccordionStyles",
|
|
3475
|
+
"declaration": {
|
|
3476
|
+
"name": "foundationAccordionStyles",
|
|
3477
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
]
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"kind": "javascript-module",
|
|
3484
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3485
|
+
"declarations": [
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "function",
|
|
3488
|
+
"name": "foundationAccordionTemplate",
|
|
3489
|
+
"return": {
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "ViewTemplate<Accordion>"
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
"parameters": [
|
|
3495
|
+
{
|
|
3496
|
+
"name": "context",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "ElementDefinitionContext"
|
|
3499
|
+
}
|
|
3440
3500
|
},
|
|
3441
3501
|
{
|
|
3442
|
-
"
|
|
3443
|
-
"name": "lastValidCriteria",
|
|
3502
|
+
"name": "definition",
|
|
3444
3503
|
"type": {
|
|
3445
|
-
"text": "
|
|
3504
|
+
"text": "FoundationElementDefinition"
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
]
|
|
3508
|
+
}
|
|
3509
|
+
],
|
|
3510
|
+
"exports": [
|
|
3511
|
+
{
|
|
3512
|
+
"kind": "js",
|
|
3513
|
+
"name": "foundationAccordionTemplate",
|
|
3514
|
+
"declaration": {
|
|
3515
|
+
"name": "foundationAccordionTemplate",
|
|
3516
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
]
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"kind": "javascript-module",
|
|
3523
|
+
"path": "src/accordion/accordion.ts",
|
|
3524
|
+
"declarations": [
|
|
3525
|
+
{
|
|
3526
|
+
"kind": "class",
|
|
3527
|
+
"description": "",
|
|
3528
|
+
"name": "Accordion",
|
|
3529
|
+
"superclass": {
|
|
3530
|
+
"name": "FASTAccordion",
|
|
3531
|
+
"package": "@microsoft/fast-foundation"
|
|
3532
|
+
},
|
|
3533
|
+
"tagName": "%%prefix%%-accordion",
|
|
3534
|
+
"customElement": true,
|
|
3535
|
+
"attributes": [
|
|
3536
|
+
{
|
|
3537
|
+
"name": "expand-mode",
|
|
3538
|
+
"type": {
|
|
3539
|
+
"text": "AccordionExpandMode"
|
|
3446
3540
|
},
|
|
3447
|
-
"
|
|
3448
|
-
|
|
3541
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
+
"fieldName": "expandmode",
|
|
3543
|
+
"inheritedFrom": {
|
|
3544
|
+
"name": "Accordion",
|
|
3545
|
+
"module": "src/accordion/accordion.ts"
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
],
|
|
3549
|
+
"members": [
|
|
3449
3550
|
{
|
|
3450
3551
|
"kind": "field",
|
|
3451
|
-
"name": "
|
|
3552
|
+
"name": "expandmode",
|
|
3452
3553
|
"type": {
|
|
3453
|
-
"text": "
|
|
3554
|
+
"text": "AccordionExpandMode"
|
|
3454
3555
|
},
|
|
3455
|
-
"
|
|
3556
|
+
"privacy": "public",
|
|
3557
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3558
|
+
"inheritedFrom": {
|
|
3559
|
+
"name": "Accordion",
|
|
3560
|
+
"module": "src/accordion/accordion.ts"
|
|
3561
|
+
}
|
|
3456
3562
|
},
|
|
3457
3563
|
{
|
|
3458
3564
|
"kind": "field",
|
|
3459
|
-
"name": "
|
|
3565
|
+
"name": "activeid",
|
|
3460
3566
|
"type": {
|
|
3461
|
-
"text": "
|
|
3567
|
+
"text": "string | null"
|
|
3462
3568
|
},
|
|
3463
|
-
"
|
|
3569
|
+
"privacy": "private",
|
|
3570
|
+
"inheritedFrom": {
|
|
3571
|
+
"name": "Accordion",
|
|
3572
|
+
"module": "src/accordion/accordion.ts"
|
|
3573
|
+
}
|
|
3464
3574
|
},
|
|
3465
3575
|
{
|
|
3466
3576
|
"kind": "field",
|
|
3467
|
-
"name": "
|
|
3577
|
+
"name": "activeItemIndex",
|
|
3468
3578
|
"type": {
|
|
3469
|
-
"text": "
|
|
3579
|
+
"text": "number"
|
|
3470
3580
|
},
|
|
3471
|
-
"
|
|
3581
|
+
"privacy": "private",
|
|
3582
|
+
"default": "0",
|
|
3583
|
+
"inheritedFrom": {
|
|
3584
|
+
"name": "Accordion",
|
|
3585
|
+
"module": "src/accordion/accordion.ts"
|
|
3586
|
+
}
|
|
3472
3587
|
},
|
|
3473
3588
|
{
|
|
3474
3589
|
"kind": "field",
|
|
3475
|
-
"name": "
|
|
3590
|
+
"name": "accordionIds",
|
|
3476
3591
|
"type": {
|
|
3477
|
-
"text": "
|
|
3592
|
+
"text": "Array<string | null>"
|
|
3478
3593
|
},
|
|
3479
|
-
"
|
|
3594
|
+
"privacy": "private",
|
|
3595
|
+
"inheritedFrom": {
|
|
3596
|
+
"name": "Accordion",
|
|
3597
|
+
"module": "src/accordion/accordion.ts"
|
|
3598
|
+
}
|
|
3480
3599
|
},
|
|
3481
3600
|
{
|
|
3482
3601
|
"kind": "field",
|
|
3483
|
-
"name": "
|
|
3484
|
-
"
|
|
3485
|
-
|
|
3602
|
+
"name": "change",
|
|
3603
|
+
"privacy": "private",
|
|
3604
|
+
"inheritedFrom": {
|
|
3605
|
+
"name": "Accordion",
|
|
3606
|
+
"module": "src/accordion/accordion.ts"
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"kind": "method",
|
|
3611
|
+
"name": "findExpandedItem",
|
|
3612
|
+
"privacy": "private",
|
|
3613
|
+
"return": {
|
|
3614
|
+
"type": {
|
|
3615
|
+
"text": "AccordionItem | null"
|
|
3616
|
+
}
|
|
3486
3617
|
},
|
|
3487
|
-
"
|
|
3618
|
+
"inheritedFrom": {
|
|
3619
|
+
"name": "Accordion",
|
|
3620
|
+
"module": "src/accordion/accordion.ts"
|
|
3621
|
+
}
|
|
3488
3622
|
},
|
|
3489
3623
|
{
|
|
3490
3624
|
"kind": "field",
|
|
3491
|
-
"name": "
|
|
3492
|
-
"type": {
|
|
3493
|
-
"text": "(() => void) | null"
|
|
3494
|
-
},
|
|
3625
|
+
"name": "setItems",
|
|
3495
3626
|
"privacy": "private",
|
|
3496
|
-
"
|
|
3627
|
+
"inheritedFrom": {
|
|
3628
|
+
"name": "Accordion",
|
|
3629
|
+
"module": "src/accordion/accordion.ts"
|
|
3630
|
+
}
|
|
3497
3631
|
},
|
|
3498
3632
|
{
|
|
3499
|
-
"kind": "
|
|
3500
|
-
"name": "
|
|
3501
|
-
"type": {
|
|
3502
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3503
|
-
},
|
|
3633
|
+
"kind": "method",
|
|
3634
|
+
"name": "resetItems",
|
|
3504
3635
|
"privacy": "private",
|
|
3505
|
-
"
|
|
3636
|
+
"return": {
|
|
3637
|
+
"type": {
|
|
3638
|
+
"text": "void"
|
|
3639
|
+
}
|
|
3640
|
+
},
|
|
3641
|
+
"inheritedFrom": {
|
|
3642
|
+
"name": "Accordion",
|
|
3643
|
+
"module": "src/accordion/accordion.ts"
|
|
3644
|
+
}
|
|
3506
3645
|
},
|
|
3507
3646
|
{
|
|
3508
3647
|
"kind": "field",
|
|
3509
|
-
"name": "
|
|
3510
|
-
"
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3648
|
+
"name": "removeItemListeners",
|
|
3649
|
+
"privacy": "private",
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3653
|
+
}
|
|
3514
3654
|
},
|
|
3515
3655
|
{
|
|
3516
3656
|
"kind": "field",
|
|
3517
|
-
"name": "
|
|
3518
|
-
"
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3657
|
+
"name": "activeItemChange",
|
|
3658
|
+
"privacy": "private",
|
|
3659
|
+
"inheritedFrom": {
|
|
3660
|
+
"name": "Accordion",
|
|
3661
|
+
"module": "src/accordion/accordion.ts"
|
|
3662
|
+
}
|
|
3522
3663
|
},
|
|
3523
3664
|
{
|
|
3524
3665
|
"kind": "method",
|
|
3525
|
-
"name": "
|
|
3666
|
+
"name": "getItemIds",
|
|
3526
3667
|
"privacy": "private",
|
|
3527
3668
|
"return": {
|
|
3528
3669
|
"type": {
|
|
3529
|
-
"text": "string"
|
|
3670
|
+
"text": "Array<string | null>"
|
|
3530
3671
|
}
|
|
3531
3672
|
},
|
|
3532
|
-
"
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
"text": "string"
|
|
3537
|
-
}
|
|
3538
|
-
}
|
|
3539
|
-
]
|
|
3673
|
+
"inheritedFrom": {
|
|
3674
|
+
"name": "Accordion",
|
|
3675
|
+
"module": "src/accordion/accordion.ts"
|
|
3676
|
+
}
|
|
3540
3677
|
},
|
|
3541
3678
|
{
|
|
3542
3679
|
"kind": "method",
|
|
3543
|
-
"name": "
|
|
3680
|
+
"name": "isSingleExpandMode",
|
|
3681
|
+
"privacy": "private",
|
|
3544
3682
|
"return": {
|
|
3545
3683
|
"type": {
|
|
3546
|
-
"text": "
|
|
3684
|
+
"text": "boolean"
|
|
3547
3685
|
}
|
|
3686
|
+
},
|
|
3687
|
+
"inheritedFrom": {
|
|
3688
|
+
"name": "Accordion",
|
|
3689
|
+
"module": "src/accordion/accordion.ts"
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
"kind": "field",
|
|
3694
|
+
"name": "handleItemKeyDown",
|
|
3695
|
+
"privacy": "private",
|
|
3696
|
+
"inheritedFrom": {
|
|
3697
|
+
"name": "Accordion",
|
|
3698
|
+
"module": "src/accordion/accordion.ts"
|
|
3699
|
+
}
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
"kind": "field",
|
|
3703
|
+
"name": "handleItemFocus",
|
|
3704
|
+
"privacy": "private",
|
|
3705
|
+
"inheritedFrom": {
|
|
3706
|
+
"name": "Accordion",
|
|
3707
|
+
"module": "src/accordion/accordion.ts"
|
|
3548
3708
|
}
|
|
3549
3709
|
},
|
|
3550
3710
|
{
|
|
3551
3711
|
"kind": "method",
|
|
3552
|
-
"name": "
|
|
3712
|
+
"name": "adjust",
|
|
3713
|
+
"privacy": "private",
|
|
3553
3714
|
"return": {
|
|
3554
3715
|
"type": {
|
|
3555
3716
|
"text": "void"
|
|
@@ -3557,49 +3718,31 @@
|
|
|
3557
3718
|
},
|
|
3558
3719
|
"parameters": [
|
|
3559
3720
|
{
|
|
3560
|
-
"name": "
|
|
3561
|
-
"type": {
|
|
3562
|
-
"text": "number"
|
|
3563
|
-
}
|
|
3564
|
-
},
|
|
3565
|
-
{
|
|
3566
|
-
"name": "clauseIndex",
|
|
3721
|
+
"name": "adjustment",
|
|
3567
3722
|
"type": {
|
|
3568
3723
|
"text": "number"
|
|
3569
3724
|
}
|
|
3570
3725
|
}
|
|
3571
|
-
]
|
|
3726
|
+
],
|
|
3727
|
+
"inheritedFrom": {
|
|
3728
|
+
"name": "Accordion",
|
|
3729
|
+
"module": "src/accordion/accordion.ts"
|
|
3730
|
+
}
|
|
3572
3731
|
},
|
|
3573
3732
|
{
|
|
3574
3733
|
"kind": "method",
|
|
3575
|
-
"name": "
|
|
3734
|
+
"name": "focusItem",
|
|
3735
|
+
"privacy": "private",
|
|
3576
3736
|
"return": {
|
|
3577
3737
|
"type": {
|
|
3578
3738
|
"text": "void"
|
|
3579
3739
|
}
|
|
3740
|
+
},
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3580
3744
|
}
|
|
3581
3745
|
},
|
|
3582
|
-
{
|
|
3583
|
-
"kind": "method",
|
|
3584
|
-
"name": "handleSubmit"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"kind": "method",
|
|
3588
|
-
"name": "handleBlur"
|
|
3589
|
-
},
|
|
3590
|
-
{
|
|
3591
|
-
"kind": "method",
|
|
3592
|
-
"name": "clear"
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
"kind": "method",
|
|
3596
|
-
"name": "toggleSpeechInput"
|
|
3597
|
-
},
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "method",
|
|
3600
|
-
"name": "clearSpeechApplyDebounce",
|
|
3601
|
-
"privacy": "private"
|
|
3602
|
-
},
|
|
3603
3746
|
{
|
|
3604
3747
|
"kind": "field",
|
|
3605
3748
|
"name": "_presentation",
|
|
@@ -3714,48 +3857,26 @@
|
|
|
3714
3857
|
],
|
|
3715
3858
|
"events": [
|
|
3716
3859
|
{
|
|
3717
|
-
"description": "
|
|
3718
|
-
"name": "
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
}
|
|
3724
|
-
],
|
|
3725
|
-
"attributes": [
|
|
3726
|
-
{
|
|
3727
|
-
"name": "placeholder",
|
|
3728
|
-
"type": {
|
|
3729
|
-
"text": "string"
|
|
3730
|
-
},
|
|
3731
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3732
|
-
"fieldName": "placeholder"
|
|
3733
|
-
},
|
|
3734
|
-
{
|
|
3735
|
-
"type": {
|
|
3736
|
-
"text": "boolean"
|
|
3737
|
-
},
|
|
3738
|
-
"fieldName": "disabled"
|
|
3860
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3861
|
+
"name": "change",
|
|
3862
|
+
"inheritedFrom": {
|
|
3863
|
+
"name": "Accordion",
|
|
3864
|
+
"module": "src/accordion/accordion.ts"
|
|
3865
|
+
}
|
|
3739
3866
|
}
|
|
3740
|
-
]
|
|
3741
|
-
"superclass": {
|
|
3742
|
-
"name": "FoundationElement",
|
|
3743
|
-
"package": "@microsoft/fast-foundation"
|
|
3744
|
-
},
|
|
3745
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3746
|
-
"customElement": true
|
|
3867
|
+
]
|
|
3747
3868
|
},
|
|
3748
3869
|
{
|
|
3749
3870
|
"kind": "variable",
|
|
3750
|
-
"name": "
|
|
3871
|
+
"name": "foundationAccordionShadowOptions",
|
|
3751
3872
|
"type": {
|
|
3752
3873
|
"text": "ShadowRootInit"
|
|
3753
3874
|
},
|
|
3754
|
-
"default": "
|
|
3875
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3755
3876
|
},
|
|
3756
3877
|
{
|
|
3757
3878
|
"kind": "variable",
|
|
3758
|
-
"name": "
|
|
3879
|
+
"name": "defaultAccordionConfig",
|
|
3759
3880
|
"type": {
|
|
3760
3881
|
"text": "object"
|
|
3761
3882
|
},
|
|
@@ -3763,103 +3884,57 @@
|
|
|
3763
3884
|
},
|
|
3764
3885
|
{
|
|
3765
3886
|
"kind": "variable",
|
|
3766
|
-
"name": "
|
|
3887
|
+
"name": "foundationAccordion",
|
|
3888
|
+
"description": "The Foundation Accordion",
|
|
3889
|
+
"privacy": "public"
|
|
3767
3890
|
}
|
|
3768
3891
|
],
|
|
3769
3892
|
"exports": [
|
|
3770
3893
|
{
|
|
3771
3894
|
"kind": "js",
|
|
3772
|
-
"name": "
|
|
3895
|
+
"name": "Accordion",
|
|
3773
3896
|
"declaration": {
|
|
3774
|
-
"name": "
|
|
3775
|
-
"module": "src/
|
|
3897
|
+
"name": "Accordion",
|
|
3898
|
+
"module": "src/accordion/accordion.ts"
|
|
3776
3899
|
}
|
|
3777
3900
|
},
|
|
3778
3901
|
{
|
|
3779
3902
|
"kind": "js",
|
|
3780
|
-
"name": "
|
|
3903
|
+
"name": "foundationAccordionShadowOptions",
|
|
3781
3904
|
"declaration": {
|
|
3782
|
-
"name": "
|
|
3783
|
-
"module": "src/
|
|
3905
|
+
"name": "foundationAccordionShadowOptions",
|
|
3906
|
+
"module": "src/accordion/accordion.ts"
|
|
3784
3907
|
}
|
|
3785
3908
|
},
|
|
3786
3909
|
{
|
|
3787
3910
|
"kind": "js",
|
|
3788
|
-
"name": "
|
|
3911
|
+
"name": "defaultAccordionConfig",
|
|
3789
3912
|
"declaration": {
|
|
3790
|
-
"name": "
|
|
3791
|
-
"module": "src/
|
|
3913
|
+
"name": "defaultAccordionConfig",
|
|
3914
|
+
"module": "src/accordion/accordion.ts"
|
|
3792
3915
|
}
|
|
3793
3916
|
},
|
|
3794
3917
|
{
|
|
3795
3918
|
"kind": "js",
|
|
3796
|
-
"name": "
|
|
3919
|
+
"name": "foundationAccordion",
|
|
3797
3920
|
"declaration": {
|
|
3798
|
-
"name": "
|
|
3799
|
-
"module": "src/
|
|
3921
|
+
"name": "foundationAccordion",
|
|
3922
|
+
"module": "src/accordion/accordion.ts"
|
|
3800
3923
|
}
|
|
3801
3924
|
}
|
|
3802
3925
|
]
|
|
3803
3926
|
},
|
|
3804
3927
|
{
|
|
3805
3928
|
"kind": "javascript-module",
|
|
3806
|
-
"path": "src/
|
|
3929
|
+
"path": "src/accordion/index.ts",
|
|
3807
3930
|
"declarations": [],
|
|
3808
3931
|
"exports": [
|
|
3809
|
-
{
|
|
3810
|
-
"kind": "js",
|
|
3811
|
-
"name": "AiCriteriaSearch",
|
|
3812
|
-
"declaration": {
|
|
3813
|
-
"name": "AiCriteriaSearch",
|
|
3814
|
-
"module": "./ai-criteria-search"
|
|
3815
|
-
}
|
|
3816
|
-
},
|
|
3817
|
-
{
|
|
3818
|
-
"kind": "js",
|
|
3819
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3820
|
-
"declaration": {
|
|
3821
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3822
|
-
"module": "./ai-criteria-search"
|
|
3823
|
-
}
|
|
3824
|
-
},
|
|
3825
|
-
{
|
|
3826
|
-
"kind": "js",
|
|
3827
|
-
"name": "foundationAiCriteriaSearch",
|
|
3828
|
-
"declaration": {
|
|
3829
|
-
"name": "foundationAiCriteriaSearch",
|
|
3830
|
-
"module": "./ai-criteria-search"
|
|
3831
|
-
}
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "js",
|
|
3835
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3836
|
-
"declaration": {
|
|
3837
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3838
|
-
"module": "./ai-criteria-search"
|
|
3839
|
-
}
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"kind": "js",
|
|
3843
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3844
|
-
"declaration": {
|
|
3845
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3846
|
-
"module": "./ai-criteria-search.styles"
|
|
3847
|
-
}
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"kind": "js",
|
|
3851
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3852
|
-
"declaration": {
|
|
3853
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3854
|
-
"module": "./ai-criteria-search.template"
|
|
3855
|
-
}
|
|
3856
|
-
},
|
|
3857
3932
|
{
|
|
3858
3933
|
"kind": "js",
|
|
3859
3934
|
"name": "*",
|
|
3860
3935
|
"declaration": {
|
|
3861
3936
|
"name": "*",
|
|
3862
|
-
"package": "./
|
|
3937
|
+
"package": "./accordion.template"
|
|
3863
3938
|
}
|
|
3864
3939
|
},
|
|
3865
3940
|
{
|
|
@@ -3867,7 +3942,7 @@
|
|
|
3867
3942
|
"name": "*",
|
|
3868
3943
|
"declaration": {
|
|
3869
3944
|
"name": "*",
|
|
3870
|
-
"package": "./
|
|
3945
|
+
"package": "./accordion.styles"
|
|
3871
3946
|
}
|
|
3872
3947
|
},
|
|
3873
3948
|
{
|
|
@@ -3875,82 +3950,7 @@
|
|
|
3875
3950
|
"name": "*",
|
|
3876
3951
|
"declaration": {
|
|
3877
3952
|
"name": "*",
|
|
3878
|
-
"package": "./
|
|
3879
|
-
}
|
|
3880
|
-
}
|
|
3881
|
-
]
|
|
3882
|
-
},
|
|
3883
|
-
{
|
|
3884
|
-
"kind": "javascript-module",
|
|
3885
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3886
|
-
"declarations": [
|
|
3887
|
-
{
|
|
3888
|
-
"kind": "function",
|
|
3889
|
-
"name": "formatValidationErrors",
|
|
3890
|
-
"return": {
|
|
3891
|
-
"type": {
|
|
3892
|
-
"text": "string"
|
|
3893
|
-
}
|
|
3894
|
-
},
|
|
3895
|
-
"parameters": [
|
|
3896
|
-
{
|
|
3897
|
-
"name": "errors",
|
|
3898
|
-
"type": {
|
|
3899
|
-
"text": "ValidationError[]"
|
|
3900
|
-
}
|
|
3901
|
-
}
|
|
3902
|
-
],
|
|
3903
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3904
|
-
},
|
|
3905
|
-
{
|
|
3906
|
-
"kind": "function",
|
|
3907
|
-
"name": "showCriteriaError",
|
|
3908
|
-
"return": {
|
|
3909
|
-
"type": {
|
|
3910
|
-
"text": "void"
|
|
3911
|
-
}
|
|
3912
|
-
},
|
|
3913
|
-
"parameters": [
|
|
3914
|
-
{
|
|
3915
|
-
"name": "title",
|
|
3916
|
-
"type": {
|
|
3917
|
-
"text": "string"
|
|
3918
|
-
},
|
|
3919
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3920
|
-
},
|
|
3921
|
-
{
|
|
3922
|
-
"name": "body",
|
|
3923
|
-
"type": {
|
|
3924
|
-
"text": "string"
|
|
3925
|
-
},
|
|
3926
|
-
"description": "Error message to display"
|
|
3927
|
-
},
|
|
3928
|
-
{
|
|
3929
|
-
"name": "tagName",
|
|
3930
|
-
"type": {
|
|
3931
|
-
"text": "string"
|
|
3932
|
-
},
|
|
3933
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3934
|
-
}
|
|
3935
|
-
],
|
|
3936
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3937
|
-
}
|
|
3938
|
-
],
|
|
3939
|
-
"exports": [
|
|
3940
|
-
{
|
|
3941
|
-
"kind": "js",
|
|
3942
|
-
"name": "formatValidationErrors",
|
|
3943
|
-
"declaration": {
|
|
3944
|
-
"name": "formatValidationErrors",
|
|
3945
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
{
|
|
3949
|
-
"kind": "js",
|
|
3950
|
-
"name": "showCriteriaError",
|
|
3951
|
-
"declaration": {
|
|
3952
|
-
"name": "showCriteriaError",
|
|
3953
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3953
|
+
"package": "./accordion"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|