@genesislcap/foundation-ui 14.422.1-alpha-6f2ae99.0 → 14.422.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1817,34 +1817,11 @@
1817
1817
  },
1818
1818
  {
1819
1819
  "kind": "javascript-module",
1820
- "path": "src/actions-menu/actions-menu.styles.ts",
1820
+ "path": "src/accordion/accordion.styles.ts",
1821
1821
  "declarations": [
1822
1822
  {
1823
1823
  "kind": "function",
1824
- "name": "actionsMenuBaseStyles",
1825
- "return": {
1826
- "type": {
1827
- "text": "ElementStyles"
1828
- }
1829
- },
1830
- "parameters": [
1831
- {
1832
- "name": "context",
1833
- "type": {
1834
- "text": "ElementDefinitionContext"
1835
- }
1836
- },
1837
- {
1838
- "name": "definition",
1839
- "type": {
1840
- "text": "FoundationElementDefinition"
1841
- }
1842
- }
1843
- ]
1844
- },
1845
- {
1846
- "kind": "function",
1847
- "name": "foundationActionsMenuStyles",
1824
+ "name": "foundationAccordionStyles",
1848
1825
  "return": {
1849
1826
  "type": {
1850
1827
  "text": "ElementStyles"
@@ -1869,269 +1846,277 @@
1869
1846
  "exports": [
1870
1847
  {
1871
1848
  "kind": "js",
1872
- "name": "actionsMenuBaseStyles",
1873
- "declaration": {
1874
- "name": "actionsMenuBaseStyles",
1875
- "module": "src/actions-menu/actions-menu.styles.ts"
1876
- }
1877
- },
1878
- {
1879
- "kind": "js",
1880
- "name": "foundationActionsMenuStyles",
1849
+ "name": "foundationAccordionStyles",
1881
1850
  "declaration": {
1882
- "name": "foundationActionsMenuStyles",
1883
- "module": "src/actions-menu/actions-menu.styles.ts"
1851
+ "name": "foundationAccordionStyles",
1852
+ "module": "src/accordion/accordion.styles.ts"
1884
1853
  }
1885
1854
  }
1886
1855
  ]
1887
1856
  },
1888
1857
  {
1889
1858
  "kind": "javascript-module",
1890
- "path": "src/actions-menu/actions-menu.template.ts",
1859
+ "path": "src/accordion/accordion.template.ts",
1891
1860
  "declarations": [
1892
1861
  {
1893
1862
  "kind": "function",
1894
- "name": "menuTemplate",
1863
+ "name": "foundationAccordionTemplate",
1864
+ "return": {
1865
+ "type": {
1866
+ "text": "ViewTemplate<Accordion>"
1867
+ }
1868
+ },
1895
1869
  "parameters": [
1896
1870
  {
1897
- "name": "prefix",
1871
+ "name": "context",
1898
1872
  "type": {
1899
- "text": "string"
1873
+ "text": "ElementDefinitionContext"
1900
1874
  }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "function",
1906
- "name": "singleOptionTemplate",
1907
- "parameters": [
1875
+ },
1908
1876
  {
1909
- "name": "prefix",
1877
+ "name": "definition",
1910
1878
  "type": {
1911
- "text": "string"
1879
+ "text": "FoundationElementDefinition"
1912
1880
  }
1913
1881
  }
1914
1882
  ]
1915
- },
1916
- {
1917
- "kind": "variable",
1918
- "name": "foundationActionsMenuTemplate",
1919
- "type": {
1920
- "text": "ViewTemplate<ActionsMenu>"
1921
- },
1922
- "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`"
1923
1883
  }
1924
1884
  ],
1925
1885
  "exports": [
1926
1886
  {
1927
1887
  "kind": "js",
1928
- "name": "menuTemplate",
1929
- "declaration": {
1930
- "name": "menuTemplate",
1931
- "module": "src/actions-menu/actions-menu.template.ts"
1932
- }
1933
- },
1934
- {
1935
- "kind": "js",
1936
- "name": "singleOptionTemplate",
1937
- "declaration": {
1938
- "name": "singleOptionTemplate",
1939
- "module": "src/actions-menu/actions-menu.template.ts"
1940
- }
1941
- },
1942
- {
1943
- "kind": "js",
1944
- "name": "foundationActionsMenuTemplate",
1888
+ "name": "foundationAccordionTemplate",
1945
1889
  "declaration": {
1946
- "name": "foundationActionsMenuTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
1890
+ "name": "foundationAccordionTemplate",
1891
+ "module": "src/accordion/accordion.template.ts"
1948
1892
  }
1949
1893
  }
1950
1894
  ]
1951
1895
  },
1952
1896
  {
1953
1897
  "kind": "javascript-module",
1954
- "path": "src/actions-menu/actions-menu.ts",
1898
+ "path": "src/accordion/accordion.ts",
1955
1899
  "declarations": [
1956
1900
  {
1957
1901
  "kind": "class",
1958
1902
  "description": "",
1959
- "name": "ActionsMenu",
1960
- "members": [
1903
+ "name": "Accordion",
1904
+ "superclass": {
1905
+ "name": "FASTAccordion",
1906
+ "package": "@microsoft/fast-foundation"
1907
+ },
1908
+ "tagName": "%%prefix%%-accordion",
1909
+ "customElement": true,
1910
+ "attributes": [
1961
1911
  {
1962
- "kind": "field",
1963
- "name": "actions",
1912
+ "name": "expand-mode",
1964
1913
  "type": {
1965
- "text": "ActionMenuItem[]"
1914
+ "text": "AccordionExpandMode"
1915
+ },
1916
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1917
+ "fieldName": "expandmode",
1918
+ "inheritedFrom": {
1919
+ "name": "Accordion",
1920
+ "module": "src/accordion/accordion.ts"
1966
1921
  }
1967
- },
1922
+ }
1923
+ ],
1924
+ "members": [
1968
1925
  {
1969
1926
  "kind": "field",
1970
- "name": "isVertical",
1927
+ "name": "expandmode",
1971
1928
  "type": {
1972
- "text": "boolean"
1929
+ "text": "AccordionExpandMode"
1973
1930
  },
1974
- "default": "false"
1931
+ "privacy": "public",
1932
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1933
+ "inheritedFrom": {
1934
+ "name": "Accordion",
1935
+ "module": "src/accordion/accordion.ts"
1936
+ }
1975
1937
  },
1976
1938
  {
1977
1939
  "kind": "field",
1978
- "name": "addDefaultActions",
1940
+ "name": "activeid",
1979
1941
  "type": {
1980
- "text": "boolean"
1942
+ "text": "string | null"
1981
1943
  },
1982
- "default": "true"
1944
+ "privacy": "private",
1945
+ "inheritedFrom": {
1946
+ "name": "Accordion",
1947
+ "module": "src/accordion/accordion.ts"
1948
+ }
1983
1949
  },
1984
1950
  {
1985
1951
  "kind": "field",
1986
- "name": "autoCloseOnAction",
1952
+ "name": "activeItemIndex",
1987
1953
  "type": {
1988
- "text": "boolean"
1954
+ "text": "number"
1989
1955
  },
1990
- "default": "true"
1991
- },
1992
- {
1993
- "kind": "field",
1994
- "name": "classNames",
1995
- "type": {
1996
- "text": "string"
1956
+ "privacy": "private",
1957
+ "default": "0",
1958
+ "inheritedFrom": {
1959
+ "name": "Accordion",
1960
+ "module": "src/accordion/accordion.ts"
1997
1961
  }
1998
1962
  },
1999
1963
  {
2000
1964
  "kind": "field",
2001
- "name": "definition",
1965
+ "name": "accordionIds",
2002
1966
  "type": {
2003
- "text": "any"
1967
+ "text": "Array<string | null>"
1968
+ },
1969
+ "privacy": "private",
1970
+ "inheritedFrom": {
1971
+ "name": "Accordion",
1972
+ "module": "src/accordion/accordion.ts"
2004
1973
  }
2005
1974
  },
2006
1975
  {
2007
1976
  "kind": "field",
2008
- "name": "name",
2009
- "type": {
2010
- "text": "string"
2011
- },
2012
- "default": "'Actions'"
1977
+ "name": "change",
1978
+ "privacy": "private",
1979
+ "inheritedFrom": {
1980
+ "name": "Accordion",
1981
+ "module": "src/accordion/accordion.ts"
1982
+ }
2013
1983
  },
2014
1984
  {
2015
- "kind": "field",
2016
- "name": "open",
2017
- "type": {
2018
- "text": "boolean"
1985
+ "kind": "method",
1986
+ "name": "findExpandedItem",
1987
+ "privacy": "private",
1988
+ "return": {
1989
+ "type": {
1990
+ "text": "AccordionItem | null"
1991
+ }
2019
1992
  },
2020
- "default": "false"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "buttonAppearance",
2025
- "type": {
2026
- "text": "string"
1993
+ "inheritedFrom": {
1994
+ "name": "Accordion",
1995
+ "module": "src/accordion/accordion.ts"
2027
1996
  }
2028
1997
  },
2029
1998
  {
2030
1999
  "kind": "field",
2031
- "name": "hideDisabled",
2032
- "type": {
2033
- "text": "boolean"
2034
- },
2035
- "default": "false"
2000
+ "name": "setItems",
2001
+ "privacy": "private",
2002
+ "inheritedFrom": {
2003
+ "name": "Accordion",
2004
+ "module": "src/accordion/accordion.ts"
2005
+ }
2036
2006
  },
2037
2007
  {
2038
- "kind": "field",
2039
- "name": "hideMenuSingleOption",
2040
- "type": {
2041
- "text": "boolean"
2008
+ "kind": "method",
2009
+ "name": "resetItems",
2010
+ "privacy": "private",
2011
+ "return": {
2012
+ "type": {
2013
+ "text": "void"
2014
+ }
2042
2015
  },
2043
- "default": "false"
2016
+ "inheritedFrom": {
2017
+ "name": "Accordion",
2018
+ "module": "src/accordion/accordion.ts"
2019
+ }
2044
2020
  },
2045
2021
  {
2046
2022
  "kind": "field",
2047
- "name": "singleOption",
2048
- "type": {
2049
- "text": "ActionMenuItem"
2023
+ "name": "removeItemListeners",
2024
+ "privacy": "private",
2025
+ "inheritedFrom": {
2026
+ "name": "Accordion",
2027
+ "module": "src/accordion/accordion.ts"
2050
2028
  }
2051
2029
  },
2052
2030
  {
2053
2031
  "kind": "field",
2054
- "name": "actionsMenu",
2055
- "type": {
2056
- "text": "HTMLElement"
2032
+ "name": "activeItemChange",
2033
+ "privacy": "private",
2034
+ "inheritedFrom": {
2035
+ "name": "Accordion",
2036
+ "module": "src/accordion/accordion.ts"
2057
2037
  }
2058
2038
  },
2059
2039
  {
2060
2040
  "kind": "method",
2061
- "name": "definitionChanged",
2062
- "privacy": "protected",
2063
- "parameters": [
2064
- {
2065
- "name": "oldValue",
2066
- "type": {
2067
- "text": "any"
2068
- }
2069
- },
2070
- {
2071
- "name": "newValue",
2072
- "type": {
2073
- "text": "any"
2074
- }
2041
+ "name": "getItemIds",
2042
+ "privacy": "private",
2043
+ "return": {
2044
+ "type": {
2045
+ "text": "Array<string | null>"
2075
2046
  }
2076
- ]
2077
- },
2078
- {
2079
- "kind": "method",
2080
- "name": "openChanged",
2081
- "privacy": "protected"
2082
- },
2083
- {
2084
- "kind": "method",
2085
- "name": "toggleActionsMenuVisibility"
2047
+ },
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2086
2052
  },
2087
2053
  {
2088
2054
  "kind": "method",
2089
- "name": "onActionMenuItemClick",
2090
- "parameters": [
2091
- {
2092
- "name": "callback",
2093
- "type": {
2094
- "text": "(rowData) => void | any"
2095
- }
2055
+ "name": "isSingleExpandMode",
2056
+ "privacy": "private",
2057
+ "return": {
2058
+ "type": {
2059
+ "text": "boolean"
2096
2060
  }
2097
- ]
2061
+ },
2062
+ "inheritedFrom": {
2063
+ "name": "Accordion",
2064
+ "module": "src/accordion/accordion.ts"
2065
+ }
2098
2066
  },
2099
2067
  {
2100
2068
  "kind": "field",
2101
- "name": "allActions",
2102
- "type": {
2103
- "text": "ActionMenuItem[]"
2104
- },
2105
- "readonly": true
2069
+ "name": "handleItemKeyDown",
2070
+ "privacy": "private",
2071
+ "inheritedFrom": {
2072
+ "name": "Accordion",
2073
+ "module": "src/accordion/accordion.ts"
2074
+ }
2106
2075
  },
2107
2076
  {
2108
2077
  "kind": "field",
2109
- "name": "rowData",
2110
- "readonly": true
2078
+ "name": "handleItemFocus",
2079
+ "privacy": "private",
2080
+ "inheritedFrom": {
2081
+ "name": "Accordion",
2082
+ "module": "src/accordion/accordion.ts"
2083
+ }
2111
2084
  },
2112
2085
  {
2113
2086
  "kind": "method",
2114
- "name": "getLabel",
2087
+ "name": "adjust",
2088
+ "privacy": "private",
2089
+ "return": {
2090
+ "type": {
2091
+ "text": "void"
2092
+ }
2093
+ },
2115
2094
  "parameters": [
2116
2095
  {
2117
- "name": "name",
2096
+ "name": "adjustment",
2118
2097
  "type": {
2119
- "text": "string | ((rowData: any) => string)"
2098
+ "text": "number"
2120
2099
  }
2121
2100
  }
2122
- ]
2101
+ ],
2102
+ "inheritedFrom": {
2103
+ "name": "Accordion",
2104
+ "module": "src/accordion/accordion.ts"
2105
+ }
2123
2106
  },
2124
2107
  {
2125
2108
  "kind": "method",
2126
- "name": "getTemplate",
2127
- "parameters": [
2128
- {
2129
- "name": "prefix",
2130
- "type": {
2131
- "text": "string"
2132
- }
2109
+ "name": "focusItem",
2110
+ "privacy": "private",
2111
+ "return": {
2112
+ "type": {
2113
+ "text": "void"
2133
2114
  }
2134
- ]
2115
+ },
2116
+ "inheritedFrom": {
2117
+ "name": "Accordion",
2118
+ "module": "src/accordion/accordion.ts"
2119
+ }
2135
2120
  },
2136
2121
  {
2137
2122
  "kind": "field",
@@ -2245,254 +2230,305 @@
2245
2230
  }
2246
2231
  }
2247
2232
  ],
2248
- "attributes": [
2249
- {
2250
- "name": "is-vertical",
2251
- "type": {
2252
- "text": "boolean"
2253
- },
2254
- "default": "false",
2255
- "fieldName": "isVertical"
2256
- },
2257
- {
2258
- "name": "add-default-actions",
2259
- "type": {
2260
- "text": "boolean"
2261
- },
2262
- "default": "true",
2263
- "fieldName": "addDefaultActions"
2264
- },
2265
- {
2266
- "name": "auto-close-on-action",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "true",
2271
- "fieldName": "autoCloseOnAction"
2272
- },
2233
+ "events": [
2273
2234
  {
2274
- "name": "name",
2275
- "type": {
2276
- "text": "string"
2277
- },
2278
- "default": "'Actions'",
2279
- "fieldName": "name"
2280
- },
2235
+ "description": "Fires a custom 'change' event when the active item changes",
2236
+ "name": "change",
2237
+ "inheritedFrom": {
2238
+ "name": "Accordion",
2239
+ "module": "src/accordion/accordion.ts"
2240
+ }
2241
+ }
2242
+ ]
2243
+ },
2244
+ {
2245
+ "kind": "variable",
2246
+ "name": "foundationAccordionShadowOptions",
2247
+ "type": {
2248
+ "text": "ShadowRootInit"
2249
+ },
2250
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "defaultAccordionConfig",
2255
+ "type": {
2256
+ "text": "object"
2257
+ },
2258
+ "default": "{}"
2259
+ },
2260
+ {
2261
+ "kind": "variable",
2262
+ "name": "foundationAccordion",
2263
+ "description": "The Foundation Accordion",
2264
+ "privacy": "public"
2265
+ }
2266
+ ],
2267
+ "exports": [
2268
+ {
2269
+ "kind": "js",
2270
+ "name": "Accordion",
2271
+ "declaration": {
2272
+ "name": "Accordion",
2273
+ "module": "src/accordion/accordion.ts"
2274
+ }
2275
+ },
2276
+ {
2277
+ "kind": "js",
2278
+ "name": "foundationAccordionShadowOptions",
2279
+ "declaration": {
2280
+ "name": "foundationAccordionShadowOptions",
2281
+ "module": "src/accordion/accordion.ts"
2282
+ }
2283
+ },
2284
+ {
2285
+ "kind": "js",
2286
+ "name": "defaultAccordionConfig",
2287
+ "declaration": {
2288
+ "name": "defaultAccordionConfig",
2289
+ "module": "src/accordion/accordion.ts"
2290
+ }
2291
+ },
2292
+ {
2293
+ "kind": "js",
2294
+ "name": "foundationAccordion",
2295
+ "declaration": {
2296
+ "name": "foundationAccordion",
2297
+ "module": "src/accordion/accordion.ts"
2298
+ }
2299
+ }
2300
+ ]
2301
+ },
2302
+ {
2303
+ "kind": "javascript-module",
2304
+ "path": "src/accordion/index.ts",
2305
+ "declarations": [],
2306
+ "exports": [
2307
+ {
2308
+ "kind": "js",
2309
+ "name": "*",
2310
+ "declaration": {
2311
+ "name": "*",
2312
+ "package": "./accordion.template"
2313
+ }
2314
+ },
2315
+ {
2316
+ "kind": "js",
2317
+ "name": "*",
2318
+ "declaration": {
2319
+ "name": "*",
2320
+ "package": "./accordion.styles"
2321
+ }
2322
+ },
2323
+ {
2324
+ "kind": "js",
2325
+ "name": "*",
2326
+ "declaration": {
2327
+ "name": "*",
2328
+ "package": "./accordion"
2329
+ }
2330
+ }
2331
+ ]
2332
+ },
2333
+ {
2334
+ "kind": "javascript-module",
2335
+ "path": "src/actions-menu/actions-menu.styles.ts",
2336
+ "declarations": [
2337
+ {
2338
+ "kind": "function",
2339
+ "name": "actionsMenuBaseStyles",
2340
+ "return": {
2341
+ "type": {
2342
+ "text": "ElementStyles"
2343
+ }
2344
+ },
2345
+ "parameters": [
2281
2346
  {
2282
- "name": "open",
2347
+ "name": "context",
2283
2348
  "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "false",
2287
- "fieldName": "open"
2349
+ "text": "ElementDefinitionContext"
2350
+ }
2288
2351
  },
2289
2352
  {
2290
- "name": "buttonAppearance",
2353
+ "name": "definition",
2291
2354
  "type": {
2292
- "text": "string"
2293
- },
2294
- "fieldName": "buttonAppearance"
2295
- },
2355
+ "text": "FoundationElementDefinition"
2356
+ }
2357
+ }
2358
+ ]
2359
+ },
2360
+ {
2361
+ "kind": "function",
2362
+ "name": "foundationActionsMenuStyles",
2363
+ "return": {
2364
+ "type": {
2365
+ "text": "ElementStyles"
2366
+ }
2367
+ },
2368
+ "parameters": [
2296
2369
  {
2297
- "name": "hide-disabled",
2370
+ "name": "context",
2298
2371
  "type": {
2299
- "text": "boolean"
2300
- },
2301
- "default": "false",
2302
- "fieldName": "hideDisabled"
2372
+ "text": "ElementDefinitionContext"
2373
+ }
2303
2374
  },
2304
2375
  {
2305
- "name": "hide-menu-single-option",
2376
+ "name": "definition",
2306
2377
  "type": {
2307
- "text": "boolean"
2308
- },
2309
- "default": "false",
2310
- "fieldName": "hideMenuSingleOption"
2311
- }
2312
- ],
2313
- "superclass": {
2314
- "name": "FoundationElement",
2315
- "package": "@microsoft/fast-foundation"
2316
- },
2317
- "tagName": "%%prefix%%-actions-menu",
2318
- "customElement": true
2319
- },
2320
- {
2321
- "kind": "variable",
2322
- "name": "foundationActionsMenu",
2323
- "description": "The Foundation Actions Menu",
2324
- "privacy": "public"
2378
+ "text": "FoundationElementDefinition"
2379
+ }
2380
+ }
2381
+ ]
2325
2382
  }
2326
2383
  ],
2327
2384
  "exports": [
2328
2385
  {
2329
2386
  "kind": "js",
2330
- "name": "ActionsMenu",
2387
+ "name": "actionsMenuBaseStyles",
2331
2388
  "declaration": {
2332
- "name": "ActionsMenu",
2333
- "module": "src/actions-menu/actions-menu.ts"
2389
+ "name": "actionsMenuBaseStyles",
2390
+ "module": "src/actions-menu/actions-menu.styles.ts"
2334
2391
  }
2335
2392
  },
2336
2393
  {
2337
2394
  "kind": "js",
2338
- "name": "foundationActionsMenu",
2395
+ "name": "foundationActionsMenuStyles",
2339
2396
  "declaration": {
2340
- "name": "foundationActionsMenu",
2341
- "module": "src/actions-menu/actions-menu.ts"
2397
+ "name": "foundationActionsMenuStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2342
2399
  }
2343
2400
  }
2344
2401
  ]
2345
2402
  },
2346
2403
  {
2347
2404
  "kind": "javascript-module",
2348
- "path": "src/actions-menu/index.ts",
2349
- "declarations": [],
2350
- "exports": [
2405
+ "path": "src/actions-menu/actions-menu.template.ts",
2406
+ "declarations": [
2351
2407
  {
2352
- "kind": "js",
2353
- "name": "*",
2354
- "declaration": {
2355
- "name": "*",
2356
- "package": "./actions-menu.styles"
2357
- }
2408
+ "kind": "function",
2409
+ "name": "menuTemplate",
2410
+ "parameters": [
2411
+ {
2412
+ "name": "prefix",
2413
+ "type": {
2414
+ "text": "string"
2415
+ }
2416
+ }
2417
+ ]
2358
2418
  },
2359
2419
  {
2360
- "kind": "js",
2361
- "name": "*",
2362
- "declaration": {
2363
- "name": "*",
2364
- "package": "./actions-menu.template"
2365
- }
2420
+ "kind": "function",
2421
+ "name": "singleOptionTemplate",
2422
+ "parameters": [
2423
+ {
2424
+ "name": "prefix",
2425
+ "type": {
2426
+ "text": "string"
2427
+ }
2428
+ }
2429
+ ]
2366
2430
  },
2367
- {
2368
- "kind": "js",
2369
- "name": "*",
2370
- "declaration": {
2371
- "name": "*",
2372
- "package": "./actions-menu"
2373
- }
2374
- }
2375
- ]
2376
- },
2377
- {
2378
- "kind": "javascript-module",
2379
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2380
- "declarations": [
2381
2431
  {
2382
2432
  "kind": "variable",
2383
- "name": "foundationAiCriteriaSearchStyles",
2384
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2433
+ "name": "foundationActionsMenuTemplate",
2434
+ "type": {
2435
+ "text": "ViewTemplate<ActionsMenu>"
2436
+ },
2437
+ "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`"
2385
2438
  }
2386
2439
  ],
2387
2440
  "exports": [
2388
2441
  {
2389
2442
  "kind": "js",
2390
- "name": "foundationAiCriteriaSearchStyles",
2443
+ "name": "menuTemplate",
2391
2444
  "declaration": {
2392
- "name": "foundationAiCriteriaSearchStyles",
2393
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2445
+ "name": "menuTemplate",
2446
+ "module": "src/actions-menu/actions-menu.template.ts"
2394
2447
  }
2395
- }
2396
- ]
2397
- },
2398
- {
2399
- "kind": "javascript-module",
2400
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2401
- "declarations": [
2448
+ },
2402
2449
  {
2403
- "kind": "variable",
2404
- "name": "foundationAiCriteriaSearchTemplate",
2405
- "type": {
2406
- "text": "ViewTemplate<AiCriteriaSearch>"
2407
- },
2408
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2409
- }
2410
- ],
2411
- "exports": [
2450
+ "kind": "js",
2451
+ "name": "singleOptionTemplate",
2452
+ "declaration": {
2453
+ "name": "singleOptionTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2412
2457
  {
2413
2458
  "kind": "js",
2414
- "name": "foundationAiCriteriaSearchTemplate",
2459
+ "name": "foundationActionsMenuTemplate",
2415
2460
  "declaration": {
2416
- "name": "foundationAiCriteriaSearchTemplate",
2417
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2461
+ "name": "foundationActionsMenuTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2418
2463
  }
2419
2464
  }
2420
2465
  ]
2421
2466
  },
2422
2467
  {
2423
2468
  "kind": "javascript-module",
2424
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2469
+ "path": "src/actions-menu/actions-menu.ts",
2425
2470
  "declarations": [
2426
2471
  {
2427
2472
  "kind": "class",
2428
- "description": "Natural-language criteria search input with AI interpretation.",
2429
- "name": "AiCriteriaSearch",
2473
+ "description": "",
2474
+ "name": "ActionsMenu",
2430
2475
  "members": [
2431
2476
  {
2432
2477
  "kind": "field",
2433
- "name": "aiProvider",
2478
+ "name": "actions",
2434
2479
  "type": {
2435
- "text": "AIProvider"
2480
+ "text": "ActionMenuItem[]"
2436
2481
  }
2437
2482
  },
2438
2483
  {
2439
2484
  "kind": "field",
2440
- "name": "placeholder",
2485
+ "name": "isVertical",
2441
2486
  "type": {
2442
- "text": "string"
2487
+ "text": "boolean"
2443
2488
  },
2444
- "default": "'Describe your search criteria in natural language...'"
2489
+ "default": "false"
2445
2490
  },
2446
2491
  {
2447
2492
  "kind": "field",
2448
- "name": "disabled",
2493
+ "name": "addDefaultActions",
2449
2494
  "type": {
2450
2495
  "text": "boolean"
2451
- }
2452
- },
2453
- {
2454
- "kind": "field",
2455
- "name": "mode",
2456
- "type": {
2457
- "text": "'append' | 'replace'"
2458
2496
  },
2459
- "default": "'replace'"
2497
+ "default": "true"
2460
2498
  },
2461
2499
  {
2462
2500
  "kind": "field",
2463
- "name": "inputValue",
2501
+ "name": "autoCloseOnAction",
2464
2502
  "type": {
2465
- "text": "string"
2503
+ "text": "boolean"
2466
2504
  },
2467
- "default": "''"
2505
+ "default": "true"
2468
2506
  },
2469
2507
  {
2470
2508
  "kind": "field",
2471
- "name": "isInterpreting",
2509
+ "name": "classNames",
2472
2510
  "type": {
2473
- "text": "boolean"
2474
- },
2475
- "default": "false"
2511
+ "text": "string"
2512
+ }
2476
2513
  },
2477
2514
  {
2478
2515
  "kind": "field",
2479
- "name": "lastValidCriteria",
2516
+ "name": "definition",
2480
2517
  "type": {
2481
- "text": "string | null"
2482
- },
2483
- "default": "null"
2518
+ "text": "any"
2519
+ }
2484
2520
  },
2485
2521
  {
2486
2522
  "kind": "field",
2487
- "name": "fieldMetadata",
2523
+ "name": "name",
2488
2524
  "type": {
2489
- "text": "MetadataDetail[] | string[]"
2525
+ "text": "string"
2490
2526
  },
2491
- "default": "[]"
2527
+ "default": "'Actions'"
2492
2528
  },
2493
2529
  {
2494
2530
  "kind": "field",
2495
- "name": "isRecording",
2531
+ "name": "open",
2496
2532
  "type": {
2497
2533
  "text": "boolean"
2498
2534
  },
@@ -2500,67 +2536,117 @@
2500
2536
  },
2501
2537
  {
2502
2538
  "kind": "field",
2503
- "name": "textAreaRef",
2539
+ "name": "buttonAppearance",
2504
2540
  "type": {
2505
- "text": "HTMLTextAreaElement"
2506
- },
2507
- "privacy": "public"
2541
+ "text": "string"
2542
+ }
2508
2543
  },
2509
2544
  {
2510
2545
  "kind": "field",
2511
- "name": "stopRecording",
2546
+ "name": "hideDisabled",
2512
2547
  "type": {
2513
- "text": "(() => void) | null"
2548
+ "text": "boolean"
2514
2549
  },
2515
- "privacy": "private",
2516
- "default": "null"
2550
+ "default": "false"
2517
2551
  },
2518
2552
  {
2519
2553
  "kind": "field",
2520
- "name": "speechApplyDebounceTimer",
2554
+ "name": "hideMenuSingleOption",
2521
2555
  "type": {
2522
- "text": "ReturnType<typeof setTimeout> | null"
2556
+ "text": "boolean"
2523
2557
  },
2524
- "privacy": "private",
2525
- "default": "null"
2558
+ "default": "false"
2526
2559
  },
2527
2560
  {
2528
2561
  "kind": "field",
2529
- "name": "baseInputForAppend",
2562
+ "name": "singleOption",
2530
2563
  "type": {
2531
- "text": "string"
2532
- },
2533
- "privacy": "private",
2534
- "default": "''"
2564
+ "text": "ActionMenuItem"
2565
+ }
2535
2566
  },
2536
2567
  {
2537
2568
  "kind": "field",
2538
- "name": "speechAvailable",
2569
+ "name": "actionsMenu",
2539
2570
  "type": {
2540
- "text": "boolean"
2541
- },
2542
- "readonly": true
2571
+ "text": "HTMLElement"
2572
+ }
2543
2573
  },
2544
2574
  {
2545
2575
  "kind": "method",
2546
- "name": "handleSubmit"
2576
+ "name": "definitionChanged",
2577
+ "privacy": "protected",
2578
+ "parameters": [
2579
+ {
2580
+ "name": "oldValue",
2581
+ "type": {
2582
+ "text": "any"
2583
+ }
2584
+ },
2585
+ {
2586
+ "name": "newValue",
2587
+ "type": {
2588
+ "text": "any"
2589
+ }
2590
+ }
2591
+ ]
2547
2592
  },
2548
2593
  {
2549
2594
  "kind": "method",
2550
- "name": "handleBlur"
2595
+ "name": "openChanged",
2596
+ "privacy": "protected"
2551
2597
  },
2552
2598
  {
2553
2599
  "kind": "method",
2554
- "name": "clear"
2600
+ "name": "toggleActionsMenuVisibility"
2555
2601
  },
2556
2602
  {
2557
2603
  "kind": "method",
2558
- "name": "toggleSpeechInput"
2604
+ "name": "onActionMenuItemClick",
2605
+ "parameters": [
2606
+ {
2607
+ "name": "callback",
2608
+ "type": {
2609
+ "text": "(rowData) => void | any"
2610
+ }
2611
+ }
2612
+ ]
2613
+ },
2614
+ {
2615
+ "kind": "field",
2616
+ "name": "allActions",
2617
+ "type": {
2618
+ "text": "ActionMenuItem[]"
2619
+ },
2620
+ "readonly": true
2621
+ },
2622
+ {
2623
+ "kind": "field",
2624
+ "name": "rowData",
2625
+ "readonly": true
2626
+ },
2627
+ {
2628
+ "kind": "method",
2629
+ "name": "getLabel",
2630
+ "parameters": [
2631
+ {
2632
+ "name": "name",
2633
+ "type": {
2634
+ "text": "string | ((rowData: any) => string)"
2635
+ }
2636
+ }
2637
+ ]
2559
2638
  },
2560
2639
  {
2561
2640
  "kind": "method",
2562
- "name": "clearSpeechApplyDebounce",
2563
- "privacy": "private"
2641
+ "name": "getTemplate",
2642
+ "parameters": [
2643
+ {
2644
+ "name": "prefix",
2645
+ "type": {
2646
+ "text": "string"
2647
+ }
2648
+ }
2649
+ ]
2564
2650
  },
2565
2651
  {
2566
2652
  "kind": "field",
@@ -2674,162 +2760,115 @@
2674
2760
  }
2675
2761
  }
2676
2762
  ],
2677
- "events": [
2763
+ "attributes": [
2678
2764
  {
2679
- "description": "Fired when interpreted criteria is applied or cleared",
2680
- "name": "criteria-changed"
2765
+ "name": "is-vertical",
2766
+ "type": {
2767
+ "text": "boolean"
2768
+ },
2769
+ "default": "false",
2770
+ "fieldName": "isVertical"
2681
2771
  },
2682
2772
  {
2683
- "description": "Fired when interpreted criteria contains invalid clauses",
2684
- "name": "validation-errors"
2685
- }
2686
- ],
2687
- "attributes": [
2773
+ "name": "add-default-actions",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "true",
2778
+ "fieldName": "addDefaultActions"
2779
+ },
2688
2780
  {
2689
- "name": "placeholder",
2781
+ "name": "auto-close-on-action",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "autoCloseOnAction"
2787
+ },
2788
+ {
2789
+ "name": "name",
2690
2790
  "type": {
2691
2791
  "text": "string"
2692
2792
  },
2693
- "default": "'Describe your search criteria in natural language...'",
2694
- "fieldName": "placeholder"
2793
+ "default": "'Actions'",
2794
+ "fieldName": "name"
2695
2795
  },
2696
2796
  {
2797
+ "name": "open",
2697
2798
  "type": {
2698
2799
  "text": "boolean"
2699
2800
  },
2700
- "fieldName": "disabled"
2801
+ "default": "false",
2802
+ "fieldName": "open"
2701
2803
  },
2702
2804
  {
2703
- "name": "mode",
2805
+ "name": "buttonAppearance",
2704
2806
  "type": {
2705
- "text": "'append' | 'replace'"
2807
+ "text": "string"
2706
2808
  },
2707
- "default": "'replace'",
2708
- "fieldName": "mode"
2809
+ "fieldName": "buttonAppearance"
2810
+ },
2811
+ {
2812
+ "name": "hide-disabled",
2813
+ "type": {
2814
+ "text": "boolean"
2815
+ },
2816
+ "default": "false",
2817
+ "fieldName": "hideDisabled"
2818
+ },
2819
+ {
2820
+ "name": "hide-menu-single-option",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideMenuSingleOption"
2709
2826
  }
2710
2827
  ],
2711
2828
  "superclass": {
2712
2829
  "name": "FoundationElement",
2713
2830
  "package": "@microsoft/fast-foundation"
2714
2831
  },
2715
- "tagName": "%%prefix%%-ai-criteria-search",
2832
+ "tagName": "%%prefix%%-actions-menu",
2716
2833
  "customElement": true
2717
2834
  },
2718
2835
  {
2719
2836
  "kind": "variable",
2720
- "name": "foundationAiCriteriaSearchShadowOptions",
2721
- "type": {
2722
- "text": "ShadowRootInit"
2723
- },
2724
- "default": "undefined"
2725
- },
2726
- {
2727
- "kind": "variable",
2728
- "name": "defaultAiCriteriaSearchConfig",
2729
- "type": {
2730
- "text": "object"
2731
- },
2732
- "default": "{}"
2733
- },
2734
- {
2735
- "kind": "variable",
2736
- "name": "foundationAiCriteriaSearch"
2837
+ "name": "foundationActionsMenu",
2838
+ "description": "The Foundation Actions Menu",
2839
+ "privacy": "public"
2737
2840
  }
2738
2841
  ],
2739
2842
  "exports": [
2740
2843
  {
2741
2844
  "kind": "js",
2742
- "name": "AiCriteriaSearch",
2743
- "declaration": {
2744
- "name": "AiCriteriaSearch",
2745
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2746
- }
2747
- },
2748
- {
2749
- "kind": "js",
2750
- "name": "foundationAiCriteriaSearchShadowOptions",
2751
- "declaration": {
2752
- "name": "foundationAiCriteriaSearchShadowOptions",
2753
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2754
- }
2755
- },
2756
- {
2757
- "kind": "js",
2758
- "name": "defaultAiCriteriaSearchConfig",
2845
+ "name": "ActionsMenu",
2759
2846
  "declaration": {
2760
- "name": "defaultAiCriteriaSearchConfig",
2761
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2847
+ "name": "ActionsMenu",
2848
+ "module": "src/actions-menu/actions-menu.ts"
2762
2849
  }
2763
2850
  },
2764
2851
  {
2765
2852
  "kind": "js",
2766
- "name": "foundationAiCriteriaSearch",
2853
+ "name": "foundationActionsMenu",
2767
2854
  "declaration": {
2768
- "name": "foundationAiCriteriaSearch",
2769
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2855
+ "name": "foundationActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2770
2857
  }
2771
2858
  }
2772
2859
  ]
2773
2860
  },
