@genesislcap/foundation-ui 14.412.0 → 14.414.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +841 -841
  2. package/package.json +19 -19
@@ -1683,352 +1683,191 @@
1683
1683
  },
1684
1684
  {
1685
1685
  "kind": "javascript-module",
1686
- "path": "src/_config/index.ts",
1687
- "declarations": [],
1688
- "exports": [
1689
- {
1690
- "kind": "js",
1691
- "name": "*",
1692
- "declaration": {
1693
- "name": "*",
1694
- "package": "./styles"
1695
- }
1696
- },
1697
- {
1698
- "kind": "js",
1699
- "name": "*",
1700
- "declaration": {
1701
- "name": "*",
1702
- "package": "./tokens"
1703
- }
1704
- },
1705
- {
1706
- "kind": "js",
1707
- "name": "*",
1708
- "declaration": {
1709
- "name": "*",
1710
- "package": "./values"
1711
- }
1712
- }
1713
- ]
1714
- },
1715
- {
1716
- "kind": "javascript-module",
1717
- "path": "src/actions-menu/actions-menu.styles.ts",
1686
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1718
1687
  "declarations": [
1719
1688
  {
1720
- "kind": "function",
1721
- "name": "actionsMenuBaseStyles",
1722
- "return": {
1723
- "type": {
1724
- "text": "ElementStyles"
1725
- }
1726
- },
1727
- "parameters": [
1728
- {
1729
- "name": "context",
1730
- "type": {
1731
- "text": "ElementDefinitionContext"
1732
- }
1733
- },
1734
- {
1735
- "name": "definition",
1736
- "type": {
1737
- "text": "FoundationElementDefinition"
1738
- }
1739
- }
1740
- ]
1741
- },
1742
- {
1743
- "kind": "function",
1744
- "name": "foundationActionsMenuStyles",
1745
- "return": {
1746
- "type": {
1747
- "text": "ElementStyles"
1748
- }
1749
- },
1750
- "parameters": [
1751
- {
1752
- "name": "context",
1753
- "type": {
1754
- "text": "ElementDefinitionContext"
1755
- }
1756
- },
1757
- {
1758
- "name": "definition",
1759
- "type": {
1760
- "text": "FoundationElementDefinition"
1761
- }
1762
- }
1763
- ]
1689
+ "kind": "variable",
1690
+ "name": "foundationAiCriteriaSearchStyles",
1691
+ "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`"
1764
1692
  }
1765
1693
  ],
1766
1694
  "exports": [
1767
1695
  {
1768
1696
  "kind": "js",
1769
- "name": "actionsMenuBaseStyles",
1770
- "declaration": {
1771
- "name": "actionsMenuBaseStyles",
1772
- "module": "src/actions-menu/actions-menu.styles.ts"
1773
- }
1774
- },
1775
- {
1776
- "kind": "js",
1777
- "name": "foundationActionsMenuStyles",
1697
+ "name": "foundationAiCriteriaSearchStyles",
1778
1698
  "declaration": {
1779
- "name": "foundationActionsMenuStyles",
1780
- "module": "src/actions-menu/actions-menu.styles.ts"
1699
+ "name": "foundationAiCriteriaSearchStyles",
1700
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1781
1701
  }
1782
1702
  }
1783
1703
  ]
1784
1704
  },
1785
1705
  {
1786
1706
  "kind": "javascript-module",
1787
- "path": "src/actions-menu/actions-menu.template.ts",
1707
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1788
1708
  "declarations": [
1789
- {
1790
- "kind": "function",
1791
- "name": "menuTemplate",
1792
- "parameters": [
1793
- {
1794
- "name": "prefix",
1795
- "type": {
1796
- "text": "string"
1797
- }
1798
- }
1799
- ]
1800
- },
1801
- {
1802
- "kind": "function",
1803
- "name": "singleOptionTemplate",
1804
- "parameters": [
1805
- {
1806
- "name": "prefix",
1807
- "type": {
1808
- "text": "string"
1809
- }
1810
- }
1811
- ]
1812
- },
1813
1709
  {
1814
1710
  "kind": "variable",
1815
- "name": "foundationActionsMenuTemplate",
1711
+ "name": "foundationAiCriteriaSearchTemplate",
1816
1712
  "type": {
1817
- "text": "ViewTemplate<ActionsMenu>"
1713
+ "text": "ViewTemplate<AiCriteriaSearch>"
1818
1714
  },
1819
- "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`"
1715
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1820
1716
  }
1821
1717
  ],
1822
1718
  "exports": [
1823
1719
  {
1824
1720
  "kind": "js",
1825
- "name": "menuTemplate",
1826
- "declaration": {
1827
- "name": "menuTemplate",
1828
- "module": "src/actions-menu/actions-menu.template.ts"
1829
- }
1830
- },
1831
- {
1832
- "kind": "js",
1833
- "name": "singleOptionTemplate",
1834
- "declaration": {
1835
- "name": "singleOptionTemplate",
1836
- "module": "src/actions-menu/actions-menu.template.ts"
1837
- }
1838
- },
1839
- {
1840
- "kind": "js",
1841
- "name": "foundationActionsMenuTemplate",
1721
+ "name": "foundationAiCriteriaSearchTemplate",
1842
1722
  "declaration": {
1843
- "name": "foundationActionsMenuTemplate",
1844
- "module": "src/actions-menu/actions-menu.template.ts"
1723
+ "name": "foundationAiCriteriaSearchTemplate",
1724
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1845
1725
  }
1846
1726
  }
1847
1727
  ]
1848
1728
  },
1849
1729
  {
1850
1730
  "kind": "javascript-module",
1851
- "path": "src/actions-menu/actions-menu.ts",
1731
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1852
1732
  "declarations": [
1853
1733
  {
1854
1734
  "kind": "class",
1855
1735
  "description": "",
1856
- "name": "ActionsMenu",
1736
+ "name": "AiCriteriaSearch",
1857
1737
  "members": [
1858
1738
  {
1859
1739
  "kind": "field",
1860
- "name": "actions",
1740
+ "name": "aiProvider",
1861
1741
  "type": {
1862
- "text": "ActionMenuItem[]"
1742
+ "text": "AIProvider"
1863
1743
  }
1864
1744
  },
1865
1745
  {
1866
1746
  "kind": "field",
1867
- "name": "isVertical",
1747
+ "name": "placeholder",
1868
1748
  "type": {
1869
- "text": "boolean"
1749
+ "text": "string"
1870
1750
  },
1871
- "default": "false"
1751
+ "default": "'Describe your search criteria in natural language...'"
1872
1752
  },
1873
1753
  {
1874
1754
  "kind": "field",
1875
- "name": "addDefaultActions",
1755
+ "name": "disabled",
1876
1756
  "type": {
1877
1757
  "text": "boolean"
1878
- },
1879
- "default": "true"
1758
+ }
1880
1759
  },
1881
1760
  {
1882
1761
  "kind": "field",
1883
- "name": "autoCloseOnAction",
1762
+ "name": "mode",
1884
1763
  "type": {
1885
- "text": "boolean"
1764
+ "text": "'append' | 'replace'"
1886
1765
  },
1887
- "default": "true"
1766
+ "default": "'replace'"
1888
1767
  },
1889
1768
  {
1890
1769
  "kind": "field",
1891
- "name": "classNames",
1770
+ "name": "inputValue",
1892
1771
  "type": {
1893
1772
  "text": "string"
1894
- }
1773
+ },
1774
+ "default": "''"
1895
1775
  },
1896
1776
  {
1897
1777
  "kind": "field",
1898
- "name": "definition",
1778
+ "name": "isInterpreting",
1899
1779
  "type": {
1900
- "text": "any"
1901
- }
1780
+ "text": "boolean"
1781
+ },
1782
+ "default": "false"
1902
1783
  },
1903
1784
  {
1904
1785
  "kind": "field",
1905
- "name": "name",
1786
+ "name": "lastValidCriteria",
1906
1787
  "type": {
1907
- "text": "string"
1788
+ "text": "string | null"
1908
1789
  },
1909
- "default": "'Actions'"
1790
+ "default": "null"
1910
1791
  },
1911
1792
  {
1912
1793
  "kind": "field",
1913
- "name": "open",
1794
+ "name": "fieldMetadata",
1914
1795
  "type": {
1915
- "text": "boolean"
1796
+ "text": "MetadataDetail[] | string[]"
1916
1797
  },
1917
- "default": "false"
1798
+ "default": "[]"
1918
1799
  },
1919
1800
  {
1920
1801
  "kind": "field",
1921
- "name": "buttonAppearance",
1802
+ "name": "isRecording",
1922
1803
  "type": {
1923
- "text": "string"
1924
- }
1804
+ "text": "boolean"
1805
+ },
1806
+ "default": "false"
1925
1807
  },
