@genesislcap/foundation-ui 15.46.4 → 15.46.5-FUI-2648.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,37 +1493,6 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
- {
1497
- "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
1496
  {
1528
1497
  "kind": "javascript-module",
1529
1498
  "path": "src/accordion/accordion.styles.ts",
@@ -2039,6 +2008,37 @@
2039
2008
  }
2040
2009
  ]
2041
2010
  },
2011
+ {
2012
+ "kind": "javascript-module",
2013
+ "path": "src/_config/index.ts",
2014
+ "declarations": [],
2015
+ "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "*",
2019
+ "declaration": {
2020
+ "name": "*",
2021
+ "package": "./styles"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./tokens"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./values"
2038
+ }
2039
+ }
2040
+ ]
2041
+ },
2042
2042
  {
2043
2043
  "kind": "javascript-module",
2044
2044
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2435,203 +2435,115 @@
2435
2435
  },
2436
2436
  {
2437
2437
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2438
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2439
2439
  "declarations": [
2440
2440
  {
2441
- "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",
2466
- "return": {
2467
- "type": {
2468
- "text": "ElementStyles"
2469
- }
2470
- },
2471
- "parameters": [
2472
- {
2473
- "name": "context",
2474
- "type": {
2475
- "text": "ElementDefinitionContext"
2476
- }
2477
- },
2478
- {
2479
- "name": "definition",
2480
- "type": {
2481
- "text": "FoundationElementDefinition"
2482
- }
2483
- }
2484
- ]
2441
+ "kind": "variable",
2442
+ "name": "foundationAiCriteriaSearchStyles",
2443
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2485
2444
  }
2486
2445
  ],
2487
2446
  "exports": [
2488
2447
  {
2489
2448
  "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",
2449
+ "name": "foundationAiCriteriaSearchStyles",
2499
2450
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2451
+ "name": "foundationAiCriteriaSearchStyles",
2452
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2502
2453
  }
2503
2454
  }
2504
2455
  ]
2505
2456
  },
