@genesislcap/foundation-ui 15.23.1-alpha-b23a0275e.0 → 15.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,37 +1493,6 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
- {
1497
- "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
1496
  {
1528
1497
  "kind": "javascript-module",
1529
1498
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1920,203 +1889,146 @@
1920
1889
  },
1921
1890
  {
1922
1891
  "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
1924
- "declarations": [
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1925
1895
  {
1926
- "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
1928
- "return": {
1929
- "type": {
1930
- "text": "ElementStyles"
1931
- }
1932
- },
1933
- "parameters": [
1934
- {
1935
- "name": "context",
1936
- "type": {
1937
- "text": "ElementDefinitionContext"
1938
- }
1939
- },
1940
- {
1941
- "name": "definition",
1942
- "type": {
1943
- "text": "FoundationElementDefinition"
1944
- }
1945
- }
1946
- ]
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1947
1902
  },
1948
- {
1949
- "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
1951
- "return": {
1952
- "type": {
1953
- "text": "ElementStyles"
1954
- }
1955
- },
1956
- "parameters": [
1957
- {
1958
- "name": "context",
1959
- "type": {
1960
- "text": "ElementDefinitionContext"
1961
- }
1962
- },
1963
- {
1964
- "name": "definition",
1965
- "type": {
1966
- "text": "FoundationElementDefinition"
1967
- }
1968
- }
1969
- ]
1970
- }
1971
- ],
1972
- "exports": [
1973
1903
  {
1974
1904
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1905
+ "name": "*",
1976
1906
  "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1907
+ "name": "*",
1908
+ "package": "./tokens"
1979
1909
  }
1980
1910
  },
1981
1911
  {
1982
1912
  "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
1913
+ "name": "*",
1984
1914
  "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
1915
+ "name": "*",
1916
+ "package": "./values"
1987
1917
  }
1988
1918
  }
1989
1919
  ]
1990
1920
  },
1991
1921
  {
1992
1922
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
1923
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1994
1924
  "declarations": [
1995
- {
1996
- "kind": "function",
1997
- "name": "menuTemplate",
1998
- "parameters": [
1999
- {
2000
- "name": "prefix",
2001
- "type": {
2002
- "text": "string"
2003
- }
2004
- }
2005
- ]
2006
- },
2007
- {
2008
- "kind": "function",
2009
- "name": "singleOptionTemplate",
2010
- "parameters": [
2011
- {
2012
- "name": "prefix",
2013
- "type": {
2014
- "text": "string"
2015
- }
2016
- }
2017
- ]
2018
- },
2019
1925
  {
2020
1926
  "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`"
1927
+ "name": "foundationAiCriteriaSearchStyles",
1928
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2026
1929
  }
2027
1930
  ],
2028
1931
  "exports": [
2029
1932
  {
2030
1933
  "kind": "js",
2031
- "name": "menuTemplate",
1934
+ "name": "foundationAiCriteriaSearchStyles",
2032
1935
  "declaration": {
2033
- "name": "menuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
1936
+ "name": "foundationAiCriteriaSearchStyles",
1937
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2035
1938
  }
2036
- },
1939
+ }
1940
+ ]
1941
+ },
1942
+ {
1943
+ "kind": "javascript-module",
1944
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1945
+ "declarations": [
2037
1946
  {
2038
- "kind": "js",
2039
- "name": "singleOptionTemplate",
2040
- "declaration": {
2041
- "name": "singleOptionTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
1947
+ "kind": "variable",
1948
+ "name": "foundationAiCriteriaSearchTemplate",
1949
+ "type": {
1950
+ "text": "ViewTemplate<AiCriteriaSearch>"
1951
+ },
1952
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1953
+ }
1954
+ ],
1955
+ "exports": [
2045
1956
  {
2046
1957
  "kind": "js",
2047
- "name": "foundationActionsMenuTemplate",
1958
+ "name": "foundationAiCriteriaSearchTemplate",
2048
1959
  "declaration": {
2049
- "name": "foundationActionsMenuTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
1960
+ "name": "foundationAiCriteriaSearchTemplate",
1961
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2051
1962
  }
2052
1963
  }
2053
1964
  ]
2054
1965
  },
2055
1966
  {
2056
1967
  "kind": "javascript-module",
2057
- "path": "src/actions-menu/actions-menu.ts",
1968
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2058
1969
  "declarations": [
2059
1970
  {
2060
1971
  "kind": "class",
2061
- "description": "",
2062
- "name": "ActionsMenu",
1972
+ "description": "Natural-language criteria search input with AI interpretation.",
1973
+ "name": "AiCriteriaSearch",
2063
1974
  "members": [
2064
1975
  {
2065
1976
  "kind": "field",
2066
- "name": "actions",
1977
+ "name": "providerRegistry",
2067
1978
  "type": {
2068
- "text": "ActionMenuItem[]"
1979
+ "text": "AIProviderRegistry"
2069
1980
  }
2070
1981
  },
2071
1982
  {
2072
1983
  "kind": "field",
2073
- "name": "isVertical",
1984
+ "name": "placeholder",
2074
1985
  "type": {
2075
- "text": "boolean"
1986
+ "text": "string"
2076
1987
  },
2077
- "default": "false"
1988
+ "default": "'Describe your search criteria in natural language...'"
2078
1989
  },
2079
1990
  {
2080
1991
  "kind": "field",
2081
- "name": "addDefaultActions",
1992
+ "name": "disabled",
2082
1993
  "type": {
2083
1994
  "text": "boolean"
2084
- },
2085
- "default": "true"
1995
+ }
2086
1996
  },
2087
1997
  {
2088
1998
  "kind": "field",
2089
- "name": "autoCloseOnAction",
1999
+ "name": "inputValue",
2090
2000
  "type": {
2091
- "text": "boolean"
2001
+ "text": "string"
2092
2002
  },
2093
- "default": "true"
2003
+ "default": "''"
2094
2004
  },
2095
2005
  {
2096
2006
  "kind": "field",
2097
- "name": "classNames",
2007
+ "name": "isInterpreting",
2098
2008
  "type": {
2099
- "text": "string"
2100
- }
2009
+ "text": "boolean"
2010
+ },
2011
+ "default": "false"
2101
2012
  },
2102
2013
  {
2103
2014
  "kind": "field",
2104
- "name": "definition",
2015
+ "name": "lastValidCriteria",
2105
2016
  "type": {
2106
- "text": "any"
2107
- }
2017
+ "text": "string | null"
2018
+ },
2019
+ "default": "null"
2108
2020
  },
2109
2021
  {
2110
2022
  "kind": "field",
2111
- "name": "name",
2023
+ "name": "activeGroups",
2112
2024
  "type": {
2113
- "text": "string"
2025
+ "text": "CriteriaGroup[]"
2114
2026
  },
2115
- "default": "'Actions'"
2027
+ "default": "[]"
2116
2028
  },
2117
2029
  {
2118
2030
  "kind": "field",
2119
- "name": "open",
2031
+ "name": "showingChips",
2120
2032
  "type": {
2121
2033
  "text": "boolean"
2122
2034
  },
@@ -2124,14 +2036,15 @@
2124
2036
  },
2125
2037
  {
2126
2038
  "kind": "field",
2127
- "name": "buttonAppearance",
2039
+ "name": "fieldMetadata",
2128
2040
  "type": {
2129
- "text": "string"
2130
- }
2041
+ "text": "MetadataDetail[] | string[]"
2042
+ },
2043
+ "default": "[]"
2131
2044
  },
2132
2045
  {
2133
2046
  "kind": "field",
2134
- "name": "hideDisabled",
2047
+ "name": "isRecording",
2135
2048
  "type": {
2136
2049
  "text": "boolean"
2137
2050
  },
@@ -2139,114 +2052,125 @@
2139
2052
  },
2140
2053
  {
2141
2054
  "kind": "field",
2142
- "name": "hideMenuSingleOption",
2055
+ "name": "textAreaRef",
2143
2056
  "type": {
2144
- "text": "boolean"
2057
+ "text": "HTMLTextAreaElement"
2145
2058
  },
2146
- "default": "false"
2059
+ "privacy": "public"
2147
2060
  },
2148
2061
  {
2149
2062
  "kind": "field",
2150
- "name": "singleOption",
2063
+ "name": "stopRecording",
2151
2064
  "type": {
2152
- "text": "ActionMenuItem"
2153
- }
2065
+ "text": "(() => void) | null"
2066
+ },
2067
+ "privacy": "private",
2068
+ "default": "null"
2154
2069
  },
