@genesislcap/foundation-ui 15.36.2-alpha-ec480ce5f.0 → 15.37.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.
@@ -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,34 +1920,11 @@
1889
1920
  },
1890
1921
  {
1891
1922
  "kind": "javascript-module",
1892
- "path": "src/actions-menu/actions-menu.styles.ts",
1923
+ "path": "src/accordion/accordion.styles.ts",
1893
1924
  "declarations": [
1894
1925
  {
1895
1926
  "kind": "function",
1896
- "name": "actionsMenuBaseStyles",
1897
- "return": {
1898
- "type": {
1899
- "text": "ElementStyles"
1900
- }
1901
- },
1902
- "parameters": [
1903
- {
1904
- "name": "context",
1905
- "type": {
1906
- "text": "ElementDefinitionContext"
1907
- }
1908
- },
1909
- {
1910
- "name": "definition",
1911
- "type": {
1912
- "text": "FoundationElementDefinition"
1913
- }
1914
- }
1915
- ]
1916
- },
1917
- {
1918
- "kind": "function",
1919
- "name": "foundationActionsMenuStyles",
1927
+ "name": "foundationAccordionStyles",
1920
1928
  "return": {
1921
1929
  "type": {
1922
1930
  "text": "ElementStyles"
@@ -1941,825 +1949,277 @@
1941
1949
  "exports": [
1942
1950
  {
1943
1951
  "kind": "js",
1944
- "name": "actionsMenuBaseStyles",
1945
- "declaration": {
1946
- "name": "actionsMenuBaseStyles",
1947
- "module": "src/actions-menu/actions-menu.styles.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationActionsMenuStyles",
1952
+ "name": "foundationAccordionStyles",
1953
1953
  "declaration": {
1954
- "name": "foundationActionsMenuStyles",
1955
- "module": "src/actions-menu/actions-menu.styles.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
1956
1956
  }
1957
1957
  }
1958
1958
  ]
1959
1959
  },
1960
1960
  {
1961
1961
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/actions-menu.template.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
1963
1963
  "declarations": [
1964
1964
  {
1965
1965
  "kind": "function",
1966
- "name": "menuTemplate",
1966
+ "name": "foundationAccordionTemplate",
1967
+ "return": {
1968
+ "type": {
1969
+ "text": "ViewTemplate<Accordion>"
1970
+ }
1971
+ },
1967
1972
  "parameters": [
1968
1973
  {
1969
- "name": "prefix",
1974
+ "name": "context",
1970
1975
  "type": {
1971
- "text": "string"
1976
+ "text": "ElementDefinitionContext"
1972
1977
  }
1973
- }
1974
- ]
1975
- },
1976
- {
1977
- "kind": "function",
1978
- "name": "singleOptionTemplate",
1979
- "parameters": [
1978
+ },
1980
1979
  {
1981
- "name": "prefix",
1980
+ "name": "definition",
1982
1981
  "type": {
1983
- "text": "string"
1982
+ "text": "FoundationElementDefinition"
1984
1983
  }
1985
1984
  }
1986
1985
  ]
1987
- },
1988
- {
1989
- "kind": "variable",
1990
- "name": "foundationActionsMenuTemplate",
1991
- "type": {
1992
- "text": "ViewTemplate<ActionsMenu>"
1993
- },
1994
- "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`"
1995
1986
  }
1996
1987
  ],
1997
1988
  "exports": [
1998
1989
  {
1999
1990
  "kind": "js",
2000
- "name": "menuTemplate",
2001
- "declaration": {
2002
- "name": "menuTemplate",
2003
- "module": "src/actions-menu/actions-menu.template.ts"
2004
- }
2005
- },
2006
- {
2007
- "kind": "js",
2008
- "name": "singleOptionTemplate",
2009
- "declaration": {
2010
- "name": "singleOptionTemplate",
2011
- "module": "src/actions-menu/actions-menu.template.ts"
2012
- }
2013
- },
2014
- {
2015
- "kind": "js",
2016
- "name": "foundationActionsMenuTemplate",
1991
+ "name": "foundationAccordionTemplate",
2017
1992
  "declaration": {
2018
- "name": "foundationActionsMenuTemplate",
2019
- "module": "src/actions-menu/actions-menu.template.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2020
1995
  }
2021
1996
  }
2022
1997
  ]
2023
1998
  },
2024
1999
  {
2025
2000
  "kind": "javascript-module",
2026
- "path": "src/actions-menu/actions-menu.ts",
2001
+ "path": "src/accordion/accordion.ts",
2027
2002
  "declarations": [
2028
2003
  {
2029
2004
  "kind": "class",
2030
2005
  "description": "",
2031
- "name": "ActionsMenu",
2032
- "members": [
2006
+ "name": "Accordion",
2007
+ "superclass": {
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2010
+ },
2011
+ "tagName": "%%prefix%%-accordion",
2012
+ "customElement": true,
2013
+ "attributes": [
2033
2014
  {
2034
- "kind": "field",
2035
- "name": "actions",
2015
+ "name": "expand-mode",
2036
2016
  "type": {
2037
- "text": "ActionMenuItem[]"
2017
+ "text": "AccordionExpandMode"
2018
+ },
2019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
+ "fieldName": "expandmode",
2021
+ "inheritedFrom": {
2022
+ "name": "Accordion",
2023
+ "module": "src/accordion/accordion.ts"
2038
2024
  }
2039
- },
2025
+ }
2026
+ ],
2027
+ "members": [
2040
2028
  {
2041
2029
  "kind": "field",
2042
- "name": "isVertical",
2030
+ "name": "expandmode",
2043
2031
  "type": {
2044
- "text": "boolean"
2032
+ "text": "AccordionExpandMode"
2045
2033
  },
2046
- "default": "false"
2034
+ "privacy": "public",
2035
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
+ "inheritedFrom": {
2037
+ "name": "Accordion",
2038
+ "module": "src/accordion/accordion.ts"
2039
+ }
2047
2040
  },
2048
2041
  {
2049
2042
  "kind": "field",
2050
- "name": "addDefaultActions",
2043
+ "name": "activeid",
2051
2044
  "type": {
2052
- "text": "boolean"
2045
+ "text": "string | null"
2053
2046
  },
2054
- "default": "true"
2047
+ "privacy": "private",
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2055
2052
  },
2056
2053
  {
2057
2054
  "kind": "field",
2058
- "name": "autoCloseOnAction",
2055
+ "name": "activeItemIndex",
2059
2056
  "type": {
2060
- "text": "boolean"
2057
+ "text": "number"
2061
2058
  },
2062
- "default": "true"
2063
- },
2064
- {
2065
- "kind": "field",
2066
- "name": "classNames",
2067
- "type": {
2068
- "text": "string"
2059
+ "privacy": "private",
2060
+ "default": "0",
2061
+ "inheritedFrom": {
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2069
2064
  }
2070
2065
  },
2071
2066
  {
2072
2067
  "kind": "field",
2073
- "name": "definition",
2068
+ "name": "accordionIds",
2074
2069
  "type": {
2075
- "text": "any"
2070
+ "text": "Array<string | null>"
2071
+ },
2072
+ "privacy": "private",
2073
+ "inheritedFrom": {
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2076
2076
  }
2077
2077
  },
2078
2078
  {
2079
2079
  "kind": "field",
2080
- "name": "name",
2081
- "type": {
2082
- "text": "string"
2083
- },
2084
- "default": "'Actions'"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2085
+ }
2085
2086
  },
2086
2087
  {
2087
- "kind": "field",
2088
- "name": "open",
2089
- "type": {
2090
- "text": "boolean"
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2091
2095
  },
2092
- "default": "false"
2093
- },
2094
- {
2095
- "kind": "field",
2096
- "name": "buttonAppearance",
2097
- "type": {
2098
- "text": "string"
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2099
2099
  }
2100
2100
  },
2101
2101
  {
2102
2102
  "kind": "field",
2103
- "name": "hideDisabled",
2104
- "type": {
2105
- "text": "boolean"
2106
- },
2107
- "default": "false"
2103
+ "name": "setItems",
2104
+ "privacy": "private",
2105
+ "inheritedFrom": {
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2108
2109
  },
2109
2110
  {
2110
- "kind": "field",
2111
- "name": "hideMenuSingleOption",
2112
- "type": {
2113
- "text": "boolean"
2111
+ "kind": "method",
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2114
2118
  },
2115
- "default": "false"
2116
- },
2117
- {
2118
- "kind": "field",
2119
- "name": "singleOption",
2120
- "type": {
2121
- "text": "ActionMenuItem"
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2122
2122
  }
2123
2123
  },
2124
2124
  {
2125
2125
  "kind": "field",
2126
- "name": "actionsMenu",
2127
- "type": {
2128
- "text": "HTMLElement"
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2129
2131
  }
2130
2132
  },
2131
2133
  {
2132
2134
  "kind": "field",
2133
- "name": "actionsOpener",
2134
- "type": {
2135
- "text": "HTMLElement"
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2136
2140
  }
2137
2141
  },
2138
2142
  {
2139
2143
  "kind": "method",
2140
- "name": "updateMenuPosition",
2141
- "privacy": "private"
2142
- },
2143
- {
2144
- "kind": "method",
2145
- "name": "definitionChanged",
2146
- "privacy": "protected",
2147
- "parameters": [
2148
- {
2149
- "name": "oldValue",
2150
- "type": {
2151
- "text": "any"
2152
- }
2153
- },
2154
- {
2155
- "name": "newValue",
2156
- "type": {
2157
- "text": "any"
2158
- }
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2159
2149
  }
2160
- ]
2161
- },
2162
- {
2163
- "kind": "method",
2164
- "name": "openChanged",
2165
- "privacy": "protected"
2166
- },
2167
- {
2168
- "kind": "method",
2169
- "name": "toggleActionsMenuVisibility"
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2170
2155
  },
2171
2156
  {
2172
2157
  "kind": "method",
2173
- "name": "onActionMenuItemClick",
2174
- "parameters": [
2175
- {
2176
- "name": "callback",
2177
- "type": {
2178
- "text": "(rowData) => void | any"
2179
- }
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2160
+ "return": {
2161
+ "type": {
2162
+ "text": "boolean"
2180
2163
  }
2181
- ]
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2182
2169
  },
2183
2170
  {
2184
2171
  "kind": "field",
2185
- "name": "allActions",
2186
- "type": {
2187
- "text": "ActionMenuItem[]"
2188
- },
2189
- "readonly": true
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2177
+ }
2190
2178
  },
2191
2179
  {
2192
2180
  "kind": "field",
2193
- "name": "rowData",
2194
- "readonly": true
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2195
2187
  },
2196
2188
  {
2197
2189
  "kind": "method",
2198
- "name": "getLabel",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2192
+ "return": {
2193
+ "type": {
2194
+ "text": "void"
2195
+ }
2196
+ },
2199
2197
  "parameters": [
2200
2198
  {
2201
- "name": "name",
2199
+ "name": "adjustment",
2202
2200
  "type": {
2203
- "text": "string | ((rowData: any) => string)"
2201
+ "text": "number"
2204
2202
  }
2205
2203
  }
2206
- ]
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2207
2209
  },
2208
2210
  {
2209
2211
  "kind": "method",
2210
- "name": "getTemplate",
2211
- "parameters": [
2212
- {
2213
- "name": "prefix",
2214
- "type": {
2215
- "text": "string"
2216
- }
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2214
+ "return": {
2215
+ "type": {
2216
+ "text": "void"
2217
2217
  }
2218
- ]
2219
- },
2220
- {
2221
- "kind": "field",
2222
- "name": "_presentation",
2223
- "type": {
2224
- "text": "ComponentPresentation | null | undefined"
2225
- },
2226
- "privacy": "private",
2227
- "default": "void 0",
2228
- "inheritedFrom": {
2229
- "name": "FoundationElement",
2230
- "module": "src/foundation-element/foundation-element.ts"
2231
- }
2232
- },
2233
- {
2234
- "kind": "field",
2235
- "name": "$presentation",
2236
- "type": {
2237
- "text": "ComponentPresentation | null"
2238
- },
2239
- "privacy": "public",
2240
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2241
- "inheritedFrom": {
2242
- "name": "FoundationElement",
2243
- "module": "src/foundation-element/foundation-element.ts"
2244
- }
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "template",
2249
- "type": {
2250
- "text": "ElementViewTemplate | void | null"
2251
- },
2252
- "privacy": "public",
2253
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2254
- "inheritedFrom": {
2255
- "name": "FoundationElement",
2256
- "module": "src/foundation-element/foundation-element.ts"
2257
- }
2258
- },
2259
- {
2260
- "kind": "method",
2261
- "name": "templateChanged",
2262
- "privacy": "protected",
2263
- "return": {
2264
- "type": {
2265
- "text": "void"
2266
- }
2267
- },
2268
- "inheritedFrom": {
2269
- "name": "FoundationElement",
2270
- "module": "src/foundation-element/foundation-element.ts"
2271
- }
2272
- },
2273
- {
2274
- "kind": "field",
2275
- "name": "styles",
2276
- "type": {
2277
- "text": "ElementStyles | void | null"
2278
- },
2279
- "privacy": "public",
2280
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2281
- "inheritedFrom": {
2282
- "name": "FoundationElement",
2283
- "module": "src/foundation-element/foundation-element.ts"
2284
- }
2285
- },
2286
- {
2287
- "kind": "method",
2288
- "name": "stylesChanged",
2289
- "privacy": "protected",
2290
- "return": {
2291
- "type": {
2292
- "text": "void"
2293
- }
2294
- },
2295
- "inheritedFrom": {
2296
- "name": "FoundationElement",
2297
- "module": "src/foundation-element/foundation-element.ts"
2298
- }
2299
- },
2300
- {
2301
- "kind": "method",
2302
- "name": "compose",
2303
- "privacy": "public",
2304
- "static": true,
2305
- "return": {
2306
- "type": {
2307
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2308
- }
2309
- },
2310
- "parameters": [
2311
- {
2312
- "name": "this",
2313
- "type": {
2314
- "text": "K"
2315
- }
2316
- },
2317
- {
2318
- "name": "elementDefinition",
2319
- "type": {
2320
- "text": "T"
2321
- },
2322
- "description": "The definition of the element to create the registry\nfunction for."
2323
- }
2324
- ],
2325
- "description": "Defines an element registry function with a set of element definition defaults.",
2326
- "inheritedFrom": {
2327
- "name": "FoundationElement",
2328
- "module": "src/foundation-element/foundation-element.ts"
2329
- }
2330
- }
2331
- ],
2332
- "attributes": [
2333
- {
2334
- "name": "is-vertical",
2335
- "type": {
2336
- "text": "boolean"
2337
- },
2338
- "default": "false",
2339
- "fieldName": "isVertical"
2340
- },
2341
- {
2342
- "name": "add-default-actions",
2343
- "type": {
2344
- "text": "boolean"
2345
- },
2346
- "default": "true",
2347
- "fieldName": "addDefaultActions"
2348
- },
2349
- {
2350
- "name": "auto-close-on-action",
2351
- "type": {
2352
- "text": "boolean"
2353
- },
2354
- "default": "true",
2355
- "fieldName": "autoCloseOnAction"
2356
- },
2357
- {
2358
- "name": "name",
2359
- "type": {
2360
- "text": "string"
2361
- },
2362
- "default": "'Actions'",
2363
- "fieldName": "name"
2364
- },
2365
- {
2366
- "name": "open",
2367
- "type": {
2368
- "text": "boolean"
2369
- },
2370
- "default": "false",
2371
- "fieldName": "open"
2372
- },
2373
- {
2374
- "name": "buttonAppearance",
2375
- "type": {
2376
- "text": "string"
2377
- },
2378
- "fieldName": "buttonAppearance"
2379
- },
2380
- {
2381
- "name": "hide-disabled",
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "default": "false",
2386
- "fieldName": "hideDisabled"
2387
- },
2388
- {
2389
- "name": "hide-menu-single-option",
2390
- "type": {
2391
- "text": "boolean"
2392
- },
2393
- "default": "false",
2394
- "fieldName": "hideMenuSingleOption"
2395
- }
2396
- ],
2397
- "superclass": {
2398
- "name": "FoundationElement",
2399
- "package": "@microsoft/fast-foundation"
2400
- },
2401
- "tagName": "%%prefix%%-actions-menu",
2402
- "customElement": true
2403
- },
2404
- {
2405
- "kind": "variable",
2406
- "name": "foundationActionsMenu",
2407
- "description": "The Foundation Actions Menu",
2408
- "privacy": "public"
2409
- }
2410
- ],
2411
- "exports": [
2412
- {
2413
- "kind": "js",
2414
- "name": "ActionsMenu",
2415
- "declaration": {
2416
- "name": "ActionsMenu",
2417
- "module": "src/actions-menu/actions-menu.ts"
2418
- }
2419
- },
2420
- {
2421
- "kind": "js",
2422
- "name": "foundationActionsMenu",
2423
- "declaration": {
2424
- "name": "foundationActionsMenu",
2425
- "module": "src/actions-menu/actions-menu.ts"
2426
- }
2427
- }
2428
- ]
2429
- },
2430
- {
2431
- "kind": "javascript-module",
2432
- "path": "src/actions-menu/index.ts",
2433
- "declarations": [],
2434
- "exports": [
2435
- {
2436
- "kind": "js",
2437
- "name": "*",
2438
- "declaration": {
2439
- "name": "*",
2440
- "package": "./actions-menu.styles"
2441
- }
2442
- },
2443
- {
2444
- "kind": "js",
2445
- "name": "*",
2446
- "declaration": {
2447
- "name": "*",
2448
- "package": "./actions-menu.template"
2449
- }
2450
- },
2451
- {
2452
- "kind": "js",
2453
- "name": "*",
2454
- "declaration": {
2455
- "name": "*",
2456
- "package": "./actions-menu"
2457
- }
2458
- }
2459
- ]
2460
- },
2461
- {
2462
- "kind": "javascript-module",
2463
- "path": "src/accordion/accordion.styles.ts",
2464
- "declarations": [
2465
- {
2466
- "kind": "function",
2467
- "name": "foundationAccordionStyles",
2468
- "return": {
2469
- "type": {
2470
- "text": "ElementStyles"
2471
- }
2472
- },
2473
- "parameters": [
2474
- {
2475
- "name": "context",
2476
- "type": {
2477
- "text": "ElementDefinitionContext"
2478
- }
2479
- },
2480
- {
2481
- "name": "definition",
2482
- "type": {
2483
- "text": "FoundationElementDefinition"
2484
- }
2485
- }
2486
- ]
2487
- }
2488
- ],
2489
- "exports": [
2490
- {
2491
- "kind": "js",
2492
- "name": "foundationAccordionStyles",
2493
- "declaration": {
2494
- "name": "foundationAccordionStyles",
2495
- "module": "src/accordion/accordion.styles.ts"
2496
- }
2497
- }
2498
- ]
2499
- },
2500
- {
2501
- "kind": "javascript-module",
2502
- "path": "src/accordion/accordion.template.ts",
2503
- "declarations": [
2504
- {
2505
- "kind": "function",
2506
- "name": "foundationAccordionTemplate",
2507
- "return": {
2508
- "type": {
2509
- "text": "ViewTemplate<Accordion>"
2510
- }
2511
- },
2512
- "parameters": [
2513
- {
2514
- "name": "context",
2515
- "type": {
2516
- "text": "ElementDefinitionContext"
2517
- }
2518
- },
2519
- {
2520
- "name": "definition",
2521
- "type": {
2522
- "text": "FoundationElementDefinition"
2523
- }
2524
- }
2525
- ]
2526
- }
2527
- ],
2528
- "exports": [
2529
- {
2530
- "kind": "js",
2531
- "name": "foundationAccordionTemplate",
2532
- "declaration": {
2533
- "name": "foundationAccordionTemplate",
2534
- "module": "src/accordion/accordion.template.ts"
2535
- }
2536
- }
2537
- ]
2538
- },
2539
- {
2540
- "kind": "javascript-module",
2541
- "path": "src/accordion/accordion.ts",
2542
- "declarations": [
2543
- {
2544
- "kind": "class",
2545
- "description": "",
2546
- "name": "Accordion",
2547
- "superclass": {
2548
- "name": "FASTAccordion",
2549
- "package": "@microsoft/fast-foundation"
2550
- },
2551
- "tagName": "%%prefix%%-accordion",
2552
- "customElement": true,
2553
- "attributes": [
2554
- {
2555
- "name": "expand-mode",
2556
- "type": {
2557
- "text": "AccordionExpandMode"
2558
- },
2559
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2560
- "fieldName": "expandmode",
2561
- "inheritedFrom": {
2562
- "name": "Accordion",
2563
- "module": "src/accordion/accordion.ts"
2564
- }
2565
- }
2566
- ],
2567
- "members": [
2568
- {
2569
- "kind": "field",
2570
- "name": "expandmode",
2571
- "type": {
2572
- "text": "AccordionExpandMode"
2573
- },
2574
- "privacy": "public",
2575
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2576
- "inheritedFrom": {
2577
- "name": "Accordion",
2578
- "module": "src/accordion/accordion.ts"
2579
- }
2580
- },
2581
- {
2582
- "kind": "field",
2583
- "name": "activeid",
2584
- "type": {
2585
- "text": "string | null"
2586
- },
2587
- "privacy": "private",
2588
- "inheritedFrom": {
2589
- "name": "Accordion",
2590
- "module": "src/accordion/accordion.ts"
2591
- }
2592
- },
2593
- {
2594
- "kind": "field",
2595
- "name": "activeItemIndex",
2596
- "type": {
2597
- "text": "number"
2598
- },
2599
- "privacy": "private",
2600
- "default": "0",
2601
- "inheritedFrom": {
2602
- "name": "Accordion",
2603
- "module": "src/accordion/accordion.ts"
2604
- }
2605
- },
2606
- {
2607
- "kind": "field",
2608
- "name": "accordionIds",
2609
- "type": {
2610
- "text": "Array<string | null>"
2611
- },
2612
- "privacy": "private",
2613
- "inheritedFrom": {
2614
- "name": "Accordion",
2615
- "module": "src/accordion/accordion.ts"
2616
- }
2617
- },
2618
- {
2619
- "kind": "field",
2620
- "name": "change",
2621
- "privacy": "private",
2622
- "inheritedFrom": {
2623
- "name": "Accordion",
2624
- "module": "src/accordion/accordion.ts"
2625
- }
2626
- },
2627
- {
2628
- "kind": "method",
2629
- "name": "findExpandedItem",
2630
- "privacy": "private",
2631
- "return": {
2632
- "type": {
2633
- "text": "AccordionItem | null"
2634
- }
2635
- },
2636
- "inheritedFrom": {
2637
- "name": "Accordion",
2638
- "module": "src/accordion/accordion.ts"
2639
- }
2640
- },
2641
- {
2642
- "kind": "field",
2643
- "name": "setItems",
2644
- "privacy": "private",
2645
- "inheritedFrom": {
2646
- "name": "Accordion",
2647
- "module": "src/accordion/accordion.ts"
2648
- }
2649
- },
2650
- {
2651
- "kind": "method",
2652
- "name": "resetItems",
2653
- "privacy": "private",
2654
- "return": {
2655
- "type": {
2656
- "text": "void"
2657
- }
2658
- },
2659
- "inheritedFrom": {
2660
- "name": "Accordion",
2661
- "module": "src/accordion/accordion.ts"
2662
- }
2663
- },
2664
- {
2665
- "kind": "field",
2666
- "name": "removeItemListeners",
2667
- "privacy": "private",
2668
- "inheritedFrom": {
2669
- "name": "Accordion",
2670
- "module": "src/accordion/accordion.ts"
2671
- }
2672
- },
2673
- {
2674
- "kind": "field",
2675
- "name": "activeItemChange",
2676
- "privacy": "private",
2677
- "inheritedFrom": {
2678
- "name": "Accordion",
2679
- "module": "src/accordion/accordion.ts"
2680
- }
2681
- },
2682
- {
2683
- "kind": "method",
2684
- "name": "getItemIds",
2685
- "privacy": "private",
2686
- "return": {
2687
- "type": {
2688
- "text": "Array<string | null>"
2689
- }
2690
- },
2691
- "inheritedFrom": {
2692
- "name": "Accordion",
2693
- "module": "src/accordion/accordion.ts"
2694
- }
2695
- },
2696
- {
2697
- "kind": "method",
2698
- "name": "isSingleExpandMode",
2699
- "privacy": "private",
2700
- "return": {
2701
- "type": {
2702
- "text": "boolean"
2703
- }
2704
- },
2705
- "inheritedFrom": {
2706
- "name": "Accordion",
2707
- "module": "src/accordion/accordion.ts"
2708
- }
2709
- },
2710
- {
2711
- "kind": "field",
2712
- "name": "handleItemKeyDown",
2713
- "privacy": "private",
2714
- "inheritedFrom": {
2715
- "name": "Accordion",
2716
- "module": "src/accordion/accordion.ts"
2717
- }
2718
- },
2719
- {
2720
- "kind": "field",
2721
- "name": "handleItemFocus",
2722
- "privacy": "private",
2723
- "inheritedFrom": {
2724
- "name": "Accordion",
2725
- "module": "src/accordion/accordion.ts"
2726
- }
2727
- },
2728
- {
2729
- "kind": "method",
2730
- "name": "adjust",
2731
- "privacy": "private",
2732
- "return": {
2733
- "type": {
2734
- "text": "void"
2735
- }
2736
- },
2737
- "parameters": [
2738
- {
2739
- "name": "adjustment",
2740
- "type": {
2741
- "text": "number"
2742
- }
2743
- }
2744
- ],
2745
- "inheritedFrom": {
2746
- "name": "Accordion",
2747
- "module": "src/accordion/accordion.ts"
2748
- }
2749
- },
2750
- {
2751
- "kind": "method",
2752
- "name": "focusItem",
2753
- "privacy": "private",
2754
- "return": {
2755
- "type": {
2756
- "text": "void"
2757
- }
2758
- },
2759
- "inheritedFrom": {
2760
- "name": "Accordion",
2761
- "module": "src/accordion/accordion.ts"
2762
- }
2218
+ },
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2222
+ }
2763
2223
  },
2764
2224
  {
2765
2225
  "kind": "field",
@@ -2975,11 +2435,34 @@
2975
2435
  },
2976
2436
  {
2977
2437
  "kind": "javascript-module",
2978
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2979
2439
  "declarations": [
2980
2440
  {
2981
2441
  "kind": "function",
2982
- "name": "foundationAiIndicatorStyles",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2983
2466
  "return": {
2984
2467
  "type": {
2985
2468
  "text": "ElementStyles"
@@ -3004,225 +2487,281 @@
3004
2487
  "exports": [
3005
2488
  {
3006
2489
  "kind": "js",
3007
- "name": "foundationAiIndicatorStyles",
2490
+ "name": "actionsMenuBaseStyles",
3008
2491
  "declaration": {
3009
- "name": "foundationAiIndicatorStyles",
3010
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
3011
2502
  }
3012
2503
  }
3013
2504
  ]
3014
2505
  },
3015
2506
  {
3016
2507
  "kind": "javascript-module",
3017
- "path": "src/ai-indicator/ai-indicator.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
3018
2509
  "declarations": [
2510
+ {
2511
+ "kind": "function",
2512
+ "name": "menuTemplate",
2513
+ "parameters": [
2514
+ {
2515
+ "name": "prefix",
2516
+ "type": {
2517
+ "text": "string"
2518
+ }
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "function",
2524
+ "name": "singleOptionTemplate",
2525
+ "parameters": [
2526
+ {
2527
+ "name": "prefix",
2528
+ "type": {
2529
+ "text": "string"
2530
+ }
2531
+ }
2532
+ ]
2533
+ },
3019
2534
  {
3020
2535
  "kind": "variable",
3021
- "name": "foundationAiIndicatorTemplate",
2536
+ "name": "foundationActionsMenuTemplate",
3022
2537
  "type": {
3023
- "text": "ViewTemplate<AiIndicator>"
2538
+ "text": "ViewTemplate<ActionsMenu>"
3024
2539
  },
3025
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2540
+ "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`"
3026
2541
  }
3027
2542
  ],
3028
2543
  "exports": [
3029
2544
  {
3030
2545
  "kind": "js",
3031
- "name": "foundationAiIndicatorTemplate",
2546
+ "name": "menuTemplate",
3032
2547
  "declaration": {
3033
- "name": "foundationAiIndicatorTemplate",
3034
- "module": "src/ai-indicator/ai-indicator.template.ts"
2548
+ "name": "menuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "singleOptionTemplate",
2555
+ "declaration": {
2556
+ "name": "singleOptionTemplate",
2557
+ "module": "src/actions-menu/actions-menu.template.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuTemplate",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
3035
2566
  }
3036
2567
  }
3037
2568
  ]
3038
2569
  },
3039
2570
  {
3040
2571
  "kind": "javascript-module",
3041
- "path": "src/ai-indicator/ai-indicator.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
3042
2573
  "declarations": [
3043
2574
  {
3044
2575
  "kind": "class",
3045
2576
  "description": "",
3046
- "name": "AiIndicator",
2577
+ "name": "ActionsMenu",
3047
2578
  "members": [
3048
2579
  {
3049
2580
  "kind": "field",
3050
- "name": "providerRegistry",
2581
+ "name": "actions",
3051
2582
  "type": {
3052
- "text": "AIProviderRegistry"
2583
+ "text": "ActionMenuItem[]"
3053
2584
  }
3054
2585
  },
3055
2586
  {
3056
2587
  "kind": "field",
3057
- "name": "aiProvider",
2588
+ "name": "isVertical",
3058
2589
  "type": {
3059
- "text": "AIProvider | undefined"
2590
+ "text": "boolean"
3060
2591
  },
3061
- "privacy": "private",
3062
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3063
- "readonly": true
2592
+ "default": "false"
3064
2593
  },
3065
2594
  {
3066
2595
  "kind": "field",
3067
- "name": "status",
2596
+ "name": "addDefaultActions",
3068
2597
  "type": {
3069
- "text": "AIStatus | null"
2598
+ "text": "boolean"
3070
2599
  },
3071
- "default": "null"
2600
+ "default": "true"
3072
2601
  },
3073
2602
  {
3074
2603
  "kind": "field",
3075
- "name": "open",
2604
+ "name": "autoCloseOnAction",
3076
2605
  "type": {
3077
2606
  "text": "boolean"
3078
2607
  },
3079
- "default": "false"
2608
+ "default": "true"
3080
2609
  },
3081
2610
  {
3082
2611
  "kind": "field",
3083
- "name": "state",
2612
+ "name": "classNames",
3084
2613
  "type": {
3085
- "text": "AIIndicatorState"
3086
- },
3087
- "default": "'none'"
2614
+ "text": "string"
2615
+ }
3088
2616
  },
3089
2617
  {
3090
2618
  "kind": "field",
3091
- "name": "isInstalling",
2619
+ "name": "definition",
3092
2620
  "type": {
3093
- "text": "boolean"
3094
- },
3095
- "default": "false"
2621
+ "text": "any"
2622
+ }
3096
2623
  },
3097
2624
  {
3098
2625
  "kind": "field",
3099
- "name": "pollTimer",
2626
+ "name": "name",
3100
2627
  "type": {
3101
- "text": "ReturnType<typeof setInterval> | null"
2628
+ "text": "string"
3102
2629
  },
3103
- "privacy": "private",
3104
- "default": "null"
2630
+ "default": "'Actions'"
3105
2631
  },
3106
2632
  {
3107
2633
  "kind": "field",
3108
- "name": "clickOutside",
3109
- "privacy": "private"
2634
+ "name": "open",
2635
+ "type": {
2636
+ "text": "boolean"
2637
+ },
2638
+ "default": "false"
3110
2639
  },
3111
2640
  {
3112
2641
  "kind": "field",
3113
- "name": "chromeStatusLabel",
2642
+ "name": "buttonAppearance",
3114
2643
  "type": {
3115
- "text": "string | null"
3116
- },
3117
- "readonly": true
2644
+ "text": "string"
2645
+ }
3118
2646
  },
3119
2647
  {
3120
2648
  "kind": "field",
3121
- "name": "canInstall",
2649
+ "name": "hideDisabled",
3122
2650
  "type": {
3123
2651
  "text": "boolean"
3124
2652
  },
3125
- "readonly": true
2653
+ "default": "false"
3126
2654
  },
3127
2655
  {
3128
2656
  "kind": "field",
3129
- "name": "isDownloading",
2657
+ "name": "hideMenuSingleOption",
3130
2658
  "type": {
3131
2659
  "text": "boolean"
3132
2660
  },
3133
- "readonly": true
2661
+ "default": "false"
3134
2662
  },
3135
2663
  {
3136
- "kind": "method",
3137
- "name": "openChanged",
3138
- "return": {
3139
- "type": {
3140
- "text": "void"
3141
- }
2664
+ "kind": "field",
2665
+ "name": "singleOption",
2666
+ "type": {
2667
+ "text": "ActionMenuItem"
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "field",
2672
+ "name": "actionsMenu",
2673
+ "type": {
2674
+ "text": "HTMLElement"
2675
+ }
2676
+ },
2677
+ {
2678
+ "kind": "field",
2679
+ "name": "actionsOpener",
2680
+ "type": {
2681
+ "text": "HTMLElement"
3142
2682
  }
3143
2683
  },
3144
2684
  {
3145
2685
  "kind": "method",
3146
- "name": "handleClickOutside",
3147
- "privacy": "private",
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2688
+ },
2689
+ {
2690
+ "kind": "method",
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
3148
2693
  "parameters": [
3149
2694
  {
3150
- "name": "event",
2695
+ "name": "oldValue",
3151
2696
  "type": {
3152
- "text": "MouseEvent"
2697
+ "text": "any"
2698
+ }
2699
+ },
2700
+ {
2701
+ "name": "newValue",
2702
+ "type": {
2703
+ "text": "any"
3153
2704
  }
3154
2705
  }
3155
2706
  ]
3156
2707
  },
3157
2708
  {
3158
2709
  "kind": "method",
3159
- "name": "toggleDropdown"
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
3160
2712
  },
3161
2713
  {
3162
2714
  "kind": "method",
3163
- "name": "refreshStatus",
3164
- "return": {
3165
- "type": {
3166
- "text": "Promise<void>"
3167
- }
3168
- }
2715
+ "name": "toggleActionsMenuVisibility"
3169
2716
  },
3170
2717
  {
3171
2718
  "kind": "method",
3172
- "name": "deriveState",
3173
- "privacy": "private",
3174
- "return": {
3175
- "type": {
3176
- "text": "AIIndicatorState"
3177
- }
3178
- },
2719
+ "name": "onActionMenuItemClick",
3179
2720
  "parameters": [
3180
2721
  {
3181
- "name": "s",
2722
+ "name": "callback",
3182
2723
  "type": {
3183
- "text": "AIStatus | null"
2724
+ "text": "(rowData) => void | any"
3184
2725
  }
3185
2726
  }
3186
2727
  ]
3187
2728
  },
3188
2729
  {
3189
- "kind": "method",
3190
- "name": "maybeStartPolling",
3191
- "privacy": "private",
3192
- "return": {
3193
- "type": {
3194
- "text": "void"
3195
- }
3196
- }
2730
+ "kind": "field",
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
3197
2736
  },
3198
2737
  {
3199
- "kind": "method",
3200
- "name": "startPolling",
3201
- "privacy": "private",
3202
- "return": {
3203
- "type": {
3204
- "text": "void"
3205
- }
3206
- }
2738
+ "kind": "field",
2739
+ "name": "rowData",
2740
+ "readonly": true
3207
2741
  },
3208
2742
  {
3209
2743
  "kind": "method",
3210
- "name": "stopPolling",
3211
- "privacy": "private",
3212
- "return": {
3213
- "type": {
3214
- "text": "void"
2744
+ "name": "getLabel",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "name",
2748
+ "type": {
2749
+ "text": "string | ((rowData: any) => string)"
2750
+ }
3215
2751
  }
3216
- }
2752
+ ]
3217
2753
  },
3218
2754
  {
3219
2755
  "kind": "method",
3220
- "name": "onInstall",
3221
- "return": {
3222
- "type": {
3223
- "text": "Promise<void>"
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
3224
2763
  }
3225
- }
2764
+ ]
3226
2765
  },
3227
2766
  {
3228
2767
  "kind": "field",
@@ -3336,88 +2875,131 @@
3336
2875
  }
3337
2876
  }
3338
2877
  ],
2878
+ "attributes": [
2879
+ {
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2886
+ },
2887
+ {
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2895
+ {
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2905
+ "type": {
2906
+ "text": "string"
2907
+ },
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2910
+ },
2911
+ {
2912
+ "name": "open",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ },
2916
+ "default": "false",
2917
+ "fieldName": "open"
2918
+ },
2919
+ {
2920
+ "name": "buttonAppearance",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "fieldName": "buttonAppearance"
2925
+ },
2926
+ {
2927
+ "name": "hide-disabled",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2941
+ }
2942
+ ],
3339
2943
  "superclass": {
3340
2944
  "name": "FoundationElement",
3341
2945
  "package": "@microsoft/fast-foundation"
3342
2946
  },
3343
- "tagName": "%%prefix%%-ai-indicator",
2947
+ "tagName": "%%prefix%%-actions-menu",
3344
2948
  "customElement": true
3345
2949
  },
3346
2950
  {
3347
2951
  "kind": "variable",
3348
- "name": "foundationAiIndicator"
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2954
+ "privacy": "public"
3349
2955
  }
3350
2956
  ],
3351
2957
  "exports": [
3352
2958
  {
3353
2959
  "kind": "js",
3354
- "name": "AiIndicator",
2960
+ "name": "ActionsMenu",
3355
2961
  "declaration": {
3356
- "name": "AiIndicator",
3357
- "module": "src/ai-indicator/ai-indicator.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
3358
2964
  }
3359
2965
  },
3360
2966
  {
3361
2967
  "kind": "js",
3362
- "name": "foundationAiIndicator",
2968
+ "name": "foundationActionsMenu",
3363
2969
  "declaration": {
3364
- "name": "foundationAiIndicator",
3365
- "module": "src/ai-indicator/ai-indicator.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
3366
2972
  }
3367
2973
  }
3368
2974
  ]
3369
2975
  },
3370
2976
  {
3371
2977
  "kind": "javascript-module",
3372
- "path": "src/ai-indicator/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
3373
2979
  "declarations": [],
3374
2980
  "exports": [
3375
2981
  {
3376
2982
  "kind": "js",
3377
- "name": "AiIndicator",
3378
- "declaration": {
3379
- "name": "AiIndicator",
3380
- "module": "./ai-indicator"
3381
- }
3382
- },
3383
- {
3384
- "kind": "js",
3385
- "name": "foundationAiIndicator",
3386
- "declaration": {
3387
- "name": "foundationAiIndicator",
3388
- "module": "./ai-indicator"
3389
- }
3390
- },
3391
- {
3392
- "kind": "js",
3393
- "name": "type",
3394
- "declaration": {
3395
- "name": "type",
3396
- "module": "./ai-indicator"
3397
- }
3398
- },
3399
- {
3400
- "kind": "js",
3401
- "name": "AIIndicatorState",
2983
+ "name": "*",
3402
2984
  "declaration": {
3403
- "name": "AIIndicatorState",
3404
- "module": "./ai-indicator"
2985
+ "name": "*",
2986
+ "package": "./actions-menu.styles"
3405
2987
  }
3406
2988
  },
3407
2989
  {
3408
2990
  "kind": "js",
3409
- "name": "foundationAiIndicatorTemplate",
2991
+ "name": "*",
3410
2992
  "declaration": {
3411
- "name": "foundationAiIndicatorTemplate",
3412
- "module": "./ai-indicator.template"
2993
+ "name": "*",
2994
+ "package": "./actions-menu.template"
3413
2995
  }
3414
2996
  },
3415
2997
  {
3416
2998
  "kind": "js",
3417
- "name": "foundationAiIndicatorStyles",
2999
+ "name": "*",
3418
3000
  "declaration": {
3419
- "name": "foundationAiIndicatorStyles",
3420
- "module": "./ai-indicator.styles"
3001
+ "name": "*",
3002
+ "package": "./actions-menu"
3421
3003
  }
3422
3004
  }
3423
3005
  ]
@@ -4033,31 +3615,449 @@
4033
3615
  },
4034
3616
  {
4035
3617
  "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3648
+ "declaration": {
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
+ }
3652
+ }
3653
+ ]
3654
+ },
3655
+ {
3656
+ "kind": "javascript-module",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3682
+ "declarations": [
3683
+ {
3684
+ "kind": "class",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3687
+ "members": [
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3691
+ "type": {
3692
+ "text": "AIProviderRegistry"
3693
+ }
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3716
+ "type": {
3717
+ "text": "boolean"
3718
+ },
3719
+ "default": "false"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3743
+ "privacy": "private",
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3756
+ },
3757
+ "readonly": true
3758
+ },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3866
+ },
3867
+ {
3868
+ "kind": "field",
3869
+ "name": "_presentation",
3870
+ "type": {
3871
+ "text": "ComponentPresentation | null | undefined"
3872
+ },
3873
+ "privacy": "private",
3874
+ "default": "void 0",
3875
+ "inheritedFrom": {
3876
+ "name": "FoundationElement",
3877
+ "module": "src/foundation-element/foundation-element.ts"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "field",
3882
+ "name": "$presentation",
3883
+ "type": {
3884
+ "text": "ComponentPresentation | null"
3885
+ },
3886
+ "privacy": "public",
3887
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3888
+ "inheritedFrom": {
3889
+ "name": "FoundationElement",
3890
+ "module": "src/foundation-element/foundation-element.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "field",
3895
+ "name": "template",
3896
+ "type": {
3897
+ "text": "ElementViewTemplate | void | null"
3898
+ },
3899
+ "privacy": "public",
3900
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3901
+ "inheritedFrom": {
3902
+ "name": "FoundationElement",
3903
+ "module": "src/foundation-element/foundation-element.ts"
3904
+ }
3905
+ },
3906
+ {
3907
+ "kind": "method",
3908
+ "name": "templateChanged",
3909
+ "privacy": "protected",
3910
+ "return": {
3911
+ "type": {
3912
+ "text": "void"
3913
+ }
3914
+ },
3915
+ "inheritedFrom": {
3916
+ "name": "FoundationElement",
3917
+ "module": "src/foundation-element/foundation-element.ts"
3918
+ }
3919
+ },
3920
+ {
3921
+ "kind": "field",
3922
+ "name": "styles",
3923
+ "type": {
3924
+ "text": "ElementStyles | void | null"
3925
+ },
3926
+ "privacy": "public",
3927
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3928
+ "inheritedFrom": {
3929
+ "name": "FoundationElement",
3930
+ "module": "src/foundation-element/foundation-element.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "stylesChanged",
3936
+ "privacy": "protected",
3937
+ "return": {
3938
+ "type": {
3939
+ "text": "void"
3940
+ }
3941
+ },
3942
+ "inheritedFrom": {
3943
+ "name": "FoundationElement",
3944
+ "module": "src/foundation-element/foundation-element.ts"
3945
+ }
3946
+ },
3947
+ {
3948
+ "kind": "method",
3949
+ "name": "compose",
3950
+ "privacy": "public",
3951
+ "static": true,
3952
+ "return": {
3953
+ "type": {
3954
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3955
+ }
3956
+ },
3957
+ "parameters": [
3958
+ {
3959
+ "name": "this",
3960
+ "type": {
3961
+ "text": "K"
3962
+ }
3963
+ },
3964
+ {
3965
+ "name": "elementDefinition",
3966
+ "type": {
3967
+ "text": "T"
3968
+ },
3969
+ "description": "The definition of the element to create the registry\nfunction for."
3970
+ }
3971
+ ],
3972
+ "description": "Defines an element registry function with a set of element definition defaults.",
3973
+ "inheritedFrom": {
3974
+ "name": "FoundationElement",
3975
+ "module": "src/foundation-element/foundation-element.ts"
3976
+ }
3977
+ }
3978
+ ],
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3982
+ },
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3985
+ },
3986
+ {
3987
+ "kind": "variable",
3988
+ "name": "foundationAiIndicator"
3989
+ }
3990
+ ],
3991
+ "exports": [
3992
+ {
3993
+ "kind": "js",
3994
+ "name": "AiIndicator",
3995
+ "declaration": {
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3998
+ }
3999
+ },
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "foundationAiIndicator",
4003
+ "declaration": {
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4037
4013
  "declarations": [],
4038
4014
  "exports": [
4039
4015
  {
4040
4016
  "kind": "js",
4041
- "name": "*",
4017
+ "name": "AiIndicator",
4042
4018
  "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4045
4021
  }
4046
4022
  },
4047
4023
  {
4048
4024
  "kind": "js",
4049
- "name": "*",
4025
+ "name": "foundationAiIndicator",
4050
4026
  "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4053
4029
  }
4054
4030
  },
4055
4031
  {
4056
4032
  "kind": "js",
4057
- "name": "*",
4033
+ "name": "type",
4058
4034
  "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "AIIndicatorState",
4042
+ "declaration": {
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
+ "declaration": {
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationAiIndicatorStyles",
4058
+ "declaration": {
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "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."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "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}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "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."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "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}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",