@genesislcap/foundation-ui 15.49.0 → 15.50.0-BACE-0.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.
@@ -1493,6 +1493,37 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1496
1527
  {
1497
1528
  "kind": "javascript-module",
1498
1529
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1889,11 +1920,34 @@
1889
1920
  },
1890
1921
  {
1891
1922
  "kind": "javascript-module",
1892
- "path": "src/accordion/accordion.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1893
1924
  "declarations": [
1894
1925
  {
1895
1926
  "kind": "function",
1896
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
+ "return": {
1929
+ "type": {
1930
+ "text": "ElementStyles"
1931
+ }
1932
+ },
1933
+ "parameters": [
1934
+ {
1935
+ "name": "context",
1936
+ "type": {
1937
+ "text": "ElementDefinitionContext"
1938
+ }
1939
+ },
1940
+ {
1941
+ "name": "definition",
1942
+ "type": {
1943
+ "text": "FoundationElementDefinition"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "kind": "function",
1950
+ "name": "foundationActionsMenuStyles",
1897
1951
  "return": {
1898
1952
  "type": {
1899
1953
  "text": "ElementStyles"
@@ -1918,277 +1972,281 @@
1918
1972
  "exports": [
1919
1973
  {
1920
1974
  "kind": "js",
1921
- "name": "foundationAccordionStyles",
1975
+ "name": "actionsMenuBaseStyles",
1922
1976
  "declaration": {
1923
- "name": "foundationAccordionStyles",
1924
- "module": "src/accordion/accordion.styles.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1925
1987
  }
1926
1988
  }
1927
1989
  ]
1928
1990
  },
1929
1991
  {
1930
1992
  "kind": "javascript-module",
1931
- "path": "src/accordion/accordion.template.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1932
1994
  "declarations": [
1933
1995
  {
1934
1996
  "kind": "function",
1935
- "name": "foundationAccordionTemplate",
1936
- "return": {
1937
- "type": {
1938
- "text": "ViewTemplate<Accordion>"
1939
- }
1940
- },
1997
+ "name": "menuTemplate",
1941
1998
  "parameters": [
1942
1999
  {
1943
- "name": "context",
2000
+ "name": "prefix",
1944
2001
  "type": {
1945
- "text": "ElementDefinitionContext"
2002
+ "text": "string"
1946
2003
  }
1947
- },
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "singleOptionTemplate",
2010
+ "parameters": [
1948
2011
  {
1949
- "name": "definition",
2012
+ "name": "prefix",
1950
2013
  "type": {
1951
- "text": "FoundationElementDefinition"
2014
+ "text": "string"
1952
2015
  }
1953
2016
  }
1954
2017
  ]
2018
+ },
2019
+ {
2020
+ "kind": "variable",
2021
+ "name": "foundationActionsMenuTemplate",
2022
+ "type": {
2023
+ "text": "ViewTemplate<ActionsMenu>"
2024
+ },
2025
+ "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`"
1955
2026
  }
1956
2027
  ],
1957
2028
  "exports": [
1958
2029
  {
1959
2030
  "kind": "js",
1960
- "name": "foundationAccordionTemplate",
2031
+ "name": "menuTemplate",
1961
2032
  "declaration": {
1962
- "name": "foundationAccordionTemplate",
1963
- "module": "src/accordion/accordion.template.ts"
2033
+ "name": "menuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ },
2037
+ {
2038
+ "kind": "js",
2039
+ "name": "singleOptionTemplate",
2040
+ "declaration": {
2041
+ "name": "singleOptionTemplate",
2042
+ "module": "src/actions-menu/actions-menu.template.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "foundationActionsMenuTemplate",
2048
+ "declaration": {
2049
+ "name": "foundationActionsMenuTemplate",
2050
+ "module": "src/actions-menu/actions-menu.template.ts"
1964
2051
  }
1965
2052
  }
1966
2053
  ]
1967
2054
  },
1968
2055
  {
1969
2056
  "kind": "javascript-module",
1970
- "path": "src/accordion/accordion.ts",
2057
+ "path": "src/actions-menu/actions-menu.ts",
1971
2058
  "declarations": [
1972
2059
  {
1973
2060
  "kind": "class",
1974
2061
  "description": "",
1975
- "name": "Accordion",
1976
- "superclass": {
1977
- "name": "FASTAccordion",
1978
- "package": "@microsoft/fast-foundation"
1979
- },
1980
- "tagName": "%%prefix%%-accordion",
1981
- "customElement": true,
1982
- "attributes": [
2062
+ "name": "ActionsMenu",
2063
+ "members": [
1983
2064
  {
1984
- "name": "expand-mode",
2065
+ "kind": "field",
2066
+ "name": "actions",
1985
2067
  "type": {
1986
- "text": "AccordionExpandMode"
1987
- },
1988
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1989
- "fieldName": "expandmode",
1990
- "inheritedFrom": {
1991
- "name": "Accordion",
1992
- "module": "src/accordion/accordion.ts"
2068
+ "text": "ActionMenuItem[]"
1993
2069
  }
1994
- }
1995
- ],
1996
- "members": [
2070
+ },
1997
2071
  {
1998
2072
  "kind": "field",
1999
- "name": "expandmode",
2073
+ "name": "isVertical",
2000
2074
  "type": {
2001
- "text": "AccordionExpandMode"
2075
+ "text": "boolean"
2002
2076
  },
2003
- "privacy": "public",
2004
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2005
- "inheritedFrom": {
2006
- "name": "Accordion",
2007
- "module": "src/accordion/accordion.ts"
2008
- }
2077
+ "default": "false"
2009
2078
  },
2010
2079
  {
2011
2080
  "kind": "field",
2012
- "name": "activeid",
2081
+ "name": "addDefaultActions",
2013
2082
  "type": {
2014
- "text": "string | null"
2083
+ "text": "boolean"
2015
2084
  },
2016
- "privacy": "private",
2017
- "inheritedFrom": {
2018
- "name": "Accordion",
2019
- "module": "src/accordion/accordion.ts"
2020
- }
2085
+ "default": "true"
2021
2086
  },
2022
2087
  {
2023
2088
  "kind": "field",
2024
- "name": "activeItemIndex",
2089
+ "name": "autoCloseOnAction",
2025
2090
  "type": {
2026
- "text": "number"
2091
+ "text": "boolean"
2027
2092
  },
2028
- "privacy": "private",
2029
- "default": "0",
2030
- "inheritedFrom": {
2031
- "name": "Accordion",
2032
- "module": "src/accordion/accordion.ts"
2033
- }
2093
+ "default": "true"
2034
2094
  },
2035
2095
  {
2036
2096
  "kind": "field",
2037
- "name": "accordionIds",
2097
+ "name": "classNames",
2038
2098
  "type": {
2039
- "text": "Array<string | null>"
2040
- },
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2099
+ "text": "string"
2045
2100
  }
2046
2101
  },
2047
2102
  {
2048
2103
  "kind": "field",
2049
- "name": "change",
2050
- "privacy": "private",
2051
- "inheritedFrom": {
2052
- "name": "Accordion",
2053
- "module": "src/accordion/accordion.ts"
2104
+ "name": "definition",
2105
+ "type": {
2106
+ "text": "any"
2054
2107
  }
2055
2108
  },
2056
2109
  {
2057
- "kind": "method",
2058
- "name": "findExpandedItem",
2059
- "privacy": "private",
2060
- "return": {
2061
- "type": {
2062
- "text": "AccordionItem | null"
2063
- }
2110
+ "kind": "field",
2111
+ "name": "name",
2112
+ "type": {
2113
+ "text": "string"
2064
2114
  },
2065
- "inheritedFrom": {
2066
- "name": "Accordion",
2067
- "module": "src/accordion/accordion.ts"
2068
- }
2115
+ "default": "'Actions'"
2069
2116
  },
2070
2117
  {
2071
2118
  "kind": "field",
2072
- "name": "setItems",
2073
- "privacy": "private",
2074
- "inheritedFrom": {
2075
- "name": "Accordion",
2076
- "module": "src/accordion/accordion.ts"
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2077
2130
  }
2078
2131
  },
2079
2132
  {
2080
- "kind": "method",
2081
- "name": "resetItems",
2082
- "privacy": "private",
2083
- "return": {
2084
- "type": {
2085
- "text": "void"
2086
- }
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2087
2137
  },
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2091
2153
  }
2092
2154
  },
2093
2155
  {
2094
2156
  "kind": "field",
2095
- "name": "removeItemListeners",
2096
- "privacy": "private",
2097
- "inheritedFrom": {
2098
- "name": "Accordion",
2099
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2100
2160
  }
2101
2161
  },
2102
2162
  {
2103
2163
  "kind": "field",
2104
- "name": "activeItemChange",
2105
- "privacy": "private",
2106
- "inheritedFrom": {
2107
- "name": "Accordion",
2108
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2109
2167
  }
2110
2168
  },
2111
2169
  {
2112
2170
  "kind": "method",
2113
- "name": "getItemIds",
2114
- "privacy": "private",
2115
- "return": {
2116
- "type": {
2117
- "text": "Array<string | null>"
2171
+ "name": "updateMenuPosition",
2172
+ "privacy": "private"
2173
+ },
2174
+ {
2175
+ "kind": "method",
2176
+ "name": "definitionChanged",
2177
+ "privacy": "protected",
2178
+ "parameters": [
2179
+ {
2180
+ "name": "oldValue",
2181
+ "type": {
2182
+ "text": "any"
2183
+ }
2184
+ },
2185
+ {
2186
+ "name": "newValue",
2187
+ "type": {
2188
+ "text": "any"
2189
+ }
2118
2190
  }
2119
- },
2120
- "inheritedFrom": {
2121
- "name": "Accordion",
2122
- "module": "src/accordion/accordion.ts"
2123
- }
2191
+ ]
2124
2192
  },
2125
2193
  {
2126
2194
  "kind": "method",
2127
- "name": "isSingleExpandMode",
2128
- "privacy": "private",
2129
- "return": {
2130
- "type": {
2131
- "text": "boolean"
2195
+ "name": "openChanged",
2196
+ "privacy": "protected"
2197
+ },
2198
+ {
2199
+ "kind": "method",
2200
+ "name": "toggleActionsMenuVisibility"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "onActionMenuItemClick",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "callback",
2208
+ "type": {
2209
+ "text": "(rowData) => void | any"
2210
+ }
2132
2211
  }
2133
- },
2134
- "inheritedFrom": {
2135
- "name": "Accordion",
2136
- "module": "src/accordion/accordion.ts"
2137
- }
2212
+ ]
2138
2213
  },
2139
2214
  {
2140
2215
  "kind": "field",
2141
- "name": "handleItemKeyDown",
2142
- "privacy": "private",
2143
- "inheritedFrom": {
2144
- "name": "Accordion",
2145
- "module": "src/accordion/accordion.ts"
2146
- }
2216
+ "name": "allActions",
2217
+ "type": {
2218
+ "text": "ActionMenuItem[]"
2219
+ },
2220
+ "readonly": true
2147
2221
  },
2148
2222
  {
2149
2223
  "kind": "field",
2150
- "name": "handleItemFocus",
2151
- "privacy": "private",
2152
- "inheritedFrom": {
2153
- "name": "Accordion",
2154
- "module": "src/accordion/accordion.ts"
2155
- }
2224
+ "name": "rowData",
2225
+ "readonly": true
2156
2226
  },
2157
2227
  {
2158
2228
  "kind": "method",
2159
- "name": "adjust",
2160
- "privacy": "private",
2161
- "return": {
2162
- "type": {
2163
- "text": "void"
2164
- }
2165
- },
2229
+ "name": "getLabel",
2166
2230
  "parameters": [
2167
2231
  {
2168
- "name": "adjustment",
2232
+ "name": "name",
2169
2233
  "type": {
2170
- "text": "number"
2234
+ "text": "string | ((rowData: any) => string)"
2171
2235
  }
2172
2236
  }
2173
- ],
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2237
+ ]
2178
2238
  },
2179
2239
  {
2180
2240
  "kind": "method",
2181
- "name": "focusItem",
2182
- "privacy": "private",
2183
- "return": {
2184
- "type": {
2185
- "text": "void"
2241
+ "name": "getTemplate",
2242
+ "parameters": [
2243
+ {
2244
+ "name": "prefix",
2245
+ "type": {
2246
+ "text": "string"
2247
+ }
2186
2248
  }
2187
- },
2188
- "inheritedFrom": {
2189
- "name": "Accordion",
2190
- "module": "src/accordion/accordion.ts"
2191
- }
2249
+ ]
2192
2250
  },
2193
2251
  {
2194
2252
  "kind": "field",
@@ -2302,78 +2360,107 @@
2302
2360
  }
2303
2361
  }
2304
2362
  ],
2305
- "events": [
2363
+ "attributes": [
2306
2364
  {
2307
- "description": "Fires a custom 'change' event when the active item changes",
2308
- "name": "change",
2309
- "inheritedFrom": {
2310
- "name": "Accordion",
2311
- "module": "src/accordion/accordion.ts"
2312
- }
2365
+ "name": "is-vertical",
2366
+ "type": {
2367
+ "text": "boolean"
2368
+ },
2369
+ "default": "false",
2370
+ "fieldName": "isVertical"
2371
+ },
2372
+ {
2373
+ "name": "add-default-actions",
2374
+ "type": {
2375
+ "text": "boolean"
2376
+ },
2377
+ "default": "true",
2378
+ "fieldName": "addDefaultActions"
2379
+ },
2380
+ {
2381
+ "name": "auto-close-on-action",
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "default": "true",
2386
+ "fieldName": "autoCloseOnAction"
2387
+ },
2388
+ {
2389
+ "name": "name",
2390
+ "type": {
2391
+ "text": "string"
2392
+ },
2393
+ "default": "'Actions'",
2394
+ "fieldName": "name"
2395
+ },
2396
+ {
2397
+ "name": "open",
2398
+ "type": {
2399
+ "text": "boolean"
2400
+ },
2401
+ "default": "false",
2402
+ "fieldName": "open"
2403
+ },
2404
+ {
2405
+ "name": "buttonAppearance",
2406
+ "type": {
2407
+ "text": "string"
2408
+ },
2409
+ "fieldName": "buttonAppearance"
2410
+ },
2411
+ {
2412
+ "name": "hide-disabled",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "false",
2417
+ "fieldName": "hideDisabled"
2418
+ },
2419
+ {
2420
+ "name": "hide-menu-single-option",
2421
+ "type": {
2422
+ "text": "boolean"
2423
+ },
2424
+ "default": "false",
2425
+ "fieldName": "hideMenuSingleOption"
2313
2426
  }
2314
- ]
2315
- },
2316
- {
2317
- "kind": "variable",
2318
- "name": "foundationAccordionShadowOptions",
2319
- "type": {
2320
- "text": "ShadowRootInit"
2321
- },
2322
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2323
- },
2324
- {
2325
- "kind": "variable",
2326
- "name": "defaultAccordionConfig",
2327
- "type": {
2328
- "text": "object"
2427
+ ],
2428
+ "superclass": {
2429
+ "name": "FoundationElement",
2430
+ "package": "@microsoft/fast-foundation"
2329
2431
  },
2330
- "default": "{}"
2432
+ "tagName": "%%prefix%%-actions-menu",
2433
+ "customElement": true
2331
2434
  },
2332
2435
  {
2333
2436
  "kind": "variable",
2334
- "name": "foundationAccordion",
2335
- "description": "The Foundation Accordion",
2437
+ "name": "foundationActionsMenu",
2438
+ "description": "The Foundation Actions Menu",
2336
2439
  "privacy": "public"
2337
2440
  }
2338
2441
  ],
2339
2442
  "exports": [
2340
2443
  {
2341
2444
  "kind": "js",
2342
- "name": "Accordion",
2343
- "declaration": {
2344
- "name": "Accordion",
2345
- "module": "src/accordion/accordion.ts"
2346
- }
2347
- },
2348
- {
2349
- "kind": "js",
2350
- "name": "foundationAccordionShadowOptions",
2351
- "declaration": {
2352
- "name": "foundationAccordionShadowOptions",
2353
- "module": "src/accordion/accordion.ts"
2354
- }
2355
- },
2356
- {
2357
- "kind": "js",
2358
- "name": "defaultAccordionConfig",
2445
+ "name": "ActionsMenu",
2359
2446
  "declaration": {
2360
- "name": "defaultAccordionConfig",
2361
- "module": "src/accordion/accordion.ts"
2447
+ "name": "ActionsMenu",
2448
+ "module": "src/actions-menu/actions-menu.ts"
2362
2449
  }
2363
2450
  },
2364
2451
  {
2365
2452
  "kind": "js",
2366
- "name": "foundationAccordion",
2453
+ "name": "foundationActionsMenu",
2367
2454
  "declaration": {
2368
- "name": "foundationAccordion",
2369
- "module": "src/accordion/accordion.ts"
2455
+ "name": "foundationActionsMenu",
2456
+ "module": "src/actions-menu/actions-menu.ts"
2370
2457
  }
2371
2458
  }
2372
2459
  ]
2373
2460
  },
2374
2461
  {
2375
2462
  "kind": "javascript-module",
2376
- "path": "src/accordion/index.ts",
2463
+ "path": "src/actions-menu/index.ts",
2377
2464
  "declarations": [],
2378
2465
  "exports": [
2379
2466
  {
@@ -2381,7 +2468,7 @@
2381
2468
  "name": "*",
2382
2469
  "declaration": {
2383
2470
  "name": "*",
2384
- "package": "./accordion.template"
2471
+ "package": "./actions-menu.styles"
2385
2472
  }
2386
2473
  },
2387
2474
  {
@@ -2389,7 +2476,7 @@
2389
2476
  "name": "*",
2390
2477
  "declaration": {
2391
2478
  "name": "*",
2392
- "package": "./accordion.styles"
2479
+ "package": "./actions-menu.template"
2393
2480
  }
2394
2481
  },
2395
2482
  {
@@ -2397,41 +2484,18 @@
2397
2484
  "name": "*",
2398
2485
  "declaration": {
2399
2486
  "name": "*",
2400
- "package": "./accordion"
2487
+ "package": "./actions-menu"
2401
2488
  }
2402
2489
  }
2403
2490
  ]
2404
2491
  },
2405
2492
  {
2406
2493
  "kind": "javascript-module",
2407
- "path": "src/actions-menu/actions-menu.styles.ts",
2494
+ "path": "src/accordion/accordion.styles.ts",
2408
2495
  "declarations": [
2409
2496
  {
2410
2497
  "kind": "function",
2411
- "name": "actionsMenuBaseStyles",
2412
- "return": {
2413
- "type": {
2414
- "text": "ElementStyles"
2415
- }
2416
- },
2417
- "parameters": [
2418
- {
2419
- "name": "context",
2420
- "type": {
2421
- "text": "ElementDefinitionContext"
2422
- }
2423
- },
2424
- {
2425
- "name": "definition",
2426
- "type": {
2427
- "text": "FoundationElementDefinition"
2428
- }
2429
- }
2430
- ]
2431
- },
2432
- {
2433
- "kind": "function",
2434
- "name": "foundationActionsMenuStyles",
2498
+ "name": "foundationAccordionStyles",
2435
2499
  "return": {
2436
2500
  "type": {
2437
2501
  "text": "ElementStyles"
@@ -2456,281 +2520,277 @@
2456
2520
  "exports": [
2457
2521
  {
2458
2522
  "kind": "js",
2459
- "name": "actionsMenuBaseStyles",
2460
- "declaration": {
2461
- "name": "actionsMenuBaseStyles",
2462
- "module": "src/actions-menu/actions-menu.styles.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuStyles",
2523
+ "name": "foundationAccordionStyles",
2468
2524
  "declaration": {
2469
- "name": "foundationActionsMenuStyles",
2470
- "module": "src/actions-menu/actions-menu.styles.ts"
2525
+ "name": "foundationAccordionStyles",
2526
+ "module": "src/accordion/accordion.styles.ts"
2471
2527
  }
2472
2528
  }
2473
2529
  ]
2474
2530
  },
2475
2531
  {
2476
2532
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.template.ts",
2533
+ "path": "src/accordion/accordion.template.ts",
2478
2534
  "declarations": [
2479
2535
  {
2480
2536
  "kind": "function",
2481
- "name": "menuTemplate",
2537
+ "name": "foundationAccordionTemplate",
2538
+ "return": {
2539
+ "type": {
2540
+ "text": "ViewTemplate<Accordion>"
2541
+ }
2542
+ },
2482
2543
  "parameters": [
2483
2544
  {
2484
- "name": "prefix",
2545
+ "name": "context",
2485
2546
  "type": {
2486
- "text": "string"
2547
+ "text": "ElementDefinitionContext"
2487
2548
  }
2488
- }
2489
- ]
2490
- },
2491
- {
2492
- "kind": "function",
2493
- "name": "singleOptionTemplate",
2494
- "parameters": [
2549
+ },
2495
2550
  {
2496
- "name": "prefix",
2551
+ "name": "definition",
2497
2552
  "type": {
2498
- "text": "string"
2553
+ "text": "FoundationElementDefinition"
2499
2554
  }
2500
2555
  }
2501
2556
  ]
2502
- },
2503
- {
2504
- "kind": "variable",
2505
- "name": "foundationActionsMenuTemplate",
2506
- "type": {
2507
- "text": "ViewTemplate<ActionsMenu>"
2508
- },
2509
- "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`"
2510
2557
  }
2511
2558
  ],
2512
2559
  "exports": [
2513
2560
  {
2514
2561
  "kind": "js",
2515
- "name": "menuTemplate",
2516
- "declaration": {
2517
- "name": "menuTemplate",
2518
- "module": "src/actions-menu/actions-menu.template.ts"
2519
- }
2520
- },
2521
- {
2522
- "kind": "js",
2523
- "name": "singleOptionTemplate",
2524
- "declaration": {
2525
- "name": "singleOptionTemplate",
2526
- "module": "src/actions-menu/actions-menu.template.ts"
2527
- }
2528
- },
2529
- {
2530
- "kind": "js",
2531
- "name": "foundationActionsMenuTemplate",
2562
+ "name": "foundationAccordionTemplate",
2532
2563
  "declaration": {
2533
- "name": "foundationActionsMenuTemplate",
2534
- "module": "src/actions-menu/actions-menu.template.ts"
2564
+ "name": "foundationAccordionTemplate",
2565
+ "module": "src/accordion/accordion.template.ts"
2535
2566
  }
2536
2567
  }
2537
2568
  ]
2538
2569
  },
2539
2570
  {
2540
2571
  "kind": "javascript-module",
2541
- "path": "src/actions-menu/actions-menu.ts",
2572
+ "path": "src/accordion/accordion.ts",
2542
2573
  "declarations": [
2543
2574
  {
2544
2575
  "kind": "class",
2545
2576
  "description": "",
2546
- "name": "ActionsMenu",
2547
- "members": [
2577
+ "name": "Accordion",
2578
+ "superclass": {
2579
+ "name": "FASTAccordion",
2580
+ "package": "@microsoft/fast-foundation"
2581
+ },
2582
+ "tagName": "%%prefix%%-accordion",
2583
+ "customElement": true,
2584
+ "attributes": [
2548
2585
  {
2549
- "kind": "field",
2550
- "name": "actions",
2586
+ "name": "expand-mode",
2551
2587
  "type": {
2552
- "text": "ActionMenuItem[]"
2588
+ "text": "AccordionExpandMode"
2589
+ },
2590
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2591
+ "fieldName": "expandmode",
2592
+ "inheritedFrom": {
2593
+ "name": "Accordion",
2594
+ "module": "src/accordion/accordion.ts"
2553
2595
  }
2554
- },
2596
+ }
2597
+ ],
2598
+ "members": [
2555
2599
  {
2556
2600
  "kind": "field",
2557
- "name": "isVertical",
2601
+ "name": "expandmode",
2558
2602
  "type": {
2559
- "text": "boolean"
2603
+ "text": "AccordionExpandMode"
2560
2604
  },
2561
- "default": "false"
2605
+ "privacy": "public",
2606
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2607
+ "inheritedFrom": {
2608
+ "name": "Accordion",
2609
+ "module": "src/accordion/accordion.ts"
2610
+ }
2562
2611
  },
2563
2612
  {
2564
2613
  "kind": "field",
2565
- "name": "addDefaultActions",
2614
+ "name": "activeid",
2566
2615
  "type": {
2567
- "text": "boolean"
2616
+ "text": "string | null"
2568
2617
  },
2569
- "default": "true"
2618
+ "privacy": "private",
2619
+ "inheritedFrom": {
2620
+ "name": "Accordion",
2621
+ "module": "src/accordion/accordion.ts"
2622
+ }
2570
2623
  },
2571
2624
  {
2572
2625
  "kind": "field",
2573
- "name": "autoCloseOnAction",
2626
+ "name": "activeItemIndex",
2574
2627
  "type": {
2575
- "text": "boolean"
2628
+ "text": "number"
2576
2629
  },
2577
- "default": "true"
2578
- },
2579
- {
2580
- "kind": "field",
2581
- "name": "classNames",
2582
- "type": {
2583
- "text": "string"
2630
+ "privacy": "private",
2631
+ "default": "0",
2632
+ "inheritedFrom": {
2633
+ "name": "Accordion",
2634
+ "module": "src/accordion/accordion.ts"
2584
2635
  }
2585
2636
  },
2586
2637
  {
2587
2638
  "kind": "field",
2588
- "name": "definition",
2639
+ "name": "accordionIds",
2589
2640
  "type": {
2590
- "text": "any"
2641
+ "text": "Array<string | null>"
2642
+ },
2643
+ "privacy": "private",
2644
+ "inheritedFrom": {
2645
+ "name": "Accordion",
2646
+ "module": "src/accordion/accordion.ts"
2591
2647
  }
2592
2648
  },
2593
2649
  {
2594
2650
  "kind": "field",
2595
- "name": "name",
2596
- "type": {
2597
- "text": "string"
2598
- },
2599
- "default": "'Actions'"
2651
+ "name": "change",
2652
+ "privacy": "private",
2653
+ "inheritedFrom": {
2654
+ "name": "Accordion",
2655
+ "module": "src/accordion/accordion.ts"
2656
+ }
2600
2657
  },
2601
2658
  {
2602
- "kind": "field",
2603
- "name": "open",
2604
- "type": {
2605
- "text": "boolean"
2659
+ "kind": "method",
2660
+ "name": "findExpandedItem",
2661
+ "privacy": "private",
2662
+ "return": {
2663
+ "type": {
2664
+ "text": "AccordionItem | null"
2665
+ }
2606
2666
  },
2607
- "default": "false"
2608
- },
2609
- {
2610
- "kind": "field",
2611
- "name": "buttonAppearance",
2612
- "type": {
2613
- "text": "string"
2667
+ "inheritedFrom": {
2668
+ "name": "Accordion",
2669
+ "module": "src/accordion/accordion.ts"
2614
2670
  }
2615
2671
  },
2616
2672
  {
2617
2673
  "kind": "field",
2618
- "name": "hideDisabled",
2619
- "type": {
2620
- "text": "boolean"
2621
- },
2622
- "default": "false"
2674
+ "name": "setItems",
2675
+ "privacy": "private",
2676
+ "inheritedFrom": {
2677
+ "name": "Accordion",
2678
+ "module": "src/accordion/accordion.ts"
2679
+ }
2623
2680
  },
2624
2681
  {
2625
- "kind": "field",
2626
- "name": "hideMenuSingleOption",
2627
- "type": {
2628
- "text": "boolean"
2682
+ "kind": "method",
2683
+ "name": "resetItems",
2684
+ "privacy": "private",
2685
+ "return": {
2686
+ "type": {
2687
+ "text": "void"
2688
+ }
2629
2689
  },
2630
- "default": "false"
2631
- },
2632
- {
2633
- "kind": "field",
2634
- "name": "singleOption",
2635
- "type": {
2636
- "text": "ActionMenuItem"
2690
+ "inheritedFrom": {
2691
+ "name": "Accordion",
2692
+ "module": "src/accordion/accordion.ts"
2637
2693
  }
2638
2694
  },
2639
2695
  {
2640
2696
  "kind": "field",
2641
- "name": "actionsMenu",
2642
- "type": {
2643
- "text": "HTMLElement"
2697
+ "name": "removeItemListeners",
2698
+ "privacy": "private",
2699
+ "inheritedFrom": {
2700
+ "name": "Accordion",
2701
+ "module": "src/accordion/accordion.ts"
2644
2702
  }
2645
2703
  },
2646
2704
  {
2647
2705
  "kind": "field",
2648
- "name": "actionsOpener",
2649
- "type": {
2650
- "text": "HTMLElement"
2706
+ "name": "activeItemChange",
2707
+ "privacy": "private",
2708
+ "inheritedFrom": {
2709
+ "name": "Accordion",
2710
+ "module": "src/accordion/accordion.ts"
2651
2711
  }
2652
2712
  },
2653
2713
  {
2654
2714
  "kind": "method",
2655
- "name": "updateMenuPosition",
2656
- "privacy": "private"
2657
- },
2658
- {
2659
- "kind": "method",
2660
- "name": "definitionChanged",
2661
- "privacy": "protected",
2662
- "parameters": [
2663
- {
2664
- "name": "oldValue",
2665
- "type": {
2666
- "text": "any"
2667
- }
2668
- },
2669
- {
2670
- "name": "newValue",
2671
- "type": {
2672
- "text": "any"
2673
- }
2715
+ "name": "getItemIds",
2716
+ "privacy": "private",
2717
+ "return": {
2718
+ "type": {
2719
+ "text": "Array<string | null>"
2674
2720
  }
2675
- ]
2676
- },
2677
- {
2678
- "kind": "method",
2679
- "name": "openChanged",
2680
- "privacy": "protected"
2681
- },
2682
- {
2683
- "kind": "method",
2684
- "name": "toggleActionsMenuVisibility"
2721
+ },
2722
+ "inheritedFrom": {
2723
+ "name": "Accordion",
2724
+ "module": "src/accordion/accordion.ts"
2725
+ }
2685
2726
  },
2686
2727
  {
2687
2728
  "kind": "method",
2688
- "name": "onActionMenuItemClick",
2689
- "parameters": [
2690
- {
2691
- "name": "callback",
2692
- "type": {
2693
- "text": "(rowData) => void | any"
2694
- }
2729
+ "name": "isSingleExpandMode",
2730
+ "privacy": "private",
2731
+ "return": {
2732
+ "type": {
2733
+ "text": "boolean"
2695
2734
  }
2696
- ]
2735
+ },
2736
+ "inheritedFrom": {
2737
+ "name": "Accordion",
2738
+ "module": "src/accordion/accordion.ts"
2739
+ }
2697
2740
  },
2698
2741
  {
2699
2742
  "kind": "field",
2700
- "name": "allActions",
2701
- "type": {
2702
- "text": "ActionMenuItem[]"
2703
- },
2704
- "readonly": true
2743
+ "name": "handleItemKeyDown",
2744
+ "privacy": "private",
2745
+ "inheritedFrom": {
2746
+ "name": "Accordion",
2747
+ "module": "src/accordion/accordion.ts"
2748
+ }
2705
2749
  },
2706
2750
  {
2707
2751
  "kind": "field",
2708
- "name": "rowData",
2709
- "readonly": true
2752
+ "name": "handleItemFocus",
2753
+ "privacy": "private",
2754
+ "inheritedFrom": {
2755
+ "name": "Accordion",
2756
+ "module": "src/accordion/accordion.ts"
2757
+ }
2710
2758
  },
2711
2759
  {
2712
2760
  "kind": "method",
2713
- "name": "getLabel",
2761
+ "name": "adjust",
2762
+ "privacy": "private",
2763
+ "return": {
2764
+ "type": {
2765
+ "text": "void"
2766
+ }
2767
+ },
2714
2768
  "parameters": [
2715
2769
  {
2716
- "name": "name",
2770
+ "name": "adjustment",
2717
2771
  "type": {
2718
- "text": "string | ((rowData: any) => string)"
2772
+ "text": "number"
2719
2773
  }
2720
2774
  }
2721
- ]
2775
+ ],
2776
+ "inheritedFrom": {
2777
+ "name": "Accordion",
2778
+ "module": "src/accordion/accordion.ts"
2779
+ }
2722
2780
  },
2723
2781
  {
2724
2782
  "kind": "method",
2725
- "name": "getTemplate",
2726
- "parameters": [
2727
- {
2728
- "name": "prefix",
2729
- "type": {
2730
- "text": "string"
2731
- }
2783
+ "name": "focusItem",
2784
+ "privacy": "private",
2785
+ "return": {
2786
+ "type": {
2787
+ "text": "void"
2732
2788
  }
2733
- ]
2789
+ },
2790
+ "inheritedFrom": {
2791
+ "name": "Accordion",
2792
+ "module": "src/accordion/accordion.ts"
2793
+ }
2734
2794
  },
2735
2795
  {
2736
2796
  "kind": "field",
@@ -2844,107 +2904,78 @@
2844
2904
  }
2845
2905
  }
2846
2906
  ],
2847
- "attributes": [
2848
- {
2849
- "name": "is-vertical",
2850
- "type": {
2851
- "text": "boolean"
2852
- },
2853
- "default": "false",
2854
- "fieldName": "isVertical"
2855
- },
2856
- {
2857
- "name": "add-default-actions",
2858
- "type": {
2859
- "text": "boolean"
2860
- },
2861
- "default": "true",
2862
- "fieldName": "addDefaultActions"
2863
- },
2864
- {
2865
- "name": "auto-close-on-action",
2866
- "type": {
2867
- "text": "boolean"
2868
- },
2869
- "default": "true",
2870
- "fieldName": "autoCloseOnAction"
2871
- },
2872
- {
2873
- "name": "name",
2874
- "type": {
2875
- "text": "string"
2876
- },
2877
- "default": "'Actions'",
2878
- "fieldName": "name"
2879
- },
2880
- {
2881
- "name": "open",
2882
- "type": {
2883
- "text": "boolean"
2884
- },
2885
- "default": "false",
2886
- "fieldName": "open"
2887
- },
2888
- {
2889
- "name": "buttonAppearance",
2890
- "type": {
2891
- "text": "string"
2892
- },
2893
- "fieldName": "buttonAppearance"
2894
- },
2895
- {
2896
- "name": "hide-disabled",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "false",
2901
- "fieldName": "hideDisabled"
2902
- },
2907
+ "events": [
2903
2908
  {
2904
- "name": "hide-menu-single-option",
2905
- "type": {
2906
- "text": "boolean"
2907
- },
2908
- "default": "false",
2909
- "fieldName": "hideMenuSingleOption"
2909
+ "description": "Fires a custom 'change' event when the active item changes",
2910
+ "name": "change",
2911
+ "inheritedFrom": {
2912
+ "name": "Accordion",
2913
+ "module": "src/accordion/accordion.ts"
2914
+ }
2910
2915
  }
2911
- ],
2912
- "superclass": {
2913
- "name": "FoundationElement",
2914
- "package": "@microsoft/fast-foundation"
2916
+ ]
2917
+ },
2918
+ {
2919
+ "kind": "variable",
2920
+ "name": "foundationAccordionShadowOptions",
2921
+ "type": {
2922
+ "text": "ShadowRootInit"
2915
2923
  },
2916
- "tagName": "%%prefix%%-actions-menu",
2917
- "customElement": true
2924
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2918
2925
  },
2919
2926
  {
2920
2927
  "kind": "variable",
2921
- "name": "foundationActionsMenu",
2922
- "description": "The Foundation Actions Menu",
2928
+ "name": "defaultAccordionConfig",
2929
+ "type": {
2930
+ "text": "object"
2931
+ },
2932
+ "default": "{}"
2933
+ },
2934
+ {
2935
+ "kind": "variable",
2936
+ "name": "foundationAccordion",
2937
+ "description": "The Foundation Accordion",
2923
2938
  "privacy": "public"
2924
2939
  }
2925
2940
  ],
2926
2941
  "exports": [
2927
2942
  {
2928
2943
  "kind": "js",
2929
- "name": "ActionsMenu",
2944
+ "name": "Accordion",
2930
2945
  "declaration": {
2931
- "name": "ActionsMenu",
2932
- "module": "src/actions-menu/actions-menu.ts"
2946
+ "name": "Accordion",
2947
+ "module": "src/accordion/accordion.ts"
2933
2948
  }
2934
2949
  },
2935
2950
  {
2936
2951
  "kind": "js",
2937
- "name": "foundationActionsMenu",
2952
+ "name": "foundationAccordionShadowOptions",
2938
2953
  "declaration": {
2939
- "name": "foundationActionsMenu",
2940
- "module": "src/actions-menu/actions-menu.ts"
2954
+ "name": "foundationAccordionShadowOptions",
2955
+ "module": "src/accordion/accordion.ts"
2956
+ }
2957
+ },
2958
+ {
2959
+ "kind": "js",
2960
+ "name": "defaultAccordionConfig",
2961
+ "declaration": {
2962
+ "name": "defaultAccordionConfig",
2963
+ "module": "src/accordion/accordion.ts"
2964
+ }
2965
+ },
2966
+ {
2967
+ "kind": "js",
2968
+ "name": "foundationAccordion",
2969
+ "declaration": {
2970
+ "name": "foundationAccordion",
2971
+ "module": "src/accordion/accordion.ts"
2941
2972
  }
2942
2973
  }
2943
2974
  ]
2944
2975
  },
2945
2976
  {
2946
2977
  "kind": "javascript-module",
2947
- "path": "src/actions-menu/index.ts",
2978
+ "path": "src/accordion/index.ts",
2948
2979
  "declarations": [],
2949
2980
  "exports": [
2950
2981
  {
@@ -2952,7 +2983,7 @@
2952
2983
  "name": "*",
2953
2984
  "declaration": {
2954
2985
  "name": "*",
2955
- "package": "./actions-menu.styles"
2986
+ "package": "./accordion.template"
2956
2987
  }
2957
2988
  },
2958
2989
  {
@@ -2960,7 +2991,7 @@
2960
2991
  "name": "*",
2961
2992
  "declaration": {
2962
2993
  "name": "*",
2963
- "package": "./actions-menu.template"
2994
+ "package": "./accordion.styles"
2964
2995
  }
2965
2996
  },
2966
2997
  {
@@ -2968,7 +2999,7 @@
2968
2999
  "name": "*",
2969
3000
  "declaration": {
2970
3001
  "name": "*",
2971
- "package": "./actions-menu"
3002
+ "package": "./accordion"
2972
3003
  }
2973
3004
  }
2974
3005
  ]
@@ -4031,37 +4062,6 @@
4031
4062
  }
4032
4063
  ]
4033
4064
  },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4039
- {
4040
- "kind": "js",
4041
- "name": "*",
4042
- "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4045
- }
4046
- },
4047
- {
4048
- "kind": "js",
4049
- "name": "*",
4050
- "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4053
- }
4054
- },
4055
- {
4056
- "kind": "js",
4057
- "name": "*",
4058
- "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4061
- }
4062
- }
4063
- ]
4064
- },
4065
4065
  {
4066
4066
  "kind": "javascript-module",
4067
4067
  "path": "src/anchor/anchor.styles.ts",
@@ -60218,197 +60218,6 @@
60218
60218
  }
60219
60219
  ]
60220
60220
  },
60221
- {
60222
- "kind": "javascript-module",
60223
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60224
- "declarations": [],
60225
- "exports": []
60226
- },
60227
- {
60228
- "kind": "javascript-module",
60229
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60230
- "declarations": [
60231
- {
60232
- "kind": "function",
60233
- "name": "groupsToCriteria",
60234
- "return": {
60235
- "type": {
60236
- "text": "string"
60237
- }
60238
- },
60239
- "parameters": [
60240
- {
60241
- "name": "groups",
60242
- "type": {
60243
- "text": "CriteriaGroup[]"
60244
- }
60245
- }
60246
- ],
60247
- "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."
60248
- },
60249
- {
60250
- "kind": "variable",
60251
- "name": "STRING_OPERATORS",
60252
- "type": {
60253
- "text": "CriteriaOperator[]"
60254
- },
60255
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60256
- },
60257
- {
60258
- "kind": "variable",
60259
- "name": "NUMERIC_OPERATORS",
60260
- "type": {
60261
- "text": "CriteriaOperator[]"
60262
- },
60263
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60264
- },
60265
- {
60266
- "kind": "variable",
60267
- "name": "DATE_OPERATORS",
60268
- "type": {
60269
- "text": "CriteriaOperator[]"
60270
- },
60271
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60272
- },
60273
- {
60274
- "kind": "variable",
60275
- "name": "DATETIME_OPERATORS",
60276
- "type": {
60277
- "text": "CriteriaOperator[]"
60278
- },
60279
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60280
- },
60281
- {
60282
- "kind": "variable",
60283
- "name": "OPERATOR_DISPLAY_LABEL",
60284
- "type": {
60285
- "text": "Record<CriteriaOperator, string>"
60286
- },
60287
- "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}"
60288
- }
60289
- ],
60290
- "exports": [
60291
- {
60292
- "kind": "js",
60293
- "name": "groupsToCriteria",
60294
- "declaration": {
60295
- "name": "groupsToCriteria",
60296
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60297
- }
60298
- },
60299
- {
60300
- "kind": "js",
60301
- "name": "STRING_OPERATORS",
60302
- "declaration": {
60303
- "name": "STRING_OPERATORS",
60304
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60305
- }
60306
- },
60307
- {
60308
- "kind": "js",
60309
- "name": "NUMERIC_OPERATORS",
60310
- "declaration": {
60311
- "name": "NUMERIC_OPERATORS",
60312
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60313
- }
60314
- },
60315
- {
60316
- "kind": "js",
60317
- "name": "DATE_OPERATORS",
60318
- "declaration": {
60319
- "name": "DATE_OPERATORS",
60320
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60321
- }
60322
- },
60323
- {
60324
- "kind": "js",
60325
- "name": "DATETIME_OPERATORS",
60326
- "declaration": {
60327
- "name": "DATETIME_OPERATORS",
60328
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60329
- }
60330
- },
60331
- {
60332
- "kind": "js",
60333
- "name": "OPERATOR_DISPLAY_LABEL",
60334
- "declaration": {
60335
- "name": "OPERATOR_DISPLAY_LABEL",
60336
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60337
- }
60338
- }
60339
- ]
60340
- },
60341
- {
60342
- "kind": "javascript-module",
60343
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60344
- "declarations": [
60345
- {
60346
- "kind": "function",
60347
- "name": "validateClauses",
60348
- "return": {
60349
- "type": {
60350
- "text": "ValidationResult"
60351
- }
60352
- },
60353
- "parameters": [
60354
- {
60355
- "name": "clauses",
60356
- "type": {
60357
- "text": "CriteriaClause[]"
60358
- }
60359
- },
60360
- {
60361
- "name": "fieldMetadata",
60362
- "type": {
60363
- "text": "MetadataDetail[] | string[]"
60364
- }
60365
- }
60366
- ]
60367
- },
60368
- {
60369
- "kind": "function",
60370
- "name": "validateGroups",
60371
- "return": {
60372
- "type": {
60373
- "text": "GroupsValidationResult"
60374
- }
60375
- },
60376
- "parameters": [
60377
- {
60378
- "name": "groups",
60379
- "type": {
60380
- "text": "CriteriaGroup[]"
60381
- }
60382
- },
60383
- {
60384
- "name": "fieldMetadata",
60385
- "type": {
60386
- "text": "MetadataDetail[] | string[]"
60387
- }
60388
- }
60389
- ],
60390
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60391
- }
60392
- ],
60393
- "exports": [
60394
- {
60395
- "kind": "js",
60396
- "name": "validateClauses",
60397
- "declaration": {
60398
- "name": "validateClauses",
60399
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60400
- }
60401
- },
60402
- {
60403
- "kind": "js",
60404
- "name": "validateGroups",
60405
- "declaration": {
60406
- "name": "validateGroups",
60407
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60408
- }
60409
- }
60410
- ]
60411
- },
60412
60221
  {
60413
60222
  "kind": "javascript-module",
60414
60223
  "path": "src/_config/styles/colors.ts",
@@ -61781,6 +61590,197 @@
61781
61590
  "declarations": [],
61782
61591
  "exports": []
61783
61592
  },
61593
+ {
61594
+ "kind": "javascript-module",
61595
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61596
+ "declarations": [],
61597
+ "exports": []
61598
+ },
61599
+ {
61600
+ "kind": "javascript-module",
61601
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61602
+ "declarations": [
61603
+ {
61604
+ "kind": "function",
61605
+ "name": "groupsToCriteria",
61606
+ "return": {
61607
+ "type": {
61608
+ "text": "string"
61609
+ }
61610
+ },
61611
+ "parameters": [
61612
+ {
61613
+ "name": "groups",
61614
+ "type": {
61615
+ "text": "CriteriaGroup[]"
61616
+ }
61617
+ }
61618
+ ],
61619
+ "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."
61620
+ },
61621
+ {
61622
+ "kind": "variable",
61623
+ "name": "STRING_OPERATORS",
61624
+ "type": {
61625
+ "text": "CriteriaOperator[]"
61626
+ },
61627
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61628
+ },
61629
+ {
61630
+ "kind": "variable",
61631
+ "name": "NUMERIC_OPERATORS",
61632
+ "type": {
61633
+ "text": "CriteriaOperator[]"
61634
+ },
61635
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61636
+ },
61637
+ {
61638
+ "kind": "variable",
61639
+ "name": "DATE_OPERATORS",
61640
+ "type": {
61641
+ "text": "CriteriaOperator[]"
61642
+ },
61643
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61644
+ },
61645
+ {
61646
+ "kind": "variable",
61647
+ "name": "DATETIME_OPERATORS",
61648
+ "type": {
61649
+ "text": "CriteriaOperator[]"
61650
+ },
61651
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61652
+ },
61653
+ {
61654
+ "kind": "variable",
61655
+ "name": "OPERATOR_DISPLAY_LABEL",
61656
+ "type": {
61657
+ "text": "Record<CriteriaOperator, string>"
61658
+ },
61659
+ "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}"
61660
+ }
61661
+ ],
61662
+ "exports": [
61663
+ {
61664
+ "kind": "js",
61665
+ "name": "groupsToCriteria",
61666
+ "declaration": {
61667
+ "name": "groupsToCriteria",
61668
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61669
+ }
61670
+ },
61671
+ {
61672
+ "kind": "js",
61673
+ "name": "STRING_OPERATORS",
61674
+ "declaration": {
61675
+ "name": "STRING_OPERATORS",
61676
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61677
+ }
61678
+ },
61679
+ {
61680
+ "kind": "js",
61681
+ "name": "NUMERIC_OPERATORS",
61682
+ "declaration": {
61683
+ "name": "NUMERIC_OPERATORS",
61684
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61685
+ }
61686
+ },
61687
+ {
61688
+ "kind": "js",
61689
+ "name": "DATE_OPERATORS",
61690
+ "declaration": {
61691
+ "name": "DATE_OPERATORS",
61692
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61693
+ }
61694
+ },
61695
+ {
61696
+ "kind": "js",
61697
+ "name": "DATETIME_OPERATORS",
61698
+ "declaration": {
61699
+ "name": "DATETIME_OPERATORS",
61700
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61701
+ }
61702
+ },
61703
+ {
61704
+ "kind": "js",
61705
+ "name": "OPERATOR_DISPLAY_LABEL",
61706
+ "declaration": {
61707
+ "name": "OPERATOR_DISPLAY_LABEL",
61708
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61709
+ }
61710
+ }
61711
+ ]
61712
+ },
61713
+ {
61714
+ "kind": "javascript-module",
61715
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61716
+ "declarations": [
61717
+ {
61718
+ "kind": "function",
61719
+ "name": "validateClauses",
61720
+ "return": {
61721
+ "type": {
61722
+ "text": "ValidationResult"
61723
+ }
61724
+ },
61725
+ "parameters": [
61726
+ {
61727
+ "name": "clauses",
61728
+ "type": {
61729
+ "text": "CriteriaClause[]"
61730
+ }
61731
+ },
61732
+ {
61733
+ "name": "fieldMetadata",
61734
+ "type": {
61735
+ "text": "MetadataDetail[] | string[]"
61736
+ }
61737
+ }
61738
+ ]
61739
+ },
61740
+ {
61741
+ "kind": "function",
61742
+ "name": "validateGroups",
61743
+ "return": {
61744
+ "type": {
61745
+ "text": "GroupsValidationResult"
61746
+ }
61747
+ },
61748
+ "parameters": [
61749
+ {
61750
+ "name": "groups",
61751
+ "type": {
61752
+ "text": "CriteriaGroup[]"
61753
+ }
61754
+ },
61755
+ {
61756
+ "name": "fieldMetadata",
61757
+ "type": {
61758
+ "text": "MetadataDetail[] | string[]"
61759
+ }
61760
+ }
61761
+ ],
61762
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61763
+ }
61764
+ ],
61765
+ "exports": [
61766
+ {
61767
+ "kind": "js",
61768
+ "name": "validateClauses",
61769
+ "declaration": {
61770
+ "name": "validateClauses",
61771
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61772
+ }
61773
+ },
61774
+ {
61775
+ "kind": "js",
61776
+ "name": "validateGroups",
61777
+ "declaration": {
61778
+ "name": "validateGroups",
61779
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61780
+ }
61781
+ }
61782
+ ]
61783
+ },
61784
61784
  {
61785
61785
  "kind": "javascript-module",
61786
61786
  "path": "src/environment-indicator/utils/configure.ts",