@genesislcap/foundation-ui 14.418.0 → 14.418.1-alpha-7cce044.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +691 -691
  2. package/package.json +19 -19
@@ -1380,37 +1380,6 @@
1380
1380
  }
1381
1381
  ]
1382
1382
  },
1383
- {
1384
- "kind": "javascript-module",
1385
- "path": "src/_config/index.ts",
1386
- "declarations": [],
1387
- "exports": [
1388
- {
1389
- "kind": "js",
1390
- "name": "*",
1391
- "declaration": {
1392
- "name": "*",
1393
- "package": "./styles"
1394
- }
1395
- },
1396
- {
1397
- "kind": "js",
1398
- "name": "*",
1399
- "declaration": {
1400
- "name": "*",
1401
- "package": "./tokens"
1402
- }
1403
- },
1404
- {
1405
- "kind": "js",
1406
- "name": "*",
1407
- "declaration": {
1408
- "name": "*",
1409
- "package": "./values"
1410
- }
1411
- }
1412
- ]
1413
- },
1414
1383
  {
1415
1384
  "kind": "javascript-module",
1416
1385
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1807,191 +1776,352 @@
1807
1776
  },
1808
1777
  {
1809
1778
  "kind": "javascript-module",
1810
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1779
+ "path": "src/_config/index.ts",
1780
+ "declarations": [],
1781
+ "exports": [
1782
+ {
1783
+ "kind": "js",
1784
+ "name": "*",
1785
+ "declaration": {
1786
+ "name": "*",
1787
+ "package": "./styles"
1788
+ }
1789
+ },
1790
+ {
1791
+ "kind": "js",
1792
+ "name": "*",
1793
+ "declaration": {
1794
+ "name": "*",
1795
+ "package": "./tokens"
1796
+ }
1797
+ },
1798
+ {
1799
+ "kind": "js",
1800
+ "name": "*",
1801
+ "declaration": {
1802
+ "name": "*",
1803
+ "package": "./values"
1804
+ }
1805
+ }
1806
+ ]
1807
+ },
1808
+ {
1809
+ "kind": "javascript-module",
1810
+ "path": "src/actions-menu/actions-menu.styles.ts",
1811
1811
  "declarations": [
1812
1812
  {
1813
- "kind": "variable",
1814
- "name": "foundationAiCriteriaSearchStyles",
1815
- "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`"
1813
+ "kind": "function",
1814
+ "name": "actionsMenuBaseStyles",
1815
+ "return": {
1816
+ "type": {
1817
+ "text": "ElementStyles"
1818
+ }
1819
+ },
1820
+ "parameters": [
1821
+ {
1822
+ "name": "context",
1823
+ "type": {
1824
+ "text": "ElementDefinitionContext"
1825
+ }
1826
+ },
1827
+ {
1828
+ "name": "definition",
1829
+ "type": {
1830
+ "text": "FoundationElementDefinition"
1831
+ }
1832
+ }
1833
+ ]
1834
+ },
1835
+ {
1836
+ "kind": "function",
1837
+ "name": "foundationActionsMenuStyles",
1838
+ "return": {
1839
+ "type": {
1840
+ "text": "ElementStyles"
1841
+ }
1842
+ },
1843
+ "parameters": [
1844
+ {
1845
+ "name": "context",
1846
+ "type": {
1847
+ "text": "ElementDefinitionContext"
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "definition",
1852
+ "type": {
1853
+ "text": "FoundationElementDefinition"
1854
+ }
1855
+ }
1856
+ ]
1816
1857
  }
1817
1858
  ],
1818
1859
  "exports": [
1819
1860
  {
1820
1861
  "kind": "js",
1821
- "name": "foundationAiCriteriaSearchStyles",
1862
+ "name": "actionsMenuBaseStyles",
1822
1863
  "declaration": {
1823
- "name": "foundationAiCriteriaSearchStyles",
1824
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1864
+ "name": "actionsMenuBaseStyles",
1865
+ "module": "src/actions-menu/actions-menu.styles.ts"
1866
+ }
1867
+ },
1868
+ {
1869
+ "kind": "js",
1870
+ "name": "foundationActionsMenuStyles",
1871
+ "declaration": {
1872
+ "name": "foundationActionsMenuStyles",
1873
+ "module": "src/actions-menu/actions-menu.styles.ts"
1825
1874
  }
1826
1875
  }
1827
1876
  ]
1828
1877
  },
1829
1878
  {
1830
1879
  "kind": "javascript-module",
1831
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1880
+ "path": "src/actions-menu/actions-menu.template.ts",
1832
1881
  "declarations": [
1882
+ {
1883
+ "kind": "function",
1884
+ "name": "menuTemplate",
1885
+ "parameters": [
1886
+ {
1887
+ "name": "prefix",
1888
+ "type": {
1889
+ "text": "string"
1890
+ }
1891
+ }
1892
+ ]
1893
+ },
1894
+ {
1895
+ "kind": "function",
1896
+ "name": "singleOptionTemplate",
1897
+ "parameters": [
1898
+ {
1899
+ "name": "prefix",
1900
+ "type": {
1901
+ "text": "string"
1902
+ }
1903
+ }
1904
+ ]
1905
+ },
1833
1906
  {
1834
1907
  "kind": "variable",
1835
- "name": "foundationAiCriteriaSearchTemplate",
1908
+ "name": "foundationActionsMenuTemplate",
1836
1909
  "type": {
1837
- "text": "ViewTemplate<AiCriteriaSearch>"
1910
+ "text": "ViewTemplate<ActionsMenu>"
1838
1911
  },
1839
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1912
+ "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`"
1840
1913
  }
1841
1914
  ],
1842
1915
  "exports": [
1843
1916
  {
1844
1917
  "kind": "js",
1845
- "name": "foundationAiCriteriaSearchTemplate",
1918
+ "name": "menuTemplate",
1846
1919
  "declaration": {
1847
- "name": "foundationAiCriteriaSearchTemplate",
1848
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1920
+ "name": "menuTemplate",
1921
+ "module": "src/actions-menu/actions-menu.template.ts"
1922
+ }
1923
+ },
1924
+ {
1925
+ "kind": "js",
1926
+ "name": "singleOptionTemplate",
1927
+ "declaration": {
1928
+ "name": "singleOptionTemplate",
1929
+ "module": "src/actions-menu/actions-menu.template.ts"
1930
+ }
1931
+ },
1932
+ {
1933
+ "kind": "js",
1934
+ "name": "foundationActionsMenuTemplate",
1935
+ "declaration": {
1936
+ "name": "foundationActionsMenuTemplate",
1937
+ "module": "src/actions-menu/actions-menu.template.ts"
1849
1938
  }
1850
1939
  }
1851
1940
  ]
1852
1941
  },
1853
1942
  {
1854
1943
  "kind": "javascript-module",
1855
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1944
+ "path": "src/actions-menu/actions-menu.ts",
1856
1945
  "declarations": [
1857
1946
  {
1858
1947
  "kind": "class",
1859
1948
  "description": "",
1860
- "name": "AiCriteriaSearch",
1949
+ "name": "ActionsMenu",
1861
1950
  "members": [
1862
1951
  {
1863
1952
  "kind": "field",
1864
- "name": "aiProvider",
1953
+ "name": "actions",
1865
1954
  "type": {
1866
- "text": "AIProvider"
1955
+ "text": "ActionMenuItem[]"
1867
1956
  }
1868
1957
  },
1869
1958
  {
1870
1959
  "kind": "field",
1871
- "name": "placeholder",
1960
+ "name": "isVertical",
1872
1961
  "type": {
1873
- "text": "string"
1962
+ "text": "boolean"
1874
1963
  },
1875
- "default": "'Describe your search criteria in natural language...'"
1964
+ "default": "false"
1876
1965
  },
1877
1966
  {
1878
1967
  "kind": "field",
1879
- "name": "disabled",
1968
+ "name": "addDefaultActions",
1880
1969
  "type": {
1881
1970
  "text": "boolean"
1882
- }
1971
+ },
1972
+ "default": "true"
1883
1973
  },
1884
1974
  {
1885
1975
  "kind": "field",
1886
- "name": "mode",
1976
+ "name": "autoCloseOnAction",
1887
1977
  "type": {
1888
- "text": "'append' | 'replace'"
1978
+ "text": "boolean"
1889
1979
  },
1890
- "default": "'replace'"
1980
+ "default": "true"
1891
1981
  },
1892
1982
  {
1893
1983
  "kind": "field",
1894
- "name": "inputValue",
1984
+ "name": "classNames",
1895
1985
  "type": {
1896
1986
  "text": "string"
1897
- },
1898
- "default": "''"
1987
+ }
1899
1988
  },
1900
1989
  {
1901
1990
  "kind": "field",
1902
- "name": "isInterpreting",
1991
+ "name": "definition",
1903
1992
  "type": {
1904
- "text": "boolean"
1905
- },
1906
- "default": "false"
1993
+ "text": "any"
1994
+ }
1907
1995
  },
1908
1996
  {
1909
1997
  "kind": "field",
1910
- "name": "lastValidCriteria",
1998
+ "name": "name",
1911
1999
  "type": {
1912
- "text": "string | null"
2000
+ "text": "string"
1913
2001
  },
1914
- "default": "null"
2002
+ "default": "'Actions'"
1915
2003
  },
1916
2004
  {
1917
2005
  "kind": "field",
1918
- "name": "fieldMetadata",
2006
+ "name": "open",
1919
2007
  "type": {
1920
- "text": "MetadataDetail[] | string[]"
2008
+ "text": "boolean"
1921
2009
  },
1922
- "default": "[]"
2010
+ "default": "false"
1923
2011
  },
1924
2012
  {
1925
2013
  "kind": "field",
1926
- "name": "isRecording",
2014
+ "name": "buttonAppearance",
1927
2015
  "type": {
1928
- "text": "boolean"
1929
- },
1930
- "default": "false"
2016
+ "text": "string"
2017
+ }
1931
2018
  },
1932
2019
  {
1933
2020
  "kind": "field",
1934
- "name": "textAreaRef",
2021
+ "name": "hideDisabled",
1935
2022
  "type": {
1936
- "text": "HTMLTextAreaElement"
2023
+ "text": "boolean"
1937
2024
  },
1938
- "privacy": "public"
2025
+ "default": "false"
1939
2026
  },
1940
2027
  {
1941
2028
  "kind": "field",
1942
- "name": "stopRecording",
2029
+ "name": "hideMenuSingleOption",
1943
2030
  "type": {
1944
- "text": "(() => void) | null"
2031
+ "text": "boolean"
1945
2032
  },
1946
- "privacy": "private",
1947
- "default": "null"
2033
+ "default": "false"
1948
2034
  },
1949
2035
  {
1950
2036
  "kind": "field",
1951
- "name": "speechApplyDebounceTimer",
2037
+ "name": "singleOption",
1952
2038
  "type": {
1953
- "text": "ReturnType<typeof setTimeout> | null"
1954
- },
1955
- "privacy": "private",
1956
- "default": "null"
2039
+ "text": "ActionMenuItem"
2040
+ }
1957
2041
  },
