@genesislcap/foundation-ui 14.428.2-alpha-257ebec.0 → 14.429.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1398,6 +1398,37 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
+ {
1402
+ "kind": "javascript-module",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1401
1432
  {
1402
1433
  "kind": "javascript-module",
1403
1434
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1794,34 +1825,11 @@
1794
1825
  },
1795
1826
  {
1796
1827
  "kind": "javascript-module",
1797
- "path": "src/actions-menu/actions-menu.styles.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
1798
1829
  "declarations": [
1799
1830
  {
1800
1831
  "kind": "function",
1801
- "name": "actionsMenuBaseStyles",
1802
- "return": {
1803
- "type": {
1804
- "text": "ElementStyles"
1805
- }
1806
- },
1807
- "parameters": [
1808
- {
1809
- "name": "context",
1810
- "type": {
1811
- "text": "ElementDefinitionContext"
1812
- }
1813
- },
1814
- {
1815
- "name": "definition",
1816
- "type": {
1817
- "text": "FoundationElementDefinition"
1818
- }
1819
- }
1820
- ]
1821
- },
1822
- {
1823
- "kind": "function",
1824
- "name": "foundationActionsMenuStyles",
1832
+ "name": "foundationAccordionStyles",
1825
1833
  "return": {
1826
1834
  "type": {
1827
1835
  "text": "ElementStyles"
@@ -1846,269 +1854,277 @@
1846
1854
  "exports": [
1847
1855
  {
1848
1856
  "kind": "js",
1849
- "name": "actionsMenuBaseStyles",
1850
- "declaration": {
1851
- "name": "actionsMenuBaseStyles",
1852
- "module": "src/actions-menu/actions-menu.styles.ts"
1853
- }
1854
- },
1855
- {
1856
- "kind": "js",
1857
- "name": "foundationActionsMenuStyles",
1857
+ "name": "foundationAccordionStyles",
1858
1858
  "declaration": {
1859
- "name": "foundationActionsMenuStyles",
1860
- "module": "src/actions-menu/actions-menu.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
1861
1861
  }
1862
1862
  }
1863
1863
  ]
1864
1864
  },
1865
1865
  {
1866
1866
  "kind": "javascript-module",
1867
- "path": "src/actions-menu/actions-menu.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
1868
1868
  "declarations": [
1869
1869
  {
1870
1870
  "kind": "function",
1871
- "name": "menuTemplate",
1871
+ "name": "foundationAccordionTemplate",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "ViewTemplate<Accordion>"
1875
+ }
1876
+ },
1872
1877
  "parameters": [
1873
1878
  {
1874
- "name": "prefix",
1879
+ "name": "context",
1875
1880
  "type": {
1876
- "text": "string"
1881
+ "text": "ElementDefinitionContext"
1877
1882
  }
1878
- }
1879
- ]
1880
- },
1881
- {
1882
- "kind": "function",
1883
- "name": "singleOptionTemplate",
1884
- "parameters": [
1883
+ },
1885
1884
  {
1886
- "name": "prefix",
1885
+ "name": "definition",
1887
1886
  "type": {
1888
- "text": "string"
1887
+ "text": "FoundationElementDefinition"
1889
1888
  }
1890
1889
  }
1891
1890
  ]
1892
- },
1893
- {
1894
- "kind": "variable",
1895
- "name": "foundationActionsMenuTemplate",
1896
- "type": {
1897
- "text": "ViewTemplate<ActionsMenu>"
1898
- },
1899
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1900
1891
  }
1901
1892
  ],
1902
1893
  "exports": [
1903
1894
  {
1904
1895
  "kind": "js",
1905
- "name": "menuTemplate",
1906
- "declaration": {
1907
- "name": "menuTemplate",
1908
- "module": "src/actions-menu/actions-menu.template.ts"
1909
- }
1910
- },
1911
- {
1912
- "kind": "js",
1913
- "name": "singleOptionTemplate",
1914
- "declaration": {
1915
- "name": "singleOptionTemplate",
1916
- "module": "src/actions-menu/actions-menu.template.ts"
1917
- }
1918
- },
1919
- {
1920
- "kind": "js",
1921
- "name": "foundationActionsMenuTemplate",
1896
+ "name": "foundationAccordionTemplate",
1922
1897
  "declaration": {
1923
- "name": "foundationActionsMenuTemplate",
1924
- "module": "src/actions-menu/actions-menu.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
1925
1900
  }
1926
1901
  }
1927
1902
  ]
1928
1903
  },
1929
1904
  {
1930
1905
  "kind": "javascript-module",
1931
- "path": "src/actions-menu/actions-menu.ts",
1906
+ "path": "src/accordion/accordion.ts",
1932
1907
  "declarations": [
1933
1908
  {
1934
1909
  "kind": "class",
1935
1910
  "description": "",
1936
- "name": "ActionsMenu",
1937
- "members": [
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
1938
1919
  {
1939
- "kind": "field",
1940
- "name": "actions",
1920
+ "name": "expand-mode",
1941
1921
  "type": {
1942
- "text": "ActionMenuItem[]"
1922
+ "text": "AccordionExpandMode"
1923
+ },
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
1926
+ "inheritedFrom": {
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
1943
1929
  }
1944
- },
1930
+ }
1931
+ ],
1932
+ "members": [
1945
1933
  {
1946
1934
  "kind": "field",
1947
- "name": "isVertical",
1935
+ "name": "expandmode",
1948
1936
  "type": {
1949
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
1950
1938
  },
1951
- "default": "false"
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
+ "inheritedFrom": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1944
+ }
1952
1945
  },
1953
1946
  {
1954
1947
  "kind": "field",
1955
- "name": "addDefaultActions",
1948
+ "name": "activeid",
1956
1949
  "type": {
1957
- "text": "boolean"
1950
+ "text": "string | null"
1958
1951
  },
1959
- "default": "true"
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1956
+ }
1960
1957
  },
1961
1958
  {
1962
1959
  "kind": "field",
1963
- "name": "autoCloseOnAction",
1960
+ "name": "activeItemIndex",
1964
1961
  "type": {
1965
- "text": "boolean"
1962
+ "text": "number"
1966
1963
  },
1967
- "default": "true"
1968
- },
1969
- {
1970
- "kind": "field",
1971
- "name": "classNames",
1972
- "type": {
1973
- "text": "string"
1964
+ "privacy": "private",
1965
+ "default": "0",
1966
+ "inheritedFrom": {
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
1974
1969
  }
1975
1970
  },
1976
1971
  {
1977
1972
  "kind": "field",
1978
- "name": "definition",
1973
+ "name": "accordionIds",
1979
1974
  "type": {
1980
- "text": "any"
1975
+ "text": "Array<string | null>"
1976
+ },
1977
+ "privacy": "private",
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
1981
1981
  }
1982
1982
  },
1983
1983
  {
1984
1984
  "kind": "field",
1985
- "name": "name",
1986
- "type": {
1987
- "text": "string"
1988
- },
1989
- "default": "'Actions'"
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
1990
1991
  },
1991
1992
  {
1992
- "kind": "field",
1993
- "name": "open",
1994
- "type": {
1995
- "text": "boolean"
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
1996
2000
  },
1997
- "default": "false"
1998
- },
1999
- {
2000
- "kind": "field",
2001
- "name": "buttonAppearance",
2002
- "type": {
2003
- "text": "string"
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2004
2004
  }
2005
2005
  },
2006
2006
  {
2007
2007
  "kind": "field",
2008
- "name": "hideDisabled",
2009
- "type": {
2010
- "text": "boolean"
2011
- },
2012
- "default": "false"
2008
+ "name": "setItems",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
2013
2014
  },
2014
2015
  {
2015
- "kind": "field",
2016
- "name": "hideMenuSingleOption",
2017
- "type": {
2018
- "text": "boolean"
2016
+ "kind": "method",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": "void"
2022
+ }
2019
2023
  },
2020
- "default": "false"
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2027
+ }
2021
2028
  },
2022
2029
  {
2023
2030
  "kind": "field",
2024
- "name": "singleOption",
2025
- "type": {
2026
- "text": "ActionMenuItem"
2031
+ "name": "removeItemListeners",
2032
+ "privacy": "private",
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2027
2036
  }
2028
2037
  },
2029
2038
  {
2030
2039
  "kind": "field",
2031
- "name": "actionsMenu",
2032
- "type": {
2033
- "text": "HTMLElement"
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2034
2045
  }
2035
2046
  },
2036
2047
  {
2037
2048
  "kind": "method",
2038
- "name": "definitionChanged",
2039
- "privacy": "protected",
2040
- "parameters": [
2041
- {
2042
- "name": "oldValue",
2043
- "type": {
2044
- "text": "any"
2045
- }
2046
- },
2047
- {
2048
- "name": "newValue",
2049
- "type": {
2050
- "text": "any"
2051
- }
2049
+ "name": "getItemIds",
2050
+ "privacy": "private",
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "Array<string | null>"
2052
2054
  }
2053
- ]
2054
- },
2055
- {
2056
- "kind": "method",
2057
- "name": "openChanged",
2058
- "privacy": "protected"
2059
- },
2060
- {
2061
- "kind": "method",
2062
- "name": "toggleActionsMenuVisibility"
2055
+ },
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2063
2060
  },
2064
2061
  {
2065
2062
  "kind": "method",
2066
- "name": "onActionMenuItemClick",
2067
- "parameters": [
2068
- {
2069
- "name": "callback",
2070
- "type": {
2071
- "text": "(rowData) => void | any"
2072
- }
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "boolean"
2073
2068
  }
2074
- ]
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2075
2074
  },
2076
2075
  {
2077
2076
  "kind": "field",
2078
- "name": "allActions",
2079
- "type": {
2080
- "text": "ActionMenuItem[]"
2081
- },
2082
- "readonly": true
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2083
2083
  },
