@genesislcap/foundation-ui 14.430.1-alpha-5ff14e1.0 → 14.430.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2340,11 +2340,34 @@
2340
2340
  },
2341
2341
  {
2342
2342
  "kind": "javascript-module",
2343
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2344
2344
  "declarations": [
2345
2345
  {
2346
2346
  "kind": "function",
2347
- "name": "foundationAiIndicatorStyles",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "kind": "function",
2370
+ "name": "foundationActionsMenuStyles",
2348
2371
  "return": {
2349
2372
  "type": {
2350
2373
  "text": "ElementStyles"
@@ -2369,215 +2392,269 @@
2369
2392
  "exports": [
2370
2393
  {
2371
2394
  "kind": "js",
2372
- "name": "foundationAiIndicatorStyles",
2395
+ "name": "actionsMenuBaseStyles",
2373
2396
  "declaration": {
2374
- "name": "foundationAiIndicatorStyles",
2375
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2376
2407
  }
2377
2408
  }
2378
2409
  ]
2379
2410
  },
2380
2411
  {
2381
2412
  "kind": "javascript-module",
2382
- "path": "src/ai-indicator/ai-indicator.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2383
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2384
2439
  {
2385
2440
  "kind": "variable",
2386
- "name": "foundationAiIndicatorTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2387
2442
  "type": {
2388
- "text": "ViewTemplate<AiIndicator>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2389
2444
  },
2390
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2445
+ "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`"
2391
2446
  }
2392
2447
  ],
2393
2448
  "exports": [
2394
2449
  {
2395
2450
  "kind": "js",
2396
- "name": "foundationAiIndicatorTemplate",
2451
+ "name": "menuTemplate",
2397
2452
  "declaration": {
2398
- "name": "foundationAiIndicatorTemplate",
2399
- "module": "src/ai-indicator/ai-indicator.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2400
2471
  }
2401
2472
  }
2402
2473
  ]
2403
2474
  },
2404
2475
  {
2405
2476
  "kind": "javascript-module",
2406
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2407
2478
  "declarations": [
2408
2479
  {
2409
2480
  "kind": "class",
2410
2481
  "description": "",
2411
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2412
2483
  "members": [
2413
2484
  {
2414
2485
  "kind": "field",
2415
- "name": "aiProvider",
2486
+ "name": "actions",
2416
2487
  "type": {
2417
- "text": "AIProvider"
2488
+ "text": "ActionMenuItem[]"
2418
2489
  }
2419
2490
  },
2420
2491
  {
2421
2492
  "kind": "field",
2422
- "name": "status",
2493
+ "name": "isVertical",
2423
2494
  "type": {
2424
- "text": "AIStatus | null"
2495
+ "text": "boolean"
2425
2496
  },
2426
- "default": "null"
2497
+ "default": "false"
2427
2498
  },
2428
2499
  {
2429
2500
  "kind": "field",
2430
- "name": "open",
2501
+ "name": "addDefaultActions",
2431
2502
  "type": {
2432
2503
  "text": "boolean"
2433
2504
  },
2434
- "default": "false"
2505
+ "default": "true"
2435
2506
  },
2436
2507
  {
2437
2508
  "kind": "field",
2438
- "name": "state",
2509
+ "name": "autoCloseOnAction",
2439
2510
  "type": {
2440
- "text": "AIIndicatorState"
2511
+ "text": "boolean"
2441
2512
  },
2442
- "default": "'none'"
2513
+ "default": "true"
2443
2514
  },
2444
2515
  {
2445
2516
  "kind": "field",
2446
- "name": "isInstalling",
2517
+ "name": "classNames",
2447
2518
  "type": {
2448
- "text": "boolean"
2449
- },
2450
- "default": "false"
2519
+ "text": "string"
2520
+ }
2451
2521
  },
2452
2522
  {
2453
2523
  "kind": "field",
2454
- "name": "pollTimer",
2524
+ "name": "definition",
2455
2525
  "type": {
2456
- "text": "ReturnType<typeof setInterval> | null"
2457
- },
2458
- "privacy": "private",
2459
- "default": "null"
2526
+ "text": "any"
2527
+ }
2460
2528
  },
2461
2529
  {
2462
2530
  "kind": "field",
2463
- "name": "clickOutside",
2464
- "privacy": "private"
2531
+ "name": "name",
2532
+ "type": {
2533
+ "text": "string"
2534
+ },
2535
+ "default": "'Actions'"
2465
2536
  },
2466
2537
  {
2467
2538
  "kind": "field",
2468
- "name": "chromeStatusLabel",
2539
+ "name": "open",
2469
2540
  "type": {
2470
- "text": "string | null"
2541
+ "text": "boolean"
2471
2542
  },
2472
- "readonly": true
2543
+ "default": "false"
2473
2544
  },
2474
2545
  {
2475
2546
  "kind": "field",
2476
- "name": "canInstall",
2547
+ "name": "buttonAppearance",
2548
+ "type": {
2549
+ "text": "string"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "field",
2554
+ "name": "hideDisabled",
2477
2555
  "type": {
2478
2556
  "text": "boolean"
2479
2557
  },
2480
- "readonly": true
2558
+ "default": "false"
2481
2559
  },
2482
2560
  {
2483
2561
  "kind": "field",
2484
- "name": "isDownloading",
2562
+ "name": "hideMenuSingleOption",
2485
2563
  "type": {
2486
2564
  "text": "boolean"
2487
2565
  },
2488
- "readonly": true
2566
+ "default": "false"
2489
2567
  },
2490
2568
  {
2491
- "kind": "method",
2492
- "name": "openChanged",
2493
- "return": {
2494
- "type": {
2495
- "text": "void"
2496
- }
2569
+ "kind": "field",
2570
+ "name": "singleOption",
2571
+ "type": {
2572
+ "text": "ActionMenuItem"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2497
2580
  }
2498
2581
  },
2499
2582
  {
2500
2583
  "kind": "method",
2501
- "name": "handleClickOutside",
2502
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2503
2586
  "parameters": [
2504
2587
  {
2505
- "name": "event",
2588
+ "name": "oldValue",
2506
2589
  "type": {
2507
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2508
2597
  }
2509
2598
  }
2510
2599
  ]
2511
2600
  },
2512
2601
  {
2513
2602
  "kind": "method",
2514
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2515
2605
  },
2516
2606
  {
2517
2607
  "kind": "method",
2518
- "name": "refreshStatus",
2519
- "return": {
2520
- "type": {
2521
- "text": "Promise<void>"
2522
- }
2523
- }
2608
+ "name": "toggleActionsMenuVisibility"
2524
2609
  },
2525
2610
  {
2526
2611
  "kind": "method",
2527
- "name": "deriveState",
2528
- "privacy": "private",
2529
- "return": {
2530
- "type": {
2531
- "text": "AIIndicatorState"
2532
- }
2533
- },
2612
+ "name": "onActionMenuItemClick",
2534
2613
  "parameters": [
2535
2614
  {
2536
- "name": "s",
2615
+ "name": "callback",
2537
2616
  "type": {
2538
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2539
2618
  }
2540
2619
  }
2541
2620
  ]
2542
2621
  },
2543
2622
  {
2544
- "kind": "method",
2545
- "name": "maybeStartPolling",
2546
- "privacy": "private",
2547
- "return": {
2548
- "type": {
2549
- "text": "void"
2550
- }
2551
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2552
2629
  },
2553
2630
  {
2554
- "kind": "method",
2555
- "name": "startPolling",
2556
- "privacy": "private",
2557
- "return": {
2558
- "type": {
2559
- "text": "void"
2560
- }
2561
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2562
2634
  },
2563
2635
  {
2564
2636
  "kind": "method",
2565
- "name": "stopPolling",
2566
- "privacy": "private",
2567
- "return": {
2568
- "type": {
2569
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2570
2644
  }
2571
- }
2645
+ ]
2572
2646
  },
2573
2647
  {
2574
2648
  "kind": "method",
2575
- "name": "onInstall",
2576
- "return": {
2577
- "type": {
2578
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2579
2656
  }
2580
- }
2657
+ ]
2581
2658
  },
2582
2659
  {
2583
2660
  "kind": "field",
@@ -2646,133 +2723,176 @@
2646
2723
  }
2647
2724
  },
2648
2725
  {
2649
- "kind": "method",
2650
- "name": "stylesChanged",
2651
- "privacy": "protected",
2652
- "return": {
2653
- "type": {
2654
- "text": "void"
2655
- }
2726
+ "kind": "method",
2727
+ "name": "stylesChanged",
2728
+ "privacy": "protected",
2729
+ "return": {
2730
+ "type": {
2731
+ "text": "void"
2732
+ }
2733
+ },
2734
+ "inheritedFrom": {
2735
+ "name": "FoundationElement",
2736
+ "module": "src/foundation-element/foundation-element.ts"
2737
+ }
2738
+ },
2739
+ {
2740
+ "kind": "method",
2741
+ "name": "compose",
2742
+ "privacy": "public",
2743
+ "static": true,
2744
+ "return": {
2745
+ "type": {
2746
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2747
+ }
2748
+ },
2749
+ "parameters": [
2750
+ {
2751
+ "name": "this",
2752
+ "type": {
2753
+ "text": "K"
2754
+ }
2755
+ },
2756
+ {
2757
+ "name": "elementDefinition",
2758
+ "type": {
2759
+ "text": "T"
2760
+ },
2761
+ "description": "The definition of the element to create the registry\nfunction for."
2762
+ }
2763
+ ],
2764
+ "description": "Defines an element registry function with a set of element definition defaults.",
2765
+ "inheritedFrom": {
2766
+ "name": "FoundationElement",
2767
+ "module": "src/foundation-element/foundation-element.ts"
2768
+ }
2769
+ }
2770
+ ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2656
2823
  },
2657
- "inheritedFrom": {
2658
- "name": "FoundationElement",
2659
- "module": "src/foundation-element/foundation-element.ts"
2660
- }
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2661
2826
  },
2662
2827
  {
2663
- "kind": "method",
2664
- "name": "compose",
2665
- "privacy": "public",
2666
- "static": true,
2667
- "return": {
2668
- "type": {
2669
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2670
- }
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2671
2831
  },
2672
- "parameters": [
2673
- {
2674
- "name": "this",
2675
- "type": {
2676
- "text": "K"
2677
- }
2678
- },
2679
- {
2680
- "name": "elementDefinition",
2681
- "type": {
2682
- "text": "T"
2683
- },
2684
- "description": "The definition of the element to create the registry\nfunction for."
2685
- }
2686
- ],
2687
- "description": "Defines an element registry function with a set of element definition defaults.",
2688
- "inheritedFrom": {
2689
- "name": "FoundationElement",
2690
- "module": "src/foundation-element/foundation-element.ts"
2691
- }
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2692
2834
  }
2693
2835
  ],
2694
2836
  "superclass": {
2695
2837
  "name": "FoundationElement",
2696
2838
  "package": "@microsoft/fast-foundation"
2697
2839
  },
2698
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2699
2841
  "customElement": true
2700
2842
  },
2701
2843
  {
2702
2844
  "kind": "variable",
2703
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2704
2848
  }
2705
2849
  ],
2706
2850
  "exports": [
2707
2851
  {
2708
2852
  "kind": "js",
2709
- "name": "AiIndicator",
2853
+ "name": "ActionsMenu",
2710
2854
  "declaration": {
2711
- "name": "AiIndicator",
2712
- "module": "src/ai-indicator/ai-indicator.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2713
2857
  }
2714
2858
  },
2715
2859
  {
2716
2860
  "kind": "js",
2717
- "name": "foundationAiIndicator",
2861
+ "name": "foundationActionsMenu",
2718
2862
  "declaration": {
2719
- "name": "foundationAiIndicator",
2720
- "module": "src/ai-indicator/ai-indicator.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2721
2865
  }
2722
2866
  }
2723
2867
  ]
2724
2868
  },
2725
2869
  {
2726
2870
  "kind": "javascript-module",
2727
- "path": "src/ai-indicator/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2728
2872
  "declarations": [],
2729
2873
  "exports": [
2730
2874
  {
2731
2875
  "kind": "js",
2732
- "name": "AiIndicator",
2733
- "declaration": {
2734
- "name": "AiIndicator",
2735
- "module": "./ai-indicator"
2736
- }
2737
- },
2738
- {
2739
- "kind": "js",
2740
- "name": "foundationAiIndicator",
2741
- "declaration": {
2742
- "name": "foundationAiIndicator",
2743
- "module": "./ai-indicator"
2744
- }
2745
- },
2746
- {
2747
- "kind": "js",
2748
- "name": "type",
2749
- "declaration": {
2750
- "name": "type",
2751
- "module": "./ai-indicator"
2752
- }
2753
- },
2754
- {
2755
- "kind": "js",
2756
- "name": "AIIndicatorState",
2876
+ "name": "*",
2757
2877
  "declaration": {
2758
- "name": "AIIndicatorState",
2759
- "module": "./ai-indicator"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2760
2880
  }
2761
2881
  },
2762
2882
  {
2763
2883
  "kind": "js",
2764
- "name": "foundationAiIndicatorTemplate",
2884
+ "name": "*",
2765
2885
  "declaration": {
2766
- "name": "foundationAiIndicatorTemplate",
2767
- "module": "./ai-indicator.template"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2768
2888
  }
2769
2889
  },
2770
2890
  {
2771
2891
  "kind": "js",
2772
- "name": "foundationAiIndicatorStyles",
2892
+ "name": "*",
2773
2893
  "declaration": {
2774
- "name": "foundationAiIndicatorStyles",
2775
- "module": "./ai-indicator.styles"
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2776
2896
  }
2777
2897
  }
2778
2898
  ]
@@ -3388,34 +3508,11 @@
3388
3508
  },
3389
3509
  {
3390
3510
  "kind": "javascript-module",
3391
- "path": "src/actions-menu/actions-menu.styles.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3392
3512
  "declarations": [
3393
3513
  {
3394
3514
  "kind": "function",
3395
- "name": "actionsMenuBaseStyles",
3396
- "return": {
3397
- "type": {
3398
- "text": "ElementStyles"
3399
- }
3400
- },
3401
- "parameters": [
3402
- {
3403
- "name": "context",
3404
- "type": {
3405
- "text": "ElementDefinitionContext"
3406
- }
3407
- },
3408
- {
3409
- "name": "definition",
3410
- "type": {
3411
- "text": "FoundationElementDefinition"
3412
- }
3413
- }
3414
- ]
3415
- },
3416
- {
3417
- "kind": "function",
3418
- "name": "foundationActionsMenuStyles",
3515
+ "name": "foundationAiIndicatorStyles",
3419
3516
  "return": {
3420
3517
  "type": {
3421
3518
  "text": "ElementStyles"
@@ -3440,151 +3537,81 @@
3440
3537
  "exports": [
3441
3538
  {
3442
3539
  "kind": "js",
3443
- "name": "actionsMenuBaseStyles",
3444
- "declaration": {
3445
- "name": "actionsMenuBaseStyles",
3446
- "module": "src/actions-menu/actions-menu.styles.ts"
3447
- }
3448
- },
3449
- {
3450
- "kind": "js",
3451
- "name": "foundationActionsMenuStyles",
3540
+ "name": "foundationAiIndicatorStyles",
3452
3541
  "declaration": {
3453
- "name": "foundationActionsMenuStyles",
3454
- "module": "src/actions-menu/actions-menu.styles.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3455
3544
  }
3456
3545
  }
3457
3546
  ]
3458
3547
  },
3459
3548
  {
3460
3549
  "kind": "javascript-module",
3461
- "path": "src/actions-menu/actions-menu.template.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3462
3551
  "declarations": [
3463
- {
3464
- "kind": "function",
3465
- "name": "menuTemplate",
3466
- "parameters": [
3467
- {
3468
- "name": "prefix",
3469
- "type": {
3470
- "text": "string"
3471
- }
3472
- }
3473
- ]
3474
- },
3475
- {
3476
- "kind": "function",
3477
- "name": "singleOptionTemplate",
3478
- "parameters": [
3479
- {
3480
- "name": "prefix",
3481
- "type": {
3482
- "text": "string"
3483
- }
3484
- }
3485
- ]
3486
- },
3487
3552
  {
3488
3553
  "kind": "variable",
3489
- "name": "foundationActionsMenuTemplate",
3554
+ "name": "foundationAiIndicatorTemplate",
3490
3555
  "type": {
3491
- "text": "ViewTemplate<ActionsMenu>"
3556
+ "text": "ViewTemplate<AiIndicator>"
3492
3557
  },
3493
- "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`"
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3494
3559
  }
3495
3560
  ],
3496
3561
  "exports": [
3497
3562
  {
3498
3563
  "kind": "js",
3499
- "name": "menuTemplate",
3500
- "declaration": {
3501
- "name": "menuTemplate",
3502
- "module": "src/actions-menu/actions-menu.template.ts"
3503
- }
3504
- },
3505
- {
3506
- "kind": "js",
3507
- "name": "singleOptionTemplate",
3508
- "declaration": {
3509
- "name": "singleOptionTemplate",
3510
- "module": "src/actions-menu/actions-menu.template.ts"
3511
- }
3512
- },
3513
- {
3514
- "kind": "js",
3515
- "name": "foundationActionsMenuTemplate",
3564
+ "name": "foundationAiIndicatorTemplate",
3516
3565
  "declaration": {
3517
- "name": "foundationActionsMenuTemplate",
3518
- "module": "src/actions-menu/actions-menu.template.ts"
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3519
3568
  }
3520
3569
  }
3521
3570
  ]
3522
3571
  },
3523
3572
  {
3524
3573
  "kind": "javascript-module",
3525
- "path": "src/actions-menu/actions-menu.ts",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3526
3575
  "declarations": [
3527
3576
  {
3528
3577
  "kind": "class",
3529
3578
  "description": "",
3530
- "name": "ActionsMenu",
3579
+ "name": "AiIndicator",
3531
3580
  "members": [
3532
3581
  {
3533
3582
  "kind": "field",
3534
- "name": "actions",
3583
+ "name": "aiProvider",
3535
3584
  "type": {
3536
- "text": "ActionMenuItem[]"
3585
+ "text": "AIProvider"
3537
3586
  }
3538
3587
  },
3539
3588
  {
3540
3589
  "kind": "field",
3541
- "name": "isVertical",
3542
- "type": {
3543
- "text": "boolean"
3544
- },
3545
- "default": "false"
3546
- },
3547
- {
3548
- "kind": "field",
3549
- "name": "addDefaultActions",
3590
+ "name": "status",
3550
3591
  "type": {
3551
- "text": "boolean"
3592
+ "text": "AIStatus | null"
3552
3593
  },
3553
- "default": "true"
3594
+ "default": "null"
3554
3595
  },
3555
3596
  {
3556
3597
  "kind": "field",
3557
- "name": "autoCloseOnAction",
3598
+ "name": "open",
3558
3599
  "type": {
3559
3600
  "text": "boolean"
3560
3601
  },
3561
- "default": "true"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "classNames",
3566
- "type": {
3567
- "text": "string"
3568
- }
3569
- },
3570
- {
3571
- "kind": "field",
3572
- "name": "definition",
3573
- "type": {
3574
- "text": "any"
3575
- }
3602
+ "default": "false"
3576
3603
  },
3577
3604
  {
3578
3605
  "kind": "field",
3579
- "name": "name",
3606
+ "name": "state",
3580
3607
  "type": {
3581
- "text": "string"
3608
+ "text": "AIIndicatorState"
3582
3609
  },
3583
- "default": "'Actions'"
3610
+ "default": "'none'"
3584
3611
  },
3585
3612
  {
3586
3613
  "kind": "field",
3587
- "name": "open",
3614
+ "name": "isInstalling",
3588
3615
  "type": {
3589
3616
  "text": "boolean"
3590
3617
  },
@@ -3592,117 +3619,133 @@
3592
3619
  },
3593
3620
  {
3594
3621
  "kind": "field",
3595
- "name": "buttonAppearance",
3622
+ "name": "pollTimer",
3596
3623
  "type": {
3597
- "text": "string"
3598
- }
3624
+ "text": "ReturnType<typeof setInterval> | null"
3625
+ },
3626
+ "privacy": "private",
3627
+ "default": "null"
3599
3628
  },
3600
3629
  {
3601
3630
  "kind": "field",
3602
- "name": "hideDisabled",
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "chromeStatusLabel",
3603
3637
  "type": {
3604
- "text": "boolean"
3638
+ "text": "string | null"
3605
3639
  },
3606
- "default": "false"
3640
+ "readonly": true
3607
3641
  },
3608
3642
  {
3609
3643
  "kind": "field",
3610
- "name": "hideMenuSingleOption",
3644
+ "name": "canInstall",
3611
3645
  "type": {
3612
3646
  "text": "boolean"
3613
3647
  },
3614
- "default": "false"
3648
+ "readonly": true
3615
3649
  },
3616
3650
  {
3617
3651
  "kind": "field",
3618
- "name": "singleOption",
3652
+ "name": "isDownloading",
3619
3653
  "type": {
3620
- "text": "ActionMenuItem"
3621
- }
3654
+ "text": "boolean"
3655
+ },
3656
+ "readonly": true
3622
3657
  },
3623
3658
  {
3624
- "kind": "field",
3625
- "name": "actionsMenu",
3626
- "type": {
3627
- "text": "HTMLElement"
3659
+ "kind": "method",
3660
+ "name": "openChanged",
3661
+ "return": {
3662
+ "type": {
3663
+ "text": "void"
3664
+ }
3628
3665
  }
3629
3666
  },
3630
3667
  {
3631
3668
  "kind": "method",
3632
- "name": "definitionChanged",
3633
- "privacy": "protected",
3669
+ "name": "handleClickOutside",
3670
+ "privacy": "private",
3634
3671
  "parameters": [
3635
3672
  {
3636
- "name": "oldValue",
3637
- "type": {
3638
- "text": "any"
3639
- }
3640
- },
3641
- {
3642
- "name": "newValue",
3673
+ "name": "event",
3643
3674
  "type": {
3644
- "text": "any"
3675
+ "text": "MouseEvent"
3645
3676
  }
3646
3677
  }
3647
3678
  ]
3648
3679
  },
3649
3680
  {
3650
3681
  "kind": "method",
3651
- "name": "openChanged",
3652
- "privacy": "protected"
3682
+ "name": "toggleDropdown"
3653
3683
  },
3654
3684
  {
3655
3685
  "kind": "method",
3656
- "name": "toggleActionsMenuVisibility"
3686
+ "name": "refreshStatus",
3687
+ "return": {
3688
+ "type": {
3689
+ "text": "Promise<void>"
3690
+ }
3691
+ }
3657
3692
  },
3658
3693
  {
3659
3694
  "kind": "method",
3660
- "name": "onActionMenuItemClick",
3695
+ "name": "deriveState",
3696
+ "privacy": "private",
3697
+ "return": {
3698
+ "type": {
3699
+ "text": "AIIndicatorState"
3700
+ }
3701
+ },
3661
3702
  "parameters": [
3662
3703
  {
3663
- "name": "callback",
3704
+ "name": "s",
3664
3705
  "type": {
3665
- "text": "(rowData) => void | any"
3706
+ "text": "AIStatus | null"
3666
3707
  }
3667
3708
  }
3668
3709
  ]
3669
3710
  },
3670
3711
  {
3671
- "kind": "field",
3672
- "name": "allActions",
3673
- "type": {
3674
- "text": "ActionMenuItem[]"
3675
- },
3676
- "readonly": true
3712
+ "kind": "method",
3713
+ "name": "maybeStartPolling",
3714
+ "privacy": "private",
3715
+ "return": {
3716
+ "type": {
3717
+ "text": "void"
3718
+ }
3719
+ }
3677
3720
  },
3678
3721
  {
3679
- "kind": "field",
3680
- "name": "rowData",
3681
- "readonly": true
3722
+ "kind": "method",
3723
+ "name": "startPolling",
3724
+ "privacy": "private",
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3729
+ }
3682
3730
  },
3683
3731
  {
3684
3732
  "kind": "method",
3685
- "name": "getLabel",
3686
- "parameters": [
3687
- {
3688
- "name": "name",
3689
- "type": {
3690
- "text": "string | ((rowData: any) => string)"
3691
- }
3733
+ "name": "stopPolling",
3734
+ "privacy": "private",
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3692
3738
  }
3693
- ]
3739
+ }
3694
3740
  },
3695
3741
  {
3696
3742
  "kind": "method",
3697
- "name": "getTemplate",
3698
- "parameters": [
3699
- {
3700
- "name": "prefix",
3701
- "type": {
3702
- "text": "string"
3703
- }
3743
+ "name": "onInstall",
3744
+ "return": {
3745
+ "type": {
3746
+ "text": "Promise<void>"
3704
3747
  }
3705
- ]
3748
+ }
3706
3749
  },
3707
3750
  {
3708
3751
  "kind": "field",
@@ -3816,131 +3859,88 @@
3816
3859
  }
3817
3860
  }
3818
3861
  ],
3819
- "attributes": [
3820
- {
3821
- "name": "is-vertical",
3822
- "type": {
3823
- "text": "boolean"
3824
- },
3825
- "default": "false",
3826
- "fieldName": "isVertical"
3827
- },
3828
- {
3829
- "name": "add-default-actions",
3830
- "type": {
3831
- "text": "boolean"
3832
- },
3833
- "default": "true",
3834
- "fieldName": "addDefaultActions"
3835
- },
3836
- {
3837
- "name": "auto-close-on-action",
3838
- "type": {
3839
- "text": "boolean"
3840
- },
3841
- "default": "true",
3842
- "fieldName": "autoCloseOnAction"
3843
- },
3844
- {
3845
- "name": "name",
3846
- "type": {
3847
- "text": "string"
3848
- },
3849
- "default": "'Actions'",
3850
- "fieldName": "name"
3851
- },
3852
- {
3853
- "name": "open",
3854
- "type": {
3855
- "text": "boolean"
3856
- },
3857
- "default": "false",
3858
- "fieldName": "open"
3859
- },
3860
- {
3861
- "name": "buttonAppearance",
3862
- "type": {
3863
- "text": "string"
3864
- },
3865
- "fieldName": "buttonAppearance"
3866
- },
3867
- {
3868
- "name": "hide-disabled",
3869
- "type": {
3870
- "text": "boolean"
3871
- },
3872
- "default": "false",
3873
- "fieldName": "hideDisabled"
3874
- },
3875
- {
3876
- "name": "hide-menu-single-option",
3877
- "type": {
3878
- "text": "boolean"
3879
- },
3880
- "default": "false",
3881
- "fieldName": "hideMenuSingleOption"
3882
- }
3883
- ],
3884
3862
  "superclass": {
3885
3863
  "name": "FoundationElement",
3886
3864
  "package": "@microsoft/fast-foundation"
3887
3865
  },
3888
- "tagName": "%%prefix%%-actions-menu",
3866
+ "tagName": "%%prefix%%-ai-indicator",
3889
3867
  "customElement": true
3890
3868
  },
3891
3869
  {
3892
3870
  "kind": "variable",
3893
- "name": "foundationActionsMenu",
3894
- "description": "The Foundation Actions Menu",
3895
- "privacy": "public"
3871
+ "name": "foundationAiIndicator"
3896
3872
  }
3897
3873
  ],
3898
3874
  "exports": [
3899
3875
  {
3900
3876
  "kind": "js",
3901
- "name": "ActionsMenu",
3877
+ "name": "AiIndicator",
3902
3878
  "declaration": {
3903
- "name": "ActionsMenu",
3904
- "module": "src/actions-menu/actions-menu.ts"
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3905
3881
  }
3906
3882
  },
3907
3883
  {
3908
3884
  "kind": "js",
3909
- "name": "foundationActionsMenu",
3885
+ "name": "foundationAiIndicator",
3910
3886
  "declaration": {
3911
- "name": "foundationActionsMenu",
3912
- "module": "src/actions-menu/actions-menu.ts"
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3913
3889
  }
3914
3890
  }
3915
3891
  ]
3916
3892
  },
3917
3893
  {
3918
3894
  "kind": "javascript-module",
3919
- "path": "src/actions-menu/index.ts",
3895
+ "path": "src/ai-indicator/index.ts",
3920
3896
  "declarations": [],
3921
3897
  "exports": [
3922
3898
  {
3923
3899
  "kind": "js",
3924
- "name": "*",
3900
+ "name": "AiIndicator",
3925
3901
  "declaration": {
3926
- "name": "*",
3927
- "package": "./actions-menu.styles"
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3928
3904
  }
3929
3905
  },
3930
3906
  {
3931
3907
  "kind": "js",
3932
- "name": "*",
3908
+ "name": "foundationAiIndicator",
3933
3909
  "declaration": {
3934
- "name": "*",
3935
- "package": "./actions-menu.template"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3936
3912
  }
3937
3913
  },
3938
3914
  {
3939
3915
  "kind": "js",
3940
- "name": "*",
3916
+ "name": "type",
3941
3917
  "declaration": {
3942
- "name": "*",
3943
- "package": "./actions-menu"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3920
+ }
3921
+ },
3922
+ {
3923
+ "kind": "js",
3924
+ "name": "AIIndicatorState",
3925
+ "declaration": {
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3928
+ }
3929
+ },
3930
+ {
3931
+ "kind": "js",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
+ "declaration": {
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
+ }
3937
+ },
3938
+ {
3939
+ "kind": "js",
3940
+ "name": "foundationAiIndicatorStyles",
3941
+ "declaration": {
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3944
3944
  }
3945
3945
  }
3946
3946
  ]