@genesislcap/foundation-ui 15.30.1 → 15.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,6 +1493,37 @@
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
+ },
1496
1527
  {
1497
1528
  "kind": "javascript-module",
1498
1529
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1889,115 +1920,203 @@
1889
1920
  },
1890
1921
  {
1891
1922
  "kind": "javascript-module",
1892
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1893
1924
  "declarations": [
1894
1925
  {
1895
- "kind": "variable",
1896
- "name": "foundationAiCriteriaSearchStyles",
1897
- "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
+ ]
1898
1970
  }
1899
1971
  ],
1900
1972
  "exports": [
1901
1973
  {
1902
1974
  "kind": "js",
1903
- "name": "foundationAiCriteriaSearchStyles",
1975
+ "name": "actionsMenuBaseStyles",
1904
1976
  "declaration": {
1905
- "name": "foundationAiCriteriaSearchStyles",
1906
- "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"
1907
1987
  }
1908
1988
  }
1909
1989
  ]
1910
1990
  },
1911
1991
  {
1912
1992
  "kind": "javascript-module",
1913
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1914
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
+ },
1915
2019
  {
1916
2020
  "kind": "variable",
1917
- "name": "foundationAiCriteriaSearchTemplate",
2021
+ "name": "foundationActionsMenuTemplate",
1918
2022
  "type": {
1919
- "text": "ViewTemplate<AiCriteriaSearch>"
2023
+ "text": "ViewTemplate<ActionsMenu>"
1920
2024
  },
1921
- "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`"
1922
2026
  }
1923
2027
  ],
1924
2028
  "exports": [
1925
2029
  {
1926
2030
  "kind": "js",
1927
- "name": "foundationAiCriteriaSearchTemplate",
2031
+ "name": "menuTemplate",
1928
2032
  "declaration": {
1929
- "name": "foundationAiCriteriaSearchTemplate",
1930
- "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"
1931
2051
  }
1932
2052
  }
1933
2053
  ]
1934
2054
  },
1935
2055
  {
1936
2056
  "kind": "javascript-module",
1937
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2057
+ "path": "src/actions-menu/actions-menu.ts",
1938
2058
  "declarations": [
1939
2059
  {
1940
2060
  "kind": "class",
1941
- "description": "Natural-language criteria search input with AI interpretation.",
1942
- "name": "AiCriteriaSearch",
2061
+ "description": "",
2062
+ "name": "ActionsMenu",
1943
2063
  "members": [
1944
2064
  {
1945
2065
  "kind": "field",
1946
- "name": "providerRegistry",
2066
+ "name": "actions",
1947
2067
  "type": {
1948
- "text": "AIProviderRegistry"
2068
+ "text": "ActionMenuItem[]"
1949
2069
  }
1950
2070
  },
1951
2071
  {
1952
2072
  "kind": "field",
1953
- "name": "placeholder",
2073
+ "name": "isVertical",
1954
2074
  "type": {
1955
- "text": "string"
2075
+ "text": "boolean"
1956
2076
  },
1957
- "default": "'Describe your search criteria in natural language...'"
2077
+ "default": "false"
1958
2078
  },
1959
2079
  {
1960
2080
  "kind": "field",
1961
- "name": "disabled",
2081
+ "name": "addDefaultActions",
1962
2082
  "type": {
1963
2083
  "text": "boolean"
1964
- }
2084
+ },
2085
+ "default": "true"
1965
2086
  },
1966
2087
  {
1967
2088
  "kind": "field",
1968
- "name": "inputValue",
2089
+ "name": "autoCloseOnAction",
1969
2090
  "type": {
1970
- "text": "string"
2091
+ "text": "boolean"
1971
2092
  },
1972
- "default": "''"
2093
+ "default": "true"
1973
2094
  },
1974
2095
  {
1975
2096
  "kind": "field",
1976
- "name": "isInterpreting",
2097
+ "name": "classNames",
1977
2098
  "type": {
1978
- "text": "boolean"
1979
- },
1980
- "default": "false"
2099
+ "text": "string"
2100
+ }
1981
2101
  },
1982
2102
  {
1983
2103
  "kind": "field",
1984
- "name": "lastValidCriteria",
2104
+ "name": "definition",
1985
2105
  "type": {
1986
- "text": "string | null"
1987
- },
1988
- "default": "null"
2106
+ "text": "any"
2107
+ }
1989
2108
  },
1990
2109
  {
1991
2110
  "kind": "field",
1992
- "name": "activeGroups",
2111
+ "name": "name",
1993
2112
  "type": {
1994
- "text": "CriteriaGroup[]"
2113
+ "text": "string"
1995
2114
  },
1996
- "default": "[]"
2115
+ "default": "'Actions'"
1997
2116
  },
1998
2117
  {
1999
2118
  "kind": "field",
2000
- "name": "showingChips",
2119
+ "name": "open",
2001
2120
  "type": {
2002
2121
  "text": "boolean"
2003
2122
  },
@@ -2005,15 +2124,14 @@
2005
2124
  },
2006
2125
  {
2007
2126
  "kind": "field",
2008
- "name": "fieldMetadata",
2127
+ "name": "buttonAppearance",
2009
2128
  "type": {
2010
- "text": "MetadataDetail[] | string[]"
2011
- },
2012
- "default": "[]"
2129
+ "text": "string"
2130
+ }
2013
2131
  },
2014
2132
  {
2015
2133
  "kind": "field",
2016
- "name": "isRecording",
2134
+ "name": "hideDisabled",
2017
2135
  "type": {
2018
2136
  "text": "boolean"
2019
2137
  },
@@ -2021,125 +2139,114 @@
2021
2139
  },