1926
1808
  {
1927
1809
  "kind": "field",
1928
- "name": "hideDisabled",
1810
+ "name": "textAreaRef",
1929
1811
  "type": {
1930
- "text": "boolean"
1812
+ "text": "HTMLTextAreaElement"
1931
1813
  },
1932
- "default": "false"
1814
+ "privacy": "public"
1933
1815
  },
1934
1816
  {
1935
1817
  "kind": "field",
1936
- "name": "hideMenuSingleOption",
1818
+ "name": "stopRecording",
1937
1819
  "type": {
1938
- "text": "boolean"
1820
+ "text": "(() => void) | null"
1939
1821
  },
1940
- "default": "false"
1822
+ "privacy": "private",
1823
+ "default": "null"
1941
1824
  },
1942
1825
  {
1943
1826
  "kind": "field",
1944
- "name": "singleOption",
1827
+ "name": "speechApplyDebounceTimer",
1945
1828
  "type": {
1946
- "text": "ActionMenuItem"
1947
- }
1829
+ "text": "ReturnType<typeof setTimeout> | null"
1830
+ },
1831
+ "privacy": "private",
1832
+ "default": "null"
1948
1833
  },
1949
1834
  {
1950
1835
  "kind": "field",
1951
- "name": "actionsMenu",
1836
+ "name": "baseInputForAppend",
1952
1837
  "type": {
1953
- "text": "HTMLElement"
1954
- }
1838
+ "text": "string"
1839
+ },
1840
+ "privacy": "private",
1841
+ "default": "''"
1955
1842
  },
1956
1843
  {
1957
- "kind": "method",
1958
- "name": "definitionChanged",
1959
- "privacy": "protected",
1960
- "parameters": [
1961
- {
1962
- "name": "oldValue",
1963
- "type": {
1964
- "text": "any"
1965
- }
1966
- },
1967
- {
1968
- "name": "newValue",
1969
- "type": {
1970
- "text": "any"
1971
- }
1972
- }
1973
- ]
1844
+ "kind": "field",
1845
+ "name": "speechAvailable",
1846
+ "type": {
1847
+ "text": "boolean"
1848
+ },
1849
+ "readonly": true
1974
1850
  },
1975
1851
  {
1976
1852
  "kind": "method",
1977
- "name": "openChanged",
1978
- "privacy": "protected"
1853
+ "name": "handleSubmit"
1979
1854
  },
1980
1855
  {
1981
1856
  "kind": "method",
1982
- "name": "toggleActionsMenuVisibility"
1857
+ "name": "handleBlur"
1983
1858
  },
1984
1859
  {
1985
1860
  "kind": "method",
1986
- "name": "onActionMenuItemClick",
1987
- "parameters": [
1988
- {
1989
- "name": "callback",
1990
- "type": {
1991
- "text": "(rowData) => void | any"
1992
- }
1993
- }
1994
- ]
1995
- },
1996
- {
1997
- "kind": "field",
1998
- "name": "allActions",
1999
- "type": {
2000
- "text": "ActionMenuItem[]"
2001
- },
2002
- "readonly": true
2003
- },
2004
- {
2005
- "kind": "field",
2006
- "name": "rowData",
2007
- "readonly": true
1861
+ "name": "clear"
2008
1862
  },
2009
1863
  {
2010
1864
  "kind": "method",
2011
- "name": "getLabel",
2012
- "parameters": [
2013
- {
2014
- "name": "name",
2015
- "type": {
2016
- "text": "string | ((rowData: any) => string)"
2017
- }
2018
- }
2019
- ]
1865
+ "name": "toggleSpeechInput"
2020
1866
  },
2021
1867
  {
2022
1868
  "kind": "method",
2023
- "name": "getTemplate",
2024
- "parameters": [
2025
- {
2026
- "name": "prefix",
2027
- "type": {
2028
- "text": "string"
2029
- }
2030
- }
2031
- ]
1869
+ "name": "clearSpeechApplyDebounce",
1870
+ "privacy": "private"
2032
1871
  },
2033
1872
  {
2034
1873
  "kind": "field",
@@ -2144,113 +1983,150 @@
2144
1983
  ],
2145
1984
  "attributes": [
2146
1985
  {
2147
- "name": "is-vertical",
2148
- "type": {
2149
- "text": "boolean"
2150
- },
2151
- "default": "false",
2152
- "fieldName": "isVertical"
2153
- },
2154
- {
2155
- "name": "add-default-actions",
2156
- "type": {
2157
- "text": "boolean"
2158
- },
2159
- "default": "true",
2160
- "fieldName": "addDefaultActions"
2161
- },
2162
- {
2163
- "name": "auto-close-on-action",
2164
- "type": {
2165
- "text": "boolean"
2166
- },
2167
- "default": "true",
2168
- "fieldName": "autoCloseOnAction"
2169
- },
2170
- {
2171
- "name": "name",
2172
- "type": {
2173
- "text": "string"
2174
- },
2175
- "default": "'Actions'",
2176
- "fieldName": "name"
2177
- },
2178
- {
2179
- "name": "open",
2180
- "type": {
2181
- "text": "boolean"
2182
- },
2183
- "default": "false",
2184
- "fieldName": "open"
2185
- },
2186
- {
2187
- "name": "buttonAppearance",
1986
+ "name": "placeholder",
2188
1987
  "type": {
2189
1988
  "text": "string"
2190
1989
  },
2191
- "fieldName": "buttonAppearance"
1990
+ "default": "'Describe your search criteria in natural language...'",
1991
+ "fieldName": "placeholder"
2192
1992
  },
2193
1993
  {
2194
- "name": "hide-disabled",
2195
1994
  "type": {
2196
1995
  "text": "boolean"
2197
1996
  },
2198
- "default": "false",
2199
- "fieldName": "hideDisabled"
1997
+ "fieldName": "disabled"
2200
1998
  },
2201
1999
  {
2202
- "name": "hide-menu-single-option",
2000
+ "name": "mode",
2203
2001
  "type": {
2204
- "text": "boolean"
2002
+ "text": "'append' | 'replace'"
2205
2003
  },
2206
- "default": "false",
2207
- "fieldName": "hideMenuSingleOption"
2004
+ "default": "'replace'",
2005
+ "fieldName": "mode"
2208
2006
  }
2209
2007
  ],
