@genesislcap/foundation-ui 14.432.0 → 14.432.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1398,37 +1398,6 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
- {
1402
- "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
1401
  {
1433
1402
  "kind": "javascript-module",
1434
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1825,275 +1794,208 @@
1825
1794
  },
1826
1795
  {
1827
1796
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1797
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1829
1798
  "declarations": [
1830
1799
  {
1831
- "kind": "function",
1832
- "name": "foundationAccordionStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1839
- {
1840
- "name": "context",
1841
- "type": {
1842
- "text": "ElementDefinitionContext"
1843
- }
1844
- },
1845
- {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1800
+ "kind": "variable",
1801
+ "name": "foundationAiCriteriaSearchStyles",
1802
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
1852
1803
  }
1853
1804
  ],
1854
1805
  "exports": [
1855
1806
  {
1856
1807
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
1808
+ "name": "foundationAiCriteriaSearchStyles",
1858
1809
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1810
+ "name": "foundationAiCriteriaSearchStyles",
1811
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1861
1812
  }
1862
1813
  }
1863
1814
  ]
1864
1815
  },
1865
1816
  {
1866
1817
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1818
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1868
1819
  "declarations": [
1869
1820
  {
1870
- "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1872
- "return": {
1873
- "type": {
1874
- "text": "ViewTemplate<Accordion>"
1875
- }
1821
+ "kind": "variable",
1822
+ "name": "foundationAiCriteriaSearchTemplate",
1823
+ "type": {
1824
+ "text": "ViewTemplate<AiCriteriaSearch>"
1876
1825
  },
1877
- "parameters": [
1878
- {
1879
- "name": "context",
1880
- "type": {
1881
- "text": "ElementDefinitionContext"
1882
- }
1883
- },
1884
- {
1885
- "name": "definition",
1886
- "type": {
1887
- "text": "FoundationElementDefinition"
1888
- }
1889
- }
1890
- ]
1826
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1891
1827
  }
1892
1828
  ],
1893
1829
  "exports": [
1894
1830
  {
1895
1831
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1832
+ "name": "foundationAiCriteriaSearchTemplate",
1897
1833
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1834
+ "name": "foundationAiCriteriaSearchTemplate",
1835
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1900
1836
  }
1901
1837
  }
1902
1838
  ]
1903
1839
  },
1904
1840
  {
1905
1841
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1842
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1907
1843
  "declarations": [
1908
1844
  {
1909
1845
  "kind": "class",
1910
- "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1846
+ "description": "Natural-language criteria search input with AI interpretation.",
1847
+ "name": "AiCriteriaSearch",
1848
+ "members": [
1919
1849
  {
1920
- "name": "expand-mode",
1850
+ "kind": "field",
1851
+ "name": "aiProvider",
1921
1852
  "type": {
1922
- "text": "AccordionExpandMode"
1923
- },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
1853
+ "text": "AIProvider"
1929
1854
  }
1930
- }
1931
- ],
1932
- "members": [
1855
+ },
1933
1856
  {
1934
1857
  "kind": "field",
1935
- "name": "expandmode",
1858
+ "name": "placeholder",
1936
1859
  "type": {
1937
- "text": "AccordionExpandMode"
1860
+ "text": "string"
1938
1861
  },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1862
+ "default": "'Describe your search criteria in natural language...'"
1863
+ },
1864
+ {
1865
+ "kind": "field",
1866
+ "name": "disabled",
1867
+ "type": {
1868
+ "text": "boolean"
1944
1869
  }
1945
1870
  },
1946
1871
  {
1947
1872
  "kind": "field",
1948
- "name": "activeid",
1873
+ "name": "inputValue",
1949
1874
  "type": {
1950
- "text": "string | null"
1875
+ "text": "string"
1951
1876
  },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
1877
+ "default": "''"
1957
1878
  },
1958
1879
  {
1959
1880
  "kind": "field",
1960
- "name": "activeItemIndex",
1881
+ "name": "isInterpreting",
1961
1882
  "type": {
1962
- "text": "number"
1883
+ "text": "boolean"
1963
1884
  },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1885
+ "default": "false"
1970
1886
  },
1971
1887
  {
1972
1888
  "kind": "field",
1973
- "name": "accordionIds",
1889
+ "name": "lastValidCriteria",
1974
1890
  "type": {
1975
- "text": "Array<string | null>"
1891
+ "text": "string | null"
1976
1892
  },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1981
- }
1893
+ "default": "null"
1982
1894
  },
1983
1895
  {
1984
1896
  "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
1990
- }
1897
+ "name": "activeGroups",
1898
+ "type": {
1899
+ "text": "CriteriaGroup[]"
1900
+ },
1901
+ "default": "[]"
1991
1902
  },
1992
1903
  {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
1904
+ "kind": "field",
1905
+ "name": "showingChips",
1906
+ "type": {
1907
+ "text": "boolean"
2000
1908
  },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
1909
+ "default": "false"
2005
1910
  },
2006
1911
  {
2007
1912
  "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
1913
+ "name": "fieldMetadata",
1914
+ "type": {
1915
+ "text": "MetadataDetail[] | string[]"
1916
+ },
1917
+ "default": "[]"
2014
1918
  },
2015
1919
  {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
1920
+ "kind": "field",
1921
+ "name": "isRecording",
1922
+ "type": {
1923
+ "text": "boolean"
2023
1924
  },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
1925
+ "default": "false"
2028
1926
  },
2029
1927
  {
2030
1928
  "kind": "field",
2031
- "name": "removeItemListeners",
1929
+ "name": "textAreaRef",
1930
+ "type": {
1931
+ "text": "HTMLTextAreaElement"
1932
+ },
1933
+ "privacy": "public"
1934
+ },
1935
+ {
1936
+ "kind": "field",
1937
+ "name": "stopRecording",
1938
+ "type": {
1939
+ "text": "(() => void) | null"
1940
+ },
2032
1941
  "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2036
- }
1942
+ "default": "null"
2037
1943
  },
2038
1944
  {
2039
1945
  "kind": "field",
2040
- "name": "activeItemChange",
1946
+ "name": "speechApplyDebounceTimer",
1947
+ "type": {
1948
+ "text": "ReturnType<typeof setTimeout> | null"
1949
+ },
2041
1950
  "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2045
- }
1951
+ "default": "null"
1952
+ },
1953
+ {
1954
+ "kind": "field",
1955
+ "name": "speechAvailable",
1956
+ "type": {
1957
+ "text": "boolean"
1958
+ },
1959
+ "readonly": true
1960
+ },
1961
+ {
1962
+ "kind": "field",
1963
+ "name": "criteriaChips",
1964
+ "type": {
1965
+ "text": "CriteriaChip[]"
1966
+ },
1967
+ "readonly": true
2046
1968
  },
2047
1969
  {
2048
1970
  "kind": "method",
2049
- "name": "getItemIds",
1971
+ "name": "getFieldLabel",
2050
1972
  "privacy": "private",
2051
1973
  "return": {
2052
1974
  "type": {
2053
- "text": "Array<string | null>"
1975
+ "text": "string"
2054
1976
  }
2055
1977
  },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
1978
+ "parameters": [
1979
+ {
1980
+ "name": "fieldName",
1981
+ "type": {
1982
+ "text": "string"
1983
+ }
1984
+ }
1985
+ ]
2060
1986
  },
2061
1987
  {
2062
1988
  "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
1989
+ "name": "toggleCriteriaView",
2065
1990
  "return": {
2066
1991
  "type": {
2067
- "text": "boolean"
1992
+ "text": "void"
2068
1993
  }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2074
- },
2075
- {
2076
- "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
2083
- },
2084
- {
2085
- "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
1994
  }
2092
1995
  },
2093
1996
  {
2094
1997
  "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
1998
+ "name": "removeChip",
2097
1999
  "return": {
2098
2000
  "type": {
2099
2001
  "text": "void"
@@ -2101,31 +2003,49 @@
2101
2003
  },
2102
2004
  "parameters": [
2103
2005
  {
2104
- "name": "adjustment",
2006
+ "name": "groupIndex",
2007
+ "type": {
2008
+ "text": "number"
2009
+ }
2010
+ },
2011
+ {
2012
+ "name": "clauseIndex",
2105
2013
  "type": {
2106
2014
  "text": "number"
2107
2015
  }
2108
2016
  }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2017
+ ]
2114
2018
  },
2115
2019
  {
2116
2020
  "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2021
+ "name": "clearChips",
2119
2022
  "return": {
2120
2023
  "type": {
2121
2024
  "text": "void"
2122
2025
  }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
2026
  }
2128
2027
  },
2028
+ {
2029
+ "kind": "method",
2030
+ "name": "handleSubmit"
2031
+ },
2032
+ {
2033
+ "kind": "method",
2034
+ "name": "handleBlur"
2035
+ },
2036
+ {
2037
+ "kind": "method",
2038
+ "name": "clear"
2039
+ },
2040
+ {
2041
+ "kind": "method",
2042
+ "name": "toggleSpeechInput"
2043
+ },
2044
+ {
2045
+ "kind": "method",
2046
+ "name": "clearSpeechApplyDebounce",
2047
+ "privacy": "private"
2048
+ },
2129
2049
  {
2130
2050
  "kind": "field",
2131
2051
  "name": "_presentation",
@@ -2240,26 +2160,48 @@
2240
2160
  ],
2241
2161
  "events": [
2242
2162
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2248
- }
2163
+ "description": "Fired when interpreted criteria is applied or cleared",
2164
+ "name": "criteria-changed"
2165
+ },
2166
+ {
2167
+ "description": "Fired when interpreted criteria contains invalid clauses",
2168
+ "name": "validation-errors"
2249
2169
  }