2022
2140
  {
2023
2141
  "kind": "field",
2024
- "name": "textAreaRef",
2025
- "type": {
2026
- "text": "HTMLTextAreaElement"
2027
- },
2028
- "privacy": "public"
2029
- },
2030
- {
2031
- "kind": "field",
2032
- "name": "stopRecording",
2142
+ "name": "hideMenuSingleOption",
2033
2143
  "type": {
2034
- "text": "(() => void) | null"
2144
+ "text": "boolean"
2035
2145
  },
2036
- "privacy": "private",
2037
- "default": "null"
2146
+ "default": "false"
2038
2147
  },
2039
2148
  {
2040
2149
  "kind": "field",
2041
- "name": "speechApplyDebounceTimer",
2150
+ "name": "singleOption",
2042
2151
  "type": {
2043
- "text": "ReturnType<typeof setTimeout> | null"
2044
- },
2045
- "privacy": "private",
2046
- "default": "null"
2152
+ "text": "ActionMenuItem"
2153
+ }
2047
2154
  },
2048
2155
  {
2049
2156
  "kind": "field",
2050
- "name": "speechAvailable",
2157
+ "name": "actionsMenu",
2051
2158
  "type": {
2052
- "text": "boolean"
2053
- },
2054
- "readonly": true
2159
+ "text": "HTMLElement"
2160
+ }
2055
2161
  },
2056
2162
  {
2057
2163
  "kind": "field",
2058
- "name": "criteriaChips",
2164
+ "name": "actionsOpener",
2059
2165
  "type": {
2060
- "text": "CriteriaChip[]"
2061
- },
2062
- "readonly": true
2063
- },
2064
- {
2065
- "kind": "method",
2066
- "name": "getFieldLabel",
2067
- "privacy": "private",
2068
- "return": {
2069
- "type": {
2070
- "text": "string"
2071
- }
2072
- },
2073
- "parameters": [
2074
- {
2075
- "name": "fieldName",
2076
- "type": {
2077
- "text": "string"
2078
- }
2079
- }
2080
- ]
2166
+ "text": "HTMLElement"
2167
+ }
2081
2168
  },
2082
2169
  {
2083
2170
  "kind": "method",
2084
- "name": "toggleCriteriaView",
2085
- "return": {
2086
- "type": {
2087
- "text": "void"
2088
- }
2089
- }
2171
+ "name": "updateMenuPosition",
2172
+ "privacy": "private"
2090
2173
  },
2091
2174
  {
2092
2175
  "kind": "method",
2093
- "name": "removeChip",
2094
- "return": {
2095
- "type": {
2096
- "text": "void"
2097
- }
2098
- },
2176
+ "name": "definitionChanged",
2177
+ "privacy": "protected",
2099
2178
  "parameters": [
2100
2179
  {
2101
- "name": "groupIndex",
2180
+ "name": "oldValue",
2102
2181
  "type": {
2103
- "text": "number"
2182
+ "text": "any"
2104
2183
  }
2105
2184
  },
2106
2185
  {
2107
- "name": "clauseIndex",
2186
+ "name": "newValue",
2108
2187
  "type": {
2109
- "text": "number"
2188
+ "text": "any"
2110
2189
  }
2111
2190
  }
2112
2191
  ]
2113
2192
  },
2114
2193
  {
2115
2194
  "kind": "method",
2116
- "name": "clearChips",
2117
- "return": {
2118
- "type": {
2119
- "text": "void"
2120
- }
2121
- }
2195
+ "name": "openChanged",
2196
+ "privacy": "protected"
2122
2197
  },
2123
2198
  {
2124
2199
  "kind": "method",
2125
- "name": "handleSubmit"
2200
+ "name": "toggleActionsMenuVisibility"
2126
2201
  },
2127
2202
  {
2128
2203
  "kind": "method",
2129
- "name": "handleBlur"
2204
+ "name": "onActionMenuItemClick",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "callback",
2208
+ "type": {
2209
+ "text": "(rowData) => void | any"
2210
+ }
2211
+ }
2212
+ ]
2130
2213
  },
2131
2214
  {
2132
- "kind": "method",
2133
- "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
2134
2226
  },
2135
2227
  {
2136
2228
  "kind": "method",
2137
- "name": "toggleSpeechInput"
2229
+ "name": "getLabel",
2230
+ "parameters": [
2231
+ {
2232
+ "name": "name",
2233
+ "type": {
2234
+ "text": "string | ((rowData: any) => string)"
2235
+ }
2236
+ }
2237
+ ]
2138
2238
  },
2139
2239
  {
2140
2240
  "kind": "method",
2141
- "name": "clearSpeechApplyDebounce",
2142
- "privacy": "private"
2241
+ "name": "getTemplate",
2242
+ "parameters": [
2243
+ {
2244
+ "name": "prefix",
2245
+ "type": {
2246
+ "text": "string"
2247
+ }
2248
+ }
2249
+ ]
2143
2250
  },
2144
2251
  {
2145
2252
  "kind": "field",
@@ -2253,252 +2360,107 @@
2253
2360
  }
2254
2361
  }
2255
2362
  ],
