@genesislcap/foundation-ui 14.451.1-alpha-3c3e1d3.0 → 14.451.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.
@@ -1825,131 +1825,203 @@
1825
1825
  },
1826
1826
  {
1827
1827
  "kind": "javascript-module",
1828
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1828
+ "path": "src/actions-menu/actions-menu.styles.ts",
1829
1829
  "declarations": [
1830
1830
  {
1831
- "kind": "variable",
1832
- "name": "foundationAiCriteriaSearchStyles",
1833
- "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`"
1831
+ "kind": "function",
1832
+ "name": "actionsMenuBaseStyles",
1833
+ "return": {
1834
+ "type": {
1835
+ "text": "ElementStyles"
1836
+ }
1837
+ },
1838
+ "parameters": [
1839
+ {
1840
+ "name": "context",
1841
+ "type": {
1842
+ "text": "ElementDefinitionContext"
1843
+ }
1844
+ },
1845
+ {
1846
+ "name": "definition",
1847
+ "type": {
1848
+ "text": "FoundationElementDefinition"
1849
+ }
1850
+ }
1851
+ ]
1852
+ },
1853
+ {
1854
+ "kind": "function",
1855
+ "name": "foundationActionsMenuStyles",
1856
+ "return": {
1857
+ "type": {
1858
+ "text": "ElementStyles"
1859
+ }
1860
+ },
1861
+ "parameters": [
1862
+ {
1863
+ "name": "context",
1864
+ "type": {
1865
+ "text": "ElementDefinitionContext"
1866
+ }
1867
+ },
1868
+ {
1869
+ "name": "definition",
1870
+ "type": {
1871
+ "text": "FoundationElementDefinition"
1872
+ }
1873
+ }
1874
+ ]
1834
1875
  }
1835
1876
  ],
1836
1877
  "exports": [
1837
1878
  {
1838
1879
  "kind": "js",
1839
- "name": "foundationAiCriteriaSearchStyles",
1880
+ "name": "actionsMenuBaseStyles",
1840
1881
  "declaration": {
1841
- "name": "foundationAiCriteriaSearchStyles",
1842
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1882
+ "name": "actionsMenuBaseStyles",
1883
+ "module": "src/actions-menu/actions-menu.styles.ts"
1884
+ }
1885
+ },
1886
+ {
1887
+ "kind": "js",
1888
+ "name": "foundationActionsMenuStyles",
1889
+ "declaration": {
1890
+ "name": "foundationActionsMenuStyles",
1891
+ "module": "src/actions-menu/actions-menu.styles.ts"
1843
1892
  }
1844
1893
  }
1845
1894
  ]
1846
1895
  },