2155
2070
  {
2156
2071
  "kind": "field",
2157
- "name": "actionsMenu",
2072
+ "name": "speechApplyDebounceTimer",
2158
2073
  "type": {
2159
- "text": "HTMLElement"
2160
- }
2074
+ "text": "ReturnType<typeof setTimeout> | null"
2075
+ },
2076
+ "privacy": "private",
2077
+ "default": "null"
2161
2078
  },
2162
2079
  {
2163
2080
  "kind": "field",
2164
- "name": "actionsOpener",
2081
+ "name": "speechAvailable",
2165
2082
  "type": {
2166
- "text": "HTMLElement"
2167
- }
2083
+ "text": "boolean"
2084
+ },
2085
+ "readonly": true
2168
2086
  },
2169
2087
  {
2170
- "kind": "method",
2171
- "name": "updateMenuPosition",
2172
- "privacy": "private"
2088
+ "kind": "field",
2089
+ "name": "criteriaChips",
2090
+ "type": {
2091
+ "text": "CriteriaChip[]"
2092
+ },
2093
+ "readonly": true
2173
2094
  },
2174
2095
  {
2175
2096
  "kind": "method",
2176
- "name": "definitionChanged",
2177
- "privacy": "protected",
2097
+ "name": "getFieldLabel",
2098
+ "privacy": "private",
2099
+ "return": {
2100
+ "type": {
2101
+ "text": "string"
2102
+ }
2103
+ },
2178
2104
  "parameters": [
2179
2105
  {
2180
- "name": "oldValue",
2181
- "type": {
2182
- "text": "any"
2183
- }
2184
- },
2185
- {
2186
- "name": "newValue",
2106
+ "name": "fieldName",
2187
2107
  "type": {
2188
- "text": "any"
2108
+ "text": "string"
2189
2109
  }
2190
2110
  }
2191
2111
  ]
2192
2112
  },