2210
2008
  "superclass": {
2211
2009
  "name": "FoundationElement",
2212
2010
  "package": "@microsoft/fast-foundation"
2213
2011
  },
2214
- "tagName": "%%prefix%%-actions-menu",
2012
+ "tagName": "%%prefix%%-ai-criteria-search",
2215
2013
  "customElement": true
2216
2014
  },
2217
2015
  {
2218
2016
  "kind": "variable",
2219
- "name": "foundationActionsMenu",
2220
- "description": "The Foundation Actions Menu",
2221
- "privacy": "public"
2017
+ "name": "foundationAiCriteriaSearchShadowOptions",
2018
+ "type": {
2019
+ "text": "ShadowRootInit"
2020
+ },
2021
+ "default": "undefined"
2022
+ },
2023
+ {
2024
+ "kind": "variable",
2025
+ "name": "defaultAiCriteriaSearchConfig",
2026
+ "type": {
2027
+ "text": "object"
2028
+ },
2029
+ "default": "{}"
2030
+ },
2031
+ {
2032
+ "kind": "variable",
2033
+ "name": "foundationAiCriteriaSearch"
2222
2034
  }
2223
2035
  ],
2224
2036
  "exports": [
2225
2037
  {
2226
2038
  "kind": "js",
2227
- "name": "ActionsMenu",
2039
+ "name": "AiCriteriaSearch",
2228
2040
  "declaration": {
2229
- "name": "ActionsMenu",
2230
- "module": "src/actions-menu/actions-menu.ts"
2041
+ "name": "AiCriteriaSearch",
2042
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2231
2043
  }
2232
2044
  },
2233
2045
  {
2234
2046
  "kind": "js",
2235
- "name": "foundationActionsMenu",
2047
+ "name": "foundationAiCriteriaSearchShadowOptions",
2236
2048
  "declaration": {
2237
- "name": "foundationActionsMenu",
2238
- "module": "src/actions-menu/actions-menu.ts"
2049
+ "name": "foundationAiCriteriaSearchShadowOptions",
2050
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2051
+ }
2052
+ },
2053
+ {
2054
+ "kind": "js",
2055
+ "name": "defaultAiCriteriaSearchConfig",
2056
+ "declaration": {
2057
+ "name": "defaultAiCriteriaSearchConfig",
2058
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2059
+ }
2060
+ },
2061
+ {
2062
+ "kind": "js",
2063
+ "name": "foundationAiCriteriaSearch",
2064
+ "declaration": {
2065
+ "name": "foundationAiCriteriaSearch",
2066
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2239
2067
  }
2240
2068
  }
2241
2069
  ]
2242
2070
  },
2243
2071
  {
2244
2072
  "kind": "javascript-module",
2245
- "path": "src/actions-menu/index.ts",
2073
+ "path": "src/ai-criteria-search/index.ts",
2246
2074
  "declarations": [],
2247
2075
  "exports": [
2076
+ {
2077
+ "kind": "js",
2078
+ "name": "AiCriteriaSearch",
2079
+ "declaration": {
2080
+ "name": "AiCriteriaSearch",
2081
+ "module": "./ai-criteria-search"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "js",
2086
+ "name": "defaultAiCriteriaSearchConfig",
2087
+ "declaration": {
2088
+ "name": "defaultAiCriteriaSearchConfig",
2089
+ "module": "./ai-criteria-search"
2090
+ }
2091
+ },
2092
+ {
2093
+ "kind": "js",
2094
+ "name": "foundationAiCriteriaSearch",
2095
+ "declaration": {
2096
+ "name": "foundationAiCriteriaSearch",
2097
+ "module": "./ai-criteria-search"
2098
+ }
2099
+ },
2100
+ {
2101
+ "kind": "js",
2102
+ "name": "foundationAiCriteriaSearchShadowOptions",
2103
+ "declaration": {
2104
+ "name": "foundationAiCriteriaSearchShadowOptions",
2105
+ "module": "./ai-criteria-search"
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "js",
2110
+ "name": "foundationAiCriteriaSearchStyles",
2111
+ "declaration": {
2112
+ "name": "foundationAiCriteriaSearchStyles",
2113
+ "module": "./ai-criteria-search.styles"
2114
+ }
2115
+ },
2116
+ {
2117
+ "kind": "js",
2118
+ "name": "foundationAiCriteriaSearchTemplate",
2119
+ "declaration": {
2120
+ "name": "foundationAiCriteriaSearchTemplate",
2121
+ "module": "./ai-criteria-search.template"
2122
+ }
2123
+ },
2248
2124
  {
2249
2125
  "kind": "js",
2250
2126
  "name": "*",
2251
2127
  "declaration": {
2252
2128
  "name": "*",
2253
- "package": "./actions-menu.styles"
2129
+ "package": "./validation/criteria-ir"
2254
2130
  }
2255
2131
  },
2256
2132
  {
@@ -2258,7 +2134,7 @@
2258
2134
  "name": "*",
2259
2135
  "declaration": {
2260
2136
  "name": "*",
2261
- "package": "./actions-menu.template"
2137
+ "package": "./validation/operator-map"
2262
2138
  }
2263
2139
  },
2264
2140
  {
@@ -2266,60 +2142,96 @@
2266
2142
  "name": "*",
2267
2143
  "declaration": {
2268
2144
  "name": "*",
2269
- "package": "./actions-menu"
2145
+ "package": "./validation/schema-validator"
2270
2146
  }
2271
2147
  }
2272
2148
  ]
2273
2149
  },
2274
2150
  {
2275
2151
  "kind": "javascript-module",
2276
- "path": "src/accordion/accordion.styles.ts",
2152
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2277
2153
  "declarations": [
2278
2154
  {
2279
2155
  "kind": "function",
2280
- "name": "foundationAccordionStyles",
2156
+ "name": "formatValidationErrors",
2281
2157
  "return": {
2282
2158
  "type": {
2283
- "text": "ElementStyles"
2159
+ "text": "string"
2284
2160
  }
2285
2161
  },
2286
2162
  "parameters": [
2287
2163
  {
2288
- "name": "context",
2164
+ "name": "errors",
2289
2165
  "type": {
2290
- "text": "ElementDefinitionContext"
2166
+ "text": "ValidationError[]"
2291
2167
  }
2168
+ }
2169
+ ],
2170
+ "description": "Formats validation errors into a user-friendly message."
2171
+ },
2172
+ {
2173
+ "kind": "function",
2174
+ "name": "showCriteriaError",
2175
+ "return": {
2176
+ "type": {
2177
+ "text": "void"
2178
+ }
2179
+ },
2180
+ "parameters": [
2181
+ {
2182
+ "name": "title",
2183
+ "type": {
2184
+ "text": "string"
2185
+ },
2186
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2292
2187
  },
2293
2188
  {
2294
- "name": "definition",
2189
+ "name": "body",
2295
2190
  "type": {
2296
- "text": "FoundationElementDefinition"
2297
- }
2191
+ "text": "string"
2192
+ },
2193
+ "description": "Error message to display"
2194
+ },
2195
+ {
2196
+ "name": "tagName",
2197
+ "type": {
2198
+ "text": "string"
2199
+ },
2200
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2298
2201
  }
2299
- ]
2202
+ ],
2203
+ "description": "Shows a criteria error as a toast notification."
2300
2204
  }
2301
2205
  ],
2302
2206
  "exports": [
2303
2207
  {
2304
2208
  "kind": "js",
2305
- "name": "foundationAccordionStyles",
2209
+ "name": "formatValidationErrors",
2306
2210
  "declaration": {
2307
- "name": "foundationAccordionStyles",
2308
- "module": "src/accordion/accordion.styles.ts"
2211
+ "name": "formatValidationErrors",
2212
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2213
+ }
2214
+ },
2215
+ {
2216
+ "kind": "js",
2217
+ "name": "showCriteriaError",
2218
+ "declaration": {
2219
+ "name": "showCriteriaError",
2220
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2309
2221
  }
2310
2222
  }
2311
2223
  ]
2312
2224
  },
