@genesislcap/foundation-ui 15.35.4-FUI-0.9 → 15.35.4-FUI-0.10

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,34 +1920,11 @@
1889
1920
  },
1890
1921
  {
1891
1922
  "kind": "javascript-module",
1892
- "path": "src/actions-menu/actions-menu.styles.ts",
1923
+ "path": "src/accordion/accordion.styles.ts",
1893
1924
  "declarations": [
1894
1925
  {
1895
1926
  "kind": "function",
1896
- "name": "actionsMenuBaseStyles",
1897
- "return": {
1898
- "type": {
1899
- "text": "ElementStyles"
1900
- }
1901
- },
1902
- "parameters": [
1903
- {
1904
- "name": "context",
1905
- "type": {
1906
- "text": "ElementDefinitionContext"
1907
- }
1908
- },
1909
- {
1910
- "name": "definition",
1911
- "type": {
1912
- "text": "FoundationElementDefinition"
1913
- }
1914
- }
1915
- ]
1916
- },
1917
- {
1918
- "kind": "function",
1919
- "name": "foundationActionsMenuStyles",
1927
+ "name": "foundationAccordionStyles",
1920
1928
  "return": {
1921
1929
  "type": {
1922
1930
  "text": "ElementStyles"
@@ -1941,281 +1949,277 @@
1941
1949
  "exports": [
1942
1950
  {
1943
1951
  "kind": "js",
1944
- "name": "actionsMenuBaseStyles",
1945
- "declaration": {
1946
- "name": "actionsMenuBaseStyles",
1947
- "module": "src/actions-menu/actions-menu.styles.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationActionsMenuStyles",
1952
+ "name": "foundationAccordionStyles",
1953
1953
  "declaration": {
1954
- "name": "foundationActionsMenuStyles",
1955
- "module": "src/actions-menu/actions-menu.styles.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
1956
1956
  }
1957
1957
  }
1958
1958
  ]
1959
1959
  },
1960
1960
  {
1961
1961
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/actions-menu.template.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
1963
1963
  "declarations": [
1964
1964
  {
1965
1965
  "kind": "function",
1966
- "name": "menuTemplate",
1966
+ "name": "foundationAccordionTemplate",
1967
+ "return": {
1968
+ "type": {
1969
+ "text": "ViewTemplate<Accordion>"
1970
+ }
1971
+ },
1967
1972
  "parameters": [
1968
1973
  {
1969
- "name": "prefix",
1974
+ "name": "context",
1970
1975
  "type": {
1971
- "text": "string"
1976
+ "text": "ElementDefinitionContext"
1972
1977
  }
1973
- }
1974
- ]
1975
- },
1976
- {
1977
- "kind": "function",
1978
- "name": "singleOptionTemplate",
1979
- "parameters": [
1978
+ },
1980
1979
  {
1981
- "name": "prefix",
1980
+ "name": "definition",
1982
1981
  "type": {
1983
- "text": "string"
1982
+ "text": "FoundationElementDefinition"
1984
1983
  }
1985
1984
  }
1986
1985
  ]
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`"
1995
1986
  }
1996
1987
  ],
1997
1988
  "exports": [
1998
1989
  {
1999
1990
  "kind": "js",
2000
- "name": "menuTemplate",
2001
- "declaration": {
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",
1991
+ "name": "foundationAccordionTemplate",
2017
1992
  "declaration": {
2018
- "name": "foundationActionsMenuTemplate",
2019
- "module": "src/actions-menu/actions-menu.template.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2020
1995
  }
2021
1996
  }
2022
1997
  ]
2023
1998
  },
2024
1999
  {
2025
2000
  "kind": "javascript-module",
2026
- "path": "src/actions-menu/actions-menu.ts",
2001
+ "path": "src/accordion/accordion.ts",
2027
2002
  "declarations": [
2028
2003
  {
2029
2004
  "kind": "class",
2030
2005
  "description": "",
2031
- "name": "ActionsMenu",
2032
- "members": [
2006
+ "name": "Accordion",
2007
+ "superclass": {
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2010
+ },
2011
+ "tagName": "%%prefix%%-accordion",
2012
+ "customElement": true,
2013
+ "attributes": [
2033
2014
  {
2034
- "kind": "field",
2035
- "name": "actions",
2015
+ "name": "expand-mode",
2036
2016
  "type": {
2037
- "text": "ActionMenuItem[]"
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"
2038
2024
  }
2039
- },
2025
+ }
2026
+ ],
2027
+ "members": [
2040
2028
  {
2041
2029
  "kind": "field",
2042
- "name": "isVertical",
2030
+ "name": "expandmode",
2043
2031
  "type": {
2044
- "text": "boolean"
2032
+ "text": "AccordionExpandMode"
2045
2033
  },
2046
- "default": "false"
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
+ }
2047
2040
  },
2048
2041
  {
2049
2042
  "kind": "field",
2050
- "name": "addDefaultActions",
2043
+ "name": "activeid",
2051
2044
  "type": {
2052
- "text": "boolean"
2045
+ "text": "string | null"
2053
2046
  },
2054
- "default": "true"
2047
+ "privacy": "private",
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2055
2052
  },
2056
2053
  {
2057
2054
  "kind": "field",
2058
- "name": "autoCloseOnAction",
2055
+ "name": "activeItemIndex",
2059
2056
  "type": {
2060
- "text": "boolean"
2057
+ "text": "number"
2061
2058
  },
2062
- "default": "true"
2063
- },
2064
- {
2065
- "kind": "field",
2066
- "name": "classNames",
2067
- "type": {
2068
- "text": "string"
2059
+ "privacy": "private",
2060
+ "default": "0",
2061
+ "inheritedFrom": {
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2069
2064
  }
2070
2065
  },
2071
2066
  {
2072
2067
  "kind": "field",
2073
- "name": "definition",
2068
+ "name": "accordionIds",
2074
2069
  "type": {
2075
- "text": "any"
2070
+ "text": "Array<string | null>"
2071
+ },
2072
+ "privacy": "private",
2073
+ "inheritedFrom": {
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2076
2076
  }
2077
2077
  },
2078
2078
  {
2079
2079
  "kind": "field",
2080
- "name": "name",
2081
- "type": {
2082
- "text": "string"
2083
- },
2084
- "default": "'Actions'"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2085
+ }
2085
2086
  },
2086
2087
  {
2087
- "kind": "field",
2088
- "name": "open",
2089
- "type": {
2090
- "text": "boolean"
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2091
2095
  },
2092
- "default": "false"
2093
- },
2094
- {
2095
- "kind": "field",
2096
- "name": "buttonAppearance",
2097
- "type": {
2098
- "text": "string"
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2099
2099
  }
2100
2100
  },
2101
2101
  {
2102
2102
  "kind": "field",
2103
- "name": "hideDisabled",
2104
- "type": {
2105
- "text": "boolean"
2106
- },
2107
- "default": "false"
2103
+ "name": "setItems",
2104
+ "privacy": "private",
2105
+ "inheritedFrom": {
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2108
2109
  },
2109
2110
  {
2110
- "kind": "field",
2111
- "name": "hideMenuSingleOption",
2112
- "type": {
2113
- "text": "boolean"
2111
+ "kind": "method",
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2114
2118
  },
2115
- "default": "false"
2116
- },
2117
- {
2118
- "kind": "field",
2119
- "name": "singleOption",
2120
- "type": {
2121
- "text": "ActionMenuItem"
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2122
2122
  }
2123
2123
  },
2124
2124
  {
2125
2125
  "kind": "field",
2126
- "name": "actionsMenu",
2127
- "type": {
2128
- "text": "HTMLElement"
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2129
2131
  }
2130
2132
  },
2131
2133
  {
2132
2134
  "kind": "field",
2133
- "name": "actionsOpener",
2134
- "type": {
2135
- "text": "HTMLElement"
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2136
2140
  }
2137
2141
  },
2138
2142
  {
2139
2143
  "kind": "method",
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
- }
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2159
2149
  }
2160
- ]
2161
- },
2162
- {
2163
- "kind": "method",
2164
- "name": "openChanged",
2165
- "privacy": "protected"
2166
- },
2167
- {
2168
- "kind": "method",
2169
- "name": "toggleActionsMenuVisibility"
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2170
2155
  },
2171
2156
  {
2172
2157
  "kind": "method",
2173
- "name": "onActionMenuItemClick",
2174
- "parameters": [
2175
- {
2176
- "name": "callback",
2177
- "type": {
2178
- "text": "(rowData) => void | any"
2179
- }
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2160
+ "return": {
2161
+ "type": {
2162
+ "text": "boolean"
2180
2163
  }
2181
- ]
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2182
2169
  },
2183
2170
  {
2184
2171
  "kind": "field",
2185
- "name": "allActions",
2186
- "type": {
2187
- "text": "ActionMenuItem[]"
2188
- },
2189
- "readonly": true
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2177
+ }
2190
2178
  },
2191
2179
  {
2192
2180
  "kind": "field",
2193
- "name": "rowData",
2194
- "readonly": true
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2195
2187
  },
2196
2188
  {
2197
2189
  "kind": "method",
2198
- "name": "getLabel",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2192
+ "return": {
2193
+ "type": {
2194
+ "text": "void"
2195
+ }
2196
+ },
2199
2197
  "parameters": [
2200
2198
  {
2201
- "name": "name",
2199
+ "name": "adjustment",
2202
2200
  "type": {
2203
- "text": "string | ((rowData: any) => string)"
2201
+ "text": "number"
2204
2202
  }
2205
2203
  }
2206
- ]
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2207
2209
  },
2208
2210
  {
2209
2211
  "kind": "method",
2210
- "name": "getTemplate",
2211
- "parameters": [
2212
- {
2213
- "name": "prefix",
2214
- "type": {
2215
- "text": "string"
2216
- }
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2214
+ "return": {
2215
+ "type": {
2216
+ "text": "void"
2217
2217
  }
2218
- ]
2218
+ },
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2222
+ }
2219
2223
  },
2220
2224
  {
2221
2225
  "kind": "field",
@@ -2329,107 +2333,78 @@
2329
2333
  }
2330
2334
  }
2331
2335
  ],
2332
- "attributes": [
2333
- {
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
- },
2336
+ "events": [
2388
2337
  {
2389
- "name": "hide-menu-single-option",
2390
- "type": {
2391
- "text": "boolean"
2392
- },
2393
- "default": "false",
2394
- "fieldName": "hideMenuSingleOption"
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
+ }
2395
2344
  }
2396
- ],
2397
- "superclass": {
2398
- "name": "FoundationElement",
2399
- "package": "@microsoft/fast-foundation"
2345
+ ]
2346
+ },
2347
+ {
2348
+ "kind": "variable",
2349
+ "name": "foundationAccordionShadowOptions",
2350
+ "type": {
2351
+ "text": "ShadowRootInit"
2400
2352
  },
2401
- "tagName": "%%prefix%%-actions-menu",
2402
- "customElement": true
2353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2403
2354
  },
2404
2355
  {
2405
2356
  "kind": "variable",
2406
- "name": "foundationActionsMenu",
2407
- "description": "The Foundation Actions Menu",
2357
+ "name": "defaultAccordionConfig",
2358
+ "type": {
2359
+ "text": "object"
2360
+ },
2361
+ "default": "{}"
2362
+ },
2363
+ {
2364
+ "kind": "variable",
2365
+ "name": "foundationAccordion",
2366
+ "description": "The Foundation Accordion",
2408
2367
  "privacy": "public"
2409
2368
  }
2410
2369
  ],
2411
2370
  "exports": [
2412
2371
  {
2413
2372
  "kind": "js",
2414
- "name": "ActionsMenu",
2373
+ "name": "Accordion",
2415
2374
  "declaration": {
2416
- "name": "ActionsMenu",
2417
- "module": "src/actions-menu/actions-menu.ts"
2375
+ "name": "Accordion",
2376
+ "module": "src/accordion/accordion.ts"
2418
2377
  }
2419
2378
  },
2420
2379
  {
2421
2380
  "kind": "js",
2422
- "name": "foundationActionsMenu",
2381
+ "name": "foundationAccordionShadowOptions",
2423
2382
  "declaration": {
2424
- "name": "foundationActionsMenu",
2425
- "module": "src/actions-menu/actions-menu.ts"
2383
+ "name": "foundationAccordionShadowOptions",
2384
+ "module": "src/accordion/accordion.ts"
2385
+ }
2386
+ },
2387
+ {
2388
+ "kind": "js",
2389
+ "name": "defaultAccordionConfig",
2390
+ "declaration": {
2391
+ "name": "defaultAccordionConfig",
2392
+ "module": "src/accordion/accordion.ts"
2393
+ }
2394
+ },
2395
+ {
2396
+ "kind": "js",
2397
+ "name": "foundationAccordion",
2398
+ "declaration": {
2399
+ "name": "foundationAccordion",
2400
+ "module": "src/accordion/accordion.ts"
2426
2401
  }
2427
2402
  }
2428
2403
  ]
2429
2404
  },
2430
2405
  {
2431
2406
  "kind": "javascript-module",
2432
- "path": "src/actions-menu/index.ts",
2407
+ "path": "src/accordion/index.ts",
2433
2408
  "declarations": [],
2434
2409
  "exports": [
2435
2410
  {
@@ -2437,7 +2412,7 @@
2437
2412
  "name": "*",
2438
2413
  "declaration": {
2439
2414
  "name": "*",
2440
- "package": "./actions-menu.styles"
2415
+ "package": "./accordion.template"
2441
2416
  }
2442
2417
  },
2443
2418
  {
@@ -2445,7 +2420,7 @@
2445
2420
  "name": "*",
2446
2421
  "declaration": {
2447
2422
  "name": "*",
2448
- "package": "./actions-menu.template"
2423
+ "package": "./accordion.styles"
2449
2424
  }
2450
2425
  },
2451
2426
  {
@@ -2453,122 +2428,210 @@
2453
2428
  "name": "*",
2454
2429
  "declaration": {
2455
2430
  "name": "*",
2456
- "package": "./actions-menu"
2431
+ "package": "./accordion"
2457
2432
  }
2458
2433
  }
2459
2434
  ]
2460
2435
  },
2461
2436
  {
2462
2437
  "kind": "javascript-module",
2463
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2464
2439
  "declarations": [
2465
2440
  {
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`"
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
+ ]
2469
2485
  }
2470
2486
  ],
2471
2487
  "exports": [
2472
2488
  {
2473
2489
  "kind": "js",
2474
- "name": "foundationAiCriteriaSearchStyles",
2490
+ "name": "actionsMenuBaseStyles",
2475
2491
  "declaration": {
2476
- "name": "foundationAiCriteriaSearchStyles",
2477
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2478
2502
  }
2479
2503
  }
2480
2504
  ]
2481
2505
  },
2482
2506
  {
2483
2507
  "kind": "javascript-module",
2484
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2485
2509
  "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
+ },
2486
2534
  {
2487
2535
  "kind": "variable",
2488
- "name": "foundationAiCriteriaSearchTemplate",
2536
+ "name": "foundationActionsMenuTemplate",
2489
2537
  "type": {
2490
- "text": "ViewTemplate<AiCriteriaSearch>"
2538
+ "text": "ViewTemplate<ActionsMenu>"
2491
2539
  },
2492
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
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`"
2493
2541
  }
2494
2542
  ],
2495
2543
  "exports": [
2496
2544
  {
2497
2545
  "kind": "js",
2498
- "name": "foundationAiCriteriaSearchTemplate",
2546
+ "name": "menuTemplate",
2499
2547
  "declaration": {
2500
- "name": "foundationAiCriteriaSearchTemplate",
2501
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
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",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
2502
2566
  }
2503
2567
  }
2504
2568
  ]
2505
2569
  },
2506
2570
  {
2507
2571
  "kind": "javascript-module",
2508
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
2509
2573
  "declarations": [
2510
2574
  {
2511
2575
  "kind": "class",
2512
- "description": "Natural-language criteria search input with AI interpretation.",
2513
- "name": "AiCriteriaSearch",
2576
+ "description": "",
2577
+ "name": "ActionsMenu",
2514
2578
  "members": [
2515
2579
  {
2516
2580
  "kind": "field",
2517
- "name": "providerRegistry",
2581
+ "name": "actions",
2518
2582
  "type": {
2519
- "text": "AIProviderRegistry"
2583
+ "text": "ActionMenuItem[]"
2520
2584
  }
2521
2585
  },
2522
2586
  {
2523
2587
  "kind": "field",
2524
- "name": "placeholder",
2588
+ "name": "isVertical",
2525
2589
  "type": {
2526
- "text": "string"
2590
+ "text": "boolean"
2527
2591
  },
2528
- "default": "'Describe your search criteria in natural language...'"
2592
+ "default": "false"
2529
2593
  },
2530
2594
  {
2531
2595
  "kind": "field",
2532
- "name": "disabled",
2596
+ "name": "addDefaultActions",
2533
2597
  "type": {
2534
2598
  "text": "boolean"
2535
- }
2599
+ },
2600
+ "default": "true"
2536
2601
  },
2537
2602
  {
2538
2603
  "kind": "field",
2539
- "name": "inputValue",
2604
+ "name": "autoCloseOnAction",
2540
2605
  "type": {
2541
- "text": "string"
2606
+ "text": "boolean"
2542
2607
  },
2543
- "default": "''"
2608
+ "default": "true"
2544
2609
  },
2545
2610
  {
2546
2611
  "kind": "field",
2547
- "name": "isInterpreting",
2612
+ "name": "classNames",
2548
2613
  "type": {
2549
- "text": "boolean"
2550
- },
2551
- "default": "false"
2614
+ "text": "string"
2615
+ }
2552
2616
  },
2553
2617
  {
2554
2618
  "kind": "field",
2555
- "name": "lastValidCriteria",
2619
+ "name": "definition",
2556
2620
  "type": {
2557
- "text": "string | null"
2558
- },
2559
- "default": "null"
2621
+ "text": "any"
2622
+ }
2560
2623
  },
2561
2624
  {
2562
2625
  "kind": "field",
2563
- "name": "activeGroups",
2626
+ "name": "name",
2564
2627
  "type": {
2565
- "text": "CriteriaGroup[]"
2628
+ "text": "string"
2566
2629
  },
2567
- "default": "[]"
2630
+ "default": "'Actions'"
2568
2631
  },
2569
2632
  {
2570
2633
  "kind": "field",
2571
- "name": "showingChips",
2634
+ "name": "open",
2572
2635
  "type": {
2573
2636
  "text": "boolean"
2574
2637
  },
@@ -2576,15 +2639,14 @@
2576
2639
  },
2577
2640
  {
2578
2641
  "kind": "field",
2579
- "name": "fieldMetadata",
2642
+ "name": "buttonAppearance",
2580
2643
  "type": {
2581
- "text": "MetadataDetail[] | string[]"
2582
- },
2583
- "default": "[]"
2644
+ "text": "string"
2645
+ }
2584
2646
  },
2585
2647
  {
2586
2648
  "kind": "field",
2587
- "name": "isRecording",
2649
+ "name": "hideDisabled",
2588
2650
  "type": {
2589
2651
  "text": "boolean"
2590
2652
  },
@@ -2592,125 +2654,114 @@
2592
2654
  },
2593
2655
  {
2594
2656
  "kind": "field",
2595
- "name": "textAreaRef",
2596
- "type": {
2597
- "text": "HTMLTextAreaElement"
2598
- },
2599
- "privacy": "public"
2600
- },
2601
- {
2602
- "kind": "field",
2603
- "name": "stopRecording",
2657
+ "name": "hideMenuSingleOption",
2604
2658
  "type": {
2605
- "text": "(() => void) | null"
2659
+ "text": "boolean"
2606
2660
  },
2607
- "privacy": "private",
2608
- "default": "null"
2661
+ "default": "false"
2609
2662
  },
2610
2663
  {
2611
2664
  "kind": "field",
2612
- "name": "speechApplyDebounceTimer",
2665
+ "name": "singleOption",
2613
2666
  "type": {
2614
- "text": "ReturnType<typeof setTimeout> | null"
2615
- },
2616
- "privacy": "private",
2617
- "default": "null"
2667
+ "text": "ActionMenuItem"
2668
+ }
2618
2669
  },
2619
2670
  {
2620
2671
  "kind": "field",
2621
- "name": "speechAvailable",
2672
+ "name": "actionsMenu",
2622
2673
  "type": {
2623
- "text": "boolean"
2624
- },
2625
- "readonly": true
2674
+ "text": "HTMLElement"
2675
+ }
2626
2676
  },
2627
2677
  {
2628
2678
  "kind": "field",
2629
- "name": "criteriaChips",
2679
+ "name": "actionsOpener",
2630
2680
  "type": {
2631
- "text": "CriteriaChip[]"
2632
- },
2633
- "readonly": true
2634
- },
2635
- {
2636
- "kind": "method",
2637
- "name": "getFieldLabel",
2638
- "privacy": "private",
2639
- "return": {
2640
- "type": {
2641
- "text": "string"
2642
- }
2643
- },
2644
- "parameters": [
2645
- {
2646
- "name": "fieldName",
2647
- "type": {
2648
- "text": "string"
2649
- }
2650
- }
2651
- ]
2681
+ "text": "HTMLElement"
2682
+ }
2652
2683
  },
2653
2684
  {
2654
2685
  "kind": "method",
2655
- "name": "toggleCriteriaView",
2656
- "return": {
2657
- "type": {
2658
- "text": "void"
2659
- }
2660
- }
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2661
2688
  },
2662
2689
  {
2663
2690
  "kind": "method",
2664
- "name": "removeChip",
2665
- "return": {
2666
- "type": {
2667
- "text": "void"
2668
- }
2669
- },
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
2670
2693
  "parameters": [
2671
2694
  {
2672
- "name": "groupIndex",
2695
+ "name": "oldValue",
2673
2696
  "type": {
2674
- "text": "number"
2697
+ "text": "any"
2675
2698
  }
2676
2699
  },
2677
2700
  {
2678
- "name": "clauseIndex",
2701
+ "name": "newValue",
2679
2702
  "type": {
2680
- "text": "number"
2703
+ "text": "any"
2681
2704
  }
2682
2705
  }
2683
2706
  ]
2684
2707
  },
2685
2708
  {
2686
2709
  "kind": "method",
2687
- "name": "clearChips",
2688
- "return": {
2689
- "type": {
2690
- "text": "void"
2691
- }
2692
- }
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
2693
2712
  },
2694
2713
  {
2695
2714
  "kind": "method",
2696
- "name": "handleSubmit"
2715
+ "name": "toggleActionsMenuVisibility"
2697
2716
  },
2698
2717
  {
2699
2718
  "kind": "method",
2700
- "name": "handleBlur"
2719
+ "name": "onActionMenuItemClick",
2720
+ "parameters": [
2721
+ {
2722
+ "name": "callback",
2723
+ "type": {
2724
+ "text": "(rowData) => void | any"
2725
+ }
2726
+ }
2727
+ ]
2701
2728
  },
2702
2729
  {
2703
- "kind": "method",
2704
- "name": "clear"
2730
+ "kind": "field",
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
2736
+ },
2737
+ {
2738
+ "kind": "field",
2739
+ "name": "rowData",
2740
+ "readonly": true
2705
2741
  },
2706
2742
  {
2707
2743
  "kind": "method",
2708
- "name": "toggleSpeechInput"
2744
+ "name": "getLabel",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "name",
2748
+ "type": {
2749
+ "text": "string | ((rowData: any) => string)"
2750
+ }
2751
+ }
2752
+ ]
2709
2753
  },
2710
2754
  {
2711
2755
  "kind": "method",
2712
- "name": "clearSpeechApplyDebounce",
2713
- "privacy": "private"
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
2763
+ }
2764
+ ]
2714
2765
  },
2715
2766
  {
2716
2767
  "kind": "field",
@@ -2824,154 +2875,115 @@
2824
2875
  }
2825
2876
  }
2826
2877
  ],
2827
- "events": [
2878
+ "attributes": [
2828
2879
  {
2829
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2830
- "name": "criteria-changed"
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2831
2886
  },
2832
2887
  {
2833
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2834
- "name": "validation-errors"
2835
- }
2836
- ],
2837
- "attributes": [
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2838
2895
  {
2839
- "name": "placeholder",
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2840
2905
  "type": {
2841
2906
  "text": "string"
2842
2907
  },
2843
- "default": "'Describe your search criteria in natural language...'",
2844
- "fieldName": "placeholder"
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2845
2910
  },
2846
2911
  {
2912
+ "name": "open",
2847
2913
  "type": {
2848
2914
  "text": "boolean"
2849
2915
  },
2850
- "fieldName": "disabled"
2916
+ "default": "false",
2917
+ "fieldName": "open"
2918
+ },
2919
+ {
2920
+ "name": "buttonAppearance",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "fieldName": "buttonAppearance"
2925
+ },
2926
+ {
2927
+ "name": "hide-disabled",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2851
2941
  }
2852
2942
  ],
2853
2943
  "superclass": {
2854
2944
  "name": "FoundationElement",
2855
2945
  "package": "@microsoft/fast-foundation"
2856
2946
  },
2857
- "tagName": "%%prefix%%-ai-criteria-search",
2947
+ "tagName": "%%prefix%%-actions-menu",
2858
2948
  "customElement": true
2859
2949
  },
2860
2950
  {
2861
2951
  "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"
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2954
+ "privacy": "public"
2879
2955
  }
2880
2956
  ],
2881
2957
  "exports": [
2882
2958
  {
2883
2959
  "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",
2960
+ "name": "ActionsMenu",
2901
2961
  "declaration": {
2902
- "name": "defaultAiCriteriaSearchConfig",
2903
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
2904
2964
  }
2905
2965
  },
2906
2966
  {
2907
2967
  "kind": "js",
2908
- "name": "foundationAiCriteriaSearch",
2968
+ "name": "foundationActionsMenu",
2909
2969
  "declaration": {
2910
- "name": "foundationAiCriteriaSearch",
2911
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
2912
2972
  }
2913
2973
  }
2914
2974
  ]
2915
2975
  },
2916
2976
  {
2917
2977
  "kind": "javascript-module",
2918
- "path": "src/ai-criteria-search/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
2919
2979
  "declarations": [],
2920
2980
  "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
2981
  {
2970
2982
  "kind": "js",
2971
2983
  "name": "*",
2972
2984
  "declaration": {
2973
2985
  "name": "*",
2974
- "package": "./validation/criteria-ir"
2986
+ "package": "./actions-menu.styles"
2975
2987
  }
2976
2988
  },
2977
2989
  {
@@ -2979,7 +2991,7 @@
2979
2991
  "name": "*",
2980
2992
  "declaration": {
2981
2993
  "name": "*",
2982
- "package": "./validation/operator-map"
2994
+ "package": "./actions-menu.template"
2983
2995
  }
2984
2996
  },
2985
2997
  {
@@ -2987,157 +2999,64 @@
2987
2999
  "name": "*",
2988
3000
  "declaration": {
2989
3001
  "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": [
3008
- {
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",
3028
- "type": {
3029
- "text": "string"
3030
- },
3031
- "description": "Notification title (e.g. \"Criteria validation error\")"
3032
- },
3033
- {
3034
- "name": "body",
3035
- "type": {
3036
- "text": "string"
3037
- },
3038
- "description": "Error message to display"
3039
- },
3040
- {
3041
- "name": "tagName",
3042
- "type": {
3043
- "text": "string"
3044
- },
3045
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3046
- }
3047
- ],
3048
- "description": "Shows a criteria error as a toast notification."
3049
- }
3050
- ],
3051
- "exports": [
3052
- {
3053
- "kind": "js",
3054
- "name": "formatValidationErrors",
3055
- "declaration": {
3056
- "name": "formatValidationErrors",
3057
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3058
- }
3059
- },
3060
- {
3061
- "kind": "js",
3062
- "name": "showCriteriaError",
3063
- "declaration": {
3064
- "name": "showCriteriaError",
3065
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3002
+ "package": "./actions-menu"
3066
3003
  }
3067
3004
  }
3068
3005
  ]
3069
3006
  },
3070
3007
  {
3071
3008
  "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3009
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3073
3010
  "declarations": [
3074
3011
  {
3075
- "kind": "function",
3076
- "name": "foundationAiIndicatorStyles",
3077
- "return": {
3078
- "type": {
3079
- "text": "ElementStyles"
3080
- }
3081
- },
3082
- "parameters": [
3083
- {
3084
- "name": "context",
3085
- "type": {
3086
- "text": "ElementDefinitionContext"
3087
- }
3088
- },
3089
- {
3090
- "name": "definition",
3091
- "type": {
3092
- "text": "FoundationElementDefinition"
3093
- }
3094
- }
3095
- ]
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`"
3096
3015
  }
3097
3016
  ],
3098
3017
  "exports": [
3099
3018
  {
3100
3019
  "kind": "js",
3101
- "name": "foundationAiIndicatorStyles",
3020
+ "name": "foundationAiCriteriaSearchStyles",
3102
3021
  "declaration": {
3103
- "name": "foundationAiIndicatorStyles",
3104
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3022
+ "name": "foundationAiCriteriaSearchStyles",
3023
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3105
3024
  }
3106
3025
  }
3107
3026
  ]
3108
3027
  },
3109
3028
  {
3110
3029
  "kind": "javascript-module",
3111
- "path": "src/ai-indicator/ai-indicator.template.ts",
3030
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3112
3031
  "declarations": [
3113
3032
  {
3114
3033
  "kind": "variable",
3115
- "name": "foundationAiIndicatorTemplate",
3034
+ "name": "foundationAiCriteriaSearchTemplate",
3116
3035
  "type": {
3117
- "text": "ViewTemplate<AiIndicator>"
3036
+ "text": "ViewTemplate<AiCriteriaSearch>"
3118
3037
  },
3119
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3038
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3120
3039
  }
3121
3040
  ],
3122
3041
  "exports": [
3123
3042
  {
3124
3043
  "kind": "js",
3125
- "name": "foundationAiIndicatorTemplate",
3044
+ "name": "foundationAiCriteriaSearchTemplate",
3126
3045
  "declaration": {
3127
- "name": "foundationAiIndicatorTemplate",
3128
- "module": "src/ai-indicator/ai-indicator.template.ts"
3046
+ "name": "foundationAiCriteriaSearchTemplate",
3047
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3129
3048
  }
3130
3049
  }
3131
3050
  ]
3132
3051
  },
3133
3052
  {
3134
3053
  "kind": "javascript-module",
3135
- "path": "src/ai-indicator/ai-indicator.ts",
3054
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3136
3055
  "declarations": [
3137
3056
  {
3138
3057
  "kind": "class",
3139
- "description": "",
3140
- "name": "AiIndicator",
3058
+ "description": "Natural-language criteria search input with AI interpretation.",
3059
+ "name": "AiCriteriaSearch",
3141
3060
  "members": [
3142
3061
  {
3143
3062
  "kind": "field",
@@ -3148,25 +3067,54 @@
3148
3067
  },
3149
3068
  {
3150
3069
  "kind": "field",
3151
- "name": "aiProvider",
3070
+ "name": "placeholder",
3152
3071
  "type": {
3153
- "text": "AIProvider | undefined"
3072
+ "text": "string"
3154
3073
  },
3155
- "privacy": "private",
3156
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3157
- "readonly": true
3074
+ "default": "'Describe your search criteria in natural language...'"
3158
3075
  },
3159
3076
  {
3160
3077
  "kind": "field",
3161
- "name": "status",
3078
+ "name": "disabled",
3162
3079
  "type": {
3163
- "text": "AIStatus | null"
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",
3094
+ "type": {
3095
+ "text": "boolean"
3096
+ },
3097
+ "default": "false"
3098
+ },
3099
+ {
3100
+ "kind": "field",
3101
+ "name": "lastValidCriteria",
3102
+ "type": {
3103
+ "text": "string | null"
3164
3104
  },
3165
3105
  "default": "null"
3166
3106
  },
3167
3107
  {
3168
3108
  "kind": "field",
3169
- "name": "open",
3109
+ "name": "activeGroups",
3110
+ "type": {
3111
+ "text": "CriteriaGroup[]"
3112
+ },
3113
+ "default": "[]"
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "showingChips",
3170
3118
  "type": {
3171
3119
  "text": "boolean"
3172
3120
  },
@@ -3174,15 +3122,15 @@
3174
3122
  },
3175
3123
  {
3176
3124
  "kind": "field",
3177
- "name": "state",
3125
+ "name": "fieldMetadata",
3178
3126
  "type": {
3179
- "text": "AIIndicatorState"
3127
+ "text": "MetadataDetail[] | string[]"
3180
3128
  },
3181
- "default": "'none'"
3129
+ "default": "[]"
3182
3130
  },
3183
3131
  {
3184
3132
  "kind": "field",
3185
- "name": "isInstalling",
3133
+ "name": "isRecording",
3186
3134
  "type": {
3187
3135
  "text": "boolean"
3188
3136
  },
@@ -3190,29 +3138,33 @@
3190
3138
  },
3191
3139
  {
3192
3140
  "kind": "field",
3193
- "name": "pollTimer",
3141
+ "name": "textAreaRef",
3194
3142
  "type": {
3195
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "HTMLTextAreaElement"
3196
3144
  },
3197
- "privacy": "private",
3198
- "default": "null"
3145
+ "privacy": "public"
3199
3146
  },
3200
3147
  {
3201
3148
  "kind": "field",
3202
- "name": "clickOutside",
3203
- "privacy": "private"
3149
+ "name": "stopRecording",
3150
+ "type": {
3151
+ "text": "(() => void) | null"
3152
+ },
3153
+ "privacy": "private",
3154
+ "default": "null"
3204
3155
  },
3205
3156
  {
3206
3157
  "kind": "field",
3207
- "name": "chromeStatusLabel",
3158
+ "name": "speechApplyDebounceTimer",
3208
3159
  "type": {
3209
- "text": "string | null"
3160
+ "text": "ReturnType<typeof setTimeout> | null"
3210
3161
  },
3211
- "readonly": true
3162
+ "privacy": "private",
3163
+ "default": "null"
3212
3164
  },
3213
3165
  {
3214
3166
  "kind": "field",
3215
- "name": "canInstall",
3167
+ "name": "speechAvailable",
3216
3168
  "type": {
3217
3169
  "text": "boolean"
3218
3170
  },
@@ -3220,69 +3172,65 @@
3220
3172
  },
3221
3173
  {
3222
3174
  "kind": "field",
3223
- "name": "isDownloading",
3175
+ "name": "criteriaChips",
3224
3176
  "type": {
3225
- "text": "boolean"
3177
+ "text": "CriteriaChip[]"
3226
3178
  },
3227
3179
  "readonly": true
3228
3180
  },
3229
3181
  {
3230
3182
  "kind": "method",
3231
- "name": "openChanged",
3183
+ "name": "getFieldLabel",
3184
+ "privacy": "private",
3232
3185
  "return": {
3233
3186
  "type": {
3234
- "text": "void"
3187
+ "text": "string"
3235
3188
  }
3236
- }
3237
- },
3238
- {
3239
- "kind": "method",
3240
- "name": "handleClickOutside",
3241
- "privacy": "private",
3189
+ },
3242
3190
  "parameters": [
3243
3191
  {
3244
- "name": "event",
3192
+ "name": "fieldName",
3245
3193
  "type": {
3246
- "text": "MouseEvent"
3194
+ "text": "string"
3247
3195
  }
3248
3196
  }
3249
3197
  ]
3250
3198
  },
3251
3199
  {
3252
3200
  "kind": "method",
3253
- "name": "toggleDropdown"
3254
- },
3255
- {
3256
- "kind": "method",
3257
- "name": "refreshStatus",
3201
+ "name": "toggleCriteriaView",
3258
3202
  "return": {
3259
3203
  "type": {
3260
- "text": "Promise<void>"
3204
+ "text": "void"
3261
3205
  }
3262
3206
  }
3263
3207
  },
3264
3208
  {
3265
3209
  "kind": "method",
3266
- "name": "deriveState",
3267
- "privacy": "private",
3210
+ "name": "removeChip",
3268
3211
  "return": {
3269
3212
  "type": {
3270
- "text": "AIIndicatorState"
3213
+ "text": "void"
3271
3214
  }
3272
3215
  },
3273
3216
  "parameters": [
3274
3217
  {
3275
- "name": "s",
3218
+ "name": "groupIndex",
3276
3219
  "type": {
3277
- "text": "AIStatus | null"
3220
+ "text": "number"
3221
+ }
3222
+ },
3223
+ {
3224
+ "name": "clauseIndex",
3225
+ "type": {
3226
+ "text": "number"
3278
3227
  }
3279
3228
  }
3280
3229
  ]
3281
3230
  },
3282
3231
  {
3283
3232
  "kind": "method",
3284
- "name": "maybeStartPolling",
3285
- "privacy": "private",
3233
+ "name": "clearChips",
3286
3234
  "return": {
3287
3235
  "type": {
3288
3236
  "text": "void"
@@ -3291,32 +3239,24 @@
3291
3239
  },
3292
3240
  {
3293
3241
  "kind": "method",
3294
- "name": "startPolling",
3295
- "privacy": "private",
3296
- "return": {
3297
- "type": {
3298
- "text": "void"
3299
- }
3300
- }
3242
+ "name": "handleSubmit"
3301
3243
  },
3302
3244
  {
3303
3245
  "kind": "method",
3304
- "name": "stopPolling",
3305
- "privacy": "private",
3306
- "return": {
3307
- "type": {
3308
- "text": "void"
3309
- }
3310
- }
3246
+ "name": "handleBlur"
3311
3247
  },
3312
3248
  {
3313
3249
  "kind": "method",
3314
- "name": "onInstall",
3315
- "return": {
3316
- "type": {
3317
- "text": "Promise<void>"
3318
- }
3319
- }
3250
+ "name": "clear"
3251
+ },
3252
+ {
3253
+ "kind": "method",
3254
+ "name": "toggleSpeechInput"
3255
+ },
3256
+ {
3257
+ "kind": "method",
3258
+ "name": "clearSpeechApplyDebounce",
3259
+ "privacy": "private"
3320
3260
  },
3321
3261
  {
3322
3262
  "kind": "field",
@@ -3430,103 +3370,154 @@
3430
3370
  }
3431
3371
  }
3432
3372
  ],
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
+ ],
3433
3399
  "superclass": {
3434
3400
  "name": "FoundationElement",
3435
3401
  "package": "@microsoft/fast-foundation"
3436
3402
  },
3437
- "tagName": "%%prefix%%-ai-indicator",
3403
+ "tagName": "%%prefix%%-ai-criteria-search",
3438
3404
  "customElement": true
3439
3405
  },
3440
3406
  {
3441
3407
  "kind": "variable",
3442
- "name": "foundationAiIndicator"
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"
3443
3425
  }
3444
3426
  ],
3445
3427
  "exports": [
3446
3428
  {
3447
3429
  "kind": "js",
3448
- "name": "AiIndicator",
3430
+ "name": "AiCriteriaSearch",
3449
3431
  "declaration": {
3450
- "name": "AiIndicator",
3451
- "module": "src/ai-indicator/ai-indicator.ts"
3432
+ "name": "AiCriteriaSearch",
3433
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3452
3434
  }
3453
3435
  },
3454
3436
  {
3455
3437
  "kind": "js",
3456
- "name": "foundationAiIndicator",
3438
+ "name": "foundationAiCriteriaSearchShadowOptions",
3457
3439
  "declaration": {
3458
- "name": "foundationAiIndicator",
3459
- "module": "src/ai-indicator/ai-indicator.ts"
3440
+ "name": "foundationAiCriteriaSearchShadowOptions",
3441
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
+ }
3443
+ },
3444
+ {
3445
+ "kind": "js",
3446
+ "name": "defaultAiCriteriaSearchConfig",
3447
+ "declaration": {
3448
+ "name": "defaultAiCriteriaSearchConfig",
3449
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3450
+ }
3451
+ },
3452
+ {
3453
+ "kind": "js",
3454
+ "name": "foundationAiCriteriaSearch",
3455
+ "declaration": {
3456
+ "name": "foundationAiCriteriaSearch",
3457
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3460
3458
  }
3461
3459
  }
3462
3460
  ]
3463
3461
  },
3464
3462
  {
3465
3463
  "kind": "javascript-module",
3466
- "path": "src/ai-indicator/index.ts",
3464
+ "path": "src/ai-criteria-search/index.ts",
3467
3465
  "declarations": [],
3468
3466
  "exports": [
3469
3467
  {
3470
3468
  "kind": "js",
3471
- "name": "AiIndicator",
3469
+ "name": "AiCriteriaSearch",
3472
3470
  "declaration": {
3473
- "name": "AiIndicator",
3474
- "module": "./ai-indicator"
3471
+ "name": "AiCriteriaSearch",
3472
+ "module": "./ai-criteria-search"
3475
3473
  }
3476
3474
  },
3477
3475
  {
3478
3476
  "kind": "js",
3479
- "name": "foundationAiIndicator",
3477
+ "name": "defaultAiCriteriaSearchConfig",
3480
3478
  "declaration": {
3481
- "name": "foundationAiIndicator",
3482
- "module": "./ai-indicator"
3479
+ "name": "defaultAiCriteriaSearchConfig",
3480
+ "module": "./ai-criteria-search"
3483
3481
  }
3484
3482
  },
3485
3483
  {
3486
3484
  "kind": "js",
3487
- "name": "type",
3485
+ "name": "foundationAiCriteriaSearch",
3488
3486
  "declaration": {
3489
- "name": "type",
3490
- "module": "./ai-indicator"
3487
+ "name": "foundationAiCriteriaSearch",
3488
+ "module": "./ai-criteria-search"
3491
3489
  }
3492
3490
  },
3493
3491
  {
3494
3492
  "kind": "js",
3495
- "name": "AIIndicatorState",
3493
+ "name": "foundationAiCriteriaSearchShadowOptions",
3496
3494
  "declaration": {
3497
- "name": "AIIndicatorState",
3498
- "module": "./ai-indicator"
3495
+ "name": "foundationAiCriteriaSearchShadowOptions",
3496
+ "module": "./ai-criteria-search"
3499
3497
  }
3500
3498
  },
3501
3499
  {
3502
3500
  "kind": "js",
3503
- "name": "foundationAiIndicatorTemplate",
3501
+ "name": "foundationAiCriteriaSearchStyles",
3504
3502
  "declaration": {
3505
- "name": "foundationAiIndicatorTemplate",
3506
- "module": "./ai-indicator.template"
3503
+ "name": "foundationAiCriteriaSearchStyles",
3504
+ "module": "./ai-criteria-search.styles"
3507
3505
  }
3508
3506
  },
3509
3507
  {
3510
3508
  "kind": "js",
3511
- "name": "foundationAiIndicatorStyles",
3509
+ "name": "foundationAiCriteriaSearchTemplate",
3512
3510
  "declaration": {
3513
- "name": "foundationAiIndicatorStyles",
3514
- "module": "./ai-indicator.styles"
3511
+ "name": "foundationAiCriteriaSearchTemplate",
3512
+ "module": "./ai-criteria-search.template"
3515
3513
  }
3516
- }
3517
- ]
3518
- },
3519
- {
3520
- "kind": "javascript-module",
3521
- "path": "src/_config/index.ts",
3522
- "declarations": [],
3523
- "exports": [
3514
+ },
3524
3515
  {
3525
3516
  "kind": "js",
3526
3517
  "name": "*",
3527
3518
  "declaration": {
3528
3519
  "name": "*",
3529
- "package": "./styles"
3520
+ "package": "./validation/criteria-ir"
3530
3521
  }
3531
3522
  },
3532
3523
  {
@@ -3534,7 +3525,7 @@
3534
3525
  "name": "*",
3535
3526
  "declaration": {
3536
3527
  "name": "*",
3537
- "package": "./tokens"
3528
+ "package": "./validation/operator-map"
3538
3529
  }
3539
3530
  },
3540
3531
  {
@@ -3542,60 +3533,96 @@
3542
3533
  "name": "*",
3543
3534
  "declaration": {
3544
3535
  "name": "*",
3545
- "package": "./values"
3536
+ "package": "./validation/schema-validator"
3546
3537
  }
3547
3538
  }
3548
3539
  ]
3549
3540
  },