2774
2861
  {
2775
2862
  "kind": "javascript-module",
2776
- "path": "src/ai-criteria-search/index.ts",
2863
+ "path": "src/actions-menu/index.ts",
2777
2864
  "declarations": [],
2778
2865
  "exports": [
2779
- {
2780
- "kind": "js",
2781
- "name": "AiCriteriaSearch",
2782
- "declaration": {
2783
- "name": "AiCriteriaSearch",
2784
- "module": "./ai-criteria-search"
2785
- }
2786
- },
2787
- {
2788
- "kind": "js",
2789
- "name": "defaultAiCriteriaSearchConfig",
2790
- "declaration": {
2791
- "name": "defaultAiCriteriaSearchConfig",
2792
- "module": "./ai-criteria-search"
2793
- }
2794
- },
2795
- {
2796
- "kind": "js",
2797
- "name": "foundationAiCriteriaSearch",
2798
- "declaration": {
2799
- "name": "foundationAiCriteriaSearch",
2800
- "module": "./ai-criteria-search"
2801
- }
2802
- },
2803
- {
2804
- "kind": "js",
2805
- "name": "foundationAiCriteriaSearchShadowOptions",
2806
- "declaration": {
2807
- "name": "foundationAiCriteriaSearchShadowOptions",
2808
- "module": "./ai-criteria-search"
2809
- }
2810
- },
2811
- {
2812
- "kind": "js",
2813
- "name": "foundationAiCriteriaSearchStyles",
2814
- "declaration": {
2815
- "name": "foundationAiCriteriaSearchStyles",
2816
- "module": "./ai-criteria-search.styles"
2817
- }
2818
- },
2819
- {
2820
- "kind": "js",
2821
- "name": "foundationAiCriteriaSearchTemplate",
2822
- "declaration": {
2823
- "name": "foundationAiCriteriaSearchTemplate",
2824
- "module": "./ai-criteria-search.template"
2825
- }
2826
- },
2827
2866
  {
2828
2867
  "kind": "js",
2829
2868
  "name": "*",
2830
2869
  "declaration": {
2831
2870
  "name": "*",
2832
- "package": "./validation/criteria-ir"
2871
+ "package": "./actions-menu.styles"
2833
2872
  }
2834
2873
  },
2835
2874
  {
@@ -2837,165 +2876,72 @@
2837
2876
  "name": "*",
2838
2877
  "declaration": {
2839
2878
  "name": "*",
2840
- "package": "./validation/operator-map"
2879
+ "package": "./actions-menu.template"
2841
2880
  }
2842
2881
  },
2843
2882
  {
2844
2883
  "kind": "js",
2845
2884
  "name": "*",
2846
2885
  "declaration": {
2847
- "name": "*",
2848
- "package": "./validation/schema-validator"
2849
- }
2850
- }
2851
- ]
2852
- },
2853
- {
2854
- "kind": "javascript-module",
2855
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2856
- "declarations": [
2857
- {
2858
- "kind": "function",
2859
- "name": "formatValidationErrors",
2860
- "return": {
2861
- "type": {
2862
- "text": "string"
2863
- }
2864
- },
2865
- "parameters": [
2866
- {
2867
- "name": "errors",
2868
- "type": {
2869
- "text": "ValidationError[]"
2870
- }
2871
- }
2872
- ],
2873
- "description": "Formats validation errors into a user-friendly message."
2874
- },
2875
- {
2876
- "kind": "function",
2877
- "name": "showCriteriaError",
2878
- "return": {
2879
- "type": {
2880
- "text": "void"
2881
- }
2882
- },
2883
- "parameters": [
2884
- {
2885
- "name": "title",
2886
- "type": {
2887
- "text": "string"
2888
- },
2889
- "description": "Notification title (e.g. \"Criteria validation error\")"
2890
- },
2891
- {
2892
- "name": "body",
2893
- "type": {
2894
- "text": "string"
2895
- },
2896
- "description": "Error message to display"
2897
- },
2898
- {
2899
- "name": "tagName",
2900
- "type": {
2901
- "text": "string"
2902
- },
2903
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2904
- }
2905
- ],
2906
- "description": "Shows a criteria error as a toast notification."
2907
- }
2908
- ],
2909
- "exports": [
2910
- {
2911
- "kind": "js",
2912
- "name": "formatValidationErrors",
2913
- "declaration": {
2914
- "name": "formatValidationErrors",
2915
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2916
- }
2917
- },
2918
- {
2919
- "kind": "js",
2920
- "name": "showCriteriaError",
2921
- "declaration": {
2922
- "name": "showCriteriaError",
2923
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2886
+ "name": "*",
2887
+ "package": "./actions-menu"
2924
2888
  }
2925
2889
  }
2926
2890
  ]
2927
2891
  },
