@genesislcap/foundation-ui 15.28.0 → 15.28.1-FUI-0.6

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.
@@ -1493,37 +1493,6 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
- {
1497
- "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
1496
  {
1528
1497
  "kind": "javascript-module",
1529
1498
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1920,11 +1889,65 @@
1920
1889
  },
1921
1890
  {
1922
1891
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "*",
1906
+ "declaration": {
1907
+ "name": "*",
1908
+ "package": "./tokens"
1909
+ }
1910
+ },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "*",
1914
+ "declaration": {
1915
+ "name": "*",
1916
+ "package": "./values"
1917
+ }
1918
+ }
1919
+ ]
1920
+ },
1921
+ {
1922
+ "kind": "javascript-module",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
1924
  "declarations": [
1925
1925
  {
1926
1926
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
+ "return": {
1929
+ "type": {
1930
+ "text": "ElementStyles"
1931
+ }
1932
+ },
1933
+ "parameters": [
1934
+ {
1935
+ "name": "context",
1936
+ "type": {
1937
+ "text": "ElementDefinitionContext"
1938
+ }
1939
+ },
1940
+ {
1941
+ "name": "definition",
1942
+ "type": {
1943
+ "text": "FoundationElementDefinition"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "kind": "function",
1950
+ "name": "foundationActionsMenuStyles",
1928
1951
  "return": {
1929
1952
  "type": {
1930
1953
  "text": "ElementStyles"
@@ -1949,277 +1972,281 @@
1949
1972
  "exports": [
1950
1973
  {
1951
1974
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
1975
+ "name": "actionsMenuBaseStyles",
1953
1976
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1956
1987
  }
1957
1988
  }
1958
1989
  ]
1959
1990
  },
1960
1991
  {
1961
1992
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1963
1994
  "declarations": [
1964
1995
  {
1965
1996
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
1967
- "return": {
1968
- "type": {
1969
- "text": "ViewTemplate<Accordion>"
1970
- }
1971
- },
1997
+ "name": "menuTemplate",
1972
1998
  "parameters": [
1973
1999
  {
1974
- "name": "context",
2000
+ "name": "prefix",
1975
2001
  "type": {
1976
- "text": "ElementDefinitionContext"
2002
+ "text": "string"
1977
2003
  }
1978
- },
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "singleOptionTemplate",
2010
+ "parameters": [
1979
2011
  {
1980
- "name": "definition",
2012
+ "name": "prefix",
1981
2013
  "type": {
1982
- "text": "FoundationElementDefinition"
2014
+ "text": "string"
1983
2015
  }
1984
2016
  }
1985
2017
  ]
2018
+ },
2019
+ {
2020
+ "kind": "variable",
2021
+ "name": "foundationActionsMenuTemplate",
2022
+ "type": {
2023
+ "text": "ViewTemplate<ActionsMenu>"
2024
+ },
2025
+ "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`"
1986
2026
  }
1987
2027
  ],
1988
2028
  "exports": [
1989
2029
  {
1990
2030
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
2031
+ "name": "menuTemplate",
1992
2032
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
2033
+ "name": "menuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ },
2037
+ {
2038
+ "kind": "js",
2039
+ "name": "singleOptionTemplate",
2040
+ "declaration": {
2041
+ "name": "singleOptionTemplate",
2042
+ "module": "src/actions-menu/actions-menu.template.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "foundationActionsMenuTemplate",
2048
+ "declaration": {
2049
+ "name": "foundationActionsMenuTemplate",
2050
+ "module": "src/actions-menu/actions-menu.template.ts"
1995
2051
  }
1996
2052
  }
1997
2053
  ]
1998
2054
  },
1999
2055
  {
2000
2056
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2057
+ "path": "src/actions-menu/actions-menu.ts",
2002
2058
  "declarations": [
2003
2059
  {
2004
2060
  "kind": "class",
2005
2061
  "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2062
+ "name": "ActionsMenu",
2063
+ "members": [
2014
2064
  {
2015
- "name": "expand-mode",
2065
+ "kind": "field",
2066
+ "name": "actions",
2016
2067
  "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2068
+ "text": "ActionMenuItem[]"
2024
2069
  }
2025
- }
2026
- ],
2027
- "members": [
2070
+ },
2028
2071
  {
2029
2072
  "kind": "field",
2030
- "name": "expandmode",
2073
+ "name": "isVertical",
2031
2074
  "type": {
2032
- "text": "AccordionExpandMode"
2075
+ "text": "boolean"
2033
2076
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
- "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2039
- }
2077
+ "default": "false"
2040
2078
  },
2041
2079
  {
2042
2080
  "kind": "field",
2043
- "name": "activeid",
2081
+ "name": "addDefaultActions",
2044
2082
  "type": {
2045
- "text": "string | null"
2083
+ "text": "boolean"
2046
2084
  },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2085
+ "default": "true"
2052
2086
  },
2053
2087
  {
2054
2088
  "kind": "field",
2055
- "name": "activeItemIndex",
2089
+ "name": "autoCloseOnAction",
2056
2090
  "type": {
2057
- "text": "number"
2091
+ "text": "boolean"
2058
2092
  },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2064
- }
2093
+ "default": "true"
2065
2094
  },
2066
2095
  {
2067
2096
  "kind": "field",
2068
- "name": "accordionIds",
2097
+ "name": "classNames",
2069
2098
  "type": {
2070
- "text": "Array<string | null>"
2071
- },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2099
+ "text": "string"
2076
2100
  }
2077
2101
  },
2078
2102
  {
2079
2103
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2104
+ "name": "definition",
2105
+ "type": {
2106
+ "text": "any"
2085
2107
  }
2086
2108
  },
2087
2109
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2110
+ "kind": "field",
2111
+ "name": "name",
2112
+ "type": {
2113
+ "text": "string"
2095
2114
  },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2099
- }
2115
+ "default": "'Actions'"
2100
2116
  },
2101
2117
  {
2102
2118
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2108
- }
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2109
2124
  },
2110
2125
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2130
+ }
2131
+ },
2132
+ {
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2118
2137
  },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2122
2153
  }
2123
2154
  },
2124
2155
  {
2125
2156
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2131
2160
  }
2132
2161
  },
2133
2162
  {
2134
2163
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2140
2167
  }
2141
2168
  },
2142
2169
  {
2143
2170
  "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2171
+ "name": "updateMenuPosition",
2172
+ "privacy": "private"
2173
+ },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "definitionChanged",
2177
+ "privacy": "protected",
2178
+ "parameters": [
2179
+ {
2180
+ "name": "oldValue",
2181
+ "type": {
2182
+ "text": "any"
2183
+ }
2184
+ },
2185
+ {
2186
+ "name": "newValue",
2187
+ "type": {
2188
+ "text": "any"
2189
+ }
2149
2190
  }
2150
- },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2191
+ ]
2155
2192
  },
2156
2193
  {
2157
2194
  "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2195
+ "name": "openChanged",
2196
+ "privacy": "protected"
2197
+ },
2198
+ {
2199
+ "kind": "method",
2200
+ "name": "toggleActionsMenuVisibility"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "onActionMenuItemClick",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "callback",
2208
+ "type": {
2209
+ "text": "(rowData) => void | any"
2210
+ }
2163
2211
  }
2164
- },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2212
+ ]
2169
2213
  },
2170
2214
  {
2171
2215
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2216
+ "name": "allActions",
2217
+ "type": {
2218
+ "text": "ActionMenuItem[]"
2219
+ },
2220
+ "readonly": true
2178
2221
  },
2179
2222
  {
2180
2223
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2224
+ "name": "rowData",
2225
+ "readonly": true
2187
2226
  },
2188
2227
  {
2189
2228
  "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2229
+ "name": "getLabel",
2197
2230
  "parameters": [
2198
2231
  {
2199
- "name": "adjustment",
2232
+ "name": "name",
2200
2233
  "type": {
2201
- "text": "number"
2234
+ "text": "string | ((rowData: any) => string)"
2202
2235
  }
2203
2236
  }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2237
+ ]
2209
2238
  },