1958
2042
  {
1959
2043
  "kind": "field",
1960
- "name": "baseInputForAppend",
2044
+ "name": "actionsMenu",
1961
2045
  "type": {
1962
- "text": "string"
1963
- },
1964
- "privacy": "private",
1965
- "default": "''"
2046
+ "text": "HTMLElement"
2047
+ }
1966
2048
  },
1967
2049
  {
1968
- "kind": "field",
1969
- "name": "speechAvailable",
1970
- "type": {
1971
- "text": "boolean"
1972
- },
1973
- "readonly": true
2050
+ "kind": "method",
2051
+ "name": "definitionChanged",
2052
+ "privacy": "protected",
2053
+ "parameters": [
2054
+ {
2055
+ "name": "oldValue",
2056
+ "type": {
2057
+ "text": "any"
2058
+ }
2059
+ },
2060
+ {
2061
+ "name": "newValue",
2062
+ "type": {
2063
+ "text": "any"
2064
+ }
2065
+ }
2066
+ ]
1974
2067
  },
1975
2068
  {
1976
2069
  "kind": "method",
1977
- "name": "handleSubmit"
2070
+ "name": "openChanged",
2071
+ "privacy": "protected"
1978
2072
  },
1979
2073
  {
1980
2074
  "kind": "method",
1981
- "name": "handleBlur"
2075
+ "name": "toggleActionsMenuVisibility"
1982
2076
  },
1983
2077
  {
1984
2078
  "kind": "method",
1985
- "name": "clear"
2079
+ "name": "onActionMenuItemClick",
2080
+ "parameters": [
2081
+ {
2082
+ "name": "callback",
2083
+ "type": {
2084
+ "text": "(rowData) => void | any"
2085
+ }
2086
+ }
2087
+ ]
2088
+ },
2089
+ {
2090
+ "kind": "field",
2091
+ "name": "allActions",
2092
+ "type": {
2093
+ "text": "ActionMenuItem[]"
2094
+ },
2095
+ "readonly": true
2096
+ },
2097
+ {
2098
+ "kind": "field",
2099
+ "name": "rowData",
2100
+ "readonly": true
1986
2101
  },
1987
2102
  {
1988
2103
  "kind": "method",
1989
- "name": "toggleSpeechInput"
2104
+ "name": "getLabel",
2105
+ "parameters": [
2106
+ {
2107
+ "name": "name",
2108
+ "type": {
2109
+ "text": "string | ((rowData: any) => string)"
2110
+ }
2111
+ }
2112
+ ]
1990
2113
  },