2256
- "events": [
2257
- {
2258
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2259
- "name": "criteria-changed"
2260
- },
2261
- {
2262
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2263
- "name": "validation-errors"
2264
- }
2265
- ],
2266
2363
  "attributes": [
2267
2364
  {
2268
- "name": "placeholder",
2365
+ "name": "is-vertical",
2269
2366
  "type": {
2270
- "text": "string"
2367
+ "text": "boolean"
2271
2368
  },
2272
- "default": "'Describe your search criteria in natural language...'",
2273
- "fieldName": "placeholder"
2369
+ "default": "false",
2370
+ "fieldName": "isVertical"
2274
2371
  },
2275
2372
  {
2373
+ "name": "add-default-actions",
2276
2374
  "type": {
2277
2375
  "text": "boolean"
2278
2376
  },
2279
- "fieldName": "disabled"
2280
- }
2281
- ],
2282
- "superclass": {
2283
- "name": "FoundationElement",
2284
- "package": "@microsoft/fast-foundation"
2285
- },
2286
- "tagName": "%%prefix%%-ai-criteria-search",
2287
- "customElement": true
2288
- },
2289
- {
2290
- "kind": "variable",
2291
- "name": "foundationAiCriteriaSearchShadowOptions",
2292
- "type": {
2293
- "text": "ShadowRootInit"
2294
- },
2295
- "default": "undefined"
2296
- },
2297
- {
2298
- "kind": "variable",
2299
- "name": "defaultAiCriteriaSearchConfig",
2300
- "type": {
2301
- "text": "object"
2302
- },
2303
- "default": "{}"
2304
- },
2305
- {
2306
- "kind": "variable",
2307
- "name": "foundationAiCriteriaSearch"
2308
- }
2309
- ],
2310
- "exports": [
2311
- {
2312
- "kind": "js",
2313
- "name": "AiCriteriaSearch",
2314
- "declaration": {
2315
- "name": "AiCriteriaSearch",
2316
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2317
- }
2318
- },
2319
- {
2320
- "kind": "js",
2321
- "name": "foundationAiCriteriaSearchShadowOptions",
2322
- "declaration": {
2323
- "name": "foundationAiCriteriaSearchShadowOptions",
2324
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2325
- }
2326
- },
2327
- {
2328
- "kind": "js",
2329
- "name": "defaultAiCriteriaSearchConfig",
2330
- "declaration": {
2331
- "name": "defaultAiCriteriaSearchConfig",
2332
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2333
- }
2334
- },
2335
- {
2336
- "kind": "js",
2337
- "name": "foundationAiCriteriaSearch",
2338
- "declaration": {
2339
- "name": "foundationAiCriteriaSearch",
2340
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2341
- }
2342
- }
2343
- ]
2344
- },
2345
- {
2346
- "kind": "javascript-module",
2347
- "path": "src/ai-criteria-search/index.ts",
2348
- "declarations": [],
2349
- "exports": [
2350
- {
2351
- "kind": "js",
2352
- "name": "AiCriteriaSearch",
2353
- "declaration": {
2354
- "name": "AiCriteriaSearch",
2355
- "module": "./ai-criteria-search"
2356
- }
2357
- },
2358
- {
2359
- "kind": "js",
2360
- "name": "defaultAiCriteriaSearchConfig",
2361
- "declaration": {
2362
- "name": "defaultAiCriteriaSearchConfig",
2363
- "module": "./ai-criteria-search"
2364
- }
2365
- },
2366
- {
2367
- "kind": "js",
2368
- "name": "foundationAiCriteriaSearch",
2369
- "declaration": {
2370
- "name": "foundationAiCriteriaSearch",
2371
- "module": "./ai-criteria-search"
2372
- }
2373
- },
2374
- {
2375
- "kind": "js",
2376
- "name": "foundationAiCriteriaSearchShadowOptions",
2377
- "declaration": {
2378
- "name": "foundationAiCriteriaSearchShadowOptions",
2379
- "module": "./ai-criteria-search"
2380
- }
2381
- },
2382
- {
2383
- "kind": "js",
2384
- "name": "foundationAiCriteriaSearchStyles",
2385
- "declaration": {
2386
- "name": "foundationAiCriteriaSearchStyles",
2387
- "module": "./ai-criteria-search.styles"
2388
- }
2389
- },
2390
- {
2391
- "kind": "js",
2392
- "name": "foundationAiCriteriaSearchTemplate",
2393
- "declaration": {
2394
- "name": "foundationAiCriteriaSearchTemplate",
2395
- "module": "./ai-criteria-search.template"
2396
- }
2397
- },
2398
- {
2399
- "kind": "js",
2400
- "name": "*",
2401
- "declaration": {
2402
- "name": "*",
2403
- "package": "./validation/criteria-ir"
2404
- }
2405
- },
2406
- {
2407
- "kind": "js",
2408
- "name": "*",
2409
- "declaration": {
2410
- "name": "*",
2411
- "package": "./validation/operator-map"
2412
- }
2413
- },
2414
- {
2415
- "kind": "js",
2416
- "name": "*",
2417
- "declaration": {
2418
- "name": "*",
2419
- "package": "./validation/schema-validator"
2420
- }
2421
- }
2422
- ]
2423
- },
2424
- {
2425
- "kind": "javascript-module",
2426
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2427
- "declarations": [
2428
- {
2429
- "kind": "function",
2430
- "name": "formatValidationErrors",
2431
- "return": {
2432
- "type": {
2433
- "text": "string"
2434
- }
2435
- },
2436
- "parameters": [
2377
+ "default": "true",
2378
+ "fieldName": "addDefaultActions"
2379
+ },
2437
2380
  {
2438
- "name": "errors",
2381
+ "name": "auto-close-on-action",
2439
2382
  "type": {
2440
- "text": "ValidationError[]"
2441
- }
2442
- }
2443
- ],
2444
- "description": "Formats validation errors into a user-friendly message."
2445
- },
2446
- {
2447
- "kind": "function",
2448
- "name": "showCriteriaError",
2449
- "return": {
2450
- "type": {
2451
- "text": "void"
2452
- }
2453
- },
2454
- "parameters": [
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "true",
2386
+ "fieldName": "autoCloseOnAction"
2387
+ },
2455
2388
  {
2456
- "name": "title",
2389
+ "name": "name",
2457
2390
  "type": {
2458
2391
  "text": "string"
2459
2392
  },
2460
- "description": "Notification title (e.g. \"Criteria validation error\")"
2393
+ "default": "'Actions'",
2394
+ "fieldName": "name"
2461
2395
  },
2462
2396
  {
2463
- "name": "body",
2397
+ "name": "open",
2464
2398
  "type": {
2465
- "text": "string"
2399
+ "text": "boolean"
2466
2400
  },
2467
- "description": "Error message to display"
2401
+ "default": "false",
2402
+ "fieldName": "open"
2468
2403
  },
2469
2404
  {
2470
- "name": "tagName",
2405
+ "name": "buttonAppearance",
2471
2406
  "type": {
2472
2407
  "text": "string"
2473
2408
  },
2474
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
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"
2475
2426
  }
2476
2427
  ],
2477
- "description": "Shows a criteria error as a toast notification."
2428
+ "superclass": {
2429
+ "name": "FoundationElement",
2430
+ "package": "@microsoft/fast-foundation"
2431
+ },
2432
+ "tagName": "%%prefix%%-actions-menu",
2433
+ "customElement": true
2434
+ },
2435
+ {
2436
+ "kind": "variable",
2437
+ "name": "foundationActionsMenu",
2438
+ "description": "The Foundation Actions Menu",
2439
+ "privacy": "public"
2478
2440
  }
