@genesislcap/foundation-ui 15.21.1 → 15.22.1-GENC-1582.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,203 @@
1920
1889
  },
1921
1890
  {
1922
1891
  "kind": "javascript-module",
1923
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1892
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
1893
  "declarations": [
1925
1894
  {
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`"
1895
+ "kind": "function",
1896
+ "name": "actionsMenuBaseStyles",
1897
+ "return": {
1898
+ "type": {
1899
+ "text": "ElementStyles"
1900
+ }
1901
+ },
1902
+ "parameters": [
1903
+ {
1904
+ "name": "context",
1905
+ "type": {
1906
+ "text": "ElementDefinitionContext"
1907
+ }
1908
+ },
1909
+ {
1910
+ "name": "definition",
1911
+ "type": {
1912
+ "text": "FoundationElementDefinition"
1913
+ }
1914
+ }
1915
+ ]
1916
+ },
1917
+ {
1918
+ "kind": "function",
1919
+ "name": "foundationActionsMenuStyles",
1920
+ "return": {
1921
+ "type": {
1922
+ "text": "ElementStyles"
1923
+ }
1924
+ },
1925
+ "parameters": [
1926
+ {
1927
+ "name": "context",
1928
+ "type": {
1929
+ "text": "ElementDefinitionContext"
1930
+ }
1931
+ },
1932
+ {
1933
+ "name": "definition",
1934
+ "type": {
1935
+ "text": "FoundationElementDefinition"
1936
+ }
1937
+ }
1938
+ ]
1929
1939
  }
1930
1940
  ],
1931
1941
  "exports": [
1932
1942
  {
1933
1943
  "kind": "js",
1934
- "name": "foundationAiCriteriaSearchStyles",
1944
+ "name": "actionsMenuBaseStyles",
1935
1945
  "declaration": {
1936
- "name": "foundationAiCriteriaSearchStyles",
1937
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1946
+ "name": "actionsMenuBaseStyles",
1947
+ "module": "src/actions-menu/actions-menu.styles.ts"
1948
+ }
1949
+ },
1950
+ {
1951
+ "kind": "js",
1952
+ "name": "foundationActionsMenuStyles",
1953
+ "declaration": {
1954
+ "name": "foundationActionsMenuStyles",
1955
+ "module": "src/actions-menu/actions-menu.styles.ts"
1938
1956
  }
1939
1957
  }
1940
1958
  ]
1941
1959
  },
1942
1960
  {
1943
1961
  "kind": "javascript-module",
1944
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1962
+ "path": "src/actions-menu/actions-menu.template.ts",
1945
1963
  "declarations": [
1964
+ {
1965
+ "kind": "function",
1966
+ "name": "menuTemplate",
1967
+ "parameters": [
1968
+ {
1969
+ "name": "prefix",
1970
+ "type": {
1971
+ "text": "string"
1972
+ }
1973
+ }
1974
+ ]
1975
+ },
1976
+ {
1977
+ "kind": "function",
1978
+ "name": "singleOptionTemplate",
1979
+ "parameters": [
1980
+ {
1981
+ "name": "prefix",
1982
+ "type": {
1983
+ "text": "string"
1984
+ }
1985
+ }
1986
+ ]
1987
+ },
1946
1988
  {
1947
1989
  "kind": "variable",
1948
- "name": "foundationAiCriteriaSearchTemplate",
1990
+ "name": "foundationActionsMenuTemplate",
1949
1991
  "type": {
1950
- "text": "ViewTemplate<AiCriteriaSearch>"
1992
+ "text": "ViewTemplate<ActionsMenu>"
1951
1993
  },
1952
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1994
+ "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
1995
  }
1954
1996
  ],
1955
1997
  "exports": [
1956
1998
  {
1957
1999
  "kind": "js",
1958
- "name": "foundationAiCriteriaSearchTemplate",
2000
+ "name": "menuTemplate",
1959
2001
  "declaration": {
1960
- "name": "foundationAiCriteriaSearchTemplate",
1961
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2002
+ "name": "menuTemplate",
2003
+ "module": "src/actions-menu/actions-menu.template.ts"
2004
+ }
2005
+ },
2006
+ {
2007
+ "kind": "js",
2008
+ "name": "singleOptionTemplate",
2009
+ "declaration": {
2010
+ "name": "singleOptionTemplate",
2011
+ "module": "src/actions-menu/actions-menu.template.ts"
2012
+ }
2013
+ },
2014
+ {
2015
+ "kind": "js",
2016
+ "name": "foundationActionsMenuTemplate",
2017
+ "declaration": {
2018
+ "name": "foundationActionsMenuTemplate",
2019
+ "module": "src/actions-menu/actions-menu.template.ts"
1962
2020
  }
1963
2021
  }
1964
2022
  ]
1965
2023
  },
1966
2024
  {
1967
2025
  "kind": "javascript-module",
1968
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2026
+ "path": "src/actions-menu/actions-menu.ts",
1969
2027
  "declarations": [
1970
2028
  {
1971
2029
  "kind": "class",
1972
- "description": "Natural-language criteria search input with AI interpretation.",
1973
- "name": "AiCriteriaSearch",
2030
+ "description": "",
2031
+ "name": "ActionsMenu",
1974
2032
  "members": [
1975
2033
  {
1976
2034
  "kind": "field",
1977
- "name": "providerRegistry",
2035
+ "name": "actions",
1978
2036
  "type": {
1979
- "text": "AIProviderRegistry"
2037
+ "text": "ActionMenuItem[]"
1980
2038
  }
1981
2039
  },
1982
2040
  {
1983
2041
  "kind": "field",
1984
- "name": "placeholder",
2042
+ "name": "isVertical",
1985
2043
  "type": {
1986
- "text": "string"
2044
+ "text": "boolean"
1987
2045
  },
1988
- "default": "'Describe your search criteria in natural language...'"
2046
+ "default": "false"
1989
2047
  },
1990
2048
  {
1991
2049
  "kind": "field",
1992
- "name": "disabled",
2050
+ "name": "addDefaultActions",
1993
2051
  "type": {
1994
2052
  "text": "boolean"
1995
- }
2053
+ },
2054
+ "default": "true"
1996
2055
  },
1997
2056
  {
1998
2057
  "kind": "field",
1999
- "name": "inputValue",
2058
+ "name": "autoCloseOnAction",
2000
2059
  "type": {
2001
- "text": "string"
2060
+ "text": "boolean"
2002
2061
  },
2003
- "default": "''"
2062
+ "default": "true"
2004
2063
  },
2005
2064
  {
2006
2065
  "kind": "field",
2007
- "name": "isInterpreting",
2066
+ "name": "classNames",
2008
2067
  "type": {
2009
- "text": "boolean"
2010
- },
2011
- "default": "false"
2068
+ "text": "string"
2069
+ }
2012
2070
  },
2013
2071
  {
2014
2072
  "kind": "field",
2015
- "name": "lastValidCriteria",
2073
+ "name": "definition",
2016
2074
  "type": {
2017
- "text": "string | null"
2018
- },
2019
- "default": "null"
2075
+ "text": "any"
2076
+ }
2020
2077
  },
2021
2078
  {
2022
2079
  "kind": "field",
2023
- "name": "activeGroups",
2080
+ "name": "name",
2024
2081
  "type": {
2025
- "text": "CriteriaGroup[]"
2082
+ "text": "string"
2026
2083
  },
2027
- "default": "[]"
2084
+ "default": "'Actions'"
2028
2085
  },
2029
2086
  {
2030
2087
  "kind": "field",
2031
- "name": "showingChips",
2088
+ "name": "open",
2032
2089
  "type": {
2033
2090
  "text": "boolean"
2034
2091
  },
@@ -2036,15 +2093,14 @@
2036
2093
  },
2037
2094
  {
2038
2095
  "kind": "field",
2039
- "name": "fieldMetadata",
2096
+ "name": "buttonAppearance",
2040
2097
  "type": {
2041
- "text": "MetadataDetail[] | string[]"
2042
- },
2043
- "default": "[]"
2098
+ "text": "string"
2099
+ }
2044
2100
  },
2045
2101
  {
2046
2102
  "kind": "field",
2047
- "name": "isRecording",
2103
+ "name": "hideDisabled",
2048
2104
  "type": {
2049
2105
  "text": "boolean"
2050
2106
  },
@@ -2052,125 +2108,114 @@
2052
2108
  },
2053
2109
  {
2054
2110
  "kind": "field",
2055
- "name": "textAreaRef",
2056
- "type": {
2057
- "text": "HTMLTextAreaElement"
2058
- },
2059
- "privacy": "public"
2060
- },
2061
- {
2062
- "kind": "field",
2063
- "name": "stopRecording",
2111
+ "name": "hideMenuSingleOption",
2064
2112
  "type": {
2065
- "text": "(() => void) | null"
2113
+ "text": "boolean"
2066
2114
  },
2067
- "privacy": "private",
2068
- "default": "null"
2115
+ "default": "false"
2069
2116
  },
2070
2117
  {
2071
2118
  "kind": "field",
2072
- "name": "speechApplyDebounceTimer",
2119
+ "name": "singleOption",
2073
2120
  "type": {
2074
- "text": "ReturnType<typeof setTimeout> | null"
2075
- },
2076
- "privacy": "private",
2077
- "default": "null"
2121
+ "text": "ActionMenuItem"
2122
+ }
2078
2123
  },
2079
2124
  {
2080
2125
  "kind": "field",
2081
- "name": "speechAvailable",
2126
+ "name": "actionsMenu",
2082
2127
  "type": {
2083
- "text": "boolean"
2084
- },
2085
- "readonly": true
2128
+ "text": "HTMLElement"
2129
+ }
2086
2130
  },
2087
2131
  {
2088
2132
  "kind": "field",
2089
- "name": "criteriaChips",
2133
+ "name": "actionsOpener",
2090
2134
  "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
- ]
2135
+ "text": "HTMLElement"
2136
+ }
2112
2137
  },
2113
2138
  {
2114
2139
  "kind": "method",
2115
- "name": "toggleCriteriaView",
2116
- "return": {
2117
- "type": {
2118
- "text": "void"
2119
- }
2120
- }
2140
+ "name": "updateMenuPosition",
2141
+ "privacy": "private"
2121
2142
  },
2122
2143
  {
2123
2144
  "kind": "method",
2124
- "name": "removeChip",
2125
- "return": {
2126
- "type": {
2127
- "text": "void"
2128
- }
2129
- },
2145
+ "name": "definitionChanged",
2146
+ "privacy": "protected",
2130
2147
  "parameters": [
2131
2148
  {
2132
- "name": "groupIndex",
2149
+ "name": "oldValue",
2133
2150
  "type": {
2134
- "text": "number"
2151
+ "text": "any"
2135
2152
  }
2136
2153
  },
2137
2154
  {
2138
- "name": "clauseIndex",
2155
+ "name": "newValue",
2139
2156
  "type": {
2140
- "text": "number"
2157
+ "text": "any"
2141
2158
  }
2142
2159
  }
2143
2160
  ]
2144
2161
  },
2145
2162
  {
2146
2163
  "kind": "method",
2147
- "name": "clearChips",
2148
- "return": {
2149
- "type": {
2150
- "text": "void"
2151
- }
2152
- }
2164
+ "name": "openChanged",
2165
+ "privacy": "protected"
2153
2166
  },
2154
2167
  {
2155
2168
  "kind": "method",
2156
- "name": "handleSubmit"
2169
+ "name": "toggleActionsMenuVisibility"
2157
2170
  },
2158
2171
  {
2159
2172
  "kind": "method",
2160
- "name": "handleBlur"
2173
+ "name": "onActionMenuItemClick",
2174
+ "parameters": [
2175
+ {
2176
+ "name": "callback",
2177
+ "type": {
2178
+ "text": "(rowData) => void | any"
2179
+ }
2180
+ }
2181
+ ]
2161
2182
  },
2162
2183
  {
2163
- "kind": "method",
2164
- "name": "clear"
2184
+ "kind": "field",
2185
+ "name": "allActions",
2186
+ "type": {
2187
+ "text": "ActionMenuItem[]"
2188
+ },
2189
+ "readonly": true
2190
+ },
2191
+ {
2192
+ "kind": "field",
2193
+ "name": "rowData",
2194
+ "readonly": true
2165
2195
  },
2166
2196
  {
2167
2197
  "kind": "method",
2168
- "name": "toggleSpeechInput"
2198
+ "name": "getLabel",
2199
+ "parameters": [
2200
+ {
2201
+ "name": "name",
2202
+ "type": {
2203
+ "text": "string | ((rowData: any) => string)"
2204
+ }
2205
+ }
2206
+ ]
2169
2207
  },
2170
2208
  {
2171
2209
  "kind": "method",
2172
- "name": "clearSpeechApplyDebounce",
2173
- "privacy": "private"
2210
+ "name": "getTemplate",
2211
+ "parameters": [
2212
+ {
2213
+ "name": "prefix",
2214
+ "type": {
2215
+ "text": "string"
2216
+ }
2217
+ }
2218
+ ]
2174
2219
  },
2175
2220
  {
2176
2221
  "kind": "field",
@@ -2284,154 +2329,115 @@
2284
2329
  }
2285
2330
  }
2286
2331
  ],
2287
- "events": [
2332
+ "attributes": [
2288
2333
  {
2289
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2290
- "name": "criteria-changed"
2334
+ "name": "is-vertical",
2335
+ "type": {
2336
+ "text": "boolean"
2337
+ },
2338
+ "default": "false",
2339
+ "fieldName": "isVertical"
2291
2340
  },
2292
2341
  {
2293
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2294
- "name": "validation-errors"
2295
- }
2296
- ],
2297
- "attributes": [
2342
+ "name": "add-default-actions",
2343
+ "type": {
2344
+ "text": "boolean"
2345
+ },
2346
+ "default": "true",
2347
+ "fieldName": "addDefaultActions"
2348
+ },
2298
2349
  {
2299
- "name": "placeholder",
2350
+ "name": "auto-close-on-action",
2351
+ "type": {
2352
+ "text": "boolean"
2353
+ },
2354
+ "default": "true",
2355
+ "fieldName": "autoCloseOnAction"
2356
+ },
2357
+ {
2358
+ "name": "name",
2300
2359
  "type": {
2301
2360
  "text": "string"
2302
2361
  },
2303
- "default": "'Describe your search criteria in natural language...'",
2304
- "fieldName": "placeholder"
2362
+ "default": "'Actions'",
2363
+ "fieldName": "name"
2305
2364
  },
2306
2365
  {
2366
+ "name": "open",
2307
2367
  "type": {
2308
2368
  "text": "boolean"
2309
2369
  },
2310
- "fieldName": "disabled"
2370
+ "default": "false",
2371
+ "fieldName": "open"
2372
+ },
2373
+ {
2374
+ "name": "buttonAppearance",
2375
+ "type": {
2376
+ "text": "string"
2377
+ },
2378
+ "fieldName": "buttonAppearance"
2379
+ },
2380
+ {
2381
+ "name": "hide-disabled",
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "false",
2386
+ "fieldName": "hideDisabled"
2387
+ },
2388
+ {
2389
+ "name": "hide-menu-single-option",
2390
+ "type": {
2391
+ "text": "boolean"
2392
+ },
2393
+ "default": "false",
2394
+ "fieldName": "hideMenuSingleOption"
2311
2395
  }
2312
2396
  ],
2313
2397
  "superclass": {
2314
2398
  "name": "FoundationElement",
2315
2399
  "package": "@microsoft/fast-foundation"
2316
2400
  },
2317
- "tagName": "%%prefix%%-ai-criteria-search",
2401
+ "tagName": "%%prefix%%-actions-menu",
2318
2402
  "customElement": true
2319
2403
  },
2320
2404
  {
2321
2405
  "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"
2406
+ "name": "foundationActionsMenu",
2407
+ "description": "The Foundation Actions Menu",
2408
+ "privacy": "public"
2339
2409
  }
2340
2410
  ],
2341
2411
  "exports": [
2342
2412
  {
2343
2413
  "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",
2414
+ "name": "ActionsMenu",
2361
2415
  "declaration": {
2362
- "name": "defaultAiCriteriaSearchConfig",
2363
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2416
+ "name": "ActionsMenu",
2417
+ "module": "src/actions-menu/actions-menu.ts"
2364
2418
  }
2365
2419
  },
2366
2420
  {
2367
2421
  "kind": "js",
2368
- "name": "foundationAiCriteriaSearch",
2422
+ "name": "foundationActionsMenu",
2369
2423
  "declaration": {
2370
- "name": "foundationAiCriteriaSearch",
2371
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2424
+ "name": "foundationActionsMenu",
2425
+ "module": "src/actions-menu/actions-menu.ts"
2372
2426
  }
2373
2427
  }
2374
2428
  ]
2375
2429
  },
2376
2430
  {
2377
2431
  "kind": "javascript-module",
2378
- "path": "src/ai-criteria-search/index.ts",
2432
+ "path": "src/actions-menu/index.ts",
2379
2433
  "declarations": [],
2380
2434
  "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
2435
  {
2430
2436
  "kind": "js",
2431
2437
  "name": "*",
2432
2438
  "declaration": {
2433
2439
  "name": "*",
2434
- "package": "./validation/criteria-ir"
2440
+ "package": "./actions-menu.styles"
2435
2441
  }
2436
2442
  },
2437
2443
  {
@@ -2439,7 +2445,7 @@
2439
2445
  "name": "*",
2440
2446
  "declaration": {
2441
2447
  "name": "*",
2442
- "package": "./validation/operator-map"
2448
+ "package": "./actions-menu.template"
2443
2449
  }
2444
2450
  },
2445
2451
  {
@@ -2447,157 +2453,64 @@
2447
2453
  "name": "*",
2448
2454
  "declaration": {
2449
2455
  "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"
2456
+ "package": "./actions-menu"
2526
2457
  }
2527
2458
  }
2528
2459
  ]
2529
2460
  },
2530
2461
  {
2531
2462
  "kind": "javascript-module",
2532
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2463
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2533
2464
  "declarations": [
2534
2465
  {
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
- ]
2466
+ "kind": "variable",
2467
+ "name": "foundationAiCriteriaSearchStyles",
2468
+ "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
2469
  }
2557
2470
  ],
2558
2471
  "exports": [
2559
2472
  {
2560
2473
  "kind": "js",
2561
- "name": "foundationAiIndicatorStyles",
2474
+ "name": "foundationAiCriteriaSearchStyles",
2562
2475
  "declaration": {
2563
- "name": "foundationAiIndicatorStyles",
2564
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2476
+ "name": "foundationAiCriteriaSearchStyles",
2477
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2565
2478
  }
2566
2479
  }
2567
2480
  ]
2568
2481
  },
2569
2482
  {
2570
2483
  "kind": "javascript-module",
2571
- "path": "src/ai-indicator/ai-indicator.template.ts",
2484
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2572
2485
  "declarations": [
2573
2486
  {
2574
2487
  "kind": "variable",
2575
- "name": "foundationAiIndicatorTemplate",
2488
+ "name": "foundationAiCriteriaSearchTemplate",
2576
2489
  "type": {
2577
- "text": "ViewTemplate<AiIndicator>"
2490
+ "text": "ViewTemplate<AiCriteriaSearch>"
2578
2491
  },
2579
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2492
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2580
2493
  }
2581
2494
  ],
2582
2495
  "exports": [
2583
2496
  {
2584
2497
  "kind": "js",
2585
- "name": "foundationAiIndicatorTemplate",
2498
+ "name": "foundationAiCriteriaSearchTemplate",
2586
2499
  "declaration": {
2587
- "name": "foundationAiIndicatorTemplate",
2588
- "module": "src/ai-indicator/ai-indicator.template.ts"
2500
+ "name": "foundationAiCriteriaSearchTemplate",
2501
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2589
2502
  }
2590
2503
  }
2591
2504
  ]
2592
2505
  },
2593
2506
  {
2594
2507
  "kind": "javascript-module",
2595
- "path": "src/ai-indicator/ai-indicator.ts",
2508
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2596
2509
  "declarations": [
2597
2510
  {
2598
2511
  "kind": "class",
2599
- "description": "",
2600
- "name": "AiIndicator",
2512
+ "description": "Natural-language criteria search input with AI interpretation.",
2513
+ "name": "AiCriteriaSearch",
2601
2514
  "members": [
2602
2515
  {
2603
2516
  "kind": "field",
@@ -2608,25 +2521,54 @@
2608
2521
  },
2609
2522
  {
2610
2523
  "kind": "field",
2611
- "name": "aiProvider",
2524
+ "name": "placeholder",
2612
2525
  "type": {
2613
- "text": "AIProvider | undefined"
2526
+ "text": "string"
2614
2527
  },
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
2528
+ "default": "'Describe your search criteria in natural language...'"
2618
2529
  },
2619
2530
  {
2620
2531
  "kind": "field",
2621
- "name": "status",
2532
+ "name": "disabled",
2622
2533
  "type": {
2623
- "text": "AIStatus | null"
2534
+ "text": "boolean"
2535
+ }
2536
+ },
2537
+ {
2538
+ "kind": "field",
2539
+ "name": "inputValue",
2540
+ "type": {
2541
+ "text": "string"
2542
+ },
2543
+ "default": "''"
2544
+ },
2545
+ {
2546
+ "kind": "field",
2547
+ "name": "isInterpreting",
2548
+ "type": {
2549
+ "text": "boolean"
2550
+ },
2551
+ "default": "false"
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "lastValidCriteria",
2556
+ "type": {
2557
+ "text": "string | null"
2624
2558
  },
2625
2559
  "default": "null"
2626
2560
  },
2627
2561
  {
2628
2562
  "kind": "field",
2629
- "name": "open",
2563
+ "name": "activeGroups",
2564
+ "type": {
2565
+ "text": "CriteriaGroup[]"
2566
+ },
2567
+ "default": "[]"
2568
+ },
2569
+ {
2570
+ "kind": "field",
2571
+ "name": "showingChips",
2630
2572
  "type": {
2631
2573
  "text": "boolean"
2632
2574
  },
@@ -2634,15 +2576,15 @@
2634
2576
  },
2635
2577
  {
2636
2578
  "kind": "field",
2637
- "name": "state",
2579
+ "name": "fieldMetadata",
2638
2580
  "type": {
2639
- "text": "AIIndicatorState"
2581
+ "text": "MetadataDetail[] | string[]"
2640
2582
  },
2641
- "default": "'none'"
2583
+ "default": "[]"
2642
2584
  },
2643
2585
  {
2644
2586
  "kind": "field",
2645
- "name": "isInstalling",
2587
+ "name": "isRecording",
2646
2588
  "type": {
2647
2589
  "text": "boolean"
2648
2590
  },
@@ -2650,29 +2592,33 @@
2650
2592
  },
2651
2593
  {
2652
2594
  "kind": "field",
2653
- "name": "pollTimer",
2595
+ "name": "textAreaRef",
2654
2596
  "type": {
2655
- "text": "ReturnType<typeof setInterval> | null"
2597
+ "text": "HTMLTextAreaElement"
2656
2598
  },
2657
- "privacy": "private",
2658
- "default": "null"
2599
+ "privacy": "public"
2659
2600
  },
2660
2601
  {
2661
2602
  "kind": "field",
2662
- "name": "clickOutside",
2663
- "privacy": "private"
2603
+ "name": "stopRecording",
2604
+ "type": {
2605
+ "text": "(() => void) | null"
2606
+ },
2607
+ "privacy": "private",
2608
+ "default": "null"
2664
2609
  },
2665
2610
  {
2666
2611
  "kind": "field",
2667
- "name": "chromeStatusLabel",
2612
+ "name": "speechApplyDebounceTimer",
2668
2613
  "type": {
2669
- "text": "string | null"
2614
+ "text": "ReturnType<typeof setTimeout> | null"
2670
2615
  },
2671
- "readonly": true
2616
+ "privacy": "private",
2617
+ "default": "null"
2672
2618
  },
2673
2619
  {
2674
2620
  "kind": "field",
2675
- "name": "canInstall",
2621
+ "name": "speechAvailable",
2676
2622
  "type": {
2677
2623
  "text": "boolean"
2678
2624
  },
@@ -2680,69 +2626,65 @@
2680
2626
  },
2681
2627
  {
2682
2628
  "kind": "field",
2683
- "name": "isDownloading",
2629
+ "name": "criteriaChips",
2684
2630
  "type": {
2685
- "text": "boolean"
2631
+ "text": "CriteriaChip[]"
2686
2632
  },
2687
2633
  "readonly": true
2688
2634
  },
2689
2635
  {
2690
2636
  "kind": "method",
2691
- "name": "openChanged",
2637
+ "name": "getFieldLabel",
2638
+ "privacy": "private",
2692
2639
  "return": {
2693
2640
  "type": {
2694
- "text": "void"
2641
+ "text": "string"
2695
2642
  }
2696
- }
2697
- },
2698
- {
2699
- "kind": "method",
2700
- "name": "handleClickOutside",
2701
- "privacy": "private",
2643
+ },
2702
2644
  "parameters": [
2703
2645
  {
2704
- "name": "event",
2646
+ "name": "fieldName",
2705
2647
  "type": {
2706
- "text": "MouseEvent"
2648
+ "text": "string"
2707
2649
  }
2708
2650
  }
2709
2651
  ]
2710
2652
  },
2711
2653
  {
2712
2654
  "kind": "method",
2713
- "name": "toggleDropdown"
2714
- },
2715
- {
2716
- "kind": "method",
2717
- "name": "refreshStatus",
2655
+ "name": "toggleCriteriaView",
2718
2656
  "return": {
2719
2657
  "type": {
2720
- "text": "Promise<void>"
2658
+ "text": "void"
2721
2659
  }
2722
2660
  }
2723
2661
  },
2724
2662
  {
2725
2663
  "kind": "method",
2726
- "name": "deriveState",
2727
- "privacy": "private",
2664
+ "name": "removeChip",
2728
2665
  "return": {
2729
2666
  "type": {
2730
- "text": "AIIndicatorState"
2667
+ "text": "void"
2731
2668
  }
2732
2669
  },
2733
2670
  "parameters": [
2734
2671
  {
2735
- "name": "s",
2672
+ "name": "groupIndex",
2736
2673
  "type": {
2737
- "text": "AIStatus | null"
2674
+ "text": "number"
2675
+ }
2676
+ },
2677
+ {
2678
+ "name": "clauseIndex",
2679
+ "type": {
2680
+ "text": "number"
2738
2681
  }
2739
2682
  }
2740
2683
  ]
2741
2684
  },
2742
2685
  {
2743
2686
  "kind": "method",
2744
- "name": "maybeStartPolling",
2745
- "privacy": "private",
2687
+ "name": "clearChips",
2746
2688
  "return": {
2747
2689
  "type": {
2748
2690
  "text": "void"
@@ -2751,32 +2693,24 @@
2751
2693
  },
2752
2694
  {
2753
2695
  "kind": "method",
2754
- "name": "startPolling",
2755
- "privacy": "private",
2756
- "return": {
2757
- "type": {
2758
- "text": "void"
2759
- }
2760
- }
2696
+ "name": "handleSubmit"
2761
2697
  },
2762
2698
  {
2763
2699
  "kind": "method",
2764
- "name": "stopPolling",
2765
- "privacy": "private",
2766
- "return": {
2767
- "type": {
2768
- "text": "void"
2769
- }
2770
- }
2700
+ "name": "handleBlur"
2771
2701
  },
2772
2702
  {
2773
2703
  "kind": "method",
2774
- "name": "onInstall",
2775
- "return": {
2776
- "type": {
2777
- "text": "Promise<void>"
2778
- }
2779
- }
2704
+ "name": "clear"
2705
+ },
2706
+ {
2707
+ "kind": "method",
2708
+ "name": "toggleSpeechInput"
2709
+ },
2710
+ {
2711
+ "kind": "method",
2712
+ "name": "clearSpeechApplyDebounce",
2713
+ "privacy": "private"
2780
2714
  },
2781
2715
  {
2782
2716
  "kind": "field",
@@ -2890,122 +2824,256 @@
2890
2824
  }
2891
2825
  }
2892
2826
  ],
2827
+ "events": [
2828
+ {
2829
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2830
+ "name": "criteria-changed"
2831
+ },
2832
+ {
2833
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2834
+ "name": "validation-errors"
2835
+ }
2836
+ ],
2837
+ "attributes": [
2838
+ {
2839
+ "name": "placeholder",
2840
+ "type": {
2841
+ "text": "string"
2842
+ },
2843
+ "default": "'Describe your search criteria in natural language...'",
2844
+ "fieldName": "placeholder"
2845
+ },
2846
+ {
2847
+ "type": {
2848
+ "text": "boolean"
2849
+ },
2850
+ "fieldName": "disabled"
2851
+ }
2852
+ ],
2893
2853
  "superclass": {
2894
2854
  "name": "FoundationElement",
2895
2855
  "package": "@microsoft/fast-foundation"
2896
2856
  },
2897
- "tagName": "%%prefix%%-ai-indicator",
2857
+ "tagName": "%%prefix%%-ai-criteria-search",
2898
2858
  "customElement": true
2899
2859
  },
2900
2860
  {
2901
2861
  "kind": "variable",
2902
- "name": "foundationAiIndicator"
2862
+ "name": "foundationAiCriteriaSearchShadowOptions",
2863
+ "type": {
2864
+ "text": "ShadowRootInit"
2865
+ },
2866
+ "default": "undefined"
2867
+ },
2868
+ {
2869
+ "kind": "variable",
2870
+ "name": "defaultAiCriteriaSearchConfig",
2871
+ "type": {
2872
+ "text": "object"
2873
+ },
2874
+ "default": "{}"
2875
+ },
2876
+ {
2877
+ "kind": "variable",
2878
+ "name": "foundationAiCriteriaSearch"
2903
2879
  }
2904
2880
  ],
2905
2881
  "exports": [
2906
2882
  {
2907
2883
  "kind": "js",
2908
- "name": "AiIndicator",
2884
+ "name": "AiCriteriaSearch",
2909
2885
  "declaration": {
2910
- "name": "AiIndicator",
2911
- "module": "src/ai-indicator/ai-indicator.ts"
2886
+ "name": "AiCriteriaSearch",
2887
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2912
2888
  }
2913
2889
  },
2914
2890
  {
2915
2891
  "kind": "js",
2916
- "name": "foundationAiIndicator",
2892
+ "name": "foundationAiCriteriaSearchShadowOptions",
2917
2893
  "declaration": {
2918
- "name": "foundationAiIndicator",
2919
- "module": "src/ai-indicator/ai-indicator.ts"
2894
+ "name": "foundationAiCriteriaSearchShadowOptions",
2895
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2896
+ }
2897
+ },
2898
+ {
2899
+ "kind": "js",
2900
+ "name": "defaultAiCriteriaSearchConfig",
2901
+ "declaration": {
2902
+ "name": "defaultAiCriteriaSearchConfig",
2903
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2904
+ }
2905
+ },
2906
+ {
2907
+ "kind": "js",
2908
+ "name": "foundationAiCriteriaSearch",
2909
+ "declaration": {
2910
+ "name": "foundationAiCriteriaSearch",
2911
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2920
2912
  }
2921
2913
  }
2922
2914
  ]
2923
2915
  },
2924
2916
  {
2925
2917
  "kind": "javascript-module",
2926
- "path": "src/ai-indicator/index.ts",
2918
+ "path": "src/ai-criteria-search/index.ts",
2927
2919
  "declarations": [],
2928
2920
  "exports": [
2929
2921
  {
2930
2922
  "kind": "js",
2931
- "name": "AiIndicator",
2923
+ "name": "AiCriteriaSearch",
2932
2924
  "declaration": {
2933
- "name": "AiIndicator",
2934
- "module": "./ai-indicator"
2925
+ "name": "AiCriteriaSearch",
2926
+ "module": "./ai-criteria-search"
2935
2927
  }
2936
2928
  },
2937
2929
  {
2938
2930
  "kind": "js",
2939
- "name": "foundationAiIndicator",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2940
2932
  "declaration": {
2941
- "name": "foundationAiIndicator",
2942
- "module": "./ai-indicator"
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "./ai-criteria-search"
2943
2935
  }
2944
2936
  },
2945
2937
  {
2946
2938
  "kind": "js",
2947
- "name": "type",
2939
+ "name": "foundationAiCriteriaSearch",
2948
2940
  "declaration": {
2949
- "name": "type",
2950
- "module": "./ai-indicator"
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "./ai-criteria-search"
2951
2943
  }
2952
2944
  },
2953
2945
  {
2954
2946
  "kind": "js",
2955
- "name": "AIIndicatorState",
2947
+ "name": "foundationAiCriteriaSearchShadowOptions",
2956
2948
  "declaration": {
2957
- "name": "AIIndicatorState",
2958
- "module": "./ai-indicator"
2949
+ "name": "foundationAiCriteriaSearchShadowOptions",
2950
+ "module": "./ai-criteria-search"
2959
2951
  }
2960
2952
  },
2961
2953
  {
2962
2954
  "kind": "js",
2963
- "name": "foundationAiIndicatorTemplate",
2955
+ "name": "foundationAiCriteriaSearchStyles",
2964
2956
  "declaration": {
2965
- "name": "foundationAiIndicatorTemplate",
2966
- "module": "./ai-indicator.template"
2957
+ "name": "foundationAiCriteriaSearchStyles",
2958
+ "module": "./ai-criteria-search.styles"
2967
2959
  }
2968
2960
  },
2969
2961
  {
2970
2962
  "kind": "js",
2971
- "name": "foundationAiIndicatorStyles",
2963
+ "name": "foundationAiCriteriaSearchTemplate",
2972
2964
  "declaration": {
2973
- "name": "foundationAiIndicatorStyles",
2974
- "module": "./ai-indicator.styles"
2965
+ "name": "foundationAiCriteriaSearchTemplate",
2966
+ "module": "./ai-criteria-search.template"
2967
+ }
2968
+ },
2969
+ {
2970
+ "kind": "js",
2971
+ "name": "*",
2972
+ "declaration": {
2973
+ "name": "*",
2974
+ "package": "./validation/criteria-ir"
2975
+ }
2976
+ },
2977
+ {
2978
+ "kind": "js",
2979
+ "name": "*",
2980
+ "declaration": {
2981
+ "name": "*",
2982
+ "package": "./validation/operator-map"
2983
+ }
2984
+ },
2985
+ {
2986
+ "kind": "js",
2987
+ "name": "*",
2988
+ "declaration": {
2989
+ "name": "*",
2990
+ "package": "./validation/schema-validator"
2975
2991
  }
2976
2992
  }
2977
2993
  ]
2978
2994
  },
2979
2995
  {
2980
2996
  "kind": "javascript-module",
2981
- "path": "src/actions-menu/actions-menu.styles.ts",
2997
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2982
2998
  "declarations": [
2983
2999
  {
2984
3000
  "kind": "function",
2985
- "name": "actionsMenuBaseStyles",
3001
+ "name": "formatValidationErrors",
2986
3002
  "return": {
2987
3003
  "type": {
2988
- "text": "ElementStyles"
3004
+ "text": "string"
2989
3005
  }
2990
3006
  },
2991
3007
  "parameters": [
2992
3008
  {
2993
- "name": "context",
3009
+ "name": "errors",
2994
3010
  "type": {
2995
- "text": "ElementDefinitionContext"
3011
+ "text": "ValidationError[]"
2996
3012
  }
3013
+ }
3014
+ ],
3015
+ "description": "Formats validation errors into a user-friendly message."
3016
+ },
3017
+ {
3018
+ "kind": "function",
3019
+ "name": "showCriteriaError",
3020
+ "return": {
3021
+ "type": {
3022
+ "text": "void"
3023
+ }
3024
+ },
3025
+ "parameters": [
3026
+ {
3027
+ "name": "title",
3028
+ "type": {
3029
+ "text": "string"
3030
+ },
3031
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2997
3032
  },
2998
3033
  {
2999
- "name": "definition",
3034
+ "name": "body",
3000
3035
  "type": {
3001
- "text": "FoundationElementDefinition"
3002
- }
3036
+ "text": "string"
3037
+ },
3038
+ "description": "Error message to display"
3039
+ },
3040
+ {
3041
+ "name": "tagName",
3042
+ "type": {
3043
+ "text": "string"
3044
+ },
3045
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3003
3046
  }
3004
- ]
3047
+ ],
3048
+ "description": "Shows a criteria error as a toast notification."
3049
+ }
3050
+ ],
3051
+ "exports": [
3052
+ {
3053
+ "kind": "js",
3054
+ "name": "formatValidationErrors",
3055
+ "declaration": {
3056
+ "name": "formatValidationErrors",
3057
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3058
+ }
3005
3059
  },
3060
+ {
3061
+ "kind": "js",
3062
+ "name": "showCriteriaError",
3063
+ "declaration": {
3064
+ "name": "showCriteriaError",
3065
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3066
+ }
3067
+ }
3068
+ ]
3069
+ },
3070
+ {
3071
+ "kind": "javascript-module",
3072
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3073
+ "declarations": [
3006
3074
  {
3007
3075
  "kind": "function",
3008
- "name": "foundationActionsMenuStyles",
3076
+ "name": "foundationAiIndicatorStyles",
3009
3077
  "return": {
3010
3078
  "type": {
3011
3079
  "text": "ElementStyles"
@@ -3030,151 +3098,91 @@
3030
3098
  "exports": [
3031
3099
  {
3032
3100
  "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",
3101
+ "name": "foundationAiIndicatorStyles",
3042
3102
  "declaration": {
3043
- "name": "foundationActionsMenuStyles",
3044
- "module": "src/actions-menu/actions-menu.styles.ts"
3103
+ "name": "foundationAiIndicatorStyles",
3104
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3045
3105
  }
3046
3106
  }
3047
3107
  ]
3048
3108
  },
3049
3109
  {
3050
3110
  "kind": "javascript-module",
3051
- "path": "src/actions-menu/actions-menu.template.ts",
3111
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3052
3112
  "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
- },
3077
3113
  {
3078
3114
  "kind": "variable",
3079
- "name": "foundationActionsMenuTemplate",
3115
+ "name": "foundationAiIndicatorTemplate",
3080
3116
  "type": {
3081
- "text": "ViewTemplate<ActionsMenu>"
3117
+ "text": "ViewTemplate<AiIndicator>"
3082
3118
  },
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`"
3119
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3084
3120
  }
3085
3121
  ],
3086
3122
  "exports": [
3087
3123
  {
3088
3124
  "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",
3125
+ "name": "foundationAiIndicatorTemplate",
3106
3126
  "declaration": {
3107
- "name": "foundationActionsMenuTemplate",
3108
- "module": "src/actions-menu/actions-menu.template.ts"
3127
+ "name": "foundationAiIndicatorTemplate",
3128
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3109
3129
  }
3110
3130
  }
3111
3131
  ]
3112
3132
  },