1991
2114
  {
1992
2115
  "kind": "method",
1993
- "name": "clearSpeechApplyDebounce",
1994
- "privacy": "private"
2116
+ "name": "getTemplate",
2117
+ "parameters": [
2118
+ {
2119
+ "name": "prefix",
2120
+ "type": {
2121
+ "text": "string"
2122
+ }
2123
+ }
2124
+ ]
1995
2125
  },
1996
2126
  {
1997
2127
  "kind": "field",
@@ -2107,150 +2237,113 @@
2107
2237
  ],
2108
2238
  "attributes": [
2109
2239
  {
2110
- "name": "placeholder",
2240
+ "name": "is-vertical",
2241
+ "type": {
2242
+ "text": "boolean"
2243
+ },
2244
+ "default": "false",
2245
+ "fieldName": "isVertical"
2246
+ },
2247
+ {
2248
+ "name": "add-default-actions",
2249
+ "type": {
2250
+ "text": "boolean"
2251
+ },
2252
+ "default": "true",
2253
+ "fieldName": "addDefaultActions"
2254
+ },
2255
+ {
2256
+ "name": "auto-close-on-action",
2257
+ "type": {
2258
+ "text": "boolean"
2259
+ },
2260
+ "default": "true",
2261
+ "fieldName": "autoCloseOnAction"
2262
+ },
2263
+ {
2264
+ "name": "name",
2111
2265
  "type": {
2112
2266
  "text": "string"
2113
2267
  },
2114
- "default": "'Describe your search criteria in natural language...'",
2115
- "fieldName": "placeholder"
2268
+ "default": "'Actions'",
2269
+ "fieldName": "name"
2116
2270
  },
2117
2271
  {
2272
+ "name": "open",
2118
2273
  "type": {
2119
2274
  "text": "boolean"
2120
2275
  },
2121
- "fieldName": "disabled"
2276
+ "default": "false",
2277
+ "fieldName": "open"
2122
2278
  },
2123
2279
  {
2124
- "name": "mode",
2280
+ "name": "buttonAppearance",
2125
2281
  "type": {
2126
- "text": "'append' | 'replace'"
2282
+ "text": "string"
2127
2283
  },
2128
- "default": "'replace'",
2129
- "fieldName": "mode"
2284
+ "fieldName": "buttonAppearance"
2285
+ },
2286
+ {
2287
+ "name": "hide-disabled",
2288
+ "type": {
2289
+ "text": "boolean"
2290
+ },
2291
+ "default": "false",
2292
+ "fieldName": "hideDisabled"
2293
+ },
2294
+ {
2295
+ "name": "hide-menu-single-option",
2296
+ "type": {
2297
+ "text": "boolean"
2298
+ },
2299
+ "default": "false",
2300
+ "fieldName": "hideMenuSingleOption"
2130
2301
  }
2131
2302
  ],
2132
2303
  "superclass": {
2133
2304
  "name": "FoundationElement",
2134
2305
  "package": "@microsoft/fast-foundation"
2135
2306
  },
2136
- "tagName": "%%prefix%%-ai-criteria-search",
2307
+ "tagName": "%%prefix%%-actions-menu",
2137
2308
  "customElement": true
2138
2309
  },
2139
2310
  {
2140
2311
  "kind": "variable",
2141
- "name": "foundationAiCriteriaSearchShadowOptions",
2142
- "type": {
2143
- "text": "ShadowRootInit"
2144
- },
2145
- "default": "undefined"
2146
- },
2147
- {
2148
- "kind": "variable",
2149
- "name": "defaultAiCriteriaSearchConfig",
2150
- "type": {
2151
- "text": "object"
2152
- },
2153
- "default": "{}"
2154
- },
2155
- {
2156
- "kind": "variable",
2157
- "name": "foundationAiCriteriaSearch"
2312
+ "name": "foundationActionsMenu",
2313
+ "description": "The Foundation Actions Menu",
2314
+ "privacy": "public"
2158
2315
  }
2159
2316
  ],
2160
2317
  "exports": [
2161
2318
  {
2162
2319
  "kind": "js",
2163
- "name": "AiCriteriaSearch",
2164
- "declaration": {
2165
- "name": "AiCriteriaSearch",
2166
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2167
- }
2168
- },
2169
- {
2170
- "kind": "js",
2171
- "name": "foundationAiCriteriaSearchShadowOptions",
2172
- "declaration": {
2173
- "name": "foundationAiCriteriaSearchShadowOptions",
2174
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2175
- }
2176
- },
2177
- {
2178
- "kind": "js",
2179
- "name": "defaultAiCriteriaSearchConfig",
2320
+ "name": "ActionsMenu",
2180
2321
  "declaration": {
2181
- "name": "defaultAiCriteriaSearchConfig",
2182
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2322
+ "name": "ActionsMenu",
2323
+ "module": "src/actions-menu/actions-menu.ts"
2183
2324
  }
2184
2325
  },
2185
2326
  {
2186
2327
  "kind": "js",
2187
- "name": "foundationAiCriteriaSearch",
2328
+ "name": "foundationActionsMenu",
2188
2329
  "declaration": {
2189
- "name": "foundationAiCriteriaSearch",
2190
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2330
+ "name": "foundationActionsMenu",
2331
+ "module": "src/actions-menu/actions-menu.ts"
2191
2332
  }
2192
2333
  }
2193
2334
  ]
2194
2335
  },