2928
2892
  {
2929
2893
  "kind": "javascript-module",
2930
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2894
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2931
2895
  "declarations": [
2932
2896
  {
2933
- "kind": "function",
2934
- "name": "foundationAiIndicatorStyles",
2935
- "return": {
2936
- "type": {
2937
- "text": "ElementStyles"
2938
- }
2939
- },
2940
- "parameters": [
2941
- {
2942
- "name": "context",
2943
- "type": {
2944
- "text": "ElementDefinitionContext"
2945
- }
2946
- },
2947
- {
2948
- "name": "definition",
2949
- "type": {
2950
- "text": "FoundationElementDefinition"
2951
- }
2952
- }
2953
- ]
2897
+ "kind": "variable",
2898
+ "name": "foundationAiCriteriaSearchStyles",
2899
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2954
2900
  }
2955
2901
  ],
2956
2902
  "exports": [
2957
2903
  {
2958
2904
  "kind": "js",
2959
- "name": "foundationAiIndicatorStyles",
2905
+ "name": "foundationAiCriteriaSearchStyles",
2960
2906
  "declaration": {
2961
- "name": "foundationAiIndicatorStyles",
2962
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2907
+ "name": "foundationAiCriteriaSearchStyles",
2908
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2963
2909
  }
2964
2910
  }
2965
2911
  ]
2966
2912
  },
