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