@genesislcap/foundation-ui 14.418.1 → 14.418.2

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +820 -820
  2. package/package.json +19 -19
@@ -1776,42 +1776,11 @@
1776
1776
  },
1777
1777
  {
1778
1778
  "kind": "javascript-module",
1779
- "path": "src/_config/index.ts",
1780
- "declarations": [],
1781
- "exports": [
1782
- {
1783
- "kind": "js",
1784
- "name": "*",
1785
- "declaration": {
1786
- "name": "*",
1787
- "package": "./styles"
1788
- }
1789
- },
1790
- {
1791
- "kind": "js",
1792
- "name": "*",
1793
- "declaration": {
1794
- "name": "*",
1795
- "package": "./tokens"
1796
- }
1797
- },
1798
- {
1799
- "kind": "js",
1800
- "name": "*",
1801
- "declaration": {
1802
- "name": "*",
1803
- "package": "./values"
1804
- }
1805
- }
1806
- ]
1807
- },
1808
- {
1809
- "kind": "javascript-module",
1810
- "path": "src/actions-menu/actions-menu.styles.ts",
1779
+ "path": "src/accordion/accordion.styles.ts",
1811
1780
  "declarations": [
1812
1781
  {
1813
1782
  "kind": "function",
1814
- "name": "actionsMenuBaseStyles",
1783
+ "name": "foundationAccordionStyles",
1815
1784
  "return": {
1816
1785
  "type": {
1817
1786
  "text": "ElementStyles"
@@ -1831,13 +1800,29 @@
1831
1800
  }
1832
1801
  }
1833
1802
  ]
1834
- },
1803
+ }
1804
+ ],
1805
+ "exports": [
1806
+ {
1807
+ "kind": "js",
1808
+ "name": "foundationAccordionStyles",
1809
+ "declaration": {
1810
+ "name": "foundationAccordionStyles",
1811
+ "module": "src/accordion/accordion.styles.ts"
1812
+ }
1813
+ }
1814
+ ]
1815
+ },
1816
+ {
1817
+ "kind": "javascript-module",
1818
+ "path": "src/accordion/accordion.template.ts",
1819
+ "declarations": [
1835
1820
  {
1836
1821
  "kind": "function",
1837
- "name": "foundationActionsMenuStyles",
1822
+ "name": "foundationAccordionTemplate",
1838
1823
  "return": {
1839
1824
  "type": {
1840
- "text": "ElementStyles"
1825
+ "text": "ViewTemplate<Accordion>"
1841
1826
  }
1842
1827
  },
1843
1828
  "parameters": [
@@ -1859,269 +1844,305 @@
1859
1844
  "exports": [
1860
1845
  {
1861
1846
  "kind": "js",
1862
- "name": "actionsMenuBaseStyles",
1863
- "declaration": {
1864
- "name": "actionsMenuBaseStyles",
1865
- "module": "src/actions-menu/actions-menu.styles.ts"
1866
- }
1867
- },
1868
- {
1869
- "kind": "js",
1870
- "name": "foundationActionsMenuStyles",
1847
+ "name": "foundationAccordionTemplate",
1871
1848
  "declaration": {
1872
- "name": "foundationActionsMenuStyles",
1873
- "module": "src/actions-menu/actions-menu.styles.ts"
1849
+ "name": "foundationAccordionTemplate",
1850
+ "module": "src/accordion/accordion.template.ts"
1874
1851
  }
1875
1852
  }
1876
1853
  ]
1877
1854
  },
1878
1855
  {
1879
1856
  "kind": "javascript-module",
1880
- "path": "src/actions-menu/actions-menu.template.ts",
1857
+ "path": "src/accordion/accordion.ts",
1881
1858
  "declarations": [
1882
1859
  {
1883
- "kind": "function",
1884
- "name": "menuTemplate",
1885
- "parameters": [
1886
- {
1887
- "name": "prefix",
1888
- "type": {
1889
- "text": "string"
1890
- }
1891
- }
1892
- ]
1860
+ "kind": "class",
1861
+ "description": "",
1862
+ "name": "Accordion",
1863
+ "superclass": {
1864
+ "name": "FASTAccordion",
1865
+ "package": "@microsoft/fast-foundation"
1866
+ },
1867
+ "tagName": "%%prefix%%-accordion",
1868
+ "customElement": true
1893
1869
  },
1894
1870
  {
1895
- "kind": "function",
1896
- "name": "singleOptionTemplate",
1897
- "parameters": [
1898
- {
1899
- "name": "prefix",
1900
- "type": {
1901
- "text": "string"
1902
- }
1903
- }
1904
- ]
1871
+ "kind": "variable",
1872
+ "name": "foundationAccordionShadowOptions",
1873
+ "type": {
1874
+ "text": "ShadowRootInit"
1875
+ },
1876
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1905
1877
  },
1906
1878
  {
1907
1879
  "kind": "variable",
1908
- "name": "foundationActionsMenuTemplate",
1880
+ "name": "defaultAccordionConfig",
1909
1881
  "type": {
1910
- "text": "ViewTemplate<ActionsMenu>"
1882
+ "text": "object"
1911
1883
  },
1912
- "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`"
1884
+ "default": "{}"
1885
+ },
1886
+ {
1887
+ "kind": "variable",
1888
+ "name": "foundationAccordion",
1889
+ "description": "The Foundation Accordion",
1890
+ "privacy": "public"
1913
1891
  }
1914
1892
  ],
1915
1893
  "exports": [
1916
1894
  {
1917
1895
  "kind": "js",
1918
- "name": "menuTemplate",
1896
+ "name": "Accordion",
1919
1897
  "declaration": {
1920
- "name": "menuTemplate",
1921
- "module": "src/actions-menu/actions-menu.template.ts"
1898
+ "name": "Accordion",
1899
+ "module": "src/accordion/accordion.ts"
1922
1900
  }
1923
1901
  },
1924
1902
  {
1925
1903
  "kind": "js",
1926
- "name": "singleOptionTemplate",
1904
+ "name": "foundationAccordionShadowOptions",
1927
1905
  "declaration": {
1928
- "name": "singleOptionTemplate",
1929
- "module": "src/actions-menu/actions-menu.template.ts"
1906
+ "name": "foundationAccordionShadowOptions",
1907
+ "module": "src/accordion/accordion.ts"
1930
1908
  }
1931
1909
  },
1932
1910
  {
1933
1911
  "kind": "js",
1934
- "name": "foundationActionsMenuTemplate",
1912
+ "name": "defaultAccordionConfig",
1935
1913
  "declaration": {
1936
- "name": "foundationActionsMenuTemplate",
1937
- "module": "src/actions-menu/actions-menu.template.ts"
1914
+ "name": "defaultAccordionConfig",
1915
+ "module": "src/accordion/accordion.ts"
1916
+ }
1917
+ },
1918
+ {
1919
+ "kind": "js",
1920
+ "name": "foundationAccordion",
1921
+ "declaration": {
1922
+ "name": "foundationAccordion",
1923
+ "module": "src/accordion/accordion.ts"
1938
1924
  }
1939
1925
  }
1940
1926
  ]
1941
1927
  },
1942
1928
  {
1943
1929
  "kind": "javascript-module",
1944
- "path": "src/actions-menu/actions-menu.ts",
1930
+ "path": "src/accordion/index.ts",
1931
+ "declarations": [],
1932
+ "exports": [
1933
+ {
1934
+ "kind": "js",
1935
+ "name": "*",
1936
+ "declaration": {
1937
+ "name": "*",
1938
+ "package": "./accordion.template"
1939
+ }
1940
+ },
1941
+ {
1942
+ "kind": "js",
1943
+ "name": "*",
1944
+ "declaration": {
1945
+ "name": "*",
1946
+ "package": "./accordion.styles"
1947
+ }
1948
+ },
1949
+ {
1950
+ "kind": "js",
1951
+ "name": "*",
1952
+ "declaration": {
1953
+ "name": "*",
1954
+ "package": "./accordion"
1955
+ }
1956
+ }
1957
+ ]
1958
+ },
1959
+ {
1960
+ "kind": "javascript-module",
1961
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1962
+ "declarations": [
1963
+ {
1964
+ "kind": "variable",
1965
+ "name": "foundationAiCriteriaSearchStyles",
1966
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1967
+ }
1968
+ ],
1969
+ "exports": [
1970
+ {
1971
+ "kind": "js",
1972
+ "name": "foundationAiCriteriaSearchStyles",
1973
+ "declaration": {
1974
+ "name": "foundationAiCriteriaSearchStyles",
1975
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1976
+ }
1977
+ }
1978
+ ]
1979
+ },
1980
+ {
1981
+ "kind": "javascript-module",
1982
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1983
+ "declarations": [
1984
+ {
1985
+ "kind": "variable",
1986
+ "name": "foundationAiCriteriaSearchTemplate",
1987
+ "type": {
1988
+ "text": "ViewTemplate<AiCriteriaSearch>"
1989
+ },
1990
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1991
+ }
1992
+ ],
1993
+ "exports": [
1994
+ {
1995
+ "kind": "js",
1996
+ "name": "foundationAiCriteriaSearchTemplate",
1997
+ "declaration": {
1998
+ "name": "foundationAiCriteriaSearchTemplate",
1999
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2000
+ }
2001
+ }
2002
+ ]
2003
+ },
2004
+ {
2005
+ "kind": "javascript-module",
2006
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1945
2007
  "declarations": [
1946
2008
  {
1947
2009
  "kind": "class",
1948
2010
  "description": "",
1949
- "name": "ActionsMenu",
2011
+ "name": "AiCriteriaSearch",
1950
2012
  "members": [
1951
2013
  {
1952
2014
  "kind": "field",
1953
- "name": "actions",
2015
+ "name": "aiProvider",
1954
2016
  "type": {
1955
- "text": "ActionMenuItem[]"
2017
+ "text": "AIProvider"
1956
2018
  }
1957
2019
  },
1958
2020
  {
1959
2021
  "kind": "field",
1960
- "name": "isVertical",
2022
+ "name": "placeholder",
1961
2023
  "type": {
1962
- "text": "boolean"
2024
+ "text": "string"
1963
2025
  },
1964
- "default": "false"
2026
+ "default": "'Describe your search criteria in natural language...'"
1965
2027
  },
1966
2028
  {
1967
2029
  "kind": "field",
1968
- "name": "addDefaultActions",
2030
+ "name": "disabled",
1969
2031
  "type": {
1970
2032
  "text": "boolean"
1971
- },
1972
- "default": "true"
2033
+ }
1973
2034
  },
1974
2035
  {
1975
2036
  "kind": "field",
1976
- "name": "autoCloseOnAction",
2037
+ "name": "mode",
1977
2038
  "type": {
1978
- "text": "boolean"
2039
+ "text": "'append' | 'replace'"
1979
2040
  },
1980
- "default": "true"
2041
+ "default": "'replace'"
1981
2042
  },
1982
2043
  {
1983
2044
  "kind": "field",
1984
- "name": "classNames",
2045
+ "name": "inputValue",
1985
2046
  "type": {
1986
2047
  "text": "string"
1987
- }
2048
+ },
2049
+ "default": "''"
1988
2050
  },
1989
2051
  {
1990
2052
  "kind": "field",
1991
- "name": "definition",
2053
+ "name": "isInterpreting",
1992
2054
  "type": {
1993
- "text": "any"
1994
- }
2055
+ "text": "boolean"
2056
+ },
2057
+ "default": "false"
1995
2058
  },
1996
2059
  {
1997
2060
  "kind": "field",
1998
- "name": "name",
2061
+ "name": "lastValidCriteria",
1999
2062
  "type": {
2000
- "text": "string"
2063
+ "text": "string | null"
2001
2064
  },
2002
- "default": "'Actions'"
2065
+ "default": "null"
2003
2066
  },
2004
2067
  {
2005
2068
  "kind": "field",
2006
- "name": "open",
2069
+ "name": "fieldMetadata",
2007
2070
  "type": {
2008
- "text": "boolean"
2071
+ "text": "MetadataDetail[] | string[]"
2009
2072
  },
2010
- "default": "false"
2073
+ "default": "[]"
2011
2074
  },
2012
2075
  {
2013
2076
  "kind": "field",
2014
- "name": "buttonAppearance",
2077
+ "name": "isRecording",
2015
2078
  "type": {
2016
- "text": "string"
2017
- }
2079
+ "text": "boolean"
2080
+ },
2081
+ "default": "false"
2018
2082
  },
2019
2083
  {
2020
2084
  "kind": "field",
2021
- "name": "hideDisabled",
2085
+ "name": "textAreaRef",
2022
2086
  "type": {
2023
- "text": "boolean"
2087
+ "text": "HTMLTextAreaElement"
2024
2088
  },
2025
- "default": "false"
2089
+ "privacy": "public"
2026
2090
  },
2027
2091
  {
2028
2092
  "kind": "field",
2029
- "name": "hideMenuSingleOption",
2093
+ "name": "stopRecording",
2030
2094
  "type": {
2031
- "text": "boolean"
2095
+ "text": "(() => void) | null"
2032
2096
  },
2033
- "default": "false"
2097
+ "privacy": "private",
2098
+ "default": "null"
2034
2099
  },
2035
2100
  {
2036
2101
  "kind": "field",
2037
- "name": "singleOption",
2102
+ "name": "speechApplyDebounceTimer",
2038
2103
  "type": {
2039
- "text": "ActionMenuItem"
2040
- }
2104
+ "text": "ReturnType<typeof setTimeout> | null"
2105
+ },
2106
+ "privacy": "private",
2107
+ "default": "null"
2041
2108
  },
2042
2109
  {
2043
2110
  "kind": "field",
2044
- "name": "actionsMenu",
2111
+ "name": "baseInputForAppend",
2045
2112
  "type": {
2046
- "text": "HTMLElement"
2047
- }
2113
+ "text": "string"
2114
+ },
2115
+ "privacy": "private",
2116
+ "default": "''"
2048
2117
  },
2049
2118
  {
2050
- "kind": "method",
2051
- "name": "definitionChanged",
2052
- "privacy": "protected",
2053
- "parameters": [
2054
- {
2055
- "name": "oldValue",
2056
- "type": {
2057
- "text": "any"
2058
- }
2059
- },
2060
- {
2061
- "name": "newValue",
2062
- "type": {
2063
- "text": "any"
2064
- }
2065
- }
2066
- ]
2119
+ "kind": "field",
2120
+ "name": "speechAvailable",
2121
+ "type": {
2122
+ "text": "boolean"
2123
+ },
2124
+ "readonly": true
2067
2125
  },
2068
2126
  {
2069
2127
  "kind": "method",
2070
- "name": "openChanged",
2071
- "privacy": "protected"
2128
+ "name": "handleSubmit"
2072
2129
  },
2073
2130
  {
2074
2131
  "kind": "method",
2075
- "name": "toggleActionsMenuVisibility"
2132
+ "name": "handleBlur"
2076
2133
  },
2077
2134
  {
2078
2135
  "kind": "method",
2079
- "name": "onActionMenuItemClick",
2080
- "parameters": [
2081
- {
2082
- "name": "callback",
2083
- "type": {
2084
- "text": "(rowData) => void | any"
2085
- }
2086
- }
2087
- ]
2088
- },
2089
- {
2090
- "kind": "field",
2091
- "name": "allActions",
2092
- "type": {
2093
- "text": "ActionMenuItem[]"
2094
- },
2095
- "readonly": true
2096
- },
2097
- {
2098
- "kind": "field",
2099
- "name": "rowData",
2100
- "readonly": true
2136
+ "name": "clear"
2101
2137
  },
2102
2138
  {
2103
2139
  "kind": "method",
2104
- "name": "getLabel",
2105
- "parameters": [
2106
- {
2107
- "name": "name",
2108
- "type": {
2109
- "text": "string | ((rowData: any) => string)"
2110
- }
2111
- }
2112
- ]
2140
+ "name": "toggleSpeechInput"
2113
2141
  },
2114
2142
  {
2115
2143
  "kind": "method",
2116
- "name": "getTemplate",
2117
- "parameters": [
2118
- {
2119
- "name": "prefix",
2120
- "type": {
2121
- "text": "string"
2122
- }
2123
- }
2124
- ]
2144
+ "name": "clearSpeechApplyDebounce",
2145
+ "privacy": "private"
2125
2146
  },
2126
2147
  {
2127
2148
  "kind": "field",
@@ -2237,113 +2258,150 @@
2237
2258
  ],
2238
2259
  "attributes": [
2239
2260
  {
2240
- "name": "is-vertical",
2241
- "type": {
2242
- "text": "boolean"
2243
- },
2244
- "default": "false",
2245
- "fieldName": "isVertical"
2246
- },
2247
- {
2248
- "name": "add-default-actions",
2249
- "type": {
2250
- "text": "boolean"
2251
- },
2252
- "default": "true",
2253
- "fieldName": "addDefaultActions"
2254
- },
2255
- {
2256
- "name": "auto-close-on-action",
2257
- "type": {
2258
- "text": "boolean"
2259
- },
2260
- "default": "true",
2261
- "fieldName": "autoCloseOnAction"
2262
- },
2263
- {
2264
- "name": "name",
2265
- "type": {
2266
- "text": "string"
2267
- },
2268
- "default": "'Actions'",
2269
- "fieldName": "name"
2270
- },
2271
- {
2272
- "name": "open",
2273
- "type": {
2274
- "text": "boolean"
2275
- },
2276
- "default": "false",
2277
- "fieldName": "open"
2278
- },
2279
- {
2280
- "name": "buttonAppearance",
2261
+ "name": "placeholder",
2281
2262
  "type": {
2282
2263
  "text": "string"
2283
2264
  },
2284
- "fieldName": "buttonAppearance"
2265
+ "default": "'Describe your search criteria in natural language...'",
2266
+ "fieldName": "placeholder"
2285
2267
  },
2286
2268
  {
2287
- "name": "hide-disabled",
2288
2269
  "type": {
2289
2270
  "text": "boolean"
2290
2271
  },
2291
- "default": "false",
2292
- "fieldName": "hideDisabled"
2272
+ "fieldName": "disabled"
2293
2273
  },
2294
2274
  {
2295
- "name": "hide-menu-single-option",
2275
+ "name": "mode",
2296
2276
  "type": {
2297
- "text": "boolean"
2277
+ "text": "'append' | 'replace'"
2298
2278
  },
2299
- "default": "false",
2300
- "fieldName": "hideMenuSingleOption"
2279
+ "default": "'replace'",
2280
+ "fieldName": "mode"
2301
2281
  }
2302
2282
  ],
2303
2283
  "superclass": {
2304
2284
  "name": "FoundationElement",
2305
2285
  "package": "@microsoft/fast-foundation"
2306
2286
  },
2307
- "tagName": "%%prefix%%-actions-menu",
2287
+ "tagName": "%%prefix%%-ai-criteria-search",
2308
2288
  "customElement": true
2309
2289
  },
