@genesislcap/foundation-ui 14.415.0 → 14.415.1-alpha-7f9cb0c.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 +970 -970
  2. package/package.json +19 -19
@@ -1287,6 +1287,37 @@
1287
1287
  }
1288
1288
  ]
1289
1289
  },
1290
+ {
1291
+ "kind": "javascript-module",
1292
+ "path": "src/_config/index.ts",
1293
+ "declarations": [],
1294
+ "exports": [
1295
+ {
1296
+ "kind": "js",
1297
+ "name": "*",
1298
+ "declaration": {
1299
+ "name": "*",
1300
+ "package": "./styles"
1301
+ }
1302
+ },
1303
+ {
1304
+ "kind": "js",
1305
+ "name": "*",
1306
+ "declaration": {
1307
+ "name": "*",
1308
+ "package": "./tokens"
1309
+ }
1310
+ },
1311
+ {
1312
+ "kind": "js",
1313
+ "name": "*",
1314
+ "declaration": {
1315
+ "name": "*",
1316
+ "package": "./values"
1317
+ }
1318
+ }
1319
+ ]
1320
+ },
1290
1321
  {
1291
1322
  "kind": "javascript-module",
1292
1323
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1683,321 +1714,191 @@
1683
1714
  },
1684
1715
  {
1685
1716
  "kind": "javascript-module",
1686
- "path": "src/actions-menu/actions-menu.styles.ts",
1717
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1687
1718
  "declarations": [
1688
1719
  {
1689
- "kind": "function",
1690
- "name": "actionsMenuBaseStyles",
1691
- "return": {
1692
- "type": {
1693
- "text": "ElementStyles"
1694
- }
1695
- },
1696
- "parameters": [
1697
- {
1698
- "name": "context",
1699
- "type": {
1700
- "text": "ElementDefinitionContext"
1701
- }
1702
- },
1703
- {
1704
- "name": "definition",
1705
- "type": {
1706
- "text": "FoundationElementDefinition"
1707
- }
1708
- }
1709
- ]
1710
- },
1711
- {
1712
- "kind": "function",
1713
- "name": "foundationActionsMenuStyles",
1714
- "return": {
1715
- "type": {
1716
- "text": "ElementStyles"
1717
- }
1718
- },
1719
- "parameters": [
1720
- {
1721
- "name": "context",
1722
- "type": {
1723
- "text": "ElementDefinitionContext"
1724
- }
1725
- },
1726
- {
1727
- "name": "definition",
1728
- "type": {
1729
- "text": "FoundationElementDefinition"
1730
- }
1731
- }
1732
- ]
1720
+ "kind": "variable",
1721
+ "name": "foundationAiCriteriaSearchStyles",
1722
+ "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`"
1733
1723
  }
1734
1724
  ],
1735
1725
  "exports": [
1736
1726
  {
1737
1727
  "kind": "js",
1738
- "name": "actionsMenuBaseStyles",
1739
- "declaration": {
1740
- "name": "actionsMenuBaseStyles",
1741
- "module": "src/actions-menu/actions-menu.styles.ts"
1742
- }
1743
- },
1744
- {
1745
- "kind": "js",
1746
- "name": "foundationActionsMenuStyles",
1728
+ "name": "foundationAiCriteriaSearchStyles",
1747
1729
  "declaration": {
1748
- "name": "foundationActionsMenuStyles",
1749
- "module": "src/actions-menu/actions-menu.styles.ts"
1730
+ "name": "foundationAiCriteriaSearchStyles",
1731
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1750
1732
  }
1751
1733
  }
1752
1734
  ]
1753
1735
  },
1754
1736
  {
1755
1737
  "kind": "javascript-module",
1756
- "path": "src/actions-menu/actions-menu.template.ts",
1738
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1757
1739
  "declarations": [
1758
- {
1759
- "kind": "function",
1760
- "name": "menuTemplate",
1761
- "parameters": [
1762
- {
1763
- "name": "prefix",
1764
- "type": {
1765
- "text": "string"
1766
- }
1767
- }
1768
- ]
1769
- },
1770
- {
1771
- "kind": "function",
1772
- "name": "singleOptionTemplate",
1773
- "parameters": [
1774
- {
1775
- "name": "prefix",
1776
- "type": {
1777
- "text": "string"
1778
- }
1779
- }
1780
- ]
1781
- },
1782
1740
  {
1783
1741
  "kind": "variable",
1784
- "name": "foundationActionsMenuTemplate",
1742
+ "name": "foundationAiCriteriaSearchTemplate",
1785
1743
  "type": {
1786
- "text": "ViewTemplate<ActionsMenu>"
1744
+ "text": "ViewTemplate<AiCriteriaSearch>"
1787
1745
  },
1788
- "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`"
1746
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1789
1747
  }
1790
1748
  ],
1791
1749
  "exports": [
1792
1750
  {
1793
1751
  "kind": "js",
1794
- "name": "menuTemplate",
1795
- "declaration": {
1796
- "name": "menuTemplate",
1797
- "module": "src/actions-menu/actions-menu.template.ts"
1798
- }
1799
- },
1800
- {
1801
- "kind": "js",
1802
- "name": "singleOptionTemplate",
1803
- "declaration": {
1804
- "name": "singleOptionTemplate",
1805
- "module": "src/actions-menu/actions-menu.template.ts"
1806
- }
1807
- },
1808
- {
1809
- "kind": "js",
1810
- "name": "foundationActionsMenuTemplate",
1752
+ "name": "foundationAiCriteriaSearchTemplate",
1811
1753
  "declaration": {
1812
- "name": "foundationActionsMenuTemplate",
1813
- "module": "src/actions-menu/actions-menu.template.ts"
1754
+ "name": "foundationAiCriteriaSearchTemplate",
1755
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1814
1756
  }
1815
1757
  }
1816
1758
  ]
1817
1759
  },