2193
2113
  {
2194
2114
  "kind": "method",
2195
- "name": "openChanged",
2196
- "privacy": "protected"
2197
- },
2198
- {
2199
- "kind": "method",
2200
- "name": "toggleActionsMenuVisibility"
2115
+ "name": "toggleCriteriaView",
2116
+ "return": {
2117
+ "type": {
2118
+ "text": "void"
2119
+ }
2120
+ }
2201
2121
  },
2202
2122
  {
2203
2123
  "kind": "method",
2204
- "name": "onActionMenuItemClick",
2124
+ "name": "removeChip",
2125
+ "return": {
2126
+ "type": {
2127
+ "text": "void"
2128
+ }
2129
+ },
2205
2130
  "parameters": [
2206
2131
  {
2207
- "name": "callback",
2132
+ "name": "groupIndex",
2208
2133
  "type": {
2209
- "text": "(rowData) => void | any"
2134
+ "text": "number"
2135
+ }
2136
+ },
2137
+ {
2138
+ "name": "clauseIndex",
2139
+ "type": {
2140
+ "text": "number"
2210
2141
  }
2211
2142
  }
2212
2143
  ]
2213
2144
  },
2214
2145
  {
2215
- "kind": "field",
2216
- "name": "allActions",
2217
- "type": {
2218
- "text": "ActionMenuItem[]"
2219
- },
2220
- "readonly": true
2146
+ "kind": "method",
2147
+ "name": "clearChips",
2148
+ "return": {
2149
+ "type": {
2150
+ "text": "void"
2151
+ }
2152
+ }
2221
2153
  },
2222
2154
  {
2223
- "kind": "field",
2224
- "name": "rowData",
2225
- "readonly": true
2155
+ "kind": "method",
2156
+ "name": "handleSubmit"
2226
2157
  },
2227
2158
  {
2228
2159
  "kind": "method",
2229
- "name": "getLabel",
2230
- "parameters": [
2231
- {
2232
- "name": "name",
2233
- "type": {
2234
- "text": "string | ((rowData: any) => string)"
2235
- }
2236
- }
2237
- ]
2160
+ "name": "handleBlur"
2238
2161
  },
2239
2162
  {
2240
2163
  "kind": "method",
2241
- "name": "getTemplate",
2242
- "parameters": [
2243
- {
2244
- "name": "prefix",
2245
- "type": {
2246
- "text": "string"
2247
- }
2248
- }
2249
- ]
2164
+ "name": "clear"
2165
+ },
2166
+ {
2167
+ "kind": "method",
2168
+ "name": "toggleSpeechInput"
2169
+ },
2170
+ {
2171
+ "kind": "method",
2172
+ "name": "clearSpeechApplyDebounce",
2173
+ "privacy": "private"
2250
2174
  },
2251
2175
  {
2252
2176
  "kind": "field",
@@ -2360,262 +2284,448 @@
2360
2284
  }
2361
2285
  }
2362
2286
  ],
2363
- "attributes": [
2364
- {
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
- },
2287
+ "events": [
2388
2288
  {
2389
- "name": "name",
2390
- "type": {
2391
- "text": "string"
2392
- },
2393
- "default": "'Actions'",
2394
- "fieldName": "name"
2289
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2290
+ "name": "criteria-changed"
2395
2291
  },
2396
2292
  {
2397
- "name": "open",
2398
- "type": {
2399
- "text": "boolean"
2400
- },
2401
- "default": "false",
2402
- "fieldName": "open"
2403
- },
2293
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2294
+ "name": "validation-errors"
2295
+ }
2296
+ ],
2297
+ "attributes": [
2404
2298
  {
2405
- "name": "buttonAppearance",
2299
+ "name": "placeholder",
2406
2300
  "type": {
2407
2301
  "text": "string"
2408
2302
  },
2409
- "fieldName": "buttonAppearance"
2410
- },
2411
- {
2412
- "name": "hide-disabled",
2413
- "type": {
2414
- "text": "boolean"
2415
- },
2416
- "default": "false",
2417
- "fieldName": "hideDisabled"
2303
+ "default": "'Describe your search criteria in natural language...'",
2304
+ "fieldName": "placeholder"
2418
2305
  },
2419
2306
  {
2420
- "name": "hide-menu-single-option",
2421
2307
  "type": {
2422
2308
  "text": "boolean"
2423
2309
  },
2424
- "default": "false",
2425
- "fieldName": "hideMenuSingleOption"
2310
+ "fieldName": "disabled"
2426
2311
  }
2427
2312
  ],
2428
2313
  "superclass": {
2429
2314
  "name": "FoundationElement",
2430
2315
  "package": "@microsoft/fast-foundation"
2431
2316
  },
2432
- "tagName": "%%prefix%%-actions-menu",
2317
+ "tagName": "%%prefix%%-ai-criteria-search",
2433
2318
  "customElement": true
2434
2319
  },
2435
2320
  {
2436
2321
  "kind": "variable",
2437
- "name": "foundationActionsMenu",
2438
- "description": "The Foundation Actions Menu",
2439
- "privacy": "public"
2322
+ "name": "foundationAiCriteriaSearchShadowOptions",
2323
+ "type": {
2324
+ "text": "ShadowRootInit"
2325
+ },
2326
+ "default": "undefined"
2327
+ },
2328
+ {
2329
+ "kind": "variable",
2330
+ "name": "defaultAiCriteriaSearchConfig",
2331
+ "type": {
2332
+ "text": "object"
2333
+ },
2334
+ "default": "{}"
2335
+ },
2336
+ {
2337
+ "kind": "variable",
2338
+ "name": "foundationAiCriteriaSearch"
2440
2339
  }