2210
2239
  {
2211
2240
  "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2241
+ "name": "getTemplate",
2242
+ "parameters": [
2243
+ {
2244
+ "name": "prefix",
2245
+ "type": {
2246
+ "text": "string"
2247
+ }
2217
2248
  }
2218
- },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2249
+ ]
2223
2250
  },
2224
2251
  {
2225
2252
  "kind": "field",
@@ -2333,78 +2360,107 @@
2333
2360
  }
2334
2361
  }
2335
2362
  ],
2336
- "events": [
2363
+ "attributes": [
2337
2364
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2343
- }
2365
+ "name": "is-vertical",
2366
+ "type": {
2367
+ "text": "boolean"
2368
+ },
2369
+ "default": "false",
2370
+ "fieldName": "isVertical"
2371
+ },
2372
+ {
2373
+ "name": "add-default-actions",
2374
+ "type": {
2375
+ "text": "boolean"
2376
+ },
2377
+ "default": "true",
2378
+ "fieldName": "addDefaultActions"
2379
+ },
2380
+ {
2381
+ "name": "auto-close-on-action",
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "true",
2386
+ "fieldName": "autoCloseOnAction"
2387
+ },
2388
+ {
2389
+ "name": "name",
2390
+ "type": {
2391
+ "text": "string"
2392
+ },
2393
+ "default": "'Actions'",
2394
+ "fieldName": "name"
2395
+ },
2396
+ {
2397
+ "name": "open",
2398
+ "type": {
2399
+ "text": "boolean"
2400
+ },
2401
+ "default": "false",
2402
+ "fieldName": "open"
2403
+ },
2404
+ {
2405
+ "name": "buttonAppearance",
2406
+ "type": {
2407
+ "text": "string"
2408
+ },
2409
+ "fieldName": "buttonAppearance"
2410
+ },
2411
+ {
2412
+ "name": "hide-disabled",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "false",
2417
+ "fieldName": "hideDisabled"
2418
+ },
2419
+ {
2420
+ "name": "hide-menu-single-option",
2421
+ "type": {
2422
+ "text": "boolean"
2423
+ },
2424
+ "default": "false",
2425
+ "fieldName": "hideMenuSingleOption"
2344
2426
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2427
+ ],
2428
+ "superclass": {
2429
+ "name": "FoundationElement",
2430
+ "package": "@microsoft/fast-foundation"
2352
2431
  },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2432
+ "tagName": "%%prefix%%-actions-menu",
2433
+ "customElement": true
2354
2434
  },
2355
2435
  {
2356
2436
  "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2358
- "type": {
2359
- "text": "object"
2360
- },
2361
- "default": "{}"
2362
- },
2363
- {
2364
- "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2437
+ "name": "foundationActionsMenu",
2438
+ "description": "The Foundation Actions Menu",
2367
2439
  "privacy": "public"
2368
2440
  }
2369
2441
  ],
2370
2442
  "exports": [
2371
2443
  {
2372
2444
  "kind": "js",
2373
- "name": "Accordion",
2374
- "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2445
+ "name": "ActionsMenu",
2390
2446
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2447
+ "name": "ActionsMenu",
2448
+ "module": "src/actions-menu/actions-menu.ts"
2393
2449
  }
2394
2450
  },
2395
2451
  {
2396
2452
  "kind": "js",
2397
- "name": "foundationAccordion",
2453
+ "name": "foundationActionsMenu",
2398
2454
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2455
+ "name": "foundationActionsMenu",
2456
+ "module": "src/actions-menu/actions-menu.ts"
2401
2457
  }
2402
2458
  }
2403
2459
  ]
2404
2460
  },
2405
2461
  {
2406
2462
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2463
+ "path": "src/actions-menu/index.ts",
2408
2464
  "declarations": [],
2409
2465
  "exports": [
2410
2466
  {
@@ -2412,7 +2468,7 @@
2412
2468
  "name": "*",
2413
2469
  "declaration": {
2414
2470
  "name": "*",
2415
- "package": "./accordion.template"
2471
+ "package": "./actions-menu.styles"
2416
2472
  }
2417
2473
  },
2418
2474
  {
@@ -2420,7 +2476,7 @@
2420
2476
  "name": "*",
2421
2477
  "declaration": {
2422
2478
  "name": "*",
2423
- "package": "./accordion.styles"
2479
+ "package": "./actions-menu.template"
2424
2480
  }
2425
2481
  },
2426
2482
  {
@@ -2428,210 +2484,122 @@
2428
2484
  "name": "*",
2429
2485
  "declaration": {
2430
2486
  "name": "*",
2431
- "package": "./accordion"
2487
+ "package": "./actions-menu"
2432
2488
  }
2433
2489
  }
2434
2490
  ]
2435
2491
  },
2436
2492
  {
2437
2493
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2494
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2439
2495
  "declarations": [
2440
2496
  {
2441
- "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2466
- "return": {
2467
- "type": {
2468
- "text": "ElementStyles"
2469
- }
2470
- },
2471
- "parameters": [
2472
- {
2473
- "name": "context",
2474
- "type": {
2475
- "text": "ElementDefinitionContext"
2476
- }
2477
- },
2478
- {
2479
- "name": "definition",
2480
- "type": {
2481
- "text": "FoundationElementDefinition"
2482
- }
2483
- }
2484
- ]
2497
+ "kind": "variable",
2498
+ "name": "foundationAiCriteriaSearchStyles",
2499
+ "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`"
2485
2500
  }
2486
2501
  ],
2487
2502
  "exports": [
2488
2503
  {
2489
2504
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2505
+ "name": "foundationAiCriteriaSearchStyles",
2499
2506
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2507
+ "name": "foundationAiCriteriaSearchStyles",
2508
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2502
2509
  }
2503
2510
  }
2504
2511
  ]
2505
2512
  },
2506
2513
  {
2507
2514
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2515
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2509
2516
  "declarations": [
2510
- {
2511
- "kind": "function",
2512
- "name": "menuTemplate",
2513
- "parameters": [
2514
- {
2515
- "name": "prefix",
2516
- "type": {
2517
- "text": "string"
2518
- }
2519
- }
2520
- ]
2521
- },
2522
- {
2523
- "kind": "function",
2524
- "name": "singleOptionTemplate",
2525
- "parameters": [
2526
- {
2527
- "name": "prefix",
2528
- "type": {
2529
- "text": "string"
2530
- }
2531
- }
2532
- ]
2533
- },
2534
2517
  {
2535
2518
  "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
2519
+ "name": "foundationAiCriteriaSearchTemplate",
2537
2520
  "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
2521
+ "text": "ViewTemplate<AiCriteriaSearch>"
2539
2522
  },
2540
- "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`"
2523
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2541
2524
  }
2542
2525
  ],
2543
2526
  "exports": [
2544
2527
  {
2545
2528
  "kind": "js",
2546
- "name": "menuTemplate",
2547
- "declaration": {
2548
- "name": "menuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2550
- }
2551
- },
2552
- {
2553
- "kind": "js",
2554
- "name": "singleOptionTemplate",
2555
- "declaration": {
2556
- "name": "singleOptionTemplate",
2557
- "module": "src/actions-menu/actions-menu.template.ts"
2558
- }
2559
- },
2560
- {
2561
- "kind": "js",
2562
- "name": "foundationActionsMenuTemplate",
2529
+ "name": "foundationAiCriteriaSearchTemplate",
2563
2530
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
2531
+ "name": "foundationAiCriteriaSearchTemplate",
2532
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2566
2533
  }
2567
2534
  }
2568
2535
  ]
2569
2536
  },