2084
2084
  {
2085
2085
  "kind": "field",
2086
- "name": "rowData",
2087
- "readonly": true
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2091
+ }
2088
2092
  },
2089
2093
  {
2090
2094
  "kind": "method",
2091
- "name": "getLabel",
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2097
+ "return": {
2098
+ "type": {
2099
+ "text": "void"
2100
+ }
2101
+ },
2092
2102
  "parameters": [
2093
2103
  {
2094
- "name": "name",
2104
+ "name": "adjustment",
2095
2105
  "type": {
2096
- "text": "string | ((rowData: any) => string)"
2106
+ "text": "number"
2097
2107
  }
2098
2108
  }
2099
- ]
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2100
2114
  },
2101
2115
  {
2102
2116
  "kind": "method",
2103
- "name": "getTemplate",
2104
- "parameters": [
2105
- {
2106
- "name": "prefix",
2107
- "type": {
2108
- "text": "string"
2109
- }
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2110
2122
  }
2111
- ]
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2127
+ }
2112
2128
  },
2113
2129
  {
2114
2130
  "kind": "field",
@@ -2222,107 +2238,78 @@
2222
2238
  }
2223
2239
  }
2224
2240
  ],
2225
- "attributes": [
2226
- {
2227
- "name": "is-vertical",
2228
- "type": {
2229
- "text": "boolean"
2230
- },
2231
- "default": "false",
2232
- "fieldName": "isVertical"
2233
- },
2234
- {
2235
- "name": "add-default-actions",
2236
- "type": {
2237
- "text": "boolean"
2238
- },
2239
- "default": "true",
2240
- "fieldName": "addDefaultActions"
2241
- },
2242
- {
2243
- "name": "auto-close-on-action",
2244
- "type": {
2245
- "text": "boolean"
2246
- },
2247
- "default": "true",
2248
- "fieldName": "autoCloseOnAction"
2249
- },
2250
- {
2251
- "name": "name",
2252
- "type": {
2253
- "text": "string"
2254
- },
2255
- "default": "'Actions'",
2256
- "fieldName": "name"
2257
- },
2258
- {
2259
- "name": "open",
2260
- "type": {
2261
- "text": "boolean"
2262
- },
2263
- "default": "false",
2264
- "fieldName": "open"
2265
- },
2266
- {
2267
- "name": "buttonAppearance",
2268
- "type": {
2269
- "text": "string"
2270
- },
2271
- "fieldName": "buttonAppearance"
2272
- },
2273
- {
2274
- "name": "hide-disabled",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "false",
2279
- "fieldName": "hideDisabled"
2280
- },
2241
+ "events": [
2281
2242
  {
2282
- "name": "hide-menu-single-option",
2283
- "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "false",
2287
- "fieldName": "hideMenuSingleOption"
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2248
+ }
2288
2249
  }
2289
- ],
2290
- "superclass": {
2291
- "name": "FoundationElement",
2292
- "package": "@microsoft/fast-foundation"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2293
2257
  },
2294
- "tagName": "%%prefix%%-actions-menu",
2295
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2296
2259
  },
2297
2260
  {
2298
2261
  "kind": "variable",
2299
- "name": "foundationActionsMenu",
2300
- "description": "The Foundation Actions Menu",
2262
+ "name": "defaultAccordionConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "default": "{}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2301
2272
  "privacy": "public"
2302
2273
  }
2303
2274
  ],
2304
2275
  "exports": [
2305
2276
  {
2306
2277
  "kind": "js",
2307
- "name": "ActionsMenu",
2278
+ "name": "Accordion",
2308
2279
  "declaration": {
2309
- "name": "ActionsMenu",
2310
- "module": "src/actions-menu/actions-menu.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2311
2282
  }
2312
2283
  },
2313
2284
  {
2314
2285
  "kind": "js",
2315
- "name": "foundationActionsMenu",
2286
+ "name": "foundationAccordionShadowOptions",
2316
2287
  "declaration": {
2317
- "name": "foundationActionsMenu",
2318
- "module": "src/actions-menu/actions-menu.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2290
+ }
2291
+ },
2292
+ {
2293
+ "kind": "js",
2294
+ "name": "defaultAccordionConfig",
2295
+ "declaration": {
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2298
+ }
2299
+ },
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "foundationAccordion",
2303
+ "declaration": {
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2319
2306
  }
2320
2307
  }
2321
2308
  ]
2322
2309
  },
2323
2310
  {
2324
2311
  "kind": "javascript-module",
2325
- "path": "src/actions-menu/index.ts",
2312
+ "path": "src/accordion/index.ts",
2326
2313
  "declarations": [],
2327
2314
  "exports": [
2328
2315
  {
@@ -2330,7 +2317,7 @@
2330
2317
  "name": "*",
2331
2318
  "declaration": {
2332
2319
  "name": "*",
2333
- "package": "./actions-menu.styles"
2320
+ "package": "./accordion.template"
2334
2321
  }
2335
2322
  },
2336
2323
  {
@@ -2338,7 +2325,7 @@
2338
2325
  "name": "*",
2339
2326
  "declaration": {
2340
2327
  "name": "*",
2341
- "package": "./actions-menu.template"
2328
+ "package": "./accordion.styles"
2342
2329
  }
2343
2330
  },
2344
2331
  {
@@ -2346,18 +2333,41 @@
2346
2333
  "name": "*",
2347
2334
  "declaration": {
2348
2335
  "name": "*",
2349
- "package": "./actions-menu"
2336
+ "package": "./accordion"
2350
2337
  }
2351
2338
  }
2352
2339
  ]
2353
2340
  },
2354
2341
  {
2355
2342
  "kind": "javascript-module",
2356
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2357
2344
  "declarations": [
2358
2345
  {
2359
2346
  "kind": "function",
2360
- "name": "foundationAiIndicatorStyles",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2361
2371
  "return": {
2362
2372
  "type": {
2363
2373
  "text": "ElementStyles"
@@ -2382,215 +2392,269 @@
2382
2392
  "exports": [
2383
2393
  {
2384
2394
  "kind": "js",
2385
- "name": "foundationAiIndicatorStyles",
2395
+ "name": "actionsMenuBaseStyles",
2386
2396
  "declaration": {
2387
- "name": "foundationAiIndicatorStyles",
2388
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2389
2407
  }
2390
2408
  }
2391
2409
  ]
2392
2410
  },
2393
2411
  {
2394
2412
  "kind": "javascript-module",
2395
- "path": "src/ai-indicator/ai-indicator.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2396
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2397
2439
  {
2398
2440
  "kind": "variable",
2399
- "name": "foundationAiIndicatorTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2400
2442
  "type": {
2401
- "text": "ViewTemplate<AiIndicator>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2402
2444
  },
2403
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2445
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2404
2446
  }
2405
2447
  ],
2406
2448
  "exports": [
2407
2449
  {
2408
2450
  "kind": "js",
2409
- "name": "foundationAiIndicatorTemplate",
2451
+ "name": "menuTemplate",
2410
2452
  "declaration": {
2411
- "name": "foundationAiIndicatorTemplate",
2412
- "module": "src/ai-indicator/ai-indicator.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2413
2471
  }
2414
2472
  }
2415
2473
  ]
2416
2474
  },
2417
2475
  {
2418
2476
  "kind": "javascript-module",
2419
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2420
2478
  "declarations": [
2421
2479
  {
2422
2480
  "kind": "class",
2423
2481
  "description": "",
2424
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2425
2483
  "members": [
2426
2484
  {
2427
2485
  "kind": "field",
2428
- "name": "aiProvider",
2486
+ "name": "actions",
2429
2487
  "type": {
2430
- "text": "AIProvider"
2488
+ "text": "ActionMenuItem[]"
2431
2489
  }
2432
2490
  },
2433
2491
  {
2434
2492
  "kind": "field",
2435
- "name": "status",
2493
+ "name": "isVertical",
2436
2494
  "type": {
2437
- "text": "AIStatus | null"
2495
+ "text": "boolean"
2438
2496
  },
2439
- "default": "null"
2497
+ "default": "false"
2440
2498
  },
2441
2499
  {
2442
2500
  "kind": "field",
2443
- "name": "open",
2501
+ "name": "addDefaultActions",
2444
2502
  "type": {
2445
2503
  "text": "boolean"
2446
2504
  },
2447
- "default": "false"
2505
+ "default": "true"
2448
2506
  },
2449
2507
  {
2450
2508
  "kind": "field",
2451
- "name": "state",
2509
+ "name": "autoCloseOnAction",
2452
2510
  "type": {
2453
- "text": "AIIndicatorState"
2511
+ "text": "boolean"
2454
2512
  },
2455
- "default": "'none'"
2513
+ "default": "true"
2456
2514
  },
2457
2515
  {
2458
2516
  "kind": "field",
2459
- "name": "isInstalling",
2517
+ "name": "classNames",
2460
2518
  "type": {
2461
- "text": "boolean"
2462
- },
2463
- "default": "false"
2519
+ "text": "string"
2520
+ }
2464
2521
  },
2465
2522
  {
2466
2523
  "kind": "field",
2467
- "name": "pollTimer",
2524
+ "name": "definition",
2468
2525
  "type": {
2469
- "text": "ReturnType<typeof setInterval> | null"
2470
- },
2471
- "privacy": "private",
2472
- "default": "null"
2526
+ "text": "any"
2527
+ }
2473
2528
  },
2474
2529
  {
2475
2530
  "kind": "field",
2476
- "name": "clickOutside",
2477
- "privacy": "private"
2531
+ "name": "name",
2532
+ "type": {
2533
+ "text": "string"
2534
+ },
2535
+ "default": "'Actions'"
2478
2536
  },
2479
2537
  {
2480
2538
  "kind": "field",
2481
- "name": "chromeStatusLabel",
2539
+ "name": "open",
2482
2540
  "type": {
2483
- "text": "string | null"
2541
+ "text": "boolean"
2484
2542
  },
2485
- "readonly": true
2543
+ "default": "false"
2486
2544
  },
2487
2545
  {
2488
2546
  "kind": "field",
2489
- "name": "canInstall",
2547
+ "name": "buttonAppearance",
2548
+ "type": {
2549
+ "text": "string"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "field",
2554
+ "name": "hideDisabled",
2490
2555
  "type": {
2491
2556
  "text": "boolean"
2492
2557
  },
2493
- "readonly": true
2558
+ "default": "false"
2494
2559
  },
2495
2560
  {
2496
2561
  "kind": "field",
2497
- "name": "isDownloading",
2562
+ "name": "hideMenuSingleOption",
2498
2563
  "type": {
2499
2564
  "text": "boolean"
2500
2565
  },
2501
- "readonly": true
2566
+ "default": "false"
2502
2567
  },
2503
2568
  {
2504
- "kind": "method",
2505
- "name": "openChanged",
2506
- "return": {
2507
- "type": {
2508
- "text": "void"
2509
- }
2569
+ "kind": "field",
2570
+ "name": "singleOption",
2571
+ "type": {
2572
+ "text": "ActionMenuItem"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2510
2580
  }
2511
2581
  },
2512
2582
  {
2513
2583
  "kind": "method",
2514
- "name": "handleClickOutside",
2515
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2516
2586
  "parameters": [
2517
2587
  {
2518
- "name": "event",
2588
+ "name": "oldValue",
2519
2589
  "type": {
2520
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2521
2597
  }
2522
2598
  }
2523
2599
  ]
2524
2600
  },
2525
2601
  {
2526
2602
  "kind": "method",
2527
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2528
2605
  },
2529
2606
  {
2530
2607
  "kind": "method",
2531
- "name": "refreshStatus",
2532
- "return": {
2533
- "type": {
2534
- "text": "Promise<void>"
2535
- }
2536
- }
2608
+ "name": "toggleActionsMenuVisibility"
2537
2609
  },
2538
2610
  {
2539
2611
  "kind": "method",
2540
- "name": "deriveState",
2541
- "privacy": "private",
2542
- "return": {
2543
- "type": {
2544
- "text": "AIIndicatorState"
2545
- }
2546
- },
2612
+ "name": "onActionMenuItemClick",
2547
2613
  "parameters": [
2548
2614
  {
2549
- "name": "s",
2615
+ "name": "callback",
2550
2616
  "type": {
2551
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2552
2618
  }
2553
2619
  }
2554
2620
  ]
2555
2621
  },
2556
2622
  {
2557
- "kind": "method",
2558
- "name": "maybeStartPolling",
2559
- "privacy": "private",
2560
- "return": {
2561
- "type": {
2562
- "text": "void"
2563
- }
2564
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2565
2629
  },
2566
2630
  {
2567
- "kind": "method",
2568
- "name": "startPolling",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2574
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2575
2634
  },
2576
2635
  {
2577
2636
  "kind": "method",
2578
- "name": "stopPolling",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2583
2644
  }
2584
- }
2645
+ ]
2585
2646
  },
2586
2647
  {
2587
2648
  "kind": "method",
2588
- "name": "onInstall",
2589
- "return": {
2590
- "type": {
2591
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2592
2656
  }
2593
- }
2657
+ ]
2594
2658
  },
2595
2659
  {
2596
2660
  "kind": "field",
@@ -2704,145 +2768,206 @@
2704
2768
  }
2705
2769
  }
2706
2770
  ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2834
+ }
2835
+ ],
2707
2836
  "superclass": {
2708
2837
  "name": "FoundationElement",
2709
2838
  "package": "@microsoft/fast-foundation"
2710
2839
  },
2711
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2712
2841
  "customElement": true
2713
2842
  },