2310
2290
  {
2311
2291
  "kind": "variable",
2312
- "name": "foundationActionsMenu",
2313
- "description": "The Foundation Actions Menu",
2314
- "privacy": "public"
2292
+ "name": "foundationAiCriteriaSearchShadowOptions",
2293
+ "type": {
2294
+ "text": "ShadowRootInit"
2295
+ },
2296
+ "default": "undefined"
2297
+ },
2298
+ {
2299
+ "kind": "variable",
2300
+ "name": "defaultAiCriteriaSearchConfig",
2301
+ "type": {
2302
+ "text": "object"
2303
+ },
2304
+ "default": "{}"
2305
+ },
2306
+ {
2307
+ "kind": "variable",
2308
+ "name": "foundationAiCriteriaSearch"
2315
2309
  }
2316
2310
  ],
2317
2311
  "exports": [
2318
2312
  {
2319
2313
  "kind": "js",
2320
- "name": "ActionsMenu",
2314
+ "name": "AiCriteriaSearch",
2321
2315
  "declaration": {
2322
- "name": "ActionsMenu",
2323
- "module": "src/actions-menu/actions-menu.ts"
2316
+ "name": "AiCriteriaSearch",
2317
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2324
2318
  }
2325
2319
  },
2326
2320
  {
2327
2321
  "kind": "js",
2328
- "name": "foundationActionsMenu",
2322
+ "name": "foundationAiCriteriaSearchShadowOptions",
2329
2323
  "declaration": {
2330
- "name": "foundationActionsMenu",
2331
- "module": "src/actions-menu/actions-menu.ts"
2324
+ "name": "foundationAiCriteriaSearchShadowOptions",
2325
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2326
+ }
2327
+ },
2328
+ {
2329
+ "kind": "js",
2330
+ "name": "defaultAiCriteriaSearchConfig",
2331
+ "declaration": {
2332
+ "name": "defaultAiCriteriaSearchConfig",
2333
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2334
+ }
2335
+ },
2336
+ {
2337
+ "kind": "js",
2338
+ "name": "foundationAiCriteriaSearch",
2339
+ "declaration": {
2340
+ "name": "foundationAiCriteriaSearch",
2341
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2332
2342
  }
2333
2343
  }
2334
2344
  ]