2313
2225
  {
2314
2226
  "kind": "javascript-module",
2315
- "path": "src/accordion/accordion.template.ts",
2227
+ "path": "src/actions-menu/actions-menu.styles.ts",
2316
2228
  "declarations": [
2317
2229
  {
2318
2230
  "kind": "function",
2319
- "name": "foundationAccordionTemplate",
2231
+ "name": "actionsMenuBaseStyles",
2320
2232
  "return": {
2321
2233
  "type": {
2322
- "text": "ViewTemplate<Accordion>"
2234
+ "text": "ElementStyles"
2323
2235
  }
2324
2236
  },
2325
2237
  "parameters": [
@@ -2336,310 +2248,297 @@
2336
2248
  }
2337
2249
  }
2338
2250
  ]
2339
- }
2340
- ],
2341
- "exports": [
2342
- {
2343
- "kind": "js",
2344
- "name": "foundationAccordionTemplate",
2345
- "declaration": {
2346
- "name": "foundationAccordionTemplate",
2347
- "module": "src/accordion/accordion.template.ts"
2348
- }
2349
- }
2350
- ]
2351
- },
2352
- {
2353
- "kind": "javascript-module",
2354
- "path": "src/accordion/accordion.ts",
2355
- "declarations": [
2356
- {
2357
- "kind": "class",
2358
- "description": "",
2359
- "name": "Accordion",
2360
- "superclass": {
2361
- "name": "FASTAccordion",
2362
- "package": "@microsoft/fast-foundation"
2363
- },
2364
- "tagName": "%%prefix%%-accordion",
2365
- "customElement": true
2366
- },
2367
- {
2368
- "kind": "variable",
2369
- "name": "foundationAccordionShadowOptions",
2370
- "type": {
2371
- "text": "ShadowRootInit"
2372
- },
2373
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2374
2251
  },
2375
2252
  {
2376
- "kind": "variable",
2377
- "name": "defaultAccordionConfig",
2378
- "type": {
2379
- "text": "object"
2253
+ "kind": "function",
2254
+ "name": "foundationActionsMenuStyles",
2255
+ "return": {
2256
+ "type": {
2257
+ "text": "ElementStyles"
2258
+ }
2380
2259
  },
2381
- "default": "{}"
2382
- },
2383
- {
2384
- "kind": "variable",
2385
- "name": "foundationAccordion",
2386
- "description": "The Foundation Accordion",
2387
- "privacy": "public"
2260
+ "parameters": [
2261
+ {
2262
+ "name": "context",
2263
+ "type": {
2264
+ "text": "ElementDefinitionContext"
2265
+ }
2266
+ },
2267
+ {
2268
+ "name": "definition",
2269
+ "type": {
2270
+ "text": "FoundationElementDefinition"
2271
+ }
2272
+ }
2273
+ ]
2388
2274
  }
2389
2275
  ],
2390
2276
  "exports": [
2391
2277
  {
2392
2278
  "kind": "js",
2393
- "name": "Accordion",
2394
- "declaration": {
2395
- "name": "Accordion",
2396
- "module": "src/accordion/accordion.ts"
2397
- }
2398
- },
2399
- {
2400
- "kind": "js",
2401
- "name": "foundationAccordionShadowOptions",
2402
- "declaration": {
2403
- "name": "foundationAccordionShadowOptions",
2404
- "module": "src/accordion/accordion.ts"
2405
- }
2406
- },
2407
- {
2408
- "kind": "js",
2409
- "name": "defaultAccordionConfig",
2279
+ "name": "actionsMenuBaseStyles",
2410
2280
  "declaration": {
2411
- "name": "defaultAccordionConfig",
2412
- "module": "src/accordion/accordion.ts"
2281
+ "name": "actionsMenuBaseStyles",
2282
+ "module": "src/actions-menu/actions-menu.styles.ts"
2413
2283
  }
2414
2284
  },
2415
2285
  {
2416
2286
  "kind": "js",
2417
- "name": "foundationAccordion",
2287
+ "name": "foundationActionsMenuStyles",
2418
2288
  "declaration": {
2419
- "name": "foundationAccordion",
2420
- "module": "src/accordion/accordion.ts"
2289
+ "name": "foundationActionsMenuStyles",
2290
+ "module": "src/actions-menu/actions-menu.styles.ts"
2421
2291
  }
2422
2292
  }
2423
2293
  ]
2424
2294
  },
2425
2295
  {
2426
2296
  "kind": "javascript-module",
2427
- "path": "src/accordion/index.ts",
2428
- "declarations": [],
2429
- "exports": [
2297
+ "path": "src/actions-menu/actions-menu.template.ts",
2298
+ "declarations": [
2430
2299
  {
2431
- "kind": "js",
2432
- "name": "*",
2433
- "declaration": {
2434
- "name": "*",
2435
- "package": "./accordion.template"
2436
- }
2300
+ "kind": "function",
2301
+ "name": "menuTemplate",
2302
+ "parameters": [
2303
+ {
2304
+ "name": "prefix",
2305
+ "type": {
2306
+ "text": "string"
2307
+ }
2308
+ }
2309
+ ]
2437
2310
  },
2438
2311
  {
2439
- "kind": "js",
2440
- "name": "*",
2441
- "declaration": {
2442
- "name": "*",
2443
- "package": "./accordion.styles"
2444
- }
2312
+ "kind": "function",
2313
+ "name": "singleOptionTemplate",
2314
+ "parameters": [
2315
+ {
2316
+ "name": "prefix",
2317
+ "type": {
2318
+ "text": "string"
2319
+ }
2320
+ }
2321
+ ]
2445
2322
  },
2446
- {
2447
- "kind": "js",
2448
- "name": "*",
2449
- "declaration": {
2450
- "name": "*",
2451
- "package": "./accordion"
2452
- }
2453
- }
2454
- ]
2455
- },
2456
- {
2457
- "kind": "javascript-module",
2458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2459
- "declarations": [
2460
2323
  {
2461
2324
  "kind": "variable",
2462
- "name": "foundationAiCriteriaSearchStyles",
2463
- "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`"
2325
+ "name": "foundationActionsMenuTemplate",
2326
+ "type": {
2327
+ "text": "ViewTemplate<ActionsMenu>"
2328
+ },
2329
+ "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`"
2464
2330
  }
2465
2331
  ],
2466
2332
  "exports": [
2467
2333
  {
2468
2334
  "kind": "js",
2469
- "name": "foundationAiCriteriaSearchStyles",
2335
+ "name": "menuTemplate",
2470
2336
  "declaration": {
2471
- "name": "foundationAiCriteriaSearchStyles",
2472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2337
+ "name": "menuTemplate",
2338
+ "module": "src/actions-menu/actions-menu.template.ts"
2473
2339
  }
2474
- }
2475
- ]
2476
- },
2477
- {
2478
- "kind": "javascript-module",
2479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2480
- "declarations": [
2340
+ },
2481
2341
  {
2482
- "kind": "variable",
2483
- "name": "foundationAiCriteriaSearchTemplate",
2484
- "type": {
2485
- "text": "ViewTemplate<AiCriteriaSearch>"
2486
- },
2487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2488
- }
2489
- ],
2490
- "exports": [
2342
+ "kind": "js",
2343
+ "name": "singleOptionTemplate",
2344
+ "declaration": {
2345
+ "name": "singleOptionTemplate",
2346
+ "module": "src/actions-menu/actions-menu.template.ts"
2347
+ }
2348
+ },
2491
2349
  {
2492
2350
  "kind": "js",
2493
- "name": "foundationAiCriteriaSearchTemplate",
2351
+ "name": "foundationActionsMenuTemplate",
2494
2352
  "declaration": {
2495
- "name": "foundationAiCriteriaSearchTemplate",
2496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2353
+ "name": "foundationActionsMenuTemplate",
2354
+ "module": "src/actions-menu/actions-menu.template.ts"
2497
2355
  }
2498
2356
  }
2499
2357
  ]
2500
2358
  },