2441
2340
  ],
2442
2341
  "exports": [
2443
2342
  {
2444
2343
  "kind": "js",
2445
- "name": "ActionsMenu",
2344
+ "name": "AiCriteriaSearch",
2446
2345
  "declaration": {
2447
- "name": "ActionsMenu",
2448
- "module": "src/actions-menu/actions-menu.ts"
2346
+ "name": "AiCriteriaSearch",
2347
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2449
2348
  }
2450
2349
  },
2451
2350
  {
2452
2351
  "kind": "js",
2453
- "name": "foundationActionsMenu",
2352
+ "name": "foundationAiCriteriaSearchShadowOptions",
2454
2353
  "declaration": {
2455
- "name": "foundationActionsMenu",
2456
- "module": "src/actions-menu/actions-menu.ts"
2354
+ "name": "foundationAiCriteriaSearchShadowOptions",
2355
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2356
+ }
2357
+ },
2358
+ {
2359
+ "kind": "js",
2360
+ "name": "defaultAiCriteriaSearchConfig",
2361
+ "declaration": {
2362
+ "name": "defaultAiCriteriaSearchConfig",
2363
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2364
+ }
2365
+ },
2366
+ {
2367
+ "kind": "js",
2368
+ "name": "foundationAiCriteriaSearch",
2369
+ "declaration": {
2370
+ "name": "foundationAiCriteriaSearch",
2371
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2457
2372
  }
2458
2373
  }
2459
2374
  ]
2460
2375
  },