2335
2345
  },
2336
2346
  {
2337
2347
  "kind": "javascript-module",
2338
- "path": "src/actions-menu/index.ts",
2348
+ "path": "src/ai-criteria-search/index.ts",
2339
2349
  "declarations": [],
2340
2350
  "exports": [
2351
+ {
2352
+ "kind": "js",
2353
+ "name": "AiCriteriaSearch",
2354
+ "declaration": {
2355
+ "name": "AiCriteriaSearch",
2356
+ "module": "./ai-criteria-search"
2357
+ }
2358
+ },
2359
+ {
2360
+ "kind": "js",
2361
+ "name": "defaultAiCriteriaSearchConfig",
2362
+ "declaration": {
2363
+ "name": "defaultAiCriteriaSearchConfig",
2364
+ "module": "./ai-criteria-search"
2365
+ }
2366
+ },
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "foundationAiCriteriaSearch",
2370
+ "declaration": {
2371
+ "name": "foundationAiCriteriaSearch",
2372
+ "module": "./ai-criteria-search"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "foundationAiCriteriaSearchShadowOptions",
2378
+ "declaration": {
2379
+ "name": "foundationAiCriteriaSearchShadowOptions",
2380
+ "module": "./ai-criteria-search"
2381
+ }
2382
+ },
2383
+ {
2384
+ "kind": "js",
2385
+ "name": "foundationAiCriteriaSearchStyles",
2386
+ "declaration": {
2387
+ "name": "foundationAiCriteriaSearchStyles",
2388
+ "module": "./ai-criteria-search.styles"
2389
+ }
2390
+ },
2391
+ {
2392
+ "kind": "js",
2393
+ "name": "foundationAiCriteriaSearchTemplate",
2394
+ "declaration": {
2395
+ "name": "foundationAiCriteriaSearchTemplate",
2396
+ "module": "./ai-criteria-search.template"
2397
+ }
2398
+ },
2341
2399
  {
2342
2400
  "kind": "js",
2343
2401
  "name": "*",
2344
2402
  "declaration": {
2345
2403
  "name": "*",
2346
- "package": "./actions-menu.styles"
2404
+ "package": "./validation/criteria-ir"
2347
2405
  }
2348
2406
  },
2349
2407
  {
@@ -2351,7 +2409,7 @@
2351
2409
  "name": "*",
2352
2410
  "declaration": {
2353
2411
  "name": "*",
2354
- "package": "./actions-menu.template"
2412
+ "package": "./validation/operator-map"
2355
2413
  }
2356
2414
  },
2357
2415
  {
@@ -2359,130 +2417,285 @@
2359
2417
  "name": "*",
2360
2418
  "declaration": {
2361
2419
  "name": "*",
2362
- "package": "./actions-menu"
2420
+ "package": "./validation/schema-validator"
2363
2421
  }
2364
2422
  }
2365
2423
  ]
2366
2424
  },