2479
2441
  ],
2480
2442
  "exports": [
2481
2443
  {
2482
2444
  "kind": "js",
2483
- "name": "formatValidationErrors",
2445
+ "name": "ActionsMenu",
2484
2446
  "declaration": {
2485
- "name": "formatValidationErrors",
2486
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2447
+ "name": "ActionsMenu",
2448
+ "module": "src/actions-menu/actions-menu.ts"
2487
2449
  }
2488
2450
  },
2489
2451
  {
2490
2452
  "kind": "js",
2491
- "name": "showCriteriaError",
2453
+ "name": "foundationActionsMenu",
2492
2454
  "declaration": {
2493
- "name": "showCriteriaError",
2494
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2455
+ "name": "foundationActionsMenu",
2456
+ "module": "src/actions-menu/actions-menu.ts"
2495
2457
  }
2496
2458
  }
2497
2459
  ]
2498
2460
  },
2499
2461
  {
2500
2462
  "kind": "javascript-module",
2501
- "path": "src/_config/index.ts",
2463
+ "path": "src/actions-menu/index.ts",
2502
2464
  "declarations": [],
2503
2465
  "exports": [
2504
2466
  {
@@ -2506,7 +2468,7 @@
2506
2468
  "name": "*",
2507
2469
  "declaration": {
2508
2470
  "name": "*",
2509
- "package": "./styles"
2471
+ "package": "./actions-menu.styles"
2510
2472
  }
2511
2473
  },
2512
2474
  {
@@ -2514,7 +2476,7 @@
2514
2476
  "name": "*",
2515
2477
  "declaration": {
2516
2478
  "name": "*",
2517
- "package": "./tokens"
2479
+ "package": "./actions-menu.template"
2518
2480
  }
2519
2481
  },
2520
2482
  {
@@ -2522,82 +2484,64 @@
2522
2484
  "name": "*",
2523
2485
  "declaration": {
2524
2486
  "name": "*",
2525
- "package": "./values"
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,659 +2855,245 @@
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"
2903
- }
2904
- ],
2905
- "exports": [
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"
2910
+ }
2911
+ ],
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
- },
2924
- {
2925
- "kind": "javascript-module",
2926
- "path": "src/ai-indicator/index.ts",
2927
- "declarations": [],
2928
- "exports": [
2928
+ },
2929
2929
  {
2930
2930
  "kind": "js",
2931
- "name": "AiIndicator",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2932
2932
  "declaration": {
2933
- "name": "AiIndicator",
2934
- "module": "./ai-indicator"
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
2935
  }
2936
2936
  },
2937
2937
  {
2938
2938
  "kind": "js",
2939
- "name": "foundationAiIndicator",
2939
+ "name": "foundationAiCriteriaSearch",
2940
2940
  "declaration": {
2941
- "name": "foundationAiIndicator",
2942
- "module": "./ai-indicator"
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2943
2943
  }
2944
- },
2944
+ }
2945
+ ]
2946
+ },
2947
+ {
2948
+ "kind": "javascript-module",
2949
+ "path": "src/ai-criteria-search/index.ts",
2950
+ "declarations": [],
2951
+ "exports": [
2945
2952
  {
2946
2953
  "kind": "js",
2947
- "name": "type",
2954
+ "name": "AiCriteriaSearch",
2948
2955
  "declaration": {
2949
- "name": "type",
2950
- "module": "./ai-indicator"
2956
+ "name": "AiCriteriaSearch",
2957
+ "module": "./ai-criteria-search"
2951
2958
  }
2952
2959
  },
2953
2960
  {
2954
2961
  "kind": "js",
2955
- "name": "AIIndicatorState",
2962
+ "name": "defaultAiCriteriaSearchConfig",
2956
2963
  "declaration": {
2957
- "name": "AIIndicatorState",
2958
- "module": "./ai-indicator"
2964
+ "name": "defaultAiCriteriaSearchConfig",
2965
+ "module": "./ai-criteria-search"
2959
2966
  }
2960
2967
  },
2961
2968
  {
2962
2969
  "kind": "js",
2963
- "name": "foundationAiIndicatorTemplate",
2970
+ "name": "foundationAiCriteriaSearch",
2964
2971
  "declaration": {
2965
- "name": "foundationAiIndicatorTemplate",
2966
- "module": "./ai-indicator.template"
2972
+ "name": "foundationAiCriteriaSearch",
2973
+ "module": "./ai-criteria-search"
2967
2974
  }
2968
2975
  },
2969
2976
  {
2970
2977
  "kind": "js",
2971
- "name": "foundationAiIndicatorStyles",
2978
+ "name": "foundationAiCriteriaSearchShadowOptions",
2972
2979
  "declaration": {
2973
- "name": "foundationAiIndicatorStyles",
2974
- "module": "./ai-indicator.styles"
2980
+ "name": "foundationAiCriteriaSearchShadowOptions",
2981
+ "module": "./ai-criteria-search"
2975
2982
  }
2976
- }
2977
- ]
2978
- },
2979
- {
2980
- "kind": "javascript-module",
2981
- "path": "src/actions-menu/actions-menu.styles.ts",
2982
- "declarations": [
2983
- {
2984
- "kind": "function",
2985
- "name": "actionsMenuBaseStyles",
2986
- "return": {
2987
- "type": {
2988
- "text": "ElementStyles"
2989
- }
2990
- },
2991
- "parameters": [
2992
- {
2993
- "name": "context",
2994
- "type": {
2995
- "text": "ElementDefinitionContext"
2996
- }
2997
- },
2998
- {
2999
- "name": "definition",
3000
- "type": {
3001
- "text": "FoundationElementDefinition"
3002
- }
3003
- }
3004
- ]
3005
2983
  },
3006
- {
3007
- "kind": "function",
3008
- "name": "foundationActionsMenuStyles",
3009
- "return": {
3010
- "type": {
3011
- "text": "ElementStyles"
3012
- }
3013
- },
3014
- "parameters": [
3015
- {
3016
- "name": "context",
3017
- "type": {
3018
- "text": "ElementDefinitionContext"
3019
- }
3020
- },
3021
- {
3022
- "name": "definition",
3023
- "type": {
3024
- "text": "FoundationElementDefinition"
3025
- }
3026
- }
3027
- ]
3028
- }
3029
- ],
3030
- "exports": [
3031
2984
  {
3032
2985
  "kind": "js",
3033
- "name": "actionsMenuBaseStyles",
2986
+ "name": "foundationAiCriteriaSearchStyles",
3034
2987
  "declaration": {
3035
- "name": "actionsMenuBaseStyles",
3036
- "module": "src/actions-menu/actions-menu.styles.ts"
2988
+ "name": "foundationAiCriteriaSearchStyles",
2989
+ "module": "./ai-criteria-search.styles"
3037
2990
  }
3038
2991
  },
3039
2992
  {
3040
2993
  "kind": "js",
3041
- "name": "foundationActionsMenuStyles",
2994
+ "name": "foundationAiCriteriaSearchTemplate",
3042
2995
  "declaration": {
3043
- "name": "foundationActionsMenuStyles",
3044
- "module": "src/actions-menu/actions-menu.styles.ts"
2996
+ "name": "foundationAiCriteriaSearchTemplate",
2997
+ "module": "./ai-criteria-search.template"
3045
2998
  }
3046
- }
3047
- ]
3048
- },
3049
- {
3050
- "kind": "javascript-module",
3051
- "path": "src/actions-menu/actions-menu.template.ts",
3052
- "declarations": [
3053
- {
3054
- "kind": "function",
3055
- "name": "menuTemplate",
3056
- "parameters": [
3057
- {
3058
- "name": "prefix",
3059
- "type": {
3060
- "text": "string"
3061
- }
3062
- }
3063
- ]
3064
- },
3065
- {
3066
- "kind": "function",
3067
- "name": "singleOptionTemplate",
3068
- "parameters": [
3069
- {
3070
- "name": "prefix",
3071
- "type": {
3072
- "text": "string"
3073
- }
3074
- }
3075
- ]
3076
2999
  },
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
- }
3085
- ],
3086
- "exports": [
3087
3000
  {
3088
3001
  "kind": "js",
3089
- "name": "menuTemplate",
3002
+ "name": "*",
3090
3003
  "declaration": {
3091
- "name": "menuTemplate",
3092
- "module": "src/actions-menu/actions-menu.template.ts"
3004
+ "name": "*",
3005
+ "package": "./validation/criteria-ir"
3093
3006
  }
3094
3007
  },
3095
3008
  {
3096
3009
  "kind": "js",
3097
- "name": "singleOptionTemplate",
3010
+ "name": "*",
3098
3011
  "declaration": {
3099
- "name": "singleOptionTemplate",
3100
- "module": "src/actions-menu/actions-menu.template.ts"
3012
+ "name": "*",
3013
+ "package": "./validation/operator-map"
3101
3014
  }
3102
3015
  },
3103
3016
  {
3104
3017
  "kind": "js",
3105
- "name": "foundationActionsMenuTemplate",
3018
+ "name": "*",
3106
3019
  "declaration": {
3107
- "name": "foundationActionsMenuTemplate",
3108
- "module": "src/actions-menu/actions-menu.template.ts"
3020
+ "name": "*",
3021
+ "package": "./validation/schema-validator"
3109
3022
  }
3110
3023
  }
3111
3024
  ]