2250
- ]
2170
+ ],
2171
+ "attributes": [
2172
+ {
2173
+ "name": "placeholder",
2174
+ "type": {
2175
+ "text": "string"
2176
+ },
2177
+ "default": "'Describe your search criteria in natural language...'",
2178
+ "fieldName": "placeholder"
2179
+ },
2180
+ {
2181
+ "type": {
2182
+ "text": "boolean"
2183
+ },
2184
+ "fieldName": "disabled"
2185
+ }
2186
+ ],
2187
+ "superclass": {
2188
+ "name": "FoundationElement",
2189
+ "package": "@microsoft/fast-foundation"
2190
+ },
2191
+ "tagName": "%%prefix%%-ai-criteria-search",
2192
+ "customElement": true
2251
2193
  },
2252
2194
  {
2253
2195
  "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2196
+ "name": "foundationAiCriteriaSearchShadowOptions",
2255
2197
  "type": {
2256
2198
  "text": "ShadowRootInit"
2257
2199
  },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2200
+ "default": "undefined"
2259
2201
  },
2260
2202
  {
2261
2203
  "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2204
+ "name": "defaultAiCriteriaSearchConfig",
2263
2205
  "type": {
2264
2206
  "text": "object"
2265
2207
  },
@@ -2267,57 +2209,103 @@
2267
2209
  },
2268
2210
  {
2269
2211
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2272
- "privacy": "public"
2212
+ "name": "foundationAiCriteriaSearch"
2273
2213
  }
2274
2214
  ],
2275
2215
  "exports": [
2276
2216
  {
2277
2217
  "kind": "js",
2278
- "name": "Accordion",
2218
+ "name": "AiCriteriaSearch",
2279
2219
  "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2220
+ "name": "AiCriteriaSearch",
2221
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2282
2222
  }
2283
2223
  },
2284
2224
  {
2285
2225
  "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2226
+ "name": "foundationAiCriteriaSearchShadowOptions",
2287
2227
  "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2228
+ "name": "foundationAiCriteriaSearchShadowOptions",
2229
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2290
2230
  }
2291
2231
  },
2292
2232
  {
2293
2233
  "kind": "js",
2294
- "name": "defaultAccordionConfig",
2234
+ "name": "defaultAiCriteriaSearchConfig",
2295
2235
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2236
+ "name": "defaultAiCriteriaSearchConfig",
2237
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2298
2238
  }
2299
2239
  },
2300
2240
  {
2301
2241
  "kind": "js",
2302
- "name": "foundationAccordion",
2242
+ "name": "foundationAiCriteriaSearch",
2303
2243
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2244
+ "name": "foundationAiCriteriaSearch",
2245
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2306
2246
  }
2307
2247
  }
2308
2248
  ]
2309
2249
  },
2310
2250
  {
2311
2251
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2252
+ "path": "src/ai-criteria-search/index.ts",
2313
2253
  "declarations": [],
2314
2254
  "exports": [
2255
+ {
2256
+ "kind": "js",
2257
+ "name": "AiCriteriaSearch",
2258
+ "declaration": {
2259
+ "name": "AiCriteriaSearch",
2260
+ "module": "./ai-criteria-search"
2261
+ }
2262
+ },
2263
+ {
2264
+ "kind": "js",
2265
+ "name": "defaultAiCriteriaSearchConfig",
2266
+ "declaration": {
2267
+ "name": "defaultAiCriteriaSearchConfig",
2268
+ "module": "./ai-criteria-search"
2269
+ }
2270
+ },
2271
+ {
2272
+ "kind": "js",
2273
+ "name": "foundationAiCriteriaSearch",
2274
+ "declaration": {
2275
+ "name": "foundationAiCriteriaSearch",
2276
+ "module": "./ai-criteria-search"
2277
+ }
2278
+ },
2279
+ {
2280
+ "kind": "js",
2281
+ "name": "foundationAiCriteriaSearchShadowOptions",
2282
+ "declaration": {
2283
+ "name": "foundationAiCriteriaSearchShadowOptions",
2284
+ "module": "./ai-criteria-search"
2285
+ }
2286
+ },
2287
+ {
2288
+ "kind": "js",
2289
+ "name": "foundationAiCriteriaSearchStyles",
2290
+ "declaration": {
2291
+ "name": "foundationAiCriteriaSearchStyles",
2292
+ "module": "./ai-criteria-search.styles"
2293
+ }
2294
+ },
2295
+ {
2296
+ "kind": "js",
2297
+ "name": "foundationAiCriteriaSearchTemplate",
2298
+ "declaration": {
2299
+ "name": "foundationAiCriteriaSearchTemplate",
2300
+ "module": "./ai-criteria-search.template"
2301
+ }
2302
+ },
2315
2303
  {
2316
2304
  "kind": "js",
2317
2305
  "name": "*",
2318
2306
  "declaration": {
2319
2307
  "name": "*",
2320
- "package": "./accordion.template"
2308
+ "package": "./validation/criteria-ir"
2321
2309
  }
2322
2310
  },
2323
2311
  {
@@ -2325,7 +2313,7 @@
2325
2313
  "name": "*",
2326
2314
  "declaration": {
2327
2315
  "name": "*",
2328
- "package": "./accordion.styles"
2316
+ "package": "./validation/operator-map"
2329
2317
  }
2330
2318
  },
2331
2319
  {
@@ -2333,328 +2321,326 @@
2333
2321
  "name": "*",
2334
2322
  "declaration": {
2335
2323
  "name": "*",
2336
- "package": "./accordion"
2324
+ "package": "./validation/schema-validator"
2337
2325
  }
2338
2326
  }
2339
2327
  ]
2340
2328
  },
2341
2329
  {
2342
2330
  "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2331
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2344
2332
  "declarations": [
2345
2333
  {
2346
2334
  "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2335
+ "name": "formatValidationErrors",
2348
2336
  "return": {
2349
2337
  "type": {
2350
- "text": "ElementStyles"
2338
+ "text": "string"
2351
2339
  }
2352
2340
  },
2353
2341
  "parameters": [
2354
2342
  {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2343
+ "name": "errors",
2362
2344
  "type": {
2363
- "text": "FoundationElementDefinition"
2345
+ "text": "ValidationError[]"
2364
2346
  }
2365
2347
  }
2366
- ]
2348
+ ],
2349
+ "description": "Formats validation errors into a user-friendly message."
2367
2350
  },
2368
2351
  {
2369
2352
  "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2353
+ "name": "showCriteriaError",
2371
2354
  "return": {
2372
2355
  "type": {
2373
- "text": "ElementStyles"
2356
+ "text": "void"
2374
2357
  }
2375
2358
  },
2376
2359
  "parameters": [
2377
2360
  {
2378
- "name": "context",
2361
+ "name": "title",
2379
2362
  "type": {
2380
- "text": "ElementDefinitionContext"
2381
- }
2363
+ "text": "string"
2364
+ },
2365
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2382
2366
  },
2383
2367
  {
2384
- "name": "definition",
2368
+ "name": "body",
2385
2369
  "type": {
2386
- "text": "FoundationElementDefinition"
2387
- }
2370
+ "text": "string"
2371
+ },
2372
+ "description": "Error message to display"
2373
+ },
2374
+ {
2375
+ "name": "tagName",
2376
+ "type": {
2377
+ "text": "string"
2378
+ },
2379
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2388
2380
  }
2389
- ]
2381
+ ],
2382
+ "description": "Shows a criteria error as a toast notification."
2390
2383
  }
2391
2384
  ],
2392
2385
  "exports": [
2393
2386
  {
2394
2387
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2388
+ "name": "formatValidationErrors",
2396
2389
  "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2390
+ "name": "formatValidationErrors",
2391
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2399
2392
  }
2400
2393
  },
2401
2394
  {
2402
2395
  "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2396
+ "name": "showCriteriaError",
2404
2397
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2398
+ "name": "showCriteriaError",
2399
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2407
2400
  }
2408
2401
  }
2409
2402
  ]
2410
2403
  },
2411
2404
  {
2412
2405
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2406
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2414
2407
  "declarations": [
2415
2408
  {
2416
2409
  "kind": "function",
2417
- "name": "menuTemplate",
2410
+ "name": "foundationAiIndicatorStyles",
2411
+ "return": {
2412
+ "type": {
2413
+ "text": "ElementStyles"
2414
+ }
2415
+ },
2418
2416
  "parameters": [
2419
2417
  {
2420
- "name": "prefix",
2418
+ "name": "context",
2421
2419
  "type": {
2422
- "text": "string"
2420
+ "text": "ElementDefinitionContext"
2423
2421
  }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2422
+ },
2431
2423
  {
2432
- "name": "prefix",
2424
+ "name": "definition",
2433
2425
  "type": {
2434
- "text": "string"
2426
+ "text": "FoundationElementDefinition"
2435
2427
  }
2436
2428
  }
2437
2429
  ]
2438
- },
2439
- {
2440
- "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2442
- "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2444
- },
2445
- "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`"
2446
2430
  }
2447
2431
  ],
2448
2432
  "exports": [
2449
2433
  {
2450
2434
  "kind": "js",
2451
- "name": "menuTemplate",
2435
+ "name": "foundationAiIndicatorStyles",
2452
2436
  "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2437
+ "name": "foundationAiIndicatorStyles",
2438
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2455
2439
  }
2456
- },
2440
+ }
2441
+ ]
2442
+ },
2443
+ {
2444
+ "kind": "javascript-module",
2445
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2446
+ "declarations": [
2457
2447
  {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2448
+ "kind": "variable",
2449
+ "name": "foundationAiIndicatorTemplate",
2450
+ "type": {
2451
+ "text": "ViewTemplate<AiIndicator>"
2452
+ },
2453
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2454
+ }
2455
+ ],
2456
+ "exports": [
2465
2457
  {
2466
2458
  "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2459
+ "name": "foundationAiIndicatorTemplate",
2468
2460
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2461
+ "name": "foundationAiIndicatorTemplate",
2462
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2471
2463
  }
2472
2464
  }
2473
2465
  ]
