@genesislcap/foundation-ui 15.49.0 → 15.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,6 +1493,37 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1496
1527
  {
1497
1528
  "kind": "javascript-module",
1498
1529
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1889,11 +1920,34 @@
1889
1920
  },
1890
1921
  {
1891
1922
  "kind": "javascript-module",
1892
- "path": "src/accordion/accordion.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1893
1924
  "declarations": [
1894
1925
  {
1895
1926
  "kind": "function",
1896
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
+ "return": {
1929
+ "type": {
1930
+ "text": "ElementStyles"
1931
+ }
1932
+ },
1933
+ "parameters": [
1934
+ {
1935
+ "name": "context",
1936
+ "type": {
1937
+ "text": "ElementDefinitionContext"
1938
+ }
1939
+ },
1940
+ {
1941
+ "name": "definition",
1942
+ "type": {
1943
+ "text": "FoundationElementDefinition"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "kind": "function",
1950
+ "name": "foundationActionsMenuStyles",
1897
1951
  "return": {
1898
1952
  "type": {
1899
1953
  "text": "ElementStyles"
@@ -1918,277 +1972,281 @@
1918
1972
  "exports": [
1919
1973
  {
1920
1974
  "kind": "js",
1921
- "name": "foundationAccordionStyles",
1975
+ "name": "actionsMenuBaseStyles",
1922
1976
  "declaration": {
1923
- "name": "foundationAccordionStyles",
1924
- "module": "src/accordion/accordion.styles.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1925
1987
  }
1926
1988
  }
1927
1989
  ]
1928
1990
  },
1929
1991
  {
1930
1992
  "kind": "javascript-module",
1931
- "path": "src/accordion/accordion.template.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1932
1994
  "declarations": [
1933
1995
  {
1934
1996
  "kind": "function",
1935
- "name": "foundationAccordionTemplate",
1936
- "return": {
1937
- "type": {
1938
- "text": "ViewTemplate<Accordion>"
1939
- }
1940
- },
1997
+ "name": "menuTemplate",
1941
1998
  "parameters": [
1942
1999
  {
1943
- "name": "context",
2000
+ "name": "prefix",
1944
2001
  "type": {
1945
- "text": "ElementDefinitionContext"
2002
+ "text": "string"
1946
2003
  }
1947
- },
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "singleOptionTemplate",
2010
+ "parameters": [
1948
2011
  {
1949
- "name": "definition",
2012
+ "name": "prefix",
1950
2013
  "type": {
1951
- "text": "FoundationElementDefinition"
2014
+ "text": "string"
1952
2015
  }
1953
2016
  }
1954
2017
  ]
2018
+ },
2019
+ {
2020
+ "kind": "variable",
2021
+ "name": "foundationActionsMenuTemplate",
2022
+ "type": {
2023
+ "text": "ViewTemplate<ActionsMenu>"
2024
+ },
2025
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1955
2026
  }
1956
2027
  ],
1957
2028
  "exports": [
1958
2029
  {
1959
2030
  "kind": "js",
1960
- "name": "foundationAccordionTemplate",
2031
+ "name": "menuTemplate",
1961
2032
  "declaration": {
1962
- "name": "foundationAccordionTemplate",
1963
- "module": "src/accordion/accordion.template.ts"
2033
+ "name": "menuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ },
2037
+ {
2038
+ "kind": "js",
2039
+ "name": "singleOptionTemplate",
2040
+ "declaration": {
2041
+ "name": "singleOptionTemplate",
2042
+ "module": "src/actions-menu/actions-menu.template.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "foundationActionsMenuTemplate",
2048
+ "declaration": {
2049
+ "name": "foundationActionsMenuTemplate",
2050
+ "module": "src/actions-menu/actions-menu.template.ts"
1964
2051
  }
1965
2052
  }
1966
2053
  ]
1967
2054
  },
1968
2055
  {
1969
2056
  "kind": "javascript-module",
1970
- "path": "src/accordion/accordion.ts",
2057
+ "path": "src/actions-menu/actions-menu.ts",
1971
2058
  "declarations": [
1972
2059
  {
1973
2060
  "kind": "class",
1974
2061
  "description": "",
1975
- "name": "Accordion",
1976
- "superclass": {
1977
- "name": "FASTAccordion",
1978
- "package": "@microsoft/fast-foundation"
1979
- },
1980
- "tagName": "%%prefix%%-accordion",
1981
- "customElement": true,
1982
- "attributes": [
2062
+ "name": "ActionsMenu",
2063
+ "members": [
1983
2064
  {
1984
- "name": "expand-mode",
2065
+ "kind": "field",
2066
+ "name": "actions",
1985
2067
  "type": {
1986
- "text": "AccordionExpandMode"
1987
- },
1988
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1989
- "fieldName": "expandmode",
1990
- "inheritedFrom": {
1991
- "name": "Accordion",
1992
- "module": "src/accordion/accordion.ts"
2068
+ "text": "ActionMenuItem[]"
1993
2069
  }
1994
- }
1995
- ],
1996
- "members": [
2070
+ },
1997
2071
  {
1998
2072
  "kind": "field",
1999
- "name": "expandmode",
2073
+ "name": "isVertical",
2000
2074
  "type": {
2001
- "text": "AccordionExpandMode"
2075
+ "text": "boolean"
2002
2076
  },
2003
- "privacy": "public",
2004
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2005
- "inheritedFrom": {
2006
- "name": "Accordion",
2007
- "module": "src/accordion/accordion.ts"
2008
- }
2077
+ "default": "false"
2009
2078
  },
2010
2079
  {
2011
2080
  "kind": "field",
2012
- "name": "activeid",
2081
+ "name": "addDefaultActions",
2013
2082
  "type": {
2014
- "text": "string | null"
2083
+ "text": "boolean"
2015
2084
  },
2016
- "privacy": "private",
2017
- "inheritedFrom": {
2018
- "name": "Accordion",
2019
- "module": "src/accordion/accordion.ts"
2020
- }
2085
+ "default": "true"
2021
2086
  },
2022
2087
  {
2023
2088
  "kind": "field",
2024
- "name": "activeItemIndex",
2089
+ "name": "autoCloseOnAction",
2025
2090
  "type": {
2026
- "text": "number"
2091
+ "text": "boolean"
2027
2092
  },
2028
- "privacy": "private",
2029
- "default": "0",
2030
- "inheritedFrom": {
2031
- "name": "Accordion",
2032
- "module": "src/accordion/accordion.ts"
2033
- }
2093
+ "default": "true"
2034
2094
  },
2035
2095
  {
2036
2096
  "kind": "field",
2037
- "name": "accordionIds",
2097
+ "name": "classNames",
2038
2098
  "type": {
2039
- "text": "Array<string | null>"
2040
- },
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2099
+ "text": "string"
2045
2100
  }
2046
2101
  },
2047
2102
  {
2048
2103
  "kind": "field",
2049
- "name": "change",
2050
- "privacy": "private",
2051
- "inheritedFrom": {
2052
- "name": "Accordion",
2053
- "module": "src/accordion/accordion.ts"
2104
+ "name": "definition",
2105
+ "type": {
2106
+ "text": "any"
2054
2107
  }
2055
2108
  },
2056
2109
  {
2057
- "kind": "method",
2058
- "name": "findExpandedItem",
2059
- "privacy": "private",
2060
- "return": {
2061
- "type": {
2062
- "text": "AccordionItem | null"
2063
- }
2110
+ "kind": "field",
2111
+ "name": "name",
2112
+ "type": {
2113
+ "text": "string"
2064
2114
  },
2065
- "inheritedFrom": {
2066
- "name": "Accordion",
2067
- "module": "src/accordion/accordion.ts"
2068
- }
2115
+ "default": "'Actions'"
2069
2116
  },
2070
2117
  {
2071
2118
  "kind": "field",
2072
- "name": "setItems",
2073
- "privacy": "private",
2074
- "inheritedFrom": {
2075
- "name": "Accordion",
2076
- "module": "src/accordion/accordion.ts"
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2077
2130
  }
2078
2131
  },
2079
2132
  {
2080
- "kind": "method",
2081
- "name": "resetItems",
2082
- "privacy": "private",
2083
- "return": {
2084
- "type": {
2085
- "text": "void"
2086
- }
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2087
2137
  },
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2091
2153
  }
2092
2154
  },
2093
2155
  {
2094
2156
  "kind": "field",
2095
- "name": "removeItemListeners",
2096
- "privacy": "private",
2097
- "inheritedFrom": {
2098
- "name": "Accordion",
2099
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2100
2160
  }
2101
2161
  },
2102
2162
  {
2103
2163
  "kind": "field",
2104
- "name": "activeItemChange",
2105
- "privacy": "private",
2106
- "inheritedFrom": {
2107
- "name": "Accordion",
2108
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2109
2167
  }
2110
2168
  },
2111
2169
  {
2112
2170
  "kind": "method",
2113
- "name": "getItemIds",
2114
- "privacy": "private",
2115
- "return": {
2116
- "type": {
2117
- "text": "Array<string | null>"
2171
+ "name": "updateMenuPosition",
2172
+ "privacy": "private"
2173
+ },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "definitionChanged",
2177
+ "privacy": "protected",
2178
+ "parameters": [
2179
+ {
2180
+ "name": "oldValue",
2181
+ "type": {
2182
+ "text": "any"
2183
+ }
2184
+ },
2185
+ {
2186
+ "name": "newValue",
2187
+ "type": {
2188
+ "text": "any"
2189
+ }
2118
2190
  }
2119
- },
2120
- "inheritedFrom": {
2121
- "name": "Accordion",
2122
- "module": "src/accordion/accordion.ts"
2123
- }
2191
+ ]
2124
2192
  },
2125
2193
  {
2126
2194
  "kind": "method",
2127
- "name": "isSingleExpandMode",
2128
- "privacy": "private",
2129
- "return": {
2130
- "type": {
2131
- "text": "boolean"
2195
+ "name": "openChanged",
2196
+ "privacy": "protected"
2197
+ },
2198
+ {
2199
+ "kind": "method",
2200
+ "name": "toggleActionsMenuVisibility"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "onActionMenuItemClick",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "callback",
2208
+ "type": {
2209
+ "text": "(rowData) => void | any"
2210
+ }
2132
2211
  }
2133
- },
2134
- "inheritedFrom": {
2135
- "name": "Accordion",
2136
- "module": "src/accordion/accordion.ts"
2137
- }
2212
+ ]
2138
2213
  },
2139
2214
  {
2140
2215
  "kind": "field",
2141
- "name": "handleItemKeyDown",
2142
- "privacy": "private",
2143
- "inheritedFrom": {
2144
- "name": "Accordion",
2145
- "module": "src/accordion/accordion.ts"
2146
- }
2216
+ "name": "allActions",
2217
+ "type": {
2218
+ "text": "ActionMenuItem[]"
2219
+ },
2220
+ "readonly": true
2147
2221
  },
2148
2222
  {
2149
2223
  "kind": "field",
2150
- "name": "handleItemFocus",
2151
- "privacy": "private",
2152
- "inheritedFrom": {
2153
- "name": "Accordion",
2154
- "module": "src/accordion/accordion.ts"
2155
- }
2224
+ "name": "rowData",
2225
+ "readonly": true
2156
2226
  },
2157
2227
  {
2158
2228
  "kind": "method",
2159
- "name": "adjust",
2160
- "privacy": "private",
2161
- "return": {
2162
- "type": {
2163
- "text": "void"
2164
- }
2165
- },
2229
+ "name": "getLabel",
2166
2230
  "parameters": [
2167
2231
  {
2168
- "name": "adjustment",
2232
+ "name": "name",
2169
2233
  "type": {
2170
- "text": "number"
2234
+ "text": "string | ((rowData: any) => string)"
2171
2235
  }
2172
2236
  }
2173
- ],
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2237
+ ]
2178
2238
  },
2179
2239
  {
2180
2240
  "kind": "method",
2181
- "name": "focusItem",
2182
- "privacy": "private",
2183
- "return": {
2184
- "type": {
2185
- "text": "void"
2241
+ "name": "getTemplate",
2242
+ "parameters": [
2243
+ {
2244
+ "name": "prefix",
2245
+ "type": {
2246
+ "text": "string"
2247
+ }
2186
2248
  }
2187
- },
2188
- "inheritedFrom": {
2189
- "name": "Accordion",
2190
- "module": "src/accordion/accordion.ts"
2191
- }
2249
+ ]
2192
2250
  },
2193
2251
  {
2194
2252
  "kind": "field",
@@ -2302,78 +2360,107 @@
2302
2360
  }
2303
2361
  }
2304
2362
  ],
2305
- "events": [
2363
+ "attributes": [
2306
2364
  {
2307
- "description": "Fires a custom 'change' event when the active item changes",
2308
- "name": "change",
2309
- "inheritedFrom": {
2310
- "name": "Accordion",
2311
- "module": "src/accordion/accordion.ts"
2312
- }
2365
+ "name": "is-vertical",
2366
+ "type": {
2367
+ "text": "boolean"
2368
+ },
2369
+ "default": "false",
2370
+ "fieldName": "isVertical"
2371
+ },
2372
+ {
2373
+ "name": "add-default-actions",
2374
+ "type": {
2375
+ "text": "boolean"
2376
+ },
2377
+ "default": "true",
2378
+ "fieldName": "addDefaultActions"
2379
+ },
2380
+ {
2381
+ "name": "auto-close-on-action",
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "true",
2386
+ "fieldName": "autoCloseOnAction"
2387
+ },
2388
+ {
2389
+ "name": "name",
2390
+ "type": {
2391
+ "text": "string"
2392
+ },
2393
+ "default": "'Actions'",
2394
+ "fieldName": "name"
2395
+ },
2396
+ {
2397
+ "name": "open",
2398
+ "type": {
2399
+ "text": "boolean"
2400
+ },
2401
+ "default": "false",
2402
+ "fieldName": "open"
2403
+ },
2404
+ {
2405
+ "name": "buttonAppearance",
2406
+ "type": {
2407
+ "text": "string"
2408
+ },
2409
+ "fieldName": "buttonAppearance"
2410
+ },
2411
+ {
2412
+ "name": "hide-disabled",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "false",
2417
+ "fieldName": "hideDisabled"
2418
+ },
2419
+ {
2420
+ "name": "hide-menu-single-option",
2421
+ "type": {
2422
+ "text": "boolean"
2423
+ },
2424
+ "default": "false",
2425
+ "fieldName": "hideMenuSingleOption"
2313
2426
  }
2314
- ]
2315
- },
2316
- {
2317
- "kind": "variable",
2318
- "name": "foundationAccordionShadowOptions",
2319
- "type": {
2320
- "text": "ShadowRootInit"
2321
- },
2322
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2323
- },
2324
- {
2325
- "kind": "variable",
2326
- "name": "defaultAccordionConfig",
2327
- "type": {
2328
- "text": "object"
2427
+ ],
2428
+ "superclass": {
2429
+ "name": "FoundationElement",
2430
+ "package": "@microsoft/fast-foundation"
2329
2431
  },
2330
- "default": "{}"
2432
+ "tagName": "%%prefix%%-actions-menu",
2433
+ "customElement": true
2331
2434
  },
2332
2435
  {
2333
2436
  "kind": "variable",
2334
- "name": "foundationAccordion",
2335
- "description": "The Foundation Accordion",
2437
+ "name": "foundationActionsMenu",
2438
+ "description": "The Foundation Actions Menu",
2336
2439
  "privacy": "public"
2337
2440
  }
2338
2441
  ],
2339
2442
  "exports": [
2340
2443
  {
2341
2444
  "kind": "js",
2342
- "name": "Accordion",
2343
- "declaration": {
2344
- "name": "Accordion",
2345
- "module": "src/accordion/accordion.ts"
2346
- }
2347
- },
2348
- {
2349
- "kind": "js",
2350
- "name": "foundationAccordionShadowOptions",
2351
- "declaration": {
2352
- "name": "foundationAccordionShadowOptions",
2353
- "module": "src/accordion/accordion.ts"
2354
- }
2355
- },
2356
- {
2357
- "kind": "js",
2358
- "name": "defaultAccordionConfig",
2445
+ "name": "ActionsMenu",
2359
2446
  "declaration": {
2360
- "name": "defaultAccordionConfig",
2361
- "module": "src/accordion/accordion.ts"
2447
+ "name": "ActionsMenu",
2448
+ "module": "src/actions-menu/actions-menu.ts"
2362
2449
  }
2363
2450
  },
2364
2451
  {
2365
2452
  "kind": "js",
2366
- "name": "foundationAccordion",
2453
+ "name": "foundationActionsMenu",
2367
2454
  "declaration": {
2368
- "name": "foundationAccordion",
2369
- "module": "src/accordion/accordion.ts"
2455
+ "name": "foundationActionsMenu",
2456
+ "module": "src/actions-menu/actions-menu.ts"
2370
2457
  }
2371
2458
  }
2372
2459
  ]
2373
2460
  },
2374
2461
  {
2375
2462
  "kind": "javascript-module",
2376
- "path": "src/accordion/index.ts",
2463
+ "path": "src/actions-menu/index.ts",
2377
2464
  "declarations": [],
2378
2465
  "exports": [
2379
2466
  {
@@ -2381,7 +2468,7 @@
2381
2468
  "name": "*",
2382
2469
  "declaration": {
2383
2470
  "name": "*",
2384
- "package": "./accordion.template"
2471
+ "package": "./actions-menu.styles"
2385
2472
  }
2386
2473
  },
2387
2474
  {
@@ -2389,7 +2476,7 @@
2389
2476
  "name": "*",
2390
2477
  "declaration": {
2391
2478
  "name": "*",
2392
- "package": "./accordion.styles"
2479
+ "package": "./actions-menu.template"
2393
2480
  }
2394
2481
  },
2395
2482
  {
@@ -2397,210 +2484,122 @@
2397
2484
  "name": "*",
2398
2485
  "declaration": {
2399
2486
  "name": "*",
2400
- "package": "./accordion"
2487
+ "package": "./actions-menu"
2401
2488
  }
2402
2489
  }
2403
2490
  ]
2404
2491
  },
2405
2492
  {
2406
2493
  "kind": "javascript-module",
2407
- "path": "src/actions-menu/actions-menu.styles.ts",
2494
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2408
2495
  "declarations": [
2409
2496
  {
2410
- "kind": "function",
2411
- "name": "actionsMenuBaseStyles",
2412
- "return": {
2413
- "type": {
2414
- "text": "ElementStyles"
2415
- }
2416
- },
2417
- "parameters": [
2418
- {
2419
- "name": "context",
2420
- "type": {
2421
- "text": "ElementDefinitionContext"
2422
- }
2423
- },
2424
- {
2425
- "name": "definition",
2426
- "type": {
2427
- "text": "FoundationElementDefinition"
2428
- }
2429
- }
2430
- ]
2431
- },
2432
- {
2433
- "kind": "function",
2434
- "name": "foundationActionsMenuStyles",
2435
- "return": {
2436
- "type": {
2437
- "text": "ElementStyles"
2438
- }
2439
- },
2440
- "parameters": [
2441
- {
2442
- "name": "context",
2443
- "type": {
2444
- "text": "ElementDefinitionContext"
2445
- }
2446
- },
2447
- {
2448
- "name": "definition",
2449
- "type": {
2450
- "text": "FoundationElementDefinition"
2451
- }
2452
- }
2453
- ]
2497
+ "kind": "variable",
2498
+ "name": "foundationAiCriteriaSearchStyles",
2499
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2454
2500
  }
2455
2501
  ],
2456
2502
  "exports": [
2457
2503
  {
2458
2504
  "kind": "js",
2459
- "name": "actionsMenuBaseStyles",
2460
- "declaration": {
2461
- "name": "actionsMenuBaseStyles",
2462
- "module": "src/actions-menu/actions-menu.styles.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuStyles",
2505
+ "name": "foundationAiCriteriaSearchStyles",
2468
2506
  "declaration": {
2469
- "name": "foundationActionsMenuStyles",
2470
- "module": "src/actions-menu/actions-menu.styles.ts"
2507
+ "name": "foundationAiCriteriaSearchStyles",
2508
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2471
2509
  }
2472
2510
  }
2473
2511
  ]
2474
2512
  },
2475
2513
  {
2476
2514
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.template.ts",
2515
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2478
2516
  "declarations": [
2479
- {
2480
- "kind": "function",
2481
- "name": "menuTemplate",
2482
- "parameters": [
2483
- {
2484
- "name": "prefix",
2485
- "type": {
2486
- "text": "string"
2487
- }
2488
- }
2489
- ]
2490
- },
2491
- {
2492
- "kind": "function",
2493
- "name": "singleOptionTemplate",
2494
- "parameters": [
2495
- {
2496
- "name": "prefix",
2497
- "type": {
2498
- "text": "string"
2499
- }
2500
- }
2501
- ]
2502
- },
2503
2517
  {
2504
2518
  "kind": "variable",
2505
- "name": "foundationActionsMenuTemplate",
2519
+ "name": "foundationAiCriteriaSearchTemplate",
2506
2520
  "type": {
2507
- "text": "ViewTemplate<ActionsMenu>"
2521
+ "text": "ViewTemplate<AiCriteriaSearch>"
2508
2522
  },
2509
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2523
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2510
2524
  }
2511
2525
  ],
2512
2526
  "exports": [
2513
2527
  {
2514
2528
  "kind": "js",
2515
- "name": "menuTemplate",
2516
- "declaration": {
2517
- "name": "menuTemplate",
2518
- "module": "src/actions-menu/actions-menu.template.ts"
2519
- }
2520
- },
2521
- {
2522
- "kind": "js",
2523
- "name": "singleOptionTemplate",
2524
- "declaration": {
2525
- "name": "singleOptionTemplate",
2526
- "module": "src/actions-menu/actions-menu.template.ts"
2527
- }
2528
- },
2529
- {
2530
- "kind": "js",
2531
- "name": "foundationActionsMenuTemplate",
2529
+ "name": "foundationAiCriteriaSearchTemplate",
2532
2530
  "declaration": {
2533
- "name": "foundationActionsMenuTemplate",
2534
- "module": "src/actions-menu/actions-menu.template.ts"
2531
+ "name": "foundationAiCriteriaSearchTemplate",
2532
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2535
2533
  }
2536
2534
  }
2537
2535
  ]
2538
2536
  },
2539
2537
  {
2540
2538
  "kind": "javascript-module",
2541
- "path": "src/actions-menu/actions-menu.ts",
2539
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2542
2540
  "declarations": [
2543
2541
  {
2544
2542
  "kind": "class",
2545
- "description": "",
2546
- "name": "ActionsMenu",
2543
+ "description": "Natural-language criteria search input with AI interpretation.",
2544
+ "name": "AiCriteriaSearch",
2547
2545
  "members": [
2548
2546
  {
2549
2547
  "kind": "field",
2550
- "name": "actions",
2548
+ "name": "providerRegistry",
2551
2549
  "type": {
2552
- "text": "ActionMenuItem[]"
2550
+ "text": "AIProviderRegistry"
2553
2551
  }
2554
2552
  },
2555
2553
  {
2556
2554
  "kind": "field",
2557
- "name": "isVertical",
2555
+ "name": "placeholder",
2558
2556
  "type": {
2559
- "text": "boolean"
2557
+ "text": "string"
2560
2558
  },
2561
- "default": "false"
2559
+ "default": "'Describe your search criteria in natural language...'"
2562
2560
  },
2563
2561
  {
2564
2562
  "kind": "field",
2565
- "name": "addDefaultActions",
2563
+ "name": "disabled",
2566
2564
  "type": {
2567
2565
  "text": "boolean"
2568
- },
2569
- "default": "true"
2566
+ }
2570
2567
  },
2571
2568
  {
2572
2569
  "kind": "field",
2573
- "name": "autoCloseOnAction",
2570
+ "name": "inputValue",
2574
2571
  "type": {
2575
- "text": "boolean"
2572
+ "text": "string"
2576
2573
  },
2577
- "default": "true"
2574
+ "default": "''"
2578
2575
  },
2579
2576
  {
2580
2577
  "kind": "field",
2581
- "name": "classNames",
2578
+ "name": "isInterpreting",
2582
2579
  "type": {
2583
- "text": "string"
2584
- }
2580
+ "text": "boolean"
2581
+ },
2582
+ "default": "false"
2585
2583
  },
2586
2584
  {
2587
2585
  "kind": "field",
2588
- "name": "definition",
2586
+ "name": "lastValidCriteria",
2589
2587
  "type": {
2590
- "text": "any"
2591
- }
2588
+ "text": "string | null"
2589
+ },
2590
+ "default": "null"
2592
2591
  },
2593
2592
  {
2594
2593
  "kind": "field",
2595
- "name": "name",
2594
+ "name": "activeGroups",
2596
2595
  "type": {
2597
- "text": "string"
2596
+ "text": "CriteriaGroup[]"
2598
2597
  },
2599
- "default": "'Actions'"
2598
+ "default": "[]"
2600
2599
  },
2601
2600
  {
2602
2601
  "kind": "field",
2603
- "name": "open",
2602
+ "name": "showingChips",
2604
2603
  "type": {
2605
2604
  "text": "boolean"
2606
2605
  },
@@ -2608,14 +2607,15 @@
2608
2607
  },
2609
2608
  {
2610
2609
  "kind": "field",
2611
- "name": "buttonAppearance",
2610
+ "name": "fieldMetadata",
2612
2611
  "type": {
2613
- "text": "string"
2614
- }
2612
+ "text": "MetadataDetail[] | string[]"
2613
+ },
2614
+ "default": "[]"
2615
2615
  },
2616
2616
  {
2617
2617
  "kind": "field",
2618
- "name": "hideDisabled",
2618
+ "name": "isRecording",
2619
2619
  "type": {
2620
2620
  "text": "boolean"
2621
2621
  },
@@ -2623,114 +2623,125 @@
2623
2623
  },
2624
2624
  {
2625
2625
  "kind": "field",
2626
- "name": "hideMenuSingleOption",
2626
+ "name": "textAreaRef",
2627
2627
  "type": {
2628
- "text": "boolean"
2628
+ "text": "HTMLTextAreaElement"
2629
2629
  },
2630
- "default": "false"
2630
+ "privacy": "public"
2631
2631
  },
2632
2632
  {
2633
2633
  "kind": "field",
2634
- "name": "singleOption",
2634
+ "name": "stopRecording",
2635
2635
  "type": {
2636
- "text": "ActionMenuItem"
2637
- }
2636
+ "text": "(() => void) | null"
2637
+ },
2638
+ "privacy": "private",
2639
+ "default": "null"
2638
2640
  },
2639
2641
  {
2640
2642
  "kind": "field",
2641
- "name": "actionsMenu",
2643
+ "name": "speechApplyDebounceTimer",
2642
2644
  "type": {
2643
- "text": "HTMLElement"
2644
- }
2645
+ "text": "ReturnType<typeof setTimeout> | null"
2646
+ },
2647
+ "privacy": "private",
2648
+ "default": "null"
2645
2649
  },
2646
2650
  {
2647
2651
  "kind": "field",
2648
- "name": "actionsOpener",
2652
+ "name": "speechAvailable",
2649
2653
  "type": {
2650
- "text": "HTMLElement"
2651
- }
2654
+ "text": "boolean"
2655
+ },
2656
+ "readonly": true
2652
2657
  },
2653
2658
  {
2654
- "kind": "method",
2655
- "name": "updateMenuPosition",
2656
- "privacy": "private"
2659
+ "kind": "field",
2660
+ "name": "criteriaChips",
2661
+ "type": {
2662
+ "text": "CriteriaChip[]"
2663
+ },
2664
+ "readonly": true
2657
2665
  },
2658
2666
  {
2659
2667
  "kind": "method",
2660
- "name": "definitionChanged",
2661
- "privacy": "protected",
2668
+ "name": "getFieldLabel",
2669
+ "privacy": "private",
2670
+ "return": {
2671
+ "type": {
2672
+ "text": "string"
2673
+ }
2674
+ },
2662
2675
  "parameters": [
2663
2676
  {
2664
- "name": "oldValue",
2665
- "type": {
2666
- "text": "any"
2667
- }
2668
- },
2669
- {
2670
- "name": "newValue",
2677
+ "name": "fieldName",
2671
2678
  "type": {
2672
- "text": "any"
2679
+ "text": "string"
2673
2680
  }
2674
2681
  }
2675
2682
  ]
2676
2683
  },
2677
2684
  {
2678
2685
  "kind": "method",
2679
- "name": "openChanged",
2680
- "privacy": "protected"
2681
- },
2682
- {
2683
- "kind": "method",
2684
- "name": "toggleActionsMenuVisibility"
2686
+ "name": "toggleCriteriaView",
2687
+ "return": {
2688
+ "type": {
2689
+ "text": "void"
2690
+ }
2691
+ }
2685
2692
  },
2686
2693
  {
2687
2694
  "kind": "method",
2688
- "name": "onActionMenuItemClick",
2695
+ "name": "removeChip",
2696
+ "return": {
2697
+ "type": {
2698
+ "text": "void"
2699
+ }
2700
+ },
2689
2701
  "parameters": [
2690
2702
  {
2691
- "name": "callback",
2703
+ "name": "groupIndex",
2692
2704
  "type": {
2693
- "text": "(rowData) => void | any"
2705
+ "text": "number"
2706
+ }
2707
+ },
2708
+ {
2709
+ "name": "clauseIndex",
2710
+ "type": {
2711
+ "text": "number"
2694
2712
  }
2695
2713
  }
2696
2714
  ]
2697
2715
  },
2698
2716
  {
2699
- "kind": "field",
2700
- "name": "allActions",
2701
- "type": {
2702
- "text": "ActionMenuItem[]"
2703
- },
2704
- "readonly": true
2717
+ "kind": "method",
2718
+ "name": "clearChips",
2719
+ "return": {
2720
+ "type": {
2721
+ "text": "void"
2722
+ }
2723
+ }
2705
2724
  },
2706
2725
  {
2707
- "kind": "field",
2708
- "name": "rowData",
2709
- "readonly": true
2726
+ "kind": "method",
2727
+ "name": "handleSubmit"
2710
2728
  },
2711
2729
  {
2712
2730
  "kind": "method",
2713
- "name": "getLabel",
2714
- "parameters": [
2715
- {
2716
- "name": "name",
2717
- "type": {
2718
- "text": "string | ((rowData: any) => string)"
2719
- }
2720
- }
2721
- ]
2731
+ "name": "handleBlur"
2722
2732
  },
2723
2733
  {
2724
2734
  "kind": "method",
2725
- "name": "getTemplate",
2726
- "parameters": [
2727
- {
2728
- "name": "prefix",
2729
- "type": {
2730
- "text": "string"
2731
- }
2732
- }
2733
- ]
2735
+ "name": "clear"
2736
+ },
2737
+ {
2738
+ "kind": "method",
2739
+ "name": "toggleSpeechInput"
2740
+ },
2741
+ {
2742
+ "kind": "method",
2743
+ "name": "clearSpeechApplyDebounce",
2744
+ "privacy": "private"
2734
2745
  },
2735
2746
  {
2736
2747
  "kind": "field",
@@ -2844,115 +2855,154 @@
2844
2855
  }
2845
2856
  }
2846
2857
  ],
2847
- "attributes": [
2848
- {
2849
- "name": "is-vertical",
2850
- "type": {
2851
- "text": "boolean"
2852
- },
2853
- "default": "false",
2854
- "fieldName": "isVertical"
2855
- },
2856
- {
2857
- "name": "add-default-actions",
2858
- "type": {
2859
- "text": "boolean"
2860
- },
2861
- "default": "true",
2862
- "fieldName": "addDefaultActions"
2863
- },
2864
- {
2865
- "name": "auto-close-on-action",
2866
- "type": {
2867
- "text": "boolean"
2868
- },
2869
- "default": "true",
2870
- "fieldName": "autoCloseOnAction"
2871
- },
2858
+ "events": [
2872
2859
  {
2873
- "name": "name",
2874
- "type": {
2875
- "text": "string"
2876
- },
2877
- "default": "'Actions'",
2878
- "fieldName": "name"
2860
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
+ "name": "criteria-changed"
2879
2862
  },
2880
2863
  {
2881
- "name": "open",
2882
- "type": {
2883
- "text": "boolean"
2884
- },
2885
- "default": "false",
2886
- "fieldName": "open"
2887
- },
2864
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
+ "name": "validation-errors"
2866
+ }
2867
+ ],
2868
+ "attributes": [
2888
2869
  {
2889
- "name": "buttonAppearance",
2870
+ "name": "placeholder",
2890
2871
  "type": {
2891
2872
  "text": "string"
2892
2873
  },
2893
- "fieldName": "buttonAppearance"
2894
- },
2895
- {
2896
- "name": "hide-disabled",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "false",
2901
- "fieldName": "hideDisabled"
2874
+ "default": "'Describe your search criteria in natural language...'",
2875
+ "fieldName": "placeholder"
2902
2876
  },
2903
2877
  {
2904
- "name": "hide-menu-single-option",
2905
2878
  "type": {
2906
2879
  "text": "boolean"
2907
2880
  },
2908
- "default": "false",
2909
- "fieldName": "hideMenuSingleOption"
2881
+ "fieldName": "disabled"
2910
2882
  }
2911
2883
  ],
2912
2884
  "superclass": {
2913
2885
  "name": "FoundationElement",
2914
2886
  "package": "@microsoft/fast-foundation"
2915
2887
  },
2916
- "tagName": "%%prefix%%-actions-menu",
2888
+ "tagName": "%%prefix%%-ai-criteria-search",
2917
2889
  "customElement": true
2918
2890
  },
2919
2891
  {
2920
2892
  "kind": "variable",
2921
- "name": "foundationActionsMenu",
2922
- "description": "The Foundation Actions Menu",
2923
- "privacy": "public"
2893
+ "name": "foundationAiCriteriaSearchShadowOptions",
2894
+ "type": {
2895
+ "text": "ShadowRootInit"
2896
+ },
2897
+ "default": "undefined"
2898
+ },
2899
+ {
2900
+ "kind": "variable",
2901
+ "name": "defaultAiCriteriaSearchConfig",
2902
+ "type": {
2903
+ "text": "object"
2904
+ },
2905
+ "default": "{}"
2906
+ },
2907
+ {
2908
+ "kind": "variable",
2909
+ "name": "foundationAiCriteriaSearch"
2924
2910
  }
2925
2911
  ],
2926
2912
  "exports": [
2927
2913
  {
2928
2914
  "kind": "js",
2929
- "name": "ActionsMenu",
2915
+ "name": "AiCriteriaSearch",
2930
2916
  "declaration": {
2931
- "name": "ActionsMenu",
2932
- "module": "src/actions-menu/actions-menu.ts"
2917
+ "name": "AiCriteriaSearch",
2918
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2933
2919
  }
2934
2920
  },
2935
2921
  {
2936
2922
  "kind": "js",
2937
- "name": "foundationActionsMenu",
2923
+ "name": "foundationAiCriteriaSearchShadowOptions",
2938
2924
  "declaration": {
2939
- "name": "foundationActionsMenu",
2940
- "module": "src/actions-menu/actions-menu.ts"
2925
+ "name": "foundationAiCriteriaSearchShadowOptions",
2926
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2927
+ }
2928
+ },
2929
+ {
2930
+ "kind": "js",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2932
+ "declaration": {
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "foundationAiCriteriaSearch",
2940
+ "declaration": {
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2941
2943
  }
2942
2944
  }
2943
2945
  ]
2944
2946
  },
2945
2947
  {
2946
2948
  "kind": "javascript-module",
2947
- "path": "src/actions-menu/index.ts",
2949
+ "path": "src/ai-criteria-search/index.ts",
2948
2950
  "declarations": [],
2949
2951
  "exports": [
2952
+ {
2953
+ "kind": "js",
2954
+ "name": "AiCriteriaSearch",
2955
+ "declaration": {
2956
+ "name": "AiCriteriaSearch",
2957
+ "module": "./ai-criteria-search"
2958
+ }
2959
+ },
2960
+ {
2961
+ "kind": "js",
2962
+ "name": "defaultAiCriteriaSearchConfig",
2963
+ "declaration": {
2964
+ "name": "defaultAiCriteriaSearchConfig",
2965
+ "module": "./ai-criteria-search"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "js",
2970
+ "name": "foundationAiCriteriaSearch",
2971
+ "declaration": {
2972
+ "name": "foundationAiCriteriaSearch",
2973
+ "module": "./ai-criteria-search"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "js",
2978
+ "name": "foundationAiCriteriaSearchShadowOptions",
2979
+ "declaration": {
2980
+ "name": "foundationAiCriteriaSearchShadowOptions",
2981
+ "module": "./ai-criteria-search"
2982
+ }
2983
+ },
2984
+ {
2985
+ "kind": "js",
2986
+ "name": "foundationAiCriteriaSearchStyles",
2987
+ "declaration": {
2988
+ "name": "foundationAiCriteriaSearchStyles",
2989
+ "module": "./ai-criteria-search.styles"
2990
+ }
2991
+ },
2992
+ {
2993
+ "kind": "js",
2994
+ "name": "foundationAiCriteriaSearchTemplate",
2995
+ "declaration": {
2996
+ "name": "foundationAiCriteriaSearchTemplate",
2997
+ "module": "./ai-criteria-search.template"
2998
+ }
2999
+ },
2950
3000
  {
2951
3001
  "kind": "js",
2952
3002
  "name": "*",
2953
3003
  "declaration": {
2954
3004
  "name": "*",
2955
- "package": "./actions-menu.styles"
3005
+ "package": "./validation/criteria-ir"
2956
3006
  }
2957
3007
  },
2958
3008
  {
@@ -2960,7 +3010,7 @@
2960
3010
  "name": "*",
2961
3011
  "declaration": {
2962
3012
  "name": "*",
2963
- "package": "./actions-menu.template"
3013
+ "package": "./validation/operator-map"
2964
3014
  }
2965
3015
  },
2966
3016
  {
@@ -2968,215 +3018,357 @@
2968
3018
  "name": "*",
2969
3019
  "declaration": {
2970
3020
  "name": "*",
2971
- "package": "./actions-menu"
3021
+ "package": "./validation/schema-validator"
2972
3022
  }
2973
3023
  }
2974
3024
  ]
2975
3025
  },
2976
3026
  {
2977
3027
  "kind": "javascript-module",
2978
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3028
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2979
3029
  "declarations": [
2980
3030
  {
2981
- "kind": "variable",
2982
- "name": "foundationAiCriteriaSearchStyles",
2983
- "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`"
3031
+ "kind": "function",
3032
+ "name": "formatValidationErrors",
3033
+ "return": {
3034
+ "type": {
3035
+ "text": "string"
3036
+ }
3037
+ },
3038
+ "parameters": [
3039
+ {
3040
+ "name": "errors",
3041
+ "type": {
3042
+ "text": "ValidationError[]"
3043
+ }
3044
+ }
3045
+ ],
3046
+ "description": "Formats validation errors into a user-friendly message."
3047
+ },
3048
+ {
3049
+ "kind": "function",
3050
+ "name": "showCriteriaError",
3051
+ "return": {
3052
+ "type": {
3053
+ "text": "void"
3054
+ }
3055
+ },
3056
+ "parameters": [
3057
+ {
3058
+ "name": "title",
3059
+ "type": {
3060
+ "text": "string"
3061
+ },
3062
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3063
+ },
3064
+ {
3065
+ "name": "body",
3066
+ "type": {
3067
+ "text": "string"
3068
+ },
3069
+ "description": "Error message to display"
3070
+ },
3071
+ {
3072
+ "name": "tagName",
3073
+ "type": {
3074
+ "text": "string"
3075
+ },
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
+ }
3078
+ ],
3079
+ "description": "Shows a criteria error as a toast notification."
2984
3080
  }
2985
3081
  ],
2986
3082
  "exports": [
2987
3083
  {
2988
3084
  "kind": "js",
2989
- "name": "foundationAiCriteriaSearchStyles",
3085
+ "name": "formatValidationErrors",
2990
3086
  "declaration": {
2991
- "name": "foundationAiCriteriaSearchStyles",
2992
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3089
+ }
3090
+ },
3091
+ {
3092
+ "kind": "js",
3093
+ "name": "showCriteriaError",
3094
+ "declaration": {
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2993
3097
  }
2994
3098
  }
2995
3099
  ]
2996
3100
  },
2997
3101
  {
2998
3102
  "kind": "javascript-module",
2999
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3103
+ "path": "src/accordion/accordion.styles.ts",
3000
3104
  "declarations": [
3001
3105
  {
3002
- "kind": "variable",
3003
- "name": "foundationAiCriteriaSearchTemplate",
3004
- "type": {
3005
- "text": "ViewTemplate<AiCriteriaSearch>"
3106
+ "kind": "function",
3107
+ "name": "foundationAccordionStyles",
3108
+ "return": {
3109
+ "type": {
3110
+ "text": "ElementStyles"
3111
+ }
3006
3112
  },
3007
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
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
+ ]
3127
+ }
3128
+ ],
3129
+ "exports": [
3130
+ {
3131
+ "kind": "js",
3132
+ "name": "foundationAccordionStyles",
3133
+ "declaration": {
3134
+ "name": "foundationAccordionStyles",
3135
+ "module": "src/accordion/accordion.styles.ts"
3136
+ }
3137
+ }
3138
+ ]
3139
+ },
3140
+ {
3141
+ "kind": "javascript-module",
3142
+ "path": "src/accordion/accordion.template.ts",
3143
+ "declarations": [
3144
+ {
3145
+ "kind": "function",
3146
+ "name": "foundationAccordionTemplate",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "ViewTemplate<Accordion>"
3150
+ }
3151
+ },
3152
+ "parameters": [
3153
+ {
3154
+ "name": "context",
3155
+ "type": {
3156
+ "text": "ElementDefinitionContext"
3157
+ }
3158
+ },
3159
+ {
3160
+ "name": "definition",
3161
+ "type": {
3162
+ "text": "FoundationElementDefinition"
3163
+ }
3164
+ }
3165
+ ]
3008
3166
  }
3009
3167
  ],
3010
3168
  "exports": [
3011
3169
  {
3012
3170
  "kind": "js",
3013
- "name": "foundationAiCriteriaSearchTemplate",
3171
+ "name": "foundationAccordionTemplate",
3014
3172
  "declaration": {
3015
- "name": "foundationAiCriteriaSearchTemplate",
3016
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3173
+ "name": "foundationAccordionTemplate",
3174
+ "module": "src/accordion/accordion.template.ts"
3017
3175
  }
3018
3176
  }
3019
3177
  ]
3020
3178
  },
3021
3179
  {
3022
3180
  "kind": "javascript-module",
3023
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3181
+ "path": "src/accordion/accordion.ts",
3024
3182
  "declarations": [
3025
3183
  {
3026
3184
  "kind": "class",
3027
- "description": "Natural-language criteria search input with AI interpretation.",
3028
- "name": "AiCriteriaSearch",
3029
- "members": [
3030
- {
3031
- "kind": "field",
3032
- "name": "providerRegistry",
3033
- "type": {
3034
- "text": "AIProviderRegistry"
3035
- }
3036
- },
3185
+ "description": "",
3186
+ "name": "Accordion",
3187
+ "superclass": {
3188
+ "name": "FASTAccordion",
3189
+ "package": "@microsoft/fast-foundation"
3190
+ },
3191
+ "tagName": "%%prefix%%-accordion",
3192
+ "customElement": true,
3193
+ "attributes": [
3037
3194
  {
3038
- "kind": "field",
3039
- "name": "placeholder",
3195
+ "name": "expand-mode",
3040
3196
  "type": {
3041
- "text": "string"
3197
+ "text": "AccordionExpandMode"
3042
3198
  },
3043
- "default": "'Describe your search criteria in natural language...'"
3044
- },
3045
- {
3046
- "kind": "field",
3047
- "name": "disabled",
3048
- "type": {
3049
- "text": "boolean"
3199
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
+ "fieldName": "expandmode",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3050
3204
  }
3051
- },
3052
- {
3053
- "kind": "field",
3054
- "name": "inputValue",
3055
- "type": {
3056
- "text": "string"
3057
- },
3058
- "default": "''"
3059
- },
3205
+ }
3206
+ ],
3207
+ "members": [
3060
3208
  {
3061
3209
  "kind": "field",
3062
- "name": "isInterpreting",
3210
+ "name": "expandmode",
3063
3211
  "type": {
3064
- "text": "boolean"
3212
+ "text": "AccordionExpandMode"
3065
3213
  },
3066
- "default": "false"
3214
+ "privacy": "public",
3215
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3067
3220
  },
3068
3221
  {
3069
3222
  "kind": "field",
3070
- "name": "lastValidCriteria",
3223
+ "name": "activeid",
3071
3224
  "type": {
3072
3225
  "text": "string | null"
3073
3226
  },
3074
- "default": "null"
3075
- },
3076
- {
3077
- "kind": "field",
3078
- "name": "activeGroups",
3079
- "type": {
3080
- "text": "CriteriaGroup[]"
3081
- },
3082
- "default": "[]"
3227
+ "privacy": "private",
3228
+ "inheritedFrom": {
3229
+ "name": "Accordion",
3230
+ "module": "src/accordion/accordion.ts"
3231
+ }
3083
3232
  },
3084
3233
  {
3085
3234
  "kind": "field",
3086
- "name": "showingChips",
3235
+ "name": "activeItemIndex",
3087
3236
  "type": {
3088
- "text": "boolean"
3237
+ "text": "number"
3089
3238
  },
3090
- "default": "false"
3239
+ "privacy": "private",
3240
+ "default": "0",
3241
+ "inheritedFrom": {
3242
+ "name": "Accordion",
3243
+ "module": "src/accordion/accordion.ts"
3244
+ }
3091
3245
  },
3092
3246
  {
3093
3247
  "kind": "field",
3094
- "name": "fieldMetadata",
3248
+ "name": "accordionIds",
3095
3249
  "type": {
3096
- "text": "MetadataDetail[] | string[]"
3250
+ "text": "Array<string | null>"
3097
3251
  },
3098
- "default": "[]"
3252
+ "privacy": "private",
3253
+ "inheritedFrom": {
3254
+ "name": "Accordion",
3255
+ "module": "src/accordion/accordion.ts"
3256
+ }
3099
3257
  },
3100
3258
  {
3101
3259
  "kind": "field",
3102
- "name": "isRecording",
3103
- "type": {
3104
- "text": "boolean"
3105
- },
3106
- "default": "false"
3260
+ "name": "change",
3261
+ "privacy": "private",
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3107
3266
  },
3108
3267
  {
3109
- "kind": "field",
3110
- "name": "textAreaRef",
3111
- "type": {
3112
- "text": "HTMLTextAreaElement"
3268
+ "kind": "method",
3269
+ "name": "findExpandedItem",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "AccordionItem | null"
3274
+ }
3113
3275
  },
3114
- "privacy": "public"
3276
+ "inheritedFrom": {
3277
+ "name": "Accordion",
3278
+ "module": "src/accordion/accordion.ts"
3279
+ }
3115
3280
  },
3116
3281
  {
3117
3282
  "kind": "field",
3118
- "name": "stopRecording",
3119
- "type": {
3120
- "text": "(() => void) | null"
3121
- },
3283
+ "name": "setItems",
3122
3284
  "privacy": "private",
3123
- "default": "null"
3285
+ "inheritedFrom": {
3286
+ "name": "Accordion",
3287
+ "module": "src/accordion/accordion.ts"
3288
+ }
3124
3289
  },
3125
3290
  {
3126
- "kind": "field",
3127
- "name": "speechApplyDebounceTimer",
3128
- "type": {
3129
- "text": "ReturnType<typeof setTimeout> | null"
3130
- },
3291
+ "kind": "method",
3292
+ "name": "resetItems",
3131
3293
  "privacy": "private",
3132
- "default": "null"
3294
+ "return": {
3295
+ "type": {
3296
+ "text": "void"
3297
+ }
3298
+ },
3299
+ "inheritedFrom": {
3300
+ "name": "Accordion",
3301
+ "module": "src/accordion/accordion.ts"
3302
+ }
3133
3303
  },
3134
3304
  {
3135
3305
  "kind": "field",
3136
- "name": "speechAvailable",
3137
- "type": {
3138
- "text": "boolean"
3139
- },
3140
- "readonly": true
3306
+ "name": "removeItemListeners",
3307
+ "privacy": "private",
3308
+ "inheritedFrom": {
3309
+ "name": "Accordion",
3310
+ "module": "src/accordion/accordion.ts"
3311
+ }
3141
3312
  },
3142
3313
  {
3143
3314
  "kind": "field",
3144
- "name": "criteriaChips",
3145
- "type": {
3146
- "text": "CriteriaChip[]"
3147
- },
3148
- "readonly": true
3315
+ "name": "activeItemChange",
3316
+ "privacy": "private",
3317
+ "inheritedFrom": {
3318
+ "name": "Accordion",
3319
+ "module": "src/accordion/accordion.ts"
3320
+ }
3149
3321
  },
3150
3322
  {
3151
3323
  "kind": "method",
3152
- "name": "getFieldLabel",
3324
+ "name": "getItemIds",
3153
3325
  "privacy": "private",
3154
3326
  "return": {
3155
3327
  "type": {
3156
- "text": "string"
3328
+ "text": "Array<string | null>"
3157
3329
  }
3158
3330
  },
3159
- "parameters": [
3160
- {
3161
- "name": "fieldName",
3162
- "type": {
3163
- "text": "string"
3164
- }
3165
- }
3166
- ]
3331
+ "inheritedFrom": {
3332
+ "name": "Accordion",
3333
+ "module": "src/accordion/accordion.ts"
3334
+ }
3167
3335
  },
3168
3336
  {
3169
3337
  "kind": "method",
3170
- "name": "toggleCriteriaView",
3338
+ "name": "isSingleExpandMode",
3339
+ "privacy": "private",
3171
3340
  "return": {
3172
3341
  "type": {
3173
- "text": "void"
3342
+ "text": "boolean"
3174
3343
  }
3344
+ },
3345
+ "inheritedFrom": {
3346
+ "name": "Accordion",
3347
+ "module": "src/accordion/accordion.ts"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "field",
3352
+ "name": "handleItemKeyDown",
3353
+ "privacy": "private",
3354
+ "inheritedFrom": {
3355
+ "name": "Accordion",
3356
+ "module": "src/accordion/accordion.ts"
3357
+ }
3358
+ },
3359
+ {
3360
+ "kind": "field",
3361
+ "name": "handleItemFocus",
3362
+ "privacy": "private",
3363
+ "inheritedFrom": {
3364
+ "name": "Accordion",
3365
+ "module": "src/accordion/accordion.ts"
3175
3366
  }
3176
3367
  },
3177
3368
  {
3178
3369
  "kind": "method",
3179
- "name": "removeChip",
3370
+ "name": "adjust",
3371
+ "privacy": "private",
3180
3372
  "return": {
3181
3373
  "type": {
3182
3374
  "text": "void"
@@ -3184,49 +3376,31 @@
3184
3376
  },
3185
3377
  "parameters": [
3186
3378
  {
3187
- "name": "groupIndex",
3188
- "type": {
3189
- "text": "number"
3190
- }
3191
- },
3192
- {
3193
- "name": "clauseIndex",
3379
+ "name": "adjustment",
3194
3380
  "type": {
3195
3381
  "text": "number"
3196
3382
  }
3197
3383
  }
3198
- ]
3384
+ ],
3385
+ "inheritedFrom": {
3386
+ "name": "Accordion",
3387
+ "module": "src/accordion/accordion.ts"
3388
+ }
3199
3389
  },
3200
3390
  {
3201
3391
  "kind": "method",
3202
- "name": "clearChips",
3392
+ "name": "focusItem",
3393
+ "privacy": "private",
3203
3394
  "return": {
3204
3395
  "type": {
3205
3396
  "text": "void"
3206
3397
  }
3398
+ },
3399
+ "inheritedFrom": {
3400
+ "name": "Accordion",
3401
+ "module": "src/accordion/accordion.ts"
3207
3402
  }
3208
3403
  },
3209
- {
3210
- "kind": "method",
3211
- "name": "handleSubmit"
3212
- },
3213
- {
3214
- "kind": "method",
3215
- "name": "handleBlur"
3216
- },
3217
- {
3218
- "kind": "method",
3219
- "name": "clear"
3220
- },
3221
- {
3222
- "kind": "method",
3223
- "name": "toggleSpeechInput"
3224
- },
3225
- {
3226
- "kind": "method",
3227
- "name": "clearSpeechApplyDebounce",
3228
- "privacy": "private"
3229
- },
3230
3404
  {
3231
3405
  "kind": "field",
3232
3406
  "name": "_presentation",
@@ -3341,48 +3515,26 @@
3341
3515
  ],
3342
3516
  "events": [
3343
3517
  {
3344
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3345
- "name": "criteria-changed"
3346
- },
3347
- {
3348
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3349
- "name": "validation-errors"
3350
- }
3351
- ],
3352
- "attributes": [
3353
- {
3354
- "name": "placeholder",
3355
- "type": {
3356
- "text": "string"
3357
- },
3358
- "default": "'Describe your search criteria in natural language...'",
3359
- "fieldName": "placeholder"
3360
- },
3361
- {
3362
- "type": {
3363
- "text": "boolean"
3364
- },
3365
- "fieldName": "disabled"
3518
+ "description": "Fires a custom 'change' event when the active item changes",
3519
+ "name": "change",
3520
+ "inheritedFrom": {
3521
+ "name": "Accordion",
3522
+ "module": "src/accordion/accordion.ts"
3523
+ }
3366
3524
  }
3367
- ],
3368
- "superclass": {
3369
- "name": "FoundationElement",
3370
- "package": "@microsoft/fast-foundation"
3371
- },
3372
- "tagName": "%%prefix%%-ai-criteria-search",
3373
- "customElement": true
3525
+ ]
3374
3526
  },
3375
3527
  {
3376
3528
  "kind": "variable",
3377
- "name": "foundationAiCriteriaSearchShadowOptions",
3529
+ "name": "foundationAccordionShadowOptions",
3378
3530
  "type": {
3379
3531
  "text": "ShadowRootInit"
3380
3532
  },
3381
- "default": "undefined"
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3382
3534
  },
3383
3535
  {
3384
3536
  "kind": "variable",
3385
- "name": "defaultAiCriteriaSearchConfig",
3537
+ "name": "defaultAccordionConfig",
3386
3538
  "type": {
3387
3539
  "text": "object"
3388
3540
  },
@@ -3390,103 +3542,57 @@
3390
3542
  },
3391
3543
  {
3392
3544
  "kind": "variable",
3393
- "name": "foundationAiCriteriaSearch"
3545
+ "name": "foundationAccordion",
3546
+ "description": "The Foundation Accordion",
3547
+ "privacy": "public"
3394
3548
  }
3395
3549
  ],
3396
3550
  "exports": [
3397
3551
  {
3398
3552
  "kind": "js",
3399
- "name": "AiCriteriaSearch",
3553
+ "name": "Accordion",
3400
3554
  "declaration": {
3401
- "name": "AiCriteriaSearch",
3402
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3403
3557
  }
3404
3558
  },
3405
3559
  {
3406
3560
  "kind": "js",
3407
- "name": "foundationAiCriteriaSearchShadowOptions",
3561
+ "name": "foundationAccordionShadowOptions",
3408
3562
  "declaration": {
3409
- "name": "foundationAiCriteriaSearchShadowOptions",
3410
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3563
+ "name": "foundationAccordionShadowOptions",
3564
+ "module": "src/accordion/accordion.ts"
3411
3565
  }
3412
3566
  },
3413
3567
  {
3414
3568
  "kind": "js",
3415
- "name": "defaultAiCriteriaSearchConfig",
3569
+ "name": "defaultAccordionConfig",
3416
3570
  "declaration": {
3417
- "name": "defaultAiCriteriaSearchConfig",
3418
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3571
+ "name": "defaultAccordionConfig",
3572
+ "module": "src/accordion/accordion.ts"
3419
3573
  }
3420
3574
  },
3421
3575
  {
3422
3576
  "kind": "js",
3423
- "name": "foundationAiCriteriaSearch",
3577
+ "name": "foundationAccordion",
3424
3578
  "declaration": {
3425
- "name": "foundationAiCriteriaSearch",
3426
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3579
+ "name": "foundationAccordion",
3580
+ "module": "src/accordion/accordion.ts"
3427
3581
  }
3428
3582
  }
3429
3583
  ]
3430
3584
  },
3431
3585
  {
3432
3586
  "kind": "javascript-module",
3433
- "path": "src/ai-criteria-search/index.ts",
3587
+ "path": "src/accordion/index.ts",
3434
3588
  "declarations": [],
3435
3589
  "exports": [
3436
- {
3437
- "kind": "js",
3438
- "name": "AiCriteriaSearch",
3439
- "declaration": {
3440
- "name": "AiCriteriaSearch",
3441
- "module": "./ai-criteria-search"
3442
- }
3443
- },
3444
- {
3445
- "kind": "js",
3446
- "name": "defaultAiCriteriaSearchConfig",
3447
- "declaration": {
3448
- "name": "defaultAiCriteriaSearchConfig",
3449
- "module": "./ai-criteria-search"
3450
- }
3451
- },
3452
- {
3453
- "kind": "js",
3454
- "name": "foundationAiCriteriaSearch",
3455
- "declaration": {
3456
- "name": "foundationAiCriteriaSearch",
3457
- "module": "./ai-criteria-search"
3458
- }
3459
- },
3460
- {
3461
- "kind": "js",
3462
- "name": "foundationAiCriteriaSearchShadowOptions",
3463
- "declaration": {
3464
- "name": "foundationAiCriteriaSearchShadowOptions",
3465
- "module": "./ai-criteria-search"
3466
- }
3467
- },
3468
- {
3469
- "kind": "js",
3470
- "name": "foundationAiCriteriaSearchStyles",
3471
- "declaration": {
3472
- "name": "foundationAiCriteriaSearchStyles",
3473
- "module": "./ai-criteria-search.styles"
3474
- }
3475
- },
3476
- {
3477
- "kind": "js",
3478
- "name": "foundationAiCriteriaSearchTemplate",
3479
- "declaration": {
3480
- "name": "foundationAiCriteriaSearchTemplate",
3481
- "module": "./ai-criteria-search.template"
3482
- }
3483
- },
3484
3590
  {
3485
3591
  "kind": "js",
3486
3592
  "name": "*",
3487
3593
  "declaration": {
3488
3594
  "name": "*",
3489
- "package": "./validation/criteria-ir"
3595
+ "package": "./accordion.template"
3490
3596
  }
3491
3597
  },
3492
3598
  {
@@ -3494,7 +3600,7 @@
3494
3600
  "name": "*",
3495
3601
  "declaration": {
3496
3602
  "name": "*",
3497
- "package": "./validation/operator-map"
3603
+ "package": "./accordion.styles"
3498
3604
  }
3499
3605
  },
3500
3606
  {
@@ -3502,82 +3608,7 @@
3502
3608
  "name": "*",
3503
3609
  "declaration": {
3504
3610
  "name": "*",
3505
- "package": "./validation/schema-validator"
3506
- }
3507
- }
3508
- ]
3509
- },
3510
- {
3511
- "kind": "javascript-module",
3512
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3513
- "declarations": [
3514
- {
3515
- "kind": "function",
3516
- "name": "formatValidationErrors",
3517
- "return": {
3518
- "type": {
3519
- "text": "string"
3520
- }
3521
- },
3522
- "parameters": [
3523
- {
3524
- "name": "errors",
3525
- "type": {
3526
- "text": "ValidationError[]"
3527
- }
3528
- }
3529
- ],
3530
- "description": "Formats validation errors into a user-friendly message."
3531
- },
3532
- {
3533
- "kind": "function",
3534
- "name": "showCriteriaError",
3535
- "return": {
3536
- "type": {
3537
- "text": "void"
3538
- }
3539
- },
3540
- "parameters": [
3541
- {
3542
- "name": "title",
3543
- "type": {
3544
- "text": "string"
3545
- },
3546
- "description": "Notification title (e.g. \"Criteria validation error\")"
3547
- },
3548
- {
3549
- "name": "body",
3550
- "type": {
3551
- "text": "string"
3552
- },
3553
- "description": "Error message to display"
3554
- },
3555
- {
3556
- "name": "tagName",
3557
- "type": {
3558
- "text": "string"
3559
- },
3560
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3561
- }
3562
- ],
3563
- "description": "Shows a criteria error as a toast notification."
3564
- }
3565
- ],
3566
- "exports": [
3567
- {
3568
- "kind": "js",
3569
- "name": "formatValidationErrors",
3570
- "declaration": {
3571
- "name": "formatValidationErrors",
3572
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3573
- }
3574
- },
3575
- {
3576
- "kind": "js",
3577
- "name": "showCriteriaError",
3578
- "declaration": {
3579
- "name": "showCriteriaError",
3580
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3611
+ "package": "./accordion"
3581
3612
  }
3582
3613
  }
3583
3614
  ]
@@ -4031,37 +4062,6 @@
4031
4062
  }
4032
4063
  ]
4033
4064
  },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4039
- {
4040
- "kind": "js",
4041
- "name": "*",
4042
- "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4045
- }
4046
- },
4047
- {
4048
- "kind": "js",
4049
- "name": "*",
4050
- "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4053
- }
4054
- },
4055
- {
4056
- "kind": "js",
4057
- "name": "*",
4058
- "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4061
- }
4062
- }
4063
- ]
4064
- },
4065
4065
  {
4066
4066
  "kind": "javascript-module",
4067
4067
  "path": "src/anchor/anchor.styles.ts",
@@ -60218,197 +60218,6 @@
60218
60218
  }