3112
3025
  },
3113
3026
  {
3114
3027
  "kind": "javascript-module",
3115
- "path": "src/actions-menu/actions-menu.ts",
3028
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3116
3029
  "declarations": [
3117
3030
  {
3118
- "kind": "class",
3119
- "description": "",
3120
- "name": "ActionsMenu",
3121
- "members": [
3122
- {
3123
- "kind": "field",
3124
- "name": "actions",
3125
- "type": {
3126
- "text": "ActionMenuItem[]"
3127
- }
3128
- },
3129
- {
3130
- "kind": "field",
3131
- "name": "isVertical",
3132
- "type": {
3133
- "text": "boolean"
3134
- },
3135
- "default": "false"
3136
- },
3137
- {
3138
- "kind": "field",
3139
- "name": "addDefaultActions",
3140
- "type": {
3141
- "text": "boolean"
3142
- },
3143
- "default": "true"
3144
- },
3145
- {
3146
- "kind": "field",
3147
- "name": "autoCloseOnAction",
3148
- "type": {
3149
- "text": "boolean"
3150
- },
3151
- "default": "true"
3152
- },
3153
- {
3154
- "kind": "field",
3155
- "name": "classNames",
3156
- "type": {
3157
- "text": "string"
3158
- }
3159
- },
3160
- {
3161
- "kind": "field",
3162
- "name": "definition",
3163
- "type": {
3164
- "text": "any"
3165
- }
3166
- },
3167
- {
3168
- "kind": "field",
3169
- "name": "name",
3170
- "type": {
3171
- "text": "string"
3172
- },
3173
- "default": "'Actions'"
3174
- },
3175
- {
3176
- "kind": "field",
3177
- "name": "open",
3178
- "type": {
3179
- "text": "boolean"
3180
- },
3181
- "default": "false"
3182
- },
3183
- {
3184
- "kind": "field",
3185
- "name": "buttonAppearance",
3186
- "type": {
3187
- "text": "string"
3188
- }
3189
- },
3190
- {
3191
- "kind": "field",
3192
- "name": "hideDisabled",
3193
- "type": {
3194
- "text": "boolean"
3195
- },
3196
- "default": "false"
3197
- },
3198
- {
3199
- "kind": "field",
3200
- "name": "hideMenuSingleOption",
3201
- "type": {
3202
- "text": "boolean"
3203
- },
3204
- "default": "false"
3205
- },
3206
- {
3207
- "kind": "field",
3208
- "name": "singleOption",
3209
- "type": {
3210
- "text": "ActionMenuItem"
3211
- }
3212
- },
3213
- {
3214
- "kind": "field",
3215
- "name": "actionsMenu",
3216
- "type": {
3217
- "text": "HTMLElement"
3218
- }
3219
- },
3220
- {
3221
- "kind": "field",
3222
- "name": "actionsOpener",
3223
- "type": {
3224
- "text": "HTMLElement"
3225
- }
3226
- },
3227
- {
3228
- "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
- }
3248
- }
3249
- ]
3250
- },
3251
- {
3252
- "kind": "method",
3253
- "name": "openChanged",
3254
- "privacy": "protected"
3255
- },
3256
- {
3257
- "kind": "method",
3258
- "name": "toggleActionsMenuVisibility"
3259
- },
3260
- {
3261
- "kind": "method",
3262
- "name": "onActionMenuItemClick",
3263
- "parameters": [
3264
- {
3265
- "name": "callback",
3266
- "type": {
3267
- "text": "(rowData) => void | any"
3268
- }
3269
- }
3270
- ]
3271
- },
3272
- {
3273
- "kind": "field",
3274
- "name": "allActions",
3275
- "type": {
3276
- "text": "ActionMenuItem[]"
3277
- },
3278
- "readonly": true
3279
- },
3280
- {
3281
- "kind": "field",
3282
- "name": "rowData",
3283
- "readonly": true
3284
- },
3285
- {
3286
- "kind": "method",
3287
- "name": "getLabel",
3288
- "parameters": [
3289
- {
3290
- "name": "name",
3291
- "type": {
3292
- "text": "string | ((rowData: any) => string)"
3293
- }
3294
- }
3295
- ]
3296
- },
3297
- {
3298
- "kind": "method",
3299
- "name": "getTemplate",
3300
- "parameters": [
3301
- {
3302
- "name": "prefix",
3303
- "type": {
3304
- "text": "string"
3305
- }
3306
- }
3307
- ]
3308
- },
3309
- {
3310
- "kind": "field",
3311
- "name": "_presentation",
3312
- "type": {
3313
- "text": "ComponentPresentation | null | undefined"
3314
- },
3315
- "privacy": "private",
3316
- "default": "void 0",
3317
- "inheritedFrom": {
3318
- "name": "FoundationElement",
3319
- "module": "src/foundation-element/foundation-element.ts"
3320
- }
3321
- },
3322
- {
3323
- "kind": "field",
3324
- "name": "$presentation",
3325
- "type": {
3326
- "text": "ComponentPresentation | null"
3327
- },
3328
- "privacy": "public",
3329
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3330
- "inheritedFrom": {
3331
- "name": "FoundationElement",
3332
- "module": "src/foundation-element/foundation-element.ts"
3333
- }
3334
- },
3335
- {
3336
- "kind": "field",
3337
- "name": "template",
3338
- "type": {
3339
- "text": "ElementViewTemplate | void | null"
3340
- },
3341
- "privacy": "public",
3342
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3343
- "inheritedFrom": {
3344
- "name": "FoundationElement",
3345
- "module": "src/foundation-element/foundation-element.ts"
3346
- }
3347
- },
3348
- {
3349
- "kind": "method",
3350
- "name": "templateChanged",
3351
- "privacy": "protected",
3352
- "return": {
3353
- "type": {
3354
- "text": "void"
3355
- }
3356
- },
3357
- "inheritedFrom": {
3358
- "name": "FoundationElement",
3359
- "module": "src/foundation-element/foundation-element.ts"
3360
- }
3361
- },
3031
+ "kind": "function",
3032
+ "name": "formatValidationErrors",
3033
+ "return": {
3034
+ "type": {
3035
+ "text": "string"
3036
+ }
3037
+ },
3038
+ "parameters": [
3362
3039
  {
3363
- "kind": "field",
3364
- "name": "styles",
3040
+ "name": "errors",
3365
3041
  "type": {
3366
- "text": "ElementStyles | void | null"
3367
- },
3368
- "privacy": "public",
3369
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3370
- "inheritedFrom": {
3371
- "name": "FoundationElement",
3372
- "module": "src/foundation-element/foundation-element.ts"
3373
- }
3374
- },
3375
- {
3376
- "kind": "method",
3377
- "name": "stylesChanged",
3378
- "privacy": "protected",
3379
- "return": {
3380
- "type": {
3381
- "text": "void"
3382
- }
3383
- },
3384
- "inheritedFrom": {
3385
- "name": "FoundationElement",
3386
- "module": "src/foundation-element/foundation-element.ts"
3387
- }
3388
- },
3389
- {
3390
- "kind": "method",
3391
- "name": "compose",
3392
- "privacy": "public",
3393
- "static": true,
3394
- "return": {
3395
- "type": {
3396
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3397
- }
3398
- },
3399
- "parameters": [
3400
- {
3401
- "name": "this",
3402
- "type": {
3403
- "text": "K"
3404
- }
3405
- },
3406
- {
3407
- "name": "elementDefinition",
3408
- "type": {
3409
- "text": "T"
3410
- },
3411
- "description": "The definition of the element to create the registry\nfunction for."
3412
- }
3413
- ],
3414
- "description": "Defines an element registry function with a set of element definition defaults.",
3415
- "inheritedFrom": {
3416
- "name": "FoundationElement",
3417
- "module": "src/foundation-element/foundation-element.ts"
3042
+ "text": "ValidationError[]"
3418
3043
  }
3419
3044
  }
3420
3045
  ],
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
- },
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": [
3446
3057
  {
3447
- "name": "name",
3058
+ "name": "title",
3448
3059
  "type": {
3449
3060
  "text": "string"
3450
3061
  },
3451
- "default": "'Actions'",
3452
- "fieldName": "name"
3453
- },
3454
- {
3455
- "name": "open",
3456
- "type": {
3457
- "text": "boolean"
3458
- },
3459
- "default": "false",
3460
- "fieldName": "open"
3062
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3063
  },
