@genesislcap/foundation-ui 14.497.0 → 14.498.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.
@@ -1802,34 +1802,11 @@
1802
1802
  },
1803
1803
  {
1804
1804
  "kind": "javascript-module",
1805
- "path": "src/actions-menu/actions-menu.styles.ts",
1805
+ "path": "src/accordion/accordion.styles.ts",
1806
1806
  "declarations": [
1807
1807
  {
1808
1808
  "kind": "function",
1809
- "name": "actionsMenuBaseStyles",
1810
- "return": {
1811
- "type": {
1812
- "text": "ElementStyles"
1813
- }
1814
- },
1815
- "parameters": [
1816
- {
1817
- "name": "context",
1818
- "type": {
1819
- "text": "ElementDefinitionContext"
1820
- }
1821
- },
1822
- {
1823
- "name": "definition",
1824
- "type": {
1825
- "text": "FoundationElementDefinition"
1826
- }
1827
- }
1828
- ]
1829
- },
1830
- {
1831
- "kind": "function",
1832
- "name": "foundationActionsMenuStyles",
1809
+ "name": "foundationAccordionStyles",
1833
1810
  "return": {
1834
1811
  "type": {
1835
1812
  "text": "ElementStyles"
@@ -1854,269 +1831,277 @@
1854
1831
  "exports": [
1855
1832
  {
1856
1833
  "kind": "js",
1857
- "name": "actionsMenuBaseStyles",
1858
- "declaration": {
1859
- "name": "actionsMenuBaseStyles",
1860
- "module": "src/actions-menu/actions-menu.styles.ts"
1861
- }
1862
- },
1863
- {
1864
- "kind": "js",
1865
- "name": "foundationActionsMenuStyles",
1834
+ "name": "foundationAccordionStyles",
1866
1835
  "declaration": {
1867
- "name": "foundationActionsMenuStyles",
1868
- "module": "src/actions-menu/actions-menu.styles.ts"
1836
+ "name": "foundationAccordionStyles",
1837
+ "module": "src/accordion/accordion.styles.ts"
1869
1838
  }
1870
1839
  }
1871
1840
  ]
1872
1841
  },
1873
1842
  {
1874
1843
  "kind": "javascript-module",
1875
- "path": "src/actions-menu/actions-menu.template.ts",
1844
+ "path": "src/accordion/accordion.template.ts",
1876
1845
  "declarations": [
1877
1846
  {
1878
1847
  "kind": "function",
1879
- "name": "menuTemplate",
1848
+ "name": "foundationAccordionTemplate",
1849
+ "return": {
1850
+ "type": {
1851
+ "text": "ViewTemplate<Accordion>"
1852
+ }
1853
+ },
1880
1854
  "parameters": [
1881
1855
  {
1882
- "name": "prefix",
1856
+ "name": "context",
1883
1857
  "type": {
1884
- "text": "string"
1858
+ "text": "ElementDefinitionContext"
1885
1859
  }
1886
- }
1887
- ]
1888
- },
1889
- {
1890
- "kind": "function",
1891
- "name": "singleOptionTemplate",
1892
- "parameters": [
1860
+ },
1893
1861
  {
1894
- "name": "prefix",
1862
+ "name": "definition",
1895
1863
  "type": {
1896
- "text": "string"
1864
+ "text": "FoundationElementDefinition"
1897
1865
  }
1898
1866
  }
1899
1867
  ]
1900
- },
1901
- {
1902
- "kind": "variable",
1903
- "name": "foundationActionsMenuTemplate",
1904
- "type": {
1905
- "text": "ViewTemplate<ActionsMenu>"
1906
- },
1907
- "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`"
1908
1868
  }
1909
1869
  ],
1910
1870
  "exports": [
1911
1871
  {
1912
1872
  "kind": "js",
1913
- "name": "menuTemplate",
1914
- "declaration": {
1915
- "name": "menuTemplate",
1916
- "module": "src/actions-menu/actions-menu.template.ts"
1917
- }
1918
- },
1919
- {
1920
- "kind": "js",
1921
- "name": "singleOptionTemplate",
1922
- "declaration": {
1923
- "name": "singleOptionTemplate",
1924
- "module": "src/actions-menu/actions-menu.template.ts"
1925
- }
1926
- },
1927
- {
1928
- "kind": "js",
1929
- "name": "foundationActionsMenuTemplate",
1873
+ "name": "foundationAccordionTemplate",
1930
1874
  "declaration": {
1931
- "name": "foundationActionsMenuTemplate",
1932
- "module": "src/actions-menu/actions-menu.template.ts"
1875
+ "name": "foundationAccordionTemplate",
1876
+ "module": "src/accordion/accordion.template.ts"
1933
1877
  }
1934
1878
  }
1935
1879
  ]
1936
1880
  },
1937
1881
  {
1938
1882
  "kind": "javascript-module",
1939
- "path": "src/actions-menu/actions-menu.ts",
1883
+ "path": "src/accordion/accordion.ts",
1940
1884
  "declarations": [
1941
1885
  {
1942
1886
  "kind": "class",
1943
1887
  "description": "",
1944
- "name": "ActionsMenu",
1945
- "members": [
1888
+ "name": "Accordion",
1889
+ "superclass": {
1890
+ "name": "FASTAccordion",
1891
+ "package": "@microsoft/fast-foundation"
1892
+ },
1893
+ "tagName": "%%prefix%%-accordion",
1894
+ "customElement": true,
1895
+ "attributes": [
1946
1896
  {
1947
- "kind": "field",
1948
- "name": "actions",
1897
+ "name": "expand-mode",
1949
1898
  "type": {
1950
- "text": "ActionMenuItem[]"
1899
+ "text": "AccordionExpandMode"
1900
+ },
1901
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1902
+ "fieldName": "expandmode",
1903
+ "inheritedFrom": {
1904
+ "name": "Accordion",
1905
+ "module": "src/accordion/accordion.ts"
1951
1906
  }
1952
- },
1907
+ }
1908
+ ],
1909
+ "members": [
1953
1910
  {
1954
1911
  "kind": "field",
1955
- "name": "isVertical",
1912
+ "name": "expandmode",
1956
1913
  "type": {
1957
- "text": "boolean"
1914
+ "text": "AccordionExpandMode"
1958
1915
  },
1959
- "default": "false"
1916
+ "privacy": "public",
1917
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1918
+ "inheritedFrom": {
1919
+ "name": "Accordion",
1920
+ "module": "src/accordion/accordion.ts"
1921
+ }
1960
1922
  },
1961
1923
  {
1962
1924
  "kind": "field",
1963
- "name": "addDefaultActions",
1925
+ "name": "activeid",
1964
1926
  "type": {
1965
- "text": "boolean"
1927
+ "text": "string | null"
1966
1928
  },
1967
- "default": "true"
1929
+ "privacy": "private",
1930
+ "inheritedFrom": {
1931
+ "name": "Accordion",
1932
+ "module": "src/accordion/accordion.ts"
1933
+ }
1968
1934
  },
1969
1935
  {
1970
1936
  "kind": "field",
1971
- "name": "autoCloseOnAction",
1937
+ "name": "activeItemIndex",
1972
1938
  "type": {
1973
- "text": "boolean"
1939
+ "text": "number"
1974
1940
  },
1975
- "default": "true"
1976
- },
1977
- {
1978
- "kind": "field",
1979
- "name": "classNames",
1980
- "type": {
1981
- "text": "string"
1941
+ "privacy": "private",
1942
+ "default": "0",
1943
+ "inheritedFrom": {
1944
+ "name": "Accordion",
1945
+ "module": "src/accordion/accordion.ts"
1982
1946
  }
1983
1947
  },
1984
1948
  {
1985
1949
  "kind": "field",
1986
- "name": "definition",
1950
+ "name": "accordionIds",
1987
1951
  "type": {
1988
- "text": "any"
1952
+ "text": "Array<string | null>"
1953
+ },
1954
+ "privacy": "private",
1955
+ "inheritedFrom": {
1956
+ "name": "Accordion",
1957
+ "module": "src/accordion/accordion.ts"
1989
1958
  }
1990
1959
  },
1991
1960
  {
1992
1961
  "kind": "field",
1993
- "name": "name",
1994
- "type": {
1995
- "text": "string"
1996
- },
1997
- "default": "'Actions'"
1962
+ "name": "change",
1963
+ "privacy": "private",
1964
+ "inheritedFrom": {
1965
+ "name": "Accordion",
1966
+ "module": "src/accordion/accordion.ts"
1967
+ }
1998
1968
  },
1999
1969
  {
2000
- "kind": "field",
2001
- "name": "open",
2002
- "type": {
2003
- "text": "boolean"
1970
+ "kind": "method",
1971
+ "name": "findExpandedItem",
1972
+ "privacy": "private",
1973
+ "return": {
1974
+ "type": {
1975
+ "text": "AccordionItem | null"
1976
+ }
2004
1977
  },
2005
- "default": "false"
2006
- },
2007
- {
2008
- "kind": "field",
2009
- "name": "buttonAppearance",
2010
- "type": {
2011
- "text": "string"
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
2012
1981
  }
2013
1982
  },
2014
1983
  {
2015
1984
  "kind": "field",
2016
- "name": "hideDisabled",
2017
- "type": {
2018
- "text": "boolean"
2019
- },
2020
- "default": "false"
1985
+ "name": "setItems",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
2021
1991
  },
2022
1992
  {
2023
- "kind": "field",
2024
- "name": "hideMenuSingleOption",
2025
- "type": {
2026
- "text": "boolean"
1993
+ "kind": "method",
1994
+ "name": "resetItems",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "void"
1999
+ }
2027
2000
  },
2028
- "default": "false"
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2004
+ }
2029
2005
  },
2030
2006
  {
2031
2007
  "kind": "field",
2032
- "name": "singleOption",
2033
- "type": {
2034
- "text": "ActionMenuItem"
2008
+ "name": "removeItemListeners",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2035
2013
  }
2036
2014
  },
2037
2015
  {
2038
2016
  "kind": "field",
2039
- "name": "actionsMenu",
2040
- "type": {
2041
- "text": "HTMLElement"
2017
+ "name": "activeItemChange",
2018
+ "privacy": "private",
2019
+ "inheritedFrom": {
2020
+ "name": "Accordion",
2021
+ "module": "src/accordion/accordion.ts"
2042
2022
  }
2043
2023
  },
2044
2024
  {
2045
2025
  "kind": "method",
2046
- "name": "definitionChanged",
2047
- "privacy": "protected",
2048
- "parameters": [
2049
- {
2050
- "name": "oldValue",
2051
- "type": {
2052
- "text": "any"
2053
- }
2054
- },
2055
- {
2056
- "name": "newValue",
2057
- "type": {
2058
- "text": "any"
2059
- }
2026
+ "name": "getItemIds",
2027
+ "privacy": "private",
2028
+ "return": {
2029
+ "type": {
2030
+ "text": "Array<string | null>"
2060
2031
  }
2061
- ]
2062
- },
2063
- {
2064
- "kind": "method",
2065
- "name": "openChanged",
2066
- "privacy": "protected"
2067
- },
2068
- {
2069
- "kind": "method",
2070
- "name": "toggleActionsMenuVisibility"
2032
+ },
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2036
+ }
2071
2037
  },
2072
2038
  {
2073
2039
  "kind": "method",
2074
- "name": "onActionMenuItemClick",
2075
- "parameters": [
2076
- {
2077
- "name": "callback",
2078
- "type": {
2079
- "text": "(rowData) => void | any"
2080
- }
2040
+ "name": "isSingleExpandMode",
2041
+ "privacy": "private",
2042
+ "return": {
2043
+ "type": {
2044
+ "text": "boolean"
2081
2045
  }
2082
- ]
2046
+ },
2047
+ "inheritedFrom": {
2048
+ "name": "Accordion",
2049
+ "module": "src/accordion/accordion.ts"
2050
+ }
2083
2051
  },
2084
2052
  {
2085
2053
  "kind": "field",
2086
- "name": "allActions",
2087
- "type": {
2088
- "text": "ActionMenuItem[]"
2089
- },
2090
- "readonly": true
2054
+ "name": "handleItemKeyDown",
2055
+ "privacy": "private",
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2091
2060
  },
2092
2061
  {
2093
2062
  "kind": "field",
2094
- "name": "rowData",
2095
- "readonly": true
2063
+ "name": "handleItemFocus",
2064
+ "privacy": "private",
2065
+ "inheritedFrom": {
2066
+ "name": "Accordion",
2067
+ "module": "src/accordion/accordion.ts"
2068
+ }
2096
2069
  },
2097
2070
  {
2098
2071
  "kind": "method",
2099
- "name": "getLabel",
2072
+ "name": "adjust",
2073
+ "privacy": "private",
2074
+ "return": {
2075
+ "type": {
2076
+ "text": "void"
2077
+ }
2078
+ },
2100
2079
  "parameters": [
2101
2080
  {
2102
- "name": "name",
2081
+ "name": "adjustment",
2103
2082
  "type": {
2104
- "text": "string | ((rowData: any) => string)"
2083
+ "text": "number"
2105
2084
  }
2106
2085
  }
2107
- ]
2086
+ ],
2087
+ "inheritedFrom": {
2088
+ "name": "Accordion",
2089
+ "module": "src/accordion/accordion.ts"
2090
+ }
2108
2091
  },
2109
2092
  {
2110
2093
  "kind": "method",
2111
- "name": "getTemplate",
2112
- "parameters": [
2113
- {
2114
- "name": "prefix",
2115
- "type": {
2116
- "text": "string"
2117
- }
2094
+ "name": "focusItem",
2095
+ "privacy": "private",
2096
+ "return": {
2097
+ "type": {
2098
+ "text": "void"
2118
2099
  }
2119
- ]
2100
+ },
2101
+ "inheritedFrom": {
2102
+ "name": "Accordion",
2103
+ "module": "src/accordion/accordion.ts"
2104
+ }
2120
2105
  },
2121
2106
  {
2122
2107
  "kind": "field",
@@ -2230,107 +2215,78 @@
2230
2215
  }
2231
2216
  }
2232
2217
  ],
2233
- "attributes": [
2234
- {
2235
- "name": "is-vertical",
2236
- "type": {
2237
- "text": "boolean"
2238
- },
2239
- "default": "false",
2240
- "fieldName": "isVertical"
2241
- },
2242
- {
2243
- "name": "add-default-actions",
2244
- "type": {
2245
- "text": "boolean"
2246
- },
2247
- "default": "true",
2248
- "fieldName": "addDefaultActions"
2249
- },
2250
- {
2251
- "name": "auto-close-on-action",
2252
- "type": {
2253
- "text": "boolean"
2254
- },
2255
- "default": "true",
2256
- "fieldName": "autoCloseOnAction"
2257
- },
2258
- {
2259
- "name": "name",
2260
- "type": {
2261
- "text": "string"
2262
- },
2263
- "default": "'Actions'",
2264
- "fieldName": "name"
2265
- },
2266
- {
2267
- "name": "open",
2268
- "type": {
2269
- "text": "boolean"
2270
- },
2271
- "default": "false",
2272
- "fieldName": "open"
2273
- },
2274
- {
2275
- "name": "buttonAppearance",
2276
- "type": {
2277
- "text": "string"
2278
- },
2279
- "fieldName": "buttonAppearance"
2280
- },
2281
- {
2282
- "name": "hide-disabled",
2283
- "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "false",
2287
- "fieldName": "hideDisabled"
2288
- },
2218
+ "events": [
2289
2219
  {
2290
- "name": "hide-menu-single-option",
2291
- "type": {
2292
- "text": "boolean"
2293
- },
2294
- "default": "false",
2295
- "fieldName": "hideMenuSingleOption"
2220
+ "description": "Fires a custom 'change' event when the active item changes",
2221
+ "name": "change",
2222
+ "inheritedFrom": {
2223
+ "name": "Accordion",
2224
+ "module": "src/accordion/accordion.ts"
2225
+ }
2296
2226
  }
2297
- ],
2298
- "superclass": {
2299
- "name": "FoundationElement",
2300
- "package": "@microsoft/fast-foundation"
2227
+ ]
2228
+ },
2229
+ {
2230
+ "kind": "variable",
2231
+ "name": "foundationAccordionShadowOptions",
2232
+ "type": {
2233
+ "text": "ShadowRootInit"
2301
2234
  },
2302
- "tagName": "%%prefix%%-actions-menu",
2303
- "customElement": true
2235
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2304
2236
  },
2305
2237
  {
2306
2238
  "kind": "variable",
2307
- "name": "foundationActionsMenu",
2308
- "description": "The Foundation Actions Menu",
2239
+ "name": "defaultAccordionConfig",
2240
+ "type": {
2241
+ "text": "object"
2242
+ },
2243
+ "default": "{}"
2244
+ },
2245
+ {
2246
+ "kind": "variable",
2247
+ "name": "foundationAccordion",
2248
+ "description": "The Foundation Accordion",
2309
2249
  "privacy": "public"
2310
2250
  }
2311
2251
  ],
2312
2252
  "exports": [
2313
2253
  {
2314
2254
  "kind": "js",
2315
- "name": "ActionsMenu",
2255
+ "name": "Accordion",
2316
2256
  "declaration": {
2317
- "name": "ActionsMenu",
2318
- "module": "src/actions-menu/actions-menu.ts"
2257
+ "name": "Accordion",
2258
+ "module": "src/accordion/accordion.ts"
2319
2259
  }
2320
2260
  },
2321
2261
  {
2322
2262
  "kind": "js",
2323
- "name": "foundationActionsMenu",
2263
+ "name": "foundationAccordionShadowOptions",
2324
2264
  "declaration": {
2325
- "name": "foundationActionsMenu",
2326
- "module": "src/actions-menu/actions-menu.ts"
2265
+ "name": "foundationAccordionShadowOptions",
2266
+ "module": "src/accordion/accordion.ts"
2267
+ }
2268
+ },
2269
+ {
2270
+ "kind": "js",
2271
+ "name": "defaultAccordionConfig",
2272
+ "declaration": {
2273
+ "name": "defaultAccordionConfig",
2274
+ "module": "src/accordion/accordion.ts"
2275
+ }
2276
+ },
2277
+ {
2278
+ "kind": "js",
2279
+ "name": "foundationAccordion",
2280
+ "declaration": {
2281
+ "name": "foundationAccordion",
2282
+ "module": "src/accordion/accordion.ts"
2327
2283
  }
2328
2284
  }
2329
2285
  ]
2330
2286
  },
2331
2287
  {
2332
2288
  "kind": "javascript-module",
2333
- "path": "src/actions-menu/index.ts",
2289
+ "path": "src/accordion/index.ts",
2334
2290
  "declarations": [],
2335
2291
  "exports": [
2336
2292
  {
@@ -2338,7 +2294,7 @@
2338
2294
  "name": "*",
2339
2295
  "declaration": {
2340
2296
  "name": "*",
2341
- "package": "./actions-menu.styles"
2297
+ "package": "./accordion.template"
2342
2298
  }
2343
2299
  },
2344
2300
  {
@@ -2346,7 +2302,7 @@
2346
2302
  "name": "*",
2347
2303
  "declaration": {
2348
2304
  "name": "*",
2349
- "package": "./actions-menu.template"
2305
+ "package": "./accordion.styles"
2350
2306
  }
2351
2307
  },
2352
2308
  {
@@ -2354,18 +2310,72 @@
2354
2310
  "name": "*",
2355
2311
  "declaration": {
2356
2312
  "name": "*",
2357
- "package": "./actions-menu"
2313
+ "package": "./accordion"
2358
2314
  }
2359
2315
  }
2360
2316
  ]
2361
2317
  },
2362
2318
  {
2363
2319
  "kind": "javascript-module",
2364
- "path": "src/accordion/accordion.styles.ts",
2320
+ "path": "src/_config/index.ts",
2321
+ "declarations": [],
2322
+ "exports": [
2323
+ {
2324
+ "kind": "js",
2325
+ "name": "*",
2326
+ "declaration": {
2327
+ "name": "*",
2328
+ "package": "./styles"
2329
+ }
2330
+ },
2331
+ {
2332
+ "kind": "js",
2333
+ "name": "*",
2334
+ "declaration": {
2335
+ "name": "*",
2336
+ "package": "./tokens"
2337
+ }
2338
+ },
2339
+ {
2340
+ "kind": "js",
2341
+ "name": "*",
2342
+ "declaration": {
2343
+ "name": "*",
2344
+ "package": "./values"
2345
+ }
2346
+ }
2347
+ ]
2348
+ },
2349
+ {
2350
+ "kind": "javascript-module",
2351
+ "path": "src/actions-menu/actions-menu.styles.ts",
2365
2352
  "declarations": [
2366
2353
  {
2367
2354
  "kind": "function",
2368
- "name": "foundationAccordionStyles",
2355
+ "name": "actionsMenuBaseStyles",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "ElementStyles"
2359
+ }
2360
+ },
2361
+ "parameters": [
2362
+ {
2363
+ "name": "context",
2364
+ "type": {
2365
+ "text": "ElementDefinitionContext"
2366
+ }
2367
+ },
2368
+ {
2369
+ "name": "definition",
2370
+ "type": {
2371
+ "text": "FoundationElementDefinition"
2372
+ }
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "function",
2378
+ "name": "foundationActionsMenuStyles",
2369
2379
  "return": {
2370
2380
  "type": {
2371
2381
  "text": "ElementStyles"
@@ -2390,277 +2400,269 @@
2390
2400
  "exports": [
2391
2401
  {
2392
2402
  "kind": "js",
2393
- "name": "foundationAccordionStyles",
2403
+ "name": "actionsMenuBaseStyles",
2394
2404
  "declaration": {
2395
- "name": "foundationAccordionStyles",
2396
- "module": "src/accordion/accordion.styles.ts"
2405
+ "name": "actionsMenuBaseStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2407
+ }
2408
+ },
2409
+ {
2410
+ "kind": "js",
2411
+ "name": "foundationActionsMenuStyles",
2412
+ "declaration": {
2413
+ "name": "foundationActionsMenuStyles",
2414
+ "module": "src/actions-menu/actions-menu.styles.ts"
2397
2415
  }
2398
2416
  }
2399
2417
  ]
2400
2418
  },
2401
2419
  {
2402
2420
  "kind": "javascript-module",
2403
- "path": "src/accordion/accordion.template.ts",
2421
+ "path": "src/actions-menu/actions-menu.template.ts",
2404
2422
  "declarations": [
2405
2423
  {
2406
2424
  "kind": "function",
2407
- "name": "foundationAccordionTemplate",
2408
- "return": {
2409
- "type": {
2410
- "text": "ViewTemplate<Accordion>"
2411
- }
2412
- },
2425
+ "name": "menuTemplate",
2413
2426
  "parameters": [
2414
2427
  {
2415
- "name": "context",
2428
+ "name": "prefix",
2416
2429
  "type": {
2417
- "text": "ElementDefinitionContext"
2430
+ "text": "string"
2418
2431
  }
2419
- },
2432
+ }
2433
+ ]
2434
+ },
2435
+ {
2436
+ "kind": "function",
2437
+ "name": "singleOptionTemplate",
2438
+ "parameters": [
2420
2439
  {
2421
- "name": "definition",
2440
+ "name": "prefix",
2422
2441
  "type": {
2423
- "text": "FoundationElementDefinition"
2442
+ "text": "string"
2424
2443
  }
2425
2444
  }
2426
2445
  ]
2446
+ },
2447
+ {
2448
+ "kind": "variable",
2449
+ "name": "foundationActionsMenuTemplate",
2450
+ "type": {
2451
+ "text": "ViewTemplate<ActionsMenu>"
2452
+ },
2453
+ "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`"
2427
2454
  }
2428
2455
  ],
2429
2456
  "exports": [
2430
2457
  {
2431
2458
  "kind": "js",
2432
- "name": "foundationAccordionTemplate",
2459
+ "name": "menuTemplate",
2433
2460
  "declaration": {
2434
- "name": "foundationAccordionTemplate",
2435
- "module": "src/accordion/accordion.template.ts"
2461
+ "name": "menuTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "singleOptionTemplate",
2468
+ "declaration": {
2469
+ "name": "singleOptionTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2471
+ }
2472
+ },
2473
+ {
2474
+ "kind": "js",
2475
+ "name": "foundationActionsMenuTemplate",
2476
+ "declaration": {
2477
+ "name": "foundationActionsMenuTemplate",
2478
+ "module": "src/actions-menu/actions-menu.template.ts"
2436
2479
  }
2437
2480
  }
2438
2481
  ]
2439
2482
  },
2440
2483
  {
2441
2484
  "kind": "javascript-module",
2442
- "path": "src/accordion/accordion.ts",
2485
+ "path": "src/actions-menu/actions-menu.ts",
2443
2486
  "declarations": [
2444
2487
  {
2445
2488
  "kind": "class",
2446
2489
  "description": "",
2447
- "name": "Accordion",
2448
- "superclass": {
2449
- "name": "FASTAccordion",
2450
- "package": "@microsoft/fast-foundation"
2451
- },
2452
- "tagName": "%%prefix%%-accordion",
2453
- "customElement": true,
2454
- "attributes": [
2490
+ "name": "ActionsMenu",
2491
+ "members": [
2455
2492
  {
2456
- "name": "expand-mode",
2493
+ "kind": "field",
2494
+ "name": "actions",
2457
2495
  "type": {
2458
- "text": "AccordionExpandMode"
2459
- },
2460
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2461
- "fieldName": "expandmode",
2462
- "inheritedFrom": {
2463
- "name": "Accordion",
2464
- "module": "src/accordion/accordion.ts"
2496
+ "text": "ActionMenuItem[]"
2465
2497
  }
2466
- }
2467
- ],
2468
- "members": [
2498
+ },
2469
2499
  {
2470
2500
  "kind": "field",
2471
- "name": "expandmode",
2501
+ "name": "isVertical",
2472
2502
  "type": {
2473
- "text": "AccordionExpandMode"
2503
+ "text": "boolean"
2474
2504
  },
2475
- "privacy": "public",
2476
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2477
- "inheritedFrom": {
2478
- "name": "Accordion",
2479
- "module": "src/accordion/accordion.ts"
2480
- }
2505
+ "default": "false"
2481
2506
  },
2482
2507
  {
2483
2508
  "kind": "field",
2484
- "name": "activeid",
2509
+ "name": "addDefaultActions",
2485
2510
  "type": {
2486
- "text": "string | null"
2511
+ "text": "boolean"
2487
2512
  },
2488
- "privacy": "private",
2489
- "inheritedFrom": {
2490
- "name": "Accordion",
2491
- "module": "src/accordion/accordion.ts"
2492
- }
2513
+ "default": "true"
2493
2514
  },
2494
2515
  {
2495
2516
  "kind": "field",
2496
- "name": "activeItemIndex",
2517
+ "name": "autoCloseOnAction",
2497
2518
  "type": {
2498
- "text": "number"
2519
+ "text": "boolean"
2499
2520
  },
2500
- "privacy": "private",
2501
- "default": "0",
2502
- "inheritedFrom": {
2503
- "name": "Accordion",
2504
- "module": "src/accordion/accordion.ts"
2505
- }
2521
+ "default": "true"
2506
2522
  },
2507
2523
  {
2508
2524
  "kind": "field",
2509
- "name": "accordionIds",
2525
+ "name": "classNames",
2510
2526
  "type": {
2511
- "text": "Array<string | null>"
2512
- },
2513
- "privacy": "private",
2514
- "inheritedFrom": {
2515
- "name": "Accordion",
2516
- "module": "src/accordion/accordion.ts"
2527
+ "text": "string"
2517
2528
  }
2518
2529
  },
2519
2530
  {
2520
2531
  "kind": "field",
2521
- "name": "change",
2522
- "privacy": "private",
2523
- "inheritedFrom": {
2524
- "name": "Accordion",
2525
- "module": "src/accordion/accordion.ts"
2532
+ "name": "definition",
2533
+ "type": {
2534
+ "text": "any"
2526
2535
  }
2527
2536
  },
2528
2537
  {
2529
- "kind": "method",
2530
- "name": "findExpandedItem",
2531
- "privacy": "private",
2532
- "return": {
2533
- "type": {
2534
- "text": "AccordionItem | null"
2535
- }
2538
+ "kind": "field",
2539
+ "name": "name",
2540
+ "type": {
2541
+ "text": "string"
2536
2542
  },
2537
- "inheritedFrom": {
2538
- "name": "Accordion",
2539
- "module": "src/accordion/accordion.ts"
2540
- }
2543
+ "default": "'Actions'"
2541
2544
  },
2542
2545
  {
2543
2546
  "kind": "field",
2544
- "name": "setItems",
2545
- "privacy": "private",
2546
- "inheritedFrom": {
2547
- "name": "Accordion",
2548
- "module": "src/accordion/accordion.ts"
2547
+ "name": "open",
2548
+ "type": {
2549
+ "text": "boolean"
2550
+ },
2551
+ "default": "false"
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "buttonAppearance",
2556
+ "type": {
2557
+ "text": "string"
2549
2558
  }
2550
2559
  },
2551
2560
  {
2552
- "kind": "method",
2553
- "name": "resetItems",
2554
- "privacy": "private",
2555
- "return": {
2556
- "type": {
2557
- "text": "void"
2558
- }
2561
+ "kind": "field",
2562
+ "name": "hideDisabled",
2563
+ "type": {
2564
+ "text": "boolean"
2559
2565
  },
2560
- "inheritedFrom": {
2561
- "name": "Accordion",
2562
- "module": "src/accordion/accordion.ts"
2563
- }
2566
+ "default": "false"
2564
2567
  },
2565
2568
  {
2566
2569
  "kind": "field",
2567
- "name": "removeItemListeners",
2568
- "privacy": "private",
2569
- "inheritedFrom": {
2570
- "name": "Accordion",
2571
- "module": "src/accordion/accordion.ts"
2570
+ "name": "hideMenuSingleOption",
2571
+ "type": {
2572
+ "text": "boolean"
2573
+ },
2574
+ "default": "false"
2575
+ },
2576
+ {
2577
+ "kind": "field",
2578
+ "name": "singleOption",
2579
+ "type": {
2580
+ "text": "ActionMenuItem"
2572
2581
  }
2573
2582
  },
2574
2583
  {
2575
2584
  "kind": "field",
2576
- "name": "activeItemChange",
2577
- "privacy": "private",
2578
- "inheritedFrom": {
2579
- "name": "Accordion",
2580
- "module": "src/accordion/accordion.ts"
2585
+ "name": "actionsMenu",
2586
+ "type": {
2587
+ "text": "HTMLElement"
2581
2588
  }
2582
2589
  },
2583
2590
  {
2584
2591
  "kind": "method",
2585
- "name": "getItemIds",
2586
- "privacy": "private",
2587
- "return": {
2588
- "type": {
2589
- "text": "Array<string | null>"
2592
+ "name": "definitionChanged",
2593
+ "privacy": "protected",
2594
+ "parameters": [
2595
+ {
2596
+ "name": "oldValue",
2597
+ "type": {
2598
+ "text": "any"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "newValue",
2603
+ "type": {
2604
+ "text": "any"
2605
+ }
2590
2606
  }
2591
- },
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2595
- }
2607
+ ]
2596
2608
  },
2597
2609
  {
2598
2610
  "kind": "method",
2599
- "name": "isSingleExpandMode",
2600
- "privacy": "private",
2601
- "return": {
2602
- "type": {
2603
- "text": "boolean"
2611
+ "name": "openChanged",
2612
+ "privacy": "protected"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "toggleActionsMenuVisibility"
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "onActionMenuItemClick",
2621
+ "parameters": [
2622
+ {
2623
+ "name": "callback",
2624
+ "type": {
2625
+ "text": "(rowData) => void | any"
2626
+ }
2604
2627
  }
2605
- },
2606
- "inheritedFrom": {
2607
- "name": "Accordion",
2608
- "module": "src/accordion/accordion.ts"
2609
- }
2628
+ ]
2610
2629
  },
2611
2630
  {
2612
2631
  "kind": "field",
2613
- "name": "handleItemKeyDown",
2614
- "privacy": "private",
2615
- "inheritedFrom": {
2616
- "name": "Accordion",
2617
- "module": "src/accordion/accordion.ts"
2618
- }
2632
+ "name": "allActions",
2633
+ "type": {
2634
+ "text": "ActionMenuItem[]"
2635
+ },
2636
+ "readonly": true
2619
2637
  },
2620
2638
  {
2621
2639
  "kind": "field",
2622
- "name": "handleItemFocus",
2623
- "privacy": "private",
2624
- "inheritedFrom": {
2625
- "name": "Accordion",
2626
- "module": "src/accordion/accordion.ts"
2627
- }
2640
+ "name": "rowData",
2641
+ "readonly": true
2628
2642
  },
2629
2643
  {
2630
2644
  "kind": "method",
2631
- "name": "adjust",
2632
- "privacy": "private",
2633
- "return": {
2634
- "type": {
2635
- "text": "void"
2636
- }
2637
- },
2645
+ "name": "getLabel",
2638
2646
  "parameters": [
2639
2647
  {
2640
- "name": "adjustment",
2648
+ "name": "name",
2641
2649
  "type": {
2642
- "text": "number"
2650
+ "text": "string | ((rowData: any) => string)"
2643
2651
  }
2644
2652
  }
2645
- ],
2646
- "inheritedFrom": {
2647
- "name": "Accordion",
2648
- "module": "src/accordion/accordion.ts"
2649
- }
2653
+ ]
2650
2654
  },
2651
2655
  {
2652
2656
  "kind": "method",
2653
- "name": "focusItem",
2654
- "privacy": "private",
2655
- "return": {
2656
- "type": {
2657
- "text": "void"
2657
+ "name": "getTemplate",
2658
+ "parameters": [
2659
+ {
2660
+ "name": "prefix",
2661
+ "type": {
2662
+ "text": "string"
2663
+ }
2658
2664
  }
2659
- },
2660
- "inheritedFrom": {
2661
- "name": "Accordion",
2662
- "module": "src/accordion/accordion.ts"
2663
- }
2665
+ ]
2664
2666
  },
2665
2667
  {
2666
2668
  "kind": "field",
@@ -2774,78 +2776,107 @@
2774
2776
  }
2775
2777
  }
2776
2778
  ],
2777
- "events": [
2779
+ "attributes": [
2778
2780
  {
2779
- "description": "Fires a custom 'change' event when the active item changes",
2780
- "name": "change",
2781
- "inheritedFrom": {
2782
- "name": "Accordion",
2783
- "module": "src/accordion/accordion.ts"
2784
- }
2781
+ "name": "is-vertical",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "false",
2786
+ "fieldName": "isVertical"
2787
+ },
2788
+ {
2789
+ "name": "add-default-actions",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "addDefaultActions"
2795
+ },
2796
+ {
2797
+ "name": "auto-close-on-action",
2798
+ "type": {
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "true",
2802
+ "fieldName": "autoCloseOnAction"
2803
+ },
2804
+ {
2805
+ "name": "name",
2806
+ "type": {
2807
+ "text": "string"
2808
+ },
2809
+ "default": "'Actions'",
2810
+ "fieldName": "name"
2811
+ },
2812
+ {
2813
+ "name": "open",
2814
+ "type": {
2815
+ "text": "boolean"
2816
+ },
2817
+ "default": "false",
2818
+ "fieldName": "open"
2819
+ },
2820
+ {
2821
+ "name": "buttonAppearance",
2822
+ "type": {
2823
+ "text": "string"
2824
+ },
2825
+ "fieldName": "buttonAppearance"
2826
+ },
2827
+ {
2828
+ "name": "hide-disabled",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideDisabled"
2834
+ },
2835
+ {
2836
+ "name": "hide-menu-single-option",
2837
+ "type": {
2838
+ "text": "boolean"
2839
+ },
2840
+ "default": "false",
2841
+ "fieldName": "hideMenuSingleOption"
2785
2842
  }
2786
- ]
2787
- },
2788
- {
2789
- "kind": "variable",
2790
- "name": "foundationAccordionShadowOptions",
2791
- "type": {
2792
- "text": "ShadowRootInit"
2793
- },
2794
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2795
- },
2796
- {
2797
- "kind": "variable",
2798
- "name": "defaultAccordionConfig",
2799
- "type": {
2800
- "text": "object"
2843
+ ],
2844
+ "superclass": {
2845
+ "name": "FoundationElement",
2846
+ "package": "@microsoft/fast-foundation"
2801
2847
  },
2802
- "default": "{}"
2848
+ "tagName": "%%prefix%%-actions-menu",
2849
+ "customElement": true
2803
2850
  },
2804
2851
  {
2805
2852
  "kind": "variable",
2806
- "name": "foundationAccordion",
2807
- "description": "The Foundation Accordion",
2853
+ "name": "foundationActionsMenu",
2854
+ "description": "The Foundation Actions Menu",
2808
2855
  "privacy": "public"
2809
2856
  }
2810
2857
  ],
2811
2858
  "exports": [
2812
2859
  {
2813
2860
  "kind": "js",
2814
- "name": "Accordion",
2815
- "declaration": {
2816
- "name": "Accordion",
2817
- "module": "src/accordion/accordion.ts"
2818
- }
2819
- },
2820
- {
2821
- "kind": "js",
2822
- "name": "foundationAccordionShadowOptions",
2823
- "declaration": {
2824
- "name": "foundationAccordionShadowOptions",
2825
- "module": "src/accordion/accordion.ts"
2826
- }
2827
- },
2828
- {
2829
- "kind": "js",
2830
- "name": "defaultAccordionConfig",
2861
+ "name": "ActionsMenu",
2831
2862
  "declaration": {
2832
- "name": "defaultAccordionConfig",
2833
- "module": "src/accordion/accordion.ts"
2863
+ "name": "ActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2834
2865
  }
2835
2866
  },
2836
2867
  {
2837
2868
  "kind": "js",
2838
- "name": "foundationAccordion",
2869
+ "name": "foundationActionsMenu",
2839
2870
  "declaration": {
2840
- "name": "foundationAccordion",
2841
- "module": "src/accordion/accordion.ts"
2871
+ "name": "foundationActionsMenu",
2872
+ "module": "src/actions-menu/actions-menu.ts"
2842
2873
  }
2843
2874
  }
2844
2875
  ]
2845
2876
  },
2846
2877
  {
2847
2878
  "kind": "javascript-module",
2848
- "path": "src/accordion/index.ts",
2879
+ "path": "src/actions-menu/index.ts",
2849
2880
  "declarations": [],
2850
2881
  "exports": [
2851
2882
  {
@@ -2853,7 +2884,7 @@
2853
2884
  "name": "*",
2854
2885
  "declaration": {
2855
2886
  "name": "*",
2856
- "package": "./accordion.template"
2887
+ "package": "./actions-menu.styles"
2857
2888
  }
2858
2889
  },
2859
2890
  {
@@ -2861,7 +2892,7 @@
2861
2892
  "name": "*",
2862
2893
  "declaration": {
2863
2894
  "name": "*",
2864
- "package": "./accordion.styles"
2895
+ "package": "./actions-menu.template"
2865
2896
  }
2866
2897
  },
2867
2898
  {
@@ -2869,7 +2900,7 @@
2869
2900
  "name": "*",
2870
2901
  "declaration": {
2871
2902
  "name": "*",
2872
- "package": "./accordion"
2903
+ "package": "./actions-menu"
2873
2904
  }
2874
2905
  }
2875
2906
  ]
@@ -3483,37 +3514,6 @@
3483
3514
  }
3484
3515
  ]
3485
3516
  },
3486
- {
3487
- "kind": "javascript-module",
3488
- "path": "src/_config/index.ts",
3489
- "declarations": [],
3490
- "exports": [
3491
- {
3492
- "kind": "js",
3493
- "name": "*",
3494
- "declaration": {
3495
- "name": "*",
3496
- "package": "./styles"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "*",
3502
- "declaration": {
3503
- "name": "*",
3504
- "package": "./tokens"
3505
- }
3506
- },
3507
- {
3508
- "kind": "js",
3509
- "name": "*",
3510
- "declaration": {
3511
- "name": "*",
3512
- "package": "./values"
3513
- }
3514
- }
3515
- ]
3516
- },
3517
3517
  {
3518
3518
  "kind": "javascript-module",
3519
3519
  "path": "src/ai-indicator/ai-indicator.styles.ts",
@@ -33029,6 +33029,12 @@
33029
33029
  "name": "isAllOptionsDisabled",
33030
33030
  "readonly": true
33031
33031
  },
33032
+ {
33033
+ "kind": "field",
33034
+ "name": "areAllOptionsSelected",
33035
+ "description": "True when every enabled option is currently selected.\nUsed to toggle the \"Select All\" / \"Deselect All\" control label.",
33036
+ "readonly": true
33037
+ },
33032
33038
  {
33033
33039
  "kind": "field",
33034
33040
  "name": "showCreatable",
@@ -58705,197 +58711,6 @@
58705
58711
  }
58706
58712
  ]
58707
58713
  },
58708
- {
58709
- "kind": "javascript-module",
58710
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
58711
- "declarations": [],
58712
- "exports": []
58713
- },
58714
- {
58715
- "kind": "javascript-module",
58716
- "path": "src/ai-criteria-search/validation/operator-map.ts",
58717
- "declarations": [
58718
- {
58719
- "kind": "function",
58720
- "name": "groupsToCriteria",
58721
- "return": {
58722
- "type": {
58723
- "text": "string"
58724
- }
58725
- },
58726
- "parameters": [
58727
- {
58728
- "name": "groups",
58729
- "type": {
58730
- "text": "CriteriaGroup[]"
58731
- }
58732
- }
58733
- ],
58734
- "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."
58735
- },
58736
- {
58737
- "kind": "variable",
58738
- "name": "STRING_OPERATORS",
58739
- "type": {
58740
- "text": "CriteriaOperator[]"
58741
- },
58742
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
58743
- },
58744
- {
58745
- "kind": "variable",
58746
- "name": "NUMERIC_OPERATORS",
58747
- "type": {
58748
- "text": "CriteriaOperator[]"
58749
- },
58750
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
58751
- },
58752
- {
58753
- "kind": "variable",
58754
- "name": "DATE_OPERATORS",
58755
- "type": {
58756
- "text": "CriteriaOperator[]"
58757
- },
58758
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
58759
- },
58760
- {
58761
- "kind": "variable",
58762
- "name": "DATETIME_OPERATORS",
58763
- "type": {
58764
- "text": "CriteriaOperator[]"
58765
- },
58766
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
58767
- },
58768
- {
58769
- "kind": "variable",
58770
- "name": "OPERATOR_DISPLAY_LABEL",
58771
- "type": {
58772
- "text": "Record<CriteriaOperator, string>"
58773
- },
58774
- "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}"
58775
- }
58776
- ],
58777
- "exports": [
58778
- {
58779
- "kind": "js",
58780
- "name": "groupsToCriteria",
58781
- "declaration": {
58782
- "name": "groupsToCriteria",
58783
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58784
- }
58785
- },
58786
- {
58787
- "kind": "js",
58788
- "name": "STRING_OPERATORS",
58789
- "declaration": {
58790
- "name": "STRING_OPERATORS",
58791
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58792
- }
58793
- },
58794
- {
58795
- "kind": "js",
58796
- "name": "NUMERIC_OPERATORS",
58797
- "declaration": {
58798
- "name": "NUMERIC_OPERATORS",
58799
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58800
- }
58801
- },
58802
- {
58803
- "kind": "js",
58804
- "name": "DATE_OPERATORS",
58805
- "declaration": {
58806
- "name": "DATE_OPERATORS",
58807
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58808
- }
58809
- },
58810
- {
58811
- "kind": "js",
58812
- "name": "DATETIME_OPERATORS",
58813
- "declaration": {
58814
- "name": "DATETIME_OPERATORS",
58815
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58816
- }
58817
- },
58818
- {
58819
- "kind": "js",
58820
- "name": "OPERATOR_DISPLAY_LABEL",
58821
- "declaration": {
58822
- "name": "OPERATOR_DISPLAY_LABEL",
58823
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58824
- }
58825
- }
58826
- ]
58827
- },
58828
- {
58829
- "kind": "javascript-module",
58830
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58831
- "declarations": [
58832
- {
58833
- "kind": "function",
58834
- "name": "validateClauses",
58835
- "return": {
58836
- "type": {
58837
- "text": "ValidationResult"
58838
- }
58839
- },
58840
- "parameters": [
58841
- {
58842
- "name": "clauses",
58843
- "type": {
58844
- "text": "CriteriaClause[]"
58845
- }
58846
- },
58847
- {
58848
- "name": "fieldMetadata",
58849
- "type": {
58850
- "text": "MetadataDetail[] | string[]"
58851
- }
58852
- }
58853
- ]
58854
- },
58855
- {
58856
- "kind": "function",
58857
- "name": "validateGroups",
58858
- "return": {
58859
- "type": {
58860
- "text": "GroupsValidationResult"
58861
- }
58862
- },
58863
- "parameters": [
58864
- {
58865
- "name": "groups",
58866
- "type": {
58867
- "text": "CriteriaGroup[]"
58868
- }
58869
- },
58870
- {
58871
- "name": "fieldMetadata",
58872
- "type": {
58873
- "text": "MetadataDetail[] | string[]"
58874
- }
58875
- }
58876
- ],
58877
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58878
- }
58879
- ],
58880
- "exports": [
58881
- {
58882
- "kind": "js",
58883
- "name": "validateClauses",
58884
- "declaration": {
58885
- "name": "validateClauses",
58886
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58887
- }
58888
- },
58889
- {
58890
- "kind": "js",
58891
- "name": "validateGroups",
58892
- "declaration": {
58893
- "name": "validateGroups",
58894
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58895
- }
58896
- }
58897
- ]
58898
- },
58899
58714
  {
58900
58715
  "kind": "javascript-module",
58901
58716
  "path": "src/_config/styles/colors.ts",
@@ -60268,6 +60083,197 @@
60268
60083
  "declarations": [],
60269
60084
  "exports": []
60270
60085
  },
60086
+ {
60087
+ "kind": "javascript-module",
60088
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60089
+ "declarations": [],
60090
+ "exports": []
60091
+ },
60092
+ {
60093
+ "kind": "javascript-module",
60094
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60095
+ "declarations": [
60096
+ {
60097
+ "kind": "function",
60098
+ "name": "groupsToCriteria",
60099
+ "return": {
60100
+ "type": {
60101
+ "text": "string"
60102
+ }
60103
+ },
60104
+ "parameters": [
60105
+ {
60106
+ "name": "groups",
60107
+ "type": {
60108
+ "text": "CriteriaGroup[]"
60109
+ }
60110
+ }
60111
+ ],
60112
+ "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."
60113
+ },
60114
+ {
60115
+ "kind": "variable",
60116
+ "name": "STRING_OPERATORS",
60117
+ "type": {
60118
+ "text": "CriteriaOperator[]"
60119
+ },
60120
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60121
+ },
60122
+ {
60123
+ "kind": "variable",
60124
+ "name": "NUMERIC_OPERATORS",
60125
+ "type": {
60126
+ "text": "CriteriaOperator[]"
60127
+ },
60128
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60129
+ },
60130
+ {
60131
+ "kind": "variable",
60132
+ "name": "DATE_OPERATORS",
60133
+ "type": {
60134
+ "text": "CriteriaOperator[]"
60135
+ },
60136
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60137
+ },
60138
+ {
60139
+ "kind": "variable",
60140
+ "name": "DATETIME_OPERATORS",
60141
+ "type": {
60142
+ "text": "CriteriaOperator[]"
60143
+ },
60144
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60145
+ },
60146
+ {
60147
+ "kind": "variable",
60148
+ "name": "OPERATOR_DISPLAY_LABEL",
60149
+ "type": {
60150
+ "text": "Record<CriteriaOperator, string>"
60151
+ },
60152
+ "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}"
60153
+ }
60154
+ ],
60155
+ "exports": [
60156
+ {
60157
+ "kind": "js",
60158
+ "name": "groupsToCriteria",
60159
+ "declaration": {
60160
+ "name": "groupsToCriteria",
60161
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60162
+ }
60163
+ },
60164
+ {
60165
+ "kind": "js",
60166
+ "name": "STRING_OPERATORS",
60167
+ "declaration": {
60168
+ "name": "STRING_OPERATORS",
60169
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60170
+ }
60171
+ },
60172
+ {
60173
+ "kind": "js",
60174
+ "name": "NUMERIC_OPERATORS",
60175
+ "declaration": {
60176
+ "name": "NUMERIC_OPERATORS",
60177
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60178
+ }
60179
+ },
60180
+ {
60181
+ "kind": "js",
60182
+ "name": "DATE_OPERATORS",
60183
+ "declaration": {
60184
+ "name": "DATE_OPERATORS",
60185
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60186
+ }
60187
+ },
60188
+ {
60189
+ "kind": "js",
60190
+ "name": "DATETIME_OPERATORS",
60191
+ "declaration": {
60192
+ "name": "DATETIME_OPERATORS",
60193
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60194
+ }
60195
+ },
60196
+ {
60197
+ "kind": "js",
60198
+ "name": "OPERATOR_DISPLAY_LABEL",
60199
+ "declaration": {
60200
+ "name": "OPERATOR_DISPLAY_LABEL",
60201
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60202
+ }
60203
+ }
60204
+ ]
60205
+ },
60206
+ {
60207
+ "kind": "javascript-module",
60208
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60209
+ "declarations": [
60210
+ {
60211
+ "kind": "function",
60212
+ "name": "validateClauses",
60213
+ "return": {
60214
+ "type": {
60215
+ "text": "ValidationResult"
60216
+ }
60217
+ },
60218
+ "parameters": [
60219
+ {
60220
+ "name": "clauses",
60221
+ "type": {
60222
+ "text": "CriteriaClause[]"
60223
+ }
60224
+ },
60225
+ {
60226
+ "name": "fieldMetadata",
60227
+ "type": {
60228
+ "text": "MetadataDetail[] | string[]"
60229
+ }
60230
+ }
60231
+ ]
60232
+ },
60233
+ {
60234
+ "kind": "function",
60235
+ "name": "validateGroups",
60236
+ "return": {
60237
+ "type": {
60238
+ "text": "GroupsValidationResult"
60239
+ }
60240
+ },
60241
+ "parameters": [
60242
+ {
60243
+ "name": "groups",
60244
+ "type": {
60245
+ "text": "CriteriaGroup[]"
60246
+ }
60247
+ },
60248
+ {
60249
+ "name": "fieldMetadata",
60250
+ "type": {
60251
+ "text": "MetadataDetail[] | string[]"
60252
+ }
60253
+ }
60254
+ ],
60255
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60256
+ }
60257
+ ],
60258
+ "exports": [
60259
+ {
60260
+ "kind": "js",
60261
+ "name": "validateClauses",
60262
+ "declaration": {
60263
+ "name": "validateClauses",
60264
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60265
+ }
60266
+ },
60267
+ {
60268
+ "kind": "js",
60269
+ "name": "validateGroups",
60270
+ "declaration": {
60271
+ "name": "validateGroups",
60272
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60273
+ }
60274
+ }
60275
+ ]
60276
+ },
60271
60277
  {
60272
60278
  "kind": "javascript-module",
60273
60279
  "path": "src/environment-indicator/utils/configure.ts",