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