1847
1896
  {
1848
1897
  "kind": "javascript-module",
1849
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1898
+ "path": "src/actions-menu/actions-menu.template.ts",
1850
1899
  "declarations": [
1900
+ {
1901
+ "kind": "function",
1902
+ "name": "menuTemplate",
1903
+ "parameters": [
1904
+ {
1905
+ "name": "prefix",
1906
+ "type": {
1907
+ "text": "string"
1908
+ }
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "kind": "function",
1914
+ "name": "singleOptionTemplate",
1915
+ "parameters": [
1916
+ {
1917
+ "name": "prefix",
1918
+ "type": {
1919
+ "text": "string"
1920
+ }
1921
+ }
1922
+ ]
1923
+ },
1851
1924
  {
1852
1925
  "kind": "variable",
1853
- "name": "foundationAiCriteriaSearchTemplate",
1926
+ "name": "foundationActionsMenuTemplate",
1854
1927
  "type": {
1855
- "text": "ViewTemplate<AiCriteriaSearch>"
1928
+ "text": "ViewTemplate<ActionsMenu>"
1856
1929
  },
1857
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1930
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1858
1931
  }
1859
1932
  ],
1860
1933
  "exports": [
1861
1934
  {
1862
1935
  "kind": "js",
1863
- "name": "foundationAiCriteriaSearchTemplate",
1936
+ "name": "menuTemplate",
1864
1937
  "declaration": {
1865
- "name": "foundationAiCriteriaSearchTemplate",
1866
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1938
+ "name": "menuTemplate",
1939
+ "module": "src/actions-menu/actions-menu.template.ts"
1940
+ }
1941
+ },
1942
+ {
1943
+ "kind": "js",
1944
+ "name": "singleOptionTemplate",
1945
+ "declaration": {
1946
+ "name": "singleOptionTemplate",
1947
+ "module": "src/actions-menu/actions-menu.template.ts"
1948
+ }
1949
+ },
1950
+ {
1951
+ "kind": "js",
1952
+ "name": "foundationActionsMenuTemplate",
1953
+ "declaration": {
1954
+ "name": "foundationActionsMenuTemplate",
1955
+ "module": "src/actions-menu/actions-menu.template.ts"
1867
1956
  }
1868
1957
  }
1869
1958
  ]
1870
1959
  },
1871
1960
  {
1872
1961
  "kind": "javascript-module",
1873
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1962
+ "path": "src/actions-menu/actions-menu.ts",
1874
1963
  "declarations": [
1875
1964
  {
1876
1965
  "kind": "class",
1877
- "description": "Natural-language criteria search input with AI interpretation.",
1878
- "name": "AiCriteriaSearch",
1966
+ "description": "",
1967
+ "name": "ActionsMenu",
1879
1968
  "members": [
1880
1969
  {
1881
1970
  "kind": "field",
1882
- "name": "providerRegistry",
1971
+ "name": "actions",
1883
1972
  "type": {
1884
- "text": "AIProviderRegistry"
1973
+ "text": "ActionMenuItem[]"
1885
1974
  }
1886
1975
  },
1887
1976
  {
1888
1977
  "kind": "field",
1889
- "name": "placeholder",
1890
- "type": {
1891
- "text": "string"
1892
- },
1893
- "default": "'Describe your search criteria in natural language...'"
1894
- },
1895
- {
1896
- "kind": "field",
1897
- "name": "disabled",
1978
+ "name": "isVertical",
1898
1979
  "type": {
1899
1980
  "text": "boolean"
1900
- }
1901
- },
1902
- {
1903
- "kind": "field",
1904
- "name": "inputValue",
1905
- "type": {
1906
- "text": "string"
1907
1981
  },
1908
- "default": "''"
1982
+ "default": "false"
1909
1983
  },
1910
1984
  {
1911
1985
  "kind": "field",
1912
- "name": "isInterpreting",
1986
+ "name": "addDefaultActions",
1913
1987
  "type": {
1914
1988
  "text": "boolean"
1915
1989
  },
1916
- "default": "false"
1990
+ "default": "true"
1917
1991
  },
1918
1992
  {
1919
1993
  "kind": "field",
1920
- "name": "lastValidCriteria",
1994
+ "name": "autoCloseOnAction",
1921
1995
  "type": {
1922
- "text": "string | null"
1996
+ "text": "boolean"
1923
1997
  },
1924
- "default": "null"
1998
+ "default": "true"
1925
1999
  },
1926
2000
  {
1927
2001
  "kind": "field",
1928
- "name": "activeGroups",
2002
+ "name": "classNames",
1929
2003
  "type": {
1930
- "text": "CriteriaGroup[]"
1931
- },
1932
- "default": "[]"
2004
+ "text": "string"
2005
+ }
1933
2006
  },
1934
2007
  {
1935
2008
  "kind": "field",
1936
- "name": "showingChips",
2009
+ "name": "definition",
1937
2010
  "type": {
1938
- "text": "boolean"
1939
- },
1940
- "default": "false"
2011
+ "text": "any"
2012
+ }
1941
2013
  },
1942
2014
  {
1943
2015
  "kind": "field",
1944
- "name": "fieldMetadata",
2016
+ "name": "name",
1945
2017
  "type": {
1946
- "text": "MetadataDetail[] | string[]"
2018
+ "text": "string"
1947
2019
  },
1948
- "default": "[]"
2020
+ "default": "'Actions'"
1949
2021
  },
1950
2022
  {
1951
2023
  "kind": "field",
1952
- "name": "isRecording",
2024
+ "name": "open",
1953
2025
  "type": {
1954
2026
  "text": "boolean"
1955
2027
  },
@@ -1957,125 +2029,117 @@
1957
2029
  },
1958
2030
  {
1959
2031
  "kind": "field",
1960
- "name": "textAreaRef",
2032
+ "name": "buttonAppearance",
1961
2033
  "type": {
1962
- "text": "HTMLTextAreaElement"
1963
- },
1964
- "privacy": "public"
2034
+ "text": "string"
2035
+ }
1965
2036
  },
1966
2037
  {
1967
2038
  "kind": "field",
1968
- "name": "stopRecording",
2039
+ "name": "hideDisabled",
1969
2040
  "type": {
1970
- "text": "(() => void) | null"
2041
+ "text": "boolean"
1971
2042
  },
1972
- "privacy": "private",
1973
- "default": "null"
2043
+ "default": "false"
1974
2044
  },
1975
2045
  {
1976
2046
  "kind": "field",
1977
- "name": "speechApplyDebounceTimer",
2047
+ "name": "hideMenuSingleOption",
1978
2048
  "type": {
1979
- "text": "ReturnType<typeof setTimeout> | null"
2049
+ "text": "boolean"
1980
2050
  },
1981
- "privacy": "private",
1982
- "default": "null"
2051
+ "default": "false"
1983
2052
  },
1984
2053
  {
1985
2054
  "kind": "field",
1986
- "name": "speechAvailable",
2055
+ "name": "singleOption",
1987
2056
  "type": {
1988
- "text": "boolean"
1989
- },
1990
- "readonly": true
2057
+ "text": "ActionMenuItem"
2058
+ }
1991
2059
  },
1992
2060
  {
1993
2061
  "kind": "field",
1994
- "name": "criteriaChips",
2062
+ "name": "actionsMenu",
1995
2063
  "type": {
1996
- "text": "CriteriaChip[]"
1997
- },
1998
- "readonly": true
2064
+ "text": "HTMLElement"
2065
+ }
1999
2066
  },
2000
2067
  {
2001
2068
  "kind": "method",
2002
- "name": "getFieldLabel",
2003
- "privacy": "private",
2004
- "return": {
2005
- "type": {
2006
- "text": "string"
2007
- }
2008
- },
2069
+ "name": "definitionChanged",
2070
+ "privacy": "protected",
2009
2071
  "parameters": [
2010
2072
  {
2011
- "name": "fieldName",
2073
+ "name": "oldValue",
2012
2074
  "type": {
2013
- "text": "string"
2075
+ "text": "any"
2076
+ }
2077
+ },
2078
+ {
2079
+ "name": "newValue",
2080
+ "type": {
2081
+ "text": "any"
2014
2082
  }
2015
2083
  }
2016
2084
  ]
2017
2085
  },
2018
2086
  {
2019
2087
  "kind": "method",
2020
- "name": "toggleCriteriaView",
2021
- "return": {
2022
- "type": {
2023
- "text": "void"
2024
- }
2025
- }
2088
+ "name": "openChanged",
2089
+ "privacy": "protected"
2026
2090
  },
2027
2091
  {
2028
2092
  "kind": "method",
2029
- "name": "removeChip",
2030
- "return": {
2031
- "type": {
2032
- "text": "void"
2033
- }
2034
- },
2093
+ "name": "toggleActionsMenuVisibility"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "onActionMenuItemClick",
2035
2098
  "parameters": [
2036
2099
  {
2037
- "name": "groupIndex",
2100
+ "name": "callback",
2038
2101
  "type": {
2039
- "text": "number"
2040
- }
2041
- },
2042
- {
2043
- "name": "clauseIndex",
2044
- "type": {
2045
- "text": "number"
2102
+ "text": "(rowData) => void | any"
2046
2103
  }
2047
2104
  }
2048
2105
  ]
2049
2106
  },
2050
2107
  {
2051
- "kind": "method",
2052
- "name": "clearChips",
2053
- "return": {
2054
- "type": {
2055
- "text": "void"
2056
- }
2057
- }
2058
- },
2059
- {
2060
- "kind": "method",
2061
- "name": "handleSubmit"
2062
- },
2063
- {
2064
- "kind": "method",
2065
- "name": "handleBlur"
2108
+ "kind": "field",
2109
+ "name": "allActions",
2110
+ "type": {
2111
+ "text": "ActionMenuItem[]"
2112
+ },
2113
+ "readonly": true
2066
2114
  },
2067
2115
  {
2068
- "kind": "method",
2069
- "name": "clear"
2116
+ "kind": "field",
2117
+ "name": "rowData",
2118
+ "readonly": true
2070
2119
  },
2071
2120
  {
2072
2121
  "kind": "method",
2073
- "name": "toggleSpeechInput"
2122
+ "name": "getLabel",
2123
+ "parameters": [
2124
+ {
2125
+ "name": "name",
2126
+ "type": {
2127
+ "text": "string | ((rowData: any) => string)"
2128
+ }
2129
+ }
2130
+ ]
2074
2131
  },
2075
2132
  {
2076
2133
  "kind": "method",
2077
- "name": "clearSpeechApplyDebounce",
2078
- "privacy": "private"
2134
+ "name": "getTemplate",
2135
+ "parameters": [
2136
+ {
2137
+ "name": "prefix",
2138
+ "type": {
2139
+ "text": "string"
2140
+ }
2141
+ }
2142
+ ]
2079
2143
  },
2080
2144
  {
2081
2145
  "kind": "field",
@@ -2189,154 +2253,115 @@
2189
2253
  }
2190
2254
  }
2191
2255
  ],
2192
- "events": [
2256
+ "attributes": [
2193
2257
  {
2194
- "description": "Fired when interpreted criteria is applied or cleared",
2195
- "name": "criteria-changed"
2258
+ "name": "is-vertical",
2259
+ "type": {
2260
+ "text": "boolean"
2261
+ },
2262
+ "default": "false",
2263
+ "fieldName": "isVertical"
2196
2264
  },
2197
2265
  {
2198
- "description": "Fired when interpreted criteria contains invalid clauses",
2199
- "name": "validation-errors"
2200
- }
2201
- ],
2202
- "attributes": [
2266
+ "name": "add-default-actions",
2267
+ "type": {
2268
+ "text": "boolean"
2269
+ },
2270
+ "default": "true",
2271
+ "fieldName": "addDefaultActions"
2272
+ },
2203
2273
  {
2204
- "name": "placeholder",
2274
+ "name": "auto-close-on-action",
2275
+ "type": {
2276
+ "text": "boolean"
2277
+ },
2278
+ "default": "true",
2279
+ "fieldName": "autoCloseOnAction"
2280
+ },
2281
+ {
2282
+ "name": "name",
2205
2283
  "type": {
2206
2284
  "text": "string"
2207
2285
  },
2208
- "default": "'Describe your search criteria in natural language...'",
2209
- "fieldName": "placeholder"
2286
+ "default": "'Actions'",
2287
+ "fieldName": "name"
2210
2288
  },
2211
2289
  {
2290
+ "name": "open",
2212
2291
  "type": {
2213
2292
  "text": "boolean"
2214
2293
  },
2215
- "fieldName": "disabled"
2294
+ "default": "false",
2295
+ "fieldName": "open"
2296
+ },
2297
+ {
2298
+ "name": "buttonAppearance",
2299
+ "type": {
2300
+ "text": "string"
2301
+ },
2302
+ "fieldName": "buttonAppearance"
2303
+ },
2304
+ {
2305
+ "name": "hide-disabled",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "hideDisabled"
2311
+ },
2312
+ {
2313
+ "name": "hide-menu-single-option",
2314
+ "type": {
2315
+ "text": "boolean"
2316
+ },
2317
+ "default": "false",
2318
+ "fieldName": "hideMenuSingleOption"
2216
2319
  }
2217
2320
  ],
2218
2321
  "superclass": {
2219
2322
  "name": "FoundationElement",
2220
2323
  "package": "@microsoft/fast-foundation"
2221
2324
  },
2222
- "tagName": "%%prefix%%-ai-criteria-search",
2325
+ "tagName": "%%prefix%%-actions-menu",
2223
2326
  "customElement": true