2714
2843
  {
2715
2844
  "kind": "variable",
2716
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2717
2848
  }
2718
2849
  ],
2719
2850
  "exports": [
2720
2851
  {
2721
2852
  "kind": "js",
2722
- "name": "AiIndicator",
2853
+ "name": "ActionsMenu",
2723
2854
  "declaration": {
2724
- "name": "AiIndicator",
2725
- "module": "src/ai-indicator/ai-indicator.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2726
2857
  }
2727
2858
  },
2728
2859
  {
2729
2860
  "kind": "js",
2730
- "name": "foundationAiIndicator",
2861
+ "name": "foundationActionsMenu",
2731
2862
  "declaration": {
2732
- "name": "foundationAiIndicator",
2733
- "module": "src/ai-indicator/ai-indicator.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2734
2865
  }
2735
2866
  }
2736
2867
  ]
2737
2868
  },
2738
2869
  {
2739
2870
  "kind": "javascript-module",
2740
- "path": "src/ai-indicator/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2741
2872
  "declarations": [],
2742
2873
  "exports": [
2743
2874
  {
2744
2875
  "kind": "js",
2745
- "name": "AiIndicator",
2876
+ "name": "*",
2746
2877
  "declaration": {
2747
- "name": "AiIndicator",
2748
- "module": "./ai-indicator"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2749
2880
  }
2750
2881
  },
2751
2882
  {
2752
2883
  "kind": "js",
2753
- "name": "foundationAiIndicator",
2884
+ "name": "*",
2754
2885
  "declaration": {
2755
- "name": "foundationAiIndicator",
2756
- "module": "./ai-indicator"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2757
2888
  }
2758
2889
  },
2759
2890
  {
2760
2891
  "kind": "js",
2761
- "name": "type",
2892
+ "name": "*",
2762
2893
  "declaration": {
2763
- "name": "type",
2764
- "module": "./ai-indicator"
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2765
2896
  }
2766
- },
2897
+ }
2898
+ ]
2899
+ },
2900
+ {
2901
+ "kind": "javascript-module",
2902
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2903
+ "declarations": [
2767
2904
  {
2768
- "kind": "js",
2769
- "name": "AIIndicatorState",
2770
- "declaration": {
2771
- "name": "AIIndicatorState",
2772
- "module": "./ai-indicator"
2773
- }
2774
- },
2775
- {
2776
- "kind": "js",
2777
- "name": "foundationAiIndicatorTemplate",
2778
- "declaration": {
2779
- "name": "foundationAiIndicatorTemplate",
2780
- "module": "./ai-indicator.template"
2781
- }
2782
- },
2783
- {
2784
- "kind": "js",
2905
+ "kind": "function",
2785
2906
  "name": "foundationAiIndicatorStyles",
2786
- "declaration": {
2787
- "name": "foundationAiIndicatorStyles",
2788
- "module": "./ai-indicator.styles"
2789
- }
2790
- }
2791
- ]
2792
- },
2793
- {
2794
- "kind": "javascript-module",
2795
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2796
- "declarations": [
2797
- {
2798
- "kind": "variable",
2799
- "name": "foundationAiCriteriaSearchStyles",
2800
- "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`"
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "ElementStyles"
2910
+ }
2911
+ },
2912
+ "parameters": [
2913
+ {
2914
+ "name": "context",
2915
+ "type": {
2916
+ "text": "ElementDefinitionContext"
2917
+ }
2918
+ },
2919
+ {
2920
+ "name": "definition",
2921
+ "type": {
2922
+ "text": "FoundationElementDefinition"
2923
+ }
2924
+ }
2925
+ ]
2801
2926
  }
2802
2927
  ],
2803
2928
  "exports": [
2804
2929
  {
2805
2930
  "kind": "js",
2806
- "name": "foundationAiCriteriaSearchStyles",
2931
+ "name": "foundationAiIndicatorStyles",
2807
2932
  "declaration": {
2808
- "name": "foundationAiCriteriaSearchStyles",
2809
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2933
+ "name": "foundationAiIndicatorStyles",
2934
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2810
2935
  }
2811
2936
  }
2812
2937
  ]
2813
2938
  },
2814
2939
  {
2815
2940
  "kind": "javascript-module",
2816
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2941
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2817
2942
  "declarations": [
2818
2943
  {
2819
2944
  "kind": "variable",
2820
- "name": "foundationAiCriteriaSearchTemplate",
2945
+ "name": "foundationAiIndicatorTemplate",
2821
2946
  "type": {
2822
- "text": "ViewTemplate<AiCriteriaSearch>"
2947
+ "text": "ViewTemplate<AiIndicator>"
2823
2948
  },
2824
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2949
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2825
2950
  }
2826
2951
  ],
2827
2952
  "exports": [
2828
2953
  {
2829
2954
  "kind": "js",
2830
- "name": "foundationAiCriteriaSearchTemplate",
2955
+ "name": "foundationAiIndicatorTemplate",
2831
2956
  "declaration": {
2832
- "name": "foundationAiCriteriaSearchTemplate",
2833
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2957
+ "name": "foundationAiIndicatorTemplate",
2958
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2834
2959
  }
2835
2960
  }
2836
2961
  ]
2837
2962
  },