2461
2376
  {
2462
2377
  "kind": "javascript-module",
2463
- "path": "src/actions-menu/index.ts",
2378
+ "path": "src/ai-criteria-search/index.ts",
2464
2379
  "declarations": [],
2465
2380
  "exports": [
2466
2381
  {
2467
2382
  "kind": "js",
2468
- "name": "*",
2383
+ "name": "AiCriteriaSearch",
2469
2384
  "declaration": {
2470
- "name": "*",
2471
- "package": "./actions-menu.styles"
2385
+ "name": "AiCriteriaSearch",
2386
+ "module": "./ai-criteria-search"
2472
2387
  }
2473
2388
  },
2474
2389
  {
2475
2390
  "kind": "js",
2476
- "name": "*",
2391
+ "name": "defaultAiCriteriaSearchConfig",
2477
2392
  "declaration": {
2478
- "name": "*",
2479
- "package": "./actions-menu.template"
2393
+ "name": "defaultAiCriteriaSearchConfig",
2394
+ "module": "./ai-criteria-search"
2480
2395
  }
2481
2396
  },
2482
2397
  {
2483
2398
  "kind": "js",
2484
- "name": "*",
2399
+ "name": "foundationAiCriteriaSearch",
2485
2400
  "declaration": {
2486
- "name": "*",
2487
- "package": "./actions-menu"
2401
+ "name": "foundationAiCriteriaSearch",
2402
+ "module": "./ai-criteria-search"
2488
2403
  }
2489
- }
2490
- ]
2491
- },
2492
- {
2493
- "kind": "javascript-module",
2494
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2495
- "declarations": [
2496
- {
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`"
2500
- }
2501
- ],
2502
- "exports": [
2404
+ },
2503
2405
  {
2504
2406
  "kind": "js",
2505
- "name": "foundationAiCriteriaSearchStyles",
2407
+ "name": "foundationAiCriteriaSearchShadowOptions",
2506
2408
  "declaration": {
2507
- "name": "foundationAiCriteriaSearchStyles",
2508
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2409
+ "name": "foundationAiCriteriaSearchShadowOptions",
2410
+ "module": "./ai-criteria-search"
2411
+ }
2412
+ },
2413
+ {
2414
+ "kind": "js",
2415
+ "name": "foundationAiCriteriaSearchStyles",
2416
+ "declaration": {
2417
+ "name": "foundationAiCriteriaSearchStyles",
2418
+ "module": "./ai-criteria-search.styles"
2419
+ }
2420
+ },
2421
+ {
2422
+ "kind": "js",
2423
+ "name": "foundationAiCriteriaSearchTemplate",
2424
+ "declaration": {
2425
+ "name": "foundationAiCriteriaSearchTemplate",
2426
+ "module": "./ai-criteria-search.template"
2427
+ }
2428
+ },
2429
+ {
2430
+ "kind": "js",
2431
+ "name": "*",
2432
+ "declaration": {
2433
+ "name": "*",
2434
+ "package": "./validation/criteria-ir"
2435
+ }
2436
+ },
2437
+ {
2438
+ "kind": "js",
2439
+ "name": "*",
2440
+ "declaration": {
2441
+ "name": "*",
2442
+ "package": "./validation/operator-map"
2443
+ }
2444
+ },
2445
+ {
2446
+ "kind": "js",
2447
+ "name": "*",
2448
+ "declaration": {
2449
+ "name": "*",
2450
+ "package": "./validation/schema-validator"
2509
2451
  }
2510
2452
  }
2511
2453
  ]
2512
2454
  },
2513
2455
  {
2514
2456
  "kind": "javascript-module",
2515
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2457
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2516
2458
  "declarations": [
2517
2459
  {
2518
- "kind": "variable",
2519
- "name": "foundationAiCriteriaSearchTemplate",
2520
- "type": {
2521
- "text": "ViewTemplate<AiCriteriaSearch>"
2460
+ "kind": "function",
2461
+ "name": "formatValidationErrors",
2462
+ "return": {
2463
+ "type": {
2464
+ "text": "string"
2465
+ }
2522
2466
  },
2523
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2467
+ "parameters": [
2468
+ {
2469
+ "name": "errors",
2470
+ "type": {
2471
+ "text": "ValidationError[]"
2472
+ }
2473
+ }
2474
+ ],
2475
+ "description": "Formats validation errors into a user-friendly message."
2476
+ },
2477
+ {
2478
+ "kind": "function",
2479
+ "name": "showCriteriaError",
2480
+ "return": {
2481
+ "type": {
2482
+ "text": "void"
2483
+ }
2484
+ },
2485
+ "parameters": [
2486
+ {
2487
+ "name": "title",
2488
+ "type": {
2489
+ "text": "string"
2490
+ },
2491
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2492
+ },
2493
+ {
2494
+ "name": "body",
2495
+ "type": {
2496
+ "text": "string"
2497
+ },
2498
+ "description": "Error message to display"
2499
+ },
2500
+ {
2501
+ "name": "tagName",
2502
+ "type": {
2503
+ "text": "string"
2504
+ },
2505
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2506
+ }
2507
+ ],
2508
+ "description": "Shows a criteria error as a toast notification."
2524
2509
  }
2525
2510
  ],
2526
2511
  "exports": [
2527
2512
  {
2528
2513
  "kind": "js",
2529
- "name": "foundationAiCriteriaSearchTemplate",
2514
+ "name": "formatValidationErrors",
2530
2515
  "declaration": {
2531
- "name": "foundationAiCriteriaSearchTemplate",
2532
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2516
+ "name": "formatValidationErrors",
2517
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2518
+ }
2519
+ },
2520
+ {
2521
+ "kind": "js",
2522
+ "name": "showCriteriaError",
2523
+ "declaration": {
2524
+ "name": "showCriteriaError",
2525
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2533
2526
  }
2534
2527
  }
2535
2528
  ]
2536
2529
  },
2537
2530
  {
2538
2531
  "kind": "javascript-module",
2539
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2532
+ "path": "src/actions-menu/actions-menu.styles.ts",
2540
2533
  "declarations": [
2541
2534
  {
2542
- "kind": "class",
2543
- "description": "Natural-language criteria search input with AI interpretation.",
2544
- "name": "AiCriteriaSearch",
2545
- "members": [
2535
+ "kind": "function",
2536
+ "name": "actionsMenuBaseStyles",
2537
+ "return": {
2538
+ "type": {
2539
+ "text": "ElementStyles"
2540
+ }
2541
+ },
2542
+ "parameters": [
2546
2543
  {
2547
- "kind": "field",
2548
- "name": "providerRegistry",
2544
+ "name": "context",
2549
2545
  "type": {
2550
- "text": "AIProviderRegistry"
2546
+ "text": "ElementDefinitionContext"
2551
2547
  }
2552
2548
  },
2553
2549
  {
2554
- "kind": "field",
2555
- "name": "placeholder",
2550
+ "name": "definition",
2556
2551
  "type": {
2557
- "text": "string"
2558
- },
2559
- "default": "'Describe your search criteria in natural language...'"
2552
+ "text": "FoundationElementDefinition"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "function",
2559
+ "name": "foundationActionsMenuStyles",
2560
+ "return": {
2561
+ "type": {
2562
+ "text": "ElementStyles"
2563
+ }
2564
+ },
2565
+ "parameters": [
2566
+ {
2567
+ "name": "context",
2568
+ "type": {
2569
+ "text": "ElementDefinitionContext"
2570
+ }
2560
2571
  },
2572
+ {
2573
+ "name": "definition",
2574
+ "type": {
2575
+ "text": "FoundationElementDefinition"
2576
+ }
2577
+ }
2578
+ ]
2579
+ }
2580
+ ],
2581
+ "exports": [
2582
+ {
2583
+ "kind": "js",
2584
+ "name": "actionsMenuBaseStyles",
2585
+ "declaration": {
2586
+ "name": "actionsMenuBaseStyles",
2587
+ "module": "src/actions-menu/actions-menu.styles.ts"
2588
+ }
2589
+ },
2590
+ {
2591
+ "kind": "js",
2592
+ "name": "foundationActionsMenuStyles",
2593
+ "declaration": {
2594
+ "name": "foundationActionsMenuStyles",
2595
+ "module": "src/actions-menu/actions-menu.styles.ts"
2596
+ }
2597
+ }
2598
+ ]
2599
+ },
2600
+ {
2601
+ "kind": "javascript-module",
2602
+ "path": "src/actions-menu/actions-menu.template.ts",
2603
+ "declarations": [
2604
+ {
2605
+ "kind": "function",
2606
+ "name": "menuTemplate",
2607
+ "parameters": [
2608
+ {
2609
+ "name": "prefix",
2610
+ "type": {
2611
+ "text": "string"
2612
+ }
2613
+ }
2614
+ ]
2615
+ },
2616
+ {
2617
+ "kind": "function",
2618
+ "name": "singleOptionTemplate",
2619
+ "parameters": [
2620
+ {
2621
+ "name": "prefix",
2622
+ "type": {
2623
+ "text": "string"
2624
+ }
2625
+ }
2626
+ ]
2627
+ },
2628
+ {
2629
+ "kind": "variable",
2630
+ "name": "foundationActionsMenuTemplate",
2631
+ "type": {
2632
+ "text": "ViewTemplate<ActionsMenu>"
2633
+ },
2634
+ "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`"
2635
+ }
2636
+ ],
2637
+ "exports": [
2638
+ {
2639
+ "kind": "js",
2640
+ "name": "menuTemplate",
2641
+ "declaration": {
2642
+ "name": "menuTemplate",
2643
+ "module": "src/actions-menu/actions-menu.template.ts"
2644
+ }
2645
+ },
2646
+ {
2647
+ "kind": "js",
2648
+ "name": "singleOptionTemplate",
2649
+ "declaration": {
2650
+ "name": "singleOptionTemplate",
2651
+ "module": "src/actions-menu/actions-menu.template.ts"
2652
+ }
2653
+ },
2654
+ {
2655
+ "kind": "js",
2656
+ "name": "foundationActionsMenuTemplate",
2657
+ "declaration": {
2658
+ "name": "foundationActionsMenuTemplate",
2659
+ "module": "src/actions-menu/actions-menu.template.ts"
2660
+ }
2661
+ }
2662
+ ]
2663
+ },
2664
+ {
2665
+ "kind": "javascript-module",
2666
+ "path": "src/actions-menu/actions-menu.ts",
2667
+ "declarations": [
2668
+ {
2669
+ "kind": "class",
2670
+ "description": "",
2671
+ "name": "ActionsMenu",
2672
+ "members": [
2561
2673
  {
2562
2674
  "kind": "field",
2563
- "name": "disabled",
2675
+ "name": "actions",
2564
2676
  "type": {
2565
- "text": "boolean"
2677
+ "text": "ActionMenuItem[]"
2566
2678
  }
2567
2679
  },
2568
2680
  {
2569
2681
  "kind": "field",
2570
- "name": "inputValue",
2682
+ "name": "isVertical",
2571
2683
  "type": {
2572
- "text": "string"
2684
+ "text": "boolean"
2573
2685
  },
2574
- "default": "''"
2686
+ "default": "false"
2575
2687
  },
2576
2688
  {
2577
2689
  "kind": "field",
2578
- "name": "isInterpreting",
2690
+ "name": "addDefaultActions",
2579
2691
  "type": {
2580
2692
  "text": "boolean"
2581
2693
  },
2582
- "default": "false"
2694
+ "default": "true"
2583
2695
  },
2584
2696
  {
2585
2697
  "kind": "field",
2586
- "name": "lastValidCriteria",
2698
+ "name": "autoCloseOnAction",
2587
2699
  "type": {
2588
- "text": "string | null"
2700
+ "text": "boolean"
2589
2701
  },
2590
- "default": "null"
2702
+ "default": "true"
2591
2703
  },
2592
2704
  {
2593
2705
  "kind": "field",
2594
- "name": "activeGroups",
2706
+ "name": "classNames",
2595
2707
  "type": {
2596
- "text": "CriteriaGroup[]"
2597
- },
2598
- "default": "[]"
2708
+ "text": "string"
2709
+ }
2599
2710
  },
2600
2711
  {
2601
2712
  "kind": "field",
2602
- "name": "showingChips",
2713
+ "name": "definition",
2603
2714
  "type": {
2604
- "text": "boolean"
2605
- },
2606
- "default": "false"
2715
+ "text": "any"
2716
+ }
2607
2717
  },
2608
2718
  {
2609
2719
  "kind": "field",
2610
- "name": "fieldMetadata",
2720
+ "name": "name",
2611
2721
  "type": {
2612
- "text": "MetadataDetail[] | string[]"
2722
+ "text": "string"
2613
2723
  },
2614
- "default": "[]"
2724
+ "default": "'Actions'"
2615
2725
  },
2616
2726
  {
2617
2727
  "kind": "field",
2618
- "name": "isRecording",
2728
+ "name": "open",
2619
2729
  "type": {
2620
2730
  "text": "boolean"
2621
2731
  },
@@ -2623,125 +2733,129 @@
2623
2733
  },
2624
2734
  {
2625
2735
  "kind": "field",
2626
- "name": "textAreaRef",
2736
+ "name": "buttonAppearance",
2627
2737
  "type": {
2628
- "text": "HTMLTextAreaElement"
2629
- },
2630
- "privacy": "public"
2738
+ "text": "string"
2739
+ }
2631
2740
  },
2632
2741
  {
2633
2742
  "kind": "field",
2634
- "name": "stopRecording",
2743
+ "name": "hideDisabled",
2635
2744
  "type": {
2636
- "text": "(() => void) | null"
2745
+ "text": "boolean"
2637
2746
  },
2638
- "privacy": "private",
2639
- "default": "null"
2747
+ "default": "false"
2640
2748
  },
2641
2749
  {
2642
2750
  "kind": "field",
2643
- "name": "speechApplyDebounceTimer",
2751
+ "name": "hideMenuSingleOption",
2644
2752
  "type": {
2645
- "text": "ReturnType<typeof setTimeout> | null"
2753
+ "text": "boolean"
2646
2754
  },
2647
- "privacy": "private",
2648
- "default": "null"
2755
+ "default": "false"
2649
2756
  },
2650
2757
  {
2651
2758
  "kind": "field",
2652
- "name": "speechAvailable",
2759
+ "name": "singleOption",
2653
2760
  "type": {
2654
- "text": "boolean"
2655
- },
2656
- "readonly": true
2761
+ "text": "ActionMenuItem"
2762
+ }
2657
2763
  },