1818
1760
  {
1819
1761
  "kind": "javascript-module",
1820
- "path": "src/actions-menu/actions-menu.ts",
1762
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1821
1763
  "declarations": [
1822
1764
  {
1823
1765
  "kind": "class",
1824
1766
  "description": "",
1825
- "name": "ActionsMenu",
1767
+ "name": "AiCriteriaSearch",
1826
1768
  "members": [
1827
1769
  {
1828
1770
  "kind": "field",
1829
- "name": "actions",
1771
+ "name": "aiProvider",
1830
1772
  "type": {
1831
- "text": "ActionMenuItem[]"
1773
+ "text": "AIProvider"
1832
1774
  }
1833
1775
  },
1834
1776
  {
1835
1777
  "kind": "field",
1836
- "name": "isVertical",
1778
+ "name": "placeholder",
1837
1779
  "type": {
1838
- "text": "boolean"
1780
+ "text": "string"
1839
1781
  },
1840
- "default": "false"
1782
+ "default": "'Describe your search criteria in natural language...'"
1841
1783
  },
1842
1784
  {
1843
1785
  "kind": "field",
1844
- "name": "addDefaultActions",
1786
+ "name": "disabled",
1845
1787
  "type": {
1846
1788
  "text": "boolean"
1847
- },
1848
- "default": "true"
1789
+ }
1849
1790
  },
1850
1791
  {
1851
1792
  "kind": "field",
1852
- "name": "autoCloseOnAction",
1793
+ "name": "mode",
1853
1794
  "type": {
1854
- "text": "boolean"
1795
+ "text": "'append' | 'replace'"
1855
1796
  },
1856
- "default": "true"
1797
+ "default": "'replace'"
1857
1798
  },
1858
1799
  {
1859
1800
  "kind": "field",
1860
- "name": "classNames",
1801
+ "name": "inputValue",
1861
1802
  "type": {
1862
1803
  "text": "string"
1863
- }
1804
+ },
1805
+ "default": "''"
1864
1806
  },
1865
1807
  {
1866
1808
  "kind": "field",
1867
- "name": "definition",
1809
+ "name": "isInterpreting",
1868
1810
  "type": {
1869
- "text": "any"
1870
- }
1811
+ "text": "boolean"
1812
+ },
1813
+ "default": "false"
1871
1814
  },
1872
1815
  {
1873
1816
  "kind": "field",
1874
- "name": "name",
1817
+ "name": "lastValidCriteria",
1875
1818
  "type": {
1876
- "text": "string"
1819
+ "text": "string | null"
1877
1820
  },
1878
- "default": "'Actions'"
1821
+ "default": "null"
1879
1822
  },
1880
1823
  {
1881
1824
  "kind": "field",
1882
- "name": "open",
1825
+ "name": "fieldMetadata",
1883
1826
  "type": {
1884
- "text": "boolean"
1827
+ "text": "MetadataDetail[] | string[]"
1885
1828
  },
1886
- "default": "false"
1829
+ "default": "[]"
1887
1830
  },
1888
1831
  {
1889
1832
  "kind": "field",
1890
- "name": "buttonAppearance",
1833
+ "name": "isRecording",
1891
1834
  "type": {
1892
- "text": "string"
1893
- }
1835
+ "text": "boolean"
1836
+ },
1837
+ "default": "false"
1894
1838
  },
1895
1839
  {
1896
1840
  "kind": "field",
1897
- "name": "hideDisabled",
1841
+ "name": "textAreaRef",
1898
1842
  "type": {
1899
- "text": "boolean"
1843
+ "text": "HTMLTextAreaElement"
1900
1844
  },
1901
- "default": "false"
1845
+ "privacy": "public"
1902
1846
  },
1903
1847
  {
1904
1848
  "kind": "field",
1905
- "name": "hideMenuSingleOption",
1849
+ "name": "stopRecording",
1906
1850
  "type": {
1907
- "text": "boolean"
1851
+ "text": "(() => void) | null"
1908
1852
  },
1909
- "default": "false"
1853
+ "privacy": "private",
1854
+ "default": "null"
1910
1855
  },
1911
1856
  {
1912
1857
  "kind": "field",
1913
- "name": "singleOption",
1858
+ "name": "speechApplyDebounceTimer",
1914
1859
  "type": {
1915
- "text": "ActionMenuItem"
1916
- }
1860
+ "text": "ReturnType<typeof setTimeout> | null"
1861
+ },
1862
+ "privacy": "private",
1863
+ "default": "null"
1917
1864
  },
1918
1865
  {
1919
1866
  "kind": "field",
1920
- "name": "actionsMenu",
1867
+ "name": "baseInputForAppend",
1921
1868
  "type": {
1922
- "text": "HTMLElement"
1923
- }
1869
+ "text": "string"
1870
+ },
1871
+ "privacy": "private",
1872
+ "default": "''"
1924
1873
  },
1925
1874
  {
1926
- "kind": "method",
1927
- "name": "definitionChanged",
1928
- "privacy": "protected",
1929
- "parameters": [
1930
- {
1931
- "name": "oldValue",
1932
- "type": {
1933
- "text": "any"
1934
- }
1935
- },
1936
- {
1937
- "name": "newValue",
1938
- "type": {
1939
- "text": "any"
1940
- }
1941
- }
1942
- ]
1875
+ "kind": "field",
1876
+ "name": "speechAvailable",
1877
+ "type": {
1878
+ "text": "boolean"
1879
+ },
1880
+ "readonly": true
1943
1881
  },
1944
1882
  {
1945
1883
  "kind": "method",
1946
- "name": "openChanged",
1947
- "privacy": "protected"
1884
+ "name": "handleSubmit"
1948
1885
  },
1949
1886
  {
1950
1887
  "kind": "method",
1951
- "name": "toggleActionsMenuVisibility"
1888
+ "name": "handleBlur"
1952
1889
  },
1953
1890
  {
1954
1891
  "kind": "method",
1955
- "name": "onActionMenuItemClick",
1956
- "parameters": [
1957
- {
1958
- "name": "callback",
1959
- "type": {
1960
- "text": "(rowData) => void | any"
1961
- }
1962
- }
1963
- ]
1964
- },
1965
- {
1966
- "kind": "field",
1967
- "name": "allActions",
1968
- "type": {
1969
- "text": "ActionMenuItem[]"
1970
- },
1971
- "readonly": true
1972
- },
1973
- {
1974
- "kind": "field",
1975
- "name": "rowData",
1976
- "readonly": true
1892
+ "name": "clear"
1977
1893
  },
1978
1894
  {
1979
1895
  "kind": "method",
1980
- "name": "getLabel",
1981
- "parameters": [
1982
- {
1983
- "name": "name",
1984
- "type": {
1985
- "text": "string | ((rowData: any) => string)"
1986
- }
1987
- }
1988
- ]
1896
+ "name": "toggleSpeechInput"
1989
1897
  },
1990
1898
  {
1991
1899
  "kind": "method",
1992
- "name": "getTemplate",
1993
- "parameters": [
1994
- {
1995
- "name": "prefix",
1996
- "type": {
1997
- "text": "string"
1998
- }
1999
- }
2000
- ]
1900
+ "name": "clearSpeechApplyDebounce",
1901
+ "privacy": "private"
2001
1902
  },
2002
1903
  {
2003
1904
  "kind": "field",
@@ -2113,113 +2014,150 @@
2113
2014
  ],