2838
2963
  {
2839
2964
  "kind": "javascript-module",
2840
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2965
+ "path": "src/ai-indicator/ai-indicator.ts",
2841
2966
  "declarations": [
2842
2967
  {
2843
2968
  "kind": "class",
2844
- "description": "Natural-language criteria search input with AI interpretation.",
2845
- "name": "AiCriteriaSearch",
2969
+ "description": "",
2970
+ "name": "AiIndicator",
2846
2971
  "members": [
2847
2972
  {
2848
2973
  "kind": "field",
@@ -2853,38 +2978,31 @@
2853
2978
  },
2854
2979
  {
2855
2980
  "kind": "field",
2856
- "name": "placeholder",
2981
+ "name": "status",
2857
2982
  "type": {
2858
- "text": "string"
2983
+ "text": "AIStatus | null"
2859
2984
  },
2860
- "default": "'Describe your search criteria in natural language...'"
2985
+ "default": "null"
2861
2986
  },
2862
2987
  {
2863
2988
  "kind": "field",
2864
- "name": "disabled",
2989
+ "name": "open",
2865
2990
  "type": {
2866
2991
  "text": "boolean"
2867
- }
2868
- },
2869
- {
2870
- "kind": "field",
2871
- "name": "mode",
2872
- "type": {
2873
- "text": "'append' | 'replace'"
2874
2992
  },
2875
- "default": "'replace'"
2993
+ "default": "false"
2876
2994
  },
2877
2995
  {
2878
2996
  "kind": "field",
2879
- "name": "inputValue",
2997
+ "name": "state",
2880
2998
  "type": {
2881
- "text": "string"
2999
+ "text": "AIIndicatorState"
2882
3000
  },
2883
- "default": "''"
3001
+ "default": "'none'"
2884
3002
  },
2885
3003
  {
2886
3004
  "kind": "field",
2887
- "name": "isInterpreting",
3005
+ "name": "isInstalling",
2888
3006
  "type": {
2889
3007
  "text": "boolean"
2890
3008
  },
@@ -2892,91 +3010,133 @@
2892
3010
  },
2893
3011
  {
2894
3012
  "kind": "field",
2895
- "name": "lastValidCriteria",
3013
+ "name": "pollTimer",
2896
3014
  "type": {
2897
- "text": "string | null"
3015
+ "text": "ReturnType<typeof setInterval> | null"
2898
3016
  },
3017
+ "privacy": "private",
2899
3018
  "default": "null"
2900
3019
  },
2901
3020
  {
2902
3021
  "kind": "field",
2903
- "name": "fieldMetadata",
2904
- "type": {
2905
- "text": "MetadataDetail[] | string[]"
2906
- },
2907
- "default": "[]"
3022
+ "name": "clickOutside",
3023
+ "privacy": "private"
2908
3024
  },
2909
3025
  {
2910
3026
  "kind": "field",
2911
- "name": "isRecording",
3027
+ "name": "chromeStatusLabel",
2912
3028
  "type": {
2913
- "text": "boolean"
3029
+ "text": "string | null"
2914
3030
  },
2915
- "default": "false"
3031
+ "readonly": true
2916
3032
  },
2917
3033
  {
2918
3034
  "kind": "field",
2919
- "name": "textAreaRef",
3035
+ "name": "canInstall",
2920
3036
  "type": {
2921
- "text": "HTMLTextAreaElement"
3037
+ "text": "boolean"
2922
3038
  },
2923
- "privacy": "public"
3039
+ "readonly": true
2924
3040
  },
2925
3041
  {
2926
3042
  "kind": "field",
2927
- "name": "stopRecording",
3043
+ "name": "isDownloading",
2928
3044
  "type": {
2929
- "text": "(() => void) | null"
3045
+ "text": "boolean"
2930
3046
  },
2931
- "privacy": "private",
2932
- "default": "null"
3047
+ "readonly": true
2933
3048
  },
2934
3049
  {
2935
- "kind": "field",
2936
- "name": "speechApplyDebounceTimer",
2937
- "type": {
2938
- "text": "ReturnType<typeof setTimeout> | null"
2939
- },
2940
- "privacy": "private",
2941
- "default": "null"
3050
+ "kind": "method",
3051
+ "name": "openChanged",
3052
+ "return": {
3053
+ "type": {
3054
+ "text": "void"
3055
+ }
3056
+ }
2942
3057
  },
2943
3058
  {
2944
- "kind": "field",
2945
- "name": "baseInputForAppend",
2946
- "type": {
2947
- "text": "string"
2948
- },
3059
+ "kind": "method",
3060
+ "name": "handleClickOutside",
2949
3061
  "privacy": "private",
2950
- "default": "''"
3062
+ "parameters": [
3063
+ {
3064
+ "name": "event",
3065
+ "type": {
3066
+ "text": "MouseEvent"
3067
+ }
3068
+ }
3069
+ ]
2951
3070
  },
2952
3071
  {
2953
- "kind": "field",
2954
- "name": "speechAvailable",
2955
- "type": {
2956
- "text": "boolean"
2957
- },
2958
- "readonly": true
3072
+ "kind": "method",
3073
+ "name": "toggleDropdown"
2959
3074
  },
2960
3075
  {
2961
3076
  "kind": "method",
2962
- "name": "handleSubmit"
3077
+ "name": "refreshStatus",
3078
+ "return": {
3079
+ "type": {
3080
+ "text": "Promise<void>"
3081
+ }
3082
+ }
2963
3083
  },
2964
3084
  {
2965
3085
  "kind": "method",
2966
- "name": "handleBlur"
3086
+ "name": "deriveState",
3087
+ "privacy": "private",
3088
+ "return": {
3089
+ "type": {
3090
+ "text": "AIIndicatorState"
3091
+ }
3092
+ },
3093
+ "parameters": [
3094
+ {
3095
+ "name": "s",
3096
+ "type": {
3097
+ "text": "AIStatus | null"
3098
+ }
3099
+ }
3100
+ ]
2967
3101
  },
2968
3102
  {
2969
3103
  "kind": "method",
2970
- "name": "clear"
3104
+ "name": "maybeStartPolling",
3105
+ "privacy": "private",
3106
+ "return": {
3107
+ "type": {
3108
+ "text": "void"
3109
+ }
3110
+ }
2971
3111
  },
2972
3112
  {
2973
3113
  "kind": "method",
2974
- "name": "toggleSpeechInput"
3114
+ "name": "startPolling",
3115
+ "privacy": "private",
3116
+ "return": {
3117
+ "type": {
3118
+ "text": "void"
3119
+ }
3120
+ }
2975
3121
  },
2976
3122
  {
2977
3123
  "kind": "method",
2978
- "name": "clearSpeechApplyDebounce",
2979
- "privacy": "private"
3124
+ "name": "stopPolling",
3125
+ "privacy": "private",
3126
+ "return": {
3127
+ "type": {
3128
+ "text": "void"
3129
+ }
3130
+ }
3131
+ },
3132
+ {
3133
+ "kind": "method",
3134
+ "name": "onInstall",
3135
+ "return": {
3136
+ "type": {
3137
+ "text": "Promise<void>"
3138
+ }
3139
+ }
2980
3140
  },
2981
3141
  {
2982
3142
  "kind": "field",
@@ -3090,528 +3250,296 @@
3090
3250
  }
3091
3251
  }
3092
3252
  ],
3093
- "events": [
3094
- {
3095
- "description": "Fired when interpreted criteria is applied or cleared",
3096
- "name": "criteria-changed"
3097
- },
3098
- {
3099
- "description": "Fired when interpreted criteria contains invalid clauses",
3100
- "name": "validation-errors"
3101
- }
3102
- ],
3103
- "attributes": [
3104
- {
3105
- "name": "placeholder",
3106
- "type": {
3107
- "text": "string"
3108
- },
3109
- "default": "'Describe your search criteria in natural language...'",
3110
- "fieldName": "placeholder"
3111
- },
3112
- {
3113
- "type": {
3114
- "text": "boolean"
3115
- },
3116
- "fieldName": "disabled"
3117
- },
3118
- {
3119
- "name": "mode",
3120
- "type": {
3121
- "text": "'append' | 'replace'"
3122
- },
3123
- "default": "'replace'",
3124
- "fieldName": "mode"
3125
- }
3126
- ],
3127
3253
  "superclass": {
3128
3254
  "name": "FoundationElement",
3129
3255
  "package": "@microsoft/fast-foundation"
3130
3256
  },
3131
- "tagName": "%%prefix%%-ai-criteria-search",
3257
+ "tagName": "%%prefix%%-ai-indicator",
3132
3258
  "customElement": true
3133
3259
  },
3134
3260
  {
3135
3261
  "kind": "variable",
3136
- "name": "foundationAiCriteriaSearchShadowOptions",
3137
- "type": {
3138
- "text": "ShadowRootInit"
3139
- },
3140
- "default": "undefined"
3141
- },
3142
- {
3143
- "kind": "variable",
3144
- "name": "defaultAiCriteriaSearchConfig",
3145
- "type": {
3146
- "text": "object"
3147
- },
3148
- "default": "{}"
3149
- },
3150
- {
3151
- "kind": "variable",
3152
- "name": "foundationAiCriteriaSearch"
3262
+ "name": "foundationAiIndicator"
3153
3263
  }
3154
3264
  ],
3155
3265
  "exports": [
3156
3266
  {
3157
3267
  "kind": "js",
3158
- "name": "AiCriteriaSearch",
3159
- "declaration": {
3160
- "name": "AiCriteriaSearch",
3161
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3162
- }
3163
- },
3164
- {
3165
- "kind": "js",
3166
- "name": "foundationAiCriteriaSearchShadowOptions",
3167
- "declaration": {
3168
- "name": "foundationAiCriteriaSearchShadowOptions",
3169
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3170
- }
3171
- },
3172
- {
3173
- "kind": "js",
3174
- "name": "defaultAiCriteriaSearchConfig",
3268
+ "name": "AiIndicator",
3175
3269
  "declaration": {
3176
- "name": "defaultAiCriteriaSearchConfig",
3177
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3270
+ "name": "AiIndicator",
3271
+ "module": "src/ai-indicator/ai-indicator.ts"
3178
3272
  }
3179
3273
  },
3180
3274
  {
3181
3275
  "kind": "js",
3182
- "name": "foundationAiCriteriaSearch",
3276
+ "name": "foundationAiIndicator",
3183
3277
  "declaration": {
3184
- "name": "foundationAiCriteriaSearch",
3185
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3278
+ "name": "foundationAiIndicator",
3279
+ "module": "src/ai-indicator/ai-indicator.ts"
3186
3280
  }
3187
3281
  }
3188
3282
  ]