2501
2359
  {
2502
2360
  "kind": "javascript-module",
2503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2361
+ "path": "src/actions-menu/actions-menu.ts",
2504
2362
  "declarations": [
2505
2363
  {
2506
2364
  "kind": "class",
2507
2365
  "description": "",
2508
- "name": "AiCriteriaSearch",
2366
+ "name": "ActionsMenu",
2509
2367
  "members": [
2510
2368
  {
2511
2369
  "kind": "field",
2512
- "name": "aiProvider",
2370
+ "name": "actions",
2513
2371
  "type": {
2514
- "text": "AIProvider"
2372
+ "text": "ActionMenuItem[]"
2515
2373
  }
2516
2374
  },
2517
2375
  {
2518
2376
  "kind": "field",
2519
- "name": "placeholder",
2377
+ "name": "isVertical",
2520
2378
  "type": {
2521
- "text": "string"
2379
+ "text": "boolean"
2522
2380
  },
2523
- "default": "'Describe your search criteria in natural language...'"
2381
+ "default": "false"
2524
2382
  },
2525
2383
  {
2526
2384
  "kind": "field",
2527
- "name": "disabled",
2385
+ "name": "addDefaultActions",
2528
2386
  "type": {
2529
2387
  "text": "boolean"
2530
- }
2388
+ },
2389
+ "default": "true"
2531
2390
  },
2532
2391
  {
2533
2392
  "kind": "field",
2534
- "name": "mode",
2393
+ "name": "autoCloseOnAction",
2535
2394
  "type": {
2536
- "text": "'append' | 'replace'"
2395
+ "text": "boolean"
2537
2396
  },
2538
- "default": "'replace'"
2397
+ "default": "true"
2539
2398
  },
2540
2399
  {
2541
2400
  "kind": "field",
2542
- "name": "inputValue",
2401
+ "name": "classNames",
2543
2402
  "type": {
2544
2403
  "text": "string"
2545
- },
2546
- "default": "''"
2404
+ }
2547
2405
  },
2548
2406
  {
2549
2407
  "kind": "field",
2550
- "name": "isInterpreting",
2408
+ "name": "definition",
2551
2409
  "type": {
2552
- "text": "boolean"
2553
- },
2554
- "default": "false"
2410
+ "text": "any"
2411
+ }
2555
2412
  },
2556
2413
  {
2557
2414
  "kind": "field",
2558
- "name": "lastValidCriteria",
2415
+ "name": "name",
2559
2416
  "type": {
2560
- "text": "string | null"
2417
+ "text": "string"
2561
2418
  },
2562
- "default": "null"
2419
+ "default": "'Actions'"
2563
2420
  },
2564
2421
  {
2565
2422
  "kind": "field",
2566
- "name": "fieldMetadata",
2423
+ "name": "open",
2567
2424
  "type": {
2568
- "text": "MetadataDetail[] | string[]"
2425
+ "text": "boolean"
2569
2426
  },
2570
- "default": "[]"
2427
+ "default": "false"
2571
2428
  },
2572
2429
  {
2573
2430
  "kind": "field",
2574
- "name": "isRecording",
2431
+ "name": "buttonAppearance",
2575
2432
  "type": {
2576
- "text": "boolean"
2577
- },
2578
- "default": "false"
2433
+ "text": "string"
2434
+ }
2579
2435
  },
2580
2436
  {
2581
2437
  "kind": "field",
2582
- "name": "textAreaRef",
2438
+ "name": "hideDisabled",
2583
2439
  "type": {
2584
- "text": "HTMLTextAreaElement"
2440
+ "text": "boolean"
2585
2441
  },
2586
- "privacy": "public"
2442
+ "default": "false"
2587
2443
  },
2588
2444
  {
2589
2445
  "kind": "field",
2590
- "name": "stopRecording",
2446
+ "name": "hideMenuSingleOption",
2591
2447
  "type": {
2592
- "text": "(() => void) | null"
2448
+ "text": "boolean"
2593
2449
  },
2594
- "privacy": "private",
2595
- "default": "null"
2450
+ "default": "false"
2596
2451
  },
2597
2452
  {
2598
2453
  "kind": "field",
2599
- "name": "speechApplyDebounceTimer",
2454
+ "name": "singleOption",
2600
2455
  "type": {
2601
- "text": "ReturnType<typeof setTimeout> | null"
2602
- },
2603
- "privacy": "private",
2604
- "default": "null"
2456
+ "text": "ActionMenuItem"
2457
+ }
2605
2458
  },
2606
2459
  {
2607
2460
  "kind": "field",
2608
- "name": "baseInputForAppend",
2461
+ "name": "actionsMenu",
2609
2462
  "type": {
2610
- "text": "string"
2611
- },
2612
- "privacy": "private",
2613
- "default": "''"
2463
+ "text": "HTMLElement"
2464
+ }
2465
+ },
2466
+ {
2467
+ "kind": "method",
2468
+ "name": "definitionChanged",
2469
+ "privacy": "protected",
2470
+ "parameters": [
2471
+ {
2472
+ "name": "oldValue",
2473
+ "type": {
2474
+ "text": "any"
2475
+ }
2476
+ },
2477
+ {
2478
+ "name": "newValue",
2479
+ "type": {
2480
+ "text": "any"
2481
+ }
2482
+ }
2483
+ ]
2614
2484
  },
2615
2485
  {
2616
- "kind": "field",
2617
- "name": "speechAvailable",
2618
- "type": {
2619
- "text": "boolean"
2620
- },
2621
- "readonly": true
2486
+ "kind": "method",
2487
+ "name": "openChanged",
2488
+ "privacy": "protected"
2622
2489
  },
