@genesislcap/foundation-ui 14.413.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 +718 -718
  2. package/package.json +19 -19
@@ -1287,37 +1287,6 @@
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
- },
1321
1290
  {
1322
1291
  "kind": "javascript-module",
1323
1292
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1714,321 +1683,191 @@
1714
1683
  },
1715
1684
  {
1716
1685
  "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,130 +2142,285 @@
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/ai-criteria-search/ai-criteria-search.styles.ts",
2152
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2277
2153
  "declarations": [
2278
2154
  {
2279
- "kind": "variable",
2280
- "name": "foundationAiCriteriaSearchStyles",
2281
- "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`"
2155
+ "kind": "function",
2156
+ "name": "formatValidationErrors",
2157
+ "return": {
2158
+ "type": {
2159
+ "text": "string"
2160
+ }
2161
+ },
2162
+ "parameters": [
2163
+ {
2164
+ "name": "errors",
2165
+ "type": {
2166
+ "text": "ValidationError[]"
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\")"
2187
+ },
2188
+ {
2189
+ "name": "body",
2190
+ "type": {
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\")"
2201
+ }
2202
+ ],
2203
+ "description": "Shows a criteria error as a toast notification."
2282
2204
  }
2283
2205
  ],
2284
2206
  "exports": [
2285
2207
  {
2286
2208
  "kind": "js",
2287
- "name": "foundationAiCriteriaSearchStyles",
2209
+ "name": "formatValidationErrors",
2288
2210
  "declaration": {
2289
- "name": "foundationAiCriteriaSearchStyles",
2290
- "module": "src/ai-criteria-search/ai-criteria-search.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"
2291
2221
  }
2292
2222
  }
2293
2223
  ]
2294
2224
  },
2295
2225
  {
2296
2226
  "kind": "javascript-module",
2297
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2227
+ "path": "src/actions-menu/actions-menu.styles.ts",
2228
+ "declarations": [
2229
+ {
2230
+ "kind": "function",
2231
+ "name": "actionsMenuBaseStyles",
2232
+ "return": {
2233
+ "type": {
2234
+ "text": "ElementStyles"
2235
+ }
2236
+ },
2237
+ "parameters": [
2238
+ {
2239
+ "name": "context",
2240
+ "type": {
2241
+ "text": "ElementDefinitionContext"
2242
+ }
2243
+ },
2244
+ {
2245
+ "name": "definition",
2246
+ "type": {
2247
+ "text": "FoundationElementDefinition"
2248
+ }
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "function",
2254
+ "name": "foundationActionsMenuStyles",
2255
+ "return": {
2256
+ "type": {
2257
+ "text": "ElementStyles"
2258
+ }
2259
+ },
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
+ ]
2274
+ }
2275
+ ],
2276
+ "exports": [
2277
+ {
2278
+ "kind": "js",
2279
+ "name": "actionsMenuBaseStyles",
2280
+ "declaration": {
2281
+ "name": "actionsMenuBaseStyles",
2282
+ "module": "src/actions-menu/actions-menu.styles.ts"
2283
+ }
2284
+ },
2285
+ {
2286
+ "kind": "js",
2287
+ "name": "foundationActionsMenuStyles",
2288
+ "declaration": {
2289
+ "name": "foundationActionsMenuStyles",
2290
+ "module": "src/actions-menu/actions-menu.styles.ts"
2291
+ }
2292
+ }
2293
+ ]
2294
+ },
2295
+ {
2296
+ "kind": "javascript-module",
2297
+ "path": "src/actions-menu/actions-menu.template.ts",
2298
2298
  "declarations": [
2299
+ {
2300
+ "kind": "function",
2301
+ "name": "menuTemplate",
2302
+ "parameters": [
2303
+ {
2304
+ "name": "prefix",
2305
+ "type": {
2306
+ "text": "string"
2307
+ }
2308
+ }
2309
+ ]
2310
+ },
2311
+ {
2312
+ "kind": "function",
2313
+ "name": "singleOptionTemplate",
2314
+ "parameters": [
2315
+ {
2316
+ "name": "prefix",
2317
+ "type": {
2318
+ "text": "string"
2319
+ }
2320
+ }
2321
+ ]
2322
+ },
2299
2323
  {
2300
2324
  "kind": "variable",
2301
- "name": "foundationAiCriteriaSearchTemplate",
2325
+ "name": "foundationActionsMenuTemplate",
2302
2326
  "type": {
2303
- "text": "ViewTemplate<AiCriteriaSearch>"
2327
+ "text": "ViewTemplate<ActionsMenu>"
2304
2328
  },
2305
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
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`"
2306
2330
  }
2307
2331
  ],
2308
2332
  "exports": [
2309
2333
  {
2310
2334
  "kind": "js",
2311
- "name": "foundationAiCriteriaSearchTemplate",
2335
+ "name": "menuTemplate",
2312
2336
  "declaration": {
2313
- "name": "foundationAiCriteriaSearchTemplate",
2314
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2337
+ "name": "menuTemplate",
2338
+ "module": "src/actions-menu/actions-menu.template.ts"
2339
+ }
2340
+ },
2341
+ {
2342
+ "kind": "js",
2343
+ "name": "singleOptionTemplate",
2344
+ "declaration": {
2345
+ "name": "singleOptionTemplate",
2346
+ "module": "src/actions-menu/actions-menu.template.ts"
2347
+ }
2348
+ },
2349
+ {
2350
+ "kind": "js",
2351
+ "name": "foundationActionsMenuTemplate",
2352
+ "declaration": {
2353
+ "name": "foundationActionsMenuTemplate",
2354
+ "module": "src/actions-menu/actions-menu.template.ts"
2315
2355
  }
2316
2356
  }
2317
2357
  ]
2318
2358
  },
2319
2359
  {
2320
2360
  "kind": "javascript-module",
2321
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2361
+ "path": "src/actions-menu/actions-menu.ts",
2322
2362
  "declarations": [
2323
2363
  {
2324
2364
  "kind": "class",
2325
2365
  "description": "",
2326
- "name": "AiCriteriaSearch",
2366
+ "name": "ActionsMenu",
2327
2367
  "members": [
2328
2368
  {
2329
2369
  "kind": "field",
2330
- "name": "aiProvider",
2370
+ "name": "actions",
2331
2371
  "type": {
2332
- "text": "AIProvider"
2372
+ "text": "ActionMenuItem[]"
2333
2373
  }
2334
2374
  },
2335
2375
  {
2336
2376
  "kind": "field",
2337
- "name": "placeholder",
2377
+ "name": "isVertical",
2338
2378
  "type": {
2339
- "text": "string"
2379
+ "text": "boolean"
2340
2380
  },
2341
- "default": "'Describe your search criteria in natural language...'"
2381
+ "default": "false"
2342
2382
  },
2343
2383
  {
2344
2384
  "kind": "field",
2345
- "name": "disabled",
2385
+ "name": "addDefaultActions",
2346
2386
  "type": {
2347
2387
  "text": "boolean"
2348
- }
2349
- },
2350
- {
2351
- "kind": "field",
2352
- "name": "mode",
2353
- "type": {
2354
- "text": "'append' | 'replace'"
2355
2388
  },
2356
- "default": "'replace'"
2389
+ "default": "true"
2357
2390
  },
2358
2391
  {
2359
2392
  "kind": "field",
2360
- "name": "inputValue",
2393
+ "name": "autoCloseOnAction",
2361
2394
  "type": {
2362
- "text": "string"
2395
+ "text": "boolean"
2363
2396
  },
2364
- "default": "''"
2397
+ "default": "true"
2365
2398
  },
2366
2399
  {
2367
2400
  "kind": "field",
2368
- "name": "isInterpreting",
2401
+ "name": "classNames",
2369
2402
  "type": {
2370
- "text": "boolean"
2371
- },
2372
- "default": "false"
2403
+ "text": "string"
2404
+ }
2373
2405
  },
2374
2406
  {
2375
2407
  "kind": "field",
2376
- "name": "lastValidCriteria",
2408
+ "name": "definition",
2377
2409
  "type": {
2378
- "text": "string | null"
2379
- },
2380
- "default": "null"
2410
+ "text": "any"
2411
+ }
2381
2412
  },
2382
2413
  {
2383
2414
  "kind": "field",
2384
- "name": "fieldMetadata",
2415
+ "name": "name",
2385
2416
  "type": {
2386
- "text": "MetadataDetail[] | string[]"
2417
+ "text": "string"
2387
2418
  },
2388
- "default": "[]"
2419
+ "default": "'Actions'"
2389
2420
  },
2390
2421
  {
2391
2422
  "kind": "field",
2392
- "name": "isRecording",
2423
+ "name": "open",
2393
2424
  "type": {
2394
2425
  "text": "boolean"
2395
2426
  },
@@ -2397,67 +2428,117 @@
2397
2428
  },
2398
2429
  {
2399
2430
  "kind": "field",
2400
- "name": "textAreaRef",
2431
+ "name": "buttonAppearance",
2401
2432
  "type": {
2402
- "text": "HTMLTextAreaElement"
2403
- },
2404
- "privacy": "public"
2433
+ "text": "string"
2434
+ }
2405
2435
  },
2406
2436
  {
2407
2437
  "kind": "field",
2408
- "name": "stopRecording",
2438
+ "name": "hideDisabled",
2409
2439
  "type": {
2410
- "text": "(() => void) | null"
2440
+ "text": "boolean"
2411
2441
  },
2412
- "privacy": "private",
2413
- "default": "null"
2442
+ "default": "false"
2414
2443
  },
2415
2444
  {
2416
2445
  "kind": "field",
2417
- "name": "speechApplyDebounceTimer",
2446
+ "name": "hideMenuSingleOption",
2418
2447
  "type": {
2419
- "text": "ReturnType<typeof setTimeout> | null"
2448
+ "text": "boolean"
2420
2449
  },
2421
- "privacy": "private",
2422
- "default": "null"
2450
+ "default": "false"
2423
2451
  },
2424
2452
  {
2425
2453
  "kind": "field",
2426
- "name": "baseInputForAppend",
2454
+ "name": "singleOption",
2427
2455
  "type": {
2428
- "text": "string"
2429
- },
2430
- "privacy": "private",
2431
- "default": "''"
2456
+ "text": "ActionMenuItem"
2457
+ }
2432
2458
  },
2433
2459
  {
2434
2460
  "kind": "field",
2435
- "name": "speechAvailable",
2461
+ "name": "actionsMenu",
2436
2462
  "type": {
2437
- "text": "boolean"
2438
- },
2439
- "readonly": true
2463
+ "text": "HTMLElement"
2464
+ }
2440
2465
  },
2441
2466
  {
2442
2467
  "kind": "method",
2443
- "name": "handleSubmit"
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
+ ]
2444
2484
  },
2445
2485
  {
2446
2486
  "kind": "method",
2447
- "name": "handleBlur"
2487
+ "name": "openChanged",
2488
+ "privacy": "protected"
2448
2489
  },
2449
2490
  {
2450
2491
  "kind": "method",
2451
- "name": "clear"
2492
+ "name": "toggleActionsMenuVisibility"
2452
2493
  },
2453
2494
  {
2454
2495
  "kind": "method",
2455
- "name": "toggleSpeechInput"
2496
+ "name": "onActionMenuItemClick",
2497
+ "parameters": [
2498
+ {
2499
+ "name": "callback",
2500
+ "type": {
2501
+ "text": "(rowData) => void | any"
2502
+ }
2503
+ }
2504
+ ]
2505
+ },
2506
+ {
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
2456
2518
  },
2457
2519
  {
2458
2520
  "kind": "method",
2459
- "name": "clearSpeechApplyDebounce",
2460
- "privacy": "private"
2521
+ "name": "getLabel",
2522
+ "parameters": [
2523
+ {
2524
+ "name": "name",
2525
+ "type": {
2526
+ "text": "string | ((rowData: any) => string)"
2527
+ }
2528
+ }
2529
+ ]
2530
+ },
2531
+ {
2532
+ "kind": "method",
2533
+ "name": "getTemplate",
2534
+ "parameters": [
2535
+ {
2536
+ "name": "prefix",
2537
+ "type": {
2538
+ "text": "string"
2539
+ }
2540
+ }
2541
+ ]
2461
2542
  },
2462
2543
  {
2463
2544
  "kind": "field",
@@ -2573,150 +2654,113 @@
2573
2654
  ],
2574
2655
  "attributes": [
2575
2656
  {
2576
- "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",
2577
2682
  "type": {
2578
2683
  "text": "string"
2579
2684
  },
2580
- "default": "'Describe your search criteria in natural language...'",
2581
- "fieldName": "placeholder"
2685
+ "default": "'Actions'",
2686
+ "fieldName": "name"
2582
2687
  },
2583
2688
  {
2689
+ "name": "open",
2584
2690
  "type": {
2585
2691
  "text": "boolean"
2586
2692
  },
2587
- "fieldName": "disabled"
2693
+ "default": "false",
2694
+ "fieldName": "open"
2588
2695
  },
2589
2696
  {
2590
- "name": "mode",
2697
+ "name": "buttonAppearance",
2591
2698
  "type": {
2592
- "text": "'append' | 'replace'"
2699
+ "text": "string"
2593
2700
  },
2594
- "default": "'replace'",
2595
- "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"
2596
2718
  }
2597
2719
  ],
2598
2720
  "superclass": {
2599
2721
  "name": "FoundationElement",
2600
2722
  "package": "@microsoft/fast-foundation"
2601
2723
  },
2602
- "tagName": "%%prefix%%-ai-criteria-search",
2724
+ "tagName": "%%prefix%%-actions-menu",
2603
2725
  "customElement": true
2604
2726
  },
2605
2727
  {
2606
2728
  "kind": "variable",
2607
- "name": "foundationAiCriteriaSearchShadowOptions",
2608
- "type": {
2609
- "text": "ShadowRootInit"
2610
- },
2611
- "default": "undefined"
2612
- },
2613
- {
2614
- "kind": "variable",
2615
- "name": "defaultAiCriteriaSearchConfig",
2616
- "type": {
2617
- "text": "object"
2618
- },
2619
- "default": "{}"
2620
- },
2621
- {
2622
- "kind": "variable",
2623
- "name": "foundationAiCriteriaSearch"
2729
+ "name": "foundationActionsMenu",
2730
+ "description": "The Foundation Actions Menu",
2731
+ "privacy": "public"
2624
2732
  }
2625
2733
  ],
2626
2734
  "exports": [
2627
2735
  {
2628
2736
  "kind": "js",
2629
- "name": "AiCriteriaSearch",
2630
- "declaration": {
2631
- "name": "AiCriteriaSearch",
2632
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2633
- }
2634
- },
2635
- {
2636
- "kind": "js",
2637
- "name": "foundationAiCriteriaSearchShadowOptions",
2638
- "declaration": {
2639
- "name": "foundationAiCriteriaSearchShadowOptions",
2640
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2641
- }
2642
- },
2643
- {
2644
- "kind": "js",
2645
- "name": "defaultAiCriteriaSearchConfig",
2737
+ "name": "ActionsMenu",
2646
2738
  "declaration": {
2647
- "name": "defaultAiCriteriaSearchConfig",
2648
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2739
+ "name": "ActionsMenu",
2740
+ "module": "src/actions-menu/actions-menu.ts"
2649
2741
  }
2650
2742
  },
2651
2743
  {
2652
2744
  "kind": "js",
2653
- "name": "foundationAiCriteriaSearch",
2745
+ "name": "foundationActionsMenu",
2654
2746
  "declaration": {
2655
- "name": "foundationAiCriteriaSearch",
2656
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2747
+ "name": "foundationActionsMenu",
2748
+ "module": "src/actions-menu/actions-menu.ts"
2657
2749
  }
2658
2750
  }
2659
2751
  ]
2660
2752
  },
2661
2753
  {
2662
2754
  "kind": "javascript-module",
2663
- "path": "src/ai-criteria-search/index.ts",
2755
+ "path": "src/actions-menu/index.ts",
2664
2756
  "declarations": [],
2665
2757
  "exports": [
2666
- {
2667
- "kind": "js",
2668
- "name": "AiCriteriaSearch",
2669
- "declaration": {
2670
- "name": "AiCriteriaSearch",
2671
- "module": "./ai-criteria-search"
2672
- }
2673
- },
2674
- {
2675
- "kind": "js",
2676
- "name": "defaultAiCriteriaSearchConfig",
2677
- "declaration": {
2678
- "name": "defaultAiCriteriaSearchConfig",
2679
- "module": "./ai-criteria-search"
2680
- }
2681
- },
2682
- {
2683
- "kind": "js",
2684
- "name": "foundationAiCriteriaSearch",
2685
- "declaration": {
2686
- "name": "foundationAiCriteriaSearch",
2687
- "module": "./ai-criteria-search"
2688
- }
2689
- },
2690
- {
2691
- "kind": "js",
2692
- "name": "foundationAiCriteriaSearchShadowOptions",
2693
- "declaration": {
2694
- "name": "foundationAiCriteriaSearchShadowOptions",
2695
- "module": "./ai-criteria-search"
2696
- }
2697
- },
2698
- {
2699
- "kind": "js",
2700
- "name": "foundationAiCriteriaSearchStyles",
2701
- "declaration": {
2702
- "name": "foundationAiCriteriaSearchStyles",
2703
- "module": "./ai-criteria-search.styles"
2704
- }
2705
- },
2706
- {
2707
- "kind": "js",
2708
- "name": "foundationAiCriteriaSearchTemplate",
2709
- "declaration": {
2710
- "name": "foundationAiCriteriaSearchTemplate",
2711
- "module": "./ai-criteria-search.template"
2712
- }
2713
- },
2714
2758
  {
2715
2759
  "kind": "js",
2716
2760
  "name": "*",
2717
2761
  "declaration": {
2718
2762
  "name": "*",
2719
- "package": "./validation/criteria-ir"
2763
+ "package": "./actions-menu.styles"
2720
2764
  }
2721
2765
  },
2722
2766
  {
@@ -2724,7 +2768,7 @@
2724
2768
  "name": "*",
2725
2769
  "declaration": {
2726
2770
  "name": "*",
2727
- "package": "./validation/operator-map"
2771
+ "package": "./actions-menu.template"
2728
2772
  }
2729
2773
  },
2730
2774
  {
@@ -2732,82 +2776,7 @@
2732
2776
  "name": "*",
2733
2777
  "declaration": {
2734
2778
  "name": "*",
2735
- "package": "./validation/schema-validator"
2736
- }
2737
- }
2738
- ]
2739
- },
2740
- {
2741
- "kind": "javascript-module",
2742
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2743
- "declarations": [
2744
- {
2745
- "kind": "function",
2746
- "name": "formatValidationErrors",
2747
- "return": {
2748
- "type": {
2749
- "text": "string"
2750
- }
2751
- },
2752
- "parameters": [
2753
- {
2754
- "name": "errors",
2755
- "type": {
2756
- "text": "ValidationError[]"
2757
- }
2758
- }
2759
- ],
2760
- "description": "Formats validation errors into a user-friendly message."
2761
- },
2762
- {
2763
- "kind": "function",
2764
- "name": "showCriteriaError",
2765
- "return": {
2766
- "type": {
2767
- "text": "void"
2768
- }
2769
- },
2770
- "parameters": [
2771
- {
2772
- "name": "title",
2773
- "type": {
2774
- "text": "string"
2775
- },
2776
- "description": "Notification title (e.g. \"Criteria validation error\")"
2777
- },
2778
- {
2779
- "name": "body",
2780
- "type": {
2781
- "text": "string"
2782
- },
2783
- "description": "Error message to display"
2784
- },
2785
- {
2786
- "name": "tagName",
2787
- "type": {
2788
- "text": "string"
2789
- },
2790
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2791
- }
2792
- ],
2793
- "description": "Shows a criteria error as a toast notification."
2794
- }
2795
- ],
2796
- "exports": [
2797
- {
2798
- "kind": "js",
2799
- "name": "formatValidationErrors",
2800
- "declaration": {
2801
- "name": "formatValidationErrors",
2802
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2803
- }
2804
- },
2805
- {
2806
- "kind": "js",
2807
- "name": "showCriteriaError",
2808
- "declaration": {
2809
- "name": "showCriteriaError",
2810
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2779
+ "package": "./actions-menu"
2811
2780
  }
2812
2781
  }
2813
2782
  ]
@@ -3251,6 +3220,37 @@
3251
3220
  }
3252
3221
  ]
3253
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
3254
  {
3255
3255
  "kind": "javascript-module",
3256
3256
  "path": "src/accordion/accordion.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",