2506
2457
  {
2507
2458
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2459
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2509
2460
  "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
2461
  {
2535
2462
  "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
2463
+ "name": "foundationAiCriteriaSearchTemplate",
2537
2464
  "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
2465
+ "text": "ViewTemplate<AiCriteriaSearch>"
2539
2466
  },
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`"
2467
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2541
2468
  }
2542
2469
  ],
2543
2470
  "exports": [
2544
2471
  {
2545
2472
  "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",
2473
+ "name": "foundationAiCriteriaSearchTemplate",
2563
2474
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
2475
+ "name": "foundationAiCriteriaSearchTemplate",
2476
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2566
2477
  }
2567
2478
  }
2568
2479
  ]
2569
2480
  },
2570
2481
  {
2571
2482
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
2483
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2573
2484
  "declarations": [
2574
2485
  {
2575
2486
  "kind": "class",
2576
- "description": "",
2577
- "name": "ActionsMenu",
2487
+ "description": "Natural-language criteria search input with AI interpretation.",
2488
+ "name": "AiCriteriaSearch",
2578
2489
  "members": [
2579
2490
  {
2580
2491
  "kind": "field",
2581
- "name": "actions",
2492
+ "name": "providerRegistry",
2582
2493
  "type": {
2583
- "text": "ActionMenuItem[]"
2494
+ "text": "AIProviderRegistry"
2584
2495
  }
2585
2496
  },
2586
2497
  {
2587
2498
  "kind": "field",
2588
- "name": "isVertical",
2499
+ "name": "placeholder",
2589
2500
  "type": {
2590
- "text": "boolean"
2501
+ "text": "string"
2591
2502
  },
2592
- "default": "false"
2503
+ "default": "'Describe your search criteria in natural language...'"
2593
2504
  },
2594
2505
  {
2595
2506
  "kind": "field",
2596
- "name": "addDefaultActions",
2507
+ "name": "disabled",
2597
2508
  "type": {
2598
2509
  "text": "boolean"
2599
- },
2600
- "default": "true"
2510
+ }
2601
2511
  },
2602
2512
  {
2603
2513
  "kind": "field",
2604
- "name": "autoCloseOnAction",
2514
+ "name": "inputValue",
2605
2515
  "type": {
2606
- "text": "boolean"
2516
+ "text": "string"
2607
2517
  },
2608
- "default": "true"
2518
+ "default": "''"
2609
2519
  },
2610
2520
  {
2611
2521
  "kind": "field",
2612
- "name": "classNames",
2522
+ "name": "isInterpreting",
2613
2523
  "type": {
2614
- "text": "string"
2615
- }
2524
+ "text": "boolean"
2525
+ },
2526
+ "default": "false"
2616
2527
  },
2617
2528
  {
2618
2529
  "kind": "field",
2619
- "name": "definition",
2530
+ "name": "lastValidCriteria",
2620
2531
  "type": {
2621
- "text": "any"
2622
- }
2532
+ "text": "string | null"
2533
+ },
2534
+ "default": "null"
2623
2535
  },
2624
2536
  {
2625
2537
  "kind": "field",
2626
- "name": "name",
2538
+ "name": "activeGroups",
2627
2539
  "type": {
2628
- "text": "string"
2540
+ "text": "CriteriaGroup[]"
2629
2541
  },
2630
- "default": "'Actions'"
2542
+ "default": "[]"
2631
2543
  },
2632
2544
  {
2633
2545
  "kind": "field",
2634
- "name": "open",
2546
+ "name": "showingChips",
2635
2547
  "type": {
2636
2548
  "text": "boolean"
2637
2549
  },
@@ -2639,14 +2551,15 @@
2639
2551
  },
2640
2552
  {
2641
2553
  "kind": "field",
2642
- "name": "buttonAppearance",
2554
+ "name": "fieldMetadata",
2643
2555
  "type": {
2644
- "text": "string"
2645
- }
2556
+ "text": "MetadataDetail[] | string[]"
2557
+ },
2558
+ "default": "[]"
2646
2559
  },
2647
2560
  {
2648
2561
  "kind": "field",
2649
- "name": "hideDisabled",
2562
+ "name": "isRecording",
2650
2563
  "type": {
2651
2564
  "text": "boolean"
2652
2565
  },
@@ -2654,114 +2567,125 @@
2654
2567
  },
2655
2568
  {
2656
2569
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2570
+ "name": "textAreaRef",
2658
2571
  "type": {
2659
- "text": "boolean"
2572
+ "text": "HTMLTextAreaElement"
2660
2573
  },
2661
- "default": "false"
2574
+ "privacy": "public"
2662
2575
  },
2663
2576
  {
2664
2577
  "kind": "field",
2665
- "name": "singleOption",
2578
+ "name": "stopRecording",
2666
2579
  "type": {
2667
- "text": "ActionMenuItem"
2668
- }
2580
+ "text": "(() => void) | null"
2581
+ },
2582
+ "privacy": "private",
2583
+ "default": "null"
2669
2584
  },
2670
2585
  {
2671
2586
  "kind": "field",
2672
- "name": "actionsMenu",
2587
+ "name": "speechApplyDebounceTimer",
2673
2588
  "type": {
2674
- "text": "HTMLElement"
2675
- }
2589
+ "text": "ReturnType<typeof setTimeout> | null"
2590
+ },
2591
+ "privacy": "private",
2592
+ "default": "null"
2676
2593
  },
2677
2594
  {
2678
2595
  "kind": "field",
2679
- "name": "actionsOpener",
2596
+ "name": "speechAvailable",
2680
2597
  "type": {
2681
- "text": "HTMLElement"
2682
- }
2598
+ "text": "boolean"
2599
+ },
2600
+ "readonly": true
2683
2601
  },
2684
2602
  {
2685
- "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
2603
+ "kind": "field",
2604
+ "name": "criteriaChips",
2605
+ "type": {
2606
+ "text": "CriteriaChip[]"
2607
+ },
2608
+ "readonly": true
2688
2609
  },
2689
2610
  {
2690
2611
  "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
2612
+ "name": "getFieldLabel",
2613
+ "privacy": "private",
2614
+ "return": {
2615
+ "type": {
2616
+ "text": "string"
2617
+ }
2618
+ },
2693
2619
  "parameters": [
2694
2620
  {
2695
- "name": "oldValue",
2696
- "type": {
2697
- "text": "any"
2698
- }
2699
- },
2700
- {
2701
- "name": "newValue",
2621
+ "name": "fieldName",
2702
2622
  "type": {
2703
- "text": "any"
2623
+ "text": "string"
2704
2624
  }
2705
2625
  }
2706
2626
  ]
2707
2627
  },
2708
2628
  {
2709
2629
  "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
2712
- },
2713
- {
2714
- "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
2630
+ "name": "toggleCriteriaView",
2631
+ "return": {
2632
+ "type": {
2633
+ "text": "void"
2634
+ }
2635
+ }
2716
2636
  },
2717
2637
  {
2718
2638
  "kind": "method",
2719
- "name": "onActionMenuItemClick",
2639
+ "name": "removeChip",
2640
+ "return": {
2641
+ "type": {
2642
+ "text": "void"
2643
+ }
2644
+ },
2720
2645
  "parameters": [
2721
2646
  {
2722
- "name": "callback",
2647
+ "name": "groupIndex",
2723
2648
  "type": {
2724
- "text": "(rowData) => void | any"
2649
+ "text": "number"
2650
+ }
2651
+ },
2652
+ {
2653
+ "name": "clauseIndex",
2654
+ "type": {
2655
+ "text": "number"
2725
2656
  }
2726
2657
  }
2727
2658
  ]
2728
2659
  },
2729
2660
  {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
2661
+ "kind": "method",
2662
+ "name": "clearChips",
2663
+ "return": {
2664
+ "type": {
2665
+ "text": "void"
2666
+ }
2667
+ }
2736
2668
  },
2737
2669
  {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
2670
+ "kind": "method",
2671
+ "name": "handleSubmit"
2741
2672
  },
2742
2673
  {
2743
2674
  "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
2751
- }
2752
- ]
2675
+ "name": "handleBlur"
2753
2676
  },
2754
2677
  {
2755
2678
  "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
2763
- }
2764
- ]
2679
+ "name": "clear"
2680
+ },
2681
+ {
2682
+ "kind": "method",
2683
+ "name": "toggleSpeechInput"
2684
+ },
2685
+ {
2686
+ "kind": "method",
2687
+ "name": "clearSpeechApplyDebounce",
2688
+ "privacy": "private"
2765
2689
  },
2766
2690
  {
2767
2691
  "kind": "field",
@@ -2875,115 +2799,154 @@
2875
2799
  }
2876
2800
  }
2877
2801
  ],
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
- },
2802
+ "events": [
2903
2803
  {
2904
- "name": "name",
2905
- "type": {
2906
- "text": "string"
2907
- },
2908
- "default": "'Actions'",
2909
- "fieldName": "name"
2804
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2805
+ "name": "criteria-changed"
2910
2806
  },
2911
2807
  {
2912
- "name": "open",
2913
- "type": {
2914
- "text": "boolean"
2915
- },
2916
- "default": "false",
2917
- "fieldName": "open"
2918
- },
2808
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2809
+ "name": "validation-errors"
2810
+ }
2811
+ ],
2812
+ "attributes": [
2919
2813
  {
2920
- "name": "buttonAppearance",
2814
+ "name": "placeholder",
2921
2815
  "type": {
2922
2816
  "text": "string"
2923
2817
  },
2924
- "fieldName": "buttonAppearance"
2925
- },
2926
- {
2927
- "name": "hide-disabled",
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "default": "false",
2932
- "fieldName": "hideDisabled"
2818
+ "default": "'Describe your search criteria in natural language...'",
2819
+ "fieldName": "placeholder"
2933
2820
  },
2934
2821
  {
2935
- "name": "hide-menu-single-option",
2936
2822
  "type": {
2937
2823
  "text": "boolean"
2938
2824
  },
2939
- "default": "false",
2940
- "fieldName": "hideMenuSingleOption"
2825
+ "fieldName": "disabled"
2941
2826
  }
2942
2827
  ],
2943
2828
  "superclass": {
2944
2829
  "name": "FoundationElement",
2945
2830
  "package": "@microsoft/fast-foundation"
2946
2831
  },
2947
- "tagName": "%%prefix%%-actions-menu",
2832
+ "tagName": "%%prefix%%-ai-criteria-search",
2948
2833
  "customElement": true
2949
2834
  },
2950
2835
  {
2951
2836
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2954
- "privacy": "public"
2837
+ "name": "foundationAiCriteriaSearchShadowOptions",
2838
+ "type": {
2839
+ "text": "ShadowRootInit"
2840
+ },
2841
+ "default": "undefined"
2842
+ },
2843
+ {
2844
+ "kind": "variable",
2845
+ "name": "defaultAiCriteriaSearchConfig",
2846
+ "type": {
2847
+ "text": "object"
2848
+ },
2849
+ "default": "{}"
2850
+ },
2851
+ {
2852
+ "kind": "variable",
2853
+ "name": "foundationAiCriteriaSearch"
2955
2854
  }
2956
2855
  ],
2957
2856
  "exports": [
2958
2857
  {
2959
2858
  "kind": "js",
2960
- "name": "ActionsMenu",
2859
+ "name": "AiCriteriaSearch",
2961
2860
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
2861
+ "name": "AiCriteriaSearch",
2862
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2964
2863
  }
2965
2864
  },
2966
2865
  {
2967
2866
  "kind": "js",
2968
- "name": "foundationActionsMenu",
2867
+ "name": "foundationAiCriteriaSearchShadowOptions",
2969
2868
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
2869
+ "name": "foundationAiCriteriaSearchShadowOptions",
2870
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2871
+ }
2872
+ },
2873
+ {
2874
+ "kind": "js",
2875
+ "name": "defaultAiCriteriaSearchConfig",
2876
+ "declaration": {
2877
+ "name": "defaultAiCriteriaSearchConfig",
2878
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2879
+ }
2880
+ },
2881
+ {
2882
+ "kind": "js",
2883
+ "name": "foundationAiCriteriaSearch",
2884
+ "declaration": {
2885
+ "name": "foundationAiCriteriaSearch",
2886
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2972
2887
  }
2973
2888
  }
2974
2889
  ]
2975
2890
  },
2976
2891
  {
2977
2892
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
2893
+ "path": "src/ai-criteria-search/index.ts",
2979
2894
  "declarations": [],
2980
2895
  "exports": [
2896
+ {
2897
+ "kind": "js",
2898
+ "name": "AiCriteriaSearch",
2899
+ "declaration": {
2900
+ "name": "AiCriteriaSearch",
2901
+ "module": "./ai-criteria-search"
2902
+ }
2903
+ },
2904
+ {
2905
+ "kind": "js",
2906
+ "name": "defaultAiCriteriaSearchConfig",
2907
+ "declaration": {
2908
+ "name": "defaultAiCriteriaSearchConfig",
2909
+ "module": "./ai-criteria-search"
2910
+ }
2911
+ },
2912
+ {
2913
+ "kind": "js",
2914
+ "name": "foundationAiCriteriaSearch",
2915
+ "declaration": {
2916
+ "name": "foundationAiCriteriaSearch",
2917
+ "module": "./ai-criteria-search"
2918
+ }
2919
+ },
2920
+ {
2921
+ "kind": "js",
2922
+ "name": "foundationAiCriteriaSearchShadowOptions",
2923
+ "declaration": {
2924
+ "name": "foundationAiCriteriaSearchShadowOptions",
2925
+ "module": "./ai-criteria-search"
2926
+ }
2927
+ },
2928
+ {
2929
+ "kind": "js",
2930
+ "name": "foundationAiCriteriaSearchStyles",
2931
+ "declaration": {
2932
+ "name": "foundationAiCriteriaSearchStyles",
2933
+ "module": "./ai-criteria-search.styles"
2934
+ }
2935
+ },
2936
+ {
2937
+ "kind": "js",
2938
+ "name": "foundationAiCriteriaSearchTemplate",
2939
+ "declaration": {
2940
+ "name": "foundationAiCriteriaSearchTemplate",
2941
+ "module": "./ai-criteria-search.template"
2942
+ }
2943
+ },
2981
2944
  {
2982
2945
  "kind": "js",
2983
2946
  "name": "*",
2984
2947
  "declaration": {
2985
2948
  "name": "*",
2986
- "package": "./actions-menu.styles"
2949
+ "package": "./validation/criteria-ir"
2987
2950
  }
2988
2951
  },
2989
2952
  {
@@ -2991,7 +2954,7 @@
2991
2954
  "name": "*",
2992
2955
  "declaration": {
2993
2956
  "name": "*",
2994
- "package": "./actions-menu.template"
2957
+ "package": "./validation/operator-map"
2995
2958
  }
2996
2959
  },
2997
2960
  {
@@ -2999,64 +2962,157 @@
2999
2962
  "name": "*",
3000
2963
  "declaration": {
3001
2964
  "name": "*",
3002
- "package": "./actions-menu"
2965
+ "package": "./validation/schema-validator"
3003
2966
  }
3004
2967
  }
3005
2968
  ]
3006
2969
  },
3007
2970
  {
3008
2971
  "kind": "javascript-module",
3009
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2972
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3010
2973
  "declarations": [
3011
2974
  {
3012
- "kind": "variable",
3013
- "name": "foundationAiCriteriaSearchStyles",
3014
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2975
+ "kind": "function",
2976
+ "name": "formatValidationErrors",
2977
+ "return": {
2978
+ "type": {
2979
+ "text": "string"
2980
+ }
2981
+ },
2982
+ "parameters": [
2983
+ {
2984
+ "name": "errors",
2985
+ "type": {
2986
+ "text": "ValidationError[]"
2987
+ }
2988
+ }
2989
+ ],
2990
+ "description": "Formats validation errors into a user-friendly message."
2991
+ },
2992
+ {
2993
+ "kind": "function",
2994
+ "name": "showCriteriaError",
2995
+ "return": {
2996
+ "type": {
2997
+ "text": "void"
2998
+ }
2999
+ },
3000
+ "parameters": [
3001
+ {
3002
+ "name": "title",
3003
+ "type": {
3004
+ "text": "string"
3005
+ },
3006
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3007
+ },
3008
+ {
3009
+ "name": "body",
3010
+ "type": {
3011
+ "text": "string"
3012
+ },
3013
+ "description": "Error message to display"
3014
+ },
3015
+ {
3016
+ "name": "tagName",
3017
+ "type": {
3018
+ "text": "string"
3019
+ },
3020
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3021
+ }
3022
+ ],
3023
+ "description": "Shows a criteria error as a toast notification."
3015
3024
  }
3016
3025
  ],
3017
3026
  "exports": [
3018
3027
  {
3019
3028
  "kind": "js",
3020
- "name": "foundationAiCriteriaSearchStyles",
3029
+ "name": "formatValidationErrors",
3021
3030
  "declaration": {
3022
- "name": "foundationAiCriteriaSearchStyles",
3023
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3031
+ "name": "formatValidationErrors",
3032
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3033
+ }
3034
+ },
3035
+ {
3036
+ "kind": "js",
3037
+ "name": "showCriteriaError",
3038
+ "declaration": {
3039
+ "name": "showCriteriaError",
3040
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3024
3041
  }
3025
3042
  }
3026
3043
  ]
3027
3044
  },
3028
3045
  {
3029
3046
  "kind": "javascript-module",
3030
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3047
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3048
+ "declarations": [
3049
+ {
3050
+ "kind": "function",
3051
+ "name": "foundationAiIndicatorStyles",
3052
+ "return": {
3053
+ "type": {
3054
+ "text": "ElementStyles"
3055
+ }
3056
+ },
3057
+ "parameters": [
3058
+ {
3059
+ "name": "context",
3060
+ "type": {
3061
+ "text": "ElementDefinitionContext"
3062
+ }
3063
+ },
3064
+ {
3065
+ "name": "definition",
3066
+ "type": {
3067
+ "text": "FoundationElementDefinition"
3068
+ }
3069
+ }
3070
+ ]
3071
+ }
3072
+ ],
3073
+ "exports": [
3074
+ {
3075
+ "kind": "js",
3076
+ "name": "foundationAiIndicatorStyles",
3077
+ "declaration": {
3078
+ "name": "foundationAiIndicatorStyles",
3079
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3080
+ }
3081
+ }
3082
+ ]
3083
+ },
3084
+ {
3085
+ "kind": "javascript-module",
3086
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3031
3087
  "declarations": [
3032
3088
  {
3033
3089
  "kind": "variable",
3034
- "name": "foundationAiCriteriaSearchTemplate",
3090
+ "name": "foundationAiIndicatorTemplate",
3035
3091
  "type": {
3036
- "text": "ViewTemplate<AiCriteriaSearch>"
3092
+ "text": "ViewTemplate<AiIndicator>"
3037
3093
  },
3038
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3094
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3039
3095
  }
3040
3096
  ],
3041
3097
  "exports": [
3042
3098
  {
3043
3099
  "kind": "js",
3044
- "name": "foundationAiCriteriaSearchTemplate",
3100
+ "name": "foundationAiIndicatorTemplate",
3045
3101
  "declaration": {
3046
- "name": "foundationAiCriteriaSearchTemplate",
3047
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3102
+ "name": "foundationAiIndicatorTemplate",
3103
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3048
3104
  }
3049
3105
  }
3050
3106
  ]
3051
3107
  },
3052
3108
  {
3053
3109
  "kind": "javascript-module",
3054
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3110
+ "path": "src/ai-indicator/ai-indicator.ts",
3055
3111
  "declarations": [
3056
3112
  {
3057
3113
  "kind": "class",
3058
- "description": "Natural-language criteria search input with AI interpretation.",
3059
- "name": "AiCriteriaSearch",
3114
+ "description": "",
3115
+ "name": "AiIndicator",
3060
3116
  "members": [
3061
3117
  {
3062
3118
  "kind": "field",
@@ -3067,54 +3123,25 @@
3067
3123
  },
3068
3124
  {
3069
3125
  "kind": "field",
3070
- "name": "placeholder",
3071
- "type": {
3072
- "text": "string"
3073
- },
3074
- "default": "'Describe your search criteria in natural language...'"
3075
- },
3076
- {
3077
- "kind": "field",
3078
- "name": "disabled",
3079
- "type": {
3080
- "text": "boolean"
3081
- }
3082
- },
3083
- {
3084
- "kind": "field",
3085
- "name": "inputValue",
3086
- "type": {
3087
- "text": "string"
3088
- },
3089
- "default": "''"
3090
- },
3091
- {
3092
- "kind": "field",
3093
- "name": "isInterpreting",
3126
+ "name": "aiProvider",
3094
3127
  "type": {
3095
- "text": "boolean"
3128
+ "text": "AIProvider | undefined"
3096
3129
  },
3097
- "default": "false"
3130
+ "privacy": "private",
3131
+ "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.",
3132
+ "readonly": true
3098
3133
  },
3099
3134
  {
3100
3135
  "kind": "field",
3101
- "name": "lastValidCriteria",
3136
+ "name": "status",
3102
3137
  "type": {
3103
- "text": "string | null"
3138
+ "text": "AIStatus | null"
3104
3139
  },
3105
3140
  "default": "null"
3106
3141
  },
3107
3142
  {
3108
3143
  "kind": "field",
3109
- "name": "activeGroups",
3110
- "type": {
3111
- "text": "CriteriaGroup[]"
3112
- },
3113
- "default": "[]"
3114
- },
3115
- {
3116
- "kind": "field",
3117
- "name": "showingChips",
3144
+ "name": "open",
3118
3145
  "type": {
3119
3146
  "text": "boolean"
3120
3147
  },
@@ -3122,15 +3149,15 @@
3122
3149
  },
3123
3150
  {
3124
3151
  "kind": "field",
3125
- "name": "fieldMetadata",
3152
+ "name": "state",
3126
3153
  "type": {
3127
- "text": "MetadataDetail[] | string[]"
3154
+ "text": "AIIndicatorState"
3128
3155
  },
3129
- "default": "[]"
3156
+ "default": "'none'"
3130
3157
  },
3131
3158
  {
3132
3159
  "kind": "field",
3133
- "name": "isRecording",
3160
+ "name": "isInstalling",
3134
3161
  "type": {
3135
3162
  "text": "boolean"
3136
3163
  },
@@ -3138,33 +3165,29 @@
3138
3165
  },
3139
3166
  {
3140
3167
  "kind": "field",
3141
- "name": "textAreaRef",
3168
+ "name": "pollTimer",
3142
3169
  "type": {
3143
- "text": "HTMLTextAreaElement"
3170
+ "text": "ReturnType<typeof setInterval> | null"
3144
3171
  },
3145
- "privacy": "public"
3172
+ "privacy": "private",
3173
+ "default": "null"
3146
3174
  },
3147
3175
  {
3148
3176
  "kind": "field",
3149
- "name": "stopRecording",
3150
- "type": {
3151
- "text": "(() => void) | null"
3152
- },
3153
- "privacy": "private",
3154
- "default": "null"
3177
+ "name": "clickOutside",
3178
+ "privacy": "private"
3155
3179
  },
3156
3180
  {
3157
3181
  "kind": "field",
3158
- "name": "speechApplyDebounceTimer",
3182
+ "name": "chromeStatusLabel",
3159
3183
  "type": {
3160
- "text": "ReturnType<typeof setTimeout> | null"
3184
+ "text": "string | null"
3161
3185
  },
3162
- "privacy": "private",
3163
- "default": "null"
3186
+ "readonly": true
3164
3187
  },
3165
3188
  {
3166
3189
  "kind": "field",
3167
- "name": "speechAvailable",
3190
+ "name": "canInstall",
3168
3191
  "type": {
3169
3192
  "text": "boolean"
3170
3193
  },
@@ -3172,65 +3195,69 @@
3172
3195
  },
3173
3196
  {
3174
3197
  "kind": "field",
3175
- "name": "criteriaChips",
3198
+ "name": "isDownloading",
3176
3199
  "type": {
3177
- "text": "CriteriaChip[]"
3200
+ "text": "boolean"
3178
3201
  },
3179
3202
  "readonly": true
3180
3203
  },
3181
3204
  {
3182
3205
  "kind": "method",
3183
- "name": "getFieldLabel",
3184
- "privacy": "private",
3206
+ "name": "openChanged",
3185
3207
  "return": {
3186
3208
  "type": {
3187
- "text": "string"
3209
+ "text": "void"
3188
3210
  }
3189
- },
3211
+ }
3212
+ },
3213
+ {
3214
+ "kind": "method",
3215
+ "name": "handleClickOutside",
3216
+ "privacy": "private",
3190
3217
  "parameters": [
3191
3218
  {
3192
- "name": "fieldName",
3219
+ "name": "event",
3193
3220
  "type": {
3194
- "text": "string"
3221
+ "text": "MouseEvent"
3195
3222
  }
3196
3223
  }
3197
3224
  ]
3198
3225
  },
3199
3226
  {
3200
3227
  "kind": "method",
3201
- "name": "toggleCriteriaView",
3228
+ "name": "toggleDropdown"
3229
+ },
3230
+ {
3231
+ "kind": "method",
3232
+ "name": "refreshStatus",
3202
3233
  "return": {
3203
3234
  "type": {
3204
- "text": "void"
3235
+ "text": "Promise<void>"
3205
3236
  }
3206
3237
  }
3207
3238
  },
3208
3239
  {
3209
3240
  "kind": "method",
3210
- "name": "removeChip",
3241
+ "name": "deriveState",
3242
+ "privacy": "private",
3211
3243
  "return": {
3212
3244
  "type": {
3213
- "text": "void"
3245
+ "text": "AIIndicatorState"
3214
3246
  }
3215
3247
  },
3216
3248
  "parameters": [
3217
3249
  {
3218
- "name": "groupIndex",
3219
- "type": {
3220
- "text": "number"
3221
- }
3222
- },
3223
- {
3224
- "name": "clauseIndex",
3250
+ "name": "s",
3225
3251
  "type": {
3226
- "text": "number"
3252
+ "text": "AIStatus | null"
3227
3253
  }
3228
3254
  }
3229
3255
  ]
3230
3256
  },
3231
3257
  {
3232
3258
  "kind": "method",
3233
- "name": "clearChips",
3259
+ "name": "maybeStartPolling",
3260
+ "privacy": "private",
3234
3261
  "return": {
3235
3262
  "type": {
3236
3263
  "text": "void"
@@ -3239,24 +3266,32 @@
3239
3266
  },
3240
3267
  {
3241
3268
  "kind": "method",
3242
- "name": "handleSubmit"
3243
- },
3244
- {
3245
- "kind": "method",
3246
- "name": "handleBlur"
3247
- },
3248
- {
3249
- "kind": "method",
3250
- "name": "clear"
3269
+ "name": "startPolling",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "void"
3274
+ }
3275
+ }
3251
3276
  },
3252
3277
  {
3253
3278
  "kind": "method",
3254
- "name": "toggleSpeechInput"
3279
+ "name": "stopPolling",
3280
+ "privacy": "private",
3281
+ "return": {
3282
+ "type": {
3283
+ "text": "void"
3284
+ }
3285
+ }
3255
3286
  },
3256
3287
  {
3257
3288
  "kind": "method",
3258
- "name": "clearSpeechApplyDebounce",
3259
- "privacy": "private"
3289
+ "name": "onInstall",
3290
+ "return": {
3291
+ "type": {
3292
+ "text": "Promise<void>"
3293
+ }
3294
+ }
3260
3295
  },
3261
3296
  {
3262
3297
  "kind": "field",
@@ -3370,256 +3405,122 @@
3370
3405
  }
3371
3406
  }
3372
3407
  ],
3373
- "events": [
3374
- {
3375
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3376
- "name": "criteria-changed"
3377
- },
3378
- {
3379
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3380
- "name": "validation-errors"
3381
- }
3382
- ],
3383
- "attributes": [
3384
- {
3385
- "name": "placeholder",
3386
- "type": {
3387
- "text": "string"
3388
- },
3389
- "default": "'Describe your search criteria in natural language...'",
3390
- "fieldName": "placeholder"
3391
- },
3392
- {
3393
- "type": {
3394
- "text": "boolean"
3395
- },
3396
- "fieldName": "disabled"
3397
- }
3398
- ],
3399
3408
  "superclass": {
3400
3409
  "name": "FoundationElement",
3401
3410
  "package": "@microsoft/fast-foundation"
3402
3411
  },
3403
- "tagName": "%%prefix%%-ai-criteria-search",
3412
+ "tagName": "%%prefix%%-ai-indicator",
3404
3413
  "customElement": true
3405
3414
  },
3406
3415
  {
3407
3416
  "kind": "variable",
3408
- "name": "foundationAiCriteriaSearchShadowOptions",
3409
- "type": {
3410
- "text": "ShadowRootInit"
3411
- },
3412
- "default": "undefined"
3413
- },
3414
- {
3415
- "kind": "variable",
3416
- "name": "defaultAiCriteriaSearchConfig",
3417
- "type": {
3418
- "text": "object"
3419
- },
3420
- "default": "{}"
3421
- },
3422
- {
3423
- "kind": "variable",
3424
- "name": "foundationAiCriteriaSearch"
3417
+ "name": "foundationAiIndicator"
3425
3418
  }
3426
3419
  ],
3427
3420
  "exports": [
3428
3421
  {
3429
3422
  "kind": "js",
3430
- "name": "AiCriteriaSearch",
3431
- "declaration": {
3432
- "name": "AiCriteriaSearch",
3433
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3434
- }
3435
- },
3436
- {
3437
- "kind": "js",
3438
- "name": "foundationAiCriteriaSearchShadowOptions",
3439
- "declaration": {
3440
- "name": "foundationAiCriteriaSearchShadowOptions",
3441
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
- }
3443
- },
3444
- {
3445
- "kind": "js",
3446
- "name": "defaultAiCriteriaSearchConfig",
3423
+ "name": "AiIndicator",
3447
3424
  "declaration": {
3448
- "name": "defaultAiCriteriaSearchConfig",
3449
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3425
+ "name": "AiIndicator",
3426
+ "module": "src/ai-indicator/ai-indicator.ts"
3450
3427
  }
3451
3428
  },
3452
3429
  {
3453
3430
  "kind": "js",
3454
- "name": "foundationAiCriteriaSearch",
3431
+ "name": "foundationAiIndicator",
3455
3432
  "declaration": {
3456
- "name": "foundationAiCriteriaSearch",
3457
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3433
+ "name": "foundationAiIndicator",
3434
+ "module": "src/ai-indicator/ai-indicator.ts"
3458
3435
  }
3459
3436
  }
3460
3437
  ]
3461
3438
  },
3462
3439
  {
3463
3440
  "kind": "javascript-module",
3464
- "path": "src/ai-criteria-search/index.ts",
3441
+ "path": "src/ai-indicator/index.ts",
3465
3442
  "declarations": [],
3466
3443
  "exports": [
3467
3444
  {
3468
3445
  "kind": "js",
3469
- "name": "AiCriteriaSearch",
3470
- "declaration": {
3471
- "name": "AiCriteriaSearch",
3472
- "module": "./ai-criteria-search"
3473
- }
3474
- },
3475
- {
3476
- "kind": "js",
3477
- "name": "defaultAiCriteriaSearchConfig",
3478
- "declaration": {
3479
- "name": "defaultAiCriteriaSearchConfig",
3480
- "module": "./ai-criteria-search"
3481
- }
3482
- },
3483
- {
3484
- "kind": "js",
3485
- "name": "foundationAiCriteriaSearch",
3486
- "declaration": {
3487
- "name": "foundationAiCriteriaSearch",
3488
- "module": "./ai-criteria-search"
3489
- }
3490
- },
3491
- {
3492
- "kind": "js",
3493
- "name": "foundationAiCriteriaSearchShadowOptions",
3446
+ "name": "AiIndicator",
3494
3447
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchShadowOptions",
3496
- "module": "./ai-criteria-search"
3448
+ "name": "AiIndicator",
3449
+ "module": "./ai-indicator"
3497
3450
  }
3498
3451
  },
3499
3452
  {
3500
3453
  "kind": "js",
3501
- "name": "foundationAiCriteriaSearchStyles",
3454
+ "name": "foundationAiIndicator",
3502
3455
  "declaration": {
3503
- "name": "foundationAiCriteriaSearchStyles",
3504
- "module": "./ai-criteria-search.styles"
3456
+ "name": "foundationAiIndicator",
3457
+ "module": "./ai-indicator"
3505
3458
  }
3506
3459
  },
3507
3460
  {
3508
3461
  "kind": "js",
3509
- "name": "foundationAiCriteriaSearchTemplate",
3462
+ "name": "type",
3510
3463
  "declaration": {
3511
- "name": "foundationAiCriteriaSearchTemplate",
3512
- "module": "./ai-criteria-search.template"
3464
+ "name": "type",
3465
+ "module": "./ai-indicator"
3513
3466
  }
3514
3467
  },
3515
3468
  {
3516
3469
  "kind": "js",
3517
- "name": "*",
3470
+ "name": "AIIndicatorState",
3518
3471
  "declaration": {
3519
- "name": "*",
3520
- "package": "./validation/criteria-ir"
3472
+ "name": "AIIndicatorState",
3473
+ "module": "./ai-indicator"
3521
3474
  }
3522
3475
  },
3523
3476
  {
3524
3477
  "kind": "js",
3525
- "name": "*",
3478
+ "name": "foundationAiIndicatorTemplate",
3526
3479
  "declaration": {
3527
- "name": "*",
3528
- "package": "./validation/operator-map"
3480
+ "name": "foundationAiIndicatorTemplate",
3481
+ "module": "./ai-indicator.template"
3529
3482
  }
3530
3483
  },
3531
3484
  {
3532
3485
  "kind": "js",
3533
- "name": "*",
3486
+ "name": "foundationAiIndicatorStyles",
3534
3487
  "declaration": {
3535
- "name": "*",
3536
- "package": "./validation/schema-validator"
3488
+ "name": "foundationAiIndicatorStyles",
3489
+ "module": "./ai-indicator.styles"
3537
3490
  }
3538
3491
  }
3539
3492
  ]
3540
3493
  },
3541
3494
  {
3542
3495
  "kind": "javascript-module",
3543
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3496
+ "path": "src/actions-menu/actions-menu.styles.ts",
3544
3497
  "declarations": [
3545
3498
  {
3546
3499
  "kind": "function",
3547
- "name": "formatValidationErrors",
3500
+ "name": "actionsMenuBaseStyles",
3548
3501
  "return": {
3549
3502
  "type": {
3550
- "text": "string"
3503
+ "text": "ElementStyles"
3551
3504
  }
3552
3505
  },
3553
3506
  "parameters": [
3554
3507
  {
3555
- "name": "errors",
3508
+ "name": "context",
3556
3509
  "type": {
3557
- "text": "ValidationError[]"
3510
+ "text": "ElementDefinitionContext"
3558
3511
  }
3559
- }
3560
- ],
3561
- "description": "Formats validation errors into a user-friendly message."
3562
- },
3563
- {
3564
- "kind": "function",
3565
- "name": "showCriteriaError",
3566
- "return": {
3567
- "type": {
3568
- "text": "void"
3569
- }
3570
- },
3571
- "parameters": [
3572
- {
3573
- "name": "title",
3574
- "type": {
3575
- "text": "string"
3576
- },
3577
- "description": "Notification title (e.g. \"Criteria validation error\")"
3578
- },
3579
- {
3580
- "name": "body",
3581
- "type": {
3582
- "text": "string"
3583
- },
3584
- "description": "Error message to display"
3585
3512
  },
3586
3513
  {
3587
- "name": "tagName",
3514
+ "name": "definition",
3588
3515
  "type": {
3589
- "text": "string"
3590
- },
3591
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3516
+ "text": "FoundationElementDefinition"
3517
+ }
3592
3518
  }
3593
- ],
3594
- "description": "Shows a criteria error as a toast notification."
3595
- }
3596
- ],
3597
- "exports": [
3598
- {
3599
- "kind": "js",
3600
- "name": "formatValidationErrors",
3601
- "declaration": {
3602
- "name": "formatValidationErrors",
3603
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
- }
3519
+ ]
3605
3520
  },
3606
- {
3607
- "kind": "js",
3608
- "name": "showCriteriaError",
3609
- "declaration": {
3610
- "name": "showCriteriaError",
3611
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3612
- }
3613
- }
3614
- ]
3615
- },
3616
- {
3617
- "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
- "declarations": [
3620
3521
  {
3621
3522
  "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3523
+ "name": "foundationActionsMenuStyles",
3623
3524
  "return": {
3624
3525
  "type": {
3625
3526
  "text": "ElementStyles"
@@ -3644,225 +3545,281 @@
3644
3545
  "exports": [
3645
3546
  {
3646
3547
  "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3548
+ "name": "actionsMenuBaseStyles",
3648
3549
  "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3550
+ "name": "actionsMenuBaseStyles",
3551
+ "module": "src/actions-menu/actions-menu.styles.ts"
3552
+ }
3553
+ },
3554
+ {
3555
+ "kind": "js",
3556
+ "name": "foundationActionsMenuStyles",
3557
+ "declaration": {
3558
+ "name": "foundationActionsMenuStyles",
3559
+ "module": "src/actions-menu/actions-menu.styles.ts"
3651
3560
  }
3652
3561
  }
3653
3562
  ]
3654
3563
  },
3655
3564
  {
3656
3565
  "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3566
+ "path": "src/actions-menu/actions-menu.template.ts",
3658
3567
  "declarations": [
3568
+ {
3569
+ "kind": "function",
3570
+ "name": "menuTemplate",
3571
+ "parameters": [
3572
+ {
3573
+ "name": "prefix",
3574
+ "type": {
3575
+ "text": "string"
3576
+ }
3577
+ }
3578
+ ]
3579
+ },
3580
+ {
3581
+ "kind": "function",
3582
+ "name": "singleOptionTemplate",
3583
+ "parameters": [
3584
+ {
3585
+ "name": "prefix",
3586
+ "type": {
3587
+ "text": "string"
3588
+ }
3589
+ }
3590
+ ]
3591
+ },
3659
3592
  {
3660
3593
  "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3594
+ "name": "foundationActionsMenuTemplate",
3662
3595
  "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3596
+ "text": "ViewTemplate<ActionsMenu>"
3664
3597
  },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3598
+ "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`"
3666
3599
  }