2623
2490
  {
2624
2491
  "kind": "method",
2625
- "name": "handleSubmit"
2492
+ "name": "toggleActionsMenuVisibility"
2626
2493
  },
2627
2494
  {
2628
2495
  "kind": "method",
2629
- "name": "handleBlur"
2496
+ "name": "onActionMenuItemClick",
2497
+ "parameters": [
2498
+ {
2499
+ "name": "callback",
2500
+ "type": {
2501
+ "text": "(rowData) => void | any"
2502
+ }
2503
+ }
2504
+ ]
2630
2505
  },
2631
2506
  {
2632
- "kind": "method",
2633
- "name": "clear"
2507
+ "kind": "field",
2508
+ "name": "allActions",
2509
+ "type": {
2510
+ "text": "ActionMenuItem[]"
2511
+ },
2512
+ "readonly": true
2513
+ },
2514
+ {
2515
+ "kind": "field",
2516
+ "name": "rowData",
2517
+ "readonly": true
2634
2518
  },
2635
2519
  {
2636
2520
  "kind": "method",
2637
- "name": "toggleSpeechInput"
2521
+ "name": "getLabel",
2522
+ "parameters": [
2523
+ {
2524
+ "name": "name",
2525
+ "type": {
2526
+ "text": "string | ((rowData: any) => string)"
2527
+ }
2528
+ }
2529
+ ]
2638
2530
  },
2639
2531
  {
2640
2532
  "kind": "method",
2641
- "name": "clearSpeechApplyDebounce",
2642
- "privacy": "private"
2533
+ "name": "getTemplate",
2534
+ "parameters": [
2535
+ {
2536
+ "name": "prefix",
2537
+ "type": {
2538
+ "text": "string"
2539
+ }
2540
+ }
2541
+ ]
2643
2542
  },
2644
2543
  {
2645
2544
  "kind": "field",
@@ -2755,150 +2654,113 @@
2755
2654
  ],
2756
2655
  "attributes": [
2757
2656
  {
2758
- "name": "placeholder",
2657
+ "name": "is-vertical",
2658
+ "type": {
2659
+ "text": "boolean"
2660
+ },
2661
+ "default": "false",
2662
+ "fieldName": "isVertical"
2663
+ },
2664
+ {
2665
+ "name": "add-default-actions",
2666
+ "type": {
2667
+ "text": "boolean"
2668
+ },
2669
+ "default": "true",
2670
+ "fieldName": "addDefaultActions"
2671
+ },
2672
+ {
2673
+ "name": "auto-close-on-action",
2674
+ "type": {
2675
+ "text": "boolean"
2676
+ },
2677
+ "default": "true",
2678
+ "fieldName": "autoCloseOnAction"
2679
+ },
2680
+ {
2681
+ "name": "name",
2759
2682
  "type": {
2760
2683
  "text": "string"
2761
2684
  },
2762
- "default": "'Describe your search criteria in natural language...'",
2763
- "fieldName": "placeholder"
2685
+ "default": "'Actions'",
2686
+ "fieldName": "name"
2764
2687
  },
2765
2688
  {
2689
+ "name": "open",
2766
2690
  "type": {
2767
2691
  "text": "boolean"
2768
2692
  },
2769
- "fieldName": "disabled"
2693
+ "default": "false",
2694
+ "fieldName": "open"
2770
2695
  },
2771
2696
  {
2772
- "name": "mode",
2697
+ "name": "buttonAppearance",
2773
2698
  "type": {
2774
- "text": "'append' | 'replace'"
2699
+ "text": "string"
2775
2700
  },
2776
- "default": "'replace'",
2777
- "fieldName": "mode"
2701
+ "fieldName": "buttonAppearance"
2702
+ },
2703
+ {
2704
+ "name": "hide-disabled",
2705
+ "type": {
2706
+ "text": "boolean"
2707
+ },
2708
+ "default": "false",
2709
+ "fieldName": "hideDisabled"
2710
+ },
2711
+ {
2712
+ "name": "hide-menu-single-option",
2713
+ "type": {
2714
+ "text": "boolean"
2715
+ },
2716
+ "default": "false",
2717
+ "fieldName": "hideMenuSingleOption"
2778
2718
  }
2779
2719
  ],
2780
2720
  "superclass": {
2781
2721
  "name": "FoundationElement",
2782
2722
  "package": "@microsoft/fast-foundation"
2783
2723
  },
2784
- "tagName": "%%prefix%%-ai-criteria-search",
2724
+ "tagName": "%%prefix%%-actions-menu",
2785
2725
  "customElement": true
2786
2726
  },
2787
2727
  {
2788
2728
  "kind": "variable",
2789
- "name": "foundationAiCriteriaSearchShadowOptions",
2790
- "type": {
2791
- "text": "ShadowRootInit"
2792
- },
2793
- "default": "undefined"
2794
- },
2795
- {
2796
- "kind": "variable",
2797
- "name": "defaultAiCriteriaSearchConfig",
2798
- "type": {
2799
- "text": "object"
2800
- },
2801
- "default": "{}"
2802
- },
2803
- {
2804
- "kind": "variable",
2805
- "name": "foundationAiCriteriaSearch"
2729
+ "name": "foundationActionsMenu",
2730
+ "description": "The Foundation Actions Menu",
2731
+ "privacy": "public"
2806
2732
  }
2807
2733
  ],
2808
2734
  "exports": [
2809
2735
  {
2810
2736
  "kind": "js",
2811
- "name": "AiCriteriaSearch",
2812
- "declaration": {
2813
- "name": "AiCriteriaSearch",
2814
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2815
- }
2816
- },
2817
- {
2818
- "kind": "js",
2819
- "name": "foundationAiCriteriaSearchShadowOptions",
2820
- "declaration": {
2821
- "name": "foundationAiCriteriaSearchShadowOptions",
2822
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2823
- }
2824
- },
2825
- {
2826
- "kind": "js",
2827
- "name": "defaultAiCriteriaSearchConfig",
2737
+ "name": "ActionsMenu",
2828
2738
  "declaration": {
2829
- "name": "defaultAiCriteriaSearchConfig",
2830
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2739
+ "name": "ActionsMenu",
2740
+ "module": "src/actions-menu/actions-menu.ts"
2831
2741
  }
2832
2742
  },
2833
2743
  {
2834
2744
  "kind": "js",
2835
- "name": "foundationAiCriteriaSearch",
2745
+ "name": "foundationActionsMenu",
2836
2746
  "declaration": {
2837
- "name": "foundationAiCriteriaSearch",
2838
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2747
+ "name": "foundationActionsMenu",
2748
+ "module": "src/actions-menu/actions-menu.ts"
2839
2749
  }
2840
2750
  }
2841
2751
  ]
2842
2752
  },
