@genesislcap/foundation-ui 14.418.1-alpha-228b283.0 → 14.418.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1807,123 +1807,203 @@
1807
1807
  },
1808
1808
  {
1809
1809
  "kind": "javascript-module",
1810
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
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
- }
1883
- },
1884
- {
1885
- "kind": "field",
1886
- "name": "mode",
1887
- "type": {
1888
- "text": "'append' | 'replace'"
1889
1971
  },
1890
- "default": "'replace'"
1972
+ "default": "true"
1891
1973
  },
1892
1974
  {
1893
1975
  "kind": "field",
1894
- "name": "inputValue",
1976
+ "name": "autoCloseOnAction",
1895
1977
  "type": {
1896
- "text": "string"
1978
+ "text": "boolean"
1897
1979
  },
1898
- "default": "''"
1980
+ "default": "true"
1899
1981
  },
1900
1982
  {
1901
1983
  "kind": "field",
1902
- "name": "isInterpreting",
1984
+ "name": "classNames",
1903
1985
  "type": {
1904
- "text": "boolean"
1905
- },
1906
- "default": "false"
1986
+ "text": "string"
1987
+ }
1907
1988
  },
1908
1989
  {
1909
1990
  "kind": "field",
1910
- "name": "lastValidCriteria",
1991
+ "name": "definition",
1911
1992
  "type": {
1912
- "text": "string | null"
1913
- },
1914
- "default": "null"
1993
+ "text": "any"
1994
+ }
1915
1995
  },
1916
1996
  {
1917
1997
  "kind": "field",
1918
- "name": "fieldMetadata",
1998
+ "name": "name",
1919
1999
  "type": {
1920
- "text": "MetadataDetail[] | string[]"
2000
+ "text": "string"
1921
2001
  },
1922
- "default": "[]"
2002
+ "default": "'Actions'"
1923
2003
  },
1924
2004
  {
1925
2005
  "kind": "field",
1926
- "name": "isRecording",
2006
+ "name": "open",
1927
2007
  "type": {
1928
2008
  "text": "boolean"
1929
2009
  },
@@ -1931,85 +2011,135 @@
1931
2011
  },
1932
2012
  {
1933
2013
  "kind": "field",
1934
- "name": "textAreaRef",
2014
+ "name": "buttonAppearance",
1935
2015
  "type": {
1936
- "text": "HTMLTextAreaElement"
1937
- },
1938
- "privacy": "public"
2016
+ "text": "string"
2017
+ }
1939
2018
  },
1940
2019
  {
1941
2020
  "kind": "field",
1942
- "name": "stopRecording",
2021
+ "name": "hideDisabled",
1943
2022
  "type": {
1944
- "text": "(() => void) | null"
2023
+ "text": "boolean"
1945
2024
  },
1946
- "privacy": "private",
1947
- "default": "null"
2025
+ "default": "false"
1948
2026
  },
1949
2027
  {
1950
2028
  "kind": "field",
1951
- "name": "speechApplyDebounceTimer",
2029
+ "name": "hideMenuSingleOption",
1952
2030
  "type": {
1953
- "text": "ReturnType<typeof setTimeout> | null"
2031
+ "text": "boolean"
1954
2032
  },
1955
- "privacy": "private",
1956
- "default": "null"
2033
+ "default": "false"
1957
2034
  },
1958
2035
  {
1959
2036
  "kind": "field",
1960
- "name": "baseInputForAppend",
2037
+ "name": "singleOption",
1961
2038
  "type": {
1962
- "text": "string"
1963
- },
1964
- "privacy": "private",
1965
- "default": "''"
2039
+ "text": "ActionMenuItem"
2040
+ }
1966
2041
  },
1967
2042
  {
1968
2043
  "kind": "field",
1969
- "name": "speechAvailable",
2044
+ "name": "actionsMenu",
1970
2045
  "type": {
1971
- "text": "boolean"
1972
- },
1973
- "readonly": true
1974
- },
1975
- {
1976
- "kind": "method",
1977
- "name": "handleSubmit"
2046
+ "text": "HTMLElement"
2047
+ }
1978
2048
  },
1979
2049
  {
1980
2050
  "kind": "method",
1981
- "name": "handleBlur"
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
+ ]
1982
2067
  },
1983
2068
  {
1984
2069
  "kind": "method",
1985
- "name": "clear"
2070
+ "name": "openChanged",
2071
+ "privacy": "protected"
1986
2072
  },
1987
2073
  {
1988
2074
  "kind": "method",
1989
- "name": "toggleSpeechInput"
2075
+ "name": "toggleActionsMenuVisibility"
1990
2076
  },