2474
2466
  },
2475
2467
  {
2476
2468
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2469
+ "path": "src/ai-indicator/ai-indicator.ts",
2478
2470
  "declarations": [
2479
2471
  {
2480
2472
  "kind": "class",
2481
2473
  "description": "",
2482
- "name": "ActionsMenu",
2474
+ "name": "AiIndicator",
2483
2475
  "members": [
2484
2476
  {
2485
2477
  "kind": "field",
2486
- "name": "actions",
2478
+ "name": "aiProvider",
2487
2479
  "type": {
2488
- "text": "ActionMenuItem[]"
2480
+ "text": "AIProvider"
2489
2481
  }
2490
2482
  },
2491
2483
  {
2492
2484
  "kind": "field",
2493
- "name": "isVertical",
2485
+ "name": "status",
2494
2486
  "type": {
2495
- "text": "boolean"
2487
+ "text": "AIStatus | null"
2496
2488
  },
2497
- "default": "false"
2489
+ "default": "null"
2498
2490
  },
2499
2491
  {
2500
2492
  "kind": "field",
2501
- "name": "addDefaultActions",
2493
+ "name": "open",
2502
2494
  "type": {
2503
2495
  "text": "boolean"
2504
2496
  },
2505
- "default": "true"
2497
+ "default": "false"
2506
2498
  },
2507
2499
  {
2508
2500
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2501
+ "name": "state",
2510
2502
  "type": {
2511
- "text": "boolean"
2503
+ "text": "AIIndicatorState"
2512
2504
  },
2513
- "default": "true"
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "classNames",
2518
- "type": {
2519
- "text": "string"
2520
- }
2521
- },
2522
- {
2523
- "kind": "field",
2524
- "name": "definition",
2525
- "type": {
2526
- "text": "any"
2527
- }
2505
+ "default": "'none'"
2528
2506
  },
2529
2507
  {
2530
2508
  "kind": "field",
2531
- "name": "name",
2509
+ "name": "isInstalling",
2532
2510
  "type": {
2533
- "text": "string"
2511
+ "text": "boolean"
2534
2512
  },
2535
- "default": "'Actions'"
2513
+ "default": "false"
2536
2514
  },
2537
2515
  {
2538
2516
  "kind": "field",
2539
- "name": "open",
2517
+ "name": "pollTimer",
2540
2518
  "type": {
2541
- "text": "boolean"
2519
+ "text": "ReturnType<typeof setInterval> | null"
2542
2520
  },
2543
- "default": "false"
2521
+ "privacy": "private",
2522
+ "default": "null"
2544
2523
  },
2545
2524
  {
2546
2525
  "kind": "field",
2547
- "name": "buttonAppearance",
2548
- "type": {
2549
- "text": "string"
2550
- }
2526
+ "name": "clickOutside",
2527
+ "privacy": "private"
2551
2528
  },
2552
2529
  {
2553
2530
  "kind": "field",
2554
- "name": "hideDisabled",
2531
+ "name": "chromeStatusLabel",
2555
2532
  "type": {
2556
- "text": "boolean"
2533
+ "text": "string | null"
2557
2534
  },
2558
- "default": "false"
2535
+ "readonly": true
2559
2536
  },
2560
2537
  {
2561
2538
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2539
+ "name": "canInstall",
2563
2540
  "type": {
2564
2541
  "text": "boolean"
2565
2542
  },
2566
- "default": "false"
2543
+ "readonly": true
2567
2544
  },
2568
2545
  {
2569
2546
  "kind": "field",
2570
- "name": "singleOption",
2547
+ "name": "isDownloading",
2571
2548
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2549
+ "text": "boolean"
2550
+ },
2551
+ "readonly": true
2574
2552
  },
2575
2553
  {
2576
- "kind": "field",
2577
- "name": "actionsMenu",
2578
- "type": {
2579
- "text": "HTMLElement"
2554
+ "kind": "method",
2555
+ "name": "openChanged",
2556
+ "return": {
2557
+ "type": {
2558
+ "text": "void"
2559
+ }
2580
2560
  }
2581
2561
  },
2582
2562
  {
2583
2563
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2564
+ "name": "handleClickOutside",
2565
+ "privacy": "private",
2586
2566
  "parameters": [
2587
2567
  {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2568
+ "name": "event",
2595
2569
  "type": {
2596
- "text": "any"
2570
+ "text": "MouseEvent"
2597
2571
  }
2598
2572
  }
2599
2573
  ]
2600
2574
  },
2601
2575
  {
2602
2576
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2577
+ "name": "toggleDropdown"
2605
2578
  },
2606
2579
  {
2607
2580
  "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2581
+ "name": "refreshStatus",
2582
+ "return": {
2583
+ "type": {
2584
+ "text": "Promise<void>"
2585
+ }
2586
+ }
2609
2587
  },
2610
2588
  {
2611
2589
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2590
+ "name": "deriveState",
2591
+ "privacy": "private",
2592
+ "return": {
2593
+ "type": {
2594
+ "text": "AIIndicatorState"
2595
+ }
2596
+ },
2613
2597
  "parameters": [
2614
2598
  {
2615
- "name": "callback",
2599
+ "name": "s",
2616
2600
  "type": {
2617
- "text": "(rowData) => void | any"
2601
+ "text": "AIStatus | null"
2618
2602
  }
2619
2603
  }
2620
2604
  ]
2621
2605
  },
2622
2606
  {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2607
+ "kind": "method",
2608
+ "name": "maybeStartPolling",
2609
+ "privacy": "private",
2610
+ "return": {
2611
+ "type": {
2612
+ "text": "void"
2613
+ }
2614
+ }
2629
2615
  },
2630
2616
  {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2617
+ "kind": "method",
2618
+ "name": "startPolling",
2619
+ "privacy": "private",
2620
+ "return": {
2621
+ "type": {
2622
+ "text": "void"
2623
+ }
2624
+ }
2634
2625
  },
2635
2626
  {
2636
2627
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2628
+ "name": "stopPolling",
2629
+ "privacy": "private",
2630
+ "return": {
2631
+ "type": {
2632
+ "text": "void"
2644
2633
  }
2645
- ]
2634
+ }
2646
2635
  },
2647
2636
  {
2648
2637
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2638
+ "name": "onInstall",
2639
+ "return": {
2640
+ "type": {
2641
+ "text": "Promise<void>"
2656
2642
  }
2657
- ]
2643
+ }
2658
2644
  },
2659
2645
  {
2660
2646
  "kind": "field",
@@ -2768,262 +2754,291 @@
2768
2754
  }
2769
2755
  }
2770
2756
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2796
- {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2803
- },
2804
- {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2812
- {
2813
- "name": "buttonAppearance",
2814
- "type": {
2815
- "text": "string"
2816
- },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2826
- },
2827
- {
2828
- "name": "hide-menu-single-option",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2834
- }
2835
- ],
2836
2757
  "superclass": {
2837
2758
  "name": "FoundationElement",
2838
2759
  "package": "@microsoft/fast-foundation"
2839
2760
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2761
+ "tagName": "%%prefix%%-ai-indicator",
2841
2762
  "customElement": true
2842
2763
  },
2843
2764
  {
2844
2765
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2766
+ "name": "foundationAiIndicator"
2848
2767
  }
2849
2768
  ],
2850
2769
  "exports": [
2851
2770
  {
2852
2771
  "kind": "js",
2853
- "name": "ActionsMenu",
2772
+ "name": "AiIndicator",
2854
2773
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2774
+ "name": "AiIndicator",
2775
+ "module": "src/ai-indicator/ai-indicator.ts"
2857
2776
  }
2858
2777
  },
2859
2778
  {
2860
2779
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2780
+ "name": "foundationAiIndicator",
2862
2781
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2782
+ "name": "foundationAiIndicator",
2783
+ "module": "src/ai-indicator/ai-indicator.ts"
2865
2784
  }
2866
2785
  }
2867
2786
  ]
2868
2787
  },
2869
2788
  {
2870
2789
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2790
+ "path": "src/ai-indicator/index.ts",
2872
2791
  "declarations": [],
2873
2792
  "exports": [
2874
2793
  {
2875
2794
  "kind": "js",
2876
- "name": "*",
2795
+ "name": "AiIndicator",
2877
2796
  "declaration": {
2878
- "name": "*",
2879
- "package": "./actions-menu.styles"
2797
+ "name": "AiIndicator",
2798
+ "module": "./ai-indicator"
2880
2799
  }
2881
2800
  },
2882
2801
  {
2883
2802
  "kind": "js",
2884
- "name": "*",
2803
+ "name": "foundationAiIndicator",
2885
2804
  "declaration": {
2886
- "name": "*",
2887
- "package": "./actions-menu.template"
2805
+ "name": "foundationAiIndicator",
2806
+ "module": "./ai-indicator"
2888
2807
  }
2889
2808
  },
2890
2809
  {
2891
2810
  "kind": "js",
2892
- "name": "*",
2811
+ "name": "type",
2893
2812
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu"
2813
+ "name": "type",
2814
+ "module": "./ai-indicator"
2815
+ }
2816
+ },
2817
+ {
2818
+ "kind": "js",
2819
+ "name": "AIIndicatorState",
2820
+ "declaration": {
2821
+ "name": "AIIndicatorState",
2822
+ "module": "./ai-indicator"
2823
+ }
2824
+ },
2825
+ {
2826
+ "kind": "js",
2827
+ "name": "foundationAiIndicatorTemplate",
2828
+ "declaration": {
2829
+ "name": "foundationAiIndicatorTemplate",
2830
+ "module": "./ai-indicator.template"
2831
+ }
2832
+ },
2833
+ {
2834
+ "kind": "js",
2835
+ "name": "foundationAiIndicatorStyles",
2836
+ "declaration": {
2837
+ "name": "foundationAiIndicatorStyles",
2838
+ "module": "./ai-indicator.styles"
2896
2839
  }
2897
2840
  }
2898
2841
  ]