3189
3283
  },
3190
3284
  {
3191
3285
  "kind": "javascript-module",
3192
- "path": "src/ai-criteria-search/index.ts",
3286
+ "path": "src/ai-indicator/index.ts",
3193
3287
  "declarations": [],
3194
3288
  "exports": [
3195
3289
  {
3196
3290
  "kind": "js",
3197
- "name": "AiCriteriaSearch",
3198
- "declaration": {
3199
- "name": "AiCriteriaSearch",
3200
- "module": "./ai-criteria-search"
3201
- }
3202
- },
3203
- {
3204
- "kind": "js",
3205
- "name": "defaultAiCriteriaSearchConfig",
3206
- "declaration": {
3207
- "name": "defaultAiCriteriaSearchConfig",
3208
- "module": "./ai-criteria-search"
3209
- }
3210
- },
3211
- {
3212
- "kind": "js",
3213
- "name": "foundationAiCriteriaSearch",
3214
- "declaration": {
3215
- "name": "foundationAiCriteriaSearch",
3216
- "module": "./ai-criteria-search"
3217
- }
3218
- },
3219
- {
3220
- "kind": "js",
3221
- "name": "foundationAiCriteriaSearchShadowOptions",
3291
+ "name": "AiIndicator",
3222
3292
  "declaration": {
3223
- "name": "foundationAiCriteriaSearchShadowOptions",
3224
- "module": "./ai-criteria-search"
3293
+ "name": "AiIndicator",
3294
+ "module": "./ai-indicator"
3225
3295
  }
3226
3296
  },
3227
3297
  {
3228
3298
  "kind": "js",
3229
- "name": "foundationAiCriteriaSearchStyles",
3299
+ "name": "foundationAiIndicator",
3230
3300
  "declaration": {
3231
- "name": "foundationAiCriteriaSearchStyles",
3232
- "module": "./ai-criteria-search.styles"
3301
+ "name": "foundationAiIndicator",
3302
+ "module": "./ai-indicator"
3233
3303
  }
3234
3304
  },
3235
3305
  {
3236
3306
  "kind": "js",
3237
- "name": "foundationAiCriteriaSearchTemplate",
3307
+ "name": "type",
3238
3308
  "declaration": {
3239
- "name": "foundationAiCriteriaSearchTemplate",
3240
- "module": "./ai-criteria-search.template"
3309
+ "name": "type",
3310
+ "module": "./ai-indicator"
3241
3311
  }
3242
3312
  },
3243
3313
  {
3244
3314
  "kind": "js",
3245
- "name": "*",
3315
+ "name": "AIIndicatorState",
3246
3316
  "declaration": {
3247
- "name": "*",
3248
- "package": "./validation/criteria-ir"
3317
+ "name": "AIIndicatorState",
3318
+ "module": "./ai-indicator"
3249
3319
  }
3250
3320
  },
3251
3321
  {
3252
3322
  "kind": "js",
3253
- "name": "*",
3323
+ "name": "foundationAiIndicatorTemplate",
3254
3324
  "declaration": {
3255
- "name": "*",
3256
- "package": "./validation/operator-map"
3325
+ "name": "foundationAiIndicatorTemplate",
3326
+ "module": "./ai-indicator.template"
3257
3327
  }
3258
3328
  },
3259
3329
  {
3260
3330
  "kind": "js",
3261
- "name": "*",
3331
+ "name": "foundationAiIndicatorStyles",
3262
3332
  "declaration": {
3263
- "name": "*",
3264
- "package": "./validation/schema-validator"
3333
+ "name": "foundationAiIndicatorStyles",
3334
+ "module": "./ai-indicator.styles"
3265
3335
  }
3266
3336
  }
3267
3337
  ]
3268
3338
  },
3269
3339
  {
3270
3340
  "kind": "javascript-module",
3271
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3341
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3272
3342
  "declarations": [
3273
3343
  {
3274
- "kind": "function",
3275
- "name": "formatValidationErrors",
3276
- "return": {
3277
- "type": {
3278
- "text": "string"
3279
- }
3280
- },
3281
- "parameters": [
3282
- {
3283
- "name": "errors",
3284
- "type": {
3285
- "text": "ValidationError[]"
3286
- }
3287
- }
3288
- ],
3289
- "description": "Formats validation errors into a user-friendly message."
3290
- },
3291
- {
3292
- "kind": "function",
3293
- "name": "showCriteriaError",
3294
- "return": {
3295
- "type": {
3296
- "text": "void"
3297
- }
3298
- },
3299
- "parameters": [
3300
- {
3301
- "name": "title",
3302
- "type": {
3303
- "text": "string"
3304
- },
3305
- "description": "Notification title (e.g. \"Criteria validation error\")"
3306
- },
3307
- {
3308
- "name": "body",
3309
- "type": {
3310
- "text": "string"
3311
- },
3312
- "description": "Error message to display"
3313
- },
3314
- {
3315
- "name": "tagName",
3316
- "type": {
3317
- "text": "string"
3318
- },
3319
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3320
- }
3321
- ],
3322
- "description": "Shows a criteria error as a toast notification."
3344
+ "kind": "variable",
3345
+ "name": "foundationAiCriteriaSearchStyles",
3346
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3323
3347
  }
3324
3348
  ],
3325
3349
  "exports": [
3326
3350
  {
3327
3351
  "kind": "js",
3328
- "name": "formatValidationErrors",
3329
- "declaration": {
3330
- "name": "formatValidationErrors",
3331
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3332
- }
3333
- },
3334
- {
3335
- "kind": "js",
3336
- "name": "showCriteriaError",
3352
+ "name": "foundationAiCriteriaSearchStyles",
3337
3353
  "declaration": {
3338
- "name": "showCriteriaError",
3339
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3354
+ "name": "foundationAiCriteriaSearchStyles",
3355
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3340
3356
  }
3341
3357
  }
3342
3358
  ]
3343
3359
  },