3667
3600
  ],
3668
3601
  "exports": [
3669
3602
  {
3670
3603
  "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3604
+ "name": "menuTemplate",
3672
3605
  "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3606
+ "name": "menuTemplate",
3607
+ "module": "src/actions-menu/actions-menu.template.ts"
3608
+ }
3609
+ },
3610
+ {
3611
+ "kind": "js",
3612
+ "name": "singleOptionTemplate",
3613
+ "declaration": {
3614
+ "name": "singleOptionTemplate",
3615
+ "module": "src/actions-menu/actions-menu.template.ts"
3616
+ }
3617
+ },
3618
+ {
3619
+ "kind": "js",
3620
+ "name": "foundationActionsMenuTemplate",
3621
+ "declaration": {
3622
+ "name": "foundationActionsMenuTemplate",
3623
+ "module": "src/actions-menu/actions-menu.template.ts"
3675
3624
  }
3676
3625
  }
3677
3626
  ]
3678
3627
  },
3679
3628
  {
3680
3629
  "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3630
+ "path": "src/actions-menu/actions-menu.ts",
3682
3631
  "declarations": [
3683
3632
  {
3684
3633
  "kind": "class",
3685
3634
  "description": "",
3686
- "name": "AiIndicator",
3635
+ "name": "ActionsMenu",
3687
3636
  "members": [
3688
3637
  {
3689
3638
  "kind": "field",
3690
- "name": "providerRegistry",
3639
+ "name": "actions",
3691
3640
  "type": {
3692
- "text": "AIProviderRegistry"
3641
+ "text": "ActionMenuItem[]"
3693
3642
  }
3694
3643
  },
3695
3644
  {
3696
3645
  "kind": "field",
3697
- "name": "aiProvider",
3646
+ "name": "isVertical",
3698
3647
  "type": {
3699
- "text": "AIProvider | undefined"
3648
+ "text": "boolean"
3700
3649
  },
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
3650
+ "default": "false"
3704
3651
  },
3705
3652
  {
3706
3653
  "kind": "field",
3707
- "name": "status",
3654
+ "name": "addDefaultActions",
3708
3655
  "type": {
3709
- "text": "AIStatus | null"
3656
+ "text": "boolean"
3710
3657
  },
3711
- "default": "null"
3658
+ "default": "true"
3712
3659
  },
3713
3660
  {
3714
3661
  "kind": "field",
3715
- "name": "open",
3662
+ "name": "autoCloseOnAction",
3716
3663
  "type": {
3717
3664
  "text": "boolean"
3718
3665
  },
3719
- "default": "false"
3666
+ "default": "true"
3720
3667
  },
3721
3668
  {
3722
3669
  "kind": "field",
3723
- "name": "state",
3670
+ "name": "classNames",
3724
3671
  "type": {
3725
- "text": "AIIndicatorState"
3726
- },
3727
- "default": "'none'"
3672
+ "text": "string"
3673
+ }
3728
3674
  },
3729
3675
  {
3730
3676
  "kind": "field",
3731
- "name": "isInstalling",
3677
+ "name": "definition",
3732
3678
  "type": {
3733
- "text": "boolean"
3734
- },
3735
- "default": "false"
3679
+ "text": "any"
3680
+ }
3736
3681
  },
3737
3682
  {
3738
3683
  "kind": "field",
3739
- "name": "pollTimer",
3684
+ "name": "name",
3740
3685
  "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3686
+ "text": "string"
3742
3687
  },
3743
- "privacy": "private",
3744
- "default": "null"
3688
+ "default": "'Actions'"
3745
3689
  },
3746
3690
  {
3747
3691
  "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3692
+ "name": "open",
3693
+ "type": {
3694
+ "text": "boolean"
3695
+ },
3696
+ "default": "false"
3750
3697
  },
3751
3698
  {
3752
3699
  "kind": "field",
3753
- "name": "chromeStatusLabel",
3700
+ "name": "buttonAppearance",
3754
3701
  "type": {
3755
- "text": "string | null"
3756
- },
3757
- "readonly": true
3702
+ "text": "string"
3703
+ }
3758
3704
  },