3550
3541
  {
3551
3542
  "kind": "javascript-module",
3552
- "path": "src/accordion/accordion.styles.ts",
3543
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3553
3544
  "declarations": [
3554
3545
  {
3555
3546
  "kind": "function",
3556
- "name": "foundationAccordionStyles",
3547
+ "name": "formatValidationErrors",
3557
3548
  "return": {
3558
3549
  "type": {
3559
- "text": "ElementStyles"
3550
+ "text": "string"
3560
3551
  }
3561
3552
  },
3562
3553
  "parameters": [
3563
3554
  {
3564
- "name": "context",
3555
+ "name": "errors",
3565
3556
  "type": {
3566
- "text": "ElementDefinitionContext"
3557
+ "text": "ValidationError[]"
3567
3558
  }
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\")"
3568
3578
  },
3569
3579
  {
3570
- "name": "definition",
3580
+ "name": "body",
3571
3581
  "type": {
3572
- "text": "FoundationElementDefinition"
3573
- }
3582
+ "text": "string"
3583
+ },
3584
+ "description": "Error message to display"
3585
+ },
3586
+ {
3587
+ "name": "tagName",
3588
+ "type": {
3589
+ "text": "string"
3590
+ },
3591
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3574
3592
  }
3575
- ]
3593
+ ],
3594
+ "description": "Shows a criteria error as a toast notification."
3576
3595
  }