2570
2537
  {
2571
2538
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
2539
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2573
2540
  "declarations": [
2574
2541
  {
2575
2542
  "kind": "class",
2576
- "description": "",
2577
- "name": "ActionsMenu",
2543
+ "description": "Natural-language criteria search input with AI interpretation.",
2544
+ "name": "AiCriteriaSearch",
2578
2545
  "members": [
2579
2546
  {
2580
2547
  "kind": "field",
2581
- "name": "actions",
2548
+ "name": "providerRegistry",
2582
2549
  "type": {
2583
- "text": "ActionMenuItem[]"
2550
+ "text": "AIProviderRegistry"
2584
2551
  }
2585
2552
  },
2586
2553
  {
2587
2554
  "kind": "field",
2588
- "name": "isVertical",
2555
+ "name": "placeholder",
2589
2556
  "type": {
2590
- "text": "boolean"
2557
+ "text": "string"
2591
2558
  },
2592
- "default": "false"
2559
+ "default": "'Describe your search criteria in natural language...'"
2593
2560
  },
2594
2561
  {
2595
2562
  "kind": "field",
2596
- "name": "addDefaultActions",
2563
+ "name": "disabled",
2597
2564
  "type": {
2598
2565
  "text": "boolean"
2599
- },
2600
- "default": "true"
2566
+ }
2601
2567
  },
2602
2568
  {
2603
2569
  "kind": "field",
2604
- "name": "autoCloseOnAction",
2570
+ "name": "inputValue",
2605
2571
  "type": {
2606
- "text": "boolean"
2572
+ "text": "string"
2607
2573
  },
2608
- "default": "true"
2574
+ "default": "''"
2609
2575
  },
2610
2576
  {
2611
2577
  "kind": "field",
2612
- "name": "classNames",
2578
+ "name": "isInterpreting",
2613
2579
  "type": {
2614
- "text": "string"
2615
- }
2580
+ "text": "boolean"
2581
+ },
2582
+ "default": "false"
2616
2583
  },
2617
2584
  {
2618
2585
  "kind": "field",
2619
- "name": "definition",
2586
+ "name": "lastValidCriteria",
2620
2587
  "type": {
2621
- "text": "any"
2622
- }
2588
+ "text": "string | null"
2589
+ },
2590
+ "default": "null"
2623
2591
  },
2624
2592
  {
2625
2593
  "kind": "field",
2626
- "name": "name",
2594
+ "name": "activeGroups",
2627
2595
  "type": {
2628
- "text": "string"
2596
+ "text": "CriteriaGroup[]"
2629
2597
  },
2630
- "default": "'Actions'"
2598
+ "default": "[]"
2631
2599
  },
2632
2600
  {
2633
2601
  "kind": "field",
2634
- "name": "open",
2602
+ "name": "showingChips",
2635
2603
  "type": {
2636
2604
  "text": "boolean"
2637
2605
  },
@@ -2639,14 +2607,15 @@
2639
2607
  },
2640
2608
  {
2641
2609
  "kind": "field",
2642
- "name": "buttonAppearance",
2610
+ "name": "fieldMetadata",
2643
2611
  "type": {
2644
- "text": "string"
2645
- }
2612
+ "text": "MetadataDetail[] | string[]"
2613
+ },
2614
+ "default": "[]"
2646
2615
  },
2647
2616
  {
2648
2617
  "kind": "field",
2649
- "name": "hideDisabled",
2618
+ "name": "isRecording",
2650
2619
  "type": {
2651
2620
  "text": "boolean"
2652
2621
  },
@@ -2654,114 +2623,125 @@
2654
2623
  },
2655
2624
  {
2656
2625
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2626
+ "name": "textAreaRef",
2658
2627
  "type": {
2659
- "text": "boolean"
2628
+ "text": "HTMLTextAreaElement"
2660
2629
  },
2661
- "default": "false"
2630
+ "privacy": "public"
2662
2631
  },
2663
2632
  {
2664
2633
  "kind": "field",
2665
- "name": "singleOption",
2634
+ "name": "stopRecording",
2666
2635
  "type": {
2667
- "text": "ActionMenuItem"
2668
- }
2636
+ "text": "(() => void) | null"
2637
+ },
2638
+ "privacy": "private",
2639
+ "default": "null"
2669
2640
  },
2670
2641
  {
2671
2642
  "kind": "field",
2672
- "name": "actionsMenu",
2643
+ "name": "speechApplyDebounceTimer",
2673
2644
  "type": {
2674
- "text": "HTMLElement"
2675
- }
2645
+ "text": "ReturnType<typeof setTimeout> | null"
2646
+ },
2647
+ "privacy": "private",
2648
+ "default": "null"
2676
2649
  },
2677
2650
  {
2678
2651
  "kind": "field",
2679
- "name": "actionsOpener",
2652
+ "name": "speechAvailable",
2680
2653
  "type": {
2681
- "text": "HTMLElement"
2682
- }
2654
+ "text": "boolean"
2655
+ },
2656
+ "readonly": true
2657
+ },
2658
+ {
2659
+ "kind": "field",
2660
+ "name": "criteriaChips",
2661
+ "type": {
2662
+ "text": "CriteriaChip[]"
2663
+ },
2664
+ "readonly": true
2683
2665
  },
2684
2666
  {
2685
2667
  "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
2668
+ "name": "getFieldLabel",
2669
+ "privacy": "private",
2670
+ "return": {
2671
+ "type": {
2672
+ "text": "string"
2673
+ }
2674
+ },
2675
+ "parameters": [
2676
+ {
2677
+ "name": "fieldName",
2678
+ "type": {
2679
+ "text": "string"
2680
+ }
2681
+ }
2682
+ ]
2688
2683
  },
2689
2684
  {
2690
2685
  "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
2686
+ "name": "toggleCriteriaView",
2687
+ "return": {
2688
+ "type": {
2689
+ "text": "void"
2690
+ }
2691
+ }
2692
+ },
2693
+ {
2694
+ "kind": "method",
2695
+ "name": "removeChip",
2696
+ "return": {
2697
+ "type": {
2698
+ "text": "void"
2699
+ }
2700
+ },
2693
2701
  "parameters": [
2694
2702
  {
2695
- "name": "oldValue",
2703
+ "name": "groupIndex",
2696
2704
  "type": {
2697
- "text": "any"
2705
+ "text": "number"
2698
2706
  }
2699
2707
  },
2700
2708
  {
2701
- "name": "newValue",
2709
+ "name": "clauseIndex",
2702
2710
  "type": {
2703
- "text": "any"
2711
+ "text": "number"
2704
2712
  }
2705
2713
  }
2706
2714
  ]
2707
2715
  },
2708
2716
  {
2709
2717
  "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
2718
+ "name": "clearChips",
2719
+ "return": {
2720
+ "type": {
2721
+ "text": "void"
2722
+ }
2723
+ }
2712
2724
  },
2713
2725
  {
2714
2726
  "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
2727
+ "name": "handleSubmit"
2716
2728
  },
2717
2729
  {
2718
2730
  "kind": "method",
2719
- "name": "onActionMenuItemClick",
2720
- "parameters": [
2721
- {
2722
- "name": "callback",
2723
- "type": {
2724
- "text": "(rowData) => void | any"
2725
- }
2726
- }
2727
- ]
2728
- },
2729
- {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
2731
+ "name": "handleBlur"
2736
2732
  },
2737
2733
  {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
2734
+ "kind": "method",
2735
+ "name": "clear"
2741
2736
  },
2742
2737
  {
2743
2738
  "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
2751
- }
2752
- ]
2739
+ "name": "toggleSpeechInput"
2753
2740
  },
2754
2741
  {
2755
2742
  "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
2763
- }
2764
- ]
2743
+ "name": "clearSpeechApplyDebounce",
2744
+ "privacy": "private"
2765
2745
  },
2766
2746
  {
2767
2747
  "kind": "field",
@@ -2875,115 +2855,154 @@
2875
2855
  }
2876
2856
  }
2877
2857
  ],