2114
2015
  "attributes": [
2115
2016
  {
2116
- "name": "is-vertical",
2117
- "type": {
2118
- "text": "boolean"
2119
- },
2120
- "default": "false",
2121
- "fieldName": "isVertical"
2122
- },
2123
- {
2124
- "name": "add-default-actions",
2125
- "type": {
2126
- "text": "boolean"
2127
- },
2128
- "default": "true",
2129
- "fieldName": "addDefaultActions"
2130
- },
2131
- {
2132
- "name": "auto-close-on-action",
2133
- "type": {
2134
- "text": "boolean"
2135
- },
2136
- "default": "true",
2137
- "fieldName": "autoCloseOnAction"
2138
- },
2139
- {
2140
- "name": "name",
2141
- "type": {
2142
- "text": "string"
2143
- },
2144
- "default": "'Actions'",
2145
- "fieldName": "name"
2146
- },
2147
- {
2148
- "name": "open",
2149
- "type": {
2150
- "text": "boolean"
2151
- },
2152
- "default": "false",
2153
- "fieldName": "open"
2154
- },
2155
- {
2156
- "name": "buttonAppearance",
2017
+ "name": "placeholder",
2157
2018
  "type": {
2158
2019
  "text": "string"
2159
2020
  },
2160
- "fieldName": "buttonAppearance"
2021
+ "default": "'Describe your search criteria in natural language...'",
2022
+ "fieldName": "placeholder"
2161
2023
  },
2162
2024
  {
2163
- "name": "hide-disabled",
2164
2025
  "type": {
2165
2026
  "text": "boolean"
2166
2027
  },
2167
- "default": "false",
2168
- "fieldName": "hideDisabled"
2028
+ "fieldName": "disabled"
2169
2029
  },
2170
2030
  {
2171
- "name": "hide-menu-single-option",
2031
+ "name": "mode",
2172
2032
  "type": {
2173
- "text": "boolean"
2033
+ "text": "'append' | 'replace'"
2174
2034
  },
2175
- "default": "false",
2176
- "fieldName": "hideMenuSingleOption"
2035
+ "default": "'replace'",
2036
+ "fieldName": "mode"
2177
2037
  }
2178
2038
  ],
2179
2039
  "superclass": {
2180
2040
  "name": "FoundationElement",
2181
2041
  "package": "@microsoft/fast-foundation"
2182
2042
  },
2183
- "tagName": "%%prefix%%-actions-menu",
2043
+ "tagName": "%%prefix%%-ai-criteria-search",
2184
2044
  "customElement": true
2185
2045
  },
2186
2046
  {
2187
2047
  "kind": "variable",
2188
- "name": "foundationActionsMenu",
2189
- "description": "The Foundation Actions Menu",
2190
- "privacy": "public"
2048
+ "name": "foundationAiCriteriaSearchShadowOptions",
2049
+ "type": {
2050
+ "text": "ShadowRootInit"
2051
+ },
2052
+ "default": "undefined"
2053
+ },
2054
+ {
2055
+ "kind": "variable",
2056
+ "name": "defaultAiCriteriaSearchConfig",
2057
+ "type": {
2058
+ "text": "object"
2059
+ },
2060
+ "default": "{}"
2061
+ },
2062
+ {
2063
+ "kind": "variable",
2064
+ "name": "foundationAiCriteriaSearch"
2191
2065
  }
2192
2066
  ],
2193
2067
  "exports": [
2194
2068
  {
2195
2069
  "kind": "js",
2196
- "name": "ActionsMenu",
2070
+ "name": "AiCriteriaSearch",
2197
2071
  "declaration": {
2198
- "name": "ActionsMenu",
2199
- "module": "src/actions-menu/actions-menu.ts"
2072
+ "name": "AiCriteriaSearch",
2073
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2200
2074
  }
2201
2075
  },
2202
2076
  {
2203
2077
  "kind": "js",
2204
- "name": "foundationActionsMenu",
2078
+ "name": "foundationAiCriteriaSearchShadowOptions",
2205
2079
  "declaration": {
2206
- "name": "foundationActionsMenu",
2207
- "module": "src/actions-menu/actions-menu.ts"
2080
+ "name": "foundationAiCriteriaSearchShadowOptions",
2081
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "js",
2086
+ "name": "defaultAiCriteriaSearchConfig",
2087
+ "declaration": {
2088
+ "name": "defaultAiCriteriaSearchConfig",
2089
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2090
+ }
2091
+ },
2092
+ {
2093
+ "kind": "js",
2094
+ "name": "foundationAiCriteriaSearch",
2095
+ "declaration": {
2096
+ "name": "foundationAiCriteriaSearch",
2097
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2208
2098
  }
2209
2099
  }
2210
2100
  ]
2211
2101
  },