3462
3064
  {
3463
- "name": "buttonAppearance",
3065
+ "name": "body",
3464
3066
  "type": {
3465
3067
  "text": "string"
3466
3068
  },
3467
- "fieldName": "buttonAppearance"
3468
- },
3469
- {
3470
- "name": "hide-disabled",
3471
- "type": {
3472
- "text": "boolean"
3473
- },
3474
- "default": "false",
3475
- "fieldName": "hideDisabled"
3069
+ "description": "Error message to display"
3476
3070
  },
3477
3071
  {
3478
- "name": "hide-menu-single-option",
3072
+ "name": "tagName",
3479
3073
  "type": {
3480
- "text": "boolean"
3074
+ "text": "string"
3481
3075
  },
3482
- "default": "false",
3483
- "fieldName": "hideMenuSingleOption"
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3484
3077
  }
3485
3078
  ],
3486
- "superclass": {
3487
- "name": "FoundationElement",
3488
- "package": "@microsoft/fast-foundation"
3489
- },
3490
- "tagName": "%%prefix%%-actions-menu",
3491
- "customElement": true
3492
- },
3493
- {
3494
- "kind": "variable",
3495
- "name": "foundationActionsMenu",
3496
- "description": "The Foundation Actions Menu",
3497
- "privacy": "public"
3079
+ "description": "Shows a criteria error as a toast notification."
3498
3080
  }