2367
2425
  {
2368
2426
  "kind": "javascript-module",
2369
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2427
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2370
2428
  "declarations": [
2371
2429
  {
2372
- "kind": "variable",
2373
- "name": "foundationAiCriteriaSearchStyles",
2374
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2430
+ "kind": "function",
2431
+ "name": "formatValidationErrors",
2432
+ "return": {
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ },
2437
+ "parameters": [
2438
+ {
2439
+ "name": "errors",
2440
+ "type": {
2441
+ "text": "ValidationError[]"
2442
+ }
2443
+ }
2444
+ ],
2445
+ "description": "Formats validation errors into a user-friendly message."
2446
+ },
2447
+ {
2448
+ "kind": "function",
2449
+ "name": "showCriteriaError",
2450
+ "return": {
2451
+ "type": {
2452
+ "text": "void"
2453
+ }
2454
+ },
2455
+ "parameters": [
2456
+ {
2457
+ "name": "title",
2458
+ "type": {
2459
+ "text": "string"
2460
+ },
2461
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2462
+ },
2463
+ {
2464
+ "name": "body",
2465
+ "type": {
2466
+ "text": "string"
2467
+ },
2468
+ "description": "Error message to display"
2469
+ },
2470
+ {
2471
+ "name": "tagName",
2472
+ "type": {
2473
+ "text": "string"
2474
+ },
2475
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2476
+ }
2477
+ ],
2478
+ "description": "Shows a criteria error as a toast notification."
2375
2479
  }
2376
2480
  ],
2377
2481
  "exports": [
2378
2482
  {
2379
2483
  "kind": "js",
2380
- "name": "foundationAiCriteriaSearchStyles",
2484
+ "name": "formatValidationErrors",
2381
2485
  "declaration": {
2382
- "name": "foundationAiCriteriaSearchStyles",
2383
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2486
+ "name": "formatValidationErrors",
2487
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2488
+ }
2489
+ },
2490
+ {
2491
+ "kind": "js",
2492
+ "name": "showCriteriaError",
2493
+ "declaration": {
2494
+ "name": "showCriteriaError",
2495
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2384
2496
  }
2385
2497
  }
2386
2498
  ]
2387
2499
  },
2388
2500
  {
2389
2501
  "kind": "javascript-module",
2390
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2502
+ "path": "src/actions-menu/actions-menu.styles.ts",
2503
+ "declarations": [
2504
+ {
2505
+ "kind": "function",
2506
+ "name": "actionsMenuBaseStyles",
2507
+ "return": {
2508
+ "type": {
2509
+ "text": "ElementStyles"
2510
+ }
2511
+ },
2512
+ "parameters": [
2513
+ {
2514
+ "name": "context",
2515
+ "type": {
2516
+ "text": "ElementDefinitionContext"
2517
+ }
2518
+ },
2519
+ {
2520
+ "name": "definition",
2521
+ "type": {
2522
+ "text": "FoundationElementDefinition"
2523
+ }
2524
+ }
2525
+ ]
2526
+ },
2527
+ {
2528
+ "kind": "function",
2529
+ "name": "foundationActionsMenuStyles",
2530
+ "return": {
2531
+ "type": {
2532
+ "text": "ElementStyles"
2533
+ }
2534
+ },
2535
+ "parameters": [
2536
+ {
2537
+ "name": "context",
2538
+ "type": {
2539
+ "text": "ElementDefinitionContext"
2540
+ }
2541
+ },
2542
+ {
2543
+ "name": "definition",
2544
+ "type": {
2545
+ "text": "FoundationElementDefinition"
2546
+ }
2547
+ }
2548
+ ]
2549
+ }
2550
+ ],
2551
+ "exports": [
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "actionsMenuBaseStyles",
2555
+ "declaration": {
2556
+ "name": "actionsMenuBaseStyles",
2557
+ "module": "src/actions-menu/actions-menu.styles.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuStyles",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuStyles",
2565
+ "module": "src/actions-menu/actions-menu.styles.ts"
2566
+ }
2567
+ }
2568
+ ]
2569
+ },
2570
+ {
2571
+ "kind": "javascript-module",
2572
+ "path": "src/actions-menu/actions-menu.template.ts",
2391
2573
  "declarations": [
2574
+ {
2575
+ "kind": "function",
2576
+ "name": "menuTemplate",
2577
+ "parameters": [
2578
+ {
2579
+ "name": "prefix",
2580
+ "type": {
2581
+ "text": "string"
2582
+ }
2583
+ }
2584
+ ]
2585
+ },
2586
+ {
2587
+ "kind": "function",
2588
+ "name": "singleOptionTemplate",
2589
+ "parameters": [
2590
+ {
2591
+ "name": "prefix",
2592
+ "type": {
2593
+ "text": "string"
2594
+ }
2595
+ }
2596
+ ]
2597
+ },
2392
2598
  {
2393
2599
  "kind": "variable",
2394
- "name": "foundationAiCriteriaSearchTemplate",
2600
+ "name": "foundationActionsMenuTemplate",
2395
2601
  "type": {
2396
- "text": "ViewTemplate<AiCriteriaSearch>"
2602
+ "text": "ViewTemplate<ActionsMenu>"
2397
2603
  },
2398
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2604
+ "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`"
2399
2605
  }
2400
2606
  ],
2401
2607
  "exports": [
2402
2608
  {
2403
2609
  "kind": "js",
2404
- "name": "foundationAiCriteriaSearchTemplate",
2610
+ "name": "menuTemplate",
2405
2611
  "declaration": {
2406
- "name": "foundationAiCriteriaSearchTemplate",
2407
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2612
+ "name": "menuTemplate",
2613
+ "module": "src/actions-menu/actions-menu.template.ts"
2614
+ }
2615
+ },
2616
+ {
2617
+ "kind": "js",
2618
+ "name": "singleOptionTemplate",
2619
+ "declaration": {
2620
+ "name": "singleOptionTemplate",
2621
+ "module": "src/actions-menu/actions-menu.template.ts"
2622
+ }
2623
+ },
2624
+ {
2625
+ "kind": "js",
2626
+ "name": "foundationActionsMenuTemplate",
2627
+ "declaration": {
2628
+ "name": "foundationActionsMenuTemplate",
2629
+ "module": "src/actions-menu/actions-menu.template.ts"
2408
2630
  }
2409
2631
  }
2410
2632
  ]
2411
2633
  },
