@genesislcap/foundation-ui 15.14.2-FUI-2603.2 → 15.14.2-FUI-2603.3

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.
@@ -2364,11 +2364,34 @@
2364
2364
  },
2365
2365
  {
2366
2366
  "kind": "javascript-module",
2367
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2367
+ "path": "src/actions-menu/actions-menu.styles.ts",
2368
2368
  "declarations": [
2369
2369
  {
2370
2370
  "kind": "function",
2371
- "name": "foundationAiIndicatorStyles",
2371
+ "name": "actionsMenuBaseStyles",
2372
+ "return": {
2373
+ "type": {
2374
+ "text": "ElementStyles"
2375
+ }
2376
+ },
2377
+ "parameters": [
2378
+ {
2379
+ "name": "context",
2380
+ "type": {
2381
+ "text": "ElementDefinitionContext"
2382
+ }
2383
+ },
2384
+ {
2385
+ "name": "definition",
2386
+ "type": {
2387
+ "text": "FoundationElementDefinition"
2388
+ }
2389
+ }
2390
+ ]
2391
+ },
2392
+ {
2393
+ "kind": "function",
2394
+ "name": "foundationActionsMenuStyles",
2372
2395
  "return": {
2373
2396
  "type": {
2374
2397
  "text": "ElementStyles"
@@ -2393,225 +2416,281 @@
2393
2416
  "exports": [
2394
2417
  {
2395
2418
  "kind": "js",
2396
- "name": "foundationAiIndicatorStyles",
2419
+ "name": "actionsMenuBaseStyles",
2397
2420
  "declaration": {
2398
- "name": "foundationAiIndicatorStyles",
2399
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2421
+ "name": "actionsMenuBaseStyles",
2422
+ "module": "src/actions-menu/actions-menu.styles.ts"
2423
+ }
2424
+ },
2425
+ {
2426
+ "kind": "js",
2427
+ "name": "foundationActionsMenuStyles",
2428
+ "declaration": {
2429
+ "name": "foundationActionsMenuStyles",
2430
+ "module": "src/actions-menu/actions-menu.styles.ts"
2400
2431
  }
2401
2432
  }
2402
2433
  ]
2403
2434
  },
2404
2435
  {
2405
2436
  "kind": "javascript-module",
2406
- "path": "src/ai-indicator/ai-indicator.template.ts",
2437
+ "path": "src/actions-menu/actions-menu.template.ts",
2407
2438
  "declarations": [
2439
+ {
2440
+ "kind": "function",
2441
+ "name": "menuTemplate",
2442
+ "parameters": [
2443
+ {
2444
+ "name": "prefix",
2445
+ "type": {
2446
+ "text": "string"
2447
+ }
2448
+ }
2449
+ ]
2450
+ },
2451
+ {
2452
+ "kind": "function",
2453
+ "name": "singleOptionTemplate",
2454
+ "parameters": [
2455
+ {
2456
+ "name": "prefix",
2457
+ "type": {
2458
+ "text": "string"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2408
2463
  {
2409
2464
  "kind": "variable",
2410
- "name": "foundationAiIndicatorTemplate",
2465
+ "name": "foundationActionsMenuTemplate",
2411
2466
  "type": {
2412
- "text": "ViewTemplate<AiIndicator>"
2467
+ "text": "ViewTemplate<ActionsMenu>"
2413
2468
  },
2414
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2469
+ "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`"
2415
2470
  }
2416
2471
  ],
2417
2472
  "exports": [
2418
2473
  {
2419
2474
  "kind": "js",
2420
- "name": "foundationAiIndicatorTemplate",
2475
+ "name": "menuTemplate",
2421
2476
  "declaration": {
2422
- "name": "foundationAiIndicatorTemplate",
2423
- "module": "src/ai-indicator/ai-indicator.template.ts"
2477
+ "name": "menuTemplate",
2478
+ "module": "src/actions-menu/actions-menu.template.ts"
2479
+ }
2480
+ },
2481
+ {
2482
+ "kind": "js",
2483
+ "name": "singleOptionTemplate",
2484
+ "declaration": {
2485
+ "name": "singleOptionTemplate",
2486
+ "module": "src/actions-menu/actions-menu.template.ts"
2487
+ }
2488
+ },
2489
+ {
2490
+ "kind": "js",
2491
+ "name": "foundationActionsMenuTemplate",
2492
+ "declaration": {
2493
+ "name": "foundationActionsMenuTemplate",
2494
+ "module": "src/actions-menu/actions-menu.template.ts"
2424
2495
  }
2425
2496
  }
2426
2497
  ]
2427
2498
  },
2428
2499
  {
2429
2500
  "kind": "javascript-module",
2430
- "path": "src/ai-indicator/ai-indicator.ts",
2501
+ "path": "src/actions-menu/actions-menu.ts",
2431
2502
  "declarations": [
2432
2503
  {
2433
2504
  "kind": "class",
2434
2505
  "description": "",
2435
- "name": "AiIndicator",
2506
+ "name": "ActionsMenu",
2436
2507
  "members": [
2437
2508
  {
2438
2509
  "kind": "field",
2439
- "name": "providerRegistry",
2510
+ "name": "actions",
2440
2511
  "type": {
2441
- "text": "AIProviderRegistry"
2512
+ "text": "ActionMenuItem[]"
2442
2513
  }
2443
2514
  },
2444
2515
  {
2445
2516
  "kind": "field",
2446
- "name": "aiProvider",
2517
+ "name": "isVertical",
2447
2518
  "type": {
2448
- "text": "AIProvider | undefined"
2519
+ "text": "boolean"
2449
2520
  },
2450
- "privacy": "private",
2451
- "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.",
2452
- "readonly": true
2521
+ "default": "false"
2453
2522
  },
2454
2523
  {
2455
2524
  "kind": "field",
2456
- "name": "status",
2525
+ "name": "addDefaultActions",
2457
2526
  "type": {
2458
- "text": "AIStatus | null"
2527
+ "text": "boolean"
2459
2528
  },
2460
- "default": "null"
2529
+ "default": "true"
2461
2530
  },
2462
2531
  {
2463
2532
  "kind": "field",
2464
- "name": "open",
2533
+ "name": "autoCloseOnAction",
2465
2534
  "type": {
2466
2535
  "text": "boolean"
2467
2536
  },
2468
- "default": "false"
2537
+ "default": "true"
2469
2538
  },
2470
2539
  {
2471
2540
  "kind": "field",
2472
- "name": "state",
2541
+ "name": "classNames",
2473
2542
  "type": {
2474
- "text": "AIIndicatorState"
2475
- },
2476
- "default": "'none'"
2543
+ "text": "string"
2544
+ }
2477
2545
  },
2478
2546
  {
2479
2547
  "kind": "field",
2480
- "name": "isInstalling",
2548
+ "name": "definition",
2481
2549
  "type": {
2482
- "text": "boolean"
2483
- },
2484
- "default": "false"
2550
+ "text": "any"
2551
+ }
2485
2552
  },
2486
2553
  {
2487
2554
  "kind": "field",
2488
- "name": "pollTimer",
2555
+ "name": "name",
2489
2556
  "type": {
2490
- "text": "ReturnType<typeof setInterval> | null"
2557
+ "text": "string"
2491
2558
  },
2492
- "privacy": "private",
2493
- "default": "null"
2559
+ "default": "'Actions'"
2494
2560
  },
2495
2561
  {
2496
2562
  "kind": "field",
2497
- "name": "clickOutside",
2498
- "privacy": "private"
2563
+ "name": "open",
2564
+ "type": {
2565
+ "text": "boolean"
2566
+ },
2567
+ "default": "false"
2499
2568
  },
2500
2569
  {
2501
2570
  "kind": "field",
2502
- "name": "chromeStatusLabel",
2571
+ "name": "buttonAppearance",
2503
2572
  "type": {
2504
- "text": "string | null"
2505
- },
2506
- "readonly": true
2573
+ "text": "string"
2574
+ }
2507
2575
  },
2508
2576
  {
2509
2577
  "kind": "field",
2510
- "name": "canInstall",
2578
+ "name": "hideDisabled",
2511
2579
  "type": {
2512
2580
  "text": "boolean"
2513
2581
  },
2514
- "readonly": true
2582
+ "default": "false"
2515
2583
  },
2516
2584
  {
2517
2585
  "kind": "field",
2518
- "name": "isDownloading",
2586
+ "name": "hideMenuSingleOption",
2519
2587
  "type": {
2520
2588
  "text": "boolean"
2521
2589
  },
2522
- "readonly": true
2590
+ "default": "false"
2523
2591
  },
2524
2592
  {
2525
- "kind": "method",
2526
- "name": "openChanged",
2527
- "return": {
2528
- "type": {
2529
- "text": "void"
2530
- }
2593
+ "kind": "field",
2594
+ "name": "singleOption",
2595
+ "type": {
2596
+ "text": "ActionMenuItem"
2597
+ }
2598
+ },
2599
+ {
2600
+ "kind": "field",
2601
+ "name": "actionsMenu",
2602
+ "type": {
2603
+ "text": "HTMLElement"
2604
+ }
2605
+ },
2606
+ {
2607
+ "kind": "field",
2608
+ "name": "actionsOpener",
2609
+ "type": {
2610
+ "text": "HTMLElement"
2531
2611
  }
2532
2612
  },
2533
2613
  {
2534
2614
  "kind": "method",
2535
- "name": "handleClickOutside",
2536
- "privacy": "private",
2615
+ "name": "updateMenuPosition",
2616
+ "privacy": "private"
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "definitionChanged",
2621
+ "privacy": "protected",
2537
2622
  "parameters": [
2538
2623
  {
2539
- "name": "event",
2624
+ "name": "oldValue",
2540
2625
  "type": {
2541
- "text": "MouseEvent"
2626
+ "text": "any"
2627
+ }
2628
+ },
2629
+ {
2630
+ "name": "newValue",
2631
+ "type": {
2632
+ "text": "any"
2542
2633
  }
2543
2634
  }
2544
2635
  ]
2545
2636
  },
2546
2637
  {
2547
2638
  "kind": "method",
2548
- "name": "toggleDropdown"
2639
+ "name": "openChanged",
2640
+ "privacy": "protected"
2549
2641
  },
2550
2642
  {
2551
2643
  "kind": "method",
2552
- "name": "refreshStatus",
2553
- "return": {
2554
- "type": {
2555
- "text": "Promise<void>"
2556
- }
2557
- }
2644
+ "name": "toggleActionsMenuVisibility"
2558
2645
  },
2559
2646
  {
2560
2647
  "kind": "method",
2561
- "name": "deriveState",
2562
- "privacy": "private",
2563
- "return": {
2564
- "type": {
2565
- "text": "AIIndicatorState"
2566
- }
2567
- },
2648
+ "name": "onActionMenuItemClick",
2568
2649
  "parameters": [
2569
2650
  {
2570
- "name": "s",
2651
+ "name": "callback",
2571
2652
  "type": {
2572
- "text": "AIStatus | null"
2653
+ "text": "(rowData) => void | any"
2573
2654
  }
2574
2655
  }
2575
2656
  ]
2576
2657
  },
2577
2658
  {
2578
- "kind": "method",
2579
- "name": "maybeStartPolling",
2580
- "privacy": "private",
2581
- "return": {
2582
- "type": {
2583
- "text": "void"
2584
- }
2585
- }
2659
+ "kind": "field",
2660
+ "name": "allActions",
2661
+ "type": {
2662
+ "text": "ActionMenuItem[]"
2663
+ },
2664
+ "readonly": true
2586
2665
  },
2587
2666
  {
2588
- "kind": "method",
2589
- "name": "startPolling",
2590
- "privacy": "private",
2591
- "return": {
2592
- "type": {
2593
- "text": "void"
2594
- }
2595
- }
2667
+ "kind": "field",
2668
+ "name": "rowData",
2669
+ "readonly": true
2596
2670
  },
2597
2671
  {
2598
2672
  "kind": "method",
2599
- "name": "stopPolling",
2600
- "privacy": "private",
2601
- "return": {
2602
- "type": {
2603
- "text": "void"
2673
+ "name": "getLabel",
2674
+ "parameters": [
2675
+ {
2676
+ "name": "name",
2677
+ "type": {
2678
+ "text": "string | ((rowData: any) => string)"
2679
+ }
2604
2680
  }
2605
- }
2681
+ ]
2606
2682
  },
2607
2683
  {
2608
2684
  "kind": "method",
2609
- "name": "onInstall",
2610
- "return": {
2611
- "type": {
2612
- "text": "Promise<void>"
2685
+ "name": "getTemplate",
2686
+ "parameters": [
2687
+ {
2688
+ "name": "prefix",
2689
+ "type": {
2690
+ "text": "string"
2691
+ }
2613
2692
  }
2614
- }
2693
+ ]
2615
2694
  },
2616
2695
  {
2617
2696
  "kind": "field",
@@ -2694,119 +2773,162 @@
2694
2773
  }
2695
2774
  },
2696
2775
  {
2697
- "kind": "method",
2698
- "name": "compose",
2699
- "privacy": "public",
2700
- "static": true,
2701
- "return": {
2702
- "type": {
2703
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2704
- }
2776
+ "kind": "method",
2777
+ "name": "compose",
2778
+ "privacy": "public",
2779
+ "static": true,
2780
+ "return": {
2781
+ "type": {
2782
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2783
+ }
2784
+ },
2785
+ "parameters": [
2786
+ {
2787
+ "name": "this",
2788
+ "type": {
2789
+ "text": "K"
2790
+ }
2791
+ },
2792
+ {
2793
+ "name": "elementDefinition",
2794
+ "type": {
2795
+ "text": "T"
2796
+ },
2797
+ "description": "The definition of the element to create the registry\nfunction for."
2798
+ }
2799
+ ],
2800
+ "description": "Defines an element registry function with a set of element definition defaults.",
2801
+ "inheritedFrom": {
2802
+ "name": "FoundationElement",
2803
+ "module": "src/foundation-element/foundation-element.ts"
2804
+ }
2805
+ }
2806
+ ],
2807
+ "attributes": [
2808
+ {
2809
+ "name": "is-vertical",
2810
+ "type": {
2811
+ "text": "boolean"
2812
+ },
2813
+ "default": "false",
2814
+ "fieldName": "isVertical"
2815
+ },
2816
+ {
2817
+ "name": "add-default-actions",
2818
+ "type": {
2819
+ "text": "boolean"
2820
+ },
2821
+ "default": "true",
2822
+ "fieldName": "addDefaultActions"
2823
+ },
2824
+ {
2825
+ "name": "auto-close-on-action",
2826
+ "type": {
2827
+ "text": "boolean"
2828
+ },
2829
+ "default": "true",
2830
+ "fieldName": "autoCloseOnAction"
2831
+ },
2832
+ {
2833
+ "name": "name",
2834
+ "type": {
2835
+ "text": "string"
2836
+ },
2837
+ "default": "'Actions'",
2838
+ "fieldName": "name"
2839
+ },
2840
+ {
2841
+ "name": "open",
2842
+ "type": {
2843
+ "text": "boolean"
2844
+ },
2845
+ "default": "false",
2846
+ "fieldName": "open"
2847
+ },
2848
+ {
2849
+ "name": "buttonAppearance",
2850
+ "type": {
2851
+ "text": "string"
2852
+ },
2853
+ "fieldName": "buttonAppearance"
2854
+ },
2855
+ {
2856
+ "name": "hide-disabled",
2857
+ "type": {
2858
+ "text": "boolean"
2859
+ },
2860
+ "default": "false",
2861
+ "fieldName": "hideDisabled"
2862
+ },
2863
+ {
2864
+ "name": "hide-menu-single-option",
2865
+ "type": {
2866
+ "text": "boolean"
2705
2867
  },
2706
- "parameters": [
2707
- {
2708
- "name": "this",
2709
- "type": {
2710
- "text": "K"
2711
- }
2712
- },
2713
- {
2714
- "name": "elementDefinition",
2715
- "type": {
2716
- "text": "T"
2717
- },
2718
- "description": "The definition of the element to create the registry\nfunction for."
2719
- }
2720
- ],
2721
- "description": "Defines an element registry function with a set of element definition defaults.",
2722
- "inheritedFrom": {
2723
- "name": "FoundationElement",
2724
- "module": "src/foundation-element/foundation-element.ts"
2725
- }
2868
+ "default": "false",
2869
+ "fieldName": "hideMenuSingleOption"
2726
2870
  }
2727
2871
  ],
2728
2872
  "superclass": {
2729
2873
  "name": "FoundationElement",
2730
2874
  "package": "@microsoft/fast-foundation"
2731
2875
  },
2732
- "tagName": "%%prefix%%-ai-indicator",
2876
+ "tagName": "%%prefix%%-actions-menu",
2733
2877
  "customElement": true
2734
2878
  },
2735
2879
  {
2736
2880
  "kind": "variable",
2737
- "name": "foundationAiIndicator"
2881
+ "name": "foundationActionsMenu",
2882
+ "description": "The Foundation Actions Menu",
2883
+ "privacy": "public"
2738
2884
  }
2739
2885
  ],
2740
2886
  "exports": [
2741
2887
  {
2742
2888
  "kind": "js",
2743
- "name": "AiIndicator",
2889
+ "name": "ActionsMenu",
2744
2890
  "declaration": {
2745
- "name": "AiIndicator",
2746
- "module": "src/ai-indicator/ai-indicator.ts"
2891
+ "name": "ActionsMenu",
2892
+ "module": "src/actions-menu/actions-menu.ts"
2747
2893
  }
2748
2894
  },
2749
2895
  {
2750
2896
  "kind": "js",
2751
- "name": "foundationAiIndicator",
2897
+ "name": "foundationActionsMenu",
2752
2898
  "declaration": {
2753
- "name": "foundationAiIndicator",
2754
- "module": "src/ai-indicator/ai-indicator.ts"
2899
+ "name": "foundationActionsMenu",
2900
+ "module": "src/actions-menu/actions-menu.ts"
2755
2901
  }
2756
2902
  }
2757
2903
  ]
2758
2904
  },
2759
2905
  {
2760
2906
  "kind": "javascript-module",
2761
- "path": "src/ai-indicator/index.ts",
2907
+ "path": "src/actions-menu/index.ts",
2762
2908
  "declarations": [],
2763
2909
  "exports": [
2764
2910
  {
2765
2911
  "kind": "js",
2766
- "name": "AiIndicator",
2767
- "declaration": {
2768
- "name": "AiIndicator",
2769
- "module": "./ai-indicator"
2770
- }
2771
- },
2772
- {
2773
- "kind": "js",
2774
- "name": "foundationAiIndicator",
2775
- "declaration": {
2776
- "name": "foundationAiIndicator",
2777
- "module": "./ai-indicator"
2778
- }
2779
- },
2780
- {
2781
- "kind": "js",
2782
- "name": "type",
2783
- "declaration": {
2784
- "name": "type",
2785
- "module": "./ai-indicator"
2786
- }
2787
- },
2788
- {
2789
- "kind": "js",
2790
- "name": "AIIndicatorState",
2912
+ "name": "*",
2791
2913
  "declaration": {
2792
- "name": "AIIndicatorState",
2793
- "module": "./ai-indicator"
2914
+ "name": "*",
2915
+ "package": "./actions-menu.styles"
2794
2916
  }
2795
2917
  },
2796
2918
  {
2797
2919
  "kind": "js",
2798
- "name": "foundationAiIndicatorTemplate",
2920
+ "name": "*",
2799
2921
  "declaration": {
2800
- "name": "foundationAiIndicatorTemplate",
2801
- "module": "./ai-indicator.template"
2922
+ "name": "*",
2923
+ "package": "./actions-menu.template"
2802
2924
  }
2803
2925
  },
2804
2926
  {
2805
2927
  "kind": "js",
2806
- "name": "foundationAiIndicatorStyles",
2928
+ "name": "*",
2807
2929
  "declaration": {
2808
- "name": "foundationAiIndicatorStyles",
2809
- "module": "./ai-indicator.styles"
2930
+ "name": "*",
2931
+ "package": "./actions-menu"
2810
2932
  }
2811
2933
  }
2812
2934
  ]
@@ -3422,34 +3544,11 @@
3422
3544
  },
3423
3545
  {
3424
3546
  "kind": "javascript-module",
3425
- "path": "src/actions-menu/actions-menu.styles.ts",
3547
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3426
3548
  "declarations": [
3427
3549
  {
3428
3550
  "kind": "function",
3429
- "name": "actionsMenuBaseStyles",
3430
- "return": {
3431
- "type": {
3432
- "text": "ElementStyles"
3433
- }
3434
- },
3435
- "parameters": [
3436
- {
3437
- "name": "context",
3438
- "type": {
3439
- "text": "ElementDefinitionContext"
3440
- }
3441
- },
3442
- {
3443
- "name": "definition",
3444
- "type": {
3445
- "text": "FoundationElementDefinition"
3446
- }
3447
- }
3448
- ]
3449
- },
3450
- {
3451
- "kind": "function",
3452
- "name": "foundationActionsMenuStyles",
3551
+ "name": "foundationAiIndicatorStyles",
3453
3552
  "return": {
3454
3553
  "type": {
3455
3554
  "text": "ElementStyles"
@@ -3474,147 +3573,71 @@
3474
3573
  "exports": [
3475
3574
  {
3476
3575
  "kind": "js",
3477
- "name": "actionsMenuBaseStyles",
3478
- "declaration": {
3479
- "name": "actionsMenuBaseStyles",
3480
- "module": "src/actions-menu/actions-menu.styles.ts"
3481
- }
3482
- },
3483
- {
3484
- "kind": "js",
3485
- "name": "foundationActionsMenuStyles",
3576
+ "name": "foundationAiIndicatorStyles",
3486
3577
  "declaration": {
3487
- "name": "foundationActionsMenuStyles",
3488
- "module": "src/actions-menu/actions-menu.styles.ts"
3578
+ "name": "foundationAiIndicatorStyles",
3579
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3489
3580
  }
3490
3581
  }
3491
3582
  ]
3492
3583
  },
3493
3584
  {
3494
3585
  "kind": "javascript-module",
3495
- "path": "src/actions-menu/actions-menu.template.ts",
3586
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3496
3587
  "declarations": [
3497
- {
3498
- "kind": "function",
3499
- "name": "menuTemplate",
3500
- "parameters": [
3501
- {
3502
- "name": "prefix",
3503
- "type": {
3504
- "text": "string"
3505
- }
3506
- }
3507
- ]
3508
- },
3509
- {
3510
- "kind": "function",
3511
- "name": "singleOptionTemplate",
3512
- "parameters": [
3513
- {
3514
- "name": "prefix",
3515
- "type": {
3516
- "text": "string"
3517
- }
3518
- }
3519
- ]
3520
- },
3521
3588
  {
3522
3589
  "kind": "variable",
3523
- "name": "foundationActionsMenuTemplate",
3590
+ "name": "foundationAiIndicatorTemplate",
3524
3591
  "type": {
3525
- "text": "ViewTemplate<ActionsMenu>"
3592
+ "text": "ViewTemplate<AiIndicator>"
3526
3593
  },
3527
- "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`"
3594
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3528
3595
  }
3529
3596
  ],
3530
3597
  "exports": [
3531
3598
  {
3532
3599
  "kind": "js",
3533
- "name": "menuTemplate",
3534
- "declaration": {
3535
- "name": "menuTemplate",
3536
- "module": "src/actions-menu/actions-menu.template.ts"
3537
- }
3538
- },
3539
- {
3540
- "kind": "js",
3541
- "name": "singleOptionTemplate",
3542
- "declaration": {
3543
- "name": "singleOptionTemplate",
3544
- "module": "src/actions-menu/actions-menu.template.ts"
3545
- }
3546
- },
3547
- {
3548
- "kind": "js",
3549
- "name": "foundationActionsMenuTemplate",
3600
+ "name": "foundationAiIndicatorTemplate",
3550
3601
  "declaration": {
3551
- "name": "foundationActionsMenuTemplate",
3552
- "module": "src/actions-menu/actions-menu.template.ts"
3602
+ "name": "foundationAiIndicatorTemplate",
3603
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3553
3604
  }
3554
3605
  }
3555
3606
  ]
3556
3607
  },
3557
3608
  {
3558
3609
  "kind": "javascript-module",
3559
- "path": "src/actions-menu/actions-menu.ts",
3610
+ "path": "src/ai-indicator/ai-indicator.ts",
3560
3611
  "declarations": [
3561
3612
  {
3562
3613
  "kind": "class",
3563
3614
  "description": "",
3564
- "name": "ActionsMenu",
3615
+ "name": "AiIndicator",
3565
3616
  "members": [
3566
3617
  {
3567
3618
  "kind": "field",
3568
- "name": "actions",
3619
+ "name": "providerRegistry",
3569
3620
  "type": {
3570
- "text": "ActionMenuItem[]"
3621
+ "text": "AIProviderRegistry"
3571
3622
  }
3572
3623
  },
3573
3624
  {
3574
3625
  "kind": "field",
3575
- "name": "isVertical",
3576
- "type": {
3577
- "text": "boolean"
3578
- },
3579
- "default": "false"
3580
- },
3581
- {
3582
- "kind": "field",
3583
- "name": "addDefaultActions",
3584
- "type": {
3585
- "text": "boolean"
3586
- },
3587
- "default": "true"
3588
- },
3589
- {
3590
- "kind": "field",
3591
- "name": "autoCloseOnAction",
3626
+ "name": "aiProvider",
3592
3627
  "type": {
3593
- "text": "boolean"
3628
+ "text": "AIProvider | undefined"
3594
3629
  },
3595
- "default": "true"
3596
- },
3597
- {
3598
- "kind": "field",
3599
- "name": "classNames",
3600
- "type": {
3601
- "text": "string"
3602
- }
3603
- },
3604
- {
3605
- "kind": "field",
3606
- "name": "definition",
3607
- "type": {
3608
- "text": "any"
3609
- }
3630
+ "privacy": "private",
3631
+ "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.",
3632
+ "readonly": true
3610
3633
  },
3611
3634
  {
3612
3635
  "kind": "field",
3613
- "name": "name",
3636
+ "name": "status",
3614
3637
  "type": {
3615
- "text": "string"
3638
+ "text": "AIStatus | null"
3616
3639
  },
3617
- "default": "'Actions'"
3640
+ "default": "null"
3618
3641
  },
3619
3642
  {
3620
3643
  "kind": "field",
@@ -3626,14 +3649,15 @@
3626
3649
  },
3627
3650
  {
3628
3651
  "kind": "field",
3629
- "name": "buttonAppearance",
3652
+ "name": "state",
3630
3653
  "type": {
3631
- "text": "string"
3632
- }
3654
+ "text": "AIIndicatorState"
3655
+ },
3656
+ "default": "'none'"
3633
3657
  },
3634
3658
  {
3635
3659
  "kind": "field",
3636
- "name": "hideDisabled",
3660
+ "name": "isInstalling",
3637
3661
  "type": {
3638
3662
  "text": "boolean"
3639
3663
  },
@@ -3641,114 +3665,133 @@
3641
3665
  },
3642
3666
  {
3643
3667
  "kind": "field",
3644
- "name": "hideMenuSingleOption",
3668
+ "name": "pollTimer",
3645
3669
  "type": {
3646
- "text": "boolean"
3670
+ "text": "ReturnType<typeof setInterval> | null"
3647
3671
  },
3648
- "default": "false"
3672
+ "privacy": "private",
3673
+ "default": "null"
3649
3674
  },
3650
3675
  {
3651
3676
  "kind": "field",
3652
- "name": "singleOption",
3677
+ "name": "clickOutside",
3678
+ "privacy": "private"
3679
+ },
3680
+ {
3681
+ "kind": "field",
3682
+ "name": "chromeStatusLabel",
3653
3683
  "type": {
3654
- "text": "ActionMenuItem"
3655
- }
3684
+ "text": "string | null"
3685
+ },
3686
+ "readonly": true
3656
3687
  },
3657
3688
  {
3658
3689
  "kind": "field",
3659
- "name": "actionsMenu",
3690
+ "name": "canInstall",
3660
3691
  "type": {
3661
- "text": "HTMLElement"
3662
- }
3692
+ "text": "boolean"
3693
+ },
3694
+ "readonly": true
3663
3695
  },
3664
3696
  {
3665
3697
  "kind": "field",
3666
- "name": "actionsOpener",
3698
+ "name": "isDownloading",
3667
3699
  "type": {
3668
- "text": "HTMLElement"
3669
- }
3700
+ "text": "boolean"
3701
+ },
3702
+ "readonly": true
3670
3703
  },
3671
3704
  {
3672
3705
  "kind": "method",
3673
- "name": "updateMenuPosition",
3674
- "privacy": "private"
3706
+ "name": "openChanged",
3707
+ "return": {
3708
+ "type": {
3709
+ "text": "void"
3710
+ }
3711
+ }
3675
3712
  },
3676
3713
  {
3677
3714
  "kind": "method",
3678
- "name": "definitionChanged",
3679
- "privacy": "protected",
3715
+ "name": "handleClickOutside",
3716
+ "privacy": "private",
3680
3717
  "parameters": [
3681
3718
  {
3682
- "name": "oldValue",
3683
- "type": {
3684
- "text": "any"
3685
- }
3686
- },
3687
- {
3688
- "name": "newValue",
3719
+ "name": "event",
3689
3720
  "type": {
3690
- "text": "any"
3721
+ "text": "MouseEvent"
3691
3722
  }
3692
3723
  }
3693
3724
  ]
3694
3725
  },
3695
3726
  {
3696
3727
  "kind": "method",
3697
- "name": "openChanged",
3698
- "privacy": "protected"
3728
+ "name": "toggleDropdown"
3699
3729
  },
3700
3730
  {
3701
3731
  "kind": "method",
3702
- "name": "toggleActionsMenuVisibility"
3732
+ "name": "refreshStatus",
3733
+ "return": {
3734
+ "type": {
3735
+ "text": "Promise<void>"
3736
+ }
3737
+ }
3703
3738
  },
3704
3739
  {
3705
3740
  "kind": "method",
3706
- "name": "onActionMenuItemClick",
3741
+ "name": "deriveState",
3742
+ "privacy": "private",
3743
+ "return": {
3744
+ "type": {
3745
+ "text": "AIIndicatorState"
3746
+ }
3747
+ },
3707
3748
  "parameters": [
3708
3749
  {
3709
- "name": "callback",
3750
+ "name": "s",
3710
3751
  "type": {
3711
- "text": "(rowData) => void | any"
3752
+ "text": "AIStatus | null"
3712
3753
  }
3713
3754
  }
3714
3755
  ]
3715
3756
  },
3716
3757
  {
3717
- "kind": "field",
3718
- "name": "allActions",
3719
- "type": {
3720
- "text": "ActionMenuItem[]"
3721
- },
3722
- "readonly": true
3758
+ "kind": "method",
3759
+ "name": "maybeStartPolling",
3760
+ "privacy": "private",
3761
+ "return": {
3762
+ "type": {
3763
+ "text": "void"
3764
+ }
3765
+ }
3723
3766
  },
3724
3767
  {
3725
- "kind": "field",
3726
- "name": "rowData",
3727
- "readonly": true
3768
+ "kind": "method",
3769
+ "name": "startPolling",
3770
+ "privacy": "private",
3771
+ "return": {
3772
+ "type": {
3773
+ "text": "void"
3774
+ }
3775
+ }
3728
3776
  },
3729
3777
  {
3730
3778
  "kind": "method",
3731
- "name": "getLabel",
3732
- "parameters": [
3733
- {
3734
- "name": "name",
3735
- "type": {
3736
- "text": "string | ((rowData: any) => string)"
3737
- }
3779
+ "name": "stopPolling",
3780
+ "privacy": "private",
3781
+ "return": {
3782
+ "type": {
3783
+ "text": "void"
3738
3784
  }
3739
- ]
3785
+ }
3740
3786
  },
3741
3787
  {
3742
3788
  "kind": "method",
3743
- "name": "getTemplate",
3744
- "parameters": [
3745
- {
3746
- "name": "prefix",
3747
- "type": {
3748
- "text": "string"
3749
- }
3789
+ "name": "onInstall",
3790
+ "return": {
3791
+ "type": {
3792
+ "text": "Promise<void>"
3750
3793
  }
3751
- ]
3794
+ }
3752
3795
  },
3753
3796
  {
3754
3797
  "kind": "field",
@@ -3862,131 +3905,88 @@
3862
3905
  }
3863
3906
  }
3864
3907
  ],
3865
- "attributes": [
3866
- {
3867
- "name": "is-vertical",
3868
- "type": {
3869
- "text": "boolean"
3870
- },
3871
- "default": "false",
3872
- "fieldName": "isVertical"
3873
- },
3874
- {
3875
- "name": "add-default-actions",
3876
- "type": {
3877
- "text": "boolean"
3878
- },
3879
- "default": "true",
3880
- "fieldName": "addDefaultActions"
3881
- },
3882
- {
3883
- "name": "auto-close-on-action",
3884
- "type": {
3885
- "text": "boolean"
3886
- },
3887
- "default": "true",
3888
- "fieldName": "autoCloseOnAction"
3889
- },
3890
- {
3891
- "name": "name",
3892
- "type": {
3893
- "text": "string"
3894
- },
3895
- "default": "'Actions'",
3896
- "fieldName": "name"
3897
- },
3898
- {
3899
- "name": "open",
3900
- "type": {
3901
- "text": "boolean"
3902
- },
3903
- "default": "false",
3904
- "fieldName": "open"
3905
- },
3906
- {
3907
- "name": "buttonAppearance",
3908
- "type": {
3909
- "text": "string"
3910
- },
3911
- "fieldName": "buttonAppearance"
3912
- },
3913
- {
3914
- "name": "hide-disabled",
3915
- "type": {
3916
- "text": "boolean"
3917
- },
3918
- "default": "false",
3919
- "fieldName": "hideDisabled"
3920
- },
3921
- {
3922
- "name": "hide-menu-single-option",
3923
- "type": {
3924
- "text": "boolean"
3925
- },
3926
- "default": "false",
3927
- "fieldName": "hideMenuSingleOption"
3928
- }
3929
- ],
3930
3908
  "superclass": {
3931
3909
  "name": "FoundationElement",
3932
3910
  "package": "@microsoft/fast-foundation"
3933
3911
  },
3934
- "tagName": "%%prefix%%-actions-menu",
3912
+ "tagName": "%%prefix%%-ai-indicator",
3935
3913
  "customElement": true
3936
3914
  },
3937
3915
  {
3938
3916
  "kind": "variable",
3939
- "name": "foundationActionsMenu",
3940
- "description": "The Foundation Actions Menu",
3941
- "privacy": "public"
3917
+ "name": "foundationAiIndicator"
3942
3918
  }
3943
3919
  ],
3944
3920
  "exports": [
3945
3921
  {
3946
3922
  "kind": "js",
3947
- "name": "ActionsMenu",
3923
+ "name": "AiIndicator",
3948
3924
  "declaration": {
3949
- "name": "ActionsMenu",
3950
- "module": "src/actions-menu/actions-menu.ts"
3925
+ "name": "AiIndicator",
3926
+ "module": "src/ai-indicator/ai-indicator.ts"
3951
3927
  }
3952
3928
  },
3953
3929
  {
3954
3930
  "kind": "js",
3955
- "name": "foundationActionsMenu",
3931
+ "name": "foundationAiIndicator",
3956
3932
  "declaration": {
3957
- "name": "foundationActionsMenu",
3958
- "module": "src/actions-menu/actions-menu.ts"
3933
+ "name": "foundationAiIndicator",
3934
+ "module": "src/ai-indicator/ai-indicator.ts"
3959
3935
  }
3960
3936
  }
3961
3937
  ]
3962
3938
  },
3963
3939
  {
3964
3940
  "kind": "javascript-module",
3965
- "path": "src/actions-menu/index.ts",
3941
+ "path": "src/ai-indicator/index.ts",
3966
3942
  "declarations": [],
3967
3943
  "exports": [
3968
3944
  {
3969
3945
  "kind": "js",
3970
- "name": "*",
3946
+ "name": "AiIndicator",
3971
3947
  "declaration": {
3972
- "name": "*",
3973
- "package": "./actions-menu.styles"
3948
+ "name": "AiIndicator",
3949
+ "module": "./ai-indicator"
3974
3950
  }
3975
3951
  },
3976
3952
  {
3977
3953
  "kind": "js",
3978
- "name": "*",
3954
+ "name": "foundationAiIndicator",
3979
3955
  "declaration": {
3980
- "name": "*",
3981
- "package": "./actions-menu.template"
3956
+ "name": "foundationAiIndicator",
3957
+ "module": "./ai-indicator"
3982
3958
  }
3983
3959
  },
3984
3960
  {
3985
3961
  "kind": "js",
3986
- "name": "*",
3962
+ "name": "type",
3987
3963
  "declaration": {
3988
- "name": "*",
3989
- "package": "./actions-menu"
3964
+ "name": "type",
3965
+ "module": "./ai-indicator"
3966
+ }
3967
+ },
3968
+ {
3969
+ "kind": "js",
3970
+ "name": "AIIndicatorState",
3971
+ "declaration": {
3972
+ "name": "AIIndicatorState",
3973
+ "module": "./ai-indicator"
3974
+ }
3975
+ },
3976
+ {
3977
+ "kind": "js",
3978
+ "name": "foundationAiIndicatorTemplate",
3979
+ "declaration": {
3980
+ "name": "foundationAiIndicatorTemplate",
3981
+ "module": "./ai-indicator.template"
3982
+ }
3983
+ },
3984
+ {
3985
+ "kind": "js",
3986
+ "name": "foundationAiIndicatorStyles",
3987
+ "declaration": {
3988
+ "name": "foundationAiIndicatorStyles",
3989
+ "module": "./ai-indicator.styles"
3990
3990
  }
3991
3991
  }
3992
3992
  ]