2899
2842
  },
2900
2843
  {
2901
2844
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2845
+ "path": "src/actions-menu/actions-menu.styles.ts",
2903
2846
  "declarations": [
2904
2847
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2848
+ "kind": "function",
2849
+ "name": "actionsMenuBaseStyles",
2850
+ "return": {
2851
+ "type": {
2852
+ "text": "ElementStyles"
2853
+ }
2854
+ },
2855
+ "parameters": [
2856
+ {
2857
+ "name": "context",
2858
+ "type": {
2859
+ "text": "ElementDefinitionContext"
2860
+ }
2861
+ },
2862
+ {
2863
+ "name": "definition",
2864
+ "type": {
2865
+ "text": "FoundationElementDefinition"
2866
+ }
2867
+ }
2868
+ ]
2869
+ },
2870
+ {
2871
+ "kind": "function",
2872
+ "name": "foundationActionsMenuStyles",
2873
+ "return": {
2874
+ "type": {
2875
+ "text": "ElementStyles"
2876
+ }
2877
+ },
2878
+ "parameters": [
2879
+ {
2880
+ "name": "context",
2881
+ "type": {
2882
+ "text": "ElementDefinitionContext"
2883
+ }
2884
+ },
2885
+ {
2886
+ "name": "definition",
2887
+ "type": {
2888
+ "text": "FoundationElementDefinition"
2889
+ }
2890
+ }
2891
+ ]
2908
2892
  }
2909
2893
  ],
2910
2894
  "exports": [
2911
2895
  {
2912
2896
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
2897
+ "name": "actionsMenuBaseStyles",
2914
2898
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2899
+ "name": "actionsMenuBaseStyles",
2900
+ "module": "src/actions-menu/actions-menu.styles.ts"
2901
+ }
2902
+ },
2903
+ {
2904
+ "kind": "js",
2905
+ "name": "foundationActionsMenuStyles",
2906
+ "declaration": {
2907
+ "name": "foundationActionsMenuStyles",
2908
+ "module": "src/actions-menu/actions-menu.styles.ts"
2917
2909
  }
2918
2910
  }
2919
2911
  ]
2920
2912
  },
2921
2913
  {
2922
2914
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2915
+ "path": "src/actions-menu/actions-menu.template.ts",
2924
2916
  "declarations": [
2917
+ {
2918
+ "kind": "function",
2919
+ "name": "menuTemplate",
2920
+ "parameters": [
2921
+ {
2922
+ "name": "prefix",
2923
+ "type": {
2924
+ "text": "string"
2925
+ }
2926
+ }
2927
+ ]
2928
+ },
2929
+ {
2930
+ "kind": "function",
2931
+ "name": "singleOptionTemplate",
2932
+ "parameters": [
2933
+ {
2934
+ "name": "prefix",
2935
+ "type": {
2936
+ "text": "string"
2937
+ }
2938
+ }
2939
+ ]
2940
+ },
2925
2941
  {
2926
2942
  "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
2943
+ "name": "foundationActionsMenuTemplate",
2928
2944
  "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
2945
+ "text": "ViewTemplate<ActionsMenu>"
2930
2946
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2947
+ "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`"
2932
2948
  }
2933
2949
  ],
2934
2950
  "exports": [
2935
2951
  {
2936
2952
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
2953
+ "name": "menuTemplate",
2938
2954
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2955
+ "name": "menuTemplate",
2956
+ "module": "src/actions-menu/actions-menu.template.ts"
2957
+ }
2958
+ },
2959
+ {
2960
+ "kind": "js",
2961
+ "name": "singleOptionTemplate",
2962
+ "declaration": {
2963
+ "name": "singleOptionTemplate",
2964
+ "module": "src/actions-menu/actions-menu.template.ts"
2965
+ }
2966
+ },
2967
+ {
2968
+ "kind": "js",
2969
+ "name": "foundationActionsMenuTemplate",
2970
+ "declaration": {
2971
+ "name": "foundationActionsMenuTemplate",
2972
+ "module": "src/actions-menu/actions-menu.template.ts"
2941
2973
  }
2942
2974
  }
2943
2975
  ]
2944
2976
  },
2945
2977
  {
2946
2978
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2979
+ "path": "src/actions-menu/actions-menu.ts",
2948
2980
  "declarations": [
2949
2981
  {
2950
2982
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
2983
+ "description": "",
2984
+ "name": "ActionsMenu",
2953
2985
  "members": [
2954
2986
  {
2955
2987
  "kind": "field",
2956
- "name": "aiProvider",
2988
+ "name": "actions",
2957
2989
  "type": {
2958
- "text": "AIProvider"
2990
+ "text": "ActionMenuItem[]"
2959
2991
  }
2960
2992
  },
2961
2993
  {
2962
2994
  "kind": "field",
2963
- "name": "placeholder",
2964
- "type": {
2965
- "text": "string"
2966
- },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2995
+ "name": "isVertical",
2972
2996
  "type": {
2973
2997
  "text": "boolean"
2974
- }
2975
- },
2976
- {
2977
- "kind": "field",
2978
- "name": "inputValue",
2979
- "type": {
2980
- "text": "string"
2981
2998
  },
2982
- "default": "''"
2999
+ "default": "false"
2983
3000
  },
2984
3001
  {
2985
3002
  "kind": "field",
2986
- "name": "isInterpreting",
3003
+ "name": "addDefaultActions",
2987
3004
  "type": {
2988
3005
  "text": "boolean"
2989
3006
  },
2990
- "default": "false"
3007
+ "default": "true"
2991
3008
  },
2992
3009
  {
2993
3010
  "kind": "field",
2994
- "name": "lastValidCriteria",
3011
+ "name": "autoCloseOnAction",
2995
3012
  "type": {
2996
- "text": "string | null"
3013
+ "text": "boolean"
2997
3014
  },
2998
- "default": "null"
3015
+ "default": "true"
2999
3016
  },
3000
3017
  {
3001
3018
  "kind": "field",
3002
- "name": "activeGroups",
3019
+ "name": "classNames",
3003
3020
  "type": {
3004
- "text": "CriteriaGroup[]"
3005
- },
3006
- "default": "[]"
3021
+ "text": "string"
3022
+ }
3007
3023
  },
3008
3024
  {
3009
3025
  "kind": "field",
3010
- "name": "showingChips",
3026
+ "name": "definition",
3011
3027
  "type": {
3012
- "text": "boolean"
3013
- },
3014
- "default": "false"
3028
+ "text": "any"
3029
+ }
3015
3030
  },
3016
3031
  {
3017
3032
  "kind": "field",
3018
- "name": "fieldMetadata",
3033
+ "name": "name",
3019
3034
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3035
+ "text": "string"
3021
3036
  },
3022
- "default": "[]"
3037
+ "default": "'Actions'"
3023
3038
  },
3024
3039
  {
3025
3040
  "kind": "field",
3026
- "name": "isRecording",
3041
+ "name": "open",
3027
3042
  "type": {
3028
3043
  "text": "boolean"
3029
3044
  },
@@ -3031,125 +3046,117 @@
3031
3046
  },
3032
3047
  {
3033
3048
  "kind": "field",
3034
- "name": "textAreaRef",
3049
+ "name": "buttonAppearance",
3035
3050
  "type": {
3036
- "text": "HTMLTextAreaElement"
3037
- },
3038
- "privacy": "public"
3051
+ "text": "string"
3052
+ }
3039
3053
  },
3040
3054
  {
3041
3055
  "kind": "field",
3042
- "name": "stopRecording",
3056
+ "name": "hideDisabled",
3043
3057
  "type": {
3044
- "text": "(() => void) | null"
3058
+ "text": "boolean"
3045
3059
  },
3046
- "privacy": "private",
3047
- "default": "null"
3060
+ "default": "false"
3048
3061
  },
3049
3062
  {
3050
3063
  "kind": "field",
3051
- "name": "speechApplyDebounceTimer",
3064
+ "name": "hideMenuSingleOption",
3052
3065
  "type": {
3053
- "text": "ReturnType<typeof setTimeout> | null"
3066
+ "text": "boolean"
3054
3067
  },
3055
- "privacy": "private",
3056
- "default": "null"
3068
+ "default": "false"
3057
3069
  },
3058
3070
  {
3059
3071
  "kind": "field",
3060
- "name": "speechAvailable",
3072
+ "name": "singleOption",
3061
3073
  "type": {
3062
- "text": "boolean"
3063
- },
3064
- "readonly": true
3074
+ "text": "ActionMenuItem"
3075
+ }
3065
3076
  },