2658
2764
  {
2659
2765
  "kind": "field",
2660
- "name": "criteriaChips",
2766
+ "name": "actionsMenu",
2661
2767
  "type": {
2662
- "text": "CriteriaChip[]"
2663
- },
2664
- "readonly": true
2768
+ "text": "HTMLElement"
2769
+ }
2665
2770
  },
2666
2771
  {
2667
- "kind": "method",
2668
- "name": "getFieldLabel",
2669
- "privacy": "private",
2670
- "return": {
2671
- "type": {
2672
- "text": "string"
2673
- }
2674
- },
2675
- "parameters": [
2676
- {
2677
- "name": "fieldName",
2678
- "type": {
2679
- "text": "string"
2680
- }
2681
- }
2682
- ]
2772
+ "kind": "field",
2773
+ "name": "actionsOpener",
2774
+ "type": {
2775
+ "text": "HTMLElement"
2776
+ }
2683
2777
  },
2684
2778
  {
2685
2779
  "kind": "method",
2686
- "name": "toggleCriteriaView",
2687
- "return": {
2688
- "type": {
2689
- "text": "void"
2690
- }
2691
- }
2780
+ "name": "updateMenuPosition",
2781
+ "privacy": "private"
2692
2782
  },
2693
2783
  {
2694
2784
  "kind": "method",
2695
- "name": "removeChip",
2696
- "return": {
2697
- "type": {
2698
- "text": "void"
2699
- }
2700
- },
2785
+ "name": "definitionChanged",
2786
+ "privacy": "protected",
2701
2787
  "parameters": [
2702
2788
  {
2703
- "name": "groupIndex",
2789
+ "name": "oldValue",
2704
2790
  "type": {
2705
- "text": "number"
2791
+ "text": "any"
2706
2792
  }
2707
2793
  },
2708
2794
  {
2709
- "name": "clauseIndex",
2795
+ "name": "newValue",
2710
2796
  "type": {
2711
- "text": "number"
2797
+ "text": "any"
2712
2798
  }
2713
2799
  }
2714
2800
  ]
2715
2801
  },