2224
2327
  },
2225
2328
  {
2226
2329
  "kind": "variable",
2227
- "name": "foundationAiCriteriaSearchShadowOptions",
2228
- "type": {
2229
- "text": "ShadowRootInit"
2230
- },
2231
- "default": "undefined"
2232
- },
2233
- {
2234
- "kind": "variable",
2235
- "name": "defaultAiCriteriaSearchConfig",
2236
- "type": {
2237
- "text": "object"
2238
- },
2239
- "default": "{}"
2240
- },
2241
- {
2242
- "kind": "variable",
2243
- "name": "foundationAiCriteriaSearch"
2330
+ "name": "foundationActionsMenu",
2331
+ "description": "The Foundation Actions Menu",
2332
+ "privacy": "public"
2244
2333
  }
2245
2334
  ],
2246
2335
  "exports": [
2247
2336
  {
2248
2337
  "kind": "js",
2249
- "name": "AiCriteriaSearch",
2250
- "declaration": {
2251
- "name": "AiCriteriaSearch",
2252
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2253
- }
2254
- },
2255
- {
2256
- "kind": "js",
2257
- "name": "foundationAiCriteriaSearchShadowOptions",
2258
- "declaration": {
2259
- "name": "foundationAiCriteriaSearchShadowOptions",
2260
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2261
- }
2262
- },
2263
- {
2264
- "kind": "js",
2265
- "name": "defaultAiCriteriaSearchConfig",
2338
+ "name": "ActionsMenu",
2266
2339
  "declaration": {
2267
- "name": "defaultAiCriteriaSearchConfig",
2268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2340
+ "name": "ActionsMenu",
2341
+ "module": "src/actions-menu/actions-menu.ts"
2269
2342
  }
2270
2343
  },
2271
2344
  {
2272
2345
  "kind": "js",
2273
- "name": "foundationAiCriteriaSearch",
2346
+ "name": "foundationActionsMenu",
2274
2347
  "declaration": {
2275
- "name": "foundationAiCriteriaSearch",
2276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2348
+ "name": "foundationActionsMenu",
2349
+ "module": "src/actions-menu/actions-menu.ts"
2277
2350
  }
2278
2351
  }
2279
2352
  ]
2280
2353
  },
2281
2354
  {
2282
2355
  "kind": "javascript-module",
2283
- "path": "src/ai-criteria-search/index.ts",
2356
+ "path": "src/actions-menu/index.ts",
2284
2357
  "declarations": [],
2285
2358
  "exports": [
2286
- {
2287
- "kind": "js",
2288
- "name": "AiCriteriaSearch",
2289
- "declaration": {
2290
- "name": "AiCriteriaSearch",
2291
- "module": "./ai-criteria-search"
2292
- }
2293
- },
2294
- {
2295
- "kind": "js",
2296
- "name": "defaultAiCriteriaSearchConfig",
2297
- "declaration": {
2298
- "name": "defaultAiCriteriaSearchConfig",
2299
- "module": "./ai-criteria-search"
2300
- }
2301
- },
2302
- {
2303
- "kind": "js",
2304
- "name": "foundationAiCriteriaSearch",
2305
- "declaration": {
2306
- "name": "foundationAiCriteriaSearch",
2307
- "module": "./ai-criteria-search"
2308
- }
2309
- },
2310
- {
2311
- "kind": "js",
2312
- "name": "foundationAiCriteriaSearchShadowOptions",
2313
- "declaration": {
2314
- "name": "foundationAiCriteriaSearchShadowOptions",
2315
- "module": "./ai-criteria-search"
2316
- }
2317
- },
2318
- {
2319
- "kind": "js",
2320
- "name": "foundationAiCriteriaSearchStyles",
2321
- "declaration": {
2322
- "name": "foundationAiCriteriaSearchStyles",
2323
- "module": "./ai-criteria-search.styles"
2324
- }
2325
- },
2326
- {
2327
- "kind": "js",
2328
- "name": "foundationAiCriteriaSearchTemplate",
2329
- "declaration": {
2330
- "name": "foundationAiCriteriaSearchTemplate",
2331
- "module": "./ai-criteria-search.template"
2332
- }
2333
- },
2334
2359
  {
2335
2360
  "kind": "js",
2336
2361
  "name": "*",
2337
2362
  "declaration": {
2338
2363
  "name": "*",
2339
- "package": "./validation/criteria-ir"
2364
+ "package": "./actions-menu.styles"
2340
2365
  }
2341
2366
  },
2342
2367
  {
@@ -2344,7 +2369,7 @@
2344
2369
  "name": "*",
2345
2370
  "declaration": {
2346
2371
  "name": "*",
2347
- "package": "./validation/operator-map"
2372
+ "package": "./actions-menu.template"
2348
2373
  }
2349
2374
  },
2350
2375
  {
@@ -2352,119 +2377,60 @@
2352
2377
  "name": "*",
2353
2378
  "declaration": {
2354
2379
  "name": "*",
2355
- "package": "./validation/schema-validator"
2380
+ "package": "./actions-menu"
2356
2381
  }
2357
2382
  }
2358
2383
  ]
2359
2384
  },
2360
2385
  {
2361
2386
  "kind": "javascript-module",
2362
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2387
+ "path": "src/accordion/accordion.styles.ts",
2363
2388
  "declarations": [
2364
2389
  {
2365
2390
  "kind": "function",
2366
- "name": "formatValidationErrors",
2391
+ "name": "foundationAccordionStyles",
2367
2392
  "return": {
2368
2393
  "type": {
2369
- "text": "string"
2394
+ "text": "ElementStyles"
2370
2395
  }
2371
2396
  },
2372
2397
  "parameters": [
2373
2398
  {
2374
- "name": "errors",
2399
+ "name": "context",
2375
2400
  "type": {
2376
- "text": "ValidationError[]"
2401
+ "text": "ElementDefinitionContext"
2377
2402
  }
2378
- }
2379
- ],
2380
- "description": "Formats validation errors into a user-friendly message."
2381
- },
2382
- {
2383
- "kind": "function",
2384
- "name": "showCriteriaError",
2385
- "return": {
2386
- "type": {
2387
- "text": "void"
2388
- }
2389
- },
2390
- "parameters": [
2391
- {
2392
- "name": "title",
2393
- "type": {
2394
- "text": "string"
2395
- },
2396
- "description": "Notification title (e.g. \"Criteria validation error\")"
2397
2403
  },
2398
2404
  {
2399
- "name": "body",
2405
+ "name": "definition",
2400
2406
  "type": {
2401
- "text": "string"
2402
- },
2403
- "description": "Error message to display"
2404
- },
2405
- {
2406
- "name": "tagName",
2407
- "type": {
2408
- "text": "string"
2409
- },
2410
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2407
+ "text": "FoundationElementDefinition"
2408
+ }
2411
2409
  }
2412
- ],
2413
- "description": "Shows a criteria error as a toast notification."
2410
+ ]
2414
2411
  }
2415
2412
  ],
2416
2413
  "exports": [
2417
2414
  {
2418
2415
  "kind": "js",
2419
- "name": "formatValidationErrors",
2420
- "declaration": {
2421
- "name": "formatValidationErrors",
2422
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2423
- }
2424
- },
2425
- {
2426
- "kind": "js",
2427
- "name": "showCriteriaError",
2416
+ "name": "foundationAccordionStyles",
2428
2417
  "declaration": {
2429
- "name": "showCriteriaError",
2430
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2418
+ "name": "foundationAccordionStyles",
2419
+ "module": "src/accordion/accordion.styles.ts"
2431
2420
  }
2432
2421
  }
2433
2422
  ]
2434
2423
  },