2195
2336
  {
2196
2337
  "kind": "javascript-module",
2197
- "path": "src/ai-criteria-search/index.ts",
2338
+ "path": "src/actions-menu/index.ts",
2198
2339
  "declarations": [],
2199
2340
  "exports": [
2200
- {
2201
- "kind": "js",
2202
- "name": "AiCriteriaSearch",
2203
- "declaration": {
2204
- "name": "AiCriteriaSearch",
2205
- "module": "./ai-criteria-search"
2206
- }
2207
- },
2208
- {
2209
- "kind": "js",
2210
- "name": "defaultAiCriteriaSearchConfig",
2211
- "declaration": {
2212
- "name": "defaultAiCriteriaSearchConfig",
2213
- "module": "./ai-criteria-search"
2214
- }
2215
- },
2216
- {
2217
- "kind": "js",
2218
- "name": "foundationAiCriteriaSearch",
2219
- "declaration": {
2220
- "name": "foundationAiCriteriaSearch",
2221
- "module": "./ai-criteria-search"
2222
- }
2223
- },
2224
- {
2225
- "kind": "js",
2226
- "name": "foundationAiCriteriaSearchShadowOptions",
2227
- "declaration": {
2228
- "name": "foundationAiCriteriaSearchShadowOptions",
2229
- "module": "./ai-criteria-search"
2230
- }
2231
- },
2232
- {
2233
- "kind": "js",
2234
- "name": "foundationAiCriteriaSearchStyles",
2235
- "declaration": {
2236
- "name": "foundationAiCriteriaSearchStyles",
2237
- "module": "./ai-criteria-search.styles"
2238
- }
2239
- },
2240
- {
2241
- "kind": "js",
2242
- "name": "foundationAiCriteriaSearchTemplate",
2243
- "declaration": {
2244
- "name": "foundationAiCriteriaSearchTemplate",
2245
- "module": "./ai-criteria-search.template"
2246
- }
2247
- },
2248
2341
  {
2249
2342
  "kind": "js",
2250
2343
  "name": "*",
2251
2344
  "declaration": {
2252
2345
  "name": "*",
2253
- "package": "./validation/criteria-ir"
2346
+ "package": "./actions-menu.styles"
2254
2347
  }
2255
2348
  },
2256
2349
  {
@@ -2258,7 +2351,7 @@
2258
2351
  "name": "*",
2259
2352
  "declaration": {
2260
2353
  "name": "*",
2261
- "package": "./validation/operator-map"
2354
+ "package": "./actions-menu.template"
2262
2355
  }
2263
2356
  },
2264
2357
  {
@@ -2266,119 +2359,60 @@
2266
2359
  "name": "*",
2267
2360
  "declaration": {
2268
2361
  "name": "*",
2269
- "package": "./validation/schema-validator"
2362
+ "package": "./actions-menu"
2270
2363
  }
2271
2364
  }
2272
2365
  ]
2273
2366
  },
2274
2367
  {
2275
2368
  "kind": "javascript-module",
2276
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2369
+ "path": "src/accordion/accordion.styles.ts",
2277
2370
  "declarations": [
2278
2371
  {
2279
2372
  "kind": "function",
2280
- "name": "formatValidationErrors",
2373
+ "name": "foundationAccordionStyles",
2281
2374
  "return": {
2282
2375
  "type": {
2283
- "text": "string"
2376
+ "text": "ElementStyles"
2284
2377
  }
2285
2378
  },
2286
2379
  "parameters": [
2287
2380
  {
2288
- "name": "errors",
2381
+ "name": "context",
2289
2382
  "type": {
2290
- "text": "ValidationError[]"
2383
+ "text": "ElementDefinitionContext"
2291
2384
  }
2292
- }
2293
- ],
2294
- "description": "Formats validation errors into a user-friendly message."
2295
- },
2296
- {
2297
- "kind": "function",
2298
- "name": "showCriteriaError",
2299
- "return": {
2300
- "type": {
2301
- "text": "void"
2302
- }
2303
- },
2304
- "parameters": [
2305
- {
2306
- "name": "title",
2307
- "type": {
2308
- "text": "string"
2309
- },
2310
- "description": "Notification title (e.g. \"Criteria validation error\")"
2311
- },
2312
- {
2313
- "name": "body",
2314
- "type": {
2315
- "text": "string"
2316
- },
2317
- "description": "Error message to display"
2318
2385
  },
2319
2386
  {
2320
- "name": "tagName",
2387
+ "name": "definition",
2321
2388
  "type": {
2322
- "text": "string"
2323
- },
2324
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2389
+ "text": "FoundationElementDefinition"
2390
+ }
2325
2391
  }
2326
- ],
2327
- "description": "Shows a criteria error as a toast notification."
2392
+ ]
2328
2393
  }
2329
2394
  ],
2330
2395
  "exports": [
2331
2396
  {
2332
2397
  "kind": "js",
2333
- "name": "formatValidationErrors",
2334
- "declaration": {
2335
- "name": "formatValidationErrors",
2336
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2337
- }
2338
- },
2339
- {
2340
- "kind": "js",
2341
- "name": "showCriteriaError",
2398
+ "name": "foundationAccordionStyles",
2342
2399
  "declaration": {
2343
- "name": "showCriteriaError",
2344
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2400
+ "name": "foundationAccordionStyles",
2401
+ "module": "src/accordion/accordion.styles.ts"
2345
2402
  }
2346
2403
  }
2347
2404
  ]
2348
2405
  },