3066
3077
  {
3067
3078
  "kind": "field",
3068
- "name": "criteriaChips",
3079
+ "name": "actionsMenu",
3069
3080
  "type": {
3070
- "text": "CriteriaChip[]"
3071
- },
3072
- "readonly": true
3073
- },
3074
- {
3075
- "kind": "method",
3076
- "name": "getFieldLabel",
3077
- "privacy": "private",
3078
- "return": {
3079
- "type": {
3080
- "text": "string"
3081
- }
3082
- },
3083
- "parameters": [
3084
- {
3085
- "name": "fieldName",
3086
- "type": {
3087
- "text": "string"
3088
- }
3089
- }
3090
- ]
3091
- },
3092
- {
3093
- "kind": "method",
3094
- "name": "toggleCriteriaView",
3095
- "return": {
3096
- "type": {
3097
- "text": "void"
3098
- }
3081
+ "text": "HTMLElement"
3099
3082
  }
3100
3083
  },
3101
3084
  {
3102
3085
  "kind": "method",
3103
- "name": "removeChip",
3104
- "return": {
3105
- "type": {
3106
- "text": "void"
3107
- }
3108
- },
3086
+ "name": "definitionChanged",
3087
+ "privacy": "protected",
3109
3088
  "parameters": [
3110
3089
  {
3111
- "name": "groupIndex",
3090
+ "name": "oldValue",
3112
3091
  "type": {
3113
- "text": "number"
3092
+ "text": "any"
3114
3093
  }
3115
3094
  },
3116
3095
  {
3117
- "name": "clauseIndex",
3096
+ "name": "newValue",
3118
3097
  "type": {
3119
- "text": "number"
3098
+ "text": "any"
3120
3099
  }
3121
3100
  }
3122
3101
  ]
3123
3102
  },
3124
3103
  {
3125
3104
  "kind": "method",
3126
- "name": "clearChips",
3127
- "return": {
3128
- "type": {
3129
- "text": "void"
3130
- }
3131
- }
3105
+ "name": "openChanged",
3106
+ "privacy": "protected"
3132
3107
  },
3133
3108
  {
3134
3109
  "kind": "method",
3135
- "name": "handleSubmit"
3110
+ "name": "toggleActionsMenuVisibility"
3136
3111
  },
3137
3112
  {
3138
3113
  "kind": "method",
3139
- "name": "handleBlur"
3114
+ "name": "onActionMenuItemClick",
3115
+ "parameters": [
3116
+ {
3117
+ "name": "callback",
3118
+ "type": {
3119
+ "text": "(rowData) => void | any"
3120
+ }
3121
+ }
3122
+ ]
3140
3123
  },
3141
3124
  {
3142
- "kind": "method",
3143
- "name": "clear"
3125
+ "kind": "field",
3126
+ "name": "allActions",
3127
+ "type": {
3128
+ "text": "ActionMenuItem[]"
3129
+ },
3130
+ "readonly": true
3131
+ },
3132
+ {
3133
+ "kind": "field",
3134
+ "name": "rowData",
3135
+ "readonly": true
3144
3136
  },
3145
3137
  {
3146
3138
  "kind": "method",
3147
- "name": "toggleSpeechInput"
3139
+ "name": "getLabel",
3140
+ "parameters": [
3141
+ {
3142
+ "name": "name",
3143
+ "type": {
3144
+ "text": "string | ((rowData: any) => string)"
3145
+ }
3146
+ }
3147
+ ]
3148
3148
  },
3149
3149
  {
3150
3150
  "kind": "method",
3151
- "name": "clearSpeechApplyDebounce",
3152
- "privacy": "private"
3151
+ "name": "getTemplate",
3152
+ "parameters": [
3153
+ {
3154
+ "name": "prefix",
3155
+ "type": {
3156
+ "text": "string"
3157
+ }
3158
+ }
3159
+ ]
3153
3160
  },
3154
3161
  {
3155
3162
  "kind": "field",
@@ -3263,154 +3270,115 @@
3263
3270
  }
3264
3271
  }
3265
3272
  ],
3266
- "events": [
3273
+ "attributes": [
3267
3274
  {
3268
- "description": "Fired when interpreted criteria is applied or cleared",
3269
- "name": "criteria-changed"
3275
+ "name": "is-vertical",
3276
+ "type": {
3277
+ "text": "boolean"
3278
+ },
3279
+ "default": "false",
3280
+ "fieldName": "isVertical"
3270
3281
  },
3271
3282
  {
3272
- "description": "Fired when interpreted criteria contains invalid clauses",
3273
- "name": "validation-errors"
3274
- }
3275
- ],
3276
- "attributes": [
3283
+ "name": "add-default-actions",
3284
+ "type": {
3285
+ "text": "boolean"
3286
+ },
3287
+ "default": "true",
3288
+ "fieldName": "addDefaultActions"
3289
+ },
3277
3290
  {
3278
- "name": "placeholder",
3291
+ "name": "auto-close-on-action",
3292
+ "type": {
3293
+ "text": "boolean"
3294
+ },
3295
+ "default": "true",
3296
+ "fieldName": "autoCloseOnAction"
3297
+ },
3298
+ {
3299
+ "name": "name",
3279
3300
  "type": {
3280
3301
  "text": "string"
3281
3302
  },
3282
- "default": "'Describe your search criteria in natural language...'",
3283
- "fieldName": "placeholder"
3303
+ "default": "'Actions'",
3304
+ "fieldName": "name"
3284
3305
  },
3285
3306
  {
3307
+ "name": "open",
3286
3308
  "type": {
3287
3309
  "text": "boolean"
3288
3310
  },
3289
- "fieldName": "disabled"
3311
+ "default": "false",
3312
+ "fieldName": "open"
3313
+ },
3314
+ {
3315
+ "name": "buttonAppearance",
3316
+ "type": {
3317
+ "text": "string"
3318
+ },
3319
+ "fieldName": "buttonAppearance"
3320
+ },
3321
+ {
3322
+ "name": "hide-disabled",
3323
+ "type": {
3324
+ "text": "boolean"
3325
+ },
3326
+ "default": "false",
3327
+ "fieldName": "hideDisabled"
3328
+ },
3329
+ {
3330
+ "name": "hide-menu-single-option",
3331
+ "type": {
3332
+ "text": "boolean"
3333
+ },
3334
+ "default": "false",
3335
+ "fieldName": "hideMenuSingleOption"
3290
3336
  }
3291
3337
  ],
3292
3338
  "superclass": {
3293
3339
  "name": "FoundationElement",
3294
3340
  "package": "@microsoft/fast-foundation"
3295
3341
  },
3296
- "tagName": "%%prefix%%-ai-criteria-search",
3342
+ "tagName": "%%prefix%%-actions-menu",
3297
3343
  "customElement": true
3298
3344
  },
3299
3345
  {
3300
3346
  "kind": "variable",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "type": {
3303
- "text": "ShadowRootInit"
3304
- },
3305
- "default": "undefined"
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "defaultAiCriteriaSearchConfig",
3310
- "type": {
3311
- "text": "object"
3312
- },
3313
- "default": "{}"
3314
- },
3315
- {
3316
- "kind": "variable",
3317
- "name": "foundationAiCriteriaSearch"
3347
+ "name": "foundationActionsMenu",
3348
+ "description": "The Foundation Actions Menu",
3349
+ "privacy": "public"
3318
3350
  }
3319
3351
  ],
3320
3352
  "exports": [
3321
3353
  {
3322
3354
  "kind": "js",
3323
- "name": "AiCriteriaSearch",
3324
- "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
- }
3328
- },
3329
- {
3330
- "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3332
- "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3355
+ "name": "ActionsMenu",
3340
3356
  "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3357
+ "name": "ActionsMenu",
3358
+ "module": "src/actions-menu/actions-menu.ts"
3343
3359
  }
3344
3360
  },
3345
3361
  {
3346
3362
  "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3363
+ "name": "foundationActionsMenu",
3348
3364
  "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3365
+ "name": "foundationActionsMenu",
3366
+ "module": "src/actions-menu/actions-menu.ts"
3351
3367
  }
3352
3368
  }
3353
3369
  ]
3354
3370
  },