2435
2424
  {
2436
2425
  "kind": "javascript-module",
2437
- "path": "src/actions-menu/actions-menu.styles.ts",
2426
+ "path": "src/accordion/accordion.template.ts",
2438
2427
  "declarations": [
2439
2428
  {
2440
2429
  "kind": "function",
2441
- "name": "actionsMenuBaseStyles",
2442
- "return": {
2443
- "type": {
2444
- "text": "ElementStyles"
2445
- }
2446
- },
2447
- "parameters": [
2448
- {
2449
- "name": "context",
2450
- "type": {
2451
- "text": "ElementDefinitionContext"
2452
- }
2453
- },
2454
- {
2455
- "name": "definition",
2456
- "type": {
2457
- "text": "FoundationElementDefinition"
2458
- }
2459
- }
2460
- ]
2461
- },
2462
- {
2463
- "kind": "function",
2464
- "name": "foundationActionsMenuStyles",
2430
+ "name": "foundationAccordionTemplate",
2465
2431
  "return": {
2466
2432
  "type": {
2467
- "text": "ElementStyles"
2433
+ "text": "ViewTemplate<Accordion>"
2468
2434
  }
2469
2435
  },
2470
2436
  "parameters": [
@@ -2486,269 +2452,238 @@
2486
2452
  "exports": [
2487
2453
  {
2488
2454
  "kind": "js",
2489
- "name": "actionsMenuBaseStyles",
2490
- "declaration": {
2491
- "name": "actionsMenuBaseStyles",
2492
- "module": "src/actions-menu/actions-menu.styles.ts"
2493
- }
2494
- },
2495
- {
2496
- "kind": "js",
2497
- "name": "foundationActionsMenuStyles",
2455
+ "name": "foundationAccordionTemplate",
2498
2456
  "declaration": {
2499
- "name": "foundationActionsMenuStyles",
2500
- "module": "src/actions-menu/actions-menu.styles.ts"
2457
+ "name": "foundationAccordionTemplate",
2458
+ "module": "src/accordion/accordion.template.ts"
2501
2459
  }
2502
2460
  }
2503
2461
  ]
2504
2462
  },
2505
2463
  {
2506
2464
  "kind": "javascript-module",
2507
- "path": "src/actions-menu/actions-menu.template.ts",
2465
+ "path": "src/accordion/accordion.ts",
2508
2466
  "declarations": [
2509
2467
  {
2510
- "kind": "function",
2511
- "name": "menuTemplate",
2512
- "parameters": [
2513
- {
2514
- "name": "prefix",
2515
- "type": {
2516
- "text": "string"
2517
- }
2518
- }
2519
- ]
2520
- },
2521
- {
2522
- "kind": "function",
2523
- "name": "singleOptionTemplate",
2524
- "parameters": [
2468
+ "kind": "class",
2469
+ "description": "",
2470
+ "name": "Accordion",
2471
+ "superclass": {
2472
+ "name": "FASTAccordion",
2473
+ "package": "@microsoft/fast-foundation"
2474
+ },
2475
+ "tagName": "%%prefix%%-accordion",
2476
+ "customElement": true,
2477
+ "attributes": [
2525
2478
  {
2526
- "name": "prefix",
2479
+ "name": "expand-mode",
2527
2480
  "type": {
2528
- "text": "string"
2481
+ "text": "AccordionExpandMode"
2482
+ },
2483
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2484
+ "fieldName": "expandmode",
2485
+ "inheritedFrom": {
2486
+ "name": "Accordion",
2487
+ "module": "src/accordion/accordion.ts"
2529
2488
  }
2530
2489
  }
2531
- ]
2532
- },
2533
- {
2534
- "kind": "variable",
2535
- "name": "foundationActionsMenuTemplate",
2536
- "type": {
2537
- "text": "ViewTemplate<ActionsMenu>"
2538
- },
2539
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2540
- }
2541
- ],
2542
- "exports": [
2543
- {
2544
- "kind": "js",
2545
- "name": "menuTemplate",
2546
- "declaration": {
2547
- "name": "menuTemplate",
2548
- "module": "src/actions-menu/actions-menu.template.ts"
2549
- }
2550
- },
2551
- {
2552
- "kind": "js",
2553
- "name": "singleOptionTemplate",
2554
- "declaration": {
2555
- "name": "singleOptionTemplate",
2556
- "module": "src/actions-menu/actions-menu.template.ts"
2557
- }
2558
- },
2559
- {
2560
- "kind": "js",
2561
- "name": "foundationActionsMenuTemplate",
2562
- "declaration": {
2563
- "name": "foundationActionsMenuTemplate",
2564
- "module": "src/actions-menu/actions-menu.template.ts"
2565
- }
2566
- }
2567
- ]
2568
- },
2569
- {
2570
- "kind": "javascript-module",
2571
- "path": "src/actions-menu/actions-menu.ts",
2572
- "declarations": [
2573
- {
2574
- "kind": "class",
2575
- "description": "",
2576
- "name": "ActionsMenu",
2490
+ ],
2577
2491
  "members": [
2578
2492
  {
2579
2493
  "kind": "field",
2580
- "name": "actions",
2494
+ "name": "expandmode",
2581
2495
  "type": {
2582
- "text": "ActionMenuItem[]"
2496
+ "text": "AccordionExpandMode"
2497
+ },
2498
+ "privacy": "public",
2499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
+ "inheritedFrom": {
2501
+ "name": "Accordion",
2502
+ "module": "src/accordion/accordion.ts"
2583
2503
  }
2584
2504
  },
2585
2505
  {
2586
2506
  "kind": "field",
2587
- "name": "isVertical",
2507
+ "name": "activeid",
2588
2508
  "type": {
2589
- "text": "boolean"
2509
+ "text": "string | null"
2590
2510
  },
2591
- "default": "false"
2511
+ "privacy": "private",
2512
+ "inheritedFrom": {
2513
+ "name": "Accordion",
2514
+ "module": "src/accordion/accordion.ts"
2515
+ }
2592
2516
  },
2593
2517
  {
2594
2518
  "kind": "field",
2595
- "name": "addDefaultActions",
2519
+ "name": "activeItemIndex",
2596
2520
  "type": {
2597
- "text": "boolean"
2521
+ "text": "number"
2598
2522
  },
2599
- "default": "true"
2523
+ "privacy": "private",
2524
+ "default": "0",
2525
+ "inheritedFrom": {
2526
+ "name": "Accordion",
2527
+ "module": "src/accordion/accordion.ts"
2528
+ }
2600
2529
  },
2601
2530
  {
2602
2531
  "kind": "field",
2603
- "name": "autoCloseOnAction",
2532
+ "name": "accordionIds",
2604
2533
  "type": {
2605
- "text": "boolean"
2534
+ "text": "Array<string | null>"
2606
2535
  },
2607
- "default": "true"
2608
- },
2609
- {
2610
- "kind": "field",
2611
- "name": "classNames",
2612
- "type": {
2613
- "text": "string"
2536
+ "privacy": "private",
2537
+ "inheritedFrom": {
2538
+ "name": "Accordion",
2539
+ "module": "src/accordion/accordion.ts"
2614
2540
  }
2615
2541
  },
2616
2542
  {
2617
2543
  "kind": "field",
2618
- "name": "definition",
2619
- "type": {
2620
- "text": "any"
2544
+ "name": "change",
2545
+ "privacy": "private",
2546
+ "inheritedFrom": {
2547
+ "name": "Accordion",
2548
+ "module": "src/accordion/accordion.ts"
2621
2549
  }
2622
2550
  },
2623
2551
  {
2624
- "kind": "field",
2625
- "name": "name",
2626
- "type": {
2627
- "text": "string"
2628
- },
2629
- "default": "'Actions'"
2630
- },
2631
- {
2632
- "kind": "field",
2633
- "name": "open",
2634
- "type": {
2635
- "text": "boolean"
2552
+ "kind": "method",
2553
+ "name": "findExpandedItem",
2554
+ "privacy": "private",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "AccordionItem | null"
2558
+ }
2636
2559
  },
2637
- "default": "false"
2638
- },
2639
- {
2640
- "kind": "field",
2641
- "name": "buttonAppearance",
2642
- "type": {
2643
- "text": "string"
2560
+ "inheritedFrom": {
2561
+ "name": "Accordion",
2562
+ "module": "src/accordion/accordion.ts"
2644
2563
  }
2645
2564
  },
2646
2565
  {
2647
2566
  "kind": "field",
2648
- "name": "hideDisabled",
2649
- "type": {
2650
- "text": "boolean"
2651
- },
2652
- "default": "false"
2567
+ "name": "setItems",
2568
+ "privacy": "private",
2569
+ "inheritedFrom": {
2570
+ "name": "Accordion",
2571
+ "module": "src/accordion/accordion.ts"
2572
+ }
2653
2573
  },
2654
2574
  {
2655
- "kind": "field",
2656
- "name": "hideMenuSingleOption",
2657
- "type": {
2658
- "text": "boolean"
2575
+ "kind": "method",
2576
+ "name": "resetItems",
2577
+ "privacy": "private",
2578
+ "return": {
2579
+ "type": {
2580
+ "text": "void"
2581
+ }
2659
2582
  },
2660
- "default": "false"
2661
- },
2662
- {
2663
- "kind": "field",
2664
- "name": "singleOption",
2665
- "type": {
2666
- "text": "ActionMenuItem"
2583
+ "inheritedFrom": {
2584
+ "name": "Accordion",
2585
+ "module": "src/accordion/accordion.ts"
2667
2586
  }
2668
2587
  },
2669
2588
  {
2670
2589
  "kind": "field",
2671
- "name": "actionsMenu",
2672
- "type": {
2673
- "text": "HTMLElement"
2590
+ "name": "removeItemListeners",
2591
+ "privacy": "private",
2592
+ "inheritedFrom": {
2593
+ "name": "Accordion",
2594
+ "module": "src/accordion/accordion.ts"
2674
2595
  }
2675
2596
  },
2676
2597
  {
2677
- "kind": "method",
2678
- "name": "definitionChanged",
2679
- "privacy": "protected",
2680
- "parameters": [
2681
- {
2682
- "name": "oldValue",
2683
- "type": {
2684
- "text": "any"
2685
- }
2686
- },
2687
- {
2688
- "name": "newValue",
2689
- "type": {
2690
- "text": "any"
2691
- }
2692
- }
2693
- ]
2694
- },
2695
- {
2696
- "kind": "method",
2697
- "name": "openChanged",
2698
- "privacy": "protected"
2598
+ "kind": "field",
2599
+ "name": "activeItemChange",
2600
+ "privacy": "private",
2601
+ "inheritedFrom": {
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2604
+ }
2699
2605
  },
2700
2606
  {
2701
2607
  "kind": "method",
2702
- "name": "toggleActionsMenuVisibility"
2608
+ "name": "getItemIds",
2609
+ "privacy": "private",
2610
+ "return": {
2611
+ "type": {
2612
+ "text": "Array<string | null>"
2613
+ }
2614
+ },
2615
+ "inheritedFrom": {
2616
+ "name": "Accordion",
2617
+ "module": "src/accordion/accordion.ts"
2618
+ }
2703
2619
  },
2704
2620
  {
2705
2621
  "kind": "method",
2706
- "name": "onActionMenuItemClick",
2707
- "parameters": [
2708
- {
2709
- "name": "callback",
2710
- "type": {
2711
- "text": "(rowData) => void | any"
2712
- }
2622
+ "name": "isSingleExpandMode",
2623
+ "privacy": "private",
2624
+ "return": {
2625
+ "type": {
2626
+ "text": "boolean"
2713
2627
  }
2714
- ]
2628
+ },
2629
+ "inheritedFrom": {
2630
+ "name": "Accordion",
2631
+ "module": "src/accordion/accordion.ts"
2632
+ }
2715
2633
  },
2716
2634
  {
2717
2635
  "kind": "field",
2718
- "name": "allActions",
2719
- "type": {
2720
- "text": "ActionMenuItem[]"
2721
- },
2722
- "readonly": true
2636
+ "name": "handleItemKeyDown",
2637
+ "privacy": "private",
2638
+ "inheritedFrom": {
2639
+ "name": "Accordion",
2640
+ "module": "src/accordion/accordion.ts"
2641
+ }
2723
2642
  },
2724
2643
  {
2725
2644
  "kind": "field",
2726
- "name": "rowData",
2727
- "readonly": true
2645
+ "name": "handleItemFocus",
2646
+ "privacy": "private",
2647
+ "inheritedFrom": {
2648
+ "name": "Accordion",
2649
+ "module": "src/accordion/accordion.ts"
2650
+ }
2728
2651
  },
2729
2652
  {
2730
2653
  "kind": "method",
2731
- "name": "getLabel",
2654
+ "name": "adjust",
2655
+ "privacy": "private",
2656
+ "return": {
2657
+ "type": {
2658
+ "text": "void"
2659
+ }
2660
+ },
2732
2661
  "parameters": [
2733
2662
  {
2734
- "name": "name",
2663
+ "name": "adjustment",
2735
2664
  "type": {
2736
- "text": "string | ((rowData: any) => string)"
2665
+ "text": "number"
2737
2666
  }
2738
2667
  }
2739
- ]
2668
+ ],
2669
+ "inheritedFrom": {
2670
+ "name": "Accordion",
2671
+ "module": "src/accordion/accordion.ts"
2672
+ }
2740
2673
  },
2741
2674
  {
2742
2675
  "kind": "method",
2743
- "name": "getTemplate",
2744
- "parameters": [
2745
- {
2746
- "name": "prefix",
2747
- "type": {
2748
- "text": "string"
2749
- }
2676
+ "name": "focusItem",
2677
+ "privacy": "private",
2678
+ "return": {
2679
+ "type": {
2680
+ "text": "void"
2750
2681
  }
2751
- ]
2682
+ },
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2686
+ }
2752
2687
  },
2753
2688
  {
2754
2689
  "kind": "field",
@@ -2862,107 +2797,78 @@
2862
2797
  }
2863
2798
  }
2864
2799
  ],
2865
- "attributes": [
2866
- {
2867
- "name": "is-vertical",
2868
- "type": {
2869
- "text": "boolean"
2870
- },
2871
- "default": "false",
2872
- "fieldName": "isVertical"
2873
- },
2874
- {
2875
- "name": "add-default-actions",
2876
- "type": {
2877
- "text": "boolean"
2878
- },
2879
- "default": "true",
2880
- "fieldName": "addDefaultActions"
2881
- },
2882
- {
2883
- "name": "auto-close-on-action",
2884
- "type": {
2885
- "text": "boolean"
2886
- },
2887
- "default": "true",
2888
- "fieldName": "autoCloseOnAction"
2889
- },
2890
- {
2891
- "name": "name",
2892
- "type": {
2893
- "text": "string"
2894
- },
2895
- "default": "'Actions'",
2896
- "fieldName": "name"
2897
- },
2898
- {
2899
- "name": "open",
2900
- "type": {
2901
- "text": "boolean"
2902
- },
2903
- "default": "false",
2904
- "fieldName": "open"
2905
- },
2906
- {
2907
- "name": "buttonAppearance",
2908
- "type": {
2909
- "text": "string"
2910
- },
2911
- "fieldName": "buttonAppearance"
2912
- },
2913
- {
2914
- "name": "hide-disabled",
2915
- "type": {
2916
- "text": "boolean"
2917
- },
2918
- "default": "false",
2919
- "fieldName": "hideDisabled"
2920
- },
2800
+ "events": [
2921
2801
  {
2922
- "name": "hide-menu-single-option",
2923
- "type": {
2924
- "text": "boolean"
2925
- },
2926
- "default": "false",
2927
- "fieldName": "hideMenuSingleOption"
2802
+ "description": "Fires a custom 'change' event when the active item changes",
2803
+ "name": "change",
2804
+ "inheritedFrom": {
2805
+ "name": "Accordion",
2806
+ "module": "src/accordion/accordion.ts"
2807
+ }
2928
2808
  }
2929
- ],
2930
- "superclass": {
2931
- "name": "FoundationElement",
2932
- "package": "@microsoft/fast-foundation"
2809
+ ]
2810
+ },
2811
+ {
2812
+ "kind": "variable",
2813
+ "name": "foundationAccordionShadowOptions",
2814
+ "type": {
2815
+ "text": "ShadowRootInit"
2933
2816
  },
2934
- "tagName": "%%prefix%%-actions-menu",
2935
- "customElement": true
2817
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2936
2818
  },
2937
2819
  {
2938
2820
  "kind": "variable",
2939
- "name": "foundationActionsMenu",
2940
- "description": "The Foundation Actions Menu",
2821
+ "name": "defaultAccordionConfig",
2822
+ "type": {
2823
+ "text": "object"
2824
+ },
2825
+ "default": "{}"
2826
+ },
2827
+ {
2828
+ "kind": "variable",
2829
+ "name": "foundationAccordion",
2830
+ "description": "The Foundation Accordion",
2941
2831
  "privacy": "public"
2942
2832
  }
2943
2833
  ],
2944
2834
  "exports": [
2945
2835
  {
2946
2836
  "kind": "js",
2947
- "name": "ActionsMenu",
2837
+ "name": "Accordion",
2948
2838
  "declaration": {
2949
- "name": "ActionsMenu",
2950
- "module": "src/actions-menu/actions-menu.ts"
2839
+ "name": "Accordion",
2840
+ "module": "src/accordion/accordion.ts"
2951
2841
  }
2952
2842
  },
2953
2843
  {
2954
2844
  "kind": "js",
2955
- "name": "foundationActionsMenu",
2845
+ "name": "foundationAccordionShadowOptions",
2956
2846
  "declaration": {
2957
- "name": "foundationActionsMenu",
2958
- "module": "src/actions-menu/actions-menu.ts"
2847
+ "name": "foundationAccordionShadowOptions",
2848
+ "module": "src/accordion/accordion.ts"
2849
+ }
2850
+ },
2851
+ {
2852
+ "kind": "js",
2853
+ "name": "defaultAccordionConfig",
2854
+ "declaration": {
2855
+ "name": "defaultAccordionConfig",
2856
+ "module": "src/accordion/accordion.ts"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "foundationAccordion",
2862
+ "declaration": {
2863
+ "name": "foundationAccordion",
2864
+ "module": "src/accordion/accordion.ts"
2959
2865
  }
2960
2866
  }
2961
2867
  ]
2962
2868
  },
2963
2869
  {
2964
2870
  "kind": "javascript-module",
2965
- "path": "src/actions-menu/index.ts",
2871
+ "path": "src/accordion/index.ts",
2966
2872
  "declarations": [],
2967
2873
  "exports": [
2968
2874
  {
@@ -2970,7 +2876,7 @@
2970
2876
  "name": "*",
2971
2877
  "declaration": {
2972
2878
  "name": "*",
2973
- "package": "./actions-menu.styles"
2879
+ "package": "./accordion.template"
2974
2880
  }
2975
2881
  },
2976
2882
  {
@@ -2978,90 +2884,72 @@
2978
2884
  "name": "*",
2979
2885
  "declaration": {
2980
2886
  "name": "*",
2981
- "package": "./actions-menu.template"
2887
+ "package": "./accordion.styles"
2982
2888
  }
2983
2889
  },
2984
2890
  {
2985
2891
  "kind": "js",
2986
2892
  "name": "*",
2987
2893
  "declaration": {
2988
- "name": "*",
2989
- "package": "./actions-menu"
2990
- }
2991
- }
2992
- ]
2993
- },
2994
- {
2995
- "kind": "javascript-module",
2996
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2997
- "declarations": [
2998
- {
2999
- "kind": "function",
3000
- "name": "foundationAiIndicatorStyles",
3001
- "return": {
3002
- "type": {
3003
- "text": "ElementStyles"
3004
- }
3005
- },
3006
- "parameters": [
3007
- {
3008
- "name": "context",
3009
- "type": {
3010
- "text": "ElementDefinitionContext"
3011
- }
3012
- },
3013
- {
3014
- "name": "definition",
3015
- "type": {
3016
- "text": "FoundationElementDefinition"
3017
- }
3018
- }
3019
- ]
2894
+ "name": "*",
2895
+ "package": "./accordion"
2896
+ }
2897
+ }
2898
+ ]
2899
+ },
2900
+ {
2901
+ "kind": "javascript-module",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2903
+ "declarations": [
2904
+ {
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "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`"
3020
2908
  }
3021
2909
  ],
3022
2910
  "exports": [
3023
2911
  {
3024
2912
  "kind": "js",
3025
- "name": "foundationAiIndicatorStyles",
2913
+ "name": "foundationAiCriteriaSearchStyles",
3026
2914
  "declaration": {
3027
- "name": "foundationAiIndicatorStyles",
3028
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3029
2917
  }
3030
2918
  }
3031
2919
  ]
3032
2920
  },
3033
2921
  {
3034
2922
  "kind": "javascript-module",
3035
- "path": "src/ai-indicator/ai-indicator.template.ts",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3036
2924
  "declarations": [
3037
2925
  {
3038
2926
  "kind": "variable",
3039
- "name": "foundationAiIndicatorTemplate",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
3040
2928
  "type": {
3041
- "text": "ViewTemplate<AiIndicator>"
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
3042
2930
  },
3043
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3044
2932
  }
3045
2933
  ],
3046
2934
  "exports": [
3047
2935
  {
3048
2936
  "kind": "js",
3049
- "name": "foundationAiIndicatorTemplate",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
3050
2938
  "declaration": {
3051
- "name": "foundationAiIndicatorTemplate",
3052
- "module": "src/ai-indicator/ai-indicator.template.ts"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3053
2941
  }
3054
2942
  }
3055
2943
  ]
3056
2944
  },
3057
2945
  {
3058
2946
  "kind": "javascript-module",
3059
- "path": "src/ai-indicator/ai-indicator.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3060
2948
  "declarations": [
3061
2949
  {
3062
2950
  "kind": "class",
3063
- "description": "",
3064
- "name": "AiIndicator",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
3065
2953
  "members": [
3066
2954
  {
3067
2955
  "kind": "field",
@@ -3072,25 +2960,54 @@
3072
2960
  },
3073
2961
  {
3074
2962
  "kind": "field",
3075
- "name": "aiProvider",
2963
+ "name": "placeholder",
3076
2964
  "type": {
3077
- "text": "AIProvider | undefined"
2965
+ "text": "string"
3078
2966
  },
3079
- "privacy": "private",
3080
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3081
- "readonly": true
2967
+ "default": "'Describe your search criteria in natural language...'"
3082
2968
  },
3083
2969
  {
3084
2970
  "kind": "field",
3085
- "name": "status",
2971
+ "name": "disabled",
3086
2972
  "type": {
3087
- "text": "AIStatus | null"
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2979
+ "type": {
2980
+ "text": "string"
2981
+ },
2982
+ "default": "''"
2983
+ },
2984
+ {
2985
+ "kind": "field",
2986
+ "name": "isInterpreting",
2987
+ "type": {
2988
+ "text": "boolean"
2989
+ },
2990
+ "default": "false"
2991
+ },
2992
+ {
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2995
+ "type": {
2996
+ "text": "string | null"
3088
2997
  },
3089
2998
  "default": "null"
3090
2999
  },
3091
3000
  {
3092
3001
  "kind": "field",
3093
- "name": "open",
3002
+ "name": "activeGroups",
3003
+ "type": {
3004
+ "text": "CriteriaGroup[]"
3005
+ },
3006
+ "default": "[]"
3007
+ },
3008
+ {
3009
+ "kind": "field",
3010
+ "name": "showingChips",
3094
3011
  "type": {
3095
3012
  "text": "boolean"
3096
3013
  },
@@ -3098,15 +3015,15 @@
3098
3015
  },
3099
3016
  {
3100
3017
  "kind": "field",
3101
- "name": "state",
3018
+ "name": "fieldMetadata",
3102
3019
  "type": {
3103
- "text": "AIIndicatorState"
3020
+ "text": "MetadataDetail[] | string[]"
3104
3021
  },
3105
- "default": "'none'"
3022
+ "default": "[]"
3106
3023
  },
3107
3024
  {
3108
3025
  "kind": "field",
3109
- "name": "isInstalling",
3026
+ "name": "isRecording",
3110
3027
  "type": {
3111
3028
  "text": "boolean"
3112
3029
  },
@@ -3114,29 +3031,33 @@
3114
3031
  },
3115
3032
  {
3116
3033
  "kind": "field",
3117
- "name": "pollTimer",
3034
+ "name": "textAreaRef",
3118
3035
  "type": {
3119
- "text": "ReturnType<typeof setInterval> | null"
3036
+ "text": "HTMLTextAreaElement"
3120
3037
  },
3121
- "privacy": "private",
3122
- "default": "null"
3038
+ "privacy": "public"
3123
3039
  },
3124
3040
  {
3125
3041
  "kind": "field",
3126
- "name": "clickOutside",
3127
- "privacy": "private"
3042
+ "name": "stopRecording",
3043
+ "type": {
3044
+ "text": "(() => void) | null"
3045
+ },
3046
+ "privacy": "private",
3047
+ "default": "null"
3128
3048
  },
3129
3049
  {
3130
3050
  "kind": "field",
3131
- "name": "chromeStatusLabel",
3051
+ "name": "speechApplyDebounceTimer",
3132
3052
  "type": {
3133
- "text": "string | null"
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3134
3054
  },
3135
- "readonly": true
3055
+ "privacy": "private",
3056
+ "default": "null"
3136
3057
  },
3137
3058
  {
3138
3059
  "kind": "field",
3139
- "name": "canInstall",
3060
+ "name": "speechAvailable",
3140
3061
  "type": {
3141
3062
  "text": "boolean"
3142
3063
  },
@@ -3144,69 +3065,65 @@
3144
3065
  },
3145
3066
  {
3146
3067
  "kind": "field",
3147
- "name": "isDownloading",
3068
+ "name": "criteriaChips",
3148
3069
  "type": {
3149
- "text": "boolean"
3070
+ "text": "CriteriaChip[]"
3150
3071
  },
3151
3072
  "readonly": true
3152
3073
  },
3153
3074
  {
3154
3075
  "kind": "method",
3155
- "name": "openChanged",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3156
3078
  "return": {
3157
3079
  "type": {
3158
- "text": "void"
3080
+ "text": "string"
3159
3081
  }
3160
- }
3161
- },
3162
- {
3163
- "kind": "method",
3164
- "name": "handleClickOutside",
3165
- "privacy": "private",
3082
+ },
3166
3083
  "parameters": [
3167
3084
  {
3168
- "name": "event",
3085
+ "name": "fieldName",
3169
3086
  "type": {
3170
- "text": "MouseEvent"
3087
+ "text": "string"
3171
3088
  }
3172
3089
  }
3173
3090
  ]
3174
3091
  },
3175
3092
  {
3176
3093
  "kind": "method",
3177
- "name": "toggleDropdown"
3178
- },
3179
- {
3180
- "kind": "method",
3181
- "name": "refreshStatus",
3094
+ "name": "toggleCriteriaView",
3182
3095
  "return": {
3183
3096
  "type": {
3184
- "text": "Promise<void>"
3097
+ "text": "void"
3185
3098
  }
3186
3099
  }
3187
3100
  },
3188
3101
  {
3189
3102
  "kind": "method",
3190
- "name": "deriveState",
3191
- "privacy": "private",
3103
+ "name": "removeChip",
3192
3104
  "return": {
3193
3105
  "type": {
3194
- "text": "AIIndicatorState"
3106
+ "text": "void"
3195
3107
  }
3196
3108
  },
3197
3109
  "parameters": [
3198
3110
  {
3199
- "name": "s",
3111
+ "name": "groupIndex",
3200
3112
  "type": {
3201
- "text": "AIStatus | null"
3113
+ "text": "number"
3114
+ }
3115
+ },
3116
+ {
3117
+ "name": "clauseIndex",
3118
+ "type": {
3119
+ "text": "number"
3202
3120
  }
3203
3121
  }
3204
3122
  ]
3205
3123
  },
3206
3124
  {
3207
3125
  "kind": "method",
3208
- "name": "maybeStartPolling",
3209
- "privacy": "private",
3126
+ "name": "clearChips",
3210
3127
  "return": {
3211
3128
  "type": {
3212
3129
  "text": "void"
@@ -3215,32 +3132,24 @@
3215
3132
  },
3216
3133
  {
3217
3134
  "kind": "method",
3218
- "name": "startPolling",
3219
- "privacy": "private",
3220
- "return": {
3221
- "type": {
3222
- "text": "void"
3223
- }
3224
- }
3135
+ "name": "handleSubmit"
3225
3136
  },
3226
3137
  {
3227
3138
  "kind": "method",
3228
- "name": "stopPolling",
3229
- "privacy": "private",
3230
- "return": {
3231
- "type": {
3232
- "text": "void"
3233
- }
3234
- }
3139
+ "name": "handleBlur"
3235
3140
  },
3236
3141
  {
3237
3142
  "kind": "method",
3238
- "name": "onInstall",
3239
- "return": {
3240
- "type": {
3241
- "text": "Promise<void>"
3242
- }
3243
- }
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3244
3153
  },
3245
3154
  {
3246
3155
  "kind": "field",
@@ -3354,141 +3263,259 @@
3354
3263
  }
3355
3264
  }
3356
3265
  ],
3266
+ "events": [
3267
+ {
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3270
+ },
3271
+ {
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3274
+ }
3275
+ ],
3276
+ "attributes": [
3277
+ {
3278
+ "name": "placeholder",
3279
+ "type": {
3280
+ "text": "string"
3281
+ },
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3284
+ },
3285
+ {
3286
+ "type": {
3287
+ "text": "boolean"
3288
+ },
3289
+ "fieldName": "disabled"
3290
+ }
3291
+ ],
3357
3292
  "superclass": {
3358
3293
  "name": "FoundationElement",
3359
3294
  "package": "@microsoft/fast-foundation"
3360
3295
  },
3361
- "tagName": "%%prefix%%-ai-indicator",
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3362
3297
  "customElement": true
3363
3298
  },
3364
- {
3365
- "kind": "variable",
3366
- "name": "foundationAiIndicator"
3367
- }
3368
- ],
3369
- "exports": [
3299
+ {
3300
+ "kind": "variable",
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3318
+ }
3319
+ ],
3320
+ "exports": [
3321
+ {
3322
+ "kind": "js",
3323
+ "name": "AiCriteriaSearch",
3324
+ "declaration": {
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
+ }
3328
+ },
3329
+ {
3330
+ "kind": "js",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3332
+ "declaration": {
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
+ }
3336
+ },
3370
3337
  {
3371
3338
  "kind": "js",
3372
- "name": "AiIndicator",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3373
3340
  "declaration": {
3374
- "name": "AiIndicator",
3375
- "module": "src/ai-indicator/ai-indicator.ts"
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3376
3343
  }
3377
3344
  },
3378
3345
  {
3379
3346
  "kind": "js",
3380
- "name": "foundationAiIndicator",
3347
+ "name": "foundationAiCriteriaSearch",
3381
3348
  "declaration": {
3382
- "name": "foundationAiIndicator",
3383
- "module": "src/ai-indicator/ai-indicator.ts"
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3384
3351
  }
3385
3352
  }
3386
3353
  ]
3387
3354
  },
3388
3355
  {
3389
3356
  "kind": "javascript-module",
3390
- "path": "src/ai-indicator/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3391
3358
  "declarations": [],
3392
3359
  "exports": [
3393
3360
  {
3394
3361
  "kind": "js",
3395
- "name": "AiIndicator",
3362
+ "name": "AiCriteriaSearch",
3396
3363
  "declaration": {
3397
- "name": "AiIndicator",
3398
- "module": "./ai-indicator"
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3399
3366
  }
3400
3367
  },
3401
3368
  {
3402
3369
  "kind": "js",
3403
- "name": "foundationAiIndicator",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3404
3371
  "declaration": {
3405
- "name": "foundationAiIndicator",
3406
- "module": "./ai-indicator"
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3407
3374
  }
3408
3375
  },
3409
3376
  {
3410
3377
  "kind": "js",
3411
- "name": "type",
3378
+ "name": "foundationAiCriteriaSearch",
3412
3379
  "declaration": {
3413
- "name": "type",
3414
- "module": "./ai-indicator"
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3415
3382
  }
3416
3383
  },
3417
3384
  {
3418
3385
  "kind": "js",
3419
- "name": "AIIndicatorState",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3420
3387
  "declaration": {
3421
- "name": "AIIndicatorState",
3422
- "module": "./ai-indicator"
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3423
3390
  }
3424
3391
  },
3425
3392
  {
3426
3393
  "kind": "js",
3427
- "name": "foundationAiIndicatorTemplate",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3428
3395
  "declaration": {
3429
- "name": "foundationAiIndicatorTemplate",
3430
- "module": "./ai-indicator.template"
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3431
3398
  }
3432
3399
  },
3433
3400
  {
3434
3401
  "kind": "js",
3435
- "name": "foundationAiIndicatorStyles",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3436
3403
  "declaration": {
3437
- "name": "foundationAiIndicatorStyles",
3438
- "module": "./ai-indicator.styles"
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3408
+ {
3409
+ "kind": "js",
3410
+ "name": "*",
3411
+ "declaration": {
3412
+ "name": "*",
3413
+ "package": "./validation/criteria-ir"
3414
+ }
3415
+ },
3416
+ {
3417
+ "kind": "js",
3418
+ "name": "*",
3419
+ "declaration": {
3420
+ "name": "*",
3421
+ "package": "./validation/operator-map"
3422
+ }
3423
+ },
3424
+ {
3425
+ "kind": "js",
3426
+ "name": "*",
3427
+ "declaration": {
3428
+ "name": "*",
3429
+ "package": "./validation/schema-validator"
3439
3430
  }
3440
3431
  }
3441
3432
  ]
3442
3433
  },
3443
3434
  {
3444
3435
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3446
3437
  "declarations": [
3447
3438
  {
3448
3439
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3440
+ "name": "formatValidationErrors",
3450
3441
  "return": {
3451
3442
  "type": {
3452
- "text": "ElementStyles"
3443
+ "text": "string"
3453
3444
  }
3454
3445
  },
3455
3446
  "parameters": [
3456
3447
  {
3457
- "name": "context",
3448
+ "name": "errors",
3458
3449
  "type": {
3459
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3460
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3471
  },
3462
3472
  {
3463
- "name": "definition",
3473
+ "name": "body",
3464
3474
  "type": {
3465
- "text": "FoundationElementDefinition"
3466
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3467
3485
  }
3468
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3469
3488
  }
3470
3489
  ],
3471
3490
  "exports": [
3472
3491
  {
3473
3492
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3493
+ "name": "formatValidationErrors",
3475
3494
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3478
3505
  }
3479
3506
  }
3480
3507
  ]
3481
3508
  },
3482
3509
  {
3483
3510
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3485
3512
  "declarations": [
3486
3513
  {
3487
3514
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3489
3516
  "return": {
3490
3517
  "type": {
3491
- "text": "ViewTemplate<Accordion>"
3518
+ "text": "ElementStyles"
3492
3519
  }
3493
3520
  },
3494
3521
  "parameters": [
@@ -3510,237 +3537,224 @@
3510
3537
  "exports": [
3511
3538
  {
3512
3539
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3514
3541
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3517
3544
  }
3518
3545
  }
3519
3546
  ]
3520
3547
  },
3521
3548
  {
3522
3549
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3524
3575
  "declarations": [
3525
3576
  {
3526
3577
  "kind": "class",
3527
3578
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3536
3581
  {
3537
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3538
3584
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
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"
3585
+ "text": "AIProviderRegistry"
3546
3586
  }
3547
- }
3548
- ],
3549
- "members": [
3587
+ },
3550
3588
  {
3551
3589
  "kind": "field",
3552
- "name": "expandmode",
3590
+ "name": "aiProvider",
3553
3591
  "type": {
3554
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3555
3593
  },
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
- }
3594
+ "privacy": "private",
3595
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
+ "readonly": true
3562
3597
  },
3563
3598
  {
3564
3599
  "kind": "field",
3565
- "name": "activeid",
3600
+ "name": "status",
3566
3601
  "type": {
3567
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3568
3603
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3604
+ "default": "null"
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "field",
3577
- "name": "activeItemIndex",
3608
+ "name": "open",
3578
3609
  "type": {
3579
- "text": "number"
3610
+ "text": "boolean"
3580
3611
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3612
+ "default": "false"
3613
+ },
3614
+ {
3615
+ "kind": "field",
3616
+ "name": "state",
3617
+ "type": {
3618
+ "text": "AIIndicatorState"
3619
+ },
3620
+ "default": "'none'"
3621
+ },
3622
+ {
3623
+ "kind": "field",
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3587
3629
  },
3588
3630
  {
3589
3631
  "kind": "field",
3590
- "name": "accordionIds",
3632
+ "name": "pollTimer",
3591
3633
  "type": {
3592
- "text": "Array<string | null>"
3634
+ "text": "ReturnType<typeof setInterval> | null"
3593
3635
  },
3594
3636
  "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3598
- }
3637
+ "default": "null"
3599
3638
  },
3600
3639
  {
3601
3640
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3607
- }
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3608
3643
  },
3609
3644
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3612
- "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3617
3649
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3650
+ "readonly": true
3622
3651
  },
3623
3652
  {
3624
3653
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3630
- }
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3631
3667
  },
3632
3668
  {
3633
3669
  "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3670
+ "name": "openChanged",
3636
3671
  "return": {
3637
3672
  "type": {
3638
3673
  "text": "void"
3639
3674
  }
3640
- },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
3675
  }
3645
3676
  },
3646
3677
  {
3647
- "kind": "field",
3648
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3649
3680
  "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3653
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3654
3689
  },
3655
3690
  {
3656
- "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3663
3693
  },
3664
3694
  {
3665
3695
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3696
+ "name": "refreshStatus",
3668
3697
  "return": {
3669
3698
  "type": {
3670
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3671
3700
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3701
  }
3677
3702
  },
3678
3703
  {
3679
3704
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3681
3706
  "privacy": "private",
3682
3707
  "return": {
3683
3708
  "type": {
3684
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3685
3710
  }
3686
3711
  },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3691
3720
  },
3692
3721
  {
3693
- "kind": "field",
3694
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3695
3724
  "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3699
3729
  }
3700
3730
  },
3701
3731
  {
3702
- "kind": "field",
3703
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3704
3734
  "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3708
3739
  }
3709
3740
  },
3710
3741
  {
3711
3742
  "kind": "method",
3712
- "name": "adjust",
3743
+ "name": "stopPolling",
3713
3744
  "privacy": "private",
3714
3745
  "return": {
3715
3746
  "type": {
3716
3747
  "text": "void"
3717
3748
  }
3718
- },
3719
- "parameters": [
3720
- {
3721
- "name": "adjustment",
3722
- "type": {
3723
- "text": "number"
3724
- }
3725
- }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
3749
  }
3731
3750
  },
3732
3751
  {
3733
3752
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3753
+ "name": "onInstall",
3736
3754
  "return": {
3737
3755
  "type": {
3738
- "text": "void"
3756
+ "text": "Promise<void>"
3739
3757
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
@@ -3855,102 +3869,88 @@
3855
3869
  }
3856
3870
  }
3857
3871
  ],
3858
- "events": [
3859
- {
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
- }
3866
- }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3882
3875
  },
3883
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3884
3878
  },
3885
3879
  {
3886
3880
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3889
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3890
3882
  }
3891
3883
  ],
3892
3884
  "exports": [
3893
3885
  {
3894
3886
  "kind": "js",
3895
- "name": "Accordion",
3887
+ "name": "AiIndicator",
3896
3888
  "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3891
  }
3900
3892
  },
3901
3893
  {
3902
3894
  "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3895
+ "name": "foundationAiIndicator",
3904
3896
  "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "defaultAccordionConfig",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "foundationAccordion",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3930
- "declarations": [],
3931
- "exports": [
3931
+ },
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "*",
3934
+ "name": "AIIndicatorState",
3935
3935
  "declaration": {
3936
- "name": "*",
3937
- "package": "./accordion.template"
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "*",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
3943
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.styles"
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "*",
3950
+ "name": "foundationAiIndicatorStyles",
3951
3951
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]