2878
- "attributes": [
2879
- {
2880
- "name": "is-vertical",
2881
- "type": {
2882
- "text": "boolean"
2883
- },
2884
- "default": "false",
2885
- "fieldName": "isVertical"
2886
- },
2887
- {
2888
- "name": "add-default-actions",
2889
- "type": {
2890
- "text": "boolean"
2891
- },
2892
- "default": "true",
2893
- "fieldName": "addDefaultActions"
2894
- },
2895
- {
2896
- "name": "auto-close-on-action",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "true",
2901
- "fieldName": "autoCloseOnAction"
2902
- },
2858
+ "events": [
2903
2859
  {
2904
- "name": "name",
2905
- "type": {
2906
- "text": "string"
2907
- },
2908
- "default": "'Actions'",
2909
- "fieldName": "name"
2860
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
+ "name": "criteria-changed"
2910
2862
  },
2911
2863
  {
2912
- "name": "open",
2913
- "type": {
2914
- "text": "boolean"
2915
- },
2916
- "default": "false",
2917
- "fieldName": "open"
2918
- },
2864
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
+ "name": "validation-errors"
2866
+ }
2867
+ ],
2868
+ "attributes": [
2919
2869
  {
2920
- "name": "buttonAppearance",
2870
+ "name": "placeholder",
2921
2871
  "type": {
2922
2872
  "text": "string"
2923
2873
  },
2924
- "fieldName": "buttonAppearance"
2925
- },
2926
- {
2927
- "name": "hide-disabled",
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "default": "false",
2932
- "fieldName": "hideDisabled"
2874
+ "default": "'Describe your search criteria in natural language...'",
2875
+ "fieldName": "placeholder"
2933
2876
  },
2934
2877
  {
2935
- "name": "hide-menu-single-option",
2936
2878
  "type": {
2937
2879
  "text": "boolean"
2938
2880
  },
2939
- "default": "false",
2940
- "fieldName": "hideMenuSingleOption"
2881
+ "fieldName": "disabled"
2941
2882
  }
2942
2883
  ],
2943
2884
  "superclass": {
2944
2885
  "name": "FoundationElement",
2945
2886
  "package": "@microsoft/fast-foundation"
2946
2887
  },
2947
- "tagName": "%%prefix%%-actions-menu",
2888
+ "tagName": "%%prefix%%-ai-criteria-search",
2948
2889
  "customElement": true
2949
2890
  },
2950
2891
  {
2951
2892
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2954
- "privacy": "public"
2893
+ "name": "foundationAiCriteriaSearchShadowOptions",
2894
+ "type": {
2895
+ "text": "ShadowRootInit"
2896
+ },
2897
+ "default": "undefined"
2898
+ },
2899
+ {
2900
+ "kind": "variable",
2901
+ "name": "defaultAiCriteriaSearchConfig",
2902
+ "type": {
2903
+ "text": "object"
2904
+ },
2905
+ "default": "{}"
2906
+ },
2907
+ {
2908
+ "kind": "variable",
2909
+ "name": "foundationAiCriteriaSearch"
2955
2910
  }
2956
2911
  ],
2957
2912
  "exports": [
2958
2913
  {
2959
2914
  "kind": "js",
2960
- "name": "ActionsMenu",
2915
+ "name": "AiCriteriaSearch",
2961
2916
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
2917
+ "name": "AiCriteriaSearch",
2918
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2964
2919
  }
2965
2920
  },
2966
2921
  {
2967
2922
  "kind": "js",
2968
- "name": "foundationActionsMenu",
2923
+ "name": "foundationAiCriteriaSearchShadowOptions",
2969
2924
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
2925
+ "name": "foundationAiCriteriaSearchShadowOptions",
2926
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2927
+ }
2928
+ },
2929
+ {
2930
+ "kind": "js",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2932
+ "declaration": {
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "foundationAiCriteriaSearch",
2940
+ "declaration": {
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2972
2943
  }
2973
2944
  }
2974
2945
  ]
2975
2946
  },