3113
3133
  {
3114
3134
  "kind": "javascript-module",
3115
- "path": "src/actions-menu/actions-menu.ts",
3135
+ "path": "src/ai-indicator/ai-indicator.ts",
3116
3136
  "declarations": [
3117
3137
  {
3118
3138
  "kind": "class",
3119
3139
  "description": "",
3120
- "name": "ActionsMenu",
3140
+ "name": "AiIndicator",
3121
3141
  "members": [
3122
3142
  {
3123
3143
  "kind": "field",
3124
- "name": "actions",
3144
+ "name": "providerRegistry",
3125
3145
  "type": {
3126
- "text": "ActionMenuItem[]"
3146
+ "text": "AIProviderRegistry"
3127
3147
  }
3128
3148
  },
3129
3149
  {
3130
3150
  "kind": "field",
3131
- "name": "isVertical",
3151
+ "name": "aiProvider",
3132
3152
  "type": {
3133
- "text": "boolean"
3153
+ "text": "AIProvider | undefined"
3134
3154
  },
3135
- "default": "false"
3155
+ "privacy": "private",
3156
+ "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.",
3157
+ "readonly": true
3136
3158
  },
3137
3159
  {
3138
3160
  "kind": "field",
3139
- "name": "addDefaultActions",
3161
+ "name": "status",
3140
3162
  "type": {
3141
- "text": "boolean"
3163
+ "text": "AIStatus | null"
3142
3164
  },
3143
- "default": "true"
3165
+ "default": "null"
3144
3166
  },
3145
3167
  {
3146
3168
  "kind": "field",
3147
- "name": "autoCloseOnAction",
3169
+ "name": "open",
3148
3170
  "type": {
3149
3171
  "text": "boolean"
3150
3172
  },
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
- }
3173
+ "default": "false"
3166
3174
  },
3167
3175
  {
3168
3176
  "kind": "field",
3169
- "name": "name",
3177
+ "name": "state",
3170
3178
  "type": {
3171
- "text": "string"
3179
+ "text": "AIIndicatorState"
3172
3180
  },
3173
- "default": "'Actions'"
3181
+ "default": "'none'"
3174
3182
  },
3175
3183
  {
3176
3184
  "kind": "field",
3177
- "name": "open",
3185
+ "name": "isInstalling",
3178
3186
  "type": {
3179
3187
  "text": "boolean"
3180
3188
  },
@@ -3182,129 +3190,133 @@
3182
3190
  },
3183
3191
  {
3184
3192
  "kind": "field",
3185
- "name": "buttonAppearance",
3186
- "type": {
3187
- "text": "string"
3188
- }
3189
- },
3190
- {
3191
- "kind": "field",
3192
- "name": "hideDisabled",
3193
+ "name": "pollTimer",
3193
3194
  "type": {
3194
- "text": "boolean"
3195
+ "text": "ReturnType<typeof setInterval> | null"
3195
3196
  },
3196
- "default": "false"
3197
+ "privacy": "private",
3198
+ "default": "null"
3197
3199
  },
3198
3200
  {
3199
3201
  "kind": "field",
3200
- "name": "hideMenuSingleOption",
3201
- "type": {
3202
- "text": "boolean"
3203
- },
3204
- "default": "false"
3202
+ "name": "clickOutside",
3203
+ "privacy": "private"
3205
3204
  },
3206
3205
  {
3207
3206
  "kind": "field",
3208
- "name": "singleOption",
3207
+ "name": "chromeStatusLabel",
3209
3208
  "type": {
3210
- "text": "ActionMenuItem"
3211
- }
3209
+ "text": "string | null"
3210
+ },
3211
+ "readonly": true
3212
3212
  },
3213
3213
  {
3214
3214
  "kind": "field",
3215
- "name": "actionsMenu",
3215
+ "name": "canInstall",
3216
3216
  "type": {
3217
- "text": "HTMLElement"
3218
- }
3217
+ "text": "boolean"
3218
+ },
3219
+ "readonly": true
3219
3220
  },
3220
3221
  {
3221
3222
  "kind": "field",
3222
- "name": "actionsOpener",
3223
+ "name": "isDownloading",
3223
3224
  "type": {
3224
- "text": "HTMLElement"
3225
- }
3225
+ "text": "boolean"
3226
+ },
3227
+ "readonly": true
3226
3228
  },