2212
2102
  {
2213
2103
  "kind": "javascript-module",
2214
- "path": "src/actions-menu/index.ts",
2104
+ "path": "src/ai-criteria-search/index.ts",
2215
2105
  "declarations": [],
2216
2106
  "exports": [
2107
+ {
2108
+ "kind": "js",
2109
+ "name": "AiCriteriaSearch",
2110
+ "declaration": {
2111
+ "name": "AiCriteriaSearch",
2112
+ "module": "./ai-criteria-search"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "js",
2117
+ "name": "defaultAiCriteriaSearchConfig",
2118
+ "declaration": {
2119
+ "name": "defaultAiCriteriaSearchConfig",
2120
+ "module": "./ai-criteria-search"
2121
+ }
2122
+ },
2123
+ {
2124
+ "kind": "js",
2125
+ "name": "foundationAiCriteriaSearch",
2126
+ "declaration": {
2127
+ "name": "foundationAiCriteriaSearch",
2128
+ "module": "./ai-criteria-search"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "js",
2133
+ "name": "foundationAiCriteriaSearchShadowOptions",
2134
+ "declaration": {
2135
+ "name": "foundationAiCriteriaSearchShadowOptions",
2136
+ "module": "./ai-criteria-search"
2137
+ }
2138
+ },
2139
+ {
2140
+ "kind": "js",
2141
+ "name": "foundationAiCriteriaSearchStyles",
2142
+ "declaration": {
2143
+ "name": "foundationAiCriteriaSearchStyles",
2144
+ "module": "./ai-criteria-search.styles"
2145
+ }
2146
+ },
2147
+ {
2148
+ "kind": "js",
2149
+ "name": "foundationAiCriteriaSearchTemplate",
2150
+ "declaration": {
2151
+ "name": "foundationAiCriteriaSearchTemplate",
2152
+ "module": "./ai-criteria-search.template"
2153
+ }
2154
+ },
2217
2155
  {
2218
2156
  "kind": "js",
2219
2157
  "name": "*",
2220
2158
  "declaration": {
2221
2159
  "name": "*",
2222
- "package": "./actions-menu.styles"
2160
+ "package": "./validation/criteria-ir"
2223
2161
  }
2224
2162
  },
2225
2163
  {
@@ -2227,7 +2165,7 @@
2227
2165
  "name": "*",
2228
2166
  "declaration": {
2229
2167
  "name": "*",
2230
- "package": "./actions-menu.template"
2168
+ "package": "./validation/operator-map"
2231
2169
  }
2232
2170
  },
2233
2171
  {
@@ -2235,130 +2173,285 @@
2235
2173
  "name": "*",
2236
2174
  "declaration": {
2237
2175
  "name": "*",
2238
- "package": "./actions-menu"
2176
+ "package": "./validation/schema-validator"
2239
2177
  }
2240
2178
  }
2241
2179
  ]
2242
2180
  },
2243
2181
  {
2244
2182
  "kind": "javascript-module",
2245
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2183
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2246
2184
  "declarations": [
2247
2185
  {
2248
- "kind": "variable",
2249
- "name": "foundationAiCriteriaSearchStyles",
2250
- "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`"
2186
+ "kind": "function",
2187
+ "name": "formatValidationErrors",
2188
+ "return": {
2189
+ "type": {
2190
+ "text": "string"
2191
+ }
2192
+ },
2193
+ "parameters": [
2194
+ {
2195
+ "name": "errors",
2196
+ "type": {
2197
+ "text": "ValidationError[]"
2198
+ }
2199
+ }
2200
+ ],
2201
+ "description": "Formats validation errors into a user-friendly message."
2202
+ },
2203
+ {
2204
+ "kind": "function",
2205
+ "name": "showCriteriaError",
2206
+ "return": {
2207
+ "type": {
2208
+ "text": "void"
2209
+ }
2210
+ },
2211
+ "parameters": [
2212
+ {
2213
+ "name": "title",
2214
+ "type": {
2215
+ "text": "string"
2216
+ },
2217
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2218
+ },
2219
+ {
2220
+ "name": "body",
2221
+ "type": {
2222
+ "text": "string"
2223
+ },
2224
+ "description": "Error message to display"
2225
+ },
2226
+ {
2227
+ "name": "tagName",
2228
+ "type": {
2229
+ "text": "string"
2230
+ },
2231
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2232
+ }
2233
+ ],
2234
+ "description": "Shows a criteria error as a toast notification."
2251
2235
  }
2252
2236
  ],
2253
2237
  "exports": [
2254
2238
  {
2255
2239
  "kind": "js",
2256
- "name": "foundationAiCriteriaSearchStyles",
2240
+ "name": "formatValidationErrors",
2257
2241
  "declaration": {
2258
- "name": "foundationAiCriteriaSearchStyles",
2259
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2242
+ "name": "formatValidationErrors",
2243
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2244
+ }
2245
+ },
2246
+ {
2247
+ "kind": "js",
2248
+ "name": "showCriteriaError",
2249
+ "declaration": {
2250
+ "name": "showCriteriaError",
2251
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2260
2252
  }
2261
2253
  }
2262
2254
  ]
2263
2255
  },
2264
2256
  {
2265
2257
  "kind": "javascript-module",
2266
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2258
+ "path": "src/actions-menu/actions-menu.styles.ts",
2267
2259
  "declarations": [
2260
+ {
2261
+ "kind": "function",
2262
+ "name": "actionsMenuBaseStyles",
2263
+ "return": {
2264
+ "type": {
2265
+ "text": "ElementStyles"
2266
+ }
2267
+ },
2268
+ "parameters": [
2269
+ {
2270
+ "name": "context",
2271
+ "type": {
2272
+ "text": "ElementDefinitionContext"
2273
+ }
2274
+ },
2275
+ {
2276
+ "name": "definition",
2277
+ "type": {
2278
+ "text": "FoundationElementDefinition"
2279
+ }
2280
+ }
2281
+ ]
2282
+ },
2283
+ {
2284
+ "kind": "function",
2285
+ "name": "foundationActionsMenuStyles",
2286
+ "return": {
2287
+ "type": {
2288
+ "text": "ElementStyles"
2289
+ }
2290
+ },
2291
+ "parameters": [
2292
+ {
2293
+ "name": "context",
2294
+ "type": {
2295
+ "text": "ElementDefinitionContext"
2296
+ }
2297
+ },
2298
+ {
2299
+ "name": "definition",
2300
+ "type": {
2301
+ "text": "FoundationElementDefinition"
2302
+ }
2303
+ }
2304
+ ]
2305
+ }
2306
+ ],
2307
+ "exports": [
2308
+ {
2309
+ "kind": "js",
2310
+ "name": "actionsMenuBaseStyles",
2311
+ "declaration": {
2312
+ "name": "actionsMenuBaseStyles",
2313
+ "module": "src/actions-menu/actions-menu.styles.ts"
2314
+ }
2315
+ },
2316
+ {
2317
+ "kind": "js",
2318
+ "name": "foundationActionsMenuStyles",
2319
+ "declaration": {
2320
+ "name": "foundationActionsMenuStyles",
2321
+ "module": "src/actions-menu/actions-menu.styles.ts"
2322
+ }
2323
+ }
2324
+ ]
2325
+ },
2326
+ {
2327
+ "kind": "javascript-module",
2328
+ "path": "src/actions-menu/actions-menu.template.ts",
2329
+ "declarations": [
2330
+ {
2331
+ "kind": "function",
2332
+ "name": "menuTemplate",
2333
+ "parameters": [
2334
+ {
2335
+ "name": "prefix",
2336
+ "type": {
2337
+ "text": "string"
2338
+ }
2339
+ }
2340
+ ]
2341
+ },
2342
+ {
2343
+ "kind": "function",
2344
+ "name": "singleOptionTemplate",
2345
+ "parameters": [
2346
+ {
2347
+ "name": "prefix",
2348
+ "type": {
2349
+ "text": "string"
2350
+ }
2351
+ }
2352
+ ]
2353
+ },
2268
2354
  {
2269
2355
  "kind": "variable",
2270
- "name": "foundationAiCriteriaSearchTemplate",
2356
+ "name": "foundationActionsMenuTemplate",
2271
2357
  "type": {
2272
- "text": "ViewTemplate<AiCriteriaSearch>"
2358
+ "text": "ViewTemplate<ActionsMenu>"
2273
2359
  },
2274
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2360
+ "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`"
2275
2361
  }
2276
2362
  ],
2277
2363
  "exports": [
2278
2364
  {
2279
2365
  "kind": "js",
2280
- "name": "foundationAiCriteriaSearchTemplate",
2366
+ "name": "menuTemplate",
2281
2367
  "declaration": {
2282
- "name": "foundationAiCriteriaSearchTemplate",
2283
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2368
+ "name": "menuTemplate",
2369
+ "module": "src/actions-menu/actions-menu.template.ts"
2370
+ }
2371
+ },
2372
+ {
2373
+ "kind": "js",
2374
+ "name": "singleOptionTemplate",
2375
+ "declaration": {
2376
+ "name": "singleOptionTemplate",
2377
+ "module": "src/actions-menu/actions-menu.template.ts"
2378
+ }
2379
+ },
2380
+ {
2381
+ "kind": "js",
2382
+ "name": "foundationActionsMenuTemplate",
2383
+ "declaration": {
2384
+ "name": "foundationActionsMenuTemplate",
2385
+ "module": "src/actions-menu/actions-menu.template.ts"
2284
2386
  }
2285
2387
  }
2286
2388
  ]
2287
2389
  },
2288
2390
  {
2289
2391
  "kind": "javascript-module",
2290
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2392
+ "path": "src/actions-menu/actions-menu.ts",
2291
2393
  "declarations": [
2292
2394
  {
2293
2395
  "kind": "class",
2294
2396
  "description": "",
2295
- "name": "AiCriteriaSearch",
2397
+ "name": "ActionsMenu",
2296
2398
  "members": [
2297
2399
  {
2298
2400
  "kind": "field",
2299
- "name": "aiProvider",
2401
+ "name": "actions",
2300
2402
  "type": {
2301
- "text": "AIProvider"
2403
+ "text": "ActionMenuItem[]"
2302
2404
  }
2303
2405
  },
2304
2406
  {
2305
2407
  "kind": "field",
2306
- "name": "placeholder",
2408
+ "name": "isVertical",
2307
2409
  "type": {
2308
- "text": "string"
2410
+ "text": "boolean"
2309
2411
  },
2310
- "default": "'Describe your search criteria in natural language...'"
2412
+ "default": "false"
2311
2413
  },
2312
2414
  {
2313
2415
  "kind": "field",
2314
- "name": "disabled",
2416
+ "name": "addDefaultActions",
2315
2417
  "type": {
2316
2418
  "text": "boolean"
2317
- }
2318
- },
2319
- {
2320
- "kind": "field",
2321
- "name": "mode",
2322
- "type": {
2323
- "text": "'append' | 'replace'"
2324
2419
  },
2325
- "default": "'replace'"
2420
+ "default": "true"
2326
2421
  },
2327
2422
  {
2328
2423
  "kind": "field",
2329
- "name": "inputValue",
2424
+ "name": "autoCloseOnAction",
2330
2425
  "type": {
2331
- "text": "string"
2426
+ "text": "boolean"
2332
2427
  },
2333
- "default": "''"
2428
+ "default": "true"
2334
2429
  },
2335
2430
  {
2336
2431
  "kind": "field",
2337
- "name": "isInterpreting",
2432
+ "name": "classNames",
2338
2433
  "type": {
2339
- "text": "boolean"
2340
- },
2341
- "default": "false"
2434
+ "text": "string"
2435
+ }
2342
2436
  },
2343
2437
  {
2344
2438
  "kind": "field",
2345
- "name": "lastValidCriteria",
2439
+ "name": "definition",
2346
2440
  "type": {
2347
- "text": "string | null"
2348
- },
2349
- "default": "null"
2441
+ "text": "any"
2442
+ }
2350
2443
  },
2351
2444
  {
2352
2445
  "kind": "field",
2353
- "name": "fieldMetadata",
2446
+ "name": "name",
2354
2447
  "type": {
2355
- "text": "MetadataDetail[] | string[]"
2448
+ "text": "string"
2356
2449
  },
2357
- "default": "[]"
2450
+ "default": "'Actions'"
2358
2451
  },
2359
2452
  {
2360
2453
  "kind": "field",
2361
- "name": "isRecording",
2454
+ "name": "open",
2362
2455
  "type": {
2363
2456
  "text": "boolean"
2364
2457
  },
@@ -2366,606 +2459,331 @@
2366
2459
  },
2367
2460
  {
2368
2461
  "kind": "field",
2369
- "name": "textAreaRef",
2462
+ "name": "buttonAppearance",
2370
2463
  "type": {
2371
- "text": "HTMLTextAreaElement"
2372
- },
2373
- "privacy": "public"
2464
+ "text": "string"
2465
+ }
2374
2466
  },
2375
2467
  {
2376
2468
  "kind": "field",
2377
- "name": "stopRecording",
2469
+ "name": "hideDisabled",
2378
2470
  "type": {
2379
- "text": "(() => void) | null"
2471
+ "text": "boolean"
2380
2472
  },
2381
- "privacy": "private",
2382
- "default": "null"
2473
+ "default": "false"
2383
2474
  },
2384
2475
  {
2385
2476
  "kind": "field",
2386
- "name": "speechApplyDebounceTimer",
2477
+ "name": "hideMenuSingleOption",
2387
2478
  "type": {
2388
- "text": "ReturnType<typeof setTimeout> | null"
2479
+ "text": "boolean"
2389
2480
  },
2390
- "privacy": "private",
2391
- "default": "null"
2481
+ "default": "false"
2392
2482
  },
2393
2483
  {
2394
2484
  "kind": "field",
2395
- "name": "baseInputForAppend",
2485
+ "name": "singleOption",
2396
2486
  "type": {
2397
- "text": "string"
2398
- },
2399
- "privacy": "private",
2400
- "default": "''"
2487
+ "text": "ActionMenuItem"
2488
+ }
2401
2489
  },
2402
2490
  {
2403
2491
  "kind": "field",
2404
- "name": "speechAvailable",
2492
+ "name": "actionsMenu",
2405
2493
  "type": {
2406
- "text": "boolean"
2407
- },
2408
- "readonly": true
2409
- },
2410
- {
2411
- "kind": "method",
2412
- "name": "handleSubmit"
2494
+ "text": "HTMLElement"
2495
+ }
2413
2496
  },
2414
2497
  {
2415
2498
  "kind": "method",
2416
- "name": "handleBlur"
2499
+ "name": "definitionChanged",
2500
+ "privacy": "protected",
2501
+ "parameters": [
2502
+ {
2503
+ "name": "oldValue",
2504
+ "type": {
2505
+ "text": "any"
2506
+ }
2507
+ },
2508
+ {
2509
+ "name": "newValue",
2510
+ "type": {
2511
+ "text": "any"
2512
+ }
2513
+ }
2514
+ ]
2417
2515
  },
2418
2516
  {
2419
2517
  "kind": "method",
2420
- "name": "clear"
2518
+ "name": "openChanged",
2519
+ "privacy": "protected"
2421
2520
  },
2422
2521
  {
2423
2522
  "kind": "method",
2424
- "name": "toggleSpeechInput"
2523
+ "name": "toggleActionsMenuVisibility"
2425
2524
  },
2426
2525
  {
2427
2526
  "kind": "method",
2428
- "name": "clearSpeechApplyDebounce",
2429
- "privacy": "private"
2527
+ "name": "onActionMenuItemClick",
2528
+ "parameters": [
2529
+ {
2530
+ "name": "callback",
2531
+ "type": {
2532
+ "text": "(rowData) => void | any"
2533
+ }
2534
+ }
2535
+ ]
2430
2536
  },
2431
2537
  {
2432
2538
  "kind": "field",
2433
- "name": "_presentation",
2539
+ "name": "allActions",
2434
2540
  "type": {
2435
- "text": "ComponentPresentation | null | undefined"
2541
+ "text": "ActionMenuItem[]"
2436
2542
  },
2437
- "privacy": "private",
2438
- "default": "void 0",
2439
- "inheritedFrom": {
2440
- "name": "FoundationElement",
2441
- "module": "src/foundation-element/foundation-element.ts"
2442
- }
2543
+ "readonly": true
2443
2544
  },
2444
2545
  {
2445
2546
  "kind": "field",
2446
- "name": "$presentation",
2447
- "type": {
2448
- "text": "ComponentPresentation | null"
2449
- },
2450
- "privacy": "public",
2451
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2452
- "inheritedFrom": {
2453
- "name": "FoundationElement",
2454
- "module": "src/foundation-element/foundation-element.ts"
2455
- }
2547
+ "name": "rowData",
2548
+ "readonly": true
2456
2549
  },
2457
2550
  {
2458
- "kind": "field",
2459
- "name": "template",
2460
- "type": {
2461
- "text": "ElementViewTemplate | void | null"
2462
- },
2463
- "privacy": "public",
2464
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2465
- "inheritedFrom": {
2466
- "name": "FoundationElement",
2467
- "module": "src/foundation-element/foundation-element.ts"
2468
- }
2551
+ "kind": "method",
2552
+ "name": "getLabel",
2553
+ "parameters": [
2554
+ {
2555
+ "name": "name",
2556
+ "type": {
2557
+ "text": "string | ((rowData: any) => string)"
2558
+ }
2559
+ }
2560
+ ]
2469
2561
  },
2470
2562
  {
2471
2563
  "kind": "method",
2472
- "name": "templateChanged",
2473
- "privacy": "protected",
2474
- "return": {
2475
- "type": {
2476
- "text": "void"
2564
+ "name": "getTemplate",
2565
+ "parameters": [
2566
+ {
2567
+ "name": "prefix",
2568
+ "type": {
2569
+ "text": "string"
2570
+ }
2477
2571
  }
2478
- },
2479
- "inheritedFrom": {
2480
- "name": "FoundationElement",
2481
- "module": "src/foundation-element/foundation-element.ts"
2482
- }
2572
+ ]
2483
2573
  },
2484
2574
  {
2485
2575
  "kind": "field",
2486
- "name": "styles",
2576
+ "name": "_presentation",
2487
2577
  "type": {
2488
- "text": "ElementStyles | void | null"
2578
+ "text": "ComponentPresentation | null | undefined"
2489
2579
  },
2490
- "privacy": "public",
2491
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2580
+ "privacy": "private",
2581
+ "default": "void 0",
2492
2582
  "inheritedFrom": {
2493
2583
  "name": "FoundationElement",
2494
2584
  "module": "src/foundation-element/foundation-element.ts"
2495
2585
  }
2496
2586
  },
2497
2587
  {
2498
- "kind": "method",
2499
- "name": "stylesChanged",
2500
- "privacy": "protected",
2501
- "return": {
2502
- "type": {
2503
- "text": "void"
2504
- }
2588
+ "kind": "field",
2589
+ "name": "$presentation",
2590
+ "type": {
2591
+ "text": "ComponentPresentation | null"
2505
2592
  },
2506
- "inheritedFrom": {
2507
- "name": "FoundationElement",
2508
- "module": "src/foundation-element/foundation-element.ts"
2509
- }
2510
- },
2511
- {
2512
- "kind": "method",
2513
- "name": "compose",
2514
2593
  "privacy": "public",
2515
- "static": true,
2516
- "return": {
2517
- "type": {
2518
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2519
- }
2520
- },
2521
- "parameters": [
2522
- {
2523
- "name": "this",
2524
- "type": {
2525
- "text": "K"
2526
- }
2527
- },
2528
- {
2529
- "name": "elementDefinition",
2530
- "type": {
2531
- "text": "T"
2532
- },
2533
- "description": "The definition of the element to create the registry\nfunction for."
2534
- }
2535
- ],
2536
- "description": "Defines an element registry function with a set of element definition defaults.",
2594
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2537
2595
  "inheritedFrom": {
2538
2596
  "name": "FoundationElement",
2539
2597
  "module": "src/foundation-element/foundation-element.ts"
2540
2598
  }
2541
- }
2542
- ],
2543
- "attributes": [
2544
- {
2545
- "name": "placeholder",
2546
- "type": {
2547
- "text": "string"
2548
- },
2549
- "default": "'Describe your search criteria in natural language...'",
2550
- "fieldName": "placeholder"
2551
2599
  },
2552
2600
  {
2601
+ "kind": "field",
2602
+ "name": "template",
2553
2603
  "type": {
2554
- "text": "boolean"
2555
- },
2556
- "fieldName": "disabled"
2557
- },
2558
- {
2559
- "name": "mode",
2560
- "type": {
2561
- "text": "'append' | 'replace'"
2562
- },
2563
- "default": "'replace'",
2564
- "fieldName": "mode"
2565
- }
2566
- ],
2567
- "superclass": {
2568
- "name": "FoundationElement",
2569
- "package": "@microsoft/fast-foundation"
2570
- },
2571
- "tagName": "%%prefix%%-ai-criteria-search",
2572
- "customElement": true
2573
- },
2574
- {
2575
- "kind": "variable",
2576
- "name": "foundationAiCriteriaSearchShadowOptions",
2577
- "type": {
2578
- "text": "ShadowRootInit"
2579
- },
2580
- "default": "undefined"
2581
- },
2582
- {
2583
- "kind": "variable",
2584
- "name": "defaultAiCriteriaSearchConfig",
2585
- "type": {
2586
- "text": "object"
2587
- },
2588
- "default": "{}"
2589
- },
2590
- {
2591
- "kind": "variable",
2592
- "name": "foundationAiCriteriaSearch"
2593
- }
2594
- ],
2595
- "exports": [
2596
- {
2597
- "kind": "js",
2598
- "name": "AiCriteriaSearch",
2599
- "declaration": {
2600
- "name": "AiCriteriaSearch",
2601
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2602
- }
2603
- },
2604
- {
2605
- "kind": "js",
2606
- "name": "foundationAiCriteriaSearchShadowOptions",
2607
- "declaration": {
2608
- "name": "foundationAiCriteriaSearchShadowOptions",
2609
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2610
- }
2611
- },
2612
- {
2613
- "kind": "js",
2614
- "name": "defaultAiCriteriaSearchConfig",
2615
- "declaration": {
2616
- "name": "defaultAiCriteriaSearchConfig",
2617
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2618
- }
2619
- },
2620
- {
2621
- "kind": "js",
2622
- "name": "foundationAiCriteriaSearch",
2623
- "declaration": {
2624
- "name": "foundationAiCriteriaSearch",
2625
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2626
- }
2627
- }
2628
- ]
2629
- },
2630
- {
2631
- "kind": "javascript-module",
2632
- "path": "src/ai-criteria-search/index.ts",
2633
- "declarations": [],
2634
- "exports": [
2635
- {
2636
- "kind": "js",
2637
- "name": "AiCriteriaSearch",
2638
- "declaration": {
2639
- "name": "AiCriteriaSearch",
2640
- "module": "./ai-criteria-search"
2641
- }
2642
- },
2643
- {
2644
- "kind": "js",
2645
- "name": "defaultAiCriteriaSearchConfig",
2646
- "declaration": {
2647
- "name": "defaultAiCriteriaSearchConfig",
2648
- "module": "./ai-criteria-search"
2649
- }
2650
- },
2651
- {
2652
- "kind": "js",
2653
- "name": "foundationAiCriteriaSearch",
2654
- "declaration": {
2655
- "name": "foundationAiCriteriaSearch",
2656
- "module": "./ai-criteria-search"
2657
- }
2658
- },
2659
- {
2660
- "kind": "js",
2661
- "name": "foundationAiCriteriaSearchShadowOptions",
2662
- "declaration": {
2663
- "name": "foundationAiCriteriaSearchShadowOptions",
2664
- "module": "./ai-criteria-search"
2665
- }
2666
- },
2667
- {
2668
- "kind": "js",
2669
- "name": "foundationAiCriteriaSearchStyles",
2670
- "declaration": {
2671
- "name": "foundationAiCriteriaSearchStyles",
2672
- "module": "./ai-criteria-search.styles"
2673
- }
2674
- },
2675
- {
2676
- "kind": "js",
2677
- "name": "foundationAiCriteriaSearchTemplate",
2678
- "declaration": {
2679
- "name": "foundationAiCriteriaSearchTemplate",
2680
- "module": "./ai-criteria-search.template"
2681
- }
2682
- },
2683
- {
2684
- "kind": "js",
2685
- "name": "*",
2686
- "declaration": {
2687
- "name": "*",
2688
- "package": "./validation/criteria-ir"
2689
- }
2690
- },
2691
- {
2692
- "kind": "js",
2693
- "name": "*",
2694
- "declaration": {
2695
- "name": "*",
2696
- "package": "./validation/operator-map"
2697
- }
2698
- },
2699
- {
2700
- "kind": "js",
2701
- "name": "*",
2702
- "declaration": {
2703
- "name": "*",
2704
- "package": "./validation/schema-validator"
2705
- }
2706
- }
2707
- ]
2708
- },
2709
- {
2710
- "kind": "javascript-module",
2711
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2712
- "declarations": [
2713
- {
2714
- "kind": "function",
2715
- "name": "formatValidationErrors",
2716
- "return": {
2717
- "type": {
2718
- "text": "string"
2719
- }
2720
- },
2721
- "parameters": [
2604
+ "text": "ElementViewTemplate | void | null"
2605
+ },
2606
+ "privacy": "public",
2607
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2608
+ "inheritedFrom": {
2609
+ "name": "FoundationElement",
2610
+ "module": "src/foundation-element/foundation-element.ts"
2611
+ }
2612
+ },
2722
2613
  {
2723
- "name": "errors",
2614
+ "kind": "method",
2615
+ "name": "templateChanged",
2616
+ "privacy": "protected",
2617
+ "return": {
2618
+ "type": {
2619
+ "text": "void"
2620
+ }
2621
+ },
2622
+ "inheritedFrom": {
2623
+ "name": "FoundationElement",
2624
+ "module": "src/foundation-element/foundation-element.ts"
2625
+ }
2626
+ },
2627
+ {
2628
+ "kind": "field",
2629
+ "name": "styles",
2724
2630
  "type": {
2725
- "text": "ValidationError[]"
2631
+ "text": "ElementStyles | void | null"
2632
+ },
2633
+ "privacy": "public",
2634
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2635
+ "inheritedFrom": {
2636
+ "name": "FoundationElement",
2637
+ "module": "src/foundation-element/foundation-element.ts"
2638
+ }
2639
+ },
2640
+ {
2641
+ "kind": "method",
2642
+ "name": "stylesChanged",
2643
+ "privacy": "protected",
2644
+ "return": {
2645
+ "type": {
2646
+ "text": "void"
2647
+ }
2648
+ },
2649
+ "inheritedFrom": {
2650
+ "name": "FoundationElement",
2651
+ "module": "src/foundation-element/foundation-element.ts"
2652
+ }
2653
+ },
2654
+ {
2655
+ "kind": "method",
2656
+ "name": "compose",
2657
+ "privacy": "public",
2658
+ "static": true,
2659
+ "return": {
2660
+ "type": {
2661
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2662
+ }
2663
+ },
2664
+ "parameters": [
2665
+ {
2666
+ "name": "this",
2667
+ "type": {
2668
+ "text": "K"
2669
+ }
2670
+ },
2671
+ {
2672
+ "name": "elementDefinition",
2673
+ "type": {
2674
+ "text": "T"
2675
+ },
2676
+ "description": "The definition of the element to create the registry\nfunction for."
2677
+ }
2678
+ ],
2679
+ "description": "Defines an element registry function with a set of element definition defaults.",
2680
+ "inheritedFrom": {
2681
+ "name": "FoundationElement",
2682
+ "module": "src/foundation-element/foundation-element.ts"
2726
2683
  }
2727
2684
  }
2728
2685
  ],
2729
- "description": "Formats validation errors into a user-friendly message."
2730
- },
2731
- {
2732
- "kind": "function",
2733
- "name": "showCriteriaError",
2734
- "return": {
2735
- "type": {
2736
- "text": "void"
2737
- }
2738
- },
2739
- "parameters": [
2686
+ "attributes": [
2740
2687
  {
2741
- "name": "title",
2688
+ "name": "is-vertical",
2742
2689
  "type": {
2743
- "text": "string"
2690
+ "text": "boolean"
2744
2691
  },
2745
- "description": "Notification title (e.g. \"Criteria validation error\")"
2692
+ "default": "false",
2693
+ "fieldName": "isVertical"
2746
2694
  },
2747
2695
  {
2748
- "name": "body",
2696
+ "name": "add-default-actions",
2749
2697
  "type": {
2750
- "text": "string"
2698
+ "text": "boolean"
2751
2699
  },
2752
- "description": "Error message to display"
2700
+ "default": "true",
2701
+ "fieldName": "addDefaultActions"
2753
2702
  },
2754
2703
  {
2755
- "name": "tagName",
2704
+ "name": "auto-close-on-action",
2705
+ "type": {
2706
+ "text": "boolean"
2707
+ },
2708
+ "default": "true",
2709
+ "fieldName": "autoCloseOnAction"
2710
+ },
2711
+ {
2712
+ "name": "name",
2756
2713
  "type": {
2757
2714
  "text": "string"
2758
2715
  },
2759
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2760
- }
2761
- ],
2762
- "description": "Shows a criteria error as a toast notification."
2763
- }
2764
- ],
2765
- "exports": [
2766
- {
2767
- "kind": "js",
2768
- "name": "formatValidationErrors",
2769
- "declaration": {
2770
- "name": "formatValidationErrors",
2771
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2772
- }
2773
- },
2774
- {
2775
- "kind": "js",
2776
- "name": "showCriteriaError",
2777
- "declaration": {
2778
- "name": "showCriteriaError",
2779
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2780
- }
2781
- }
2782
- ]
2783
- },
2784
- {
2785
- "kind": "javascript-module",
2786
- "path": "src/accordion/accordion.styles.ts",
2787
- "declarations": [
2788
- {
2789
- "kind": "function",
2790
- "name": "foundationAccordionStyles",
2791
- "return": {
2792
- "type": {
2793
- "text": "ElementStyles"
2794
- }
2795
- },
2796
- "parameters": [
2716
+ "default": "'Actions'",
2717
+ "fieldName": "name"
2718
+ },
2797
2719
  {
2798
- "name": "context",
2720
+ "name": "open",
2799
2721
  "type": {
2800
- "text": "ElementDefinitionContext"
2801
- }
2722
+ "text": "boolean"
2723
+ },
2724
+ "default": "false",
2725
+ "fieldName": "open"
2802
2726
  },
2803
2727
  {
2804
- "name": "definition",
2728
+ "name": "buttonAppearance",
2805
2729
  "type": {
2806
- "text": "FoundationElementDefinition"
2807
- }
2808
- }
2809
- ]
2810
- }
2811
- ],
2812
- "exports": [
2813
- {
2814
- "kind": "js",
2815
- "name": "foundationAccordionStyles",
2816
- "declaration": {
2817
- "name": "foundationAccordionStyles",
2818
- "module": "src/accordion/accordion.styles.ts"
2819
- }
2820
- }
2821
- ]
2822
- },
2823
- {
2824
- "kind": "javascript-module",
2825
- "path": "src/accordion/accordion.template.ts",
2826
- "declarations": [
2827
- {
2828
- "kind": "function",
2829
- "name": "foundationAccordionTemplate",
2830
- "return": {
2831
- "type": {
2832
- "text": "ViewTemplate<Accordion>"
2833
- }
2834
- },
2835
- "parameters": [
2730
+ "text": "string"
2731
+ },
2732
+ "fieldName": "buttonAppearance"
2733
+ },
2836
2734
  {
2837
- "name": "context",
2735
+ "name": "hide-disabled",
2838
2736
  "type": {
2839
- "text": "ElementDefinitionContext"
2840
- }
2737
+ "text": "boolean"
2738
+ },
2739
+ "default": "false",
2740
+ "fieldName": "hideDisabled"
2841
2741
  },
2842
2742
  {
2843
- "name": "definition",
2743
+ "name": "hide-menu-single-option",
2844
2744
  "type": {
2845
- "text": "FoundationElementDefinition"
2846
- }
2745
+ "text": "boolean"
2746
+ },
2747
+ "default": "false",
2748
+ "fieldName": "hideMenuSingleOption"
2847
2749
  }
