@genesislcap/foundation-ui 15.21.1 → 15.22.1-FUI-0.5

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