3227
3229
  {
3228
3230
  "kind": "method",
3229
- "name": "updateMenuPosition",
3230
- "privacy": "private"
3231
+ "name": "openChanged",
3232
+ "return": {
3233
+ "type": {
3234
+ "text": "void"
3235
+ }
3236
+ }
3231
3237
  },
3232
3238
  {
3233
3239
  "kind": "method",
3234
- "name": "definitionChanged",
3235
- "privacy": "protected",
3240
+ "name": "handleClickOutside",
3241
+ "privacy": "private",
3236
3242
  "parameters": [
3237
3243
  {
3238
- "name": "oldValue",
3239
- "type": {
3240
- "text": "any"
3241
- }
3242
- },
3243
- {
3244
- "name": "newValue",
3244
+ "name": "event",
3245
3245
  "type": {
3246
- "text": "any"
3246
+ "text": "MouseEvent"
3247
3247
  }
3248
3248
  }
3249
3249
  ]
3250
3250
  },
3251
3251
  {
3252
3252
  "kind": "method",
3253
- "name": "openChanged",
3254
- "privacy": "protected"
3253
+ "name": "toggleDropdown"
3255
3254
  },
3256
3255
  {
3257
3256
  "kind": "method",
3258
- "name": "toggleActionsMenuVisibility"
3257
+ "name": "refreshStatus",
3258
+ "return": {
3259
+ "type": {
3260
+ "text": "Promise<void>"
3261
+ }
3262
+ }
3259
3263
  },