2848
- ]
2849
- }
2850
- ],
2851
- "exports": [
2852
- {
2853
- "kind": "js",
2854
- "name": "foundationAccordionTemplate",
2855
- "declaration": {
2856
- "name": "foundationAccordionTemplate",
2857
- "module": "src/accordion/accordion.template.ts"
2858
- }
2859
- }
2860
- ]
2861
- },
2862
- {
2863
- "kind": "javascript-module",
2864
- "path": "src/accordion/accordion.ts",
2865
- "declarations": [
2866
- {
2867
- "kind": "class",
2868
- "description": "",
2869
- "name": "Accordion",
2750
+ ],
2870
2751
  "superclass": {
2871
- "name": "FASTAccordion",
2752
+ "name": "FoundationElement",
2872
2753
  "package": "@microsoft/fast-foundation"
2873
2754
  },
2874
- "tagName": "%%prefix%%-accordion",
2755
+ "tagName": "%%prefix%%-actions-menu",
2875
2756
  "customElement": true
2876
2757
  },
2877
2758
  {
2878
2759
  "kind": "variable",
2879
- "name": "foundationAccordionShadowOptions",
2880
- "type": {
2881
- "text": "ShadowRootInit"
2882
- },
2883
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2884
- },
2885
- {
2886
- "kind": "variable",
2887
- "name": "defaultAccordionConfig",
2888
- "type": {
2889
- "text": "object"
2890
- },
2891
- "default": "{}"
2892
- },
2893
- {
2894
- "kind": "variable",
2895
- "name": "foundationAccordion",
2896
- "description": "The Foundation Accordion",
2760
+ "name": "foundationActionsMenu",
2761
+ "description": "The Foundation Actions Menu",
2897
2762
  "privacy": "public"
2898
2763
  }
2899
2764
  ],