2976
2947
  {
2977
2948
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
2949
+ "path": "src/ai-criteria-search/index.ts",
2979
2950
  "declarations": [],
2980
2951
  "exports": [
2952
+ {
2953
+ "kind": "js",
2954
+ "name": "AiCriteriaSearch",
2955
+ "declaration": {
2956
+ "name": "AiCriteriaSearch",
2957
+ "module": "./ai-criteria-search"
2958
+ }
2959
+ },
2960
+ {
2961
+ "kind": "js",
2962
+ "name": "defaultAiCriteriaSearchConfig",
2963
+ "declaration": {
2964
+ "name": "defaultAiCriteriaSearchConfig",
2965
+ "module": "./ai-criteria-search"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "js",
2970
+ "name": "foundationAiCriteriaSearch",
2971
+ "declaration": {
2972
+ "name": "foundationAiCriteriaSearch",
2973
+ "module": "./ai-criteria-search"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "js",
2978
+ "name": "foundationAiCriteriaSearchShadowOptions",
2979
+ "declaration": {
2980
+ "name": "foundationAiCriteriaSearchShadowOptions",
2981
+ "module": "./ai-criteria-search"
2982
+ }
2983
+ },
2984
+ {
2985
+ "kind": "js",
2986
+ "name": "foundationAiCriteriaSearchStyles",
2987
+ "declaration": {
2988
+ "name": "foundationAiCriteriaSearchStyles",
2989
+ "module": "./ai-criteria-search.styles"
2990
+ }
2991
+ },
2992
+ {
2993
+ "kind": "js",
2994
+ "name": "foundationAiCriteriaSearchTemplate",
2995
+ "declaration": {
2996
+ "name": "foundationAiCriteriaSearchTemplate",
2997
+ "module": "./ai-criteria-search.template"
2998
+ }
2999
+ },
2981
3000
  {
2982
3001
  "kind": "js",
2983
3002
  "name": "*",
2984
3003
  "declaration": {
2985
3004
  "name": "*",
2986
- "package": "./actions-menu.styles"
3005
+ "package": "./validation/criteria-ir"
2987
3006
  }
2988
3007
  },
2989
3008
  {
@@ -2991,7 +3010,7 @@
2991
3010
  "name": "*",
2992
3011
  "declaration": {
2993
3012
  "name": "*",
2994
- "package": "./actions-menu.template"
3013
+ "package": "./validation/operator-map"
2995
3014
  }
2996
3015
  },
2997
3016
  {
@@ -2999,18 +3018,93 @@
2999
3018
  "name": "*",
3000
3019
  "declaration": {
3001
3020
  "name": "*",
3002
- "package": "./actions-menu"
3021
+ "package": "./validation/schema-validator"
3003
3022
  }
3004
3023
  }
3005
3024
  ]
3006
3025
  },
3007
3026
  {
3008
3027
  "kind": "javascript-module",
3009
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3028
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3010
3029
  "declarations": [
3011
3030
  {
3012
3031
  "kind": "function",
3013
- "name": "foundationAiIndicatorStyles",
3032
+ "name": "formatValidationErrors",
3033
+ "return": {
3034
+ "type": {
3035
+ "text": "string"
3036
+ }
3037
+ },
3038
+ "parameters": [
3039
+ {
3040
+ "name": "errors",
3041
+ "type": {
3042
+ "text": "ValidationError[]"
3043
+ }
3044
+ }
3045
+ ],
3046
+ "description": "Formats validation errors into a user-friendly message."
3047
+ },
3048
+ {
3049
+ "kind": "function",
3050
+ "name": "showCriteriaError",
3051
+ "return": {
3052
+ "type": {
3053
+ "text": "void"
3054
+ }
3055
+ },
3056
+ "parameters": [
3057
+ {
3058
+ "name": "title",
3059
+ "type": {
3060
+ "text": "string"
3061
+ },
3062
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3063
+ },
3064
+ {
3065
+ "name": "body",
3066
+ "type": {
3067
+ "text": "string"
3068
+ },
3069
+ "description": "Error message to display"
3070
+ },
3071
+ {
3072
+ "name": "tagName",
3073
+ "type": {
3074
+ "text": "string"
3075
+ },
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
+ }
3078
+ ],
3079
+ "description": "Shows a criteria error as a toast notification."
3080
+ }
3081
+ ],
3082
+ "exports": [
3083
+ {
3084
+ "kind": "js",
3085
+ "name": "formatValidationErrors",
3086
+ "declaration": {
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3089
+ }
3090
+ },
3091
+ {
3092
+ "kind": "js",
3093
+ "name": "showCriteriaError",
3094
+ "declaration": {
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3097
+ }
3098
+ }
3099
+ ]
3100
+ },
3101
+ {
3102
+ "kind": "javascript-module",
3103
+ "path": "src/accordion/accordion.styles.ts",
3104
+ "declarations": [
3105
+ {
3106
+ "kind": "function",
3107
+ "name": "foundationAccordionStyles",
3014
3108
  "return": {
3015
3109
  "type": {
3016
3110
  "text": "ElementStyles"
@@ -3035,224 +3129,276 @@
3035
3129
  "exports": [
3036
3130
  {
3037
3131
  "kind": "js",
3038
- "name": "foundationAiIndicatorStyles",
3132
+ "name": "foundationAccordionStyles",
3039
3133
  "declaration": {
3040
- "name": "foundationAiIndicatorStyles",
3041
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3134
+ "name": "foundationAccordionStyles",
3135
+ "module": "src/accordion/accordion.styles.ts"
3042
3136
  }
3043
3137
  }
3044
3138
  ]
3045
3139
  },
3046
3140
  {
3047
3141
  "kind": "javascript-module",
3048
- "path": "src/ai-indicator/ai-indicator.template.ts",
3142
+ "path": "src/accordion/accordion.template.ts",
3049
3143
  "declarations": [
3050
3144
  {
3051
- "kind": "variable",
3052
- "name": "foundationAiIndicatorTemplate",
3053
- "type": {
3054
- "text": "ViewTemplate<AiIndicator>"
3145
+ "kind": "function",
3146
+ "name": "foundationAccordionTemplate",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "ViewTemplate<Accordion>"
3150
+ }
3055
3151
  },
3056
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3152
+ "parameters": [
3153
+ {
3154
+ "name": "context",
3155
+ "type": {
3156
+ "text": "ElementDefinitionContext"
3157
+ }
3158
+ },
3159
+ {
3160
+ "name": "definition",
3161
+ "type": {
3162
+ "text": "FoundationElementDefinition"
3163
+ }
3164
+ }
3165
+ ]
3057
3166
  }
3058
3167
  ],
3059
3168
  "exports": [
3060
3169
  {
3061
3170
  "kind": "js",
3062
- "name": "foundationAiIndicatorTemplate",
3171
+ "name": "foundationAccordionTemplate",
3063
3172
  "declaration": {
3064
- "name": "foundationAiIndicatorTemplate",
3065
- "module": "src/ai-indicator/ai-indicator.template.ts"
3173
+ "name": "foundationAccordionTemplate",
3174
+ "module": "src/accordion/accordion.template.ts"
3066
3175
  }
3067
3176
  }
3068
3177
  ]
3069
3178
  },
3070
3179
  {
3071
3180
  "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.ts",
3181
+ "path": "src/accordion/accordion.ts",
3073
3182
  "declarations": [
3074
3183
  {
3075
3184
  "kind": "class",
3076
3185
  "description": "",
3077
- "name": "AiIndicator",
3078
- "members": [
3079
- {
3080
- "kind": "field",
3081
- "name": "providerRegistry",
3082
- "type": {
3083
- "text": "AIProviderRegistry"
3084
- }
3085
- },
3086
- {
3087
- "kind": "field",
3088
- "name": "aiProvider",
3089
- "type": {
3090
- "text": "AIProvider | undefined"
3091
- },
3092
- "privacy": "private",
3093
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3094
- "readonly": true
3095
- },
3186
+ "name": "Accordion",
3187
+ "superclass": {
3188
+ "name": "FASTAccordion",
3189
+ "package": "@microsoft/fast-foundation"
3190
+ },
3191
+ "tagName": "%%prefix%%-accordion",
3192
+ "customElement": true,
3193
+ "attributes": [
3096
3194
  {
3097
- "kind": "field",
3098
- "name": "status",
3195
+ "name": "expand-mode",
3099
3196
  "type": {
3100
- "text": "AIStatus | null"
3197
+ "text": "AccordionExpandMode"
3101
3198
  },
3102
- "default": "null"
3103
- },
3199
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
+ "fieldName": "expandmode",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3205
+ }
3206
+ ],
3207
+ "members": [
3104
3208
  {
3105
3209
  "kind": "field",
3106
- "name": "open",
3210
+ "name": "expandmode",
3107
3211
  "type": {
3108
- "text": "boolean"
3212
+ "text": "AccordionExpandMode"
3109
3213
  },
3110
- "default": "false"
3214
+ "privacy": "public",
3215
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3111
3220
  },
3112
3221
  {
3113
3222
  "kind": "field",
3114
- "name": "state",
3223
+ "name": "activeid",
3115
3224
  "type": {
3116
- "text": "AIIndicatorState"
3225
+ "text": "string | null"
3117
3226
  },
3118
- "default": "'none'"
3227
+ "privacy": "private",
3228
+ "inheritedFrom": {
3229
+ "name": "Accordion",
3230
+ "module": "src/accordion/accordion.ts"
3231
+ }
3119
3232
  },
3120
3233
  {
3121
3234
  "kind": "field",
3122
- "name": "isInstalling",
3235
+ "name": "activeItemIndex",
3123
3236
  "type": {
3124
- "text": "boolean"
3237
+ "text": "number"
3125
3238
  },
3126
- "default": "false"
3239
+ "privacy": "private",
3240
+ "default": "0",
3241
+ "inheritedFrom": {
3242
+ "name": "Accordion",
3243
+ "module": "src/accordion/accordion.ts"
3244
+ }
3127
3245
  },
3128
3246
  {
3129
3247
  "kind": "field",
3130
- "name": "pollTimer",
3248
+ "name": "accordionIds",
3131
3249
  "type": {
3132
- "text": "ReturnType<typeof setInterval> | null"
3250
+ "text": "Array<string | null>"
3133
3251
  },
3134
3252
  "privacy": "private",
3135
- "default": "null"
3136
- },
3137
- {
3138
- "kind": "field",
3139
- "name": "clickOutside",
3140
- "privacy": "private"
3253
+ "inheritedFrom": {
3254
+ "name": "Accordion",
3255
+ "module": "src/accordion/accordion.ts"
3256
+ }
3141
3257
  },
3142
3258
  {
3143
3259
  "kind": "field",
3144
- "name": "chromeStatusLabel",
3145
- "type": {
3146
- "text": "string | null"
3147
- },
3148
- "readonly": true
3260
+ "name": "change",
3261
+ "privacy": "private",
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3149
3266
  },
3150
3267
  {
3151
- "kind": "field",
3152
- "name": "canInstall",
3153
- "type": {
3154
- "text": "boolean"
3268
+ "kind": "method",
3269
+ "name": "findExpandedItem",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "AccordionItem | null"
3274
+ }
3155
3275
  },
3156
- "readonly": true
3276
+ "inheritedFrom": {
3277
+ "name": "Accordion",
3278
+ "module": "src/accordion/accordion.ts"
3279
+ }
3157
3280
  },
3158
3281
  {
3159
3282
  "kind": "field",
3160
- "name": "isDownloading",
3161
- "type": {
3162
- "text": "boolean"
3163
- },
3164
- "readonly": true
3283
+ "name": "setItems",
3284
+ "privacy": "private",
3285
+ "inheritedFrom": {
3286
+ "name": "Accordion",
3287
+ "module": "src/accordion/accordion.ts"
3288
+ }
3165
3289
  },
3166
3290
  {
3167
3291
  "kind": "method",
3168
- "name": "openChanged",
3292
+ "name": "resetItems",
3293
+ "privacy": "private",
3169
3294
  "return": {
3170
3295
  "type": {
3171
3296
  "text": "void"
3172
3297
  }
3298
+ },
3299
+ "inheritedFrom": {
3300
+ "name": "Accordion",
3301
+ "module": "src/accordion/accordion.ts"
3173
3302
  }
3174
3303
  },
3175
3304
  {
3176
- "kind": "method",
3177
- "name": "handleClickOutside",
3305
+ "kind": "field",
3306
+ "name": "removeItemListeners",
3178
3307
  "privacy": "private",
3179
- "parameters": [
3180
- {
3181
- "name": "event",
3182
- "type": {
3183
- "text": "MouseEvent"
3184
- }
3185
- }
3186
- ]
3308
+ "inheritedFrom": {
3309
+ "name": "Accordion",
3310
+ "module": "src/accordion/accordion.ts"
3311
+ }
3187
3312
  },
3188
3313
  {
3189
- "kind": "method",
3190
- "name": "toggleDropdown"
3314
+ "kind": "field",
3315
+ "name": "activeItemChange",
3316
+ "privacy": "private",
3317
+ "inheritedFrom": {
3318
+ "name": "Accordion",
3319
+ "module": "src/accordion/accordion.ts"
3320
+ }
3191
3321
  },
3192
3322
  {
3193
3323
  "kind": "method",
3194
- "name": "refreshStatus",
3324
+ "name": "getItemIds",
3325
+ "privacy": "private",
3195
3326
  "return": {
3196
3327
  "type": {
3197
- "text": "Promise<void>"
3328
+ "text": "Array<string | null>"
3198
3329
  }
3330
+ },
3331
+ "inheritedFrom": {
3332
+ "name": "Accordion",
3333
+ "module": "src/accordion/accordion.ts"
3199
3334
  }
3200
3335
  },
3201
3336
  {
3202
3337
  "kind": "method",
3203
- "name": "deriveState",
3338
+ "name": "isSingleExpandMode",
3204
3339
  "privacy": "private",
3205
3340
  "return": {
3206
3341
  "type": {
3207
- "text": "AIIndicatorState"
3342
+ "text": "boolean"
3208
3343
  }
3209
3344
  },
3210
- "parameters": [
3211
- {
3212
- "name": "s",
3213
- "type": {
3214
- "text": "AIStatus | null"
3215
- }
3216
- }
3217
- ]
3345
+ "inheritedFrom": {
3346
+ "name": "Accordion",
3347
+ "module": "src/accordion/accordion.ts"
3348
+ }
3218
3349
  },
3219
3350
  {
3220
- "kind": "method",
3221
- "name": "maybeStartPolling",
3351
+ "kind": "field",
3352
+ "name": "handleItemKeyDown",
3222
3353
  "privacy": "private",
3223
- "return": {
3224
- "type": {
3225
- "text": "void"
3226
- }
3354
+ "inheritedFrom": {
3355
+ "name": "Accordion",
3356
+ "module": "src/accordion/accordion.ts"
3227
3357
  }
3228
3358
  },
3229
3359
  {
3230
- "kind": "method",
3231
- "name": "startPolling",
3360
+ "kind": "field",
3361
+ "name": "handleItemFocus",
3232
3362
  "privacy": "private",
3233
- "return": {
3234
- "type": {
3235
- "text": "void"
3236
- }
3363
+ "inheritedFrom": {
3364
+ "name": "Accordion",
3365
+ "module": "src/accordion/accordion.ts"
3237
3366
  }
3238
3367
  },
3239
3368
  {
3240
3369
  "kind": "method",
3241
- "name": "stopPolling",
3370
+ "name": "adjust",
3242
3371
  "privacy": "private",
3243
3372
  "return": {
3244
3373
  "type": {
3245
3374
  "text": "void"
3246
3375
  }
3376
+ },
3377
+ "parameters": [
3378
+ {
3379
+ "name": "adjustment",
3380
+ "type": {
3381
+ "text": "number"
3382
+ }
3383
+ }
3384
+ ],
3385
+ "inheritedFrom": {
3386
+ "name": "Accordion",
3387
+ "module": "src/accordion/accordion.ts"
3247
3388
  }
3248
3389
  },
3249
3390
  {
3250
3391
  "kind": "method",
3251
- "name": "onInstall",
3392
+ "name": "focusItem",
3393
+ "privacy": "private",
3252
3394
  "return": {
3253
3395
  "type": {
3254
- "text": "Promise<void>"
3396
+ "text": "void"
3255
3397
  }
3398
+ },
3399
+ "inheritedFrom": {
3400
+ "name": "Accordion",
3401
+ "module": "src/accordion/accordion.ts"
3256
3402
  }
3257
3403
  },
3258
3404
  {
@@ -3366,146 +3512,178 @@
3366
3512
  "module": "src/foundation-element/foundation-element.ts"
3367
3513
  }
3368
3514
  }
3369
- ],
3370
- "superclass": {
3371
- "name": "FoundationElement",
3372
- "package": "@microsoft/fast-foundation"
3515
+ ],
3516
+ "events": [
3517
+ {
3518
+ "description": "Fires a custom 'change' event when the active item changes",
3519
+ "name": "change",
3520
+ "inheritedFrom": {
3521
+ "name": "Accordion",
3522
+ "module": "src/accordion/accordion.ts"
3523
+ }
3524
+ }
3525
+ ]
3526
+ },
3527
+ {
3528
+ "kind": "variable",
3529
+ "name": "foundationAccordionShadowOptions",
3530
+ "type": {
3531
+ "text": "ShadowRootInit"
3373
3532
  },
3374
- "tagName": "%%prefix%%-ai-indicator",
3375
- "customElement": true
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3376
3534
  },
3377
3535
  {
3378
3536
  "kind": "variable",
3379
- "name": "foundationAiIndicator"
3537
+ "name": "defaultAccordionConfig",
3538
+ "type": {
3539
+ "text": "object"
3540
+ },
3541
+ "default": "{}"
3542
+ },
3543
+ {
3544
+ "kind": "variable",
3545
+ "name": "foundationAccordion",
3546
+ "description": "The Foundation Accordion",
3547
+ "privacy": "public"
3380
3548
  }
3381
3549
  ],
3382
3550
  "exports": [
3383
3551
  {
3384
3552
  "kind": "js",
3385
- "name": "AiIndicator",
3553
+ "name": "Accordion",
3386
3554
  "declaration": {
3387
- "name": "AiIndicator",
3388
- "module": "src/ai-indicator/ai-indicator.ts"
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3389
3557
  }
3390
3558
  },
3391
3559
  {
3392
3560
  "kind": "js",
3393
- "name": "foundationAiIndicator",
3394
- "declaration": {
3395
- "name": "foundationAiIndicator",
3396
- "module": "src/ai-indicator/ai-indicator.ts"
3397
- }
3398
- }
3399
- ]
3400
- },
3401
- {
3402
- "kind": "javascript-module",
3403
- "path": "src/ai-indicator/index.ts",
3404
- "declarations": [],
3405
- "exports": [
3406
- {
3407
- "kind": "js",
3408
- "name": "AiIndicator",
3561
+ "name": "foundationAccordionShadowOptions",
3409
3562
  "declaration": {
3410
- "name": "AiIndicator",
3411
- "module": "./ai-indicator"
3563
+ "name": "foundationAccordionShadowOptions",
3564
+ "module": "src/accordion/accordion.ts"
3412
3565
  }
3413
3566
  },
3414
3567
  {
3415
3568
  "kind": "js",
3416
- "name": "foundationAiIndicator",
3569
+ "name": "defaultAccordionConfig",
3417
3570
  "declaration": {
3418
- "name": "foundationAiIndicator",
3419
- "module": "./ai-indicator"
3571
+ "name": "defaultAccordionConfig",
3572
+ "module": "src/accordion/accordion.ts"
3420
3573
  }
3421
3574
  },
3422
3575
  {
3423
3576
  "kind": "js",
3424
- "name": "type",
3577
+ "name": "foundationAccordion",
3425
3578
  "declaration": {
3426
- "name": "type",
3427
- "module": "./ai-indicator"
3579
+ "name": "foundationAccordion",
3580
+ "module": "src/accordion/accordion.ts"
3428
3581
  }
3429
- },
3582
+ }
3583
+ ]
3584
+ },
3585
+ {
3586
+ "kind": "javascript-module",
3587
+ "path": "src/accordion/index.ts",
3588
+ "declarations": [],
3589
+ "exports": [
3430
3590
  {
3431
3591
  "kind": "js",
3432
- "name": "AIIndicatorState",
3592
+ "name": "*",
3433
3593
  "declaration": {
3434
- "name": "AIIndicatorState",
3435
- "module": "./ai-indicator"
3594
+ "name": "*",
3595
+ "package": "./accordion.template"
3436
3596
  }
3437
3597
  },
3438
3598
  {
3439
3599
  "kind": "js",
3440
- "name": "foundationAiIndicatorTemplate",
3600
+ "name": "*",
3441
3601
  "declaration": {
3442
- "name": "foundationAiIndicatorTemplate",
3443
- "module": "./ai-indicator.template"
3602
+ "name": "*",
3603
+ "package": "./accordion.styles"
3444
3604
  }
3445
3605
  },
3446
3606
  {
3447
3607
  "kind": "js",
3448
- "name": "foundationAiIndicatorStyles",
3608
+ "name": "*",
3449
3609
  "declaration": {
3450
- "name": "foundationAiIndicatorStyles",
3451
- "module": "./ai-indicator.styles"
3610
+ "name": "*",
3611
+ "package": "./accordion"
3452
3612
  }
3453
3613
  }
3454
3614
  ]
3455
3615
  },
3456
3616
  {
3457
3617
  "kind": "javascript-module",
3458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3459
3619
  "declarations": [
3460
3620
  {
3461
- "kind": "variable",
3462
- "name": "foundationAiCriteriaSearchStyles",
3463
- "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`"
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3464
3642
  }
3465
3643
  ],
3466
3644
  "exports": [
3467
3645
  {
3468
3646
  "kind": "js",
3469
- "name": "foundationAiCriteriaSearchStyles",
3647
+ "name": "foundationAiIndicatorStyles",
3470
3648
  "declaration": {
3471
- "name": "foundationAiCriteriaSearchStyles",
3472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3473
3651
  }
3474
3652
  }
3475
3653
  ]
3476
3654
  },
3477
3655
  {
3478
3656
  "kind": "javascript-module",
3479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3480
3658
  "declarations": [
3481
3659
  {
3482
3660
  "kind": "variable",
3483
- "name": "foundationAiCriteriaSearchTemplate",
3661
+ "name": "foundationAiIndicatorTemplate",
3484
3662
  "type": {
3485
- "text": "ViewTemplate<AiCriteriaSearch>"
3663
+ "text": "ViewTemplate<AiIndicator>"
3486
3664
  },
3487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3488
3666
  }
3489
3667
  ],
3490
3668
  "exports": [
3491
3669
  {
3492
3670
  "kind": "js",
3493
- "name": "foundationAiCriteriaSearchTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3494
3672
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchTemplate",
3496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3497
3675
  }
3498
3676
  }
3499
3677
  ]
3500
3678
  },
3501
3679
  {
3502
3680
  "kind": "javascript-module",
3503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3504
3682
  "declarations": [
3505
3683
  {
3506
3684
  "kind": "class",
3507
- "description": "Natural-language criteria search input with AI interpretation.",
3508
- "name": "AiCriteriaSearch",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3509
3687
  "members": [
3510
3688
  {
3511
3689
  "kind": "field",
@@ -3516,54 +3694,25 @@
3516
3694
  },
3517
3695
  {
3518
3696
  "kind": "field",
3519
- "name": "placeholder",
3520
- "type": {
3521
- "text": "string"
3522
- },
3523
- "default": "'Describe your search criteria in natural language...'"
3524
- },
3525
- {
3526
- "kind": "field",
3527
- "name": "disabled",
3528
- "type": {
3529
- "text": "boolean"
3530
- }
3531
- },
3532
- {
3533
- "kind": "field",
3534
- "name": "inputValue",
3535
- "type": {
3536
- "text": "string"
3537
- },
3538
- "default": "''"
3539
- },
3540
- {
3541
- "kind": "field",
3542
- "name": "isInterpreting",
3697
+ "name": "aiProvider",
3543
3698
  "type": {
3544
- "text": "boolean"
3699
+ "text": "AIProvider | undefined"
3545
3700
  },
3546
- "default": "false"
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3547
3704
  },
3548
3705
  {
3549
3706
  "kind": "field",
3550
- "name": "lastValidCriteria",
3707
+ "name": "status",
3551
3708
  "type": {
3552
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3553
3710
  },
3554
3711
  "default": "null"
3555
3712
  },
3556
3713
  {
3557
3714
  "kind": "field",
3558
- "name": "activeGroups",
3559
- "type": {
3560
- "text": "CriteriaGroup[]"
3561
- },
3562
- "default": "[]"
3563
- },
3564
- {
3565
- "kind": "field",
3566
- "name": "showingChips",
3715
+ "name": "open",
3567
3716
  "type": {
3568
3717
  "text": "boolean"
3569
3718
  },
@@ -3571,15 +3720,15 @@
3571
3720
  },
3572
3721
  {
3573
3722
  "kind": "field",
3574
- "name": "fieldMetadata",
3723
+ "name": "state",
3575
3724
  "type": {
3576
- "text": "MetadataDetail[] | string[]"
3725
+ "text": "AIIndicatorState"
3577
3726
  },
3578
- "default": "[]"
3727
+ "default": "'none'"
3579
3728
  },
3580
3729
  {
3581
3730
  "kind": "field",
3582
- "name": "isRecording",
3731
+ "name": "isInstalling",
3583
3732
  "type": {
3584
3733
  "text": "boolean"
3585
3734
  },
@@ -3587,33 +3736,29 @@
3587
3736
  },
3588
3737
  {
3589
3738
  "kind": "field",
3590
- "name": "textAreaRef",
3739
+ "name": "pollTimer",
3591
3740
  "type": {
3592
- "text": "HTMLTextAreaElement"
3741
+ "text": "ReturnType<typeof setInterval> | null"
3593
3742
  },
3594
- "privacy": "public"
3743
+ "privacy": "private",
3744
+ "default": "null"
3595
3745
  },
3596
3746
  {
3597
3747
  "kind": "field",
3598
- "name": "stopRecording",
3599
- "type": {
3600
- "text": "(() => void) | null"
3601
- },
3602
- "privacy": "private",
3603
- "default": "null"
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3604
3750
  },
3605
3751
  {
3606
3752
  "kind": "field",
3607
- "name": "speechApplyDebounceTimer",
3753
+ "name": "chromeStatusLabel",
3608
3754
  "type": {
3609
- "text": "ReturnType<typeof setTimeout> | null"
3755
+ "text": "string | null"
3610
3756
  },
3611
- "privacy": "private",
3612
- "default": "null"
3757
+ "readonly": true
3613
3758
  },
3614
3759
  {
3615
3760
  "kind": "field",
3616
- "name": "speechAvailable",
3761
+ "name": "canInstall",
3617
3762
  "type": {
3618
3763
  "text": "boolean"
3619
3764
  },
@@ -3621,65 +3766,69 @@
3621
3766
  },
3622
3767
  {
3623
3768
  "kind": "field",
3624
- "name": "criteriaChips",
3769
+ "name": "isDownloading",
3625
3770
  "type": {
3626
- "text": "CriteriaChip[]"
3771
+ "text": "boolean"
3627
3772
  },
3628
3773
  "readonly": true
3629
3774
  },
3630
3775
  {
3631
3776
  "kind": "method",
3632
- "name": "getFieldLabel",
3633
- "privacy": "private",
3777
+ "name": "openChanged",
3634
3778
  "return": {
3635
3779
  "type": {
3636
- "text": "string"
3780
+ "text": "void"
3637
3781
  }
3638
- },
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3639
3788
  "parameters": [
3640
3789
  {
3641
- "name": "fieldName",
3790
+ "name": "event",
3642
3791
  "type": {
3643
- "text": "string"
3792
+ "text": "MouseEvent"
3644
3793
  }
3645
3794
  }
3646
3795
  ]
3647
3796
  },
3648
3797
  {
3649
3798
  "kind": "method",
3650
- "name": "toggleCriteriaView",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3651
3804
  "return": {
3652
3805
  "type": {
3653
- "text": "void"
3806
+ "text": "Promise<void>"
3654
3807
  }
3655
3808
  }
3656
3809
  },
3657
3810
  {
3658
3811
  "kind": "method",
3659
- "name": "removeChip",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3660
3814
  "return": {
3661
3815
  "type": {
3662
- "text": "void"
3816
+ "text": "AIIndicatorState"
3663
3817
  }
3664
3818
  },
3665
3819
  "parameters": [
3666
3820
  {
3667
- "name": "groupIndex",
3668
- "type": {
3669
- "text": "number"
3670
- }
3671
- },
3672
- {
3673
- "name": "clauseIndex",
3821
+ "name": "s",
3674
3822
  "type": {
3675
- "text": "number"
3823
+ "text": "AIStatus | null"
3676
3824
  }
3677
3825
  }
3678
3826
  ]
3679
3827
  },
3680
3828
  {
3681
3829
  "kind": "method",
3682
- "name": "clearChips",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3683
3832
  "return": {
3684
3833
  "type": {
3685
3834
  "text": "void"
@@ -3688,24 +3837,32 @@
3688
3837
  },
3689
3838
  {
3690
3839
  "kind": "method",
3691
- "name": "handleSubmit"
3692
- },
3693
- {
3694
- "kind": "method",
3695
- "name": "handleBlur"
3696
- },
3697
- {
3698
- "kind": "method",
3699
- "name": "clear"
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3700
3847
  },
3701
3848
  {
3702
3849
  "kind": "method",
3703
- "name": "toggleSpeechInput"
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3704
3857
  },
3705
3858
  {
3706
3859
  "kind": "method",
3707
- "name": "clearSpeechApplyDebounce",
3708
- "privacy": "private"
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3709
3866
  },
3710
3867
  {
3711
3868
  "kind": "field",
@@ -3819,245 +3976,88 @@
3819
3976
  }
3820
3977
  }
3821
3978
  ],
3822
- "events": [
3823
- {
3824
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3825
- "name": "criteria-changed"
3826
- },
3827
- {
3828
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3829
- "name": "validation-errors"
3830
- }
3831
- ],
3832
- "attributes": [
3833
- {
3834
- "name": "placeholder",
3835
- "type": {
3836
- "text": "string"
3837
- },
3838
- "default": "'Describe your search criteria in natural language...'",
3839
- "fieldName": "placeholder"
3840
- },
3841
- {
3842
- "type": {
3843
- "text": "boolean"
3844
- },
3845
- "fieldName": "disabled"
3846
- }
3847
- ],
3848
3979
  "superclass": {
3849
3980
  "name": "FoundationElement",
3850
3981
  "package": "@microsoft/fast-foundation"
3851
3982
  },
3852
- "tagName": "%%prefix%%-ai-criteria-search",
3983
+ "tagName": "%%prefix%%-ai-indicator",
3853
3984
  "customElement": true
3854
3985
  },
3855
3986
  {
3856
3987
  "kind": "variable",
3857
- "name": "foundationAiCriteriaSearchShadowOptions",
3858
- "type": {
3859
- "text": "ShadowRootInit"
3860
- },
3861
- "default": "undefined"
3862
- },
3863
- {
3864
- "kind": "variable",
3865
- "name": "defaultAiCriteriaSearchConfig",
3866
- "type": {
3867
- "text": "object"
3868
- },
3869
- "default": "{}"
3870
- },
3871
- {
3872
- "kind": "variable",
3873
- "name": "foundationAiCriteriaSearch"
3988
+ "name": "foundationAiIndicator"
3874
3989
  }
3875
3990
  ],
3876
3991
  "exports": [
3877
3992
  {
3878
3993
  "kind": "js",
3879
- "name": "AiCriteriaSearch",
3880
- "declaration": {
3881
- "name": "AiCriteriaSearch",
3882
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3883
- }
3884
- },
3885
- {
3886
- "kind": "js",
3887
- "name": "foundationAiCriteriaSearchShadowOptions",
3888
- "declaration": {
3889
- "name": "foundationAiCriteriaSearchShadowOptions",
3890
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3891
- }
3892
- },
3893
- {
3894
- "kind": "js",
3895
- "name": "defaultAiCriteriaSearchConfig",
3994
+ "name": "AiIndicator",
3896
3995
  "declaration": {
3897
- "name": "defaultAiCriteriaSearchConfig",
3898
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3998
  }
3900
3999
  },
3901
4000
  {
3902
4001
  "kind": "js",
3903
- "name": "foundationAiCriteriaSearch",
4002
+ "name": "foundationAiIndicator",
3904
4003
  "declaration": {
3905
- "name": "foundationAiCriteriaSearch",
3906
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
3907
4006
  }
3908
4007
  }
3909
4008
  ]
3910
4009
  },
3911
4010
  {
3912
4011
  "kind": "javascript-module",
3913
- "path": "src/ai-criteria-search/index.ts",
4012
+ "path": "src/ai-indicator/index.ts",
3914
4013
  "declarations": [],
3915
4014
  "exports": [
3916
4015
  {
3917
4016
  "kind": "js",
3918
- "name": "AiCriteriaSearch",
3919
- "declaration": {
3920
- "name": "AiCriteriaSearch",
3921
- "module": "./ai-criteria-search"
3922
- }
3923
- },
3924
- {
3925
- "kind": "js",
3926
- "name": "defaultAiCriteriaSearchConfig",
3927
- "declaration": {
3928
- "name": "defaultAiCriteriaSearchConfig",
3929
- "module": "./ai-criteria-search"
3930
- }
3931
- },
3932
- {
3933
- "kind": "js",
3934
- "name": "foundationAiCriteriaSearch",
3935
- "declaration": {
3936
- "name": "foundationAiCriteriaSearch",
3937
- "module": "./ai-criteria-search"
3938
- }
3939
- },
3940
- {
3941
- "kind": "js",
3942
- "name": "foundationAiCriteriaSearchShadowOptions",
3943
- "declaration": {
3944
- "name": "foundationAiCriteriaSearchShadowOptions",
3945
- "module": "./ai-criteria-search"
3946
- }
3947
- },
3948
- {
3949
- "kind": "js",
3950
- "name": "foundationAiCriteriaSearchStyles",
3951
- "declaration": {
3952
- "name": "foundationAiCriteriaSearchStyles",
3953
- "module": "./ai-criteria-search.styles"
3954
- }
3955
- },
3956
- {
3957
- "kind": "js",
3958
- "name": "foundationAiCriteriaSearchTemplate",
4017
+ "name": "AiIndicator",
3959
4018
  "declaration": {
3960
- "name": "foundationAiCriteriaSearchTemplate",
3961
- "module": "./ai-criteria-search.template"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
3962
4021
  }
3963
4022
  },
3964
4023
  {
3965
4024
  "kind": "js",
3966
- "name": "*",
4025
+ "name": "foundationAiIndicator",
3967
4026
  "declaration": {
3968
- "name": "*",
3969
- "package": "./validation/criteria-ir"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
3970
4029
  }
3971
4030
  },
3972
4031
  {
3973
4032
  "kind": "js",
3974
- "name": "*",
4033
+ "name": "type",
3975
4034
  "declaration": {
3976
- "name": "*",
3977
- "package": "./validation/operator-map"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
3978
4037
  }
3979
4038
  },
3980
4039
  {
3981
4040
  "kind": "js",
3982
- "name": "*",
4041
+ "name": "AIIndicatorState",
3983
4042
  "declaration": {
3984
- "name": "*",
3985
- "package": "./validation/schema-validator"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
3986
4045
  }
3987
- }
3988
- ]
3989
- },
3990
- {
3991
- "kind": "javascript-module",
3992
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3993
- "declarations": [
3994
- {
3995
- "kind": "function",
3996
- "name": "formatValidationErrors",
3997
- "return": {
3998
- "type": {
3999
- "text": "string"
4000
- }
4001
- },
4002
- "parameters": [
4003
- {
4004
- "name": "errors",
4005
- "type": {
4006
- "text": "ValidationError[]"
4007
- }
4008
- }
4009
- ],
4010
- "description": "Formats validation errors into a user-friendly message."
4011
4046
  },
4012
- {
4013
- "kind": "function",
4014
- "name": "showCriteriaError",
4015
- "return": {
4016
- "type": {
4017
- "text": "void"
4018
- }
4019
- },
4020
- "parameters": [
4021
- {
4022
- "name": "title",
4023
- "type": {
4024
- "text": "string"
4025
- },
4026
- "description": "Notification title (e.g. \"Criteria validation error\")"
4027
- },
4028
- {
4029
- "name": "body",
4030
- "type": {
4031
- "text": "string"
4032
- },
4033
- "description": "Error message to display"
4034
- },
4035
- {
4036
- "name": "tagName",
4037
- "type": {
4038
- "text": "string"
4039
- },
4040
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
4041
- }
4042
- ],
4043
- "description": "Shows a criteria error as a toast notification."
4044
- }
4045
- ],
4046
- "exports": [
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "formatValidationErrors",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "formatValidationErrors",
4052
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "showCriteriaError",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "showCriteriaError",
4060
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]