2412
2634
  {
2413
2635
  "kind": "javascript-module",
2414
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2636
+ "path": "src/actions-menu/actions-menu.ts",
2415
2637
  "declarations": [
2416
2638
  {
2417
2639
  "kind": "class",
2418
2640
  "description": "",
2419
- "name": "AiCriteriaSearch",
2641
+ "name": "ActionsMenu",
2420
2642
  "members": [
2421
2643
  {
2422
2644
  "kind": "field",
2423
- "name": "aiProvider",
2645
+ "name": "actions",
2424
2646
  "type": {
2425
- "text": "AIProvider"
2647
+ "text": "ActionMenuItem[]"
2426
2648
  }
2427
2649
  },
2428
2650
  {
2429
2651
  "kind": "field",
2430
- "name": "placeholder",
2652
+ "name": "isVertical",
2431
2653
  "type": {
2432
- "text": "string"
2654
+ "text": "boolean"
2433
2655
  },
2434
- "default": "'Describe your search criteria in natural language...'"
2656
+ "default": "false"
2435
2657
  },
2436
2658
  {
2437
2659
  "kind": "field",
2438
- "name": "disabled",
2660
+ "name": "addDefaultActions",
2439
2661
  "type": {
2440
2662
  "text": "boolean"
2441
- }
2442
- },
2443
- {
2444
- "kind": "field",
2445
- "name": "mode",
2446
- "type": {
2447
- "text": "'append' | 'replace'"
2448
2663
  },
2449
- "default": "'replace'"
2664
+ "default": "true"
2450
2665
  },
2451
2666
  {
2452
2667
  "kind": "field",
2453
- "name": "inputValue",
2668
+ "name": "autoCloseOnAction",
2454
2669
  "type": {
2455
- "text": "string"
2670
+ "text": "boolean"
2456
2671
  },
2457
- "default": "''"
2672
+ "default": "true"
2458
2673
  },
2459
2674
  {
2460
2675
  "kind": "field",
2461
- "name": "isInterpreting",
2676
+ "name": "classNames",
2462
2677
  "type": {
2463
- "text": "boolean"
2464
- },
2465
- "default": "false"
2678
+ "text": "string"
2679
+ }
2466
2680
  },
2467
2681
  {
2468
2682
  "kind": "field",
2469
- "name": "lastValidCriteria",
2470
- "type": {
2471
- "text": "string | null"
2472
- },
2473
- "default": "null"
2683
+ "name": "definition",
2684
+ "type": {
2685
+ "text": "any"
2686
+ }
2474
2687
  },
2475
2688
  {
2476
2689
  "kind": "field",
2477
- "name": "fieldMetadata",
2690
+ "name": "name",
2478
2691
  "type": {
2479
- "text": "MetadataDetail[] | string[]"
2692
+ "text": "string"
2480
2693
  },
2481
- "default": "[]"
2694
+ "default": "'Actions'"
2482
2695
  },
2483
2696
  {
2484
2697
  "kind": "field",
2485
- "name": "isRecording",
2698
+ "name": "open",
2486
2699
  "type": {
2487
2700
  "text": "boolean"
2488
2701
  },
@@ -2490,67 +2703,117 @@
2490
2703
  },
2491
2704
  {
2492
2705
  "kind": "field",
2493
- "name": "textAreaRef",
2706
+ "name": "buttonAppearance",
2494
2707
  "type": {
2495
- "text": "HTMLTextAreaElement"
2496
- },
2497
- "privacy": "public"
2708
+ "text": "string"
2709
+ }
2498
2710
  },
2499
2711
  {
2500
2712
  "kind": "field",
2501
- "name": "stopRecording",
2713
+ "name": "hideDisabled",
2502
2714
  "type": {
2503
- "text": "(() => void) | null"
2715
+ "text": "boolean"
2504
2716
  },
2505
- "privacy": "private",
2506
- "default": "null"
2717
+ "default": "false"
2507
2718
  },
2508
2719
  {
2509
2720
  "kind": "field",
2510
- "name": "speechApplyDebounceTimer",
2721
+ "name": "hideMenuSingleOption",
2511
2722
  "type": {
2512
- "text": "ReturnType<typeof setTimeout> | null"
2723
+ "text": "boolean"
2513
2724
  },
2514
- "privacy": "private",
2515
- "default": "null"
2725
+ "default": "false"
2516
2726
  },
2517
2727
  {
2518
2728
  "kind": "field",
2519
- "name": "baseInputForAppend",
2729
+ "name": "singleOption",
2520
2730
  "type": {
2521
- "text": "string"
2522
- },
2523
- "privacy": "private",
2524
- "default": "''"
2731
+ "text": "ActionMenuItem"
2732
+ }
2525
2733
  },
2526
2734
  {
2527
2735
  "kind": "field",
2528
- "name": "speechAvailable",
2736
+ "name": "actionsMenu",
2529
2737
  "type": {
2530
- "text": "boolean"
2531
- },
2532
- "readonly": true
2738
+ "text": "HTMLElement"
2739
+ }
2533
2740
  },
2534
2741
  {
2535
2742
  "kind": "method",
2536
- "name": "handleSubmit"
2743
+ "name": "definitionChanged",
2744
+ "privacy": "protected",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "oldValue",
2748
+ "type": {
2749
+ "text": "any"
2750
+ }
2751
+ },
2752
+ {
2753
+ "name": "newValue",
2754
+ "type": {
2755
+ "text": "any"
2756
+ }
2757
+ }
2758
+ ]
2537
2759
  },
2538
2760
  {
2539
2761
  "kind": "method",
2540
- "name": "handleBlur"
2762
+ "name": "openChanged",
2763
+ "privacy": "protected"
2541
2764
  },
2542
2765
  {
2543
2766
  "kind": "method",
2544
- "name": "clear"
2767
+ "name": "toggleActionsMenuVisibility"
2545
2768
  },
2546
2769
  {
2547
2770
  "kind": "method",
2548
- "name": "toggleSpeechInput"
2771
+ "name": "onActionMenuItemClick",
2772
+ "parameters": [
2773
+ {
2774
+ "name": "callback",
2775
+ "type": {
2776
+ "text": "(rowData) => void | any"
2777
+ }
2778
+ }
2779
+ ]
2780
+ },
2781
+ {
2782
+ "kind": "field",
2783
+ "name": "allActions",
2784
+ "type": {
2785
+ "text": "ActionMenuItem[]"
2786
+ },
2787
+ "readonly": true
2788
+ },
2789
+ {
2790
+ "kind": "field",
2791
+ "name": "rowData",
2792
+ "readonly": true
2549
2793
  },
2550
2794
  {
2551
2795
  "kind": "method",
2552
- "name": "clearSpeechApplyDebounce",
2553
- "privacy": "private"
2796
+ "name": "getLabel",
2797
+ "parameters": [
2798
+ {
2799
+ "name": "name",
2800
+ "type": {
2801
+ "text": "string | ((rowData: any) => string)"
2802
+ }
2803
+ }
2804
+ ]
2805
+ },
2806
+ {
2807
+ "kind": "method",
2808
+ "name": "getTemplate",
2809
+ "parameters": [
2810
+ {
2811
+ "name": "prefix",
2812
+ "type": {
2813
+ "text": "string"
2814
+ }
2815
+ }
2816
+ ]
2554
2817
  },
2555
2818
  {
2556
2819
  "kind": "field",
@@ -2666,150 +2929,113 @@
2666
2929
  ],