3355
3371
  {
3356
3372
  "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3373
+ "path": "src/actions-menu/index.ts",
3358
3374
  "declarations": [],
3359
3375
  "exports": [
3360
- {
3361
- "kind": "js",
3362
- "name": "AiCriteriaSearch",
3363
- "declaration": {
3364
- "name": "AiCriteriaSearch",
3365
- "module": "./ai-criteria-search"
3366
- }
3367
- },
3368
- {
3369
- "kind": "js",
3370
- "name": "defaultAiCriteriaSearchConfig",
3371
- "declaration": {
3372
- "name": "defaultAiCriteriaSearchConfig",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAiCriteriaSearch",
3379
- "declaration": {
3380
- "name": "foundationAiCriteriaSearch",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearchShadowOptions",
3387
- "declaration": {
3388
- "name": "foundationAiCriteriaSearchShadowOptions",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "foundationAiCriteriaSearchStyles",
3395
- "declaration": {
3396
- "name": "foundationAiCriteriaSearchStyles",
3397
- "module": "./ai-criteria-search.styles"
3398
- }
3399
- },
3400
- {
3401
- "kind": "js",
3402
- "name": "foundationAiCriteriaSearchTemplate",
3403
- "declaration": {
3404
- "name": "foundationAiCriteriaSearchTemplate",
3405
- "module": "./ai-criteria-search.template"
3406
- }
3407
- },
3408
3376
  {
3409
3377
  "kind": "js",
3410
3378
  "name": "*",
3411
3379
  "declaration": {
3412
3380
  "name": "*",
3413
- "package": "./validation/criteria-ir"
3381
+ "package": "./actions-menu.styles"
3414
3382
  }
3415
3383
  },
3416
3384
  {
@@ -3418,7 +3386,7 @@
3418
3386
  "name": "*",
3419
3387
  "declaration": {
3420
3388
  "name": "*",
3421
- "package": "./validation/operator-map"
3389
+ "package": "./actions-menu.template"
3422
3390
  }
3423
3391
  },
3424
3392
  {
@@ -3426,96 +3394,60 @@
3426
3394
  "name": "*",
3427
3395
  "declaration": {
3428
3396
  "name": "*",
3429
- "package": "./validation/schema-validator"
3397
+ "package": "./actions-menu"
3430
3398
  }
3431
3399
  }
3432
3400
  ]
3433
3401
  },
3434
3402
  {
3435
3403
  "kind": "javascript-module",
3436
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3404
+ "path": "src/accordion/accordion.styles.ts",
3437
3405
  "declarations": [
3438
3406
  {
3439
3407
  "kind": "function",
3440
- "name": "formatValidationErrors",
3408
+ "name": "foundationAccordionStyles",
3441
3409
  "return": {
3442
3410
  "type": {
3443
- "text": "string"
3411
+ "text": "ElementStyles"
3444
3412
  }
3445
3413
  },
3446
3414
  "parameters": [
3447
3415
  {
3448
- "name": "errors",
3416
+ "name": "context",
3449
3417
  "type": {
3450
- "text": "ValidationError[]"
3418
+ "text": "ElementDefinitionContext"
3451
3419
  }
3452
- }
3453
- ],
3454
- "description": "Formats validation errors into a user-friendly message."
3455
- },
3456
- {
3457
- "kind": "function",
3458
- "name": "showCriteriaError",
3459
- "return": {
3460
- "type": {
3461
- "text": "void"
3462
- }
3463
- },
3464
- "parameters": [
3465
- {
3466
- "name": "title",
3467
- "type": {
3468
- "text": "string"
3469
- },
3470
- "description": "Notification title (e.g. \"Criteria validation error\")"
3471
- },
3472
- {
3473
- "name": "body",
3474
- "type": {
3475
- "text": "string"
3476
- },
3477
- "description": "Error message to display"
3478
3420
  },
3479
3421
  {
3480
- "name": "tagName",
3422
+ "name": "definition",
3481
3423
  "type": {
3482
- "text": "string"
3483
- },
3484
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3424
+ "text": "FoundationElementDefinition"
3425
+ }
3485
3426
  }
3486
- ],
3487
- "description": "Shows a criteria error as a toast notification."
3427
+ ]
3488
3428
  }
3489
3429
  ],
3490
3430
  "exports": [
3491
3431
  {
3492
3432
  "kind": "js",
3493
- "name": "formatValidationErrors",
3494
- "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "showCriteriaError",
3433
+ "name": "foundationAccordionStyles",
3502
3434
  "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3435
+ "name": "foundationAccordionStyles",
3436
+ "module": "src/accordion/accordion.styles.ts"
3505
3437
  }
3506
3438
  }
3507
3439
  ]
3508
3440
  },
3509
3441
  {
3510
3442
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3443
+ "path": "src/accordion/accordion.template.ts",
3512
3444
  "declarations": [
3513
3445
  {
3514
3446
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3447
+ "name": "foundationAccordionTemplate",
3516
3448
  "return": {
3517
3449
  "type": {
3518
- "text": "ElementStyles"
3450
+ "text": "ViewTemplate<Accordion>"
3519
3451
  }
3520
3452
  },
3521
3453
  "parameters": [
@@ -3537,214 +3469,237 @@
3537
3469
  "exports": [
3538
3470
  {
3539
3471
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3541
- "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3544
- }
3545
- }
3546
- ]
3547
- },
3548
- {
3549
- "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3551
- "declarations": [
3552
- {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3557
- },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
- }
3560
- ],
3561
- "exports": [
3562
- {
3563
- "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3472
+ "name": "foundationAccordionTemplate",
3565
3473
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3474
+ "name": "foundationAccordionTemplate",
3475
+ "module": "src/accordion/accordion.template.ts"
3568
3476
  }
3569
3477
  }
3570
3478
  ]
3571
3479
  },