3260
3264
  {
3261
3265
  "kind": "method",
3262
- "name": "onActionMenuItemClick",
3266
+ "name": "deriveState",
3267
+ "privacy": "private",
3268
+ "return": {
3269
+ "type": {
3270
+ "text": "AIIndicatorState"
3271
+ }
3272
+ },
3263
3273
  "parameters": [
3264
3274
  {
3265
- "name": "callback",
3275
+ "name": "s",
3266
3276
  "type": {
3267
- "text": "(rowData) => void | any"
3277
+ "text": "AIStatus | null"
3268
3278
  }
3269
3279
  }
3270
3280
  ]
3271
3281
  },
3272
3282
  {
3273
- "kind": "field",
3274
- "name": "allActions",
3275
- "type": {
3276
- "text": "ActionMenuItem[]"
3277
- },
3278
- "readonly": true
3283
+ "kind": "method",
3284
+ "name": "maybeStartPolling",
3285
+ "privacy": "private",
3286
+ "return": {
3287
+ "type": {
3288
+ "text": "void"
3289
+ }
3290
+ }
3279
3291
  },
3280
3292
  {
3281
- "kind": "field",
3282
- "name": "rowData",
3283
- "readonly": true
3293
+ "kind": "method",
3294
+ "name": "startPolling",
3295
+ "privacy": "private",
3296
+ "return": {
3297
+ "type": {
3298
+ "text": "void"
3299
+ }
3300
+ }
3284
3301
  },