2667
2930
  "attributes": [
2668
2931
  {
2669
- "name": "placeholder",
2932
+ "name": "is-vertical",
2933
+ "type": {
2934
+ "text": "boolean"
2935
+ },
2936
+ "default": "false",
2937
+ "fieldName": "isVertical"
2938
+ },
2939
+ {
2940
+ "name": "add-default-actions",
2941
+ "type": {
2942
+ "text": "boolean"
2943
+ },
2944
+ "default": "true",
2945
+ "fieldName": "addDefaultActions"
2946
+ },
2947
+ {
2948
+ "name": "auto-close-on-action",
2949
+ "type": {
2950
+ "text": "boolean"
2951
+ },
2952
+ "default": "true",
2953
+ "fieldName": "autoCloseOnAction"
2954
+ },
2955
+ {
2956
+ "name": "name",
2670
2957
  "type": {
2671
2958
  "text": "string"
2672
2959
  },
2673
- "default": "'Describe your search criteria in natural language...'",
2674
- "fieldName": "placeholder"
2960
+ "default": "'Actions'",
2961
+ "fieldName": "name"
2675
2962
  },
2676
2963
  {
2964
+ "name": "open",
2677
2965
  "type": {
2678
2966
  "text": "boolean"
2679
2967
  },
2680
- "fieldName": "disabled"
2968
+ "default": "false",
2969
+ "fieldName": "open"
2681
2970
  },
2682
2971
  {
2683
- "name": "mode",
2972
+ "name": "buttonAppearance",
2684
2973
  "type": {
2685
- "text": "'append' | 'replace'"
2974
+ "text": "string"
2686
2975
  },
2687
- "default": "'replace'",
2688
- "fieldName": "mode"
2976
+ "fieldName": "buttonAppearance"
2977
+ },
2978
+ {
2979
+ "name": "hide-disabled",
2980
+ "type": {
2981
+ "text": "boolean"
2982
+ },
2983
+ "default": "false",
2984
+ "fieldName": "hideDisabled"
2985
+ },
2986
+ {
2987
+ "name": "hide-menu-single-option",
2988
+ "type": {
2989
+ "text": "boolean"
2990
+ },
2991
+ "default": "false",
2992
+ "fieldName": "hideMenuSingleOption"
2689
2993
  }
2690
2994
  ],
2691
2995
  "superclass": {
2692
2996
  "name": "FoundationElement",
2693
2997
  "package": "@microsoft/fast-foundation"
2694
2998
  },
2695
- "tagName": "%%prefix%%-ai-criteria-search",
2999
+ "tagName": "%%prefix%%-actions-menu",
2696
3000
  "customElement": true
2697
3001
  },
2698
3002
  {
2699
3003
  "kind": "variable",
2700
- "name": "foundationAiCriteriaSearchShadowOptions",
2701
- "type": {
2702
- "text": "ShadowRootInit"
2703
- },
2704
- "default": "undefined"
2705
- },
2706
- {
2707
- "kind": "variable",
2708
- "name": "defaultAiCriteriaSearchConfig",
2709
- "type": {
2710
- "text": "object"
2711
- },
2712
- "default": "{}"
2713
- },
2714
- {
2715
- "kind": "variable",
2716
- "name": "foundationAiCriteriaSearch"
3004
+ "name": "foundationActionsMenu",
3005
+ "description": "The Foundation Actions Menu",
3006
+ "privacy": "public"
2717
3007
  }
2718
3008
  ],
2719
3009
  "exports": [
2720
3010
  {
2721
3011
  "kind": "js",
2722
- "name": "AiCriteriaSearch",
2723
- "declaration": {
2724
- "name": "AiCriteriaSearch",
2725
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2726
- }
2727
- },
2728
- {
2729
- "kind": "js",
2730
- "name": "foundationAiCriteriaSearchShadowOptions",
2731
- "declaration": {
2732
- "name": "foundationAiCriteriaSearchShadowOptions",
2733
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2734
- }
2735
- },
2736
- {
2737
- "kind": "js",
2738
- "name": "defaultAiCriteriaSearchConfig",
3012
+ "name": "ActionsMenu",
2739
3013
  "declaration": {
2740
- "name": "defaultAiCriteriaSearchConfig",
2741
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3014
+ "name": "ActionsMenu",
3015
+ "module": "src/actions-menu/actions-menu.ts"
2742
3016
  }
2743
3017
  },
2744
3018
  {
2745
3019
  "kind": "js",
2746
- "name": "foundationAiCriteriaSearch",
3020
+ "name": "foundationActionsMenu",
2747
3021
  "declaration": {
2748
- "name": "foundationAiCriteriaSearch",
2749
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3022
+ "name": "foundationActionsMenu",
3023
+ "module": "src/actions-menu/actions-menu.ts"
2750
3024
  }
2751
3025
  }
2752
3026
  ]
2753
3027
  },
2754
3028
  {
2755
3029
  "kind": "javascript-module",
2756
- "path": "src/ai-criteria-search/index.ts",
3030
+ "path": "src/actions-menu/index.ts",
2757
3031
  "declarations": [],
2758
3032
  "exports": [
2759
- {
2760
- "kind": "js",
2761
- "name": "AiCriteriaSearch",
2762
- "declaration": {
2763
- "name": "AiCriteriaSearch",
2764
- "module": "./ai-criteria-search"
2765
- }
2766
- },
2767
- {
2768
- "kind": "js",
2769
- "name": "defaultAiCriteriaSearchConfig",
2770
- "declaration": {
2771
- "name": "defaultAiCriteriaSearchConfig",
2772
- "module": "./ai-criteria-search"
2773
- }
2774
- },
2775
- {
2776
- "kind": "js",
2777
- "name": "foundationAiCriteriaSearch",
2778
- "declaration": {
2779
- "name": "foundationAiCriteriaSearch",
2780
- "module": "./ai-criteria-search"
2781
- }
2782
- },
2783
- {
2784
- "kind": "js",
2785
- "name": "foundationAiCriteriaSearchShadowOptions",
2786
- "declaration": {
2787
- "name": "foundationAiCriteriaSearchShadowOptions",
2788
- "module": "./ai-criteria-search"
2789
- }
2790
- },
2791
- {
2792
- "kind": "js",
2793
- "name": "foundationAiCriteriaSearchStyles",
2794
- "declaration": {
2795
- "name": "foundationAiCriteriaSearchStyles",
2796
- "module": "./ai-criteria-search.styles"
2797
- }
2798
- },
2799
- {
2800
- "kind": "js",
2801
- "name": "foundationAiCriteriaSearchTemplate",
2802
- "declaration": {
2803
- "name": "foundationAiCriteriaSearchTemplate",
2804
- "module": "./ai-criteria-search.template"
2805
- }
2806
- },
2807
3033
  {
2808
3034
  "kind": "js",
2809
3035
  "name": "*",
2810
3036
  "declaration": {
2811
3037
  "name": "*",
2812
- "package": "./validation/criteria-ir"
3038
+ "package": "./actions-menu.styles"
2813
3039
  }
2814
3040
  },
2815
3041
  {
@@ -2817,7 +3043,7 @@
2817
3043
  "name": "*",
2818
3044
  "declaration": {
2819
3045
  "name": "*",
2820
- "package": "./validation/operator-map"
3046
+ "package": "./actions-menu.template"
2821
3047
  }
2822
3048
  },
2823
3049
  {
@@ -2825,82 +3051,7 @@
2825
3051
  "name": "*",
2826
3052
  "declaration": {
2827
3053
  "name": "*",
2828
- "package": "./validation/schema-validator"
2829
- }
2830
- }
2831
- ]
2832
- },
2833
- {
2834
- "kind": "javascript-module",
2835
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2836
- "declarations": [
2837
- {
2838
- "kind": "function",
2839
- "name": "formatValidationErrors",
2840
- "return": {
2841
- "type": {
2842
- "text": "string"
2843
- }
2844
- },
2845
- "parameters": [
2846
- {
2847
- "name": "errors",
2848
- "type": {
2849
- "text": "ValidationError[]"
2850
- }
2851
- }
2852
- ],
2853
- "description": "Formats validation errors into a user-friendly message."
2854
- },
2855
- {
2856
- "kind": "function",
2857
- "name": "showCriteriaError",
2858
- "return": {
2859
- "type": {
2860
- "text": "void"
2861
- }
2862
- },
2863
- "parameters": [
2864
- {
2865
- "name": "title",
2866
- "type": {
2867
- "text": "string"
2868
- },
2869
- "description": "Notification title (e.g. \"Criteria validation error\")"
2870
- },
2871
- {
2872
- "name": "body",
2873
- "type": {
2874
- "text": "string"
2875
- },
2876
- "description": "Error message to display"
2877
- },
2878
- {
2879
- "name": "tagName",
2880
- "type": {
2881
- "text": "string"
2882
- },
2883
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2884
- }
2885
- ],
2886
- "description": "Shows a criteria error as a toast notification."
2887
- }
2888
- ],
2889
- "exports": [
2890
- {
2891
- "kind": "js",
2892
- "name": "formatValidationErrors",
2893
- "declaration": {
2894
- "name": "formatValidationErrors",
2895
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2896
- }
2897
- },
2898
- {
2899
- "kind": "js",
2900
- "name": "showCriteriaError",
2901
- "declaration": {
2902
- "name": "showCriteriaError",
2903
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3054
+ "package": "./actions-menu"
2904
3055
  }
2905
3056
  }
2906
3057
  ]
@@ -3346,158 +3497,7 @@
3346
3497
  },