2900
2765
  "exports": [
2901
2766
  {
2902
2767
  "kind": "js",
2903
- "name": "Accordion",
2904
- "declaration": {
2905
- "name": "Accordion",
2906
- "module": "src/accordion/accordion.ts"
2907
- }
2908
- },
2909
- {
2910
- "kind": "js",
2911
- "name": "foundationAccordionShadowOptions",
2912
- "declaration": {
2913
- "name": "foundationAccordionShadowOptions",
2914
- "module": "src/accordion/accordion.ts"
2915
- }
2916
- },
2917
- {
2918
- "kind": "js",
2919
- "name": "defaultAccordionConfig",
2920
- "declaration": {
2921
- "name": "defaultAccordionConfig",
2922
- "module": "src/accordion/accordion.ts"
2923
- }
2924
- },
2925
- {
2926
- "kind": "js",
2927
- "name": "foundationAccordion",
2928
- "declaration": {
2929
- "name": "foundationAccordion",
2930
- "module": "src/accordion/accordion.ts"
2931
- }
2932
- }
2933
- ]
2934
- },
2935
- {
2936
- "kind": "javascript-module",
2937
- "path": "src/accordion/index.ts",
2938
- "declarations": [],
2939
- "exports": [
2940
- {
2941
- "kind": "js",
2942
- "name": "*",
2943
- "declaration": {
2944
- "name": "*",
2945
- "package": "./accordion.template"
2946
- }
2947
- },
2948
- {
2949
- "kind": "js",
2950
- "name": "*",
2768
+ "name": "ActionsMenu",
2951
2769
  "declaration": {
2952
- "name": "*",
2953
- "package": "./accordion.styles"
2770
+ "name": "ActionsMenu",
2771
+ "module": "src/actions-menu/actions-menu.ts"
2954
2772
  }
2955
2773
  },
2956
2774
  {
2957
2775
  "kind": "js",
2958
- "name": "*",
2776
+ "name": "foundationActionsMenu",
2959
2777
  "declaration": {
2960
- "name": "*",
2961
- "package": "./accordion"
2778
+ "name": "foundationActionsMenu",
2779
+ "module": "src/actions-menu/actions-menu.ts"
2962
2780
  }
2963
2781
  }
2964
2782
  ]
2965
2783
  },