3285
3302
  {
3286
3303
  "kind": "method",
3287
- "name": "getLabel",
3288
- "parameters": [
3289
- {
3290
- "name": "name",
3291
- "type": {
3292
- "text": "string | ((rowData: any) => string)"
3293
- }
3304
+ "name": "stopPolling",
3305
+ "privacy": "private",
3306
+ "return": {
3307
+ "type": {
3308
+ "text": "void"
3294
3309
  }
3295
- ]
3310
+ }
3296
3311
  },
3297
3312
  {
3298
3313
  "kind": "method",
3299
- "name": "getTemplate",
3300
- "parameters": [
3301
- {
3302
- "name": "prefix",
3303
- "type": {
3304
- "text": "string"
3305
- }
3314
+ "name": "onInstall",
3315
+ "return": {
3316
+ "type": {
3317
+ "text": "Promise<void>"
3306
3318
  }
3307
- ]
3319
+ }
3308
3320
  },
3309
3321
  {
3310
3322
  "kind": "field",
@@ -3418,107 +3430,95 @@
3418
3430
  }
3419
3431
  }
3420
3432
  ],
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
- },
3477
- {
3478
- "name": "hide-menu-single-option",
3479
- "type": {
3480
- "text": "boolean"
3481
- },
3482
- "default": "false",
3483
- "fieldName": "hideMenuSingleOption"
3484
- }
3485
- ],
3486
3433
  "superclass": {
3487
3434
  "name": "FoundationElement",
3488
3435
  "package": "@microsoft/fast-foundation"
3489
3436
  },