2843
2753
  {
2844
2754
  "kind": "javascript-module",
2845
- "path": "src/ai-criteria-search/index.ts",
2755
+ "path": "src/actions-menu/index.ts",
2846
2756
  "declarations": [],
2847
2757
  "exports": [
2848
- {
2849
- "kind": "js",
2850
- "name": "AiCriteriaSearch",
2851
- "declaration": {
2852
- "name": "AiCriteriaSearch",
2853
- "module": "./ai-criteria-search"
2854
- }
2855
- },
2856
- {
2857
- "kind": "js",
2858
- "name": "defaultAiCriteriaSearchConfig",
2859
- "declaration": {
2860
- "name": "defaultAiCriteriaSearchConfig",
2861
- "module": "./ai-criteria-search"
2862
- }
2863
- },
2864
- {
2865
- "kind": "js",
2866
- "name": "foundationAiCriteriaSearch",
2867
- "declaration": {
2868
- "name": "foundationAiCriteriaSearch",
2869
- "module": "./ai-criteria-search"
2870
- }
2871
- },
2872
- {
2873
- "kind": "js",
2874
- "name": "foundationAiCriteriaSearchShadowOptions",
2875
- "declaration": {
2876
- "name": "foundationAiCriteriaSearchShadowOptions",
2877
- "module": "./ai-criteria-search"
2878
- }
2879
- },
2880
- {
2881
- "kind": "js",
2882
- "name": "foundationAiCriteriaSearchStyles",
2883
- "declaration": {
2884
- "name": "foundationAiCriteriaSearchStyles",
2885
- "module": "./ai-criteria-search.styles"
2886
- }
2887
- },
2888
- {
2889
- "kind": "js",
2890
- "name": "foundationAiCriteriaSearchTemplate",
2891
- "declaration": {
2892
- "name": "foundationAiCriteriaSearchTemplate",
2893
- "module": "./ai-criteria-search.template"
2894
- }
2895
- },
2896
2758
  {
2897
2759
  "kind": "js",
2898
2760
  "name": "*",
2899
2761
  "declaration": {
2900
2762
  "name": "*",
2901
- "package": "./validation/criteria-ir"
2763
+ "package": "./actions-menu.styles"
2902
2764
  }
2903
2765
  },
2904
2766
  {
@@ -2906,7 +2768,7 @@
2906
2768
  "name": "*",
2907
2769
  "declaration": {
2908
2770
  "name": "*",
2909
- "package": "./validation/operator-map"
2771
+ "package": "./actions-menu.template"
2910
2772
  }
2911
2773
  },
2912
2774
  {
@@ -2914,82 +2776,7 @@
2914
2776
  "name": "*",
2915
2777
  "declaration": {
2916
2778
  "name": "*",
2917
- "package": "./validation/schema-validator"
2918
- }
2919
- }
2920
- ]
2921
- },
2922
- {
2923
- "kind": "javascript-module",
2924
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2925
- "declarations": [
2926
- {
2927
- "kind": "function",
2928
- "name": "formatValidationErrors",
2929
- "return": {
2930
- "type": {
2931
- "text": "string"
2932
- }
2933
- },
2934
- "parameters": [
2935
- {
2936
- "name": "errors",
2937
- "type": {
2938
- "text": "ValidationError[]"
2939
- }
2940
- }
2941
- ],
2942
- "description": "Formats validation errors into a user-friendly message."
2943
- },
2944
- {
2945
- "kind": "function",
2946
- "name": "showCriteriaError",
2947
- "return": {
2948
- "type": {
2949
- "text": "void"
2950
- }
2951
- },
2952
- "parameters": [
2953
- {
2954
- "name": "title",
2955
- "type": {
2956
- "text": "string"
2957
- },
2958
- "description": "Notification title (e.g. \"Criteria validation error\")"
2959
- },
2960
- {
2961
- "name": "body",
2962
- "type": {
2963
- "text": "string"
2964
- },
2965
- "description": "Error message to display"
2966
- },
2967
- {
2968
- "name": "tagName",
2969
- "type": {
2970
- "text": "string"
2971
- },
2972
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2973
- }
2974
- ],
2975
- "description": "Shows a criteria error as a toast notification."
2976
- }
2977
- ],
2978
- "exports": [
2979
- {
2980
- "kind": "js",
2981
- "name": "formatValidationErrors",
2982
- "declaration": {
2983
- "name": "formatValidationErrors",
2984
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2985
- }
2986
- },
2987
- {
2988
- "kind": "js",
2989
- "name": "showCriteriaError",
2990
- "declaration": {
2991
- "name": "showCriteriaError",
2992
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2779
+ "package": "./actions-menu"
2993
2780
  }
2994
2781
  }
2995
2782
  ]
@@ -3433,6 +3220,219 @@
3433
3220
  }
3434
3221
  ]
3435
3222
  },
3223
+ {
3224
+ "kind": "javascript-module",
3225
+ "path": "src/_config/index.ts",
3226
+ "declarations": [],
3227
+ "exports": [
3228
+ {
3229
+ "kind": "js",
3230
+ "name": "*",
3231
+ "declaration": {
3232
+ "name": "*",
3233
+ "package": "./styles"
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "js",
3238
+ "name": "*",
3239
+ "declaration": {
3240
+ "name": "*",
3241
+ "package": "./tokens"
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "js",
3246
+ "name": "*",
3247
+ "declaration": {
3248
+ "name": "*",
3249
+ "package": "./values"
3250
+ }
3251
+ }
3252
+ ]
3253
+ },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
3436
  {
3437
3437
  "kind": "javascript-module",
3438
3438
  "path": "src/anchor/anchor.styles.ts",
@@ -54354,6 +54354,181 @@
54354
54354
  }
54355
54355
  ]
54356
54356
  },
