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