3490
- "tagName": "%%prefix%%-actions-menu",
3437
+ "tagName": "%%prefix%%-ai-indicator",
3491
3438
  "customElement": true
3492
3439
  },
3493
3440
  {
3494
3441
  "kind": "variable",
3495
- "name": "foundationActionsMenu",
3496
- "description": "The Foundation Actions Menu",
3497
- "privacy": "public"
3442
+ "name": "foundationAiIndicator"
3498
3443
  }
3499
3444
  ],
3500
3445
  "exports": [
3501
3446
  {
3502
3447
  "kind": "js",
3503
- "name": "ActionsMenu",
3448
+ "name": "AiIndicator",
3504
3449
  "declaration": {
3505
- "name": "ActionsMenu",
3506
- "module": "src/actions-menu/actions-menu.ts"
3450
+ "name": "AiIndicator",
3451
+ "module": "src/ai-indicator/ai-indicator.ts"
3507
3452
  }
3508
3453
  },
3509
3454
  {
3510
3455
  "kind": "js",
3511
- "name": "foundationActionsMenu",
3456
+ "name": "foundationAiIndicator",
3512
3457
  "declaration": {
3513
- "name": "foundationActionsMenu",
3514
- "module": "src/actions-menu/actions-menu.ts"
3458
+ "name": "foundationAiIndicator",
3459
+ "module": "src/ai-indicator/ai-indicator.ts"
3515
3460
  }
3516
3461
  }
3517
3462
  ]
