@genesislcap/foundation-ui 15.36.2-alpha-ec480ce5f.0 → 15.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,6 +1493,37 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1496
1527
  {
1497
1528
  "kind": "javascript-module",
1498
1529
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2460,11 +2491,11 @@
2460
2491
  },
2461
2492
  {
2462
2493
  "kind": "javascript-module",
2463
- "path": "src/accordion/accordion.styles.ts",
2494
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2464
2495
  "declarations": [
2465
2496
  {
2466
2497
  "kind": "function",
2467
- "name": "foundationAccordionStyles",
2498
+ "name": "foundationAiIndicatorStyles",
2468
2499
  "return": {
2469
2500
  "type": {
2470
2501
  "text": "ElementStyles"
@@ -2489,738 +2520,223 @@
2489
2520
  "exports": [
2490
2521
  {
2491
2522
  "kind": "js",
2492
- "name": "foundationAccordionStyles",
2523
+ "name": "foundationAiIndicatorStyles",
2493
2524
  "declaration": {
2494
- "name": "foundationAccordionStyles",
2495
- "module": "src/accordion/accordion.styles.ts"
2525
+ "name": "foundationAiIndicatorStyles",
2526
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2496
2527
  }
2497
2528
  }
2498
2529
  ]
2499
2530
  },
2500
2531
  {
2501
2532
  "kind": "javascript-module",
2502
- "path": "src/accordion/accordion.template.ts",
2533
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2503
2534
  "declarations": [
2504
2535
  {
2505
- "kind": "function",
2506
- "name": "foundationAccordionTemplate",
2507
- "return": {
2508
- "type": {
2509
- "text": "ViewTemplate<Accordion>"
2510
- }
2536
+ "kind": "variable",
2537
+ "name": "foundationAiIndicatorTemplate",
2538
+ "type": {
2539
+ "text": "ViewTemplate<AiIndicator>"
2511
2540
  },
2512
- "parameters": [
2513
- {
2514
- "name": "context",
2515
- "type": {
2516
- "text": "ElementDefinitionContext"
2517
- }
2518
- },
2519
- {
2520
- "name": "definition",
2521
- "type": {
2522
- "text": "FoundationElementDefinition"
2523
- }
2524
- }
2525
- ]
2541
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2526
2542
  }
2527
2543
  ],
2528
2544
  "exports": [
2529
2545
  {
2530
2546
  "kind": "js",
2531
- "name": "foundationAccordionTemplate",
2547
+ "name": "foundationAiIndicatorTemplate",
2532
2548
  "declaration": {
2533
- "name": "foundationAccordionTemplate",
2534
- "module": "src/accordion/accordion.template.ts"
2549
+ "name": "foundationAiIndicatorTemplate",
2550
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2535
2551
  }
2536
2552
  }
2537
2553
  ]
2538
2554
  },
2539
2555
  {
2540
2556
  "kind": "javascript-module",
2541
- "path": "src/accordion/accordion.ts",
2557
+ "path": "src/ai-indicator/ai-indicator.ts",
2542
2558
  "declarations": [
2543
2559
  {
2544
2560
  "kind": "class",
2545
2561
  "description": "",
2546
- "name": "Accordion",
2547
- "superclass": {
2548
- "name": "FASTAccordion",
2549
- "package": "@microsoft/fast-foundation"
2550
- },
2551
- "tagName": "%%prefix%%-accordion",
2552
- "customElement": true,
2553
- "attributes": [
2562
+ "name": "AiIndicator",
2563
+ "members": [
2554
2564
  {
2555
- "name": "expand-mode",
2565
+ "kind": "field",
2566
+ "name": "providerRegistry",
2556
2567
  "type": {
2557
- "text": "AccordionExpandMode"
2558
- },
2559
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2560
- "fieldName": "expandmode",
2561
- "inheritedFrom": {
2562
- "name": "Accordion",
2563
- "module": "src/accordion/accordion.ts"
2568
+ "text": "AIProviderRegistry"
2564
2569
  }
2565
- }
2566
- ],
2567
- "members": [
2570
+ },
2568
2571
  {
2569
2572
  "kind": "field",
2570
- "name": "expandmode",
2573
+ "name": "aiProvider",
2571
2574
  "type": {
2572
- "text": "AccordionExpandMode"
2575
+ "text": "AIProvider | undefined"
2573
2576
  },
2574
- "privacy": "public",
2575
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2576
- "inheritedFrom": {
2577
- "name": "Accordion",
2578
- "module": "src/accordion/accordion.ts"
2579
- }
2577
+ "privacy": "private",
2578
+ "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.",
2579
+ "readonly": true
2580
2580
  },
2581
2581
  {
2582
2582
  "kind": "field",
2583
- "name": "activeid",
2583
+ "name": "status",
2584
2584
  "type": {
2585
- "text": "string | null"
2585
+ "text": "AIStatus | null"
2586
2586
  },
2587
- "privacy": "private",
2588
- "inheritedFrom": {
2589
- "name": "Accordion",
2590
- "module": "src/accordion/accordion.ts"
2591
- }
2587
+ "default": "null"
2592
2588
  },
2593
2589
  {
2594
2590
  "kind": "field",
2595
- "name": "activeItemIndex",
2591
+ "name": "open",
2596
2592
  "type": {
2597
- "text": "number"
2593
+ "text": "boolean"
2598
2594
  },
2599
- "privacy": "private",
2600
- "default": "0",
2601
- "inheritedFrom": {
2602
- "name": "Accordion",
2603
- "module": "src/accordion/accordion.ts"
2604
- }
2595
+ "default": "false"
2605
2596
  },
2606
2597
  {
2607
2598
  "kind": "field",
2608
- "name": "accordionIds",
2599
+ "name": "state",
2609
2600
  "type": {
2610
- "text": "Array<string | null>"
2601
+ "text": "AIIndicatorState"
2611
2602
  },
2612
- "privacy": "private",
2613
- "inheritedFrom": {
2614
- "name": "Accordion",
2615
- "module": "src/accordion/accordion.ts"
2616
- }
2603
+ "default": "'none'"
2617
2604
  },
2618
2605
  {
2619
2606
  "kind": "field",
2620
- "name": "change",
2621
- "privacy": "private",
2622
- "inheritedFrom": {
2623
- "name": "Accordion",
2624
- "module": "src/accordion/accordion.ts"
2625
- }
2607
+ "name": "isInstalling",
2608
+ "type": {
2609
+ "text": "boolean"
2610
+ },
2611
+ "default": "false"
2626
2612
  },
2627
2613
  {
2628
- "kind": "method",
2629
- "name": "findExpandedItem",
2614
+ "kind": "field",
2615
+ "name": "pollTimer",
2616
+ "type": {
2617
+ "text": "ReturnType<typeof setInterval> | null"
2618
+ },
2630
2619
  "privacy": "private",
2631
- "return": {
2632
- "type": {
2633
- "text": "AccordionItem | null"
2634
- }
2620
+ "default": "null"
2621
+ },
2622
+ {
2623
+ "kind": "field",
2624
+ "name": "clickOutside",
2625
+ "privacy": "private"
2626
+ },
2627
+ {
2628
+ "kind": "field",
2629
+ "name": "chromeStatusLabel",
2630
+ "type": {
2631
+ "text": "string | null"
2635
2632
  },
2636
- "inheritedFrom": {
2637
- "name": "Accordion",
2638
- "module": "src/accordion/accordion.ts"
2639
- }
2633
+ "readonly": true
2640
2634
  },
2641
2635
  {
2642
2636
  "kind": "field",
2643
- "name": "setItems",
2644
- "privacy": "private",
2645
- "inheritedFrom": {
2646
- "name": "Accordion",
2647
- "module": "src/accordion/accordion.ts"
2648
- }
2637
+ "name": "canInstall",
2638
+ "type": {
2639
+ "text": "boolean"
2640
+ },
2641
+ "readonly": true
2642
+ },
2643
+ {
2644
+ "kind": "field",
2645
+ "name": "isDownloading",
2646
+ "type": {
2647
+ "text": "boolean"
2648
+ },
2649
+ "readonly": true
2649
2650
  },
2650
2651
  {
2651
2652
  "kind": "method",
2652
- "name": "resetItems",
2653
- "privacy": "private",
2653
+ "name": "openChanged",
2654
2654
  "return": {
2655
2655
  "type": {
2656
2656
  "text": "void"
2657
2657
  }
2658
- },
2659
- "inheritedFrom": {
2660
- "name": "Accordion",
2661
- "module": "src/accordion/accordion.ts"
2662
2658
  }
2663
2659
  },
2664
2660
  {
2665
- "kind": "field",
2666
- "name": "removeItemListeners",
2661
+ "kind": "method",
2662
+ "name": "handleClickOutside",
2667
2663
  "privacy": "private",
2668
- "inheritedFrom": {
2669
- "name": "Accordion",
2670
- "module": "src/accordion/accordion.ts"
2671
- }
2664
+ "parameters": [
2665
+ {
2666
+ "name": "event",
2667
+ "type": {
2668
+ "text": "MouseEvent"
2669
+ }
2670
+ }
2671
+ ]
2672
2672
  },
2673
2673
  {
2674
- "kind": "field",
2675
- "name": "activeItemChange",
2676
- "privacy": "private",
2677
- "inheritedFrom": {
2678
- "name": "Accordion",
2679
- "module": "src/accordion/accordion.ts"
2680
- }
2674
+ "kind": "method",
2675
+ "name": "toggleDropdown"
2681
2676
  },
2682
2677
  {
2683
2678
  "kind": "method",
2684
- "name": "getItemIds",
2685
- "privacy": "private",
2679
+ "name": "refreshStatus",
2686
2680
  "return": {
2687
2681
  "type": {
2688
- "text": "Array<string | null>"
2682
+ "text": "Promise<void>"
2689
2683
  }
2690
- },
2691
- "inheritedFrom": {
2692
- "name": "Accordion",
2693
- "module": "src/accordion/accordion.ts"
2694
2684
  }
2695
2685
  },
2696
2686
  {
2697
2687
  "kind": "method",
2698
- "name": "isSingleExpandMode",
2688
+ "name": "deriveState",
2699
2689
  "privacy": "private",
2700
2690
  "return": {
2701
2691
  "type": {
2702
- "text": "boolean"
2692
+ "text": "AIIndicatorState"
2703
2693
  }
2704
2694
  },
2705
- "inheritedFrom": {
2706
- "name": "Accordion",
2707
- "module": "src/accordion/accordion.ts"
2708
- }
2695
+ "parameters": [
2696
+ {
2697
+ "name": "s",
2698
+ "type": {
2699
+ "text": "AIStatus | null"
2700
+ }
2701
+ }
2702
+ ]
2709
2703
  },
2710
2704
  {
2711
- "kind": "field",
2712
- "name": "handleItemKeyDown",
2705
+ "kind": "method",
2706
+ "name": "maybeStartPolling",
2713
2707
  "privacy": "private",
2714
- "inheritedFrom": {
2715
- "name": "Accordion",
2716
- "module": "src/accordion/accordion.ts"
2708
+ "return": {
2709
+ "type": {
2710
+ "text": "void"
2711
+ }
2717
2712
  }
2718
2713
  },
2719
2714
  {
2720
- "kind": "field",
2721
- "name": "handleItemFocus",
2715
+ "kind": "method",
2716
+ "name": "startPolling",
2722
2717
  "privacy": "private",
2723
- "inheritedFrom": {
2724
- "name": "Accordion",
2725
- "module": "src/accordion/accordion.ts"
2718
+ "return": {
2719
+ "type": {
2720
+ "text": "void"
2721
+ }
2726
2722
  }
2727
2723
  },
2728
2724
  {
2729
2725
  "kind": "method",
2730
- "name": "adjust",
2726
+ "name": "stopPolling",
2731
2727
  "privacy": "private",
2732
2728
  "return": {
2733
2729
  "type": {
2734
2730
  "text": "void"
2735
2731
  }
2736
- },
2737
- "parameters": [
2738
- {
2739
- "name": "adjustment",
2740
- "type": {
2741
- "text": "number"
2742
- }
2743
- }
2744
- ],
2745
- "inheritedFrom": {
2746
- "name": "Accordion",
2747
- "module": "src/accordion/accordion.ts"
2748
2732
  }
2749
2733
  },
2750
2734
  {
2751
2735
  "kind": "method",
2752
- "name": "focusItem",
2753
- "privacy": "private",
2736
+ "name": "onInstall",
2754
2737
  "return": {
2755
2738
  "type": {
2756
- "text": "void"
2757
- }
2758
- },
2759
- "inheritedFrom": {
2760
- "name": "Accordion",
2761
- "module": "src/accordion/accordion.ts"
2762
- }
2763
- },
2764
- {
2765
- "kind": "field",
2766
- "name": "_presentation",
2767
- "type": {
2768
- "text": "ComponentPresentation | null | undefined"
2769
- },
2770
- "privacy": "private",
2771
- "default": "void 0",
2772
- "inheritedFrom": {
2773
- "name": "FoundationElement",
2774
- "module": "src/foundation-element/foundation-element.ts"
2775
- }
2776
- },
2777
- {
2778
- "kind": "field",
2779
- "name": "$presentation",
2780
- "type": {
2781
- "text": "ComponentPresentation | null"
2782
- },
2783
- "privacy": "public",
2784
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2785
- "inheritedFrom": {
2786
- "name": "FoundationElement",
2787
- "module": "src/foundation-element/foundation-element.ts"
2788
- }
2789
- },
2790
- {
2791
- "kind": "field",
2792
- "name": "template",
2793
- "type": {
2794
- "text": "ElementViewTemplate | void | null"
2795
- },
2796
- "privacy": "public",
2797
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2798
- "inheritedFrom": {
2799
- "name": "FoundationElement",
2800
- "module": "src/foundation-element/foundation-element.ts"
2801
- }
2802
- },
2803
- {
2804
- "kind": "method",
2805
- "name": "templateChanged",
2806
- "privacy": "protected",
2807
- "return": {
2808
- "type": {
2809
- "text": "void"
2810
- }
2811
- },
2812
- "inheritedFrom": {
2813
- "name": "FoundationElement",
2814
- "module": "src/foundation-element/foundation-element.ts"
2815
- }
2816
- },
2817
- {
2818
- "kind": "field",
2819
- "name": "styles",
2820
- "type": {
2821
- "text": "ElementStyles | void | null"
2822
- },
2823
- "privacy": "public",
2824
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2825
- "inheritedFrom": {
2826
- "name": "FoundationElement",
2827
- "module": "src/foundation-element/foundation-element.ts"
2828
- }
2829
- },
2830
- {
2831
- "kind": "method",
2832
- "name": "stylesChanged",
2833
- "privacy": "protected",
2834
- "return": {
2835
- "type": {
2836
- "text": "void"
2837
- }
2838
- },
2839
- "inheritedFrom": {
2840
- "name": "FoundationElement",
2841
- "module": "src/foundation-element/foundation-element.ts"
2842
- }
2843
- },
2844
- {
2845
- "kind": "method",
2846
- "name": "compose",
2847
- "privacy": "public",
2848
- "static": true,
2849
- "return": {
2850
- "type": {
2851
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2852
- }
2853
- },
2854
- "parameters": [
2855
- {
2856
- "name": "this",
2857
- "type": {
2858
- "text": "K"
2859
- }
2860
- },
2861
- {
2862
- "name": "elementDefinition",
2863
- "type": {
2864
- "text": "T"
2865
- },
2866
- "description": "The definition of the element to create the registry\nfunction for."
2867
- }
2868
- ],
2869
- "description": "Defines an element registry function with a set of element definition defaults.",
2870
- "inheritedFrom": {
2871
- "name": "FoundationElement",
2872
- "module": "src/foundation-element/foundation-element.ts"
2873
- }
2874
- }
2875
- ],
2876
- "events": [
2877
- {
2878
- "description": "Fires a custom 'change' event when the active item changes",
2879
- "name": "change",
2880
- "inheritedFrom": {
2881
- "name": "Accordion",
2882
- "module": "src/accordion/accordion.ts"
2883
- }
2884
- }
2885
- ]
2886
- },
2887
- {
2888
- "kind": "variable",
2889
- "name": "foundationAccordionShadowOptions",
2890
- "type": {
2891
- "text": "ShadowRootInit"
2892
- },
2893
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2894
- },
2895
- {
2896
- "kind": "variable",
2897
- "name": "defaultAccordionConfig",
2898
- "type": {
2899
- "text": "object"
2900
- },
2901
- "default": "{}"
2902
- },
2903
- {
2904
- "kind": "variable",
2905
- "name": "foundationAccordion",
2906
- "description": "The Foundation Accordion",
2907
- "privacy": "public"
2908
- }
2909
- ],
2910
- "exports": [
2911
- {
2912
- "kind": "js",
2913
- "name": "Accordion",
2914
- "declaration": {
2915
- "name": "Accordion",
2916
- "module": "src/accordion/accordion.ts"
2917
- }
2918
- },
2919
- {
2920
- "kind": "js",
2921
- "name": "foundationAccordionShadowOptions",
2922
- "declaration": {
2923
- "name": "foundationAccordionShadowOptions",
2924
- "module": "src/accordion/accordion.ts"
2925
- }
2926
- },
2927
- {
2928
- "kind": "js",
2929
- "name": "defaultAccordionConfig",
2930
- "declaration": {
2931
- "name": "defaultAccordionConfig",
2932
- "module": "src/accordion/accordion.ts"
2933
- }
2934
- },
2935
- {
2936
- "kind": "js",
2937
- "name": "foundationAccordion",
2938
- "declaration": {
2939
- "name": "foundationAccordion",
2940
- "module": "src/accordion/accordion.ts"
2941
- }
2942
- }
2943
- ]
2944
- },
2945
- {
2946
- "kind": "javascript-module",
2947
- "path": "src/accordion/index.ts",
2948
- "declarations": [],
2949
- "exports": [
2950
- {
2951
- "kind": "js",
2952
- "name": "*",
2953
- "declaration": {
2954
- "name": "*",
2955
- "package": "./accordion.template"
2956
- }
2957
- },
2958
- {
2959
- "kind": "js",
2960
- "name": "*",
2961
- "declaration": {
2962
- "name": "*",
2963
- "package": "./accordion.styles"
2964
- }
2965
- },
2966
- {
2967
- "kind": "js",
2968
- "name": "*",
2969
- "declaration": {
2970
- "name": "*",
2971
- "package": "./accordion"
2972
- }
2973
- }
2974
- ]
2975
- },
2976
- {
2977
- "kind": "javascript-module",
2978
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2979
- "declarations": [
2980
- {
2981
- "kind": "function",
2982
- "name": "foundationAiIndicatorStyles",
2983
- "return": {
2984
- "type": {
2985
- "text": "ElementStyles"
2986
- }
2987
- },
2988
- "parameters": [
2989
- {
2990
- "name": "context",
2991
- "type": {
2992
- "text": "ElementDefinitionContext"
2993
- }
2994
- },
2995
- {
2996
- "name": "definition",
2997
- "type": {
2998
- "text": "FoundationElementDefinition"
2999
- }
3000
- }
3001
- ]
3002
- }
3003
- ],
3004
- "exports": [
3005
- {
3006
- "kind": "js",
3007
- "name": "foundationAiIndicatorStyles",
3008
- "declaration": {
3009
- "name": "foundationAiIndicatorStyles",
3010
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3011
- }
3012
- }
3013
- ]
3014
- },
3015
- {
3016
- "kind": "javascript-module",
3017
- "path": "src/ai-indicator/ai-indicator.template.ts",
3018
- "declarations": [
3019
- {
3020
- "kind": "variable",
3021
- "name": "foundationAiIndicatorTemplate",
3022
- "type": {
3023
- "text": "ViewTemplate<AiIndicator>"
3024
- },
3025
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3026
- }
3027
- ],
3028
- "exports": [
3029
- {
3030
- "kind": "js",
3031
- "name": "foundationAiIndicatorTemplate",
3032
- "declaration": {
3033
- "name": "foundationAiIndicatorTemplate",
3034
- "module": "src/ai-indicator/ai-indicator.template.ts"
3035
- }
3036
- }
3037
- ]
3038
- },
3039
- {
3040
- "kind": "javascript-module",
3041
- "path": "src/ai-indicator/ai-indicator.ts",
3042
- "declarations": [
3043
- {
3044
- "kind": "class",
3045
- "description": "",
3046
- "name": "AiIndicator",
3047
- "members": [
3048
- {
3049
- "kind": "field",
3050
- "name": "providerRegistry",
3051
- "type": {
3052
- "text": "AIProviderRegistry"
3053
- }
3054
- },
3055
- {
3056
- "kind": "field",
3057
- "name": "aiProvider",
3058
- "type": {
3059
- "text": "AIProvider | undefined"
3060
- },
3061
- "privacy": "private",
3062
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3063
- "readonly": true
3064
- },
3065
- {
3066
- "kind": "field",
3067
- "name": "status",
3068
- "type": {
3069
- "text": "AIStatus | null"
3070
- },
3071
- "default": "null"
3072
- },
3073
- {
3074
- "kind": "field",
3075
- "name": "open",
3076
- "type": {
3077
- "text": "boolean"
3078
- },
3079
- "default": "false"
3080
- },
3081
- {
3082
- "kind": "field",
3083
- "name": "state",
3084
- "type": {
3085
- "text": "AIIndicatorState"
3086
- },
3087
- "default": "'none'"
3088
- },
3089
- {
3090
- "kind": "field",
3091
- "name": "isInstalling",
3092
- "type": {
3093
- "text": "boolean"
3094
- },
3095
- "default": "false"
3096
- },
3097
- {
3098
- "kind": "field",
3099
- "name": "pollTimer",
3100
- "type": {
3101
- "text": "ReturnType<typeof setInterval> | null"
3102
- },
3103
- "privacy": "private",
3104
- "default": "null"
3105
- },
3106
- {
3107
- "kind": "field",
3108
- "name": "clickOutside",
3109
- "privacy": "private"
3110
- },
3111
- {
3112
- "kind": "field",
3113
- "name": "chromeStatusLabel",
3114
- "type": {
3115
- "text": "string | null"
3116
- },
3117
- "readonly": true
3118
- },
3119
- {
3120
- "kind": "field",
3121
- "name": "canInstall",
3122
- "type": {
3123
- "text": "boolean"
3124
- },
3125
- "readonly": true
3126
- },
3127
- {
3128
- "kind": "field",
3129
- "name": "isDownloading",
3130
- "type": {
3131
- "text": "boolean"
3132
- },
3133
- "readonly": true
3134
- },
3135
- {
3136
- "kind": "method",
3137
- "name": "openChanged",
3138
- "return": {
3139
- "type": {
3140
- "text": "void"
3141
- }
3142
- }
3143
- },
3144
- {
3145
- "kind": "method",
3146
- "name": "handleClickOutside",
3147
- "privacy": "private",
3148
- "parameters": [
3149
- {
3150
- "name": "event",
3151
- "type": {
3152
- "text": "MouseEvent"
3153
- }
3154
- }
3155
- ]
3156
- },
3157
- {
3158
- "kind": "method",
3159
- "name": "toggleDropdown"
3160
- },
3161
- {
3162
- "kind": "method",
3163
- "name": "refreshStatus",
3164
- "return": {
3165
- "type": {
3166
- "text": "Promise<void>"
3167
- }
3168
- }
3169
- },
3170
- {
3171
- "kind": "method",
3172
- "name": "deriveState",
3173
- "privacy": "private",
3174
- "return": {
3175
- "type": {
3176
- "text": "AIIndicatorState"
3177
- }
3178
- },
3179
- "parameters": [
3180
- {
3181
- "name": "s",
3182
- "type": {
3183
- "text": "AIStatus | null"
3184
- }
3185
- }
3186
- ]
3187
- },
3188
- {
3189
- "kind": "method",
3190
- "name": "maybeStartPolling",
3191
- "privacy": "private",
3192
- "return": {
3193
- "type": {
3194
- "text": "void"
3195
- }
3196
- }
3197
- },
3198
- {
3199
- "kind": "method",
3200
- "name": "startPolling",
3201
- "privacy": "private",
3202
- "return": {
3203
- "type": {
3204
- "text": "void"
3205
- }
3206
- }
3207
- },
3208
- {
3209
- "kind": "method",
3210
- "name": "stopPolling",
3211
- "privacy": "private",
3212
- "return": {
3213
- "type": {
3214
- "text": "void"
3215
- }
3216
- }
3217
- },
3218
- {
3219
- "kind": "method",
3220
- "name": "onInstall",
3221
- "return": {
3222
- "type": {
3223
- "text": "Promise<void>"
2739
+ "text": "Promise<void>"
3224
2740
  }
3225
2741
  }
3226
2742
  },
@@ -4033,7 +3549,491 @@
4033
3549
  },
4034
3550
  {
4035
3551
  "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
3552
+ "path": "src/accordion/accordion.styles.ts",
3553
+ "declarations": [
3554
+ {
3555
+ "kind": "function",
3556
+ "name": "foundationAccordionStyles",
3557
+ "return": {
3558
+ "type": {
3559
+ "text": "ElementStyles"
3560
+ }
3561
+ },
3562
+ "parameters": [
3563
+ {
3564
+ "name": "context",
3565
+ "type": {
3566
+ "text": "ElementDefinitionContext"
3567
+ }
3568
+ },
3569
+ {
3570
+ "name": "definition",
3571
+ "type": {
3572
+ "text": "FoundationElementDefinition"
3573
+ }
3574
+ }
3575
+ ]
3576
+ }
3577
+ ],
3578
+ "exports": [
3579
+ {
3580
+ "kind": "js",
3581
+ "name": "foundationAccordionStyles",
3582
+ "declaration": {
3583
+ "name": "foundationAccordionStyles",
3584
+ "module": "src/accordion/accordion.styles.ts"
3585
+ }
3586
+ }
3587
+ ]
3588
+ },
3589
+ {
3590
+ "kind": "javascript-module",
3591
+ "path": "src/accordion/accordion.template.ts",
3592
+ "declarations": [
3593
+ {
3594
+ "kind": "function",
3595
+ "name": "foundationAccordionTemplate",
3596
+ "return": {
3597
+ "type": {
3598
+ "text": "ViewTemplate<Accordion>"
3599
+ }
3600
+ },
3601
+ "parameters": [
3602
+ {
3603
+ "name": "context",
3604
+ "type": {
3605
+ "text": "ElementDefinitionContext"
3606
+ }
3607
+ },
3608
+ {
3609
+ "name": "definition",
3610
+ "type": {
3611
+ "text": "FoundationElementDefinition"
3612
+ }
3613
+ }
3614
+ ]
3615
+ }
3616
+ ],
3617
+ "exports": [
3618
+ {
3619
+ "kind": "js",
3620
+ "name": "foundationAccordionTemplate",
3621
+ "declaration": {
3622
+ "name": "foundationAccordionTemplate",
3623
+ "module": "src/accordion/accordion.template.ts"
3624
+ }
3625
+ }
3626
+ ]
3627
+ },
3628
+ {
3629
+ "kind": "javascript-module",
3630
+ "path": "src/accordion/accordion.ts",
3631
+ "declarations": [
3632
+ {
3633
+ "kind": "class",
3634
+ "description": "",
3635
+ "name": "Accordion",
3636
+ "superclass": {
3637
+ "name": "FASTAccordion",
3638
+ "package": "@microsoft/fast-foundation"
3639
+ },
3640
+ "tagName": "%%prefix%%-accordion",
3641
+ "customElement": true,
3642
+ "attributes": [
3643
+ {
3644
+ "name": "expand-mode",
3645
+ "type": {
3646
+ "text": "AccordionExpandMode"
3647
+ },
3648
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
+ "fieldName": "expandmode",
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3654
+ }
3655
+ ],
3656
+ "members": [
3657
+ {
3658
+ "kind": "field",
3659
+ "name": "expandmode",
3660
+ "type": {
3661
+ "text": "AccordionExpandMode"
3662
+ },
3663
+ "privacy": "public",
3664
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3668
+ }
3669
+ },
3670
+ {
3671
+ "kind": "field",
3672
+ "name": "activeid",
3673
+ "type": {
3674
+ "text": "string | null"
3675
+ },
3676
+ "privacy": "private",
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3681
+ },
3682
+ {
3683
+ "kind": "field",
3684
+ "name": "activeItemIndex",
3685
+ "type": {
3686
+ "text": "number"
3687
+ },
3688
+ "privacy": "private",
3689
+ "default": "0",
3690
+ "inheritedFrom": {
3691
+ "name": "Accordion",
3692
+ "module": "src/accordion/accordion.ts"
3693
+ }
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "accordionIds",
3698
+ "type": {
3699
+ "text": "Array<string | null>"
3700
+ },
3701
+ "privacy": "private",
3702
+ "inheritedFrom": {
3703
+ "name": "Accordion",
3704
+ "module": "src/accordion/accordion.ts"
3705
+ }
3706
+ },
3707
+ {
3708
+ "kind": "field",
3709
+ "name": "change",
3710
+ "privacy": "private",
3711
+ "inheritedFrom": {
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
3714
+ }
3715
+ },
3716
+ {
3717
+ "kind": "method",
3718
+ "name": "findExpandedItem",
3719
+ "privacy": "private",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "AccordionItem | null"
3723
+ }
3724
+ },
3725
+ "inheritedFrom": {
3726
+ "name": "Accordion",
3727
+ "module": "src/accordion/accordion.ts"
3728
+ }
3729
+ },
3730
+ {
3731
+ "kind": "field",
3732
+ "name": "setItems",
3733
+ "privacy": "private",
3734
+ "inheritedFrom": {
3735
+ "name": "Accordion",
3736
+ "module": "src/accordion/accordion.ts"
3737
+ }
3738
+ },
3739
+ {
3740
+ "kind": "method",
3741
+ "name": "resetItems",
3742
+ "privacy": "private",
3743
+ "return": {
3744
+ "type": {
3745
+ "text": "void"
3746
+ }
3747
+ },
3748
+ "inheritedFrom": {
3749
+ "name": "Accordion",
3750
+ "module": "src/accordion/accordion.ts"
3751
+ }
3752
+ },
3753
+ {
3754
+ "kind": "field",
3755
+ "name": "removeItemListeners",
3756
+ "privacy": "private",
3757
+ "inheritedFrom": {
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3760
+ }
3761
+ },
3762
+ {
3763
+ "kind": "field",
3764
+ "name": "activeItemChange",
3765
+ "privacy": "private",
3766
+ "inheritedFrom": {
3767
+ "name": "Accordion",
3768
+ "module": "src/accordion/accordion.ts"
3769
+ }
3770
+ },
3771
+ {
3772
+ "kind": "method",
3773
+ "name": "getItemIds",
3774
+ "privacy": "private",
3775
+ "return": {
3776
+ "type": {
3777
+ "text": "Array<string | null>"
3778
+ }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "Accordion",
3782
+ "module": "src/accordion/accordion.ts"
3783
+ }
3784
+ },
3785
+ {
3786
+ "kind": "method",
3787
+ "name": "isSingleExpandMode",
3788
+ "privacy": "private",
3789
+ "return": {
3790
+ "type": {
3791
+ "text": "boolean"
3792
+ }
3793
+ },
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3798
+ },
3799
+ {
3800
+ "kind": "field",
3801
+ "name": "handleItemKeyDown",
3802
+ "privacy": "private",
3803
+ "inheritedFrom": {
3804
+ "name": "Accordion",
3805
+ "module": "src/accordion/accordion.ts"
3806
+ }
3807
+ },
3808
+ {
3809
+ "kind": "field",
3810
+ "name": "handleItemFocus",
3811
+ "privacy": "private",
3812
+ "inheritedFrom": {
3813
+ "name": "Accordion",
3814
+ "module": "src/accordion/accordion.ts"
3815
+ }
3816
+ },
3817
+ {
3818
+ "kind": "method",
3819
+ "name": "adjust",
3820
+ "privacy": "private",
3821
+ "return": {
3822
+ "type": {
3823
+ "text": "void"
3824
+ }
3825
+ },
3826
+ "parameters": [
3827
+ {
3828
+ "name": "adjustment",
3829
+ "type": {
3830
+ "text": "number"
3831
+ }
3832
+ }
3833
+ ],
3834
+ "inheritedFrom": {
3835
+ "name": "Accordion",
3836
+ "module": "src/accordion/accordion.ts"
3837
+ }
3838
+ },
3839
+ {
3840
+ "kind": "method",
3841
+ "name": "focusItem",
3842
+ "privacy": "private",
3843
+ "return": {
3844
+ "type": {
3845
+ "text": "void"
3846
+ }
3847
+ },
3848
+ "inheritedFrom": {
3849
+ "name": "Accordion",
3850
+ "module": "src/accordion/accordion.ts"
3851
+ }
3852
+ },
3853
+ {
3854
+ "kind": "field",
3855
+ "name": "_presentation",
3856
+ "type": {
3857
+ "text": "ComponentPresentation | null | undefined"
3858
+ },
3859
+ "privacy": "private",
3860
+ "default": "void 0",
3861
+ "inheritedFrom": {
3862
+ "name": "FoundationElement",
3863
+ "module": "src/foundation-element/foundation-element.ts"
3864
+ }
3865
+ },
3866
+ {
3867
+ "kind": "field",
3868
+ "name": "$presentation",
3869
+ "type": {
3870
+ "text": "ComponentPresentation | null"
3871
+ },
3872
+ "privacy": "public",
3873
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3874
+ "inheritedFrom": {
3875
+ "name": "FoundationElement",
3876
+ "module": "src/foundation-element/foundation-element.ts"
3877
+ }
3878
+ },
3879
+ {
3880
+ "kind": "field",
3881
+ "name": "template",
3882
+ "type": {
3883
+ "text": "ElementViewTemplate | void | null"
3884
+ },
3885
+ "privacy": "public",
3886
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3887
+ "inheritedFrom": {
3888
+ "name": "FoundationElement",
3889
+ "module": "src/foundation-element/foundation-element.ts"
3890
+ }
3891
+ },
3892
+ {
3893
+ "kind": "method",
3894
+ "name": "templateChanged",
3895
+ "privacy": "protected",
3896
+ "return": {
3897
+ "type": {
3898
+ "text": "void"
3899
+ }
3900
+ },
3901
+ "inheritedFrom": {
3902
+ "name": "FoundationElement",
3903
+ "module": "src/foundation-element/foundation-element.ts"
3904
+ }
3905
+ },
3906
+ {
3907
+ "kind": "field",
3908
+ "name": "styles",
3909
+ "type": {
3910
+ "text": "ElementStyles | void | null"
3911
+ },
3912
+ "privacy": "public",
3913
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3914
+ "inheritedFrom": {
3915
+ "name": "FoundationElement",
3916
+ "module": "src/foundation-element/foundation-element.ts"
3917
+ }
3918
+ },
3919
+ {
3920
+ "kind": "method",
3921
+ "name": "stylesChanged",
3922
+ "privacy": "protected",
3923
+ "return": {
3924
+ "type": {
3925
+ "text": "void"
3926
+ }
3927
+ },
3928
+ "inheritedFrom": {
3929
+ "name": "FoundationElement",
3930
+ "module": "src/foundation-element/foundation-element.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "compose",
3936
+ "privacy": "public",
3937
+ "static": true,
3938
+ "return": {
3939
+ "type": {
3940
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3941
+ }
3942
+ },
3943
+ "parameters": [
3944
+ {
3945
+ "name": "this",
3946
+ "type": {
3947
+ "text": "K"
3948
+ }
3949
+ },
3950
+ {
3951
+ "name": "elementDefinition",
3952
+ "type": {
3953
+ "text": "T"
3954
+ },
3955
+ "description": "The definition of the element to create the registry\nfunction for."
3956
+ }
3957
+ ],
3958
+ "description": "Defines an element registry function with a set of element definition defaults.",
3959
+ "inheritedFrom": {
3960
+ "name": "FoundationElement",
3961
+ "module": "src/foundation-element/foundation-element.ts"
3962
+ }
3963
+ }
3964
+ ],
3965
+ "events": [
3966
+ {
3967
+ "description": "Fires a custom 'change' event when the active item changes",
3968
+ "name": "change",
3969
+ "inheritedFrom": {
3970
+ "name": "Accordion",
3971
+ "module": "src/accordion/accordion.ts"
3972
+ }
3973
+ }
3974
+ ]
3975
+ },
3976
+ {
3977
+ "kind": "variable",
3978
+ "name": "foundationAccordionShadowOptions",
3979
+ "type": {
3980
+ "text": "ShadowRootInit"
3981
+ },
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
+ },
3984
+ {
3985
+ "kind": "variable",
3986
+ "name": "defaultAccordionConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
3990
+ "default": "{}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordion",
3995
+ "description": "The Foundation Accordion",
3996
+ "privacy": "public"
3997
+ }
3998
+ ],
3999
+ "exports": [
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "Accordion",
4003
+ "declaration": {
4004
+ "name": "Accordion",
4005
+ "module": "src/accordion/accordion.ts"
4006
+ }
4007
+ },
4008
+ {
4009
+ "kind": "js",
4010
+ "name": "foundationAccordionShadowOptions",
4011
+ "declaration": {
4012
+ "name": "foundationAccordionShadowOptions",
4013
+ "module": "src/accordion/accordion.ts"
4014
+ }
4015
+ },
4016
+ {
4017
+ "kind": "js",
4018
+ "name": "defaultAccordionConfig",
4019
+ "declaration": {
4020
+ "name": "defaultAccordionConfig",
4021
+ "module": "src/accordion/accordion.ts"
4022
+ }
4023
+ },
4024
+ {
4025
+ "kind": "js",
4026
+ "name": "foundationAccordion",
4027
+ "declaration": {
4028
+ "name": "foundationAccordion",
4029
+ "module": "src/accordion/accordion.ts"
4030
+ }
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/accordion/index.ts",
4037
4037
  "declarations": [],
4038
4038
  "exports": [
4039
4039
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "name": "*",
4042
4042
  "declaration": {
4043
4043
  "name": "*",
4044
- "package": "./styles"
4044
+ "package": "./accordion.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
@@ -4049,7 +4049,7 @@
4049
4049
  "name": "*",
4050
4050
  "declaration": {
4051
4051
  "name": "*",
4052
- "package": "./tokens"
4052
+ "package": "./accordion.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
@@ -4057,7 +4057,7 @@
4057
4057
  "name": "*",
4058
4058
  "declaration": {
4059
4059
  "name": "*",
4060
- "package": "./values"
4060
+ "package": "./accordion"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",