2716
2802
  {
2717
2803
  "kind": "method",
2718
- "name": "clearChips",
2719
- "return": {
2720
- "type": {
2721
- "text": "void"
2722
- }
2723
- }
2804
+ "name": "openChanged",
2805
+ "privacy": "protected"
2724
2806
  },
2725
2807
  {
2726
2808
  "kind": "method",
2727
- "name": "handleSubmit"
2809
+ "name": "toggleActionsMenuVisibility"
2728
2810
  },
2729
2811
  {
2730
2812
  "kind": "method",
2731
- "name": "handleBlur"
2813
+ "name": "onActionMenuItemClick",
2814
+ "parameters": [
2815
+ {
2816
+ "name": "callback",
2817
+ "type": {
2818
+ "text": "(rowData) => void | any"
2819
+ }
2820
+ }
2821
+ ]
2732
2822
  },
2733
2823
  {
2734
- "kind": "method",
2735
- "name": "clear"
2824
+ "kind": "field",
2825
+ "name": "allActions",
2826
+ "type": {
2827
+ "text": "ActionMenuItem[]"
2828
+ },
2829
+ "readonly": true
2830
+ },
2831
+ {
2832
+ "kind": "field",
2833
+ "name": "rowData",
2834
+ "readonly": true
2736
2835
  },
2737
2836
  {
2738
2837
  "kind": "method",
2739
- "name": "toggleSpeechInput"
2838
+ "name": "getLabel",
2839
+ "parameters": [
2840
+ {
2841
+ "name": "name",
2842
+ "type": {
2843
+ "text": "string | ((rowData: any) => string)"
2844
+ }
2845
+ }
2846
+ ]
2740
2847
  },
2741
2848
  {
2742
2849
  "kind": "method",
2743
- "name": "clearSpeechApplyDebounce",
2744
- "privacy": "private"
2850
+ "name": "getTemplate",
2851
+ "parameters": [
2852
+ {
2853
+ "name": "prefix",
2854
+ "type": {
2855
+ "text": "string"
2856
+ }
2857
+ }
2858
+ ]
2745
2859
  },
2746
2860
  {
2747
2861
  "kind": "field",
@@ -2855,154 +2969,115 @@
2855
2969
  }
2856
2970
  }
2857
2971
  ],