3518
3463
  },
3519
3464
  {
3520
3465
  "kind": "javascript-module",
3521
- "path": "src/actions-menu/index.ts",
3466
+ "path": "src/ai-indicator/index.ts",
3467
+ "declarations": [],
3468
+ "exports": [
3469
+ {
3470
+ "kind": "js",
3471
+ "name": "AiIndicator",
3472
+ "declaration": {
3473
+ "name": "AiIndicator",
3474
+ "module": "./ai-indicator"
3475
+ }
3476
+ },
3477
+ {
3478
+ "kind": "js",
3479
+ "name": "foundationAiIndicator",
3480
+ "declaration": {
3481
+ "name": "foundationAiIndicator",
3482
+ "module": "./ai-indicator"
3483
+ }
3484
+ },
3485
+ {
3486
+ "kind": "js",
3487
+ "name": "type",
3488
+ "declaration": {
3489
+ "name": "type",
3490
+ "module": "./ai-indicator"
3491
+ }
3492
+ },
3493
+ {
3494
+ "kind": "js",
3495
+ "name": "AIIndicatorState",
3496
+ "declaration": {
3497
+ "name": "AIIndicatorState",
3498
+ "module": "./ai-indicator"
3499
+ }
3500
+ },
3501
+ {
3502
+ "kind": "js",
3503
+ "name": "foundationAiIndicatorTemplate",
3504
+ "declaration": {
3505
+ "name": "foundationAiIndicatorTemplate",
3506
+ "module": "./ai-indicator.template"
3507
+ }
3508
+ },
3509
+ {
3510
+ "kind": "js",
3511
+ "name": "foundationAiIndicatorStyles",
3512
+ "declaration": {
3513
+ "name": "foundationAiIndicatorStyles",
3514
+ "module": "./ai-indicator.styles"
3515
+ }
3516
+ }
3517
+ ]
3518
+ },
3519
+ {
3520
+ "kind": "javascript-module",
3521
+ "path": "src/_config/index.ts",
3522
3522
  "declarations": [],
3523
3523
  "exports": [
3524
3524
  {
@@ -3526,7 +3526,7 @@
3526
3526
  "name": "*",
3527
3527
  "declaration": {
3528
3528
  "name": "*",
3529
- "package": "./actions-menu.styles"
3529
+ "package": "./styles"
3530
3530
  }
3531
3531
  },
3532
3532
  {
@@ -3534,7 +3534,7 @@
3534
3534
  "name": "*",
3535
3535
  "declaration": {
3536
3536
  "name": "*",
3537
- "package": "./actions-menu.template"
3537
+ "package": "./tokens"
3538
3538
  }
3539
3539
  },
3540
3540
  {
@@ -3542,7 +3542,7 @@
3542
3542
  "name": "*",
3543
3543
  "declaration": {
3544
3544
  "name": "*",
3545
- "package": "./actions-menu"
3545
+ "package": "./values"
3546
3546
  }
3547
3547
  }
3548
3548
  ]
@@ -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",
@@ -60093,6 +60120,197 @@
60093
60120
  }