3759
3705
  {
3760
3706
  "kind": "field",
3761
- "name": "canInstall",
3707
+ "name": "hideDisabled",
3762
3708
  "type": {
3763
3709
  "text": "boolean"
3764
3710
  },
3765
- "readonly": true
3711
+ "default": "false"
3766
3712
  },
3767
3713
  {
3768
3714
  "kind": "field",
3769
- "name": "isDownloading",
3715
+ "name": "hideMenuSingleOption",
3770
3716
  "type": {
3771
3717
  "text": "boolean"
3772
3718
  },
3773
- "readonly": true
3719
+ "default": "false"
3774
3720
  },
3775
3721
  {
3776
- "kind": "method",
3777
- "name": "openChanged",
3778
- "return": {
3779
- "type": {
3780
- "text": "void"
3781
- }
3722
+ "kind": "field",
3723
+ "name": "singleOption",
3724
+ "type": {
3725
+ "text": "ActionMenuItem"
3726
+ }
3727
+ },
3728
+ {
3729
+ "kind": "field",
3730
+ "name": "actionsMenu",
3731
+ "type": {
3732
+ "text": "HTMLElement"
3733
+ }
3734
+ },
3735
+ {
3736
+ "kind": "field",
3737
+ "name": "actionsOpener",
3738
+ "type": {
3739
+ "text": "HTMLElement"
3782
3740
  }
3783
3741
  },
3784
3742
  {
3785
3743
  "kind": "method",
3786
- "name": "handleClickOutside",
3787
- "privacy": "private",
3744
+ "name": "updateMenuPosition",
3745
+ "privacy": "private"
3746
+ },
3747
+ {
3748
+ "kind": "method",
3749
+ "name": "definitionChanged",
3750
+ "privacy": "protected",
3788
3751
  "parameters": [
3789
3752
  {
3790
- "name": "event",
3753
+ "name": "oldValue",
3791
3754
  "type": {
3792
- "text": "MouseEvent"
3755
+ "text": "any"
3756
+ }
3757
+ },
3758
+ {
3759
+ "name": "newValue",
3760
+ "type": {
3761
+ "text": "any"
3793
3762
  }
3794
3763
  }
3795
3764
  ]
3796
3765
  },
3797
3766
  {
3798
3767
  "kind": "method",
3799
- "name": "toggleDropdown"
3768
+ "name": "openChanged",
3769
+ "privacy": "protected"
3800
3770
  },
3801
3771
  {
3802
3772
  "kind": "method",
3803
- "name": "refreshStatus",
3804
- "return": {
3805
- "type": {
3806
- "text": "Promise<void>"
3807
- }
3808
- }
3773
+ "name": "toggleActionsMenuVisibility"
3809
3774
  },
3810
3775
  {
3811
3776
  "kind": "method",
3812
- "name": "deriveState",
3813
- "privacy": "private",
3814
- "return": {
3815
- "type": {
3816
- "text": "AIIndicatorState"
3817
- }
3818
- },
3777
+ "name": "onActionMenuItemClick",
3819
3778
  "parameters": [
3820
3779
  {
3821
- "name": "s",
3780
+ "name": "callback",
3822
3781
  "type": {
3823
- "text": "AIStatus | null"
3782
+ "text": "(rowData) => void | any"
3824
3783
  }
3825
3784
  }
3826
3785
  ]
3827
3786
  },
3828
3787
  {
3829
- "kind": "method",
3830
- "name": "maybeStartPolling",
3831
- "privacy": "private",
3832
- "return": {
3833
- "type": {
3834
- "text": "void"
3835
- }
3836
- }
3788
+ "kind": "field",
3789
+ "name": "allActions",
3790
+ "type": {
3791
+ "text": "ActionMenuItem[]"
3792
+ },
3793
+ "readonly": true
3837
3794
  },
3838
3795
  {
3839
- "kind": "method",
3840
- "name": "startPolling",
3841
- "privacy": "private",
3842
- "return": {
3843
- "type": {
3844
- "text": "void"
3845
- }
3846
- }
3796
+ "kind": "field",
3797
+ "name": "rowData",
3798
+ "readonly": true
3847
3799
  },
3848
3800
  {
3849
3801
  "kind": "method",
3850
- "name": "stopPolling",
3851
- "privacy": "private",
3852
- "return": {
3853
- "type": {
3854
- "text": "void"
3802
+ "name": "getLabel",
3803
+ "parameters": [
3804
+ {
3805
+ "name": "name",
3806
+ "type": {
3807
+ "text": "string | ((rowData: any) => string)"
3808
+ }
3855
3809
  }
3856
- }
3810
+ ]
3857
3811
  },
3858
3812
  {
3859
3813
  "kind": "method",
3860
- "name": "onInstall",
3861
- "return": {
3862
- "type": {
3863
- "text": "Promise<void>"
3814
+ "name": "getTemplate",
3815
+ "parameters": [
3816
+ {
3817
+ "name": "prefix",
3818
+ "type": {
3819
+ "text": "string"
3820
+ }
3864
3821
  }
3865
- }
3822
+ ]
3866
3823
  },
3867
3824
  {
3868
3825
  "kind": "field",
@@ -3976,88 +3933,131 @@
3976
3933
  }
3977
3934
  }
3978
3935
  ],
3936
+ "attributes": [
3937
+ {
3938
+ "name": "is-vertical",
3939
+ "type": {
3940
+ "text": "boolean"
3941
+ },
3942
+ "default": "false",
3943
+ "fieldName": "isVertical"
3944
+ },
3945
+ {
3946
+ "name": "add-default-actions",
3947
+ "type": {
3948
+ "text": "boolean"
3949
+ },
3950
+ "default": "true",
3951
+ "fieldName": "addDefaultActions"
3952
+ },
3953
+ {
3954
+ "name": "auto-close-on-action",
3955
+ "type": {
3956
+ "text": "boolean"
3957
+ },
3958
+ "default": "true",
3959
+ "fieldName": "autoCloseOnAction"
3960
+ },
3961
+ {
3962
+ "name": "name",
3963
+ "type": {
3964
+ "text": "string"
3965
+ },
3966
+ "default": "'Actions'",
3967
+ "fieldName": "name"
3968
+ },
3969
+ {
3970
+ "name": "open",
3971
+ "type": {
3972
+ "text": "boolean"
3973
+ },
3974
+ "default": "false",
3975
+ "fieldName": "open"
3976
+ },
3977
+ {
3978
+ "name": "buttonAppearance",
3979
+ "type": {
3980
+ "text": "string"
3981
+ },
3982
+ "fieldName": "buttonAppearance"
3983
+ },
3984
+ {
3985
+ "name": "hide-disabled",
3986
+ "type": {
3987
+ "text": "boolean"
3988
+ },
3989
+ "default": "false",
3990
+ "fieldName": "hideDisabled"
3991
+ },
3992
+ {
3993
+ "name": "hide-menu-single-option",
3994
+ "type": {
3995
+ "text": "boolean"
3996
+ },
3997
+ "default": "false",
3998
+ "fieldName": "hideMenuSingleOption"
3999
+ }
4000
+ ],
3979
4001
  "superclass": {
3980
4002
  "name": "FoundationElement",
3981
4003
  "package": "@microsoft/fast-foundation"
3982
4004
  },
3983
- "tagName": "%%prefix%%-ai-indicator",
4005
+ "tagName": "%%prefix%%-actions-menu",
3984
4006
  "customElement": true
3985
4007
  },
