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