60094
60121
  ]
60095
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
+ },
60096
60314
  {
60097
60315
  "kind": "javascript-module",
60098
60316
  "path": "src/_config/styles/colors.ts",
@@ -61465,197 +61683,6 @@
61465
61683
  "declarations": [],
61466
61684
  "exports": []
61467
61685
  },
61468
- {
61469
- "kind": "javascript-module",
61470
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61471
- "declarations": [],
61472
- "exports": []
61473
- },
61474
- {
61475
- "kind": "javascript-module",
61476
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61477
- "declarations": [
61478
- {
61479
- "kind": "function",
61480
- "name": "groupsToCriteria",
61481
- "return": {
61482
- "type": {
61483
- "text": "string"
61484
- }
61485
- },
61486
- "parameters": [
61487
- {
61488
- "name": "groups",
61489
- "type": {
61490
- "text": "CriteriaGroup[]"
61491
- }
61492
- }
61493
- ],
61494
- "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."
61495
- },
61496
- {
61497
- "kind": "variable",
61498
- "name": "STRING_OPERATORS",
61499
- "type": {
61500
- "text": "CriteriaOperator[]"
61501
- },
61502
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61503
- },
61504
- {
61505
- "kind": "variable",
61506
- "name": "NUMERIC_OPERATORS",
61507
- "type": {
61508
- "text": "CriteriaOperator[]"
61509
- },
61510
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61511
- },
61512
- {
61513
- "kind": "variable",
61514
- "name": "DATE_OPERATORS",
61515
- "type": {
61516
- "text": "CriteriaOperator[]"
61517
- },
61518
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61519
- },
61520
- {
61521
- "kind": "variable",
61522
- "name": "DATETIME_OPERATORS",
61523
- "type": {
61524
- "text": "CriteriaOperator[]"
61525
- },
61526
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61527
- },
61528
- {
61529
- "kind": "variable",
61530
- "name": "OPERATOR_DISPLAY_LABEL",
61531
- "type": {
61532
- "text": "Record<CriteriaOperator, string>"
61533
- },
61534
- "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}"
61535
- }
61536
- ],
61537
- "exports": [
61538
- {
61539
- "kind": "js",
61540
- "name": "groupsToCriteria",
61541
- "declaration": {
61542
- "name": "groupsToCriteria",
61543
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61544
- }
61545
- },
61546
- {
61547
- "kind": "js",
61548
- "name": "STRING_OPERATORS",
61549
- "declaration": {
61550
- "name": "STRING_OPERATORS",
61551
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61552
- }
61553
- },
61554
- {
61555
- "kind": "js",
61556
- "name": "NUMERIC_OPERATORS",
61557
- "declaration": {
61558
- "name": "NUMERIC_OPERATORS",
61559
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61560
- }
61561
- },
61562
- {
61563
- "kind": "js",
61564
- "name": "DATE_OPERATORS",
61565
- "declaration": {
61566
- "name": "DATE_OPERATORS",
61567
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61568
- }
61569
- },
61570
- {
61571
- "kind": "js",
61572
- "name": "DATETIME_OPERATORS",
61573
- "declaration": {
61574
- "name": "DATETIME_OPERATORS",
61575
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61576
- }
61577
- },
61578
- {
61579
- "kind": "js",
61580
- "name": "OPERATOR_DISPLAY_LABEL",
61581
- "declaration": {
61582
- "name": "OPERATOR_DISPLAY_LABEL",
61583
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61584
- }
61585
- }
61586
- ]
61587
- },
61588
- {
61589
- "kind": "javascript-module",
61590
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61591
- "declarations": [
61592
- {
61593
- "kind": "function",
61594
- "name": "validateClauses",
61595
- "return": {
61596
- "type": {
61597
- "text": "ValidationResult"
61598
- }
61599
- },
61600
- "parameters": [
61601
- {
61602
- "name": "clauses",
61603
- "type": {
61604
- "text": "CriteriaClause[]"
61605
- }
61606
- },
61607
- {
61608
- "name": "fieldMetadata",
61609
- "type": {
61610
- "text": "MetadataDetail[] | string[]"
61611
- }
61612
- }
61613
- ]
61614
- },
61615
- {
61616
- "kind": "function",
61617
- "name": "validateGroups",
61618
- "return": {
61619
- "type": {
61620
- "text": "GroupsValidationResult"
61621
- }
61622
- },
61623
- "parameters": [
61624
- {
61625
- "name": "groups",
61626
- "type": {
61627
- "text": "CriteriaGroup[]"
61628
- }
61629
- },
61630
- {
61631
- "name": "fieldMetadata",
61632
- "type": {
61633
- "text": "MetadataDetail[] | string[]"
61634
- }
61635
- }
61636
- ],
61637
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61638
- }
61639
- ],
61640
- "exports": [
61641
- {
61642
- "kind": "js",
61643
- "name": "validateClauses",
61644
- "declaration": {
61645
- "name": "validateClauses",
61646
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61647
- }
61648
- },
61649
- {
61650
- "kind": "js",
61651
- "name": "validateGroups",
61652
- "declaration": {
61653
- "name": "validateGroups",
61654
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61655
- }
61656
- }
61657
- ]
61658
- },
61659
61686
  {
61660
61687
  "kind": "javascript-module",
61661
61688
  "path": "src/environment-indicator/utils/configure.ts",