3347
3498
  {
3348
3499
  "kind": "javascript-module",
3349
- "path": "src/accordion/accordion.styles.ts",
3350
- "declarations": [
3351
- {
3352
- "kind": "function",
3353
- "name": "foundationAccordionStyles",
3354
- "return": {
3355
- "type": {
3356
- "text": "ElementStyles"
3357
- }
3358
- },
3359
- "parameters": [
3360
- {
3361
- "name": "context",
3362
- "type": {
3363
- "text": "ElementDefinitionContext"
3364
- }
3365
- },
3366
- {
3367
- "name": "definition",
3368
- "type": {
3369
- "text": "FoundationElementDefinition"
3370
- }
3371
- }
3372
- ]
3373
- }
3374
- ],
3375
- "exports": [
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAccordionStyles",
3379
- "declaration": {
3380
- "name": "foundationAccordionStyles",
3381
- "module": "src/accordion/accordion.styles.ts"
3382
- }
3383
- }
3384
- ]
3385
- },
3386
- {
3387
- "kind": "javascript-module",
3388
- "path": "src/accordion/accordion.template.ts",
3389
- "declarations": [
3390
- {
3391
- "kind": "function",
3392
- "name": "foundationAccordionTemplate",
3393
- "return": {
3394
- "type": {
3395
- "text": "ViewTemplate<Accordion>"
3396
- }
3397
- },
3398
- "parameters": [
3399
- {
3400
- "name": "context",
3401
- "type": {
3402
- "text": "ElementDefinitionContext"
3403
- }
3404
- },
3405
- {
3406
- "name": "definition",
3407
- "type": {
3408
- "text": "FoundationElementDefinition"
3409
- }
3410
- }
3411
- ]
3412
- }
3413
- ],
3414
- "exports": [
3415
- {
3416
- "kind": "js",
3417
- "name": "foundationAccordionTemplate",
3418
- "declaration": {
3419
- "name": "foundationAccordionTemplate",
3420
- "module": "src/accordion/accordion.template.ts"
3421
- }
3422
- }
3423
- ]
3424
- },
3425
- {
3426
- "kind": "javascript-module",
3427
- "path": "src/accordion/accordion.ts",
3428
- "declarations": [
3429
- {
3430
- "kind": "class",
3431
- "description": "",
3432
- "name": "Accordion",
3433
- "superclass": {
3434
- "name": "FASTAccordion",
3435
- "package": "@microsoft/fast-foundation"
3436
- },
3437
- "tagName": "%%prefix%%-accordion",
3438
- "customElement": true
3439
- },
3440
- {
3441
- "kind": "variable",
3442
- "name": "foundationAccordionShadowOptions",
3443
- "type": {
3444
- "text": "ShadowRootInit"
3445
- },
3446
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3447
- },
3448
- {
3449
- "kind": "variable",
3450
- "name": "defaultAccordionConfig",
3451
- "type": {
3452
- "text": "object"
3453
- },
3454
- "default": "{}"
3455
- },
3456
- {
3457
- "kind": "variable",
3458
- "name": "foundationAccordion",
3459
- "description": "The Foundation Accordion",
3460
- "privacy": "public"
3461
- }
3462
- ],
3463
- "exports": [
3464
- {
3465
- "kind": "js",
3466
- "name": "Accordion",
3467
- "declaration": {
3468
- "name": "Accordion",
3469
- "module": "src/accordion/accordion.ts"
3470
- }
3471
- },
3472
- {
3473
- "kind": "js",
3474
- "name": "foundationAccordionShadowOptions",
3475
- "declaration": {
3476
- "name": "foundationAccordionShadowOptions",
3477
- "module": "src/accordion/accordion.ts"
3478
- }
3479
- },
3480
- {
3481
- "kind": "js",
3482
- "name": "defaultAccordionConfig",
3483
- "declaration": {
3484
- "name": "defaultAccordionConfig",
3485
- "module": "src/accordion/accordion.ts"
3486
- }
3487
- },
3488
- {
3489
- "kind": "js",
3490
- "name": "foundationAccordion",
3491
- "declaration": {
3492
- "name": "foundationAccordion",
3493
- "module": "src/accordion/accordion.ts"
3494
- }
3495
- }
3496
- ]
3497
- },
3498
- {
3499
- "kind": "javascript-module",
3500
- "path": "src/accordion/index.ts",
3500
+ "path": "src/_config/index.ts",
3501
3501
  "declarations": [],
3502
3502
  "exports": [
3503
3503
  {
@@ -3505,7 +3505,7 @@
3505
3505
  "name": "*",
3506
3506
  "declaration": {
3507
3507
  "name": "*",
3508
- "package": "./accordion.template"
3508
+ "package": "./styles"
3509
3509
  }
3510
3510
  },
3511
3511
  {
@@ -3513,7 +3513,7 @@
3513
3513
  "name": "*",
3514
3514
  "declaration": {
3515
3515
  "name": "*",
3516
- "package": "./accordion.styles"
3516
+ "package": "./tokens"
3517
3517
  }
3518
3518
  },
3519
3519
  {
@@ -3521,7 +3521,7 @@
3521
3521
  "name": "*",
3522
3522
  "declaration": {
3523
3523
  "name": "*",
3524
- "package": "./accordion"
3524
+ "package": "./values"
3525
3525
  }
3526
3526
  }
3527
3527
  ]
@@ -54503,6 +54503,181 @@
54503
54503
  }
54504
54504
  ]
54505
54505
  },
