@genesislcap/foundation-ui 14.428.2-alpha-9a52971.0 → 14.429.0

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