2349
2406
  {
2350
2407
  "kind": "javascript-module",
2351
- "path": "src/actions-menu/actions-menu.styles.ts",
2408
+ "path": "src/accordion/accordion.template.ts",
2352
2409
  "declarations": [
2353
2410
  {
2354
2411
  "kind": "function",
2355
- "name": "actionsMenuBaseStyles",
2356
- "return": {
2357
- "type": {
2358
- "text": "ElementStyles"
2359
- }
2360
- },
2361
- "parameters": [
2362
- {
2363
- "name": "context",
2364
- "type": {
2365
- "text": "ElementDefinitionContext"
2366
- }
2367
- },
2368
- {
2369
- "name": "definition",
2370
- "type": {
2371
- "text": "FoundationElementDefinition"
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- {
2377
- "kind": "function",
2378
- "name": "foundationActionsMenuStyles",
2412
+ "name": "foundationAccordionTemplate",
2379
2413
  "return": {
2380
2414
  "type": {
2381
- "text": "ElementStyles"
2415
+ "text": "ViewTemplate<Accordion>"
2382
2416
  }
2383
2417
  },
2384
2418
  "parameters": [
@@ -2400,151 +2434,213 @@
2400
2434
  "exports": [
2401
2435
  {
2402
2436
  "kind": "js",
2403
- "name": "actionsMenuBaseStyles",
2404
- "declaration": {
2405
- "name": "actionsMenuBaseStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2407
- }
2408
- },
2409
- {
2410
- "kind": "js",
2411
- "name": "foundationActionsMenuStyles",
2437
+ "name": "foundationAccordionTemplate",
2412
2438
  "declaration": {
2413
- "name": "foundationActionsMenuStyles",
2414
- "module": "src/actions-menu/actions-menu.styles.ts"
2439
+ "name": "foundationAccordionTemplate",
2440
+ "module": "src/accordion/accordion.template.ts"
2415
2441
  }
2416
2442
  }
2417
2443
  ]
2418
2444
  },
2419
2445
  {
2420
2446
  "kind": "javascript-module",
2421
- "path": "src/actions-menu/actions-menu.template.ts",
2447
+ "path": "src/accordion/accordion.ts",
2422
2448
  "declarations": [
2423
2449
  {
2424
- "kind": "function",
2425
- "name": "menuTemplate",
2426
- "parameters": [
2427
- {
2428
- "name": "prefix",
2429
- "type": {
2430
- "text": "string"
2431
- }
2432
- }
2433
- ]
2450
+ "kind": "class",
2451
+ "description": "",
2452
+ "name": "Accordion",
2453
+ "superclass": {
2454
+ "name": "FASTAccordion",
2455
+ "package": "@microsoft/fast-foundation"
2456
+ },
2457
+ "tagName": "%%prefix%%-accordion",
2458
+ "customElement": true
2434
2459
  },
2435
2460
  {
2436
- "kind": "function",
2437
- "name": "singleOptionTemplate",
2438
- "parameters": [
2439
- {
2440
- "name": "prefix",
2441
- "type": {
2442
- "text": "string"
2443
- }
2444
- }
2445
- ]
2461
+ "kind": "variable",
2462
+ "name": "foundationAccordionShadowOptions",
2463
+ "type": {
2464
+ "text": "ShadowRootInit"
2465
+ },
2466
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2446
2467
  },
2447
2468
  {
2448
2469
  "kind": "variable",
2449
- "name": "foundationActionsMenuTemplate",
2470
+ "name": "defaultAccordionConfig",
2450
2471
  "type": {
2451
- "text": "ViewTemplate<ActionsMenu>"
2472
+ "text": "object"
2452
2473
  },
2453
- "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`"
2474
+ "default": "{}"
2475
+ },
2476
+ {
2477
+ "kind": "variable",
2478
+ "name": "foundationAccordion",
2479
+ "description": "The Foundation Accordion",
2480
+ "privacy": "public"
2454
2481
  }
2455
2482
  ],
2456
2483
  "exports": [
2457
2484
  {
2458
2485
  "kind": "js",
2459
- "name": "menuTemplate",
2486
+ "name": "Accordion",
2460
2487
  "declaration": {
2461
- "name": "menuTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2488
+ "name": "Accordion",
2489
+ "module": "src/accordion/accordion.ts"
2463
2490
  }
2464
2491
  },
2465
2492
  {
2466
2493
  "kind": "js",
2467
- "name": "singleOptionTemplate",
2494
+ "name": "foundationAccordionShadowOptions",
2468
2495
  "declaration": {
2469
- "name": "singleOptionTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2496
+ "name": "foundationAccordionShadowOptions",
2497
+ "module": "src/accordion/accordion.ts"
2471
2498
  }
2472
2499
  },
2473
2500
  {
2474
2501
  "kind": "js",
2475
- "name": "foundationActionsMenuTemplate",
2502
+ "name": "defaultAccordionConfig",
2476
2503
  "declaration": {
2477
- "name": "foundationActionsMenuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2504
+ "name": "defaultAccordionConfig",
2505
+ "module": "src/accordion/accordion.ts"
2506
+ }
2507
+ },
2508
+ {
2509
+ "kind": "js",
2510
+ "name": "foundationAccordion",
2511
+ "declaration": {
2512
+ "name": "foundationAccordion",
2513
+ "module": "src/accordion/accordion.ts"
2479
2514
  }
2480
2515
  }
2481
2516
  ]
2482
2517
  },
2483
2518
  {
2484
2519
  "kind": "javascript-module",
2485
- "path": "src/actions-menu/actions-menu.ts",
2520
+ "path": "src/accordion/index.ts",
2521
+ "declarations": [],
2522
+ "exports": [
2523
+ {
2524
+ "kind": "js",
2525
+ "name": "*",
2526
+ "declaration": {
2527
+ "name": "*",
2528
+ "package": "./accordion.template"
2529
+ }
2530
+ },
2531
+ {
2532
+ "kind": "js",
2533
+ "name": "*",
2534
+ "declaration": {
2535
+ "name": "*",
2536
+ "package": "./accordion.styles"
2537
+ }
2538
+ },
2539
+ {
2540
+ "kind": "js",
2541
+ "name": "*",
2542
+ "declaration": {
2543
+ "name": "*",
2544
+ "package": "./accordion"
2545
+ }
2546
+ }
2547
+ ]
2548
+ },
2549
+ {
2550
+ "kind": "javascript-module",
2551
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2552
+ "declarations": [
2553
+ {
2554
+ "kind": "variable",
2555
+ "name": "foundationAiCriteriaSearchStyles",
2556
+ "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`"
2557
+ }
2558
+ ],
2559
+ "exports": [
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationAiCriteriaSearchStyles",
2563
+ "declaration": {
2564
+ "name": "foundationAiCriteriaSearchStyles",
2565
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2566
+ }
2567
+ }
2568
+ ]
2569
+ },
2570
+ {
2571
+ "kind": "javascript-module",
2572
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2573
+ "declarations": [
2574
+ {
2575
+ "kind": "variable",
2576
+ "name": "foundationAiCriteriaSearchTemplate",
2577
+ "type": {
2578
+ "text": "ViewTemplate<AiCriteriaSearch>"
2579
+ },
2580
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2581
+ }
2582
+ ],
2583
+ "exports": [
2584
+ {
2585
+ "kind": "js",
2586
+ "name": "foundationAiCriteriaSearchTemplate",
2587
+ "declaration": {
2588
+ "name": "foundationAiCriteriaSearchTemplate",
2589
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2590
+ }
2591
+ }
2592
+ ]
2593
+ },
2594
+ {
2595
+ "kind": "javascript-module",
2596
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2486
2597
  "declarations": [
2487
2598
  {
2488
2599
  "kind": "class",
2489
2600
  "description": "",
2490
- "name": "ActionsMenu",
2601
+ "name": "AiCriteriaSearch",
2491
2602
  "members": [
2492
2603
  {
2493
2604
  "kind": "field",
2494
- "name": "actions",
2605
+ "name": "aiProvider",
2495
2606
  "type": {
2496
- "text": "ActionMenuItem[]"
2607
+ "text": "AIProvider"
2497
2608
  }
2498
2609
  },
2499
2610
  {
2500
2611
  "kind": "field",
2501
- "name": "isVertical",
2502
- "type": {
2503
- "text": "boolean"
2504
- },
2505
- "default": "false"
2506
- },
2507
- {
2508
- "kind": "field",
2509
- "name": "addDefaultActions",
2612
+ "name": "placeholder",
2510
2613
  "type": {
2511
- "text": "boolean"
2614
+ "text": "string"
2512
2615
  },
2513
- "default": "true"
2616
+ "default": "'Describe your search criteria in natural language...'"
2514
2617
  },
2515
2618
  {
2516
2619
  "kind": "field",
2517
- "name": "autoCloseOnAction",
2620
+ "name": "disabled",
2518
2621
  "type": {
2519
2622
  "text": "boolean"
2520
- },
2521
- "default": "true"
2522
- },
2523
- {
2524
- "kind": "field",
2525
- "name": "classNames",
2526
- "type": {
2527
- "text": "string"
2528
2623
  }
2529
2624
  },
2530
2625
  {
2531
2626
  "kind": "field",
2532
- "name": "definition",
2627
+ "name": "mode",
2533
2628
  "type": {
2534
- "text": "any"
2535
- }
2629
+ "text": "'append' | 'replace'"
2630
+ },
2631
+ "default": "'replace'"
2536
2632
  },
2537
2633
  {
2538
2634
  "kind": "field",
2539
- "name": "name",
2635
+ "name": "inputValue",
2540
2636
  "type": {
2541
2637
  "text": "string"
2542
2638
  },
2543
- "default": "'Actions'"
2639
+ "default": "''"
2544
2640
  },
2545
2641
  {
2546
2642
  "kind": "field",
2547
- "name": "open",
2643
+ "name": "isInterpreting",
2548
2644
  "type": {
2549
2645
  "text": "boolean"
2550
2646
  },
@@ -2552,22 +2648,23 @@
2552
2648
  },
2553
2649
  {
2554
2650
  "kind": "field",
2555
- "name": "buttonAppearance",
2651
+ "name": "lastValidCriteria",
2556
2652
  "type": {
2557
- "text": "string"
2558
- }
2653
+ "text": "string | null"
2654
+ },
2655
+ "default": "null"
2559
2656
  },
2560
2657
  {
2561
2658
  "kind": "field",
2562
- "name": "hideDisabled",
2659
+ "name": "fieldMetadata",
2563
2660
  "type": {
2564
- "text": "boolean"
2661
+ "text": "MetadataDetail[] | string[]"
2565
2662
  },
2566
- "default": "false"
2663
+ "default": "[]"
2567
2664
  },
2568
2665
  {
2569
2666
  "kind": "field",
2570
- "name": "hideMenuSingleOption",
2667
+ "name": "isRecording",
2571
2668
  "type": {
2572
2669
  "text": "boolean"
2573
2670
  },
@@ -2575,94 +2672,67 @@
2575
2672
  },
2576
2673
  {
2577
2674
  "kind": "field",
2578
- "name": "singleOption",
2675
+ "name": "textAreaRef",
2579
2676
  "type": {
2580
- "text": "ActionMenuItem"
2581
- }
2677
+ "text": "HTMLTextAreaElement"
2678
+ },
2679
+ "privacy": "public"
2582
2680
  },
2583
2681
  {
2584
2682
  "kind": "field",
2585
- "name": "actionsMenu",
2683
+ "name": "stopRecording",
2586
2684
  "type": {
2587
- "text": "HTMLElement"
2588
- }
2589
- },
2590
- {
2591
- "kind": "method",
2592
- "name": "definitionChanged",
2593
- "privacy": "protected",
2594
- "parameters": [
2595
- {
2596
- "name": "oldValue",
2597
- "type": {
2598
- "text": "any"
2599
- }
2600
- },
2601
- {
2602
- "name": "newValue",
2603
- "type": {
2604
- "text": "any"
2605
- }
2606
- }
2607
- ]
2608
- },
2609
- {
2610
- "kind": "method",
2611
- "name": "openChanged",
2612
- "privacy": "protected"
2613
- },
2614
- {
2615
- "kind": "method",
2616
- "name": "toggleActionsMenuVisibility"
2685
+ "text": "(() => void) | null"
2686
+ },
2687
+ "privacy": "private",
2688
+ "default": "null"
2617
2689
  },
2618
2690
  {
2619
- "kind": "method",
2620
- "name": "onActionMenuItemClick",
2621
- "parameters": [
2622
- {
2623
- "name": "callback",
2624
- "type": {
2625
- "text": "(rowData) => void | any"
2626
- }
2627
- }
2628
- ]
2691
+ "kind": "field",
2692
+ "name": "speechApplyDebounceTimer",
2693
+ "type": {
2694
+ "text": "ReturnType<typeof setTimeout> | null"
2695
+ },
2696
+ "privacy": "private",
2697
+ "default": "null"
2629
2698
  },
2630
2699
  {
2631
2700
  "kind": "field",
2632
- "name": "allActions",
2701
+ "name": "baseInputForAppend",
2633
2702
  "type": {
2634
- "text": "ActionMenuItem[]"
2703
+ "text": "string"
2635
2704
  },
2636
- "readonly": true
2705
+ "privacy": "private",
2706
+ "default": "''"
2637
2707
  },
2638
2708
  {
2639
2709
  "kind": "field",
2640
- "name": "rowData",
2710
+ "name": "speechAvailable",
2711
+ "type": {
2712
+ "text": "boolean"
2713
+ },
2641
2714
  "readonly": true
2642
2715
  },
2643
2716
  {
2644
2717
  "kind": "method",
2645
- "name": "getLabel",
2646
- "parameters": [
2647
- {
2648
- "name": "name",
2649
- "type": {
2650
- "text": "string | ((rowData: any) => string)"
2651
- }
2652
- }
2653
- ]
2718
+ "name": "handleSubmit"
2654
2719
  },
2655
2720
  {
2656
2721
  "kind": "method",
2657
- "name": "getTemplate",
2658
- "parameters": [
2659
- {
2660
- "name": "prefix",
2661
- "type": {
2662
- "text": "string"
2663
- }
2664
- }
2665
- ]
2722
+ "name": "handleBlur"
2723
+ },
2724
+ {
2725
+ "kind": "method",
2726
+ "name": "clear"
2727
+ },
2728
+ {
2729
+ "kind": "method",
2730
+ "name": "toggleSpeechInput"
2731
+ },
2732
+ {
2733
+ "kind": "method",
2734
+ "name": "clearSpeechApplyDebounce",
2735
+ "privacy": "private"
2666
2736
  },
2667
2737
  {
2668
2738
  "kind": "field",
@@ -2778,129 +2848,241 @@
2778
2848
  ],
2779
2849
  "attributes": [
2780
2850
  {
2781
- "name": "is-vertical",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "false",
2786
- "fieldName": "isVertical"
2787
- },
2788
- {
2789
- "name": "add-default-actions",
2851
+ "name": "placeholder",
2790
2852
  "type": {
2791
- "text": "boolean"
2853
+ "text": "string"
2792
2854
  },
2793
- "default": "true",
2794
- "fieldName": "addDefaultActions"
2855
+ "default": "'Describe your search criteria in natural language...'",
2856
+ "fieldName": "placeholder"
2795
2857
  },
2796
2858
  {
2797
- "name": "auto-close-on-action",
2798
2859
  "type": {
2799
2860
  "text": "boolean"
2800
2861
  },
2801
- "default": "true",
2802
- "fieldName": "autoCloseOnAction"
2862
+ "fieldName": "disabled"
2803
2863
  },
2804
2864
  {
2805
- "name": "name",
2865
+ "name": "mode",
2806
2866
  "type": {
2807
- "text": "string"
2867
+ "text": "'append' | 'replace'"
2808
2868
  },
2809
- "default": "'Actions'",
2810
- "fieldName": "name"
2811
- },
2869
+ "default": "'replace'",
2870
+ "fieldName": "mode"
2871
+ }
2872
+ ],
2873
+ "superclass": {
2874
+ "name": "FoundationElement",
2875
+ "package": "@microsoft/fast-foundation"
2876
+ },
2877
+ "tagName": "%%prefix%%-ai-criteria-search",
2878
+ "customElement": true
2879
+ },
2880
+ {
2881
+ "kind": "variable",
2882
+ "name": "foundationAiCriteriaSearchShadowOptions",
2883
+ "type": {
2884
+ "text": "ShadowRootInit"
2885
+ },
2886
+ "default": "undefined"
2887
+ },
2888
+ {
2889
+ "kind": "variable",
2890
+ "name": "defaultAiCriteriaSearchConfig",
2891
+ "type": {
2892
+ "text": "object"
2893
+ },
2894
+ "default": "{}"
2895
+ },
2896
+ {
2897
+ "kind": "variable",
2898
+ "name": "foundationAiCriteriaSearch"
2899
+ }
2900
+ ],
2901
+ "exports": [
2902
+ {
2903
+ "kind": "js",
2904
+ "name": "AiCriteriaSearch",
2905
+ "declaration": {
2906
+ "name": "AiCriteriaSearch",
2907
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2908
+ }
2909
+ },
2910
+ {
2911
+ "kind": "js",
2912
+ "name": "foundationAiCriteriaSearchShadowOptions",
2913
+ "declaration": {
2914
+ "name": "foundationAiCriteriaSearchShadowOptions",
2915
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2916
+ }
2917
+ },
2918
+ {
2919
+ "kind": "js",
2920
+ "name": "defaultAiCriteriaSearchConfig",
2921
+ "declaration": {
2922
+ "name": "defaultAiCriteriaSearchConfig",
2923
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2924
+ }
2925
+ },
2926
+ {
2927
+ "kind": "js",
2928
+ "name": "foundationAiCriteriaSearch",
2929
+ "declaration": {
2930
+ "name": "foundationAiCriteriaSearch",
2931
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2932
+ }
2933
+ }
2934
+ ]
2935
+ },
2936
+ {
2937
+ "kind": "javascript-module",
2938
+ "path": "src/ai-criteria-search/index.ts",
2939
+ "declarations": [],
2940
+ "exports": [
2941
+ {
2942
+ "kind": "js",
2943
+ "name": "AiCriteriaSearch",
2944
+ "declaration": {
2945
+ "name": "AiCriteriaSearch",
2946
+ "module": "./ai-criteria-search"
2947
+ }
2948
+ },
2949
+ {
2950
+ "kind": "js",
2951
+ "name": "defaultAiCriteriaSearchConfig",
2952
+ "declaration": {
2953
+ "name": "defaultAiCriteriaSearchConfig",
2954
+ "module": "./ai-criteria-search"
2955
+ }
2956
+ },
2957
+ {
2958
+ "kind": "js",
2959
+ "name": "foundationAiCriteriaSearch",
2960
+ "declaration": {
2961
+ "name": "foundationAiCriteriaSearch",
2962
+ "module": "./ai-criteria-search"
2963
+ }
2964
+ },
2965
+ {
2966
+ "kind": "js",
2967
+ "name": "foundationAiCriteriaSearchShadowOptions",
2968
+ "declaration": {
2969
+ "name": "foundationAiCriteriaSearchShadowOptions",
2970
+ "module": "./ai-criteria-search"
2971
+ }
2972
+ },
2973
+ {
2974
+ "kind": "js",
2975
+ "name": "foundationAiCriteriaSearchStyles",
2976
+ "declaration": {
2977
+ "name": "foundationAiCriteriaSearchStyles",
2978
+ "module": "./ai-criteria-search.styles"
2979
+ }
2980
+ },
2981
+ {
2982
+ "kind": "js",
2983
+ "name": "foundationAiCriteriaSearchTemplate",
2984
+ "declaration": {
2985
+ "name": "foundationAiCriteriaSearchTemplate",
2986
+ "module": "./ai-criteria-search.template"
2987
+ }
2988
+ },
2989
+ {
2990
+ "kind": "js",
2991
+ "name": "*",
2992
+ "declaration": {
2993
+ "name": "*",
2994
+ "package": "./validation/criteria-ir"
2995
+ }
2996
+ },
2997
+ {
2998
+ "kind": "js",
2999
+ "name": "*",
3000
+ "declaration": {
3001
+ "name": "*",
3002
+ "package": "./validation/operator-map"
3003
+ }
3004
+ },
3005
+ {
3006
+ "kind": "js",
3007
+ "name": "*",
3008
+ "declaration": {
3009
+ "name": "*",
3010
+ "package": "./validation/schema-validator"
3011
+ }
3012
+ }
3013
+ ]
3014
+ },
3015
+ {
3016
+ "kind": "javascript-module",
3017
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3018
+ "declarations": [
3019
+ {
3020
+ "kind": "function",
3021
+ "name": "formatValidationErrors",
3022
+ "return": {
3023
+ "type": {
3024
+ "text": "string"
3025
+ }
3026
+ },
3027
+ "parameters": [
2812
3028
  {
2813
- "name": "open",
3029
+ "name": "errors",
2814
3030
  "type": {
2815
- "text": "boolean"
2816
- },
2817
- "default": "false",
2818
- "fieldName": "open"
2819
- },
3031
+ "text": "ValidationError[]"
3032
+ }
3033
+ }
3034
+ ],
3035
+ "description": "Formats validation errors into a user-friendly message."
3036
+ },
3037
+ {
3038
+ "kind": "function",
3039
+ "name": "showCriteriaError",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "void"
3043
+ }
3044
+ },
3045
+ "parameters": [
2820
3046
  {
2821
- "name": "buttonAppearance",
3047
+ "name": "title",
2822
3048
  "type": {
2823
3049
  "text": "string"
2824
3050
  },
2825
- "fieldName": "buttonAppearance"
3051
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2826
3052
  },
2827
3053
  {
2828
- "name": "hide-disabled",
3054
+ "name": "body",
2829
3055
  "type": {
2830
- "text": "boolean"
3056
+ "text": "string"
2831
3057
  },
2832
- "default": "false",
2833
- "fieldName": "hideDisabled"
3058
+ "description": "Error message to display"
2834
3059
  },
2835
3060
  {
2836
- "name": "hide-menu-single-option",
3061
+ "name": "tagName",
2837
3062
  "type": {
2838
- "text": "boolean"
3063
+ "text": "string"
2839
3064
  },
2840
- "default": "false",
2841
- "fieldName": "hideMenuSingleOption"
3065
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2842
3066
  }
2843
3067
  ],
2844
- "superclass": {
2845
- "name": "FoundationElement",
2846
- "package": "@microsoft/fast-foundation"
2847
- },
2848
- "tagName": "%%prefix%%-actions-menu",
2849
- "customElement": true
2850
- },
2851
- {
2852
- "kind": "variable",
2853
- "name": "foundationActionsMenu",
2854
- "description": "The Foundation Actions Menu",
2855
- "privacy": "public"
3068
+ "description": "Shows a criteria error as a toast notification."
2856
3069
  }