3344
3360
  {
3345
3361
  "kind": "javascript-module",
3346
- "path": "src/accordion/accordion.styles.ts",
3362
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3347
3363
  "declarations": [
3348
3364
  {
3349
- "kind": "function",
3350
- "name": "foundationAccordionStyles",
3351
- "return": {
3352
- "type": {
3353
- "text": "ElementStyles"
3354
- }
3365
+ "kind": "variable",
3366
+ "name": "foundationAiCriteriaSearchTemplate",
3367
+ "type": {
3368
+ "text": "ViewTemplate<AiCriteriaSearch>"
3355
3369
  },
3356
- "parameters": [
3357
- {
3358
- "name": "context",
3359
- "type": {
3360
- "text": "ElementDefinitionContext"
3361
- }
3362
- },
3363
- {
3364
- "name": "definition",
3365
- "type": {
3366
- "text": "FoundationElementDefinition"
3367
- }
3368
- }
3369
- ]
3370
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3370
3371
  }
3371
3372
  ],
3372
3373
  "exports": [
3373
3374
  {
3374
3375
  "kind": "js",
3375
- "name": "foundationAccordionStyles",
3376
+ "name": "foundationAiCriteriaSearchTemplate",
3376
3377
  "declaration": {
3377
- "name": "foundationAccordionStyles",
3378
- "module": "src/accordion/accordion.styles.ts"
3378
+ "name": "foundationAiCriteriaSearchTemplate",
3379
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3379
3380
  }
3380
3381
  }
3381
3382
  ]
3382
3383
  },
3383
3384
  {
3384
3385
  "kind": "javascript-module",
3385
- "path": "src/accordion/accordion.template.ts",
3386
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3386
3387
  "declarations": [
3387
3388
  {
3388
- "kind": "function",
3389
- "name": "foundationAccordionTemplate",
3390
- "return": {
3391
- "type": {
3392
- "text": "ViewTemplate<Accordion>"
3393
- }
3394
- },
3395
- "parameters": [
3389
+ "kind": "class",
3390
+ "description": "Natural-language criteria search input with AI interpretation.",
3391
+ "name": "AiCriteriaSearch",
3392
+ "members": [
3396
3393
  {
3397
- "name": "context",
3394
+ "kind": "field",
3395
+ "name": "aiProvider",
3398
3396
  "type": {
3399
- "text": "ElementDefinitionContext"
3397
+ "text": "AIProvider"
3400
3398
  }
3401
3399
  },
3402
3400
  {
3403
- "name": "definition",
3401
+ "kind": "field",
3402
+ "name": "placeholder",
3404
3403
  "type": {
3405
- "text": "FoundationElementDefinition"
3404
+ "text": "string"
3405
+ },
3406
+ "default": "'Describe your search criteria in natural language...'"
3407
+ },
3408
+ {
3409
+ "kind": "field",
3410
+ "name": "disabled",
3411
+ "type": {
3412
+ "text": "boolean"
3406
3413
  }
3407
- }
3408
- ]
3409
- }
3410
- ],
3411
- "exports": [
3412
- {
3413
- "kind": "js",
3414
- "name": "foundationAccordionTemplate",
3415
- "declaration": {
3416
- "name": "foundationAccordionTemplate",
3417
- "module": "src/accordion/accordion.template.ts"
3418
- }
3419
- }
3420
- ]
3421
- },
3422
- {
3423
- "kind": "javascript-module",
3424
- "path": "src/accordion/accordion.ts",
3425
- "declarations": [
3426
- {
3427
- "kind": "class",
3428
- "description": "",
3429
- "name": "Accordion",
3430
- "superclass": {
3431
- "name": "FASTAccordion",
3432
- "package": "@microsoft/fast-foundation"
3433
- },
3434
- "tagName": "%%prefix%%-accordion",
3435
- "customElement": true,
3436
- "attributes": [
3414
+ },
3437
3415
  {
3438
- "name": "expand-mode",
3416
+ "kind": "field",
3417
+ "name": "inputValue",
3439
3418
  "type": {
3440
- "text": "AccordionExpandMode"
3419
+ "text": "string"
3441
3420
  },
3442
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3443
- "fieldName": "expandmode",
3444
- "inheritedFrom": {
3445
- "name": "Accordion",
3446
- "module": "src/accordion/accordion.ts"
3447
- }
3448
- }
3449
- ],
3450
- "members": [
3421
+ "default": "''"
3422
+ },
3451
3423
  {
3452
3424
  "kind": "field",
3453
- "name": "expandmode",
3425
+ "name": "isInterpreting",
3454
3426
  "type": {
3455
- "text": "AccordionExpandMode"
3427
+ "text": "boolean"
3456
3428
  },
3457
- "privacy": "public",
3458
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3459
- "inheritedFrom": {
3460
- "name": "Accordion",
3461
- "module": "src/accordion/accordion.ts"
3462
- }
3429
+ "default": "false"
3463
3430
  },
3464
3431
  {
3465
3432
  "kind": "field",
3466
- "name": "activeid",
3433
+ "name": "lastValidCriteria",
3467
3434
  "type": {
3468
3435
  "text": "string | null"
3469
3436
  },
3470
- "privacy": "private",
3471
- "inheritedFrom": {
3472
- "name": "Accordion",
3473
- "module": "src/accordion/accordion.ts"
3474
- }
3437
+ "default": "null"
3475
3438
  },
3476
3439
  {
3477
3440
  "kind": "field",
3478
- "name": "activeItemIndex",
3441
+ "name": "activeGroups",
3479
3442
  "type": {
3480
- "text": "number"
3443
+ "text": "CriteriaGroup[]"
3481
3444
  },
3482
- "privacy": "private",
3483
- "default": "0",
3484
- "inheritedFrom": {
3485
- "name": "Accordion",
3486
- "module": "src/accordion/accordion.ts"
3487
- }
3445
+ "default": "[]"
3488
3446
  },
3489
3447
  {
3490
3448
  "kind": "field",
3491
- "name": "accordionIds",
3449
+ "name": "showingChips",
3492
3450
  "type": {
3493
- "text": "Array<string | null>"
3451
+ "text": "boolean"
3494
3452
  },
3495
- "privacy": "private",
3496
- "inheritedFrom": {
3497
- "name": "Accordion",
3498
- "module": "src/accordion/accordion.ts"
3499
- }
3453
+ "default": "false"
3500
3454
  },
3501
3455
  {
3502
3456
  "kind": "field",
3503
- "name": "change",
3504
- "privacy": "private",
3505
- "inheritedFrom": {
3506
- "name": "Accordion",
3507
- "module": "src/accordion/accordion.ts"
3508
- }
3457
+ "name": "fieldMetadata",
3458
+ "type": {
3459
+ "text": "MetadataDetail[] | string[]"
3460
+ },
3461
+ "default": "[]"
3509
3462
  },
3510
3463
  {
3511
- "kind": "method",
3512
- "name": "findExpandedItem",
3513
- "privacy": "private",
3514
- "return": {
3515
- "type": {
3516
- "text": "AccordionItem | null"
3517
- }
3464
+ "kind": "field",
3465
+ "name": "isRecording",
3466
+ "type": {
3467
+ "text": "boolean"
3518
3468
  },
3519
- "inheritedFrom": {
3520
- "name": "Accordion",
3521
- "module": "src/accordion/accordion.ts"
3522
- }
3469
+ "default": "false"
3523
3470
  },
3524
3471
  {
3525
3472
  "kind": "field",
3526
- "name": "setItems",
3527
- "privacy": "private",
3528
- "inheritedFrom": {
3529
- "name": "Accordion",
3530
- "module": "src/accordion/accordion.ts"
3531
- }
3473
+ "name": "textAreaRef",
3474
+ "type": {
3475
+ "text": "HTMLTextAreaElement"
3476
+ },
3477
+ "privacy": "public"
3532
3478
  },
3533
3479
  {
3534
- "kind": "method",
3535
- "name": "resetItems",
3536
- "privacy": "private",
3537
- "return": {
3538
- "type": {
3539
- "text": "void"
3540
- }
3480
+ "kind": "field",
3481
+ "name": "stopRecording",
3482
+ "type": {
3483
+ "text": "(() => void) | null"
3541
3484
  },
3542
- "inheritedFrom": {
3543
- "name": "Accordion",
3544
- "module": "src/accordion/accordion.ts"
3545
- }
3485
+ "privacy": "private",
3486
+ "default": "null"
3546
3487
  },
3547
3488
  {
3548
3489
  "kind": "field",
3549
- "name": "removeItemListeners",
3490
+ "name": "speechApplyDebounceTimer",
3491
+ "type": {
3492
+ "text": "ReturnType<typeof setTimeout> | null"
3493
+ },
3550
3494
  "privacy": "private",
3551
- "inheritedFrom": {
3552
- "name": "Accordion",
3553
- "module": "src/accordion/accordion.ts"
3554
- }
3495
+ "default": "null"
3555
3496
  },
3556
3497
  {
3557
3498
  "kind": "field",
3558
- "name": "activeItemChange",
3559
- "privacy": "private",
3560
- "inheritedFrom": {
3561
- "name": "Accordion",
3562
- "module": "src/accordion/accordion.ts"
3563
- }
3499
+ "name": "speechAvailable",
3500
+ "type": {
3501
+ "text": "boolean"
3502
+ },
3503
+ "readonly": true
3504
+ },
3505
+ {
3506
+ "kind": "field",
3507
+ "name": "criteriaChips",
3508
+ "type": {
3509
+ "text": "CriteriaChip[]"
3510
+ },
3511
+ "readonly": true
3564
3512
  },
3565
3513
  {
3566
3514
  "kind": "method",
3567
- "name": "getItemIds",
3515
+ "name": "getFieldLabel",
3568
3516
  "privacy": "private",
3569
3517
  "return": {
3570
3518
  "type": {
3571
- "text": "Array<string | null>"
3519
+ "text": "string"
3572
3520
  }
3573
3521
  },
3574
- "inheritedFrom": {
3575
- "name": "Accordion",
3576
- "module": "src/accordion/accordion.ts"
3577
- }
3522
+ "parameters": [
3523
+ {
3524
+ "name": "fieldName",
3525
+ "type": {
3526
+ "text": "string"
3527
+ }
3528
+ }
3529
+ ]
3578
3530
  },
3579
3531
  {
3580
3532
  "kind": "method",
3581
- "name": "isSingleExpandMode",
3582
- "privacy": "private",
3533
+ "name": "toggleCriteriaView",
3583
3534
  "return": {
3584
3535
  "type": {
3585
- "text": "boolean"
3536
+ "text": "void"
3586
3537
  }
3587
- },
3588
- "inheritedFrom": {
3589
- "name": "Accordion",
3590
- "module": "src/accordion/accordion.ts"
3591
- }
3592
- },
3593
- {
3594
- "kind": "field",
3595
- "name": "handleItemKeyDown",
3596
- "privacy": "private",
3597
- "inheritedFrom": {
3598
- "name": "Accordion",
3599
- "module": "src/accordion/accordion.ts"
3600
- }
3601
- },
3602
- {
3603
- "kind": "field",
3604
- "name": "handleItemFocus",
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
3538
  }
3610
3539
  },
3611
3540
  {
3612
3541
  "kind": "method",
3613
- "name": "adjust",
3614
- "privacy": "private",
3542
+ "name": "removeChip",
3615
3543
  "return": {
3616
3544
  "type": {
3617
3545
  "text": "void"
@@ -3619,31 +3547,49 @@
3619
3547
  },
3620
3548
  "parameters": [
3621
3549
  {
3622
- "name": "adjustment",
3550
+ "name": "groupIndex",
3551
+ "type": {
3552
+ "text": "number"
3553
+ }
3554
+ },
3555
+ {
3556
+ "name": "clauseIndex",
3623
3557
  "type": {
3624
3558
  "text": "number"
3625
3559
  }
3626
3560
  }
3627
- ],
3628
- "inheritedFrom": {
3629
- "name": "Accordion",
3630
- "module": "src/accordion/accordion.ts"
3631
- }
3561
+ ]
3632
3562
  },
3633
3563
  {
3634
3564
  "kind": "method",
3635
- "name": "focusItem",
3636
- "privacy": "private",
3565
+ "name": "clearChips",
3637
3566
  "return": {
3638
3567
  "type": {
3639
3568
  "text": "void"
3640
3569
  }
3641
- },
3642
- "inheritedFrom": {
3643
- "name": "Accordion",
3644
- "module": "src/accordion/accordion.ts"
3645
3570
  }
3646
3571
  },
3572
+ {
3573
+ "kind": "method",
3574
+ "name": "handleSubmit"
3575
+ },
3576
+ {
3577
+ "kind": "method",
3578
+ "name": "handleBlur"
3579
+ },
3580
+ {
3581
+ "kind": "method",
3582
+ "name": "clear"
3583
+ },
3584
+ {
3585
+ "kind": "method",
3586
+ "name": "toggleSpeechInput"
3587
+ },
3588
+ {
3589
+ "kind": "method",
3590
+ "name": "clearSpeechApplyDebounce",
3591
+ "privacy": "private"
3592
+ },
3647
3593
  {
3648
3594
  "kind": "field",
3649
3595
  "name": "_presentation",
@@ -3758,26 +3704,48 @@
3758
3704
  ],
3759
3705
  "events": [
3760
3706
  {
3761
- "description": "Fires a custom 'change' event when the active item changes",
3762
- "name": "change",
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
- }
3707
+ "description": "Fired when interpreted criteria is applied or cleared",
3708
+ "name": "criteria-changed"
3709
+ },
3710
+ {
3711
+ "description": "Fired when interpreted criteria contains invalid clauses",
3712
+ "name": "validation-errors"
3767
3713
  }
3768
- ]
3714
+ ],
3715
+ "attributes": [
3716
+ {
3717
+ "name": "placeholder",
3718
+ "type": {
3719
+ "text": "string"
3720
+ },
3721
+ "default": "'Describe your search criteria in natural language...'",
3722
+ "fieldName": "placeholder"
3723
+ },
3724
+ {
3725
+ "type": {
3726
+ "text": "boolean"
3727
+ },
3728
+ "fieldName": "disabled"
3729
+ }
3730
+ ],
3731
+ "superclass": {
3732
+ "name": "FoundationElement",
3733
+ "package": "@microsoft/fast-foundation"
3734
+ },
3735
+ "tagName": "%%prefix%%-ai-criteria-search",
3736
+ "customElement": true
3769
3737
  },
3770
3738
  {
3771
3739
  "kind": "variable",
3772
- "name": "foundationAccordionShadowOptions",
3740
+ "name": "foundationAiCriteriaSearchShadowOptions",
3773
3741
  "type": {
3774
3742
  "text": "ShadowRootInit"
3775
3743
  },
3776
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3744
+ "default": "undefined"
3777
3745
  },
3778
3746
  {
3779
3747
  "kind": "variable",
3780
- "name": "defaultAccordionConfig",
3748
+ "name": "defaultAiCriteriaSearchConfig",
3781
3749
  "type": {
3782
3750
  "text": "object"
3783
3751
  },
@@ -3785,57 +3753,103 @@
3785
3753
  },
3786
3754
  {
3787
3755
  "kind": "variable",
3788
- "name": "foundationAccordion",
3789
- "description": "The Foundation Accordion",
3790
- "privacy": "public"
3756
+ "name": "foundationAiCriteriaSearch"
3791
3757
  }
3792
3758
  ],
3793
3759
  "exports": [
3794
3760
  {
3795
3761
  "kind": "js",
3796
- "name": "Accordion",
3762
+ "name": "AiCriteriaSearch",
3797
3763
  "declaration": {
3798
- "name": "Accordion",
3799
- "module": "src/accordion/accordion.ts"
3764
+ "name": "AiCriteriaSearch",
3765
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3800
3766
  }
3801
3767
  },
3802
3768
  {
3803
3769
  "kind": "js",
3804
- "name": "foundationAccordionShadowOptions",
3770
+ "name": "foundationAiCriteriaSearchShadowOptions",
3805
3771
  "declaration": {
3806
- "name": "foundationAccordionShadowOptions",
3807
- "module": "src/accordion/accordion.ts"
3772
+ "name": "foundationAiCriteriaSearchShadowOptions",
3773
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3808
3774
  }
3809
3775
  },
3810
3776
  {
3811
3777
  "kind": "js",
3812
- "name": "defaultAccordionConfig",
3778
+ "name": "defaultAiCriteriaSearchConfig",
3813
3779
  "declaration": {
3814
- "name": "defaultAccordionConfig",
3815
- "module": "src/accordion/accordion.ts"
3780
+ "name": "defaultAiCriteriaSearchConfig",
3781
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3816
3782
  }
3817
3783
  },
3818
3784
  {
3819
3785
  "kind": "js",
3820
- "name": "foundationAccordion",
3786
+ "name": "foundationAiCriteriaSearch",
3821
3787
  "declaration": {
3822
- "name": "foundationAccordion",
3823
- "module": "src/accordion/accordion.ts"
3788
+ "name": "foundationAiCriteriaSearch",
3789
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3824
3790
  }
3825
3791
  }
3826
3792
  ]
3827
3793
  },