3572
3480
  {
3573
3481
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3482
+ "path": "src/accordion/accordion.ts",
3575
3483
  "declarations": [
3576
3484
  {
3577
3485
  "kind": "class",
3578
3486
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "aiProvider",
3584
- "type": {
3585
- "text": "AIProvider"
3586
- }
3587
- },
3487
+ "name": "Accordion",
3488
+ "superclass": {
3489
+ "name": "FASTAccordion",
3490
+ "package": "@microsoft/fast-foundation"
3491
+ },
3492
+ "tagName": "%%prefix%%-accordion",
3493
+ "customElement": true,
3494
+ "attributes": [
3588
3495
  {
3589
- "kind": "field",
3590
- "name": "status",
3496
+ "name": "expand-mode",
3591
3497
  "type": {
3592
- "text": "AIStatus | null"
3498
+ "text": "AccordionExpandMode"
3593
3499
  },
3594
- "default": "null"
3595
- },
3500
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3501
+ "fieldName": "expandmode",
3502
+ "inheritedFrom": {
3503
+ "name": "Accordion",
3504
+ "module": "src/accordion/accordion.ts"
3505
+ }
3506
+ }
3507
+ ],
3508
+ "members": [
3596
3509
  {
3597
3510
  "kind": "field",
3598
- "name": "open",
3511
+ "name": "expandmode",
3599
3512
  "type": {
3600
- "text": "boolean"
3513
+ "text": "AccordionExpandMode"
3601
3514
  },
3602
- "default": "false"
3515
+ "privacy": "public",
3516
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3517
+ "inheritedFrom": {
3518
+ "name": "Accordion",
3519
+ "module": "src/accordion/accordion.ts"
3520
+ }
3603
3521
  },
3604
3522
  {
3605
3523
  "kind": "field",
3606
- "name": "state",
3524
+ "name": "activeid",
3607
3525
  "type": {
3608
- "text": "AIIndicatorState"
3526
+ "text": "string | null"
3609
3527
  },
3610
- "default": "'none'"
3528
+ "privacy": "private",
3529
+ "inheritedFrom": {
3530
+ "name": "Accordion",
3531
+ "module": "src/accordion/accordion.ts"
3532
+ }
3611
3533
  },
3612
3534
  {
3613
3535
  "kind": "field",
3614
- "name": "isInstalling",
3536
+ "name": "activeItemIndex",
3615
3537
  "type": {
3616
- "text": "boolean"
3538
+ "text": "number"
3617
3539
  },
3618
- "default": "false"
3540
+ "privacy": "private",
3541
+ "default": "0",
3542
+ "inheritedFrom": {
3543
+ "name": "Accordion",
3544
+ "module": "src/accordion/accordion.ts"
3545
+ }
3619
3546
  },
3620
3547
  {
3621
3548
  "kind": "field",
3622
- "name": "pollTimer",
3549
+ "name": "accordionIds",
3623
3550
  "type": {
3624
- "text": "ReturnType<typeof setInterval> | null"
3551
+ "text": "Array<string | null>"
3625
3552
  },
3626
3553
  "privacy": "private",
3627
- "default": "null"
3628
- },
3629
- {
3630
- "kind": "field",
3631
- "name": "clickOutside",
3632
- "privacy": "private"
3554
+ "inheritedFrom": {
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3557
+ }
3633
3558
  },
3634
3559
  {
3635
3560
  "kind": "field",
3636
- "name": "chromeStatusLabel",
3637
- "type": {
3638
- "text": "string | null"
3639
- },
3640
- "readonly": true
3561
+ "name": "change",
3562
+ "privacy": "private",
3563
+ "inheritedFrom": {
3564
+ "name": "Accordion",
3565
+ "module": "src/accordion/accordion.ts"
3566
+ }
3641
3567
  },
3642
3568
  {
3643
- "kind": "field",
3644
- "name": "canInstall",
3645
- "type": {
3646
- "text": "boolean"
3569
+ "kind": "method",
3570
+ "name": "findExpandedItem",
3571
+ "privacy": "private",
3572
+ "return": {
3573
+ "type": {
3574
+ "text": "AccordionItem | null"
3575
+ }
3647
3576
  },
3648
- "readonly": true
3577
+ "inheritedFrom": {
3578
+ "name": "Accordion",
3579
+ "module": "src/accordion/accordion.ts"
3580
+ }
3649
3581
  },
3650
3582
  {
3651
3583
  "kind": "field",
3652
- "name": "isDownloading",
3653
- "type": {
3654
- "text": "boolean"
3655
- },
3656
- "readonly": true
3584
+ "name": "setItems",
3585
+ "privacy": "private",
3586
+ "inheritedFrom": {
3587
+ "name": "Accordion",
3588
+ "module": "src/accordion/accordion.ts"
3589
+ }
3657
3590
  },
3658
3591
  {
3659
3592
  "kind": "method",
3660
- "name": "openChanged",
3593
+ "name": "resetItems",
3594
+ "privacy": "private",
3661
3595
  "return": {
3662
3596
  "type": {
3663
3597
  "text": "void"
3664
3598
  }
3599
+ },
3600
+ "inheritedFrom": {
3601
+ "name": "Accordion",
3602
+ "module": "src/accordion/accordion.ts"
3665
3603
  }
3666
3604
  },
3667
3605
  {
3668
- "kind": "method",
3669
- "name": "handleClickOutside",
3606
+ "kind": "field",
3607
+ "name": "removeItemListeners",
3670
3608
  "privacy": "private",
3671
- "parameters": [
3672
- {
3673
- "name": "event",
3674
- "type": {
3675
- "text": "MouseEvent"
3676
- }
3677
- }
3678
- ]
3609
+ "inheritedFrom": {
3610
+ "name": "Accordion",
3611
+ "module": "src/accordion/accordion.ts"
3612
+ }
3679
3613
  },
3680
3614
  {
3681
- "kind": "method",
3682
- "name": "toggleDropdown"
3615
+ "kind": "field",
3616
+ "name": "activeItemChange",
3617
+ "privacy": "private",
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3683
3622
  },
3684
3623
  {
3685
3624
  "kind": "method",
3686
- "name": "refreshStatus",
3625
+ "name": "getItemIds",
3626
+ "privacy": "private",
3687
3627
  "return": {
3688
3628
  "type": {
3689
- "text": "Promise<void>"
3629
+ "text": "Array<string | null>"
3690
3630
  }
3631
+ },
3632
+ "inheritedFrom": {
3633
+ "name": "Accordion",
3634
+ "module": "src/accordion/accordion.ts"
3691
3635
  }
3692
3636
  },
3693
3637
  {
3694
3638
  "kind": "method",
3695
- "name": "deriveState",
3639
+ "name": "isSingleExpandMode",
3696
3640
  "privacy": "private",
3697
3641
  "return": {
3698
3642
  "type": {
3699
- "text": "AIIndicatorState"
3643
+ "text": "boolean"
3700
3644
  }
3701
3645
  },
3702
- "parameters": [
3703
- {
3704
- "name": "s",
3705
- "type": {
3706
- "text": "AIStatus | null"
3707
- }
3708
- }
3709
- ]
3646
+ "inheritedFrom": {
3647
+ "name": "Accordion",
3648
+ "module": "src/accordion/accordion.ts"
3649
+ }
3710
3650
  },
3711
3651
  {
3712
- "kind": "method",
3713
- "name": "maybeStartPolling",
3652
+ "kind": "field",
3653
+ "name": "handleItemKeyDown",
3714
3654
  "privacy": "private",
3715
- "return": {
3716
- "type": {
3717
- "text": "void"
3718
- }
3655
+ "inheritedFrom": {
3656
+ "name": "Accordion",
3657
+ "module": "src/accordion/accordion.ts"
3719
3658
  }
3720
3659
  },
3721
3660
  {
3722
- "kind": "method",
3723
- "name": "startPolling",
3661
+ "kind": "field",
3662
+ "name": "handleItemFocus",
3724
3663
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3664
+ "inheritedFrom": {
3665
+ "name": "Accordion",
3666
+ "module": "src/accordion/accordion.ts"
3729
3667
  }
3730
3668
  },
3731
3669
  {
3732
3670
  "kind": "method",
3733
- "name": "stopPolling",
3671
+ "name": "adjust",
3734
3672
  "privacy": "private",
3735
3673
  "return": {
3736
3674
  "type": {
3737
3675
  "text": "void"
3738
3676
  }
3677
+ },
3678
+ "parameters": [
3679
+ {
3680
+ "name": "adjustment",
3681
+ "type": {
3682
+ "text": "number"
3683
+ }
3684
+ }
3685
+ ],
3686
+ "inheritedFrom": {
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3739
3689
  }
3740
3690
  },
3741
3691
  {
3742
3692
  "kind": "method",
3743
- "name": "onInstall",
3693
+ "name": "focusItem",
3694
+ "privacy": "private",
3744
3695
  "return": {
3745
3696
  "type": {
3746
- "text": "Promise<void>"
3697
+ "text": "void"
3747
3698
  }
3699
+ },
3700
+ "inheritedFrom": {
3701
+ "name": "Accordion",
3702
+ "module": "src/accordion/accordion.ts"
3748
3703
  }
3749
3704
  },
3750
3705
  {
@@ -3859,88 +3814,133 @@
3859
3814
  }
3860
3815
  }
3861
3816
  ],
3862
- "superclass": {
3863
- "name": "FoundationElement",
3864
- "package": "@microsoft/fast-foundation"
3817
+ "events": [
3818
+ {
3819
+ "description": "Fires a custom 'change' event when the active item changes",
3820
+ "name": "change",
3821
+ "inheritedFrom": {
3822
+ "name": "Accordion",
3823
+ "module": "src/accordion/accordion.ts"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "variable",
3830
+ "name": "foundationAccordionShadowOptions",
3831
+ "type": {
3832
+ "text": "ShadowRootInit"
3865
3833
  },
3866
- "tagName": "%%prefix%%-ai-indicator",
3867
- "customElement": true
3834
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3868
3835
  },
3869
3836
  {
3870
3837
  "kind": "variable",
3871
- "name": "foundationAiIndicator"
3838
+ "name": "defaultAccordionConfig",
3839
+ "type": {
3840
+ "text": "object"
3841
+ },
3842
+ "default": "{}"
3843
+ },
3844
+ {
3845
+ "kind": "variable",
3846
+ "name": "foundationAccordion",
3847
+ "description": "The Foundation Accordion",
3848
+ "privacy": "public"
3872
3849
  }
3873
3850
  ],
3874
3851
  "exports": [
3875
3852
  {
3876
3853
  "kind": "js",
3877
- "name": "AiIndicator",
3854
+ "name": "Accordion",
3878
3855
  "declaration": {
3879
- "name": "AiIndicator",
3880
- "module": "src/ai-indicator/ai-indicator.ts"
3856
+ "name": "Accordion",
3857
+ "module": "src/accordion/accordion.ts"
3881
3858
  }
3882
3859
  },
3883
3860
  {
3884
3861
  "kind": "js",
3885
- "name": "foundationAiIndicator",
3862
+ "name": "foundationAccordionShadowOptions",
3886
3863
  "declaration": {
3887
- "name": "foundationAiIndicator",
3888
- "module": "src/ai-indicator/ai-indicator.ts"
3864
+ "name": "foundationAccordionShadowOptions",
3865
+ "module": "src/accordion/accordion.ts"
3866
+ }
3867
+ },
3868
+ {
3869
+ "kind": "js",
3870
+ "name": "defaultAccordionConfig",
3871
+ "declaration": {
3872
+ "name": "defaultAccordionConfig",
3873
+ "module": "src/accordion/accordion.ts"
3874
+ }
3875
+ },
3876
+ {
3877
+ "kind": "js",
3878
+ "name": "foundationAccordion",
3879
+ "declaration": {
3880
+ "name": "foundationAccordion",
3881
+ "module": "src/accordion/accordion.ts"
3889
3882
  }
3890
3883
  }
3891
3884
  ]
3892
3885
  },
3893
3886
  {
3894
3887
  "kind": "javascript-module",
3895
- "path": "src/ai-indicator/index.ts",
3888
+ "path": "src/accordion/index.ts",
3896
3889
  "declarations": [],
3897
3890
  "exports": [
3898
3891
  {
3899
3892
  "kind": "js",
3900
- "name": "AiIndicator",
3893
+ "name": "*",
3901
3894
  "declaration": {
3902
- "name": "AiIndicator",
3903
- "module": "./ai-indicator"
3895
+ "name": "*",
3896
+ "package": "./accordion.template"
3904
3897
  }
3905
3898
  },
3906
3899
  {
3907
3900
  "kind": "js",
3908
- "name": "foundationAiIndicator",
3901
+ "name": "*",
3909
3902
  "declaration": {
3910
- "name": "foundationAiIndicator",
3911
- "module": "./ai-indicator"
3903
+ "name": "*",
3904
+ "package": "./accordion.styles"
3912
3905
  }
3913
3906
  },
3914
3907
  {
3915
3908
  "kind": "js",
3916
- "name": "type",
3909
+ "name": "*",
3917
3910
  "declaration": {
3918
- "name": "type",
3919
- "module": "./ai-indicator"
3911
+ "name": "*",
3912
+ "package": "./accordion"
3920
3913
  }
3921
- },
3914
+ }
3915
+ ]
3916
+ },
3917
+ {
3918
+ "kind": "javascript-module",
3919
+ "path": "src/_config/index.ts",
3920
+ "declarations": [],
3921
+ "exports": [
3922
3922
  {
3923
3923
  "kind": "js",
3924
- "name": "AIIndicatorState",
3924
+ "name": "*",
3925
3925
  "declaration": {
3926
- "name": "AIIndicatorState",
3927
- "module": "./ai-indicator"
3926
+ "name": "*",
3927
+ "package": "./styles"
3928
3928
  }
3929
3929
  },
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "foundationAiIndicatorTemplate",
3932
+ "name": "*",
3933
3933
  "declaration": {
3934
- "name": "foundationAiIndicatorTemplate",
3935
- "module": "./ai-indicator.template"
3934
+ "name": "*",
3935
+ "package": "./tokens"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "foundationAiIndicatorStyles",
3940
+ "name": "*",
3941
3941
  "declaration": {
3942
- "name": "foundationAiIndicatorStyles",
3943
- "module": "./ai-indicator.styles"
3942
+ "name": "*",
3943
+ "package": "./values"
3944
3944
  }
3945
3945
  }
3946
3946
  ]
@@ -56527,6 +56527,197 @@
56527
56527
  }
56528
56528
  ]
56529
56529
  },