2858
- "events": [
2972
+ "attributes": [
2859
2973
  {
2860
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
- "name": "criteria-changed"
2974
+ "name": "is-vertical",
2975
+ "type": {
2976
+ "text": "boolean"
2977
+ },
2978
+ "default": "false",
2979
+ "fieldName": "isVertical"
2862
2980
  },
2863
2981
  {
2864
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
- "name": "validation-errors"
2866
- }
2867
- ],
2868
- "attributes": [
2982
+ "name": "add-default-actions",
2983
+ "type": {
2984
+ "text": "boolean"
2985
+ },
2986
+ "default": "true",
2987
+ "fieldName": "addDefaultActions"
2988
+ },
2869
2989
  {
2870
- "name": "placeholder",
2990
+ "name": "auto-close-on-action",
2991
+ "type": {
2992
+ "text": "boolean"
2993
+ },
2994
+ "default": "true",
2995
+ "fieldName": "autoCloseOnAction"
2996
+ },
2997
+ {
2998
+ "name": "name",
2871
2999
  "type": {
2872
3000
  "text": "string"
2873
3001
  },
2874
- "default": "'Describe your search criteria in natural language...'",
2875
- "fieldName": "placeholder"
3002
+ "default": "'Actions'",
3003
+ "fieldName": "name"
2876
3004
  },
2877
3005
  {
3006
+ "name": "open",
2878
3007
  "type": {
2879
3008
  "text": "boolean"
2880
3009
  },
2881
- "fieldName": "disabled"
3010
+ "default": "false",
3011
+ "fieldName": "open"
3012
+ },
3013
+ {
3014
+ "name": "buttonAppearance",
3015
+ "type": {
3016
+ "text": "string"
3017
+ },
3018
+ "fieldName": "buttonAppearance"
3019
+ },
3020
+ {
3021
+ "name": "hide-disabled",
3022
+ "type": {
3023
+ "text": "boolean"
3024
+ },
3025
+ "default": "false",
3026
+ "fieldName": "hideDisabled"
3027
+ },
3028
+ {
3029
+ "name": "hide-menu-single-option",
3030
+ "type": {
3031
+ "text": "boolean"
3032
+ },
3033
+ "default": "false",
3034
+ "fieldName": "hideMenuSingleOption"
2882
3035
  }
2883
3036
  ],
2884
3037
  "superclass": {
2885
3038
  "name": "FoundationElement",
2886
3039
  "package": "@microsoft/fast-foundation"
2887
3040
  },
2888
- "tagName": "%%prefix%%-ai-criteria-search",
3041
+ "tagName": "%%prefix%%-actions-menu",
2889
3042
  "customElement": true
2890
3043
  },
2891
3044
  {
2892
3045
  "kind": "variable",
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"
3046
+ "name": "foundationActionsMenu",
3047
+ "description": "The Foundation Actions Menu",
3048
+ "privacy": "public"
2910
3049
  }
2911
3050
  ],
2912
3051
  "exports": [
2913
3052
  {
2914
3053
  "kind": "js",
2915
- "name": "AiCriteriaSearch",
2916
- "declaration": {
2917
- "name": "AiCriteriaSearch",
2918
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2919
- }
2920
- },
2921
- {
2922
- "kind": "js",
2923
- "name": "foundationAiCriteriaSearchShadowOptions",
2924
- "declaration": {
2925
- "name": "foundationAiCriteriaSearchShadowOptions",
2926
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2927
- }
2928
- },
2929
- {
2930
- "kind": "js",
2931
- "name": "defaultAiCriteriaSearchConfig",
3054
+ "name": "ActionsMenu",
2932
3055
  "declaration": {
2933
- "name": "defaultAiCriteriaSearchConfig",
2934
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3056
+ "name": "ActionsMenu",
3057
+ "module": "src/actions-menu/actions-menu.ts"
2935
3058
  }
2936
3059
  },
2937
3060
  {
2938
3061
  "kind": "js",
2939
- "name": "foundationAiCriteriaSearch",
3062
+ "name": "foundationActionsMenu",
2940
3063
  "declaration": {
2941
- "name": "foundationAiCriteriaSearch",
2942
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3064
+ "name": "foundationActionsMenu",
3065
+ "module": "src/actions-menu/actions-menu.ts"
2943
3066
  }
2944
3067
  }
2945
3068
  ]
2946
3069
  },
2947
3070
  {
2948
3071
  "kind": "javascript-module",
2949
- "path": "src/ai-criteria-search/index.ts",
3072
+ "path": "src/actions-menu/index.ts",
2950
3073
  "declarations": [],
2951
3074
  "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
- },
3000
3075
  {
3001
3076
  "kind": "js",
3002
3077
  "name": "*",
3003
3078
  "declaration": {
3004
3079
  "name": "*",
3005
- "package": "./validation/criteria-ir"
3080
+ "package": "./actions-menu.styles"
3006
3081
  }
3007
3082
  },
3008
3083
  {
@@ -3010,7 +3085,7 @@
3010
3085
  "name": "*",
3011
3086
  "declaration": {
3012
3087
  "name": "*",
3013
- "package": "./validation/operator-map"
3088
+ "package": "./actions-menu.template"
3014
3089
  }
3015
3090
  },
3016
3091
  {
@@ -3018,82 +3093,7 @@
3018
3093
  "name": "*",
3019
3094
  "declaration": {
3020
3095
  "name": "*",
3021
- "package": "./validation/schema-validator"
3022
- }
3023
- }
3024
- ]
3025
- },
3026
- {
3027
- "kind": "javascript-module",
3028
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3029
- "declarations": [
3030
- {
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."
3080
- }
3081
- ],
3082
- "exports": [
3083
- {
3084
- "kind": "js",
3085
- "name": "formatValidationErrors",
3086
- "declaration": {
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"
3096
+ "package": "./actions-menu"
3097
3097
  }
3098
3098
  }
3099
3099
  ]