60219
60219
  ]
60220
60220
  },
60221
- {
60222
- "kind": "javascript-module",
60223
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60224
- "declarations": [],
60225
- "exports": []
60226
- },
60227
- {
60228
- "kind": "javascript-module",
60229
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60230
- "declarations": [
60231
- {
60232
- "kind": "function",
60233
- "name": "groupsToCriteria",
60234
- "return": {
60235
- "type": {
60236
- "text": "string"
60237
- }
60238
- },
60239
- "parameters": [
60240
- {
60241
- "name": "groups",
60242
- "type": {
60243
- "text": "CriteriaGroup[]"
60244
- }
60245
- }
60246
- ],
60247
- "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."
60248
- },
60249
- {
60250
- "kind": "variable",
60251
- "name": "STRING_OPERATORS",
60252
- "type": {
60253
- "text": "CriteriaOperator[]"
60254
- },
60255
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60256
- },
60257
- {
60258
- "kind": "variable",
60259
- "name": "NUMERIC_OPERATORS",
60260
- "type": {
60261
- "text": "CriteriaOperator[]"
60262
- },
60263
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60264
- },
60265
- {
60266
- "kind": "variable",
60267
- "name": "DATE_OPERATORS",
60268
- "type": {
60269
- "text": "CriteriaOperator[]"
60270
- },
60271
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60272
- },
60273
- {
60274
- "kind": "variable",
60275
- "name": "DATETIME_OPERATORS",
60276
- "type": {
60277
- "text": "CriteriaOperator[]"
60278
- },
60279
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60280
- },
60281
- {
60282
- "kind": "variable",
60283
- "name": "OPERATOR_DISPLAY_LABEL",
60284
- "type": {
60285
- "text": "Record<CriteriaOperator, string>"
60286
- },
60287
- "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}"
60288
- }
60289
- ],
60290
- "exports": [
60291
- {
60292
- "kind": "js",
60293
- "name": "groupsToCriteria",
60294
- "declaration": {
60295
- "name": "groupsToCriteria",
60296
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60297
- }
60298
- },
60299
- {
60300
- "kind": "js",
60301
- "name": "STRING_OPERATORS",
60302
- "declaration": {
60303
- "name": "STRING_OPERATORS",
60304
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60305
- }
60306
- },
60307
- {
60308
- "kind": "js",
60309
- "name": "NUMERIC_OPERATORS",
60310
- "declaration": {
60311
- "name": "NUMERIC_OPERATORS",
60312
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60313
- }
60314
- },
60315
- {
60316
- "kind": "js",
60317
- "name": "DATE_OPERATORS",
60318
- "declaration": {
60319
- "name": "DATE_OPERATORS",
60320
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60321
- }
60322
- },
60323
- {
60324
- "kind": "js",
60325
- "name": "DATETIME_OPERATORS",
60326
- "declaration": {
60327
- "name": "DATETIME_OPERATORS",
60328
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60329
- }
60330
- },
60331
- {
60332
- "kind": "js",
60333
- "name": "OPERATOR_DISPLAY_LABEL",
60334
- "declaration": {
60335
- "name": "OPERATOR_DISPLAY_LABEL",
60336
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60337
- }
60338
- }
60339
- ]
60340
- },
60341
- {
60342
- "kind": "javascript-module",
60343
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60344
- "declarations": [
60345
- {
60346
- "kind": "function",
60347
- "name": "validateClauses",
60348
- "return": {
60349
- "type": {
60350
- "text": "ValidationResult"
60351
- }
60352
- },
60353
- "parameters": [
60354
- {
60355
- "name": "clauses",
60356
- "type": {
60357
- "text": "CriteriaClause[]"
60358
- }
60359
- },
60360
- {
60361
- "name": "fieldMetadata",
60362
- "type": {
60363
- "text": "MetadataDetail[] | string[]"
60364
- }
60365
- }
60366
- ]
60367
- },
60368
- {
60369
- "kind": "function",
60370
- "name": "validateGroups",
60371
- "return": {
60372
- "type": {
60373
- "text": "GroupsValidationResult"
60374
- }
60375
- },
60376
- "parameters": [
60377
- {
60378
- "name": "groups",
60379
- "type": {
60380
- "text": "CriteriaGroup[]"
60381
- }
60382
- },
60383
- {
60384
- "name": "fieldMetadata",
60385
- "type": {
60386
- "text": "MetadataDetail[] | string[]"
60387
- }
60388
- }
60389
- ],
60390
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60391
- }
60392
- ],
60393
- "exports": [
60394
- {
60395
- "kind": "js",
60396
- "name": "validateClauses",
60397
- "declaration": {
60398
- "name": "validateClauses",
60399
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60400
- }
60401
- },
60402
- {
60403
- "kind": "js",
60404
- "name": "validateGroups",
60405
- "declaration": {
60406
- "name": "validateGroups",
60407
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60408
- }
60409
- }
60410
- ]
60411
- },
60412
60221
  {
60413
60222
  "kind": "javascript-module",
60414
60223
  "path": "src/_config/styles/colors.ts",
@@ -61781,6 +61590,197 @@
61781
61590
  "declarations": [],
61782
61591
  "exports": []
61783
61592
  },
