@genesislcap/foundation-ui 15.36.1 → 15.36.2-alpha-ec480ce5f.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.
@@ -1889,7 +1889,547 @@
1889
1889
  },
1890
1890
  {
1891
1891
  "kind": "javascript-module",
1892
- "path": "src/_config/index.ts",
1892
+ "path": "src/actions-menu/actions-menu.styles.ts",
1893
+ "declarations": [
1894
+ {
1895
+ "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",
1920
+ "return": {
1921
+ "type": {
1922
+ "text": "ElementStyles"
1923
+ }
1924
+ },
1925
+ "parameters": [
1926
+ {
1927
+ "name": "context",
1928
+ "type": {
1929
+ "text": "ElementDefinitionContext"
1930
+ }
1931
+ },
1932
+ {
1933
+ "name": "definition",
1934
+ "type": {
1935
+ "text": "FoundationElementDefinition"
1936
+ }
1937
+ }
1938
+ ]
1939
+ }
1940
+ ],
1941
+ "exports": [
1942
+ {
1943
+ "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",
1953
+ "declaration": {
1954
+ "name": "foundationActionsMenuStyles",
1955
+ "module": "src/actions-menu/actions-menu.styles.ts"
1956
+ }
1957
+ }
1958
+ ]
1959
+ },
1960
+ {
1961
+ "kind": "javascript-module",
1962
+ "path": "src/actions-menu/actions-menu.template.ts",
1963
+ "declarations": [
1964
+ {
1965
+ "kind": "function",
1966
+ "name": "menuTemplate",
1967
+ "parameters": [
1968
+ {
1969
+ "name": "prefix",
1970
+ "type": {
1971
+ "text": "string"
1972
+ }
1973
+ }
1974
+ ]
1975
+ },
1976
+ {
1977
+ "kind": "function",
1978
+ "name": "singleOptionTemplate",
1979
+ "parameters": [
1980
+ {
1981
+ "name": "prefix",
1982
+ "type": {
1983
+ "text": "string"
1984
+ }
1985
+ }
1986
+ ]
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
+ }
1996
+ ],
1997
+ "exports": [
1998
+ {
1999
+ "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",
2017
+ "declaration": {
2018
+ "name": "foundationActionsMenuTemplate",
2019
+ "module": "src/actions-menu/actions-menu.template.ts"
2020
+ }
2021
+ }
2022
+ ]
2023
+ },
2024
+ {
2025
+ "kind": "javascript-module",
2026
+ "path": "src/actions-menu/actions-menu.ts",
2027
+ "declarations": [
2028
+ {
2029
+ "kind": "class",
2030
+ "description": "",
2031
+ "name": "ActionsMenu",
2032
+ "members": [
2033
+ {
2034
+ "kind": "field",
2035
+ "name": "actions",
2036
+ "type": {
2037
+ "text": "ActionMenuItem[]"
2038
+ }
2039
+ },
2040
+ {
2041
+ "kind": "field",
2042
+ "name": "isVertical",
2043
+ "type": {
2044
+ "text": "boolean"
2045
+ },
2046
+ "default": "false"
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "addDefaultActions",
2051
+ "type": {
2052
+ "text": "boolean"
2053
+ },
2054
+ "default": "true"
2055
+ },
2056
+ {
2057
+ "kind": "field",
2058
+ "name": "autoCloseOnAction",
2059
+ "type": {
2060
+ "text": "boolean"
2061
+ },
2062
+ "default": "true"
2063
+ },
2064
+ {
2065
+ "kind": "field",
2066
+ "name": "classNames",
2067
+ "type": {
2068
+ "text": "string"
2069
+ }
2070
+ },
2071
+ {
2072
+ "kind": "field",
2073
+ "name": "definition",
2074
+ "type": {
2075
+ "text": "any"
2076
+ }
2077
+ },
2078
+ {
2079
+ "kind": "field",
2080
+ "name": "name",
2081
+ "type": {
2082
+ "text": "string"
2083
+ },
2084
+ "default": "'Actions'"
2085
+ },
2086
+ {
2087
+ "kind": "field",
2088
+ "name": "open",
2089
+ "type": {
2090
+ "text": "boolean"
2091
+ },
2092
+ "default": "false"
2093
+ },
2094
+ {
2095
+ "kind": "field",
2096
+ "name": "buttonAppearance",
2097
+ "type": {
2098
+ "text": "string"
2099
+ }
2100
+ },
2101
+ {
2102
+ "kind": "field",
2103
+ "name": "hideDisabled",
2104
+ "type": {
2105
+ "text": "boolean"
2106
+ },
2107
+ "default": "false"
2108
+ },
2109
+ {
2110
+ "kind": "field",
2111
+ "name": "hideMenuSingleOption",
2112
+ "type": {
2113
+ "text": "boolean"
2114
+ },
2115
+ "default": "false"
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "singleOption",
2120
+ "type": {
2121
+ "text": "ActionMenuItem"
2122
+ }
2123
+ },
2124
+ {
2125
+ "kind": "field",
2126
+ "name": "actionsMenu",
2127
+ "type": {
2128
+ "text": "HTMLElement"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "field",
2133
+ "name": "actionsOpener",
2134
+ "type": {
2135
+ "text": "HTMLElement"
2136
+ }
2137
+ },
2138
+ {
2139
+ "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
+ }
2159
+ }
2160
+ ]
2161
+ },
2162
+ {
2163
+ "kind": "method",
2164
+ "name": "openChanged",
2165
+ "privacy": "protected"
2166
+ },
2167
+ {
2168
+ "kind": "method",
2169
+ "name": "toggleActionsMenuVisibility"
2170
+ },
2171
+ {
2172
+ "kind": "method",
2173
+ "name": "onActionMenuItemClick",
2174
+ "parameters": [
2175
+ {
2176
+ "name": "callback",
2177
+ "type": {
2178
+ "text": "(rowData) => void | any"
2179
+ }
2180
+ }
2181
+ ]
2182
+ },
2183
+ {
2184
+ "kind": "field",
2185
+ "name": "allActions",
2186
+ "type": {
2187
+ "text": "ActionMenuItem[]"
2188
+ },
2189
+ "readonly": true
2190
+ },
2191
+ {
2192
+ "kind": "field",
2193
+ "name": "rowData",
2194
+ "readonly": true
2195
+ },
2196
+ {
2197
+ "kind": "method",
2198
+ "name": "getLabel",
2199
+ "parameters": [
2200
+ {
2201
+ "name": "name",
2202
+ "type": {
2203
+ "text": "string | ((rowData: any) => string)"
2204
+ }
2205
+ }
2206
+ ]
2207
+ },
2208
+ {
2209
+ "kind": "method",
2210
+ "name": "getTemplate",
2211
+ "parameters": [
2212
+ {
2213
+ "name": "prefix",
2214
+ "type": {
2215
+ "text": "string"
2216
+ }
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",
1893
2433
  "declarations": [],
1894
2434
  "exports": [
1895
2435
  {
@@ -1897,7 +2437,7 @@
1897
2437
  "name": "*",
1898
2438
  "declaration": {
1899
2439
  "name": "*",
1900
- "package": "./styles"
2440
+ "package": "./actions-menu.styles"
1901
2441
  }
1902
2442
  },
1903
2443
  {
@@ -1905,7 +2445,7 @@
1905
2445
  "name": "*",
1906
2446
  "declaration": {
1907
2447
  "name": "*",
1908
- "package": "./tokens"
2448
+ "package": "./actions-menu.template"
1909
2449
  }
1910
2450
  },
1911
2451
  {
@@ -1913,7 +2453,7 @@
1913
2453
  "name": "*",
1914
2454
  "declaration": {
1915
2455
  "name": "*",
1916
- "package": "./values"
2456
+ "package": "./actions-menu"
1917
2457
  }
1918
2458
  }
1919
2459
  ]
@@ -2435,34 +2975,11 @@
2435
2975
  },
2436
2976
  {
2437
2977
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2978
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2439
2979
  "declarations": [
2440
2980
  {
2441
2981
  "kind": "function",
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",
2982
+ "name": "foundationAiIndicatorStyles",
2466
2983
  "return": {
2467
2984
  "type": {
2468
2985
  "text": "ElementStyles"
@@ -2487,151 +3004,91 @@
2487
3004
  "exports": [
2488
3005
  {
2489
3006
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
3007
+ "name": "foundationAiIndicatorStyles",
2499
3008
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
3009
+ "name": "foundationAiIndicatorStyles",
3010
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2502
3011
  }
2503
3012
  }
2504
3013
  ]
2505
3014
  },
2506
3015
  {
2507
3016
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
3017
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2509
3018
  "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
- },
2534
3019
  {
2535
3020
  "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
3021
+ "name": "foundationAiIndicatorTemplate",
2537
3022
  "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
3023
+ "text": "ViewTemplate<AiIndicator>"
2539
3024
  },
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`"
3025
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2541
3026
  }
2542
3027
  ],
2543
3028
  "exports": [
2544
3029
  {
2545
3030
  "kind": "js",
2546
- "name": "menuTemplate",
2547
- "declaration": {
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",
3031
+ "name": "foundationAiIndicatorTemplate",
2563
3032
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
3033
+ "name": "foundationAiIndicatorTemplate",
3034
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2566
3035
  }
2567
3036
  }
2568
3037
  ]
2569
3038
  },
2570
3039
  {
2571
3040
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
3041
+ "path": "src/ai-indicator/ai-indicator.ts",
2573
3042
  "declarations": [
2574
3043
  {
2575
3044
  "kind": "class",
2576
3045
  "description": "",
2577
- "name": "ActionsMenu",
3046
+ "name": "AiIndicator",
2578
3047
  "members": [
2579
3048
  {
2580
3049
  "kind": "field",
2581
- "name": "actions",
3050
+ "name": "providerRegistry",
2582
3051
  "type": {
2583
- "text": "ActionMenuItem[]"
3052
+ "text": "AIProviderRegistry"
2584
3053
  }
2585
3054
  },
2586
3055
  {
2587
3056
  "kind": "field",
2588
- "name": "isVertical",
3057
+ "name": "aiProvider",
2589
3058
  "type": {
2590
- "text": "boolean"
3059
+ "text": "AIProvider | undefined"
2591
3060
  },
2592
- "default": "false"
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
2593
3064
  },
2594
3065
  {
2595
3066
  "kind": "field",
2596
- "name": "addDefaultActions",
3067
+ "name": "status",
2597
3068
  "type": {
2598
- "text": "boolean"
3069
+ "text": "AIStatus | null"
2599
3070
  },
2600
- "default": "true"
3071
+ "default": "null"
2601
3072
  },
2602
3073
  {
2603
3074
  "kind": "field",
2604
- "name": "autoCloseOnAction",
3075
+ "name": "open",
2605
3076
  "type": {
2606
3077
  "text": "boolean"
2607
3078
  },
2608
- "default": "true"
2609
- },
2610
- {
2611
- "kind": "field",
2612
- "name": "classNames",
2613
- "type": {
2614
- "text": "string"
2615
- }
2616
- },
2617
- {
2618
- "kind": "field",
2619
- "name": "definition",
2620
- "type": {
2621
- "text": "any"
2622
- }
3079
+ "default": "false"
2623
3080
  },
2624
3081
  {
2625
3082
  "kind": "field",
2626
- "name": "name",
3083
+ "name": "state",
2627
3084
  "type": {
2628
- "text": "string"
3085
+ "text": "AIIndicatorState"
2629
3086
  },
2630
- "default": "'Actions'"
3087
+ "default": "'none'"
2631
3088
  },
2632
3089
  {
2633
3090
  "kind": "field",
2634
- "name": "open",
3091
+ "name": "isInstalling",
2635
3092
  "type": {
2636
3093
  "text": "boolean"
2637
3094
  },
@@ -2639,129 +3096,133 @@
2639
3096
  },
2640
3097
  {
2641
3098
  "kind": "field",
2642
- "name": "buttonAppearance",
2643
- "type": {
2644
- "text": "string"
2645
- }
2646
- },
2647
- {
2648
- "kind": "field",
2649
- "name": "hideDisabled",
3099
+ "name": "pollTimer",
2650
3100
  "type": {
2651
- "text": "boolean"
3101
+ "text": "ReturnType<typeof setInterval> | null"
2652
3102
  },
2653
- "default": "false"
3103
+ "privacy": "private",
3104
+ "default": "null"
2654
3105
  },
2655
3106
  {
2656
3107
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2658
- "type": {
2659
- "text": "boolean"
2660
- },
2661
- "default": "false"
3108
+ "name": "clickOutside",
3109
+ "privacy": "private"
2662
3110
  },
2663
3111
  {
2664
3112
  "kind": "field",
2665
- "name": "singleOption",
3113
+ "name": "chromeStatusLabel",
2666
3114
  "type": {
2667
- "text": "ActionMenuItem"
2668
- }
3115
+ "text": "string | null"
3116
+ },
3117
+ "readonly": true
2669
3118
  },
2670
3119
  {
2671
3120
  "kind": "field",
2672
- "name": "actionsMenu",
3121
+ "name": "canInstall",
2673
3122
  "type": {
2674
- "text": "HTMLElement"
2675
- }
3123
+ "text": "boolean"
3124
+ },
3125
+ "readonly": true
2676
3126
  },
2677
3127
  {
2678
3128
  "kind": "field",
2679
- "name": "actionsOpener",
3129
+ "name": "isDownloading",
2680
3130
  "type": {
2681
- "text": "HTMLElement"
2682
- }
3131
+ "text": "boolean"
3132
+ },
3133
+ "readonly": true
2683
3134
  },
2684
3135
  {
2685
3136
  "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
3137
+ "name": "openChanged",
3138
+ "return": {
3139
+ "type": {
3140
+ "text": "void"
3141
+ }
3142
+ }
2688
3143
  },
2689
3144
  {
2690
3145
  "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
3146
+ "name": "handleClickOutside",
3147
+ "privacy": "private",
2693
3148
  "parameters": [
2694
3149
  {
2695
- "name": "oldValue",
2696
- "type": {
2697
- "text": "any"
2698
- }
2699
- },
2700
- {
2701
- "name": "newValue",
3150
+ "name": "event",
2702
3151
  "type": {
2703
- "text": "any"
3152
+ "text": "MouseEvent"
2704
3153
  }
2705
3154
  }
2706
3155
  ]
2707
3156
  },
2708
3157
  {
2709
3158
  "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
3159
+ "name": "toggleDropdown"
2712
3160
  },
2713
3161
  {
2714
3162
  "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
3163
+ "name": "refreshStatus",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "Promise<void>"
3167
+ }
3168
+ }
2716
3169
  },
2717
3170
  {
2718
3171
  "kind": "method",
2719
- "name": "onActionMenuItemClick",
3172
+ "name": "deriveState",
3173
+ "privacy": "private",
3174
+ "return": {
3175
+ "type": {
3176
+ "text": "AIIndicatorState"
3177
+ }
3178
+ },
2720
3179
  "parameters": [
2721
3180
  {
2722
- "name": "callback",
3181
+ "name": "s",
2723
3182
  "type": {
2724
- "text": "(rowData) => void | any"
3183
+ "text": "AIStatus | null"
2725
3184
  }
2726
3185
  }
2727
3186
  ]
2728
3187
  },
2729
3188
  {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
3189
+ "kind": "method",
3190
+ "name": "maybeStartPolling",
3191
+ "privacy": "private",
3192
+ "return": {
3193
+ "type": {
3194
+ "text": "void"
3195
+ }
3196
+ }
2736
3197
  },
2737
3198
  {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
3199
+ "kind": "method",
3200
+ "name": "startPolling",
3201
+ "privacy": "private",
3202
+ "return": {
3203
+ "type": {
3204
+ "text": "void"
3205
+ }
3206
+ }
2741
3207
  },
2742
3208
  {
2743
3209
  "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
3210
+ "name": "stopPolling",
3211
+ "privacy": "private",
3212
+ "return": {
3213
+ "type": {
3214
+ "text": "void"
2751
3215
  }
2752
- ]
3216
+ }
2753
3217
  },
2754
3218
  {
2755
3219
  "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
3220
+ "name": "onInstall",
3221
+ "return": {
3222
+ "type": {
3223
+ "text": "Promise<void>"
2763
3224
  }
2764
- ]
3225
+ }
2765
3226
  },
2766
3227
  {
2767
3228
  "kind": "field",
@@ -2861,145 +3322,102 @@
2861
3322
  }
2862
3323
  },
2863
3324
  {
2864
- "name": "elementDefinition",
2865
- "type": {
2866
- "text": "T"
2867
- },
2868
- "description": "The definition of the element to create the registry\nfunction for."
2869
- }
2870
- ],
2871
- "description": "Defines an element registry function with a set of element definition defaults.",
2872
- "inheritedFrom": {
2873
- "name": "FoundationElement",
2874
- "module": "src/foundation-element/foundation-element.ts"
2875
- }
2876
- }
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"
3325
+ "name": "elementDefinition",
3326
+ "type": {
3327
+ "text": "T"
3328
+ },
3329
+ "description": "The definition of the element to create the registry\nfunction for."
3330
+ }
3331
+ ],
3332
+ "description": "Defines an element registry function with a set of element definition defaults.",
3333
+ "inheritedFrom": {
3334
+ "name": "FoundationElement",
3335
+ "module": "src/foundation-element/foundation-element.ts"
3336
+ }
2941
3337
  }
2942
3338
  ],
2943
3339
  "superclass": {
2944
3340
  "name": "FoundationElement",
2945
3341
  "package": "@microsoft/fast-foundation"
2946
3342
  },
2947
- "tagName": "%%prefix%%-actions-menu",
3343
+ "tagName": "%%prefix%%-ai-indicator",
2948
3344
  "customElement": true
2949
3345
  },
2950
3346
  {
2951
3347
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2954
- "privacy": "public"
3348
+ "name": "foundationAiIndicator"
2955
3349
  }
2956
3350
  ],
2957
3351
  "exports": [
2958
3352
  {
2959
3353
  "kind": "js",
2960
- "name": "ActionsMenu",
3354
+ "name": "AiIndicator",
2961
3355
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
3356
+ "name": "AiIndicator",
3357
+ "module": "src/ai-indicator/ai-indicator.ts"
2964
3358
  }
2965
3359
  },
2966
3360
  {
2967
3361
  "kind": "js",
2968
- "name": "foundationActionsMenu",
3362
+ "name": "foundationAiIndicator",
2969
3363
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
3364
+ "name": "foundationAiIndicator",
3365
+ "module": "src/ai-indicator/ai-indicator.ts"
2972
3366
  }
2973
3367
  }
2974
3368
  ]
2975
3369
  },
2976
3370
  {
2977
3371
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
3372
+ "path": "src/ai-indicator/index.ts",
2979
3373
  "declarations": [],
2980
3374
  "exports": [
2981
3375
  {
2982
3376
  "kind": "js",
2983
- "name": "*",
3377
+ "name": "AiIndicator",
2984
3378
  "declaration": {
2985
- "name": "*",
2986
- "package": "./actions-menu.styles"
3379
+ "name": "AiIndicator",
3380
+ "module": "./ai-indicator"
2987
3381
  }
2988
3382
  },
2989
3383
  {
2990
3384
  "kind": "js",
2991
- "name": "*",
3385
+ "name": "foundationAiIndicator",
2992
3386
  "declaration": {
2993
- "name": "*",
2994
- "package": "./actions-menu.template"
3387
+ "name": "foundationAiIndicator",
3388
+ "module": "./ai-indicator"
2995
3389
  }
2996
3390
  },
2997
3391
  {
2998
3392
  "kind": "js",
2999
- "name": "*",
3393
+ "name": "type",
3000
3394
  "declaration": {
3001
- "name": "*",
3002
- "package": "./actions-menu"
3395
+ "name": "type",
3396
+ "module": "./ai-indicator"
3397
+ }
3398
+ },
3399
+ {
3400
+ "kind": "js",
3401
+ "name": "AIIndicatorState",
3402
+ "declaration": {
3403
+ "name": "AIIndicatorState",
3404
+ "module": "./ai-indicator"
3405
+ }
3406
+ },
3407
+ {
3408
+ "kind": "js",
3409
+ "name": "foundationAiIndicatorTemplate",
3410
+ "declaration": {
3411
+ "name": "foundationAiIndicatorTemplate",
3412
+ "module": "./ai-indicator.template"
3413
+ }
3414
+ },
3415
+ {
3416
+ "kind": "js",
3417
+ "name": "foundationAiIndicatorStyles",
3418
+ "declaration": {
3419
+ "name": "foundationAiIndicatorStyles",
3420
+ "module": "./ai-indicator.styles"
3003
3421
  }
3004
3422
  }
3005
3423
  ]
@@ -3615,449 +4033,31 @@
3615
4033
  },
3616
4034
  {
3617
4035
  "kind": "javascript-module",
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",
4036
+ "path": "src/_config/index.ts",
4013
4037
  "declarations": [],
4014
4038
  "exports": [
4015
4039
  {
4016
4040
  "kind": "js",
4017
- "name": "AiIndicator",
4018
- "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
4021
- }
4022
- },
4023
- {
4024
- "kind": "js",
4025
- "name": "foundationAiIndicator",
4026
- "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
4029
- }
4030
- },
4031
- {
4032
- "kind": "js",
4033
- "name": "type",
4034
- "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
4037
- }
4038
- },
4039
- {
4040
- "kind": "js",
4041
- "name": "AIIndicatorState",
4041
+ "name": "*",
4042
4042
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./styles"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
4050
4050
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./tokens"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
4058
4058
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./values"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,6 +60120,197 @@
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
+ },
60123
60314
  {
60124
60315
  "kind": "javascript-module",
60125
60316
  "path": "src/_config/styles/colors.ts",
@@ -61492,197 +61683,6 @@
61492
61683
  "declarations": [],
61493
61684
  "exports": []
61494
61685
  },
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",