2967
2913
  {
2968
2914
  "kind": "javascript-module",
2969
- "path": "src/ai-indicator/ai-indicator.template.ts",
2915
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2970
2916
  "declarations": [
2971
2917
  {
2972
2918
  "kind": "variable",
2973
- "name": "foundationAiIndicatorTemplate",
2919
+ "name": "foundationAiCriteriaSearchTemplate",
2974
2920
  "type": {
2975
- "text": "ViewTemplate<AiIndicator>"
2921
+ "text": "ViewTemplate<AiCriteriaSearch>"
2976
2922
  },
2977
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2923
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2978
2924
  }
2979
2925
  ],
2980
2926
  "exports": [
2981
2927
  {
2982
2928
  "kind": "js",
2983
- "name": "foundationAiIndicatorTemplate",
2929
+ "name": "foundationAiCriteriaSearchTemplate",
2984
2930
  "declaration": {
2985
- "name": "foundationAiIndicatorTemplate",
2986
- "module": "src/ai-indicator/ai-indicator.template.ts"
2931
+ "name": "foundationAiCriteriaSearchTemplate",
2932
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2987
2933
  }
2988
2934
  }
2989
2935
  ]
2990
2936
  },
2991
2937
  {
2992
2938
  "kind": "javascript-module",
2993
- "path": "src/ai-indicator/ai-indicator.ts",
2939
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2994
2940
  "declarations": [
2995
2941
  {
2996
2942
  "kind": "class",
2997
- "description": "",
2998
- "name": "AiIndicator",
2943
+ "description": "Natural-language criteria search input with AI interpretation.",
2944
+ "name": "AiCriteriaSearch",
2999
2945
  "members": [
3000
2946
  {
3001
2947
  "kind": "field",
@@ -3006,31 +2952,38 @@
3006
2952
  },
3007
2953
  {
3008
2954
  "kind": "field",
3009
- "name": "status",
2955
+ "name": "placeholder",
3010
2956
  "type": {
3011
- "text": "AIStatus | null"
2957
+ "text": "string"
3012
2958
  },
3013
- "default": "null"
2959
+ "default": "'Describe your search criteria in natural language...'"
3014
2960
  },
3015
2961
  {
3016
2962
  "kind": "field",
3017
- "name": "open",
2963
+ "name": "disabled",
3018
2964
  "type": {
3019
2965
  "text": "boolean"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "field",
2970
+ "name": "mode",
2971
+ "type": {
2972
+ "text": "'append' | 'replace'"
3020
2973
  },
3021
- "default": "false"
2974
+ "default": "'replace'"
3022
2975
  },
3023
2976
  {
3024
2977
  "kind": "field",
3025
- "name": "state",
2978
+ "name": "inputValue",
3026
2979
  "type": {
3027
- "text": "AIIndicatorState"
2980
+ "text": "string"
3028
2981
  },
3029
- "default": "'none'"
2982
+ "default": "''"
3030
2983
  },
3031
2984
  {
3032
2985
  "kind": "field",
3033
- "name": "isInstalling",
2986
+ "name": "isInterpreting",
3034
2987
  "type": {
3035
2988
  "text": "boolean"
3036
2989
  },
@@ -3038,133 +2991,91 @@
3038
2991
  },
3039
2992
  {
3040
2993
  "kind": "field",
3041
- "name": "pollTimer",
2994
+ "name": "lastValidCriteria",
3042
2995
  "type": {
3043
- "text": "ReturnType<typeof setInterval> | null"
2996
+ "text": "string | null"
3044
2997
  },
3045
- "privacy": "private",
3046
2998
  "default": "null"
3047
2999
  },
3048
3000
  {
3049
3001
  "kind": "field",
3050
- "name": "clickOutside",
3051
- "privacy": "private"
3052
- },
3053
- {
3054
- "kind": "field",
3055
- "name": "chromeStatusLabel",
3002
+ "name": "fieldMetadata",
3056
3003
  "type": {
3057
- "text": "string | null"
3004
+ "text": "MetadataDetail[] | string[]"
3058
3005
  },
3059
- "readonly": true
3006
+ "default": "[]"
3060
3007
  },
3061
3008
  {
3062
3009
  "kind": "field",
3063
- "name": "canInstall",
3010
+ "name": "isRecording",
3064
3011
  "type": {
3065
3012
  "text": "boolean"
3066
3013
  },
3067
- "readonly": true
3014
+ "default": "false"
3068
3015
  },
3069
3016
  {
3070
3017
  "kind": "field",
3071
- "name": "isDownloading",
3018
+ "name": "textAreaRef",
3072
3019
  "type": {
3073
- "text": "boolean"
3020
+ "text": "HTMLTextAreaElement"
3074
3021
  },
3075
- "readonly": true
3022
+ "privacy": "public"
3076
3023
  },
3077
3024
  {
3078
- "kind": "method",
3079
- "name": "openChanged",
3080
- "return": {
3081
- "type": {
3082
- "text": "void"
3083
- }
3084
- }
3025
+ "kind": "field",
3026
+ "name": "stopRecording",
3027
+ "type": {
3028
+ "text": "(() => void) | null"
3029
+ },
3030
+ "privacy": "private",
3031
+ "default": "null"
3085
3032
  },
3086
3033
  {
3087
- "kind": "method",
3088
- "name": "handleClickOutside",
3034
+ "kind": "field",
3035
+ "name": "speechApplyDebounceTimer",
3036
+ "type": {
3037
+ "text": "ReturnType<typeof setTimeout> | null"
3038
+ },
3089
3039
  "privacy": "private",
3090
- "parameters": [
3091
- {
3092
- "name": "event",
3093
- "type": {
3094
- "text": "MouseEvent"
3095
- }
3096
- }
3097
- ]
3040
+ "default": "null"
3098
3041
  },
3099
3042
  {
3100
- "kind": "method",
3101
- "name": "toggleDropdown"
3043
+ "kind": "field",
3044
+ "name": "baseInputForAppend",
3045
+ "type": {
3046
+ "text": "string"
3047
+ },
3048
+ "privacy": "private",
3049
+ "default": "''"
3102
3050
  },
3103
3051
  {
3104
- "kind": "method",
3105
- "name": "refreshStatus",
3106
- "return": {
3107
- "type": {
3108
- "text": "Promise<void>"
3109
- }
3110
- }
3052
+ "kind": "field",
3053
+ "name": "speechAvailable",
3054
+ "type": {
3055
+ "text": "boolean"
3056
+ },
3057
+ "readonly": true
3111
3058
  },
3112
3059
  {
3113
3060
  "kind": "method",
3114
- "name": "deriveState",
3115
- "privacy": "private",
3116
- "return": {
3117
- "type": {
3118
- "text": "AIIndicatorState"
3119
- }
3120
- },
3121
- "parameters": [
3122
- {
3123
- "name": "s",
3124
- "type": {
3125
- "text": "AIStatus | null"
3126
- }
3127
- }
3128
- ]
3061
+ "name": "handleSubmit"
3129
3062
  },
3130
3063
  {
3131
3064
  "kind": "method",
3132
- "name": "maybeStartPolling",
3133
- "privacy": "private",
3134
- "return": {
3135
- "type": {
3136
- "text": "void"
3137
- }
3138
- }
3065
+ "name": "handleBlur"
3139
3066
  },
3140
3067
  {
3141
3068
  "kind": "method",
3142
- "name": "startPolling",
3143
- "privacy": "private",
3144
- "return": {
3145
- "type": {
3146
- "text": "void"
3147
- }
3148
- }
3069
+ "name": "clear"
3149
3070
  },
3150
3071
  {
3151
3072
  "kind": "method",
3152
- "name": "stopPolling",
3153
- "privacy": "private",
3154
- "return": {
3155
- "type": {
3156
- "text": "void"
3157
- }
3158
- }
3073
+ "name": "toggleSpeechInput"
3159
3074
  },
3160
3075
  {
3161
3076
  "kind": "method",
3162
- "name": "onInstall",
3163
- "return": {
3164
- "type": {
3165
- "text": "Promise<void>"
3166
- }
3167
- }
3077
+ "name": "clearSpeechApplyDebounce",
3078
+ "privacy": "private"
3168
3079
  },
3169
3080
  {
3170
3081
  "kind": "field",
@@ -3278,141 +3189,267 @@
3278
3189
  }
3279
3190
  }
3280
3191
  ],
3192
+ "events": [
3193
+ {
3194
+ "description": "Fired when interpreted criteria is applied or cleared",
3195
+ "name": "criteria-changed"
3196
+ },
3197
+ {
3198
+ "description": "Fired when interpreted criteria contains invalid clauses",
3199
+ "name": "validation-errors"
3200
+ }
3201
+ ],
3202
+ "attributes": [
3203
+ {
3204
+ "name": "placeholder",
3205
+ "type": {
3206
+ "text": "string"
3207
+ },
3208
+ "default": "'Describe your search criteria in natural language...'",
3209
+ "fieldName": "placeholder"
3210
+ },
3211
+ {
3212
+ "type": {
3213
+ "text": "boolean"
3214
+ },
3215
+ "fieldName": "disabled"
3216
+ },
3217
+ {
3218
+ "name": "mode",
3219
+ "type": {
3220
+ "text": "'append' | 'replace'"
3221
+ },
3222
+ "default": "'replace'",
3223
+ "fieldName": "mode"
3224
+ }
3225
+ ],
3281
3226
  "superclass": {
3282
3227
  "name": "FoundationElement",
3283
3228
  "package": "@microsoft/fast-foundation"
3284
3229
  },
3285
- "tagName": "%%prefix%%-ai-indicator",
3286
- "customElement": true
3230
+ "tagName": "%%prefix%%-ai-criteria-search",
3231
+ "customElement": true
3232
+ },
3233
+ {
3234
+ "kind": "variable",
3235
+ "name": "foundationAiCriteriaSearchShadowOptions",
3236
+ "type": {
3237
+ "text": "ShadowRootInit"
3238
+ },
3239
+ "default": "undefined"
3240
+ },
3241
+ {
3242
+ "kind": "variable",
3243
+ "name": "defaultAiCriteriaSearchConfig",
3244
+ "type": {
3245
+ "text": "object"
3246
+ },
3247
+ "default": "{}"
3287
3248
  },
3288
3249
  {
3289
3250
  "kind": "variable",
3290
- "name": "foundationAiIndicator"
3251
+ "name": "foundationAiCriteriaSearch"
3291
3252
  }
3292
3253
  ],
3293
3254
  "exports": [
3294
3255
  {
3295
3256
  "kind": "js",
3296
- "name": "AiIndicator",
3257
+ "name": "AiCriteriaSearch",
3297
3258
  "declaration": {
3298
- "name": "AiIndicator",
3299
- "module": "src/ai-indicator/ai-indicator.ts"
3259
+ "name": "AiCriteriaSearch",
3260
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3300
3261
  }
3301
3262
  },
3302
3263
  {
3303
3264
  "kind": "js",
3304
- "name": "foundationAiIndicator",
3265
+ "name": "foundationAiCriteriaSearchShadowOptions",
3305
3266
  "declaration": {
3306
- "name": "foundationAiIndicator",
3307
- "module": "src/ai-indicator/ai-indicator.ts"
3267
+ "name": "foundationAiCriteriaSearchShadowOptions",
3268
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
+ }
3270
+ },
3271
+ {
3272
+ "kind": "js",
3273
+ "name": "defaultAiCriteriaSearchConfig",
3274
+ "declaration": {
3275
+ "name": "defaultAiCriteriaSearchConfig",
3276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "js",
3281
+ "name": "foundationAiCriteriaSearch",
3282
+ "declaration": {
3283
+ "name": "foundationAiCriteriaSearch",
3284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3308
3285
  }
3309
3286
  }
3310
3287
  ]
3311
3288
  },
3312
3289
  {
3313
3290
  "kind": "javascript-module",
3314
- "path": "src/ai-indicator/index.ts",
3291
+ "path": "src/ai-criteria-search/index.ts",
3315
3292
  "declarations": [],
3316
3293
  "exports": [
3317
3294
  {
3318
3295
  "kind": "js",
3319
- "name": "AiIndicator",
3296
+ "name": "AiCriteriaSearch",
3320
3297
  "declaration": {
3321
- "name": "AiIndicator",
3322
- "module": "./ai-indicator"
3298
+ "name": "AiCriteriaSearch",
3299
+ "module": "./ai-criteria-search"
3323
3300
  }
3324
3301
  },
3325
3302
  {
3326
3303
  "kind": "js",
3327
- "name": "foundationAiIndicator",
3304
+ "name": "defaultAiCriteriaSearchConfig",
3328
3305
  "declaration": {
3329
- "name": "foundationAiIndicator",
3330
- "module": "./ai-indicator"
3306
+ "name": "defaultAiCriteriaSearchConfig",
3307
+ "module": "./ai-criteria-search"
3331
3308
  }
3332
3309
  },
3333
3310
  {
3334
3311
  "kind": "js",
3335
- "name": "type",
3312
+ "name": "foundationAiCriteriaSearch",
3336
3313
  "declaration": {
3337
- "name": "type",
3338
- "module": "./ai-indicator"
3314
+ "name": "foundationAiCriteriaSearch",
3315
+ "module": "./ai-criteria-search"
3339
3316
  }
3340
3317
  },
3341
3318
  {
3342
3319
  "kind": "js",
3343
- "name": "AIIndicatorState",
3320
+ "name": "foundationAiCriteriaSearchShadowOptions",
3344
3321
  "declaration": {
3345
- "name": "AIIndicatorState",
3346
- "module": "./ai-indicator"
3322
+ "name": "foundationAiCriteriaSearchShadowOptions",
3323
+ "module": "./ai-criteria-search"
3347
3324
  }
3348
3325
  },
3349
3326
  {
3350
3327
  "kind": "js",
3351
- "name": "foundationAiIndicatorTemplate",
3328
+ "name": "foundationAiCriteriaSearchStyles",
3352
3329
  "declaration": {
3353
- "name": "foundationAiIndicatorTemplate",
3354
- "module": "./ai-indicator.template"
3330
+ "name": "foundationAiCriteriaSearchStyles",
3331
+ "module": "./ai-criteria-search.styles"
3355
3332
  }
3356
3333
  },
3357
3334
  {
3358
3335
  "kind": "js",
3359
- "name": "foundationAiIndicatorStyles",
3336
+ "name": "foundationAiCriteriaSearchTemplate",
3360
3337
  "declaration": {
3361
- "name": "foundationAiIndicatorStyles",
3362
- "module": "./ai-indicator.styles"
3338
+ "name": "foundationAiCriteriaSearchTemplate",
3339
+ "module": "./ai-criteria-search.template"
3340
+ }
3341
+ },
3342
+ {
3343
+ "kind": "js",
3344
+ "name": "*",
3345
+ "declaration": {
3346
+ "name": "*",
3347
+ "package": "./validation/criteria-ir"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "js",
3352
+ "name": "*",
3353
+ "declaration": {
3354
+ "name": "*",
3355
+ "package": "./validation/operator-map"
3356
+ }
3357
+ },
3358
+ {
3359
+ "kind": "js",
3360
+ "name": "*",
3361
+ "declaration": {
3362
+ "name": "*",
3363
+ "package": "./validation/schema-validator"
3363
3364
  }
3364
3365
  }
3365
3366
  ]
3366
3367
  },
3367
3368
  {
3368
3369
  "kind": "javascript-module",
3369
- "path": "src/accordion/accordion.styles.ts",
3370
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3370
3371
  "declarations": [
3371
3372
  {
3372
3373
  "kind": "function",
3373
- "name": "foundationAccordionStyles",
3374
+ "name": "formatValidationErrors",
3374
3375
  "return": {
3375
3376
  "type": {
3376
- "text": "ElementStyles"
3377
+ "text": "string"
3377
3378
  }
3378
3379
  },
3379
3380
  "parameters": [
3380
3381
  {
3381
- "name": "context",
3382
+ "name": "errors",
3382
3383
  "type": {
3383
- "text": "ElementDefinitionContext"
3384
+ "text": "ValidationError[]"
3384
3385
  }
3386
+ }
3387
+ ],
3388
+ "description": "Formats validation errors into a user-friendly message."
3389
+ },
3390
+ {
3391
+ "kind": "function",
3392
+ "name": "showCriteriaError",
3393
+ "return": {
3394
+ "type": {
3395
+ "text": "void"
3396
+ }
3397
+ },
3398
+ "parameters": [
3399
+ {
3400
+ "name": "title",
3401
+ "type": {
3402
+ "text": "string"
3403
+ },
3404
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3385
3405
  },
3386
3406
  {
3387
- "name": "definition",
3407
+ "name": "body",
3388
3408
  "type": {
3389
- "text": "FoundationElementDefinition"
3390
- }
3409
+ "text": "string"
3410
+ },
3411
+ "description": "Error message to display"
3412
+ },
3413
+ {
3414
+ "name": "tagName",
3415
+ "type": {
3416
+ "text": "string"
3417
+ },
3418
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3391
3419
  }
3392
- ]
3420
+ ],
3421
+ "description": "Shows a criteria error as a toast notification."
3393
3422
  }
3394
3423
  ],
3395
3424
  "exports": [
3396
3425
  {
3397
3426
  "kind": "js",
3398
- "name": "foundationAccordionStyles",
3427
+ "name": "formatValidationErrors",
3399
3428
  "declaration": {
3400
- "name": "foundationAccordionStyles",
3401
- "module": "src/accordion/accordion.styles.ts"
3429
+ "name": "formatValidationErrors",
3430
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3431
+ }
3432
+ },
3433
+ {
3434
+ "kind": "js",
3435
+ "name": "showCriteriaError",
3436
+ "declaration": {
3437
+ "name": "showCriteriaError",
3438
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3402
3439
  }
3403
3440
  }
3404
3441
  ]
3405
3442
  },