54506
+ {
54507
+ "kind": "javascript-module",
54508
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54509
+ "declarations": [],
54510
+ "exports": []
54511
+ },
54512
+ {
54513
+ "kind": "javascript-module",
54514
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54515
+ "declarations": [
54516
+ {
54517
+ "kind": "function",
54518
+ "name": "groupsToCriteria",
54519
+ "return": {
54520
+ "type": {
54521
+ "text": "string"
54522
+ }
54523
+ },
54524
+ "parameters": [
54525
+ {
54526
+ "name": "groups",
54527
+ "type": {
54528
+ "text": "CriteriaGroup[]"
54529
+ }
54530
+ }
54531
+ ],
54532
+ "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."
54533
+ },
54534
+ {
54535
+ "kind": "variable",
54536
+ "name": "STRING_OPERATORS",
54537
+ "type": {
54538
+ "text": "CriteriaOperator[]"
54539
+ },
54540
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54541
+ },
54542
+ {
54543
+ "kind": "variable",
54544
+ "name": "NUMERIC_OPERATORS",
54545
+ "type": {
54546
+ "text": "CriteriaOperator[]"
54547
+ },
54548
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54549
+ },
54550
+ {
54551
+ "kind": "variable",
54552
+ "name": "DATE_OPERATORS",
54553
+ "type": {
54554
+ "text": "CriteriaOperator[]"
54555
+ },
54556
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54557
+ },
54558
+ {
54559
+ "kind": "variable",
54560
+ "name": "DATETIME_OPERATORS",
54561
+ "type": {
54562
+ "text": "CriteriaOperator[]"
54563
+ },
54564
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54565
+ }
54566
+ ],
54567
+ "exports": [
54568
+ {
54569
+ "kind": "js",
54570
+ "name": "groupsToCriteria",
54571
+ "declaration": {
54572
+ "name": "groupsToCriteria",
54573
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54574
+ }
54575
+ },
54576
+ {
54577
+ "kind": "js",
54578
+ "name": "STRING_OPERATORS",
54579
+ "declaration": {
54580
+ "name": "STRING_OPERATORS",
54581
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54582
+ }
54583
+ },
54584
+ {
54585
+ "kind": "js",
54586
+ "name": "NUMERIC_OPERATORS",
54587
+ "declaration": {
54588
+ "name": "NUMERIC_OPERATORS",
54589
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54590
+ }
54591
+ },
54592
+ {
54593
+ "kind": "js",
54594
+ "name": "DATE_OPERATORS",
54595
+ "declaration": {
54596
+ "name": "DATE_OPERATORS",
54597
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54598
+ }
54599
+ },
54600
+ {
54601
+ "kind": "js",
54602
+ "name": "DATETIME_OPERATORS",
54603
+ "declaration": {
54604
+ "name": "DATETIME_OPERATORS",
54605
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54606
+ }
54607
+ }
54608
+ ]
54609
+ },
54610
+ {
54611
+ "kind": "javascript-module",
54612
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54613
+ "declarations": [
54614
+ {
54615
+ "kind": "function",
54616
+ "name": "validateClauses",
54617
+ "return": {
54618
+ "type": {
54619
+ "text": "ValidationResult"
54620
+ }
54621
+ },
54622
+ "parameters": [
54623
+ {
54624
+ "name": "clauses",
54625
+ "type": {
54626
+ "text": "CriteriaClause[]"
54627
+ }
54628
+ },
54629
+ {
54630
+ "name": "fieldMetadata",
54631
+ "type": {
54632
+ "text": "MetadataDetail[] | string[]"
54633
+ }
54634
+ }
54635
+ ]
54636
+ },
54637
+ {
54638
+ "kind": "function",
54639
+ "name": "validateGroups",
54640
+ "return": {
54641
+ "type": {
54642
+ "text": "GroupsValidationResult"
54643
+ }
54644
+ },
54645
+ "parameters": [
54646
+ {
54647
+ "name": "groups",
54648
+ "type": {
54649
+ "text": "CriteriaGroup[]"
54650
+ }
54651
+ },
54652
+ {
54653
+ "name": "fieldMetadata",
54654
+ "type": {
54655
+ "text": "MetadataDetail[] | string[]"
54656
+ }
54657
+ }
54658
+ ],
54659
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54660
+ }
54661
+ ],
54662
+ "exports": [
54663
+ {
54664
+ "kind": "js",
54665
+ "name": "validateClauses",
54666
+ "declaration": {
54667
+ "name": "validateClauses",
54668
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54669
+ }
54670
+ },
54671
+ {
54672
+ "kind": "js",
54673
+ "name": "validateGroups",
54674
+ "declaration": {
54675
+ "name": "validateGroups",
54676
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54677
+ }
54678
+ }
54679
+ ]
54680
+ },
54506
54681
  {
54507
54682
  "kind": "javascript-module",
54508
54683
  "path": "src/_config/styles/colors.ts",
@@ -55875,181 +56050,6 @@
55875
56050
  "declarations": [],
55876
56051
  "exports": []
55877
56052
  },
55878
- {
55879
- "kind": "javascript-module",
55880
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55881
- "declarations": [],
55882
- "exports": []
55883
- },
55884
- {
55885
- "kind": "javascript-module",
55886
- "path": "src/ai-criteria-search/validation/operator-map.ts",
55887
- "declarations": [
55888
- {
55889
- "kind": "function",
55890
- "name": "groupsToCriteria",
55891
- "return": {
55892
- "type": {
55893
- "text": "string"
55894
- }
55895
- },
55896
- "parameters": [
55897
- {
55898
- "name": "groups",
55899
- "type": {
55900
- "text": "CriteriaGroup[]"
55901
- }
55902
- }
55903
- ],
55904
- "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."
55905
- },
55906
- {
55907
- "kind": "variable",
55908
- "name": "STRING_OPERATORS",
55909
- "type": {
55910
- "text": "CriteriaOperator[]"
55911
- },
55912
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55913
- },
55914
- {
55915
- "kind": "variable",
55916
- "name": "NUMERIC_OPERATORS",
55917
- "type": {
55918
- "text": "CriteriaOperator[]"
55919
- },
55920
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55921
- },
55922
- {
55923
- "kind": "variable",
55924
- "name": "DATE_OPERATORS",
55925
- "type": {
55926
- "text": "CriteriaOperator[]"
55927
- },
55928
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55929
- },
55930
- {
55931
- "kind": "variable",
55932
- "name": "DATETIME_OPERATORS",
55933
- "type": {
55934
- "text": "CriteriaOperator[]"
55935
- },
55936
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55937
- }
55938
- ],
55939
- "exports": [
55940
- {
55941
- "kind": "js",
55942
- "name": "groupsToCriteria",
55943
- "declaration": {
55944
- "name": "groupsToCriteria",
55945
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55946
- }
55947
- },
55948
- {
55949
- "kind": "js",
55950
- "name": "STRING_OPERATORS",
55951
- "declaration": {
55952
- "name": "STRING_OPERATORS",
55953
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55954
- }
55955
- },
55956
- {
55957
- "kind": "js",
55958
- "name": "NUMERIC_OPERATORS",
55959
- "declaration": {
55960
- "name": "NUMERIC_OPERATORS",
55961
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55962
- }
55963
- },
55964
- {
55965
- "kind": "js",
55966
- "name": "DATE_OPERATORS",
55967
- "declaration": {
55968
- "name": "DATE_OPERATORS",
55969
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55970
- }
55971
- },
55972
- {
55973
- "kind": "js",
55974
- "name": "DATETIME_OPERATORS",
55975
- "declaration": {
55976
- "name": "DATETIME_OPERATORS",
55977
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55978
- }
55979
- }
55980
- ]
55981
- },
55982
- {
55983
- "kind": "javascript-module",
55984
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
55985
- "declarations": [
55986
- {
55987
- "kind": "function",
55988
- "name": "validateClauses",
55989
- "return": {
55990
- "type": {
55991
- "text": "ValidationResult"
55992
- }
55993
- },
55994
- "parameters": [
55995
- {
55996
- "name": "clauses",
55997
- "type": {
55998
- "text": "CriteriaClause[]"
55999
- }
56000
- },
56001
- {
56002
- "name": "fieldMetadata",
56003
- "type": {
56004
- "text": "MetadataDetail[] | string[]"
56005
- }
56006
- }
56007
- ]
56008
- },
56009
- {
56010
- "kind": "function",
56011
- "name": "validateGroups",
56012
- "return": {
56013
- "type": {
56014
- "text": "GroupsValidationResult"
56015
- }
56016
- },
56017
- "parameters": [
56018
- {
56019
- "name": "groups",
56020
- "type": {
56021
- "text": "CriteriaGroup[]"
56022
- }
56023
- },
56024
- {
56025
- "name": "fieldMetadata",
56026
- "type": {
56027
- "text": "MetadataDetail[] | string[]"
56028
- }
56029
- }
56030
- ],
56031
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56032
- }
56033
- ],
56034
- "exports": [
56035
- {
56036
- "kind": "js",
56037
- "name": "validateClauses",
56038
- "declaration": {
56039
- "name": "validateClauses",
56040
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56041
- }
56042
- },
56043
- {
56044
- "kind": "js",
56045
- "name": "validateGroups",
56046
- "declaration": {
56047
- "name": "validateGroups",
56048
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56049
- }
56050
- }
56051
- ]
56052
- },
56053
56053
  {
56054
56054
  "kind": "javascript-module",
56055
56055
  "path": "src/environment-indicator/utils/configure.ts",