1991
2077
  {
1992
2078
  "kind": "method",
1993
- "name": "clearSpeechApplyDebounce",
1994
- "privacy": "private"
2079
+ "name": "onActionMenuItemClick",
2080
+ "parameters": [
2081
+ {
2082
+ "name": "callback",
2083
+ "type": {
2084
+ "text": "(rowData) => void | any"
2085
+ }
2086
+ }
2087
+ ]
1995
2088
  },
1996
2089
  {
1997
2090
  "kind": "field",
1998
- "name": "_presentation",
2091
+ "name": "allActions",
1999
2092
  "type": {
2000
- "text": "ComponentPresentation | null | undefined"
2093
+ "text": "ActionMenuItem[]"
2001
2094
  },
2002
- "privacy": "private",
2003
- "default": "void 0",
2004
- "inheritedFrom": {
2005
- "name": "FoundationElement",
2006
- "module": "src/foundation-element/foundation-element.ts"
2007
- }
2095
+ "readonly": true
2008
2096
  },
2009
2097
  {
2010
2098
  "kind": "field",
2011
- "name": "$presentation",
2012
- "type": {
2099
+ "name": "rowData",
2100
+ "readonly": true
2101
+ },
2102
+ {
2103
+ "kind": "method",
2104
+ "name": "getLabel",
2105
+ "parameters": [
2106
+ {
2107
+ "name": "name",
2108
+ "type": {
2109
+ "text": "string | ((rowData: any) => string)"
2110
+ }
2111
+ }
2112
+ ]
2113
+ },
2114
+ {
2115
+ "kind": "method",
2116
+ "name": "getTemplate",
2117
+ "parameters": [
2118
+ {
2119
+ "name": "prefix",
2120
+ "type": {
2121
+ "text": "string"
2122
+ }
2123
+ }
2124
+ ]
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "_presentation",
2129
+ "type": {
2130
+ "text": "ComponentPresentation | null | undefined"
2131
+ },
2132
+ "privacy": "private",
2133
+ "default": "void 0",
2134
+ "inheritedFrom": {
2135
+ "name": "FoundationElement",
2136
+ "module": "src/foundation-element/foundation-element.ts"
2137
+ }
2138
+ },
2139
+ {
2140
+ "kind": "field",
2141
+ "name": "$presentation",
2142
+ "type": {
2013
2143
  "text": "ComponentPresentation | null"
2014
2144
  },
2015
2145
  "privacy": "public",
@@ -2107,444 +2237,252 @@
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
2341
  {
2201
2342
  "kind": "js",
2202
- "name": "AiCriteriaSearch",
2343
+ "name": "*",
2203
2344
  "declaration": {
2204
- "name": "AiCriteriaSearch",
2205
- "module": "./ai-criteria-search"
2345
+ "name": "*",
2346
+ "package": "./actions-menu.styles"
2206
2347
  }
2207
2348
  },
2208
2349
  {
2209
2350
  "kind": "js",
2210
- "name": "defaultAiCriteriaSearchConfig",
2351
+ "name": "*",
2211
2352
  "declaration": {
2212
- "name": "defaultAiCriteriaSearchConfig",
2213
- "module": "./ai-criteria-search"
2353
+ "name": "*",
2354
+ "package": "./actions-menu.template"
2214
2355
  }
2215
2356
  },
2216
2357
  {
2217
2358
  "kind": "js",
2218
- "name": "foundationAiCriteriaSearch",
2359
+ "name": "*",
2219
2360
  "declaration": {
2220
- "name": "foundationAiCriteriaSearch",
2221
- "module": "./ai-criteria-search"
2361
+ "name": "*",
2362
+ "package": "./actions-menu"
2222
2363
  }
2223
- },
2364
+ }
2365
+ ]
2366
+ },
2367
+ {
2368
+ "kind": "javascript-module",
2369
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2370
+ "declarations": [
2224
2371
  {
2225
- "kind": "js",
2226
- "name": "foundationAiCriteriaSearchShadowOptions",
2227
- "declaration": {
2228
- "name": "foundationAiCriteriaSearchShadowOptions",
2229
- "module": "./ai-criteria-search"
2230
- }
2231
- },
2372
+ "kind": "variable",
2373
+ "name": "foundationAiCriteriaSearchStyles",
2374
+ "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`"
2375
+ }
2376
+ ],
2377
+ "exports": [
2232
2378
  {
2233
2379
  "kind": "js",
2234
2380
  "name": "foundationAiCriteriaSearchStyles",
2235
2381
  "declaration": {
2236
2382
  "name": "foundationAiCriteriaSearchStyles",
2237
- "module": "./ai-criteria-search.styles"
2383
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2238
2384
  }
2239
- },
2385
+ }
2386
+ ]
2387
+ },
2388
+ {
2389
+ "kind": "javascript-module",
2390
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2391
+ "declarations": [
2240
2392
  {
2241
- "kind": "js",
2393
+ "kind": "variable",
2242
2394
  "name": "foundationAiCriteriaSearchTemplate",
2243
- "declaration": {
2244
- "name": "foundationAiCriteriaSearchTemplate",
2245
- "module": "./ai-criteria-search.template"
2246
- }
2247
- },
2248
- {
2249
- "kind": "js",
2250
- "name": "*",
2251
- "declaration": {
2252
- "name": "*",
2253
- "package": "./validation/criteria-ir"
2254
- }
2255
- },
2256
- {
2257
- "kind": "js",
2258
- "name": "*",
2259
- "declaration": {
2260
- "name": "*",
2261
- "package": "./validation/operator-map"
2262
- }
2263
- },
2395
+ "type": {
2396
+ "text": "ViewTemplate<AiCriteriaSearch>"
2397
+ },
2398
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2399
+ }
2400
+ ],
2401
+ "exports": [
2264
2402
  {
2265
2403
  "kind": "js",
2266
- "name": "*",
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2267
2405
  "declaration": {
2268
- "name": "*",
2269
- "package": "./validation/schema-validator"
2406
+ "name": "foundationAiCriteriaSearchTemplate",
2407
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2270
2408
  }
2271
2409
  }
2272
2410
  ]
