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