3828
3794
  {
3829
3795
  "kind": "javascript-module",
3830
- "path": "src/accordion/index.ts",
3796
+ "path": "src/ai-criteria-search/index.ts",
3831
3797
  "declarations": [],
3832
3798
  "exports": [
3799
+ {
3800
+ "kind": "js",
3801
+ "name": "AiCriteriaSearch",
3802
+ "declaration": {
3803
+ "name": "AiCriteriaSearch",
3804
+ "module": "./ai-criteria-search"
3805
+ }
3806
+ },
3807
+ {
3808
+ "kind": "js",
3809
+ "name": "defaultAiCriteriaSearchConfig",
3810
+ "declaration": {
3811
+ "name": "defaultAiCriteriaSearchConfig",
3812
+ "module": "./ai-criteria-search"
3813
+ }
3814
+ },
3815
+ {
3816
+ "kind": "js",
3817
+ "name": "foundationAiCriteriaSearch",
3818
+ "declaration": {
3819
+ "name": "foundationAiCriteriaSearch",
3820
+ "module": "./ai-criteria-search"
3821
+ }
3822
+ },
3823
+ {
3824
+ "kind": "js",
3825
+ "name": "foundationAiCriteriaSearchShadowOptions",
3826
+ "declaration": {
3827
+ "name": "foundationAiCriteriaSearchShadowOptions",
3828
+ "module": "./ai-criteria-search"
3829
+ }
3830
+ },
3831
+ {
3832
+ "kind": "js",
3833
+ "name": "foundationAiCriteriaSearchStyles",
3834
+ "declaration": {
3835
+ "name": "foundationAiCriteriaSearchStyles",
3836
+ "module": "./ai-criteria-search.styles"
3837
+ }
3838
+ },
3839
+ {
3840
+ "kind": "js",
3841
+ "name": "foundationAiCriteriaSearchTemplate",
3842
+ "declaration": {
3843
+ "name": "foundationAiCriteriaSearchTemplate",
3844
+ "module": "./ai-criteria-search.template"
3845
+ }
3846
+ },
3833
3847
  {
3834
3848
  "kind": "js",
3835
3849
  "name": "*",
3836
3850
  "declaration": {
3837
3851
  "name": "*",
3838
- "package": "./accordion.template"
3852
+ "package": "./validation/criteria-ir"
3839
3853
  }
3840
3854
  },
3841
3855
  {
@@ -3843,7 +3857,7 @@
3843
3857
  "name": "*",
3844
3858
  "declaration": {
3845
3859
  "name": "*",
3846
- "package": "./accordion.styles"
3860
+ "package": "./validation/operator-map"
3847
3861
  }
3848
3862
  },
3849
3863
  {
@@ -3851,38 +3865,82 @@
3851
3865
  "name": "*",
3852
3866
  "declaration": {
3853
3867
  "name": "*",
3854
- "package": "./accordion"
3868
+ "package": "./validation/schema-validator"
3855
3869
  }
3856
3870
  }
3857
3871
  ]
3858
3872
  },
3859
3873
  {
3860
3874
  "kind": "javascript-module",
3861
- "path": "src/_config/index.ts",
3862
- "declarations": [],
3863
- "exports": [
3875
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3876
+ "declarations": [
3864
3877
  {
3865
- "kind": "js",
3866
- "name": "*",
3867
- "declaration": {
3868
- "name": "*",
3869
- "package": "./styles"
3870
- }
3878
+ "kind": "function",
3879
+ "name": "formatValidationErrors",
3880
+ "return": {
3881
+ "type": {
3882
+ "text": "string"
3883
+ }
3884
+ },
3885
+ "parameters": [
3886
+ {
3887
+ "name": "errors",
3888
+ "type": {
3889
+ "text": "ValidationError[]"
3890
+ }
3891
+ }
3892
+ ],
3893
+ "description": "Formats validation errors into a user-friendly message."
3871
3894
  },
3895
+ {
3896
+ "kind": "function",
3897
+ "name": "showCriteriaError",
3898
+ "return": {
3899
+ "type": {
3900
+ "text": "void"
3901
+ }
3902
+ },
3903
+ "parameters": [
3904
+ {
3905
+ "name": "title",
3906
+ "type": {
3907
+ "text": "string"
3908
+ },
3909
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3910
+ },
3911
+ {
3912
+ "name": "body",
3913
+ "type": {
3914
+ "text": "string"
3915
+ },
3916
+ "description": "Error message to display"
3917
+ },
3918
+ {
3919
+ "name": "tagName",
3920
+ "type": {
3921
+ "text": "string"
3922
+ },
3923
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3924
+ }
3925
+ ],
3926
+ "description": "Shows a criteria error as a toast notification."
3927
+ }
3928
+ ],
3929
+ "exports": [
3872
3930
  {
3873
3931
  "kind": "js",
3874
- "name": "*",
3932
+ "name": "formatValidationErrors",
3875
3933
  "declaration": {
3876
- "name": "*",
3877
- "package": "./tokens"
3934
+ "name": "formatValidationErrors",
3935
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3878
3936
  }
3879
3937
  },
3880
3938
  {
3881
3939
  "kind": "js",
3882
- "name": "*",
3940
+ "name": "showCriteriaError",
3883
3941
  "declaration": {
3884
- "name": "*",
3885
- "package": "./values"
3942
+ "name": "showCriteriaError",
3943
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3886
3944
  }
3887
3945
  }
3888
3946
  ]
@@ -56421,181 +56479,6 @@
56421
56479
  }
56422
56480
  ]
56423
56481
  },