3499
3081
  ],
3500
3082
  "exports": [
3501
3083
  {
3502
3084
  "kind": "js",
3503
- "name": "ActionsMenu",
3504
- "declaration": {
3505
- "name": "ActionsMenu",
3506
- "module": "src/actions-menu/actions-menu.ts"
3507
- }
3508
- },
3509
- {
3510
- "kind": "js",
3511
- "name": "foundationActionsMenu",
3512
- "declaration": {
3513
- "name": "foundationActionsMenu",
3514
- "module": "src/actions-menu/actions-menu.ts"
3515
- }
3516
- }
3517
- ]
3518
- },
3519
- {
3520
- "kind": "javascript-module",
3521
- "path": "src/actions-menu/index.ts",
3522
- "declarations": [],
3523
- "exports": [
3524
- {
3525
- "kind": "js",
3526
- "name": "*",
3527
- "declaration": {
3528
- "name": "*",
3529
- "package": "./actions-menu.styles"
3530
- }
3531
- },
3532
- {
3533
- "kind": "js",
3534
- "name": "*",
3085
+ "name": "formatValidationErrors",
3535
3086
  "declaration": {
3536
- "name": "*",
3537
- "package": "./actions-menu.template"
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3538
3089
  }
3539
3090
  },
3540
3091
  {
3541
3092
  "kind": "js",
3542
- "name": "*",
3093
+ "name": "showCriteriaError",
3543
3094
  "declaration": {
3544
- "name": "*",
3545
- "package": "./actions-menu"
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3546
3097
  }
3547
3098
  }
3548
3099
  ]
@@ -4062,6 +3613,455 @@
4062
3613
  }