2966
2784
  {
2967
2785
  "kind": "javascript-module",
2968
- "path": "src/_config/index.ts",
2786
+ "path": "src/actions-menu/index.ts",
2969
2787
  "declarations": [],
2970
2788
  "exports": [
2971
2789
  {
@@ -2973,7 +2791,7 @@
2973
2791
  "name": "*",
2974
2792
  "declaration": {
2975
2793
  "name": "*",
2976
- "package": "./styles"
2794
+ "package": "./actions-menu.styles"
2977
2795
  }
2978
2796
  },
2979
2797
  {
@@ -2981,7 +2799,7 @@
2981
2799
  "name": "*",
2982
2800
  "declaration": {
2983
2801
  "name": "*",
2984
- "package": "./tokens"
2802
+ "package": "./actions-menu.template"
2985
2803
  }
2986
2804
  },
2987
2805
  {
@@ -2989,7 +2807,7 @@
2989
2807
  "name": "*",
2990
2808
  "declaration": {
2991
2809
  "name": "*",
2992
- "package": "./values"
2810
+ "package": "./actions-menu"
2993
2811
  }
2994
2812
  }
2995
2813
  ]
@@ -3433,6 +3251,188 @@
3433
3251
  }
3434
3252
  ]
3435
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,181 +54354,6 @@
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
- },
54532
54357
  {
54533
54358
  "kind": "javascript-module",
54534
54359
  "path": "src/_config/styles/colors.ts",
@@ -55901,6 +55726,181 @@
55901
55726
  "declarations": [],
55902
55727
  "exports": []
55903
55728
  },
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",