3986
4008
  {
3987
4009
  "kind": "variable",
3988
- "name": "foundationAiIndicator"
4010
+ "name": "foundationActionsMenu",
4011
+ "description": "The Foundation Actions Menu",
4012
+ "privacy": "public"
3989
4013
  }
3990
4014
  ],
3991
4015
  "exports": [
3992
4016
  {
3993
4017
  "kind": "js",
3994
- "name": "AiIndicator",
4018
+ "name": "ActionsMenu",
3995
4019
  "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
4020
+ "name": "ActionsMenu",
4021
+ "module": "src/actions-menu/actions-menu.ts"
3998
4022
  }
3999
4023
  },
4000
4024
  {
4001
4025
  "kind": "js",
4002
- "name": "foundationAiIndicator",
4026
+ "name": "foundationActionsMenu",
4003
4027
  "declaration": {
4004
- "name": "foundationAiIndicator",
4005
- "module": "src/ai-indicator/ai-indicator.ts"
4028
+ "name": "foundationActionsMenu",
4029
+ "module": "src/actions-menu/actions-menu.ts"
4006
4030
  }
4007
4031
  }
4008
4032
  ]
4009
4033
  },
4010
4034
  {
4011
4035
  "kind": "javascript-module",
4012
- "path": "src/ai-indicator/index.ts",
4036
+ "path": "src/actions-menu/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": "./actions-menu.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": "./actions-menu.template"
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": "./actions-menu"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -50484,6 +50484,14 @@
50484
50484
  "text": "boolean"
50485
50485
  }
50486
50486
  },
50487
+ {
50488
+ "kind": "field",
50489
+ "name": "hideProgress",
50490
+ "type": {
50491
+ "text": "boolean"
50492
+ },
50493
+ "default": "false"
50494
+ },
50487
50495
  {
50488
50496
  "kind": "field",
50489
50497
  "name": "hideStepNumber",
@@ -51021,6 +51029,14 @@
51021
51029
  },
51022
51030
  "fieldName": "hideSubmitButton"
51023
51031
  },
51032
+ {
51033
+ "name": "hide-progress",
51034
+ "type": {
51035
+ "text": "boolean"
51036
+ },
51037
+ "default": "false",
51038
+ "fieldName": "hideProgress"
51039
+ },
51024
51040
  {
51025
51041
  "name": "hide-step-number",
51026
51042
  "type": {