3406
3443
  {
3407
3444
  "kind": "javascript-module",
3408
- "path": "src/accordion/accordion.template.ts",
3445
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3409
3446
  "declarations": [
3410
3447
  {
3411
3448
  "kind": "function",
3412
- "name": "foundationAccordionTemplate",
3449
+ "name": "foundationAiIndicatorStyles",
3413
3450
  "return": {
3414
3451
  "type": {
3415
- "text": "ViewTemplate<Accordion>"
3452
+ "text": "ElementStyles"
3416
3453
  }
3417
3454
  },
3418
3455
  "parameters": [
@@ -3434,237 +3471,214 @@
3434
3471
  "exports": [
3435
3472
  {
3436
3473
  "kind": "js",
3437
- "name": "foundationAccordionTemplate",
3474
+ "name": "foundationAiIndicatorStyles",
3438
3475
  "declaration": {
3439
- "name": "foundationAccordionTemplate",
3440
- "module": "src/accordion/accordion.template.ts"
3476
+ "name": "foundationAiIndicatorStyles",
3477
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3441
3478
  }
3442
3479
  }
3443
3480
  ]
3444
3481
  },
3445
3482
  {
3446
3483
  "kind": "javascript-module",
3447
- "path": "src/accordion/accordion.ts",
3484
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3485
+ "declarations": [
3486
+ {
3487
+ "kind": "variable",
3488
+ "name": "foundationAiIndicatorTemplate",
3489
+ "type": {
3490
+ "text": "ViewTemplate<AiIndicator>"
3491
+ },
3492
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3493
+ }
3494
+ ],
3495
+ "exports": [
3496
+ {
3497
+ "kind": "js",
3498
+ "name": "foundationAiIndicatorTemplate",
3499
+ "declaration": {
3500
+ "name": "foundationAiIndicatorTemplate",
3501
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3502
+ }
3503
+ }
3504
+ ]
3505
+ },
3506
+ {
3507
+ "kind": "javascript-module",
3508
+ "path": "src/ai-indicator/ai-indicator.ts",
3448
3509
  "declarations": [
3449
3510
  {
3450
3511
  "kind": "class",
3451
3512
  "description": "",
3452
- "name": "Accordion",
3453
- "superclass": {
3454
- "name": "FASTAccordion",
3455
- "package": "@microsoft/fast-foundation"
3456
- },
3457
- "tagName": "%%prefix%%-accordion",
3458
- "customElement": true,
3459
- "attributes": [
3513
+ "name": "AiIndicator",
3514
+ "members": [
3460
3515
  {
3461
- "name": "expand-mode",
3516
+ "kind": "field",
3517
+ "name": "aiProvider",
3462
3518
  "type": {
3463
- "text": "AccordionExpandMode"
3464
- },
3465
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3466
- "fieldName": "expandmode",
3467
- "inheritedFrom": {
3468
- "name": "Accordion",
3469
- "module": "src/accordion/accordion.ts"
3519
+ "text": "AIProvider"
3470
3520
  }
3471
- }
3472
- ],
3473
- "members": [
3521
+ },
3474
3522
  {
3475
3523
  "kind": "field",
3476
- "name": "expandmode",
3524
+ "name": "status",
3477
3525
  "type": {
3478
- "text": "AccordionExpandMode"
3526
+ "text": "AIStatus | null"
3479
3527
  },
3480
- "privacy": "public",
3481
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3482
- "inheritedFrom": {
3483
- "name": "Accordion",
3484
- "module": "src/accordion/accordion.ts"
3485
- }
3528
+ "default": "null"
3486
3529
  },
3487
3530
  {
3488
3531
  "kind": "field",
3489
- "name": "activeid",
3532
+ "name": "open",
3490
3533
  "type": {
3491
- "text": "string | null"
3534
+ "text": "boolean"
3492
3535
  },
3493
- "privacy": "private",
3494
- "inheritedFrom": {
3495
- "name": "Accordion",
3496
- "module": "src/accordion/accordion.ts"
3497
- }
3536
+ "default": "false"
3498
3537
  },
3499
3538
  {
3500
3539
  "kind": "field",
3501
- "name": "activeItemIndex",
3540
+ "name": "state",
3502
3541
  "type": {
3503
- "text": "number"
3542
+ "text": "AIIndicatorState"
3504
3543
  },
3505
- "privacy": "private",
3506
- "default": "0",
3507
- "inheritedFrom": {
3508
- "name": "Accordion",
3509
- "module": "src/accordion/accordion.ts"
3510
- }
3544
+ "default": "'none'"
3545
+ },
3546
+ {
3547
+ "kind": "field",
3548
+ "name": "isInstalling",
3549
+ "type": {
3550
+ "text": "boolean"
3551
+ },
3552
+ "default": "false"
3511
3553
  },
3512
3554
  {
3513
3555
  "kind": "field",
3514
- "name": "accordionIds",
3556
+ "name": "pollTimer",
3515
3557
  "type": {
3516
- "text": "Array<string | null>"
3558
+ "text": "ReturnType<typeof setInterval> | null"
3517
3559
  },
3518
3560
  "privacy": "private",
3519
- "inheritedFrom": {
3520
- "name": "Accordion",
3521
- "module": "src/accordion/accordion.ts"
3522
- }
3561
+ "default": "null"
3523
3562
  },
3524
3563
  {
3525
3564
  "kind": "field",
3526
- "name": "change",
3527
- "privacy": "private",
3528
- "inheritedFrom": {
3529
- "name": "Accordion",
3530
- "module": "src/accordion/accordion.ts"
3531
- }
3565
+ "name": "clickOutside",
3566
+ "privacy": "private"
3532
3567
  },
3533
3568
  {
3534
- "kind": "method",
3535
- "name": "findExpandedItem",
3536
- "privacy": "private",
3537
- "return": {
3538
- "type": {
3539
- "text": "AccordionItem | null"
3540
- }
3569
+ "kind": "field",
3570
+ "name": "chromeStatusLabel",
3571
+ "type": {
3572
+ "text": "string | null"
3541
3573
  },
3542
- "inheritedFrom": {
3543
- "name": "Accordion",
3544
- "module": "src/accordion/accordion.ts"
3545
- }
3574
+ "readonly": true
3546
3575
  },
3547
3576
  {
3548
3577
  "kind": "field",
3549
- "name": "setItems",
3550
- "privacy": "private",
3551
- "inheritedFrom": {
3552
- "name": "Accordion",
3553
- "module": "src/accordion/accordion.ts"
3554
- }
3578
+ "name": "canInstall",
3579
+ "type": {
3580
+ "text": "boolean"
3581
+ },
3582
+ "readonly": true
3583
+ },
3584
+ {
3585
+ "kind": "field",
3586
+ "name": "isDownloading",
3587
+ "type": {
3588
+ "text": "boolean"
3589
+ },
3590
+ "readonly": true
3555
3591
  },
3556
3592
  {
3557
3593
  "kind": "method",
3558
- "name": "resetItems",
3559
- "privacy": "private",
3594
+ "name": "openChanged",
3560
3595
  "return": {
3561
3596
  "type": {
3562
3597
  "text": "void"
3563
3598
  }
3564
- },
3565
- "inheritedFrom": {
3566
- "name": "Accordion",
3567
- "module": "src/accordion/accordion.ts"
3568
3599
  }
3569
3600
  },
3570
3601
  {
3571
- "kind": "field",
3572
- "name": "removeItemListeners",
3602
+ "kind": "method",
3603
+ "name": "handleClickOutside",
3573
3604
  "privacy": "private",
3574
- "inheritedFrom": {
3575
- "name": "Accordion",
3576
- "module": "src/accordion/accordion.ts"
3577
- }
3605
+ "parameters": [
3606
+ {
3607
+ "name": "event",
3608
+ "type": {
3609
+ "text": "MouseEvent"
3610
+ }
3611
+ }
3612
+ ]
3578
3613
  },
3579
3614
  {
3580
- "kind": "field",
3581
- "name": "activeItemChange",
3582
- "privacy": "private",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3615
+ "kind": "method",
3616
+ "name": "toggleDropdown"
3587
3617
  },
3588
3618
  {
3589
3619
  "kind": "method",
3590
- "name": "getItemIds",
3591
- "privacy": "private",
3620
+ "name": "refreshStatus",
3592
3621
  "return": {
3593
3622
  "type": {
3594
- "text": "Array<string | null>"
3623
+ "text": "Promise<void>"
3595
3624
  }
3596
- },
3597
- "inheritedFrom": {
3598
- "name": "Accordion",
3599
- "module": "src/accordion/accordion.ts"
3600
3625
  }
3601
3626
  },
3602
3627
  {
3603
3628
  "kind": "method",
3604
- "name": "isSingleExpandMode",
3629
+ "name": "deriveState",
3605
3630
  "privacy": "private",
3606
3631
  "return": {
3607
3632
  "type": {
3608
- "text": "boolean"
3633
+ "text": "AIIndicatorState"
3609
3634
  }
3610
3635
  },
3611
- "inheritedFrom": {
3612
- "name": "Accordion",
3613
- "module": "src/accordion/accordion.ts"
3614
- }
3636
+ "parameters": [
3637
+ {
3638
+ "name": "s",
3639
+ "type": {
3640
+ "text": "AIStatus | null"
3641
+ }
3642
+ }
3643
+ ]
3615
3644
  },
3616
3645
  {
3617
- "kind": "field",
3618
- "name": "handleItemKeyDown",
3646
+ "kind": "method",
3647
+ "name": "maybeStartPolling",
3619
3648
  "privacy": "private",
3620
- "inheritedFrom": {
3621
- "name": "Accordion",
3622
- "module": "src/accordion/accordion.ts"
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "void"
3652
+ }
3623
3653
  }
3624
3654
  },
3625
3655
  {
3626
- "kind": "field",
3627
- "name": "handleItemFocus",
3656
+ "kind": "method",
3657
+ "name": "startPolling",
3628
3658
  "privacy": "private",
3629
- "inheritedFrom": {
3630
- "name": "Accordion",
3631
- "module": "src/accordion/accordion.ts"
3659
+ "return": {
3660
+ "type": {
3661
+ "text": "void"
3662
+ }
3632
3663
  }
3633
3664
  },
3634
3665
  {
3635
3666
  "kind": "method",
3636
- "name": "adjust",
3667
+ "name": "stopPolling",
3637
3668
  "privacy": "private",
3638
3669
  "return": {
3639
3670
  "type": {
3640
3671
  "text": "void"
3641
3672
  }
3642
- },
3643
- "parameters": [
3644
- {
3645
- "name": "adjustment",
3646
- "type": {
3647
- "text": "number"
3648
- }
3649
- }
3650
- ],
3651
- "inheritedFrom": {
3652
- "name": "Accordion",
3653
- "module": "src/accordion/accordion.ts"
3654
3673
  }
3655
3674
  },
3656
3675
  {
3657
3676
  "kind": "method",
3658
- "name": "focusItem",
3659
- "privacy": "private",
3677
+ "name": "onInstall",
3660
3678
  "return": {
3661
3679
  "type": {
3662
- "text": "void"
3680
+ "text": "Promise<void>"
3663
3681
  }
3664
- },
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3668
3682
  }
3669
3683
  },
3670
3684
  {
@@ -3779,102 +3793,88 @@
3779
3793
  }
3780
3794
  }
3781
3795
  ],
3782
- "events": [
3783
- {
3784
- "description": "Fires a custom 'change' event when the active item changes",
3785
- "name": "change",
3786
- "inheritedFrom": {
3787
- "name": "Accordion",
3788
- "module": "src/accordion/accordion.ts"
3789
- }
3790
- }
3791
- ]
3792
- },
3793
- {
3794
- "kind": "variable",
3795
- "name": "foundationAccordionShadowOptions",
3796
- "type": {
3797
- "text": "ShadowRootInit"
3798
- },
3799
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3800
- },
3801
- {
3802
- "kind": "variable",
3803
- "name": "defaultAccordionConfig",
3804
- "type": {
3805
- "text": "object"
3796
+ "superclass": {
3797
+ "name": "FoundationElement",
3798
+ "package": "@microsoft/fast-foundation"
3806
3799
  },
3807
- "default": "{}"
3800
+ "tagName": "%%prefix%%-ai-indicator",
3801
+ "customElement": true
3808
3802
  },
3809
3803
  {
3810
3804
  "kind": "variable",
3811
- "name": "foundationAccordion",
3812
- "description": "The Foundation Accordion",
3813
- "privacy": "public"
3805
+ "name": "foundationAiIndicator"
3814
3806
  }
3815
3807
  ],
3816
3808
  "exports": [
3817
3809
  {
3818
3810
  "kind": "js",
3819
- "name": "Accordion",
3811
+ "name": "AiIndicator",
3820
3812
  "declaration": {
3821
- "name": "Accordion",
3822
- "module": "src/accordion/accordion.ts"
3813
+ "name": "AiIndicator",
3814
+ "module": "src/ai-indicator/ai-indicator.ts"
3823
3815
  }
3824
3816
  },
3825
3817
  {
3826
3818
  "kind": "js",
3827
- "name": "foundationAccordionShadowOptions",
3819
+ "name": "foundationAiIndicator",
3828
3820
  "declaration": {
3829
- "name": "foundationAccordionShadowOptions",
3830
- "module": "src/accordion/accordion.ts"
3821
+ "name": "foundationAiIndicator",
3822
+ "module": "src/ai-indicator/ai-indicator.ts"
3823
+ }
3824
+ }
3825
+ ]
3826
+ },
3827
+ {
3828
+ "kind": "javascript-module",
3829
+ "path": "src/ai-indicator/index.ts",
3830
+ "declarations": [],
3831
+ "exports": [
3832
+ {
3833
+ "kind": "js",
3834
+ "name": "AiIndicator",
3835
+ "declaration": {
3836
+ "name": "AiIndicator",
3837
+ "module": "./ai-indicator"
3831
3838
  }
3832
3839
  },
3833
3840
  {
3834
3841
  "kind": "js",
3835
- "name": "defaultAccordionConfig",
3842
+ "name": "foundationAiIndicator",
3836
3843
  "declaration": {
3837
- "name": "defaultAccordionConfig",
3838
- "module": "src/accordion/accordion.ts"
3844
+ "name": "foundationAiIndicator",
3845
+ "module": "./ai-indicator"
3839
3846
  }
3840
3847
  },
3841
3848
  {
3842
3849
  "kind": "js",
3843
- "name": "foundationAccordion",
3850
+ "name": "type",
3844
3851
  "declaration": {
3845
- "name": "foundationAccordion",
3846
- "module": "src/accordion/accordion.ts"
3852
+ "name": "type",
3853
+ "module": "./ai-indicator"
3847
3854
  }
3848
- }
3849
- ]
3850
- },
3851
- {
3852
- "kind": "javascript-module",
3853
- "path": "src/accordion/index.ts",
3854
- "declarations": [],
3855
- "exports": [
3855
+ },
3856
3856
  {
3857
3857
  "kind": "js",
3858
- "name": "*",
3858
+ "name": "AIIndicatorState",
3859
3859
  "declaration": {
3860
- "name": "*",
3861
- "package": "./accordion.template"
3860
+ "name": "AIIndicatorState",
3861
+ "module": "./ai-indicator"
3862
3862
  }
3863
3863
  },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "*",
3866
+ "name": "foundationAiIndicatorTemplate",
3867
3867
  "declaration": {
3868
- "name": "*",
3869
- "package": "./accordion.styles"
3868
+ "name": "foundationAiIndicatorTemplate",
3869
+ "module": "./ai-indicator.template"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "*",
3874
+ "name": "foundationAiIndicatorStyles",
3875
3875
  "declaration": {
3876
- "name": "*",
3877
- "package": "./accordion"
3876
+ "name": "foundationAiIndicatorStyles",
3877
+ "module": "./ai-indicator.styles"
3878
3878
  }
3879
3879
  }
3880
3880
  ]