2273
2411
  },
2274
2412
  {
2275
2413
  "kind": "javascript-module",
2276
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2414
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2277
2415
  "declarations": [
2278
2416
  {
2279
- "kind": "function",
2280
- "name": "formatValidationErrors",
2281
- "return": {
2282
- "type": {
2283
- "text": "string"
2284
- }
2285
- },
2286
- "parameters": [
2417
+ "kind": "class",
2418
+ "description": "",
2419
+ "name": "AiCriteriaSearch",
2420
+ "members": [
2287
2421
  {
2288
- "name": "errors",
2422
+ "kind": "field",
2423
+ "name": "aiProvider",
2289
2424
  "type": {
2290
- "text": "ValidationError[]"
2425
+ "text": "AIProvider"
2291
2426
  }
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
2427
  },
2312
2428
  {
2313
- "name": "body",
2314
- "type": {
2315
- "text": "string"
2316
- },
2317
- "description": "Error message to display"
2318
- },
2319
- {
2320
- "name": "tagName",
2429
+ "kind": "field",
2430
+ "name": "placeholder",
2321
2431
  "type": {
2322
2432
  "text": "string"
2323
2433
  },
2324
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2325
- }
2326
- ],
2327
- "description": "Shows a criteria error as a toast notification."
2328
- }
2329
- ],
2330
- "exports": [
2331
- {
2332
- "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",
2342
- "declaration": {
2343
- "name": "showCriteriaError",
2344
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2345
- }
2346
- }
2347
- ]
2348
- },
2349
- {
2350
- "kind": "javascript-module",
2351
- "path": "src/actions-menu/actions-menu.styles.ts",
2352
- "declarations": [
2353
- {
2354
- "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",
2379
- "return": {
2380
- "type": {
2381
- "text": "ElementStyles"
2382
- }
2383
- },
2384
- "parameters": [
2385
- {
2386
- "name": "context",
2387
- "type": {
2388
- "text": "ElementDefinitionContext"
2389
- }
2434
+ "default": "'Describe your search criteria in natural language...'"
2390
2435
  },
2391
- {
2392
- "name": "definition",
2393
- "type": {
2394
- "text": "FoundationElementDefinition"
2395
- }
2396
- }
2397
- ]
2398
- }
2399
- ],
2400
- "exports": [
2401
- {
2402
- "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",
2412
- "declaration": {
2413
- "name": "foundationActionsMenuStyles",
2414
- "module": "src/actions-menu/actions-menu.styles.ts"
2415
- }
2416
- }
2417
- ]
2418
- },
2419
- {
2420
- "kind": "javascript-module",
2421
- "path": "src/actions-menu/actions-menu.template.ts",
2422
- "declarations": [
2423
- {
2424
- "kind": "function",
2425
- "name": "menuTemplate",
2426
- "parameters": [
2427
- {
2428
- "name": "prefix",
2429
- "type": {
2430
- "text": "string"
2431
- }
2432
- }
2433
- ]
2434
- },
2435
- {
2436
- "kind": "function",
2437
- "name": "singleOptionTemplate",
2438
- "parameters": [
2439
- {
2440
- "name": "prefix",
2441
- "type": {
2442
- "text": "string"
2443
- }
2444
- }
2445
- ]
2446
- },
2447
- {
2448
- "kind": "variable",
2449
- "name": "foundationActionsMenuTemplate",
2450
- "type": {
2451
- "text": "ViewTemplate<ActionsMenu>"
2452
- },
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`"
2454
- }
2455
- ],
2456
- "exports": [
2457
- {
2458
- "kind": "js",
2459
- "name": "menuTemplate",
2460
- "declaration": {
2461
- "name": "menuTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "singleOptionTemplate",
2468
- "declaration": {
2469
- "name": "singleOptionTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2471
- }
2472
- },
2473
- {
2474
- "kind": "js",
2475
- "name": "foundationActionsMenuTemplate",
2476
- "declaration": {
2477
- "name": "foundationActionsMenuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2479
- }
2480
- }
2481
- ]
2482
- },
2483
- {
2484
- "kind": "javascript-module",
2485
- "path": "src/actions-menu/actions-menu.ts",
2486
- "declarations": [
2487
- {
2488
- "kind": "class",
2489
- "description": "",
2490
- "name": "ActionsMenu",
2491
- "members": [
2492
2436
  {
2493
2437
  "kind": "field",
2494
- "name": "actions",
2438
+ "name": "disabled",
2495
2439
  "type": {
2496
- "text": "ActionMenuItem[]"
2440
+ "text": "boolean"
2497
2441
  }
2498
2442
  },
2499
2443
  {
2500
2444
  "kind": "field",
2501
- "name": "isVertical",
2445
+ "name": "mode",
2502
2446
  "type": {
2503
- "text": "boolean"
2447
+ "text": "'append' | 'replace'"
2504
2448
  },
2505
- "default": "false"
2449
+ "default": "'replace'"
2506
2450
  },
2507
2451
  {
2508
2452
  "kind": "field",
2509
- "name": "addDefaultActions",
2453
+ "name": "inputValue",
2510
2454
  "type": {
2511
- "text": "boolean"
2455
+ "text": "string"
2512
2456
  },
2513
- "default": "true"
2457
+ "default": "''"
2514
2458
  },
2515
2459
  {
2516
2460
  "kind": "field",
2517
- "name": "autoCloseOnAction",
2461
+ "name": "isInterpreting",
2518
2462
  "type": {
2519
2463
  "text": "boolean"
2520
2464
  },
2521
- "default": "true"
2522
- },
2523
- {
2524
- "kind": "field",
2525
- "name": "classNames",
2526
- "type": {
2527
- "text": "string"
2528
- }
2465
+ "default": "false"
2529
2466
  },
2530
2467
  {
2531
2468
  "kind": "field",
2532
- "name": "definition",
2469
+ "name": "lastValidCriteria",
2533
2470
  "type": {
2534
- "text": "any"
2535
- }
2471
+ "text": "string | null"
2472
+ },
2473
+ "default": "null"
2536
2474
  },
2537
2475
  {
2538
2476
  "kind": "field",
2539
- "name": "name",
2477
+ "name": "fieldMetadata",
2540
2478
  "type": {
2541
- "text": "string"
2479
+ "text": "MetadataDetail[] | string[]"
2542
2480
  },
2543
- "default": "'Actions'"
2481
+ "default": "[]"
2544
2482
  },
2545
2483
  {
2546
2484
  "kind": "field",
2547
- "name": "open",
2485
+ "name": "isRecording",
2548
2486
  "type": {
2549
2487
  "text": "boolean"
2550
2488
  },
@@ -2552,117 +2490,67 @@
2552
2490
  },
2553
2491
  {
2554
2492
  "kind": "field",
2555
- "name": "buttonAppearance",
2493
+ "name": "textAreaRef",
2556
2494
  "type": {
2557
- "text": "string"
2558
- }
2495
+ "text": "HTMLTextAreaElement"
2496
+ },
2497
+ "privacy": "public"
2559
2498
  },
2560
2499
  {
2561
2500
  "kind": "field",
2562
- "name": "hideDisabled",
2501
+ "name": "stopRecording",
2563
2502
  "type": {
2564
- "text": "boolean"
2503
+ "text": "(() => void) | null"
2565
2504
  },
2566
- "default": "false"
2505
+ "privacy": "private",
2506
+ "default": "null"
2567
2507
  },
2568
2508
  {
2569
2509
  "kind": "field",
2570
- "name": "hideMenuSingleOption",
2510
+ "name": "speechApplyDebounceTimer",
2571
2511
  "type": {
2572
- "text": "boolean"
2512
+ "text": "ReturnType<typeof setTimeout> | null"
2573
2513
  },
2574
- "default": "false"
2514
+ "privacy": "private",
2515
+ "default": "null"
2575
2516
  },
2576
2517
  {
2577
2518
  "kind": "field",
2578
- "name": "singleOption",
2519
+ "name": "baseInputForAppend",
2579
2520
  "type": {
2580
- "text": "ActionMenuItem"
2581
- }
2521
+ "text": "string"
2522
+ },
2523
+ "privacy": "private",
2524
+ "default": "''"
2582
2525
  },
2583
2526
  {
2584
2527
  "kind": "field",
2585
- "name": "actionsMenu",
2528
+ "name": "speechAvailable",
2586
2529
  "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
- ]
2530
+ "text": "boolean"
2531
+ },
2532
+ "readonly": true
2608
2533
  },
2609
2534
  {
2610
2535
  "kind": "method",
2611
- "name": "openChanged",
2612
- "privacy": "protected"
2536
+ "name": "handleSubmit"
2613
2537
  },
2614
2538
  {
2615
2539
  "kind": "method",
2616
- "name": "toggleActionsMenuVisibility"
2540
+ "name": "handleBlur"
2617
2541
  },
2618
2542
  {
2619
2543
  "kind": "method",
2620
- "name": "onActionMenuItemClick",
2621
- "parameters": [
2622
- {
2623
- "name": "callback",
2624
- "type": {
2625
- "text": "(rowData) => void | any"
2626
- }
2627
- }
2628
- ]
2629
- },
2630
- {
2631
- "kind": "field",
2632
- "name": "allActions",
2633
- "type": {
2634
- "text": "ActionMenuItem[]"
2635
- },
2636
- "readonly": true
2637
- },
2638
- {
2639
- "kind": "field",
2640
- "name": "rowData",
2641
- "readonly": true
2544
+ "name": "clear"
2642
2545
  },
2643
2546
  {
2644
2547
  "kind": "method",
2645
- "name": "getLabel",
2646
- "parameters": [
2647
- {
2648
- "name": "name",
2649
- "type": {
2650
- "text": "string | ((rowData: any) => string)"
2651
- }
2652
- }
2653
- ]
2548
+ "name": "toggleSpeechInput"
2654
2549
  },
2655
2550
  {
2656
2551
  "kind": "method",
2657
- "name": "getTemplate",
2658
- "parameters": [
2659
- {
2660
- "name": "prefix",
2661
- "type": {
2662
- "text": "string"
2663
- }
2664
- }
2665
- ]
2552
+ "name": "clearSpeechApplyDebounce",
2553
+ "privacy": "private"
2666
2554
  },
2667
2555
  {
2668
2556
  "kind": "field",
@@ -2754,335 +2642,265 @@
2754
2642
  "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2755
2643
  }
2756
2644
  },
2757
- "parameters": [
2758
- {
2759
- "name": "this",
2760
- "type": {
2761
- "text": "K"
2762
- }
2763
- },
2764
- {
2765
- "name": "elementDefinition",
2766
- "type": {
2767
- "text": "T"
2768
- },
2769
- "description": "The definition of the element to create the registry\nfunction for."
2770
- }
2771
- ],
2772
- "description": "Defines an element registry function with a set of element definition defaults.",
2773
- "inheritedFrom": {
2774
- "name": "FoundationElement",
2775
- "module": "src/foundation-element/foundation-element.ts"
2776
- }
2777
- }
2778
- ],
2779
- "attributes": [
2780
- {
2781
- "name": "is-vertical",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "false",
2786
- "fieldName": "isVertical"
2787
- },
2788
- {
2789
- "name": "add-default-actions",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "addDefaultActions"
2795
- },
2796
- {
2797
- "name": "auto-close-on-action",
2798
- "type": {
2799
- "text": "boolean"
2800
- },
2801
- "default": "true",
2802
- "fieldName": "autoCloseOnAction"
2803
- },
2804
- {
2805
- "name": "name",
2806
- "type": {
2807
- "text": "string"
2808
- },
2809
- "default": "'Actions'",
2810
- "fieldName": "name"
2811
- },
2812
- {
2813
- "name": "open",
2814
- "type": {
2815
- "text": "boolean"
2816
- },
2817
- "default": "false",
2818
- "fieldName": "open"
2819
- },
2645
+ "parameters": [
2646
+ {
2647
+ "name": "this",
2648
+ "type": {
2649
+ "text": "K"
2650
+ }
2651
+ },
2652
+ {
2653
+ "name": "elementDefinition",
2654
+ "type": {
2655
+ "text": "T"
2656
+ },
2657
+ "description": "The definition of the element to create the registry\nfunction for."
2658
+ }
2659
+ ],
2660
+ "description": "Defines an element registry function with a set of element definition defaults.",
2661
+ "inheritedFrom": {
2662
+ "name": "FoundationElement",
2663
+ "module": "src/foundation-element/foundation-element.ts"
2664
+ }
2665
+ }
2666
+ ],
2667
+ "attributes": [
2820
2668
  {
2821
- "name": "buttonAppearance",
2669
+ "name": "placeholder",
2822
2670
  "type": {
2823
2671
  "text": "string"
2824
2672
  },
2825
- "fieldName": "buttonAppearance"
2673
+ "default": "'Describe your search criteria in natural language...'",
2674
+ "fieldName": "placeholder"
2826
2675
  },
2827
2676
  {
2828
- "name": "hide-disabled",
2829
2677
  "type": {
2830
2678
  "text": "boolean"
2831
2679
  },
2832
- "default": "false",
2833
- "fieldName": "hideDisabled"
2680
+ "fieldName": "disabled"
2834
2681
  },
2835
2682
  {
2836
- "name": "hide-menu-single-option",
2683
+ "name": "mode",
2837
2684
  "type": {
2838
- "text": "boolean"
2685
+ "text": "'append' | 'replace'"
2839
2686
  },
2840
- "default": "false",
2841
- "fieldName": "hideMenuSingleOption"
2687
+ "default": "'replace'",
2688
+ "fieldName": "mode"
2842
2689
  }
2843
2690
  ],
2844
2691
  "superclass": {
2845
2692
  "name": "FoundationElement",
2846
2693
  "package": "@microsoft/fast-foundation"
2847
2694
  },
2848
- "tagName": "%%prefix%%-actions-menu",
2695
+ "tagName": "%%prefix%%-ai-criteria-search",
2849
2696
  "customElement": true
2850
2697
  },
2851
2698
  {
2852
2699
  "kind": "variable",
2853
- "name": "foundationActionsMenu",
2854
- "description": "The Foundation Actions Menu",
2855
- "privacy": "public"
2700
+ "name": "foundationAiCriteriaSearchShadowOptions",
2701
+ "type": {
2702
+ "text": "ShadowRootInit"
2703
+ },
2704
+ "default": "undefined"
2705
+ },
2706
+ {
2707
+ "kind": "variable",
2708
+ "name": "defaultAiCriteriaSearchConfig",
2709
+ "type": {
2710
+ "text": "object"
2711
+ },
2712
+ "default": "{}"
2713
+ },
2714
+ {
2715
+ "kind": "variable",
2716
+ "name": "foundationAiCriteriaSearch"
2856
2717
  }
2857
2718
  ],
2858
2719
  "exports": [
2859
2720
  {
2860
2721
  "kind": "js",
2861
- "name": "ActionsMenu",
2722
+ "name": "AiCriteriaSearch",
2862
2723
  "declaration": {
2863
- "name": "ActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2724
+ "name": "AiCriteriaSearch",
2725
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2726
  }
2866
2727
  },
2867
2728
  {
2868
2729
  "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": "*",
2730
+ "name": "foundationAiCriteriaSearchShadowOptions",
2885
2731
  "declaration": {
2886
- "name": "*",
2887
- "package": "./actions-menu.styles"
2732
+ "name": "foundationAiCriteriaSearchShadowOptions",
2733
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2888
2734
  }
2889
2735
  },
2890
2736
  {
2891
2737
  "kind": "js",
2892
- "name": "*",
2738
+ "name": "defaultAiCriteriaSearchConfig",
2893
2739
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu.template"
2740
+ "name": "defaultAiCriteriaSearchConfig",
2741
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2896
2742
  }
2897
2743
  },
2898
2744
  {
2899
2745
  "kind": "js",
2900
- "name": "*",
2746
+ "name": "foundationAiCriteriaSearch",
2901
2747
  "declaration": {
2902
- "name": "*",
2903
- "package": "./actions-menu"
2748
+ "name": "foundationAiCriteriaSearch",
2749
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2904
2750
  }
2905
2751
  }
2906
2752
  ]
2907
2753
  },
2908
2754
  {
2909
2755
  "kind": "javascript-module",
2910
- "path": "src/accordion/accordion.styles.ts",
2911
- "declarations": [
2912
- {
2913
- "kind": "function",
2914
- "name": "foundationAccordionStyles",
2915
- "return": {
2916
- "type": {
2917
- "text": "ElementStyles"
2918
- }
2919
- },
2920
- "parameters": [
2921
- {
2922
- "name": "context",
2923
- "type": {
2924
- "text": "ElementDefinitionContext"
2925
- }
2926
- },
2927
- {
2928
- "name": "definition",
2929
- "type": {
2930
- "text": "FoundationElementDefinition"
2931
- }
2932
- }
2933
- ]
2934
- }
2935
- ],
2756
+ "path": "src/ai-criteria-search/index.ts",
2757
+ "declarations": [],
2936
2758
  "exports": [
2937
2759
  {
2938
2760
  "kind": "js",
2939
- "name": "foundationAccordionStyles",
2761
+ "name": "AiCriteriaSearch",
2940
2762
  "declaration": {
2941
- "name": "foundationAccordionStyles",
2942
- "module": "src/accordion/accordion.styles.ts"
2763
+ "name": "AiCriteriaSearch",
2764
+ "module": "./ai-criteria-search"
2943
2765
  }
2944
- }
2945
- ]
2946
- },
2947
- {
2948
- "kind": "javascript-module",
2949
- "path": "src/accordion/accordion.template.ts",
2950
- "declarations": [
2951
- {
2952
- "kind": "function",
2953
- "name": "foundationAccordionTemplate",
2954
- "return": {
2955
- "type": {
2956
- "text": "ViewTemplate<Accordion>"
2957
- }
2958
- },
2959
- "parameters": [
2960
- {
2961
- "name": "context",
2962
- "type": {
2963
- "text": "ElementDefinitionContext"
2964
- }
2965
- },
2966
- {
2967
- "name": "definition",
2968
- "type": {
2969
- "text": "FoundationElementDefinition"
2970
- }
2971
- }
2972
- ]
2973
- }
2974
- ],
2975
- "exports": [
2766
+ },
2976
2767
  {
2977
2768
  "kind": "js",
2978
- "name": "foundationAccordionTemplate",
2769
+ "name": "defaultAiCriteriaSearchConfig",
2979
2770
  "declaration": {
2980
- "name": "foundationAccordionTemplate",
2981
- "module": "src/accordion/accordion.template.ts"
2771
+ "name": "defaultAiCriteriaSearchConfig",
2772
+ "module": "./ai-criteria-search"
2982
2773
  }
2983
- }
2984
- ]
2985
- },
2986
- {
2987
- "kind": "javascript-module",
2988
- "path": "src/accordion/accordion.ts",
2989
- "declarations": [
2990
- {
2991
- "kind": "class",
2992
- "description": "",
2993
- "name": "Accordion",
2994
- "superclass": {
2995
- "name": "FASTAccordion",
2996
- "package": "@microsoft/fast-foundation"
2997
- },
2998
- "tagName": "%%prefix%%-accordion",
2999
- "customElement": true
3000
2774
  },
3001
2775
  {
3002
- "kind": "variable",
3003
- "name": "foundationAccordionShadowOptions",
3004
- "type": {
3005
- "text": "ShadowRootInit"
3006
- },
3007
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2776
+ "kind": "js",
2777
+ "name": "foundationAiCriteriaSearch",
2778
+ "declaration": {
2779
+ "name": "foundationAiCriteriaSearch",
2780
+ "module": "./ai-criteria-search"
2781
+ }
3008
2782
  },
3009
2783
  {
3010
- "kind": "variable",
3011
- "name": "defaultAccordionConfig",
3012
- "type": {
3013
- "text": "object"
3014
- },
3015
- "default": "{}"
2784
+ "kind": "js",
2785
+ "name": "foundationAiCriteriaSearchShadowOptions",
2786
+ "declaration": {
2787
+ "name": "foundationAiCriteriaSearchShadowOptions",
2788
+ "module": "./ai-criteria-search"
2789
+ }
3016
2790
  },
3017
2791
  {
3018
- "kind": "variable",
3019
- "name": "foundationAccordion",
3020
- "description": "The Foundation Accordion",
3021
- "privacy": "public"
3022
- }
3023
- ],
3024
- "exports": [
2792
+ "kind": "js",
2793
+ "name": "foundationAiCriteriaSearchStyles",
2794
+ "declaration": {
2795
+ "name": "foundationAiCriteriaSearchStyles",
2796
+ "module": "./ai-criteria-search.styles"
2797
+ }
2798
+ },
3025
2799
  {
3026
2800
  "kind": "js",
3027
- "name": "Accordion",
2801
+ "name": "foundationAiCriteriaSearchTemplate",
3028
2802
  "declaration": {
3029
- "name": "Accordion",
3030
- "module": "src/accordion/accordion.ts"
2803
+ "name": "foundationAiCriteriaSearchTemplate",
2804
+ "module": "./ai-criteria-search.template"
3031
2805
  }
3032
2806
  },
3033
2807
  {
3034
2808
  "kind": "js",
3035
- "name": "foundationAccordionShadowOptions",
2809
+ "name": "*",
3036
2810
  "declaration": {
3037
- "name": "foundationAccordionShadowOptions",
3038
- "module": "src/accordion/accordion.ts"
2811
+ "name": "*",
2812
+ "package": "./validation/criteria-ir"
3039
2813
  }
3040
2814
  },
3041
2815
  {
3042
2816
  "kind": "js",
3043
- "name": "defaultAccordionConfig",
2817
+ "name": "*",
3044
2818
  "declaration": {
3045
- "name": "defaultAccordionConfig",
3046
- "module": "src/accordion/accordion.ts"
2819
+ "name": "*",
2820
+ "package": "./validation/operator-map"
3047
2821
  }
3048
2822
  },
3049
2823
  {
3050
2824
  "kind": "js",
3051
- "name": "foundationAccordion",
2825
+ "name": "*",
3052
2826
  "declaration": {
3053
- "name": "foundationAccordion",
3054
- "module": "src/accordion/accordion.ts"
2827
+ "name": "*",
2828
+ "package": "./validation/schema-validator"
3055
2829
  }
3056
2830
  }
3057
2831
  ]
3058
2832
  },
3059
2833
  {
3060
2834
  "kind": "javascript-module",
3061
- "path": "src/accordion/index.ts",
3062
- "declarations": [],
3063
- "exports": [
2835
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2836
+ "declarations": [
3064
2837
  {
3065
- "kind": "js",
3066
- "name": "*",
3067
- "declaration": {
3068
- "name": "*",
3069
- "package": "./accordion.template"
3070
- }
2838
+ "kind": "function",
2839
+ "name": "formatValidationErrors",
2840
+ "return": {
2841
+ "type": {
2842
+ "text": "string"
2843
+ }
2844
+ },
2845
+ "parameters": [
2846
+ {
2847
+ "name": "errors",
2848
+ "type": {
2849
+ "text": "ValidationError[]"
2850
+ }
2851
+ }
2852
+ ],
2853
+ "description": "Formats validation errors into a user-friendly message."
3071
2854
  },
2855
+ {
2856
+ "kind": "function",
2857
+ "name": "showCriteriaError",
2858
+ "return": {
2859
+ "type": {
2860
+ "text": "void"
2861
+ }
2862
+ },
2863
+ "parameters": [
2864
+ {
2865
+ "name": "title",
2866
+ "type": {
2867
+ "text": "string"
2868
+ },
2869
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2870
+ },
2871
+ {
2872
+ "name": "body",
2873
+ "type": {
2874
+ "text": "string"
2875
+ },
2876
+ "description": "Error message to display"
2877
+ },
2878
+ {
2879
+ "name": "tagName",
2880
+ "type": {
2881
+ "text": "string"
2882
+ },
2883
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2884
+ }
2885
+ ],
2886
+ "description": "Shows a criteria error as a toast notification."
2887
+ }
2888
+ ],
2889
+ "exports": [
3072
2890
  {
3073
2891
  "kind": "js",
3074
- "name": "*",
2892
+ "name": "formatValidationErrors",
3075
2893
  "declaration": {
3076
- "name": "*",
3077
- "package": "./accordion.styles"
2894
+ "name": "formatValidationErrors",
2895
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3078
2896
  }
3079
2897
  },
3080
2898
  {
3081
2899
  "kind": "js",
3082
- "name": "*",
2900
+ "name": "showCriteriaError",
3083
2901
  "declaration": {
3084
- "name": "*",
3085
- "package": "./accordion"
2902
+ "name": "showCriteriaError",
2903
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3086
2904
  }
3087
2905
  }
3088
2906
  ]
@@ -3526,6 +3344,188 @@
3526
3344
  }
3527
3345
  ]
3528
3346
  },
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",