61593
+ {
61594
+ "kind": "javascript-module",
61595
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61596
+ "declarations": [],
61597
+ "exports": []
61598
+ },
61599
+ {
61600
+ "kind": "javascript-module",
61601
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61602
+ "declarations": [
61603
+ {
61604
+ "kind": "function",
61605
+ "name": "groupsToCriteria",
61606
+ "return": {
61607
+ "type": {
61608
+ "text": "string"
61609
+ }
61610
+ },
61611
+ "parameters": [
61612
+ {
61613
+ "name": "groups",
61614
+ "type": {
61615
+ "text": "CriteriaGroup[]"
61616
+ }
61617
+ }
61618
+ ],
61619
+ "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."
61620
+ },
61621
+ {
61622
+ "kind": "variable",
61623
+ "name": "STRING_OPERATORS",
61624
+ "type": {
61625
+ "text": "CriteriaOperator[]"
61626
+ },
61627
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61628
+ },
61629
+ {
61630
+ "kind": "variable",
61631
+ "name": "NUMERIC_OPERATORS",
61632
+ "type": {
61633
+ "text": "CriteriaOperator[]"
61634
+ },
61635
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61636
+ },
61637
+ {
61638
+ "kind": "variable",
61639
+ "name": "DATE_OPERATORS",
61640
+ "type": {
61641
+ "text": "CriteriaOperator[]"
61642
+ },
61643
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61644
+ },
61645
+ {
61646
+ "kind": "variable",
61647
+ "name": "DATETIME_OPERATORS",
61648
+ "type": {
61649
+ "text": "CriteriaOperator[]"
61650
+ },
61651
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61652
+ },
61653
+ {
61654
+ "kind": "variable",
61655
+ "name": "OPERATOR_DISPLAY_LABEL",
61656
+ "type": {
61657
+ "text": "Record<CriteriaOperator, string>"
61658
+ },
61659
+ "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}"
61660
+ }
61661
+ ],
61662
+ "exports": [
61663
+ {
61664
+ "kind": "js",
61665
+ "name": "groupsToCriteria",
61666
+ "declaration": {
61667
+ "name": "groupsToCriteria",
61668
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61669
+ }
61670
+ },
61671
+ {
61672
+ "kind": "js",
61673
+ "name": "STRING_OPERATORS",
61674
+ "declaration": {
61675
+ "name": "STRING_OPERATORS",
61676
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61677
+ }
61678
+ },
61679
+ {
61680
+ "kind": "js",
61681
+ "name": "NUMERIC_OPERATORS",
61682
+ "declaration": {
61683
+ "name": "NUMERIC_OPERATORS",
61684
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61685
+ }
61686
+ },
61687
+ {
61688
+ "kind": "js",
61689
+ "name": "DATE_OPERATORS",
61690
+ "declaration": {
61691
+ "name": "DATE_OPERATORS",
61692
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61693
+ }
61694
+ },
61695
+ {
61696
+ "kind": "js",
61697
+ "name": "DATETIME_OPERATORS",
61698
+ "declaration": {
61699
+ "name": "DATETIME_OPERATORS",
61700
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61701
+ }
61702
+ },
61703
+ {
61704
+ "kind": "js",
61705
+ "name": "OPERATOR_DISPLAY_LABEL",
61706
+ "declaration": {
61707
+ "name": "OPERATOR_DISPLAY_LABEL",
61708
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61709
+ }
61710
+ }
61711
+ ]
61712
+ },
61713
+ {
61714
+ "kind": "javascript-module",
61715
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61716
+ "declarations": [
61717
+ {
61718
+ "kind": "function",
61719
+ "name": "validateClauses",
61720
+ "return": {
61721
+ "type": {
61722
+ "text": "ValidationResult"
61723
+ }
61724
+ },
61725
+ "parameters": [
61726
+ {
61727
+ "name": "clauses",
61728
+ "type": {
61729
+ "text": "CriteriaClause[]"
61730
+ }
61731
+ },
61732
+ {
61733
+ "name": "fieldMetadata",
61734
+ "type": {
61735
+ "text": "MetadataDetail[] | string[]"
61736
+ }
61737
+ }
61738
+ ]
61739
+ },
61740
+ {
61741
+ "kind": "function",
61742
+ "name": "validateGroups",
61743
+ "return": {
61744
+ "type": {
61745
+ "text": "GroupsValidationResult"
61746
+ }
61747
+ },
61748
+ "parameters": [
61749
+ {
61750
+ "name": "groups",
61751
+ "type": {
61752
+ "text": "CriteriaGroup[]"
61753
+ }
61754
+ },
61755
+ {
61756
+ "name": "fieldMetadata",
61757
+ "type": {
61758
+ "text": "MetadataDetail[] | string[]"
61759
+ }
61760
+ }
61761
+ ],
61762
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61763
+ }
61764
+ ],
61765
+ "exports": [
61766
+ {
61767
+ "kind": "js",
61768
+ "name": "validateClauses",
61769
+ "declaration": {
61770
+ "name": "validateClauses",
61771
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61772
+ }
61773
+ },
61774
+ {
61775
+ "kind": "js",
61776
+ "name": "validateGroups",
61777
+ "declaration": {
61778
+ "name": "validateGroups",
61779
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61780
+ }
61781
+ }
61782
+ ]
61783
+ },
61784
61784
  {
61785
61785
  "kind": "javascript-module",
61786
61786
  "path": "src/environment-indicator/utils/configure.ts",