56424
- {
56425
- "kind": "javascript-module",
56426
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
56427
- "declarations": [],
56428
- "exports": []
56429
- },
56430
- {
56431
- "kind": "javascript-module",
56432
- "path": "src/ai-criteria-search/validation/operator-map.ts",
56433
- "declarations": [
56434
- {
56435
- "kind": "function",
56436
- "name": "groupsToCriteria",
56437
- "return": {
56438
- "type": {
56439
- "text": "string"
56440
- }
56441
- },
56442
- "parameters": [
56443
- {
56444
- "name": "groups",
56445
- "type": {
56446
- "text": "CriteriaGroup[]"
56447
- }
56448
- }
56449
- ],
56450
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
56451
- },
56452
- {
56453
- "kind": "variable",
56454
- "name": "STRING_OPERATORS",
56455
- "type": {
56456
- "text": "CriteriaOperator[]"
56457
- },
56458
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
56459
- },
56460
- {
56461
- "kind": "variable",
56462
- "name": "NUMERIC_OPERATORS",
56463
- "type": {
56464
- "text": "CriteriaOperator[]"
56465
- },
56466
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
56467
- },
56468
- {
56469
- "kind": "variable",
56470
- "name": "DATE_OPERATORS",
56471
- "type": {
56472
- "text": "CriteriaOperator[]"
56473
- },
56474
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
56475
- },
56476
- {
56477
- "kind": "variable",
56478
- "name": "DATETIME_OPERATORS",
56479
- "type": {
56480
- "text": "CriteriaOperator[]"
56481
- },
56482
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
56483
- }
56484
- ],
56485
- "exports": [
56486
- {
56487
- "kind": "js",
56488
- "name": "groupsToCriteria",
56489
- "declaration": {
56490
- "name": "groupsToCriteria",
56491
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56492
- }
56493
- },
56494
- {
56495
- "kind": "js",
56496
- "name": "STRING_OPERATORS",
56497
- "declaration": {
56498
- "name": "STRING_OPERATORS",
56499
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56500
- }
56501
- },
56502
- {
56503
- "kind": "js",
56504
- "name": "NUMERIC_OPERATORS",
56505
- "declaration": {
56506
- "name": "NUMERIC_OPERATORS",
56507
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56508
- }
56509
- },
56510
- {
56511
- "kind": "js",
56512
- "name": "DATE_OPERATORS",
56513
- "declaration": {
56514
- "name": "DATE_OPERATORS",
56515
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56516
- }
56517
- },
56518
- {
56519
- "kind": "js",
56520
- "name": "DATETIME_OPERATORS",
56521
- "declaration": {
56522
- "name": "DATETIME_OPERATORS",
56523
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56524
- }
56525
- }
56526
- ]
56527
- },
56528
- {
56529
- "kind": "javascript-module",
56530
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
56531
- "declarations": [
56532
- {
56533
- "kind": "function",
56534
- "name": "validateClauses",
56535
- "return": {
56536
- "type": {
56537
- "text": "ValidationResult"
56538
- }
56539
- },
56540
- "parameters": [
56541
- {
56542
- "name": "clauses",
56543
- "type": {
56544
- "text": "CriteriaClause[]"
56545
- }
56546
- },
56547
- {
56548
- "name": "fieldMetadata",
56549
- "type": {
56550
- "text": "MetadataDetail[] | string[]"
56551
- }
56552
- }
56553
- ]
56554
- },
56555
- {
56556
- "kind": "function",
56557
- "name": "validateGroups",
56558
- "return": {
56559
- "type": {
56560
- "text": "GroupsValidationResult"
56561
- }
56562
- },
56563
- "parameters": [
56564
- {
56565
- "name": "groups",
56566
- "type": {
56567
- "text": "CriteriaGroup[]"
56568
- }
56569
- },
56570
- {
56571
- "name": "fieldMetadata",
56572
- "type": {
56573
- "text": "MetadataDetail[] | string[]"
56574
- }
56575
- }
56576
- ],
56577
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56578
- }
56579
- ],
56580
- "exports": [
56581
- {
56582
- "kind": "js",
56583
- "name": "validateClauses",
56584
- "declaration": {
56585
- "name": "validateClauses",
56586
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56587
- }
56588
- },
56589
- {
56590
- "kind": "js",
56591
- "name": "validateGroups",
56592
- "declaration": {
56593
- "name": "validateGroups",
56594
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56595
- }
56596
- }
56597
- ]
56598
- },
56599
56482
  {
56600
56483
  "kind": "javascript-module",
56601
56484
  "path": "src/_config/styles/colors.ts",
@@ -57968,6 +57851,197 @@
57968
57851
  "declarations": [],
57969
57852
  "exports": []
57970
57853
  },
57854
+ {
57855
+ "kind": "javascript-module",
57856
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57857
+ "declarations": [],
57858
+ "exports": []
57859
+ },
57860
+ {
57861
+ "kind": "javascript-module",
57862
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57863
+ "declarations": [
57864
+ {
57865
+ "kind": "function",
57866
+ "name": "groupsToCriteria",
57867
+ "return": {
57868
+ "type": {
57869
+ "text": "string"
57870
+ }
57871
+ },
57872
+ "parameters": [
57873
+ {
57874
+ "name": "groups",
57875
+ "type": {
57876
+ "text": "CriteriaGroup[]"
57877
+ }
57878
+ }
57879
+ ],
57880
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57881
+ },
57882
+ {
57883
+ "kind": "variable",
57884
+ "name": "STRING_OPERATORS",
57885
+ "type": {
57886
+ "text": "CriteriaOperator[]"
57887
+ },
57888
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57889
+ },
57890
+ {
57891
+ "kind": "variable",
57892
+ "name": "NUMERIC_OPERATORS",
57893
+ "type": {
57894
+ "text": "CriteriaOperator[]"
57895
+ },
57896
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57897
+ },
57898
+ {
57899
+ "kind": "variable",
57900
+ "name": "DATE_OPERATORS",
57901
+ "type": {
57902
+ "text": "CriteriaOperator[]"
57903
+ },
57904
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57905
+ },
57906
+ {
57907
+ "kind": "variable",
57908
+ "name": "DATETIME_OPERATORS",
57909
+ "type": {
57910
+ "text": "CriteriaOperator[]"
57911
+ },
57912
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57913
+ },
57914
+ {
57915
+ "kind": "variable",
57916
+ "name": "OPERATOR_DISPLAY_LABEL",
57917
+ "type": {
57918
+ "text": "Record<CriteriaOperator, string>"
57919
+ },
57920
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57921
+ }
57922
+ ],
57923
+ "exports": [
57924
+ {
57925
+ "kind": "js",
57926
+ "name": "groupsToCriteria",
57927
+ "declaration": {
57928
+ "name": "groupsToCriteria",
57929
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57930
+ }
57931
+ },
57932
+ {
57933
+ "kind": "js",
57934
+ "name": "STRING_OPERATORS",
57935
+ "declaration": {
57936
+ "name": "STRING_OPERATORS",
57937
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57938
+ }
57939
+ },
57940
+ {
57941
+ "kind": "js",
57942
+ "name": "NUMERIC_OPERATORS",
57943
+ "declaration": {
57944
+ "name": "NUMERIC_OPERATORS",
57945
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57946
+ }
57947
+ },
57948
+ {
57949
+ "kind": "js",
57950
+ "name": "DATE_OPERATORS",
57951
+ "declaration": {
57952
+ "name": "DATE_OPERATORS",
57953
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57954
+ }
57955
+ },
57956
+ {
57957
+ "kind": "js",
57958
+ "name": "DATETIME_OPERATORS",
57959
+ "declaration": {
57960
+ "name": "DATETIME_OPERATORS",
57961
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57962
+ }
57963
+ },
57964
+ {
57965
+ "kind": "js",
57966
+ "name": "OPERATOR_DISPLAY_LABEL",
57967
+ "declaration": {
57968
+ "name": "OPERATOR_DISPLAY_LABEL",
57969
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57970
+ }
57971
+ }
57972
+ ]
57973
+ },
57974
+ {
57975
+ "kind": "javascript-module",
57976
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
57977
+ "declarations": [
57978
+ {
57979
+ "kind": "function",
57980
+ "name": "validateClauses",
57981
+ "return": {
57982
+ "type": {
57983
+ "text": "ValidationResult"
57984
+ }
57985
+ },
57986
+ "parameters": [
57987
+ {
57988
+ "name": "clauses",
57989
+ "type": {
57990
+ "text": "CriteriaClause[]"
57991
+ }
57992
+ },
57993
+ {
57994
+ "name": "fieldMetadata",
57995
+ "type": {
57996
+ "text": "MetadataDetail[] | string[]"
57997
+ }
57998
+ }
57999
+ ]
58000
+ },
58001
+ {
58002
+ "kind": "function",
58003
+ "name": "validateGroups",
58004
+ "return": {
58005
+ "type": {
58006
+ "text": "GroupsValidationResult"
58007
+ }
58008
+ },
58009
+ "parameters": [
58010
+ {
58011
+ "name": "groups",
58012
+ "type": {
58013
+ "text": "CriteriaGroup[]"
58014
+ }
58015
+ },
58016
+ {
58017
+ "name": "fieldMetadata",
58018
+ "type": {
58019
+ "text": "MetadataDetail[] | string[]"
58020
+ }
58021
+ }
58022
+ ],
58023
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58024
+ }
58025
+ ],
58026
+ "exports": [
58027
+ {
58028
+ "kind": "js",
58029
+ "name": "validateClauses",
58030
+ "declaration": {
58031
+ "name": "validateClauses",
58032
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58033
+ }
58034
+ },
58035
+ {
58036
+ "kind": "js",
58037
+ "name": "validateGroups",
58038
+ "declaration": {
58039
+ "name": "validateGroups",
58040
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58041
+ }
58042
+ }
58043
+ ]
58044
+ },
57971
58045
  {
57972
58046
  "kind": "javascript-module",
57973
58047
  "path": "src/environment-indicator/utils/configure.ts",