56530
+ {
56531
+ "kind": "javascript-module",
56532
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
56533
+ "declarations": [],
56534
+ "exports": []
56535
+ },
56536
+ {
56537
+ "kind": "javascript-module",
56538
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
56539
+ "declarations": [
56540
+ {
56541
+ "kind": "function",
56542
+ "name": "groupsToCriteria",
56543
+ "return": {
56544
+ "type": {
56545
+ "text": "string"
56546
+ }
56547
+ },
56548
+ "parameters": [
56549
+ {
56550
+ "name": "groups",
56551
+ "type": {
56552
+ "text": "CriteriaGroup[]"
56553
+ }
56554
+ }
56555
+ ],
56556
+ "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."
56557
+ },
56558
+ {
56559
+ "kind": "variable",
56560
+ "name": "STRING_OPERATORS",
56561
+ "type": {
56562
+ "text": "CriteriaOperator[]"
56563
+ },
56564
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
56565
+ },
56566
+ {
56567
+ "kind": "variable",
56568
+ "name": "NUMERIC_OPERATORS",
56569
+ "type": {
56570
+ "text": "CriteriaOperator[]"
56571
+ },
56572
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
56573
+ },
56574
+ {
56575
+ "kind": "variable",
56576
+ "name": "DATE_OPERATORS",
56577
+ "type": {
56578
+ "text": "CriteriaOperator[]"
56579
+ },
56580
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
56581
+ },
56582
+ {
56583
+ "kind": "variable",
56584
+ "name": "DATETIME_OPERATORS",
56585
+ "type": {
56586
+ "text": "CriteriaOperator[]"
56587
+ },
56588
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
56589
+ },
56590
+ {
56591
+ "kind": "variable",
56592
+ "name": "OPERATOR_DISPLAY_LABEL",
56593
+ "type": {
56594
+ "text": "Record<CriteriaOperator, string>"
56595
+ },
56596
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
56597
+ }
56598
+ ],
56599
+ "exports": [
56600
+ {
56601
+ "kind": "js",
56602
+ "name": "groupsToCriteria",
56603
+ "declaration": {
56604
+ "name": "groupsToCriteria",
56605
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56606
+ }
56607
+ },
56608
+ {
56609
+ "kind": "js",
56610
+ "name": "STRING_OPERATORS",
56611
+ "declaration": {
56612
+ "name": "STRING_OPERATORS",
56613
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56614
+ }
56615
+ },
56616
+ {
56617
+ "kind": "js",
56618
+ "name": "NUMERIC_OPERATORS",
56619
+ "declaration": {
56620
+ "name": "NUMERIC_OPERATORS",
56621
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56622
+ }
56623
+ },
56624
+ {
56625
+ "kind": "js",
56626
+ "name": "DATE_OPERATORS",
56627
+ "declaration": {
56628
+ "name": "DATE_OPERATORS",
56629
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56630
+ }
56631
+ },
56632
+ {
56633
+ "kind": "js",
56634
+ "name": "DATETIME_OPERATORS",
56635
+ "declaration": {
56636
+ "name": "DATETIME_OPERATORS",
56637
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56638
+ }
56639
+ },
56640
+ {
56641
+ "kind": "js",
56642
+ "name": "OPERATOR_DISPLAY_LABEL",
56643
+ "declaration": {
56644
+ "name": "OPERATOR_DISPLAY_LABEL",
56645
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56646
+ }
56647
+ }
56648
+ ]
56649
+ },
56650
+ {
56651
+ "kind": "javascript-module",
56652
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
56653
+ "declarations": [
56654
+ {
56655
+ "kind": "function",
56656
+ "name": "validateClauses",
56657
+ "return": {
56658
+ "type": {
56659
+ "text": "ValidationResult"
56660
+ }
56661
+ },
56662
+ "parameters": [
56663
+ {
56664
+ "name": "clauses",
56665
+ "type": {
56666
+ "text": "CriteriaClause[]"
56667
+ }
56668
+ },
56669
+ {
56670
+ "name": "fieldMetadata",
56671
+ "type": {
56672
+ "text": "MetadataDetail[] | string[]"
56673
+ }
56674
+ }
56675
+ ]
56676
+ },
56677
+ {
56678
+ "kind": "function",
56679
+ "name": "validateGroups",
56680
+ "return": {
56681
+ "type": {
56682
+ "text": "GroupsValidationResult"
56683
+ }
56684
+ },
56685
+ "parameters": [
56686
+ {
56687
+ "name": "groups",
56688
+ "type": {
56689
+ "text": "CriteriaGroup[]"
56690
+ }
56691
+ },
56692
+ {
56693
+ "name": "fieldMetadata",
56694
+ "type": {
56695
+ "text": "MetadataDetail[] | string[]"
56696
+ }
56697
+ }
56698
+ ],
56699
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56700
+ }
56701
+ ],
56702
+ "exports": [
56703
+ {
56704
+ "kind": "js",
56705
+ "name": "validateClauses",
56706
+ "declaration": {
56707
+ "name": "validateClauses",
56708
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
56709
+ }
56710
+ },
56711
+ {
56712
+ "kind": "js",
56713
+ "name": "validateGroups",
56714
+ "declaration": {
56715
+ "name": "validateGroups",
56716
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
56717
+ }
56718
+ }
56719
+ ]
56720
+ },
56530
56721
  {
56531
56722
  "kind": "javascript-module",
56532
56723
  "path": "src/_config/styles/colors.ts",
@@ -57899,197 +58090,6 @@
57899
58090
  "declarations": [],
57900
58091
  "exports": []
57901
58092
  },
57902
- {
57903
- "kind": "javascript-module",
57904
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57905
- "declarations": [],
57906
- "exports": []
57907
- },
57908
- {
57909
- "kind": "javascript-module",
57910
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57911
- "declarations": [
57912
- {
57913
- "kind": "function",
57914
- "name": "groupsToCriteria",
57915
- "return": {
57916
- "type": {
57917
- "text": "string"
57918
- }
57919
- },
57920
- "parameters": [
57921
- {
57922
- "name": "groups",
57923
- "type": {
57924
- "text": "CriteriaGroup[]"
57925
- }
57926
- }
57927
- ],
57928
- "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."
57929
- },
57930
- {
57931
- "kind": "variable",
57932
- "name": "STRING_OPERATORS",
57933
- "type": {
57934
- "text": "CriteriaOperator[]"
57935
- },
57936
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57937
- },
57938
- {
57939
- "kind": "variable",
57940
- "name": "NUMERIC_OPERATORS",
57941
- "type": {
57942
- "text": "CriteriaOperator[]"
57943
- },
57944
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57945
- },
57946
- {
57947
- "kind": "variable",
57948
- "name": "DATE_OPERATORS",
57949
- "type": {
57950
- "text": "CriteriaOperator[]"
57951
- },
57952
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57953
- },
57954
- {
57955
- "kind": "variable",
57956
- "name": "DATETIME_OPERATORS",
57957
- "type": {
57958
- "text": "CriteriaOperator[]"
57959
- },
57960
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57961
- },
57962
- {
57963
- "kind": "variable",
57964
- "name": "OPERATOR_DISPLAY_LABEL",
57965
- "type": {
57966
- "text": "Record<CriteriaOperator, string>"
57967
- },
57968
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57969
- }
57970
- ],
57971
- "exports": [
57972
- {
57973
- "kind": "js",
57974
- "name": "groupsToCriteria",
57975
- "declaration": {
57976
- "name": "groupsToCriteria",
57977
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57978
- }
57979
- },
57980
- {
57981
- "kind": "js",
57982
- "name": "STRING_OPERATORS",
57983
- "declaration": {
57984
- "name": "STRING_OPERATORS",
57985
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57986
- }
57987
- },
57988
- {
57989
- "kind": "js",
57990
- "name": "NUMERIC_OPERATORS",
57991
- "declaration": {
57992
- "name": "NUMERIC_OPERATORS",
57993
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57994
- }
57995
- },
57996
- {
57997
- "kind": "js",
57998
- "name": "DATE_OPERATORS",
57999
- "declaration": {
58000
- "name": "DATE_OPERATORS",
58001
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58002
- }
58003
- },
58004
- {
58005
- "kind": "js",
58006
- "name": "DATETIME_OPERATORS",
58007
- "declaration": {
58008
- "name": "DATETIME_OPERATORS",
58009
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58010
- }
58011
- },
58012
- {
58013
- "kind": "js",
58014
- "name": "OPERATOR_DISPLAY_LABEL",
58015
- "declaration": {
58016
- "name": "OPERATOR_DISPLAY_LABEL",
58017
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58018
- }
58019
- }
58020
- ]
58021
- },
58022
- {
58023
- "kind": "javascript-module",
58024
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58025
- "declarations": [
58026
- {
58027
- "kind": "function",
58028
- "name": "validateClauses",
58029
- "return": {
58030
- "type": {
58031
- "text": "ValidationResult"
58032
- }
58033
- },
58034
- "parameters": [
58035
- {
58036
- "name": "clauses",
58037
- "type": {
58038
- "text": "CriteriaClause[]"
58039
- }
58040
- },
58041
- {
58042
- "name": "fieldMetadata",
58043
- "type": {
58044
- "text": "MetadataDetail[] | string[]"
58045
- }
58046
- }
58047
- ]
58048
- },
58049
- {
58050
- "kind": "function",
58051
- "name": "validateGroups",
58052
- "return": {
58053
- "type": {
58054
- "text": "GroupsValidationResult"
58055
- }
58056
- },
58057
- "parameters": [
58058
- {
58059
- "name": "groups",
58060
- "type": {
58061
- "text": "CriteriaGroup[]"
58062
- }
58063
- },
58064
- {
58065
- "name": "fieldMetadata",
58066
- "type": {
58067
- "text": "MetadataDetail[] | string[]"
58068
- }
58069
- }
58070
- ],
58071
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58072
- }
58073
- ],
58074
- "exports": [
58075
- {
58076
- "kind": "js",
58077
- "name": "validateClauses",
58078
- "declaration": {
58079
- "name": "validateClauses",
58080
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58081
- }
58082
- },
58083
- {
58084
- "kind": "js",
58085
- "name": "validateGroups",
58086
- "declaration": {
58087
- "name": "validateGroups",
58088
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58089
- }
58090
- }
58091
- ]
58092
- },
58093
58093
  {
58094
58094
  "kind": "javascript-module",
58095
58095
  "path": "src/environment-indicator/utils/configure.ts",