4063
3614
  ]
4064
3615
  },
3616
+ {
3617
+ "kind": "javascript-module",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
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
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3648
+ "declaration": {
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
+ }
3652
+ }
3653
+ ]
3654
+ },
3655
+ {
3656
+ "kind": "javascript-module",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3682
+ "declarations": [
3683
+ {
3684
+ "kind": "class",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3687
+ "members": [
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3691
+ "type": {
3692
+ "text": "AIProviderRegistry"
3693
+ }
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
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
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3716
+ "type": {
3717
+ "text": "boolean"
3718
+ },
3719
+ "default": "false"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3743
+ "privacy": "private",
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"
3756
+ },
3757
+ "readonly": true
3758
+ },
3759
+ {
3760
+ "kind": "field",
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
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3866
+ },
3867
+ {
3868
+ "kind": "field",
3869
+ "name": "_presentation",
3870
+ "type": {
3871
+ "text": "ComponentPresentation | null | undefined"
3872
+ },
3873
+ "privacy": "private",
3874
+ "default": "void 0",
3875
+ "inheritedFrom": {
3876
+ "name": "FoundationElement",
3877
+ "module": "src/foundation-element/foundation-element.ts"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "field",
3882
+ "name": "$presentation",
3883
+ "type": {
3884
+ "text": "ComponentPresentation | null"
3885
+ },
3886
+ "privacy": "public",
3887
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3888
+ "inheritedFrom": {
3889
+ "name": "FoundationElement",
3890
+ "module": "src/foundation-element/foundation-element.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "field",
3895
+ "name": "template",
3896
+ "type": {
3897
+ "text": "ElementViewTemplate | void | null"
3898
+ },
3899
+ "privacy": "public",
3900
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3901
+ "inheritedFrom": {
3902
+ "name": "FoundationElement",
3903
+ "module": "src/foundation-element/foundation-element.ts"
3904
+ }
3905
+ },
3906
+ {
3907
+ "kind": "method",
3908
+ "name": "templateChanged",
3909
+ "privacy": "protected",
3910
+ "return": {
3911
+ "type": {
3912
+ "text": "void"
3913
+ }
3914
+ },
3915
+ "inheritedFrom": {
3916
+ "name": "FoundationElement",
3917
+ "module": "src/foundation-element/foundation-element.ts"
3918
+ }
3919
+ },
3920
+ {
3921
+ "kind": "field",
3922
+ "name": "styles",
3923
+ "type": {
3924
+ "text": "ElementStyles | void | null"
3925
+ },
3926
+ "privacy": "public",
3927
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3928
+ "inheritedFrom": {
3929
+ "name": "FoundationElement",
3930
+ "module": "src/foundation-element/foundation-element.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "stylesChanged",
3936
+ "privacy": "protected",
3937
+ "return": {
3938
+ "type": {
3939
+ "text": "void"
3940
+ }
3941
+ },
3942
+ "inheritedFrom": {
3943
+ "name": "FoundationElement",
3944
+ "module": "src/foundation-element/foundation-element.ts"
3945
+ }
3946
+ },
3947
+ {
3948
+ "kind": "method",
3949
+ "name": "compose",
3950
+ "privacy": "public",
3951
+ "static": true,
3952
+ "return": {
3953
+ "type": {
3954
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3955
+ }
3956
+ },
3957
+ "parameters": [
3958
+ {
3959
+ "name": "this",
3960
+ "type": {
3961
+ "text": "K"
3962
+ }
3963
+ },
3964
+ {
3965
+ "name": "elementDefinition",
3966
+ "type": {
3967
+ "text": "T"
3968
+ },
3969
+ "description": "The definition of the element to create the registry\nfunction for."
3970
+ }
3971
+ ],
3972
+ "description": "Defines an element registry function with a set of element definition defaults.",
3973
+ "inheritedFrom": {
3974
+ "name": "FoundationElement",
3975
+ "module": "src/foundation-element/foundation-element.ts"
3976
+ }
3977
+ }
3978
+ ],
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3982
+ },
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3985
+ },
3986
+ {
3987
+ "kind": "variable",
3988
+ "name": "foundationAiIndicator"
3989
+ }
3990
+ ],
3991
+ "exports": [
3992
+ {
3993
+ "kind": "js",
3994
+ "name": "AiIndicator",
3995
+ "declaration": {
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3998
+ }
3999
+ },
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "foundationAiIndicator",
4003
+ "declaration": {
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"
4021
+ }
4022
+ },
4023
+ {
4024
+ "kind": "js",
4025
+ "name": "foundationAiIndicator",
4026
+ "declaration": {
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4029
+ }
4030
+ },
4031
+ {
4032
+ "kind": "js",
4033
+ "name": "type",
4034
+ "declaration": {
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "AIIndicatorState",
4042
+ "declaration": {
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
+ "declaration": {
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationAiIndicatorStyles",
4058
+ "declaration": {
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
+ }
4062
+ }
4063
+ ]
4064
+ },
4065
4065
  {
4066
4066
  "kind": "javascript-module",
4067
4067
  "path": "src/anchor/anchor.styles.ts",
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",