3577
3596
  ],
3578
3597
  "exports": [
3579
3598
  {
3580
3599
  "kind": "js",
3581
- "name": "foundationAccordionStyles",
3600
+ "name": "formatValidationErrors",
3582
3601
  "declaration": {
3583
- "name": "foundationAccordionStyles",
3584
- "module": "src/accordion/accordion.styles.ts"
3602
+ "name": "formatValidationErrors",
3603
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "js",
3608
+ "name": "showCriteriaError",
3609
+ "declaration": {
3610
+ "name": "showCriteriaError",
3611
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3585
3612
  }
3586
3613
  }
3587
3614
  ]
3588
3615
  },
3589
3616
  {
3590
3617
  "kind": "javascript-module",
3591
- "path": "src/accordion/accordion.template.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3592
3619
  "declarations": [
3593
3620
  {
3594
3621
  "kind": "function",
3595
- "name": "foundationAccordionTemplate",
3622
+ "name": "foundationAiIndicatorStyles",
3596
3623
  "return": {
3597
3624
  "type": {
3598
- "text": "ViewTemplate<Accordion>"
3625
+ "text": "ElementStyles"
3599
3626
  }
3600
3627
  },
3601
3628
  "parameters": [
@@ -3617,237 +3644,224 @@
3617
3644
  "exports": [
3618
3645
  {
3619
3646
  "kind": "js",
3620
- "name": "foundationAccordionTemplate",
3647
+ "name": "foundationAiIndicatorStyles",
3621
3648
  "declaration": {
3622
- "name": "foundationAccordionTemplate",
3623
- "module": "src/accordion/accordion.template.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3624
3651
  }
3625
3652
  }
3626
3653
  ]
3627
3654
  },
3628
3655
  {
3629
3656
  "kind": "javascript-module",
3630
- "path": "src/accordion/accordion.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3631
3682
  "declarations": [
3632
3683
  {
3633
3684
  "kind": "class",
3634
3685
  "description": "",
3635
- "name": "Accordion",
3636
- "superclass": {
3637
- "name": "FASTAccordion",
3638
- "package": "@microsoft/fast-foundation"
3639
- },
3640
- "tagName": "%%prefix%%-accordion",
3641
- "customElement": true,
3642
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3643
3688
  {
3644
- "name": "expand-mode",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3645
3691
  "type": {
3646
- "text": "AccordionExpandMode"
3647
- },
3648
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
- "fieldName": "expandmode",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3692
+ "text": "AIProviderRegistry"
3653
3693
  }
3654
- }
3655
- ],
3656
- "members": [
3694
+ },
3657
3695
  {
3658
3696
  "kind": "field",
3659
- "name": "expandmode",
3697
+ "name": "aiProvider",
3660
3698
  "type": {
3661
- "text": "AccordionExpandMode"
3699
+ "text": "AIProvider | undefined"
3662
3700
  },
3663
- "privacy": "public",
3664
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3668
- }
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3669
3704
  },
3670
3705
  {
3671
3706
  "kind": "field",
3672
- "name": "activeid",
3707
+ "name": "status",
3673
3708
  "type": {
3674
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3675
3710
  },
3676
- "privacy": "private",
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
- }
3711
+ "default": "null"
3681
3712
  },
3682
3713
  {
3683
3714
  "kind": "field",
3684
- "name": "activeItemIndex",
3715
+ "name": "open",
3685
3716
  "type": {
3686
- "text": "number"
3717
+ "text": "boolean"
3687
3718
  },
3688
- "privacy": "private",
3689
- "default": "0",
3690
- "inheritedFrom": {
3691
- "name": "Accordion",
3692
- "module": "src/accordion/accordion.ts"
3693
- }
3719
+ "default": "false"
3694
3720
  },
3695
3721
  {
3696
3722
  "kind": "field",
3697
- "name": "accordionIds",
3723
+ "name": "state",
3698
3724
  "type": {
3699
- "text": "Array<string | null>"
3725
+ "text": "AIIndicatorState"
3700
3726
  },
3701
- "privacy": "private",
3702
- "inheritedFrom": {
3703
- "name": "Accordion",
3704
- "module": "src/accordion/accordion.ts"
3705
- }
3727
+ "default": "'none'"
3706
3728
  },
3707
3729
  {
3708
3730
  "kind": "field",
3709
- "name": "change",
3710
- "privacy": "private",
3711
- "inheritedFrom": {
3712
- "name": "Accordion",
3713
- "module": "src/accordion/accordion.ts"
3714
- }
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3715
3736
  },
3716
3737
  {
3717
- "kind": "method",
3718
- "name": "findExpandedItem",
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3719
3743
  "privacy": "private",
3720
- "return": {
3721
- "type": {
3722
- "text": "AccordionItem | null"
3723
- }
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3724
3756
  },
3725
- "inheritedFrom": {
3726
- "name": "Accordion",
3727
- "module": "src/accordion/accordion.ts"
3728
- }
3757
+ "readonly": true
3729
3758
  },
3730
3759
  {
3731
3760
  "kind": "field",
3732
- "name": "setItems",
3733
- "privacy": "private",
3734
- "inheritedFrom": {
3735
- "name": "Accordion",
3736
- "module": "src/accordion/accordion.ts"
3737
- }
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3738
3774
  },
3739
3775
  {
3740
3776
  "kind": "method",
3741
- "name": "resetItems",
3742
- "privacy": "private",
3777
+ "name": "openChanged",
3743
3778
  "return": {
3744
3779
  "type": {
3745
3780
  "text": "void"
3746
3781
  }
3747
- },
3748
- "inheritedFrom": {
3749
- "name": "Accordion",
3750
- "module": "src/accordion/accordion.ts"
3751
3782
  }
3752
3783
  },
3753
3784
  {
3754
- "kind": "field",
3755
- "name": "removeItemListeners",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3756
3787
  "privacy": "private",
3757
- "inheritedFrom": {
3758
- "name": "Accordion",
3759
- "module": "src/accordion/accordion.ts"
3760
- }
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3761
3796
  },
3762
3797
  {
3763
- "kind": "field",
3764
- "name": "activeItemChange",
3765
- "privacy": "private",
3766
- "inheritedFrom": {
3767
- "name": "Accordion",
3768
- "module": "src/accordion/accordion.ts"
3769
- }
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3770
3800
  },
3771
3801
  {
3772
3802
  "kind": "method",
3773
- "name": "getItemIds",
3774
- "privacy": "private",
3803
+ "name": "refreshStatus",
3775
3804
  "return": {
3776
3805
  "type": {
3777
- "text": "Array<string | null>"
3806
+ "text": "Promise<void>"
3778
3807
  }
3779
- },
3780
- "inheritedFrom": {
3781
- "name": "Accordion",
3782
- "module": "src/accordion/accordion.ts"
3783
3808
  }
3784
3809
  },
3785
3810
  {
3786
3811
  "kind": "method",
3787
- "name": "isSingleExpandMode",
3812
+ "name": "deriveState",
3788
3813
  "privacy": "private",
3789
3814
  "return": {
3790
3815
  "type": {
3791
- "text": "boolean"
3816
+ "text": "AIIndicatorState"
3792
3817
  }
3793
3818
  },
3794
- "inheritedFrom": {
3795
- "name": "Accordion",
3796
- "module": "src/accordion/accordion.ts"
3797
- }
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3798
3827
  },
3799
3828
  {
3800
- "kind": "field",
3801
- "name": "handleItemKeyDown",
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3802
3831
  "privacy": "private",
3803
- "inheritedFrom": {
3804
- "name": "Accordion",
3805
- "module": "src/accordion/accordion.ts"
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3806
3836
  }
3807
3837
  },
3808
3838
  {
3809
- "kind": "field",
3810
- "name": "handleItemFocus",
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3811
3841
  "privacy": "private",
3812
- "inheritedFrom": {
3813
- "name": "Accordion",
3814
- "module": "src/accordion/accordion.ts"
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3815
3846
  }
3816
3847
  },
3817
3848
  {
3818
3849
  "kind": "method",
3819
- "name": "adjust",
3850
+ "name": "stopPolling",
3820
3851
  "privacy": "private",
3821
3852
  "return": {
3822
3853
  "type": {
3823
3854
  "text": "void"
3824
3855
  }
3825
- },
3826
- "parameters": [
3827
- {
3828
- "name": "adjustment",
3829
- "type": {
3830
- "text": "number"
3831
- }
3832
- }
3833
- ],
3834
- "inheritedFrom": {
3835
- "name": "Accordion",
3836
- "module": "src/accordion/accordion.ts"
3837
3856
  }
3838
3857
  },
3839
3858
  {
3840
3859
  "kind": "method",
3841
- "name": "focusItem",
3842
- "privacy": "private",
3860
+ "name": "onInstall",
3843
3861
  "return": {
3844
3862
  "type": {
3845
- "text": "void"
3863
+ "text": "Promise<void>"
3846
3864
  }
3847
- },
3848
- "inheritedFrom": {
3849
- "name": "Accordion",
3850
- "module": "src/accordion/accordion.ts"
3851
3865
  }
3852
3866
  },
3853
3867
  {
@@ -3962,102 +3976,88 @@
3962
3976
  }
3963
3977
  }
3964
3978
  ],