54357
+ {
54358
+ "kind": "javascript-module",
54359
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54360
+ "declarations": [],
54361
+ "exports": []
54362
+ },
54363
+ {
54364
+ "kind": "javascript-module",
54365
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54366
+ "declarations": [
54367
+ {
54368
+ "kind": "function",
54369
+ "name": "groupsToCriteria",
54370
+ "return": {
54371
+ "type": {
54372
+ "text": "string"
54373
+ }
54374
+ },
54375
+ "parameters": [
54376
+ {
54377
+ "name": "groups",
54378
+ "type": {
54379
+ "text": "CriteriaGroup[]"
54380
+ }
54381
+ }
54382
+ ],
54383
+ "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."
54384
+ },
54385
+ {
54386
+ "kind": "variable",
54387
+ "name": "STRING_OPERATORS",
54388
+ "type": {
54389
+ "text": "CriteriaOperator[]"
54390
+ },
54391
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54392
+ },
54393
+ {
54394
+ "kind": "variable",
54395
+ "name": "NUMERIC_OPERATORS",
54396
+ "type": {
54397
+ "text": "CriteriaOperator[]"
54398
+ },
54399
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54400
+ },
54401
+ {
54402
+ "kind": "variable",
54403
+ "name": "DATE_OPERATORS",
54404
+ "type": {
54405
+ "text": "CriteriaOperator[]"
54406
+ },
54407
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54408
+ },
54409
+ {
54410
+ "kind": "variable",
54411
+ "name": "DATETIME_OPERATORS",
54412
+ "type": {
54413
+ "text": "CriteriaOperator[]"
54414
+ },
54415
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54416
+ }
54417
+ ],
54418
+ "exports": [
54419
+ {
54420
+ "kind": "js",
54421
+ "name": "groupsToCriteria",
54422
+ "declaration": {
54423
+ "name": "groupsToCriteria",
54424
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54425
+ }
54426
+ },
54427
+ {
54428
+ "kind": "js",
54429
+ "name": "STRING_OPERATORS",
54430
+ "declaration": {
54431
+ "name": "STRING_OPERATORS",
54432
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54433
+ }
54434
+ },
54435
+ {
54436
+ "kind": "js",
54437
+ "name": "NUMERIC_OPERATORS",
54438
+ "declaration": {
54439
+ "name": "NUMERIC_OPERATORS",
54440
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54441
+ }
54442
+ },
54443
+ {
54444
+ "kind": "js",
54445
+ "name": "DATE_OPERATORS",
54446
+ "declaration": {
54447
+ "name": "DATE_OPERATORS",
54448
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54449
+ }
54450
+ },
54451
+ {
54452
+ "kind": "js",
54453
+ "name": "DATETIME_OPERATORS",
54454
+ "declaration": {
54455
+ "name": "DATETIME_OPERATORS",
54456
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54457
+ }
54458
+ }
54459
+ ]
54460
+ },
54461
+ {
54462
+ "kind": "javascript-module",
54463
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54464
+ "declarations": [
54465
+ {
54466
+ "kind": "function",
54467
+ "name": "validateClauses",
54468
+ "return": {
54469
+ "type": {
54470
+ "text": "ValidationResult"
54471
+ }
54472
+ },
54473
+ "parameters": [
54474
+ {
54475
+ "name": "clauses",
54476
+ "type": {
54477
+ "text": "CriteriaClause[]"
54478
+ }
54479
+ },
54480
+ {
54481
+ "name": "fieldMetadata",
54482
+ "type": {
54483
+ "text": "MetadataDetail[] | string[]"
54484
+ }
54485
+ }
54486
+ ]
54487
+ },
54488
+ {
54489
+ "kind": "function",
54490
+ "name": "validateGroups",
54491
+ "return": {
54492
+ "type": {
54493
+ "text": "GroupsValidationResult"
54494
+ }
54495
+ },
54496
+ "parameters": [
54497
+ {
54498
+ "name": "groups",
54499
+ "type": {
54500
+ "text": "CriteriaGroup[]"
54501
+ }
54502
+ },
54503
+ {
54504
+ "name": "fieldMetadata",
54505
+ "type": {
54506
+ "text": "MetadataDetail[] | string[]"
54507
+ }
54508
+ }
54509
+ ],
54510
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54511
+ }
54512
+ ],
54513
+ "exports": [
54514
+ {
54515
+ "kind": "js",
54516
+ "name": "validateClauses",
54517
+ "declaration": {
54518
+ "name": "validateClauses",
54519
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54520
+ }
54521
+ },
54522
+ {
54523
+ "kind": "js",
54524
+ "name": "validateGroups",
54525
+ "declaration": {
54526
+ "name": "validateGroups",
54527
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54528
+ }
54529
+ }
54530
+ ]
54531
+ },
54357
54532
  {
54358
54533
  "kind": "javascript-module",
54359
54534
  "path": "src/_config/styles/colors.ts",
@@ -55726,181 +55901,6 @@
55726
55901
  "declarations": [],
55727
55902
  "exports": []
55728
55903
  },
55729
- {
55730
- "kind": "javascript-module",
55731
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55732
- "declarations": [],
55733
- "exports": []
55734
- },
55735
- {
55736
- "kind": "javascript-module",
55737
- "path": "src/ai-criteria-search/validation/operator-map.ts",
55738
- "declarations": [
55739
- {
55740
- "kind": "function",
55741
- "name": "groupsToCriteria",
55742
- "return": {
55743
- "type": {
55744
- "text": "string"
55745
- }
55746
- },
55747
- "parameters": [
55748
- {
55749
- "name": "groups",
55750
- "type": {
55751
- "text": "CriteriaGroup[]"
55752
- }
55753
- }
55754
- ],
55755
- "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."
55756
- },
55757
- {
55758
- "kind": "variable",
55759
- "name": "STRING_OPERATORS",
55760
- "type": {
55761
- "text": "CriteriaOperator[]"
55762
- },
55763
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55764
- },
55765
- {
55766
- "kind": "variable",
55767
- "name": "NUMERIC_OPERATORS",
55768
- "type": {
55769
- "text": "CriteriaOperator[]"
55770
- },
55771
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55772
- },
55773
- {
55774
- "kind": "variable",
55775
- "name": "DATE_OPERATORS",
55776
- "type": {
55777
- "text": "CriteriaOperator[]"
55778
- },
55779
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55780
- },
55781
- {
55782
- "kind": "variable",
55783
- "name": "DATETIME_OPERATORS",
55784
- "type": {
55785
- "text": "CriteriaOperator[]"
55786
- },
55787
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55788
- }
55789
- ],
55790
- "exports": [
55791
- {
55792
- "kind": "js",
55793
- "name": "groupsToCriteria",
55794
- "declaration": {
55795
- "name": "groupsToCriteria",
55796
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55797
- }
55798
- },
55799
- {
55800
- "kind": "js",
55801
- "name": "STRING_OPERATORS",
55802
- "declaration": {
55803
- "name": "STRING_OPERATORS",
55804
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55805
- }
55806
- },
55807
- {
55808
- "kind": "js",
55809
- "name": "NUMERIC_OPERATORS",
55810
- "declaration": {
55811
- "name": "NUMERIC_OPERATORS",
55812
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55813
- }
55814
- },
55815
- {
55816
- "kind": "js",
55817
- "name": "DATE_OPERATORS",
55818
- "declaration": {
55819
- "name": "DATE_OPERATORS",
55820
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55821
- }
55822
- },
55823
- {
55824
- "kind": "js",
55825
- "name": "DATETIME_OPERATORS",
55826
- "declaration": {
55827
- "name": "DATETIME_OPERATORS",
55828
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55829
- }
55830
- }
55831
- ]
55832
- },
55833
- {
55834
- "kind": "javascript-module",
55835
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
55836
- "declarations": [
55837
- {
55838
- "kind": "function",
55839
- "name": "validateClauses",
55840
- "return": {
55841
- "type": {
55842
- "text": "ValidationResult"
55843
- }
55844
- },
55845
- "parameters": [
55846
- {
55847
- "name": "clauses",
55848
- "type": {
55849
- "text": "CriteriaClause[]"
55850
- }
55851
- },
55852
- {
55853
- "name": "fieldMetadata",
55854
- "type": {
55855
- "text": "MetadataDetail[] | string[]"
55856
- }
55857
- }
55858
- ]
55859
- },
55860
- {
55861
- "kind": "function",
55862
- "name": "validateGroups",
55863
- "return": {
55864
- "type": {
55865
- "text": "GroupsValidationResult"
55866
- }
55867
- },
55868
- "parameters": [
55869
- {
55870
- "name": "groups",
55871
- "type": {
55872
- "text": "CriteriaGroup[]"
55873
- }
55874
- },
55875
- {
55876
- "name": "fieldMetadata",
55877
- "type": {
55878
- "text": "MetadataDetail[] | string[]"
55879
- }
55880
- }
55881
- ],
55882
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55883
- }
55884
- ],
55885
- "exports": [
55886
- {
55887
- "kind": "js",
55888
- "name": "validateClauses",
55889
- "declaration": {
55890
- "name": "validateClauses",
55891
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55892
- }
55893
- },
55894
- {
55895
- "kind": "js",
55896
- "name": "validateGroups",
55897
- "declaration": {
55898
- "name": "validateGroups",
55899
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55900
- }
55901
- }
55902
- ]
55903
- },
55904
55904
  {
55905
55905
  "kind": "javascript-module",
55906
55906
  "path": "src/environment-indicator/utils/configure.ts",