2857
3070
  ],
2858
3071
  "exports": [
2859
3072
  {
2860
3073
  "kind": "js",
2861
- "name": "ActionsMenu",
2862
- "declaration": {
2863
- "name": "ActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2865
- }
2866
- },
2867
- {
2868
- "kind": "js",
2869
- "name": "foundationActionsMenu",
2870
- "declaration": {
2871
- "name": "foundationActionsMenu",
2872
- "module": "src/actions-menu/actions-menu.ts"
2873
- }
2874
- }
2875
- ]
2876
- },
2877
- {
2878
- "kind": "javascript-module",
2879
- "path": "src/actions-menu/index.ts",
2880
- "declarations": [],
2881
- "exports": [
2882
- {
2883
- "kind": "js",
2884
- "name": "*",
2885
- "declaration": {
2886
- "name": "*",
2887
- "package": "./actions-menu.styles"
2888
- }
2889
- },
2890
- {
2891
- "kind": "js",
2892
- "name": "*",
3074
+ "name": "formatValidationErrors",
2893
3075
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu.template"
3076
+ "name": "formatValidationErrors",
3077
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2896
3078
  }
2897
3079
  },
2898
3080
  {
2899
3081
  "kind": "js",
2900
- "name": "*",
3082
+ "name": "showCriteriaError",
2901
3083
  "declaration": {
2902
- "name": "*",
2903
- "package": "./actions-menu"
3084
+ "name": "showCriteriaError",
3085
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2904
3086
  }
2905
3087
  }
2906
3088
  ]