3965
- "events": [
3966
- {
3967
- "description": "Fires a custom 'change' event when the active item changes",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "Accordion",
3971
- "module": "src/accordion/accordion.ts"
3972
- }
3973
- }
3974
- ]
3975
- },
3976
- {
3977
- "kind": "variable",
3978
- "name": "foundationAccordionShadowOptions",
3979
- "type": {
3980
- "text": "ShadowRootInit"
3981
- },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
- },
3984
- {
3985
- "kind": "variable",
3986
- "name": "defaultAccordionConfig",
3987
- "type": {
3988
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3989
3982
  },
3990
- "default": "{}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3991
3985
  },
3992
3986
  {
3993
3987
  "kind": "variable",
3994
- "name": "foundationAccordion",
3995
- "description": "The Foundation Accordion",
3996
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3997
3989
  }
3998
3990
  ],
3999
3991
  "exports": [
4000
3992
  {
4001
3993
  "kind": "js",
4002
- "name": "Accordion",
3994
+ "name": "AiIndicator",
4003
3995
  "declaration": {
4004
- "name": "Accordion",
4005
- "module": "src/accordion/accordion.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
3998
  }
4007
3999
  },
4008
4000
  {
4009
4001
  "kind": "js",
4010
- "name": "foundationAccordionShadowOptions",
4002
+ "name": "foundationAiIndicator",
4011
4003
  "declaration": {
4012
- "name": "foundationAccordionShadowOptions",
4013
- "module": "src/accordion/accordion.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4013
+ "declarations": [],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "AiIndicator",
4018
+ "declaration": {
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "defaultAccordionConfig",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "defaultAccordionConfig",
4021
- "module": "src/accordion/accordion.ts"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "foundationAccordion",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "foundationAccordion",
4029
- "module": "src/accordion/accordion.ts"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/accordion/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./accordion.template"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./accordion.styles"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./accordion"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",