@@ -3344,188 +3526,6 @@
3344
3526
  }
3345
3527
  ]
3346
3528
  },
3347
- {
3348
- "kind": "javascript-module",
3349
- "path": "src/accordion/accordion.styles.ts",
3350
- "declarations": [
3351
- {
3352
- "kind": "function",
3353
- "name": "foundationAccordionStyles",
3354
- "return": {
3355
- "type": {
3356
- "text": "ElementStyles"
3357
- }
3358
- },
3359
- "parameters": [
3360
- {
3361
- "name": "context",
3362
- "type": {
3363
- "text": "ElementDefinitionContext"
3364
- }
3365
- },
3366
- {
3367
- "name": "definition",
3368
- "type": {
3369
- "text": "FoundationElementDefinition"
3370
- }
3371
- }
3372
- ]
3373
- }
3374
- ],
3375
- "exports": [
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAccordionStyles",
3379
- "declaration": {
3380
- "name": "foundationAccordionStyles",
3381
- "module": "src/accordion/accordion.styles.ts"
3382
- }
3383
- }
3384
- ]
3385
- },
3386
- {
3387
- "kind": "javascript-module",
3388
- "path": "src/accordion/accordion.template.ts",
3389
- "declarations": [
3390
- {
3391
- "kind": "function",
3392
- "name": "foundationAccordionTemplate",
3393
- "return": {
3394
- "type": {
3395
- "text": "ViewTemplate<Accordion>"
3396
- }
3397
- },
3398
- "parameters": [
3399
- {
3400
- "name": "context",
3401
- "type": {
3402
- "text": "ElementDefinitionContext"
3403
- }
3404
- },
3405
- {
3406
- "name": "definition",
3407
- "type": {
3408
- "text": "FoundationElementDefinition"
3409
- }
3410
- }
3411
- ]
3412
- }
3413
- ],
3414
- "exports": [
3415
- {
3416
- "kind": "js",
3417
- "name": "foundationAccordionTemplate",
3418
- "declaration": {
3419
- "name": "foundationAccordionTemplate",
3420
- "module": "src/accordion/accordion.template.ts"
3421
- }
3422
- }
3423
- ]
3424
- },
3425
- {
3426
- "kind": "javascript-module",
3427
- "path": "src/accordion/accordion.ts",
3428
- "declarations": [
3429
- {
3430
- "kind": "class",
3431
- "description": "",
3432
- "name": "Accordion",
3433
- "superclass": {
3434
- "name": "FASTAccordion",
3435
- "package": "@microsoft/fast-foundation"
3436
- },
3437
- "tagName": "%%prefix%%-accordion",
3438
- "customElement": true
3439
- },
3440
- {
3441
- "kind": "variable",
3442
- "name": "foundationAccordionShadowOptions",
3443
- "type": {
3444
- "text": "ShadowRootInit"
3445
- },
3446
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3447
- },
3448
- {
3449
- "kind": "variable",
3450
- "name": "defaultAccordionConfig",
3451
- "type": {
3452
- "text": "object"
3453
- },
3454
- "default": "{}"
3455
- },
3456
- {
3457
- "kind": "variable",
3458
- "name": "foundationAccordion",
3459
- "description": "The Foundation Accordion",
3460
- "privacy": "public"
3461
- }
3462
- ],
3463
- "exports": [
3464
- {
3465
- "kind": "js",
3466
- "name": "Accordion",
3467
- "declaration": {
3468
- "name": "Accordion",
3469
- "module": "src/accordion/accordion.ts"
3470
- }
3471
- },
3472
- {
3473
- "kind": "js",
3474
- "name": "foundationAccordionShadowOptions",
3475
- "declaration": {
3476
- "name": "foundationAccordionShadowOptions",
3477
- "module": "src/accordion/accordion.ts"
3478
- }
3479
- },
3480
- {
3481
- "kind": "js",
3482
- "name": "defaultAccordionConfig",
3483
- "declaration": {
3484
- "name": "defaultAccordionConfig",
3485
- "module": "src/accordion/accordion.ts"
3486
- }
3487
- },
3488
- {
3489
- "kind": "js",
3490
- "name": "foundationAccordion",
3491
- "declaration": {
3492
- "name": "foundationAccordion",
3493
- "module": "src/accordion/accordion.ts"
3494
- }
3495
- }
3496
- ]
3497
- },
3498
- {
3499
- "kind": "javascript-module",
3500
- "path": "src/accordion/index.ts",
3501
- "declarations": [],
3502
- "exports": [
3503
- {
3504
- "kind": "js",
3505
- "name": "*",
3506
- "declaration": {
3507
- "name": "*",
3508
- "package": "./accordion.template"
3509
- }
3510
- },
3511
- {
3512
- "kind": "js",
3513
- "name": "*",
3514
- "declaration": {
3515
- "name": "*",
3516
- "package": "./accordion.styles"
3517
- }
3518
- },
3519
- {
3520
- "kind": "js",
3521
- "name": "*",
3522
- "declaration": {
3523
- "name": "*",
3524
- "package": "./accordion"
3525
- }
3526
- }
3527
- ]
3528
- },
3529
3529
  {
3530
3530
  "kind": "javascript-module",
3531
3531
  "path": "src/anchor/anchor.styles.ts",