@genesislcap/foundation-ui 14.483.1-alpha-aaddab2.0 → 14.483.2

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.
@@ -1398,6 +1398,37 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
+ {
1402
+ "kind": "javascript-module",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1401
1432
  {
1402
1433
  "kind": "javascript-module",
1403
1434
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2353,208 +2384,275 @@
2353
2384
  },
2354
2385
  {
2355
2386
  "kind": "javascript-module",
2356
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2387
+ "path": "src/accordion/accordion.styles.ts",
2357
2388
  "declarations": [
2358
2389
  {
2359
- "kind": "variable",
2360
- "name": "foundationAiCriteriaSearchStyles",
2361
- "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`"
2390
+ "kind": "function",
2391
+ "name": "foundationAccordionStyles",
2392
+ "return": {
2393
+ "type": {
2394
+ "text": "ElementStyles"
2395
+ }
2396
+ },
2397
+ "parameters": [
2398
+ {
2399
+ "name": "context",
2400
+ "type": {
2401
+ "text": "ElementDefinitionContext"
2402
+ }
2403
+ },
2404
+ {
2405
+ "name": "definition",
2406
+ "type": {
2407
+ "text": "FoundationElementDefinition"
2408
+ }
2409
+ }
2410
+ ]
2362
2411
  }
2363
2412
  ],
2364
2413
  "exports": [
2365
2414
  {
2366
2415
  "kind": "js",
2367
- "name": "foundationAiCriteriaSearchStyles",
2416
+ "name": "foundationAccordionStyles",
2368
2417
  "declaration": {
2369
- "name": "foundationAiCriteriaSearchStyles",
2370
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2418
+ "name": "foundationAccordionStyles",
2419
+ "module": "src/accordion/accordion.styles.ts"
2371
2420
  }
2372
2421
  }
2373
2422
  ]
2374
2423
  },
2375
2424
  {
2376
2425
  "kind": "javascript-module",
2377
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2426
+ "path": "src/accordion/accordion.template.ts",
2378
2427
  "declarations": [
2379
2428
  {
2380
- "kind": "variable",
2381
- "name": "foundationAiCriteriaSearchTemplate",
2382
- "type": {
2383
- "text": "ViewTemplate<AiCriteriaSearch>"
2429
+ "kind": "function",
2430
+ "name": "foundationAccordionTemplate",
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "ViewTemplate<Accordion>"
2434
+ }
2384
2435
  },
2385
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2436
+ "parameters": [
2437
+ {
2438
+ "name": "context",
2439
+ "type": {
2440
+ "text": "ElementDefinitionContext"
2441
+ }
2442
+ },
2443
+ {
2444
+ "name": "definition",
2445
+ "type": {
2446
+ "text": "FoundationElementDefinition"
2447
+ }
2448
+ }
2449
+ ]
2386
2450
  }
2387
2451
  ],
2388
2452
  "exports": [
2389
2453
  {
2390
2454
  "kind": "js",
2391
- "name": "foundationAiCriteriaSearchTemplate",
2455
+ "name": "foundationAccordionTemplate",
2392
2456
  "declaration": {
2393
- "name": "foundationAiCriteriaSearchTemplate",
2394
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2457
+ "name": "foundationAccordionTemplate",
2458
+ "module": "src/accordion/accordion.template.ts"
2395
2459
  }
2396
2460
  }
2397
2461
  ]
2398
2462
  },
2399
2463
  {
2400
2464
  "kind": "javascript-module",
2401
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2465
+ "path": "src/accordion/accordion.ts",
2402
2466
  "declarations": [
2403
2467
  {
2404
2468
  "kind": "class",
2405
- "description": "Natural-language criteria search input with AI interpretation.",
2406
- "name": "AiCriteriaSearch",
2407
- "members": [
2408
- {
2409
- "kind": "field",
2410
- "name": "providerRegistry",
2411
- "type": {
2412
- "text": "AIProviderRegistry"
2413
- }
2414
- },
2469
+ "description": "",
2470
+ "name": "Accordion",
2471
+ "superclass": {
2472
+ "name": "FASTAccordion",
2473
+ "package": "@microsoft/fast-foundation"
2474
+ },
2475
+ "tagName": "%%prefix%%-accordion",
2476
+ "customElement": true,
2477
+ "attributes": [
2415
2478
  {
2416
- "kind": "field",
2417
- "name": "placeholder",
2479
+ "name": "expand-mode",
2418
2480
  "type": {
2419
- "text": "string"
2481
+ "text": "AccordionExpandMode"
2420
2482
  },
2421
- "default": "'Describe your search criteria in natural language...'"
2422
- },
2423
- {
2424
- "kind": "field",
2425
- "name": "disabled",
2426
- "type": {
2427
- "text": "boolean"
2483
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2484
+ "fieldName": "expandmode",
2485
+ "inheritedFrom": {
2486
+ "name": "Accordion",
2487
+ "module": "src/accordion/accordion.ts"
2428
2488
  }
2429
- },
2430
- {
2431
- "kind": "field",
2432
- "name": "inputValue",
2433
- "type": {
2434
- "text": "string"
2435
- },
2436
- "default": "''"
2437
- },
2489
+ }
2490
+ ],
2491
+ "members": [
2438
2492
  {
2439
2493
  "kind": "field",
2440
- "name": "isInterpreting",
2494
+ "name": "expandmode",
2441
2495
  "type": {
2442
- "text": "boolean"
2496
+ "text": "AccordionExpandMode"
2443
2497
  },
2444
- "default": "false"
2498
+ "privacy": "public",
2499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
+ "inheritedFrom": {
2501
+ "name": "Accordion",
2502
+ "module": "src/accordion/accordion.ts"
2503
+ }
2445
2504
  },
2446
2505
  {
2447
2506
  "kind": "field",
2448
- "name": "lastValidCriteria",
2507
+ "name": "activeid",
2449
2508
  "type": {
2450
2509
  "text": "string | null"
2451
2510
  },
2452
- "default": "null"
2453
- },
2454
- {
2455
- "kind": "field",
2456
- "name": "activeGroups",
2457
- "type": {
2458
- "text": "CriteriaGroup[]"
2459
- },
2460
- "default": "[]"
2511
+ "privacy": "private",
2512
+ "inheritedFrom": {
2513
+ "name": "Accordion",
2514
+ "module": "src/accordion/accordion.ts"
2515
+ }
2461
2516
  },
2462
2517
  {
2463
2518
  "kind": "field",
2464
- "name": "showingChips",
2519
+ "name": "activeItemIndex",
2465
2520
  "type": {
2466
- "text": "boolean"
2521
+ "text": "number"
2467
2522
  },
2468
- "default": "false"
2523
+ "privacy": "private",
2524
+ "default": "0",
2525
+ "inheritedFrom": {
2526
+ "name": "Accordion",
2527
+ "module": "src/accordion/accordion.ts"
2528
+ }
2469
2529
  },
2470
2530
  {
2471
2531
  "kind": "field",
2472
- "name": "fieldMetadata",
2532
+ "name": "accordionIds",
2473
2533
  "type": {
2474
- "text": "MetadataDetail[] | string[]"
2534
+ "text": "Array<string | null>"
2475
2535
  },
2476
- "default": "[]"
2536
+ "privacy": "private",
2537
+ "inheritedFrom": {
2538
+ "name": "Accordion",
2539
+ "module": "src/accordion/accordion.ts"
2540
+ }
2477
2541
  },
2478
2542
  {
2479
2543
  "kind": "field",
2480
- "name": "isRecording",
2481
- "type": {
2482
- "text": "boolean"
2483
- },
2484
- "default": "false"
2544
+ "name": "change",
2545
+ "privacy": "private",
2546
+ "inheritedFrom": {
2547
+ "name": "Accordion",
2548
+ "module": "src/accordion/accordion.ts"
2549
+ }
2485
2550
  },
2486
2551
  {
2487
- "kind": "field",
2488
- "name": "textAreaRef",
2489
- "type": {
2490
- "text": "HTMLTextAreaElement"
2552
+ "kind": "method",
2553
+ "name": "findExpandedItem",
2554
+ "privacy": "private",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "AccordionItem | null"
2558
+ }
2491
2559
  },
2492
- "privacy": "public"
2560
+ "inheritedFrom": {
2561
+ "name": "Accordion",
2562
+ "module": "src/accordion/accordion.ts"
2563
+ }
2493
2564
  },
2494
2565
  {
2495
2566
  "kind": "field",
2496
- "name": "stopRecording",
2497
- "type": {
2498
- "text": "(() => void) | null"
2499
- },
2567
+ "name": "setItems",
2500
2568
  "privacy": "private",
2501
- "default": "null"
2569
+ "inheritedFrom": {
2570
+ "name": "Accordion",
2571
+ "module": "src/accordion/accordion.ts"
2572
+ }
2502
2573
  },
2503
2574
  {
2504
- "kind": "field",
2505
- "name": "speechApplyDebounceTimer",
2506
- "type": {
2507
- "text": "ReturnType<typeof setTimeout> | null"
2508
- },
2575
+ "kind": "method",
2576
+ "name": "resetItems",
2509
2577
  "privacy": "private",
2510
- "default": "null"
2578
+ "return": {
2579
+ "type": {
2580
+ "text": "void"
2581
+ }
2582
+ },
2583
+ "inheritedFrom": {
2584
+ "name": "Accordion",
2585
+ "module": "src/accordion/accordion.ts"
2586
+ }
2511
2587
  },
2512
2588
  {
2513
2589
  "kind": "field",
2514
- "name": "speechAvailable",
2515
- "type": {
2516
- "text": "boolean"
2517
- },
2518
- "readonly": true
2590
+ "name": "removeItemListeners",
2591
+ "privacy": "private",
2592
+ "inheritedFrom": {
2593
+ "name": "Accordion",
2594
+ "module": "src/accordion/accordion.ts"
2595
+ }
2519
2596
  },
2520
2597
  {
2521
2598
  "kind": "field",
2522
- "name": "criteriaChips",
2523
- "type": {
2524
- "text": "CriteriaChip[]"
2525
- },
2526
- "readonly": true
2599
+ "name": "activeItemChange",
2600
+ "privacy": "private",
2601
+ "inheritedFrom": {
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2604
+ }
2527
2605
  },
2528
2606
  {
2529
2607
  "kind": "method",
2530
- "name": "getFieldLabel",
2608
+ "name": "getItemIds",
2531
2609
  "privacy": "private",
2532
2610
  "return": {
2533
2611
  "type": {
2534
- "text": "string"
2612
+ "text": "Array<string | null>"
2535
2613
  }
2536
2614
  },
2537
- "parameters": [
2538
- {
2539
- "name": "fieldName",
2540
- "type": {
2541
- "text": "string"
2542
- }
2543
- }
2544
- ]
2615
+ "inheritedFrom": {
2616
+ "name": "Accordion",
2617
+ "module": "src/accordion/accordion.ts"
2618
+ }
2545
2619
  },
2546
2620
  {
2547
2621
  "kind": "method",
2548
- "name": "toggleCriteriaView",
2622
+ "name": "isSingleExpandMode",
2623
+ "privacy": "private",
2549
2624
  "return": {
2550
2625
  "type": {
2551
- "text": "void"
2626
+ "text": "boolean"
2552
2627
  }
2628
+ },
2629
+ "inheritedFrom": {
2630
+ "name": "Accordion",
2631
+ "module": "src/accordion/accordion.ts"
2632
+ }
2633
+ },
2634
+ {
2635
+ "kind": "field",
2636
+ "name": "handleItemKeyDown",
2637
+ "privacy": "private",
2638
+ "inheritedFrom": {
2639
+ "name": "Accordion",
2640
+ "module": "src/accordion/accordion.ts"
2641
+ }
2642
+ },
2643
+ {
2644
+ "kind": "field",
2645
+ "name": "handleItemFocus",
2646
+ "privacy": "private",
2647
+ "inheritedFrom": {
2648
+ "name": "Accordion",
2649
+ "module": "src/accordion/accordion.ts"
2553
2650
  }
2554
2651
  },
2555
2652
  {
2556
2653
  "kind": "method",
2557
- "name": "removeChip",
2654
+ "name": "adjust",
2655
+ "privacy": "private",
2558
2656
  "return": {
2559
2657
  "type": {
2560
2658
  "text": "void"
@@ -2562,49 +2660,31 @@
2562
2660
  },
2563
2661
  "parameters": [
2564
2662
  {
2565
- "name": "groupIndex",
2566
- "type": {
2567
- "text": "number"
2568
- }
2569
- },
2570
- {
2571
- "name": "clauseIndex",
2663
+ "name": "adjustment",
2572
2664
  "type": {
2573
2665
  "text": "number"
2574
2666
  }
2575
2667
  }
2576
- ]
2668
+ ],
2669
+ "inheritedFrom": {
2670
+ "name": "Accordion",
2671
+ "module": "src/accordion/accordion.ts"
2672
+ }
2577
2673
  },
2578
2674
  {
2579
2675
  "kind": "method",
2580
- "name": "clearChips",
2676
+ "name": "focusItem",
2677
+ "privacy": "private",
2581
2678
  "return": {
2582
2679
  "type": {
2583
2680
  "text": "void"
2584
2681
  }
2682
+ },
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2585
2686
  }
2586
2687
  },
2587
- {
2588
- "kind": "method",
2589
- "name": "handleSubmit"
2590
- },
2591
- {
2592
- "kind": "method",
2593
- "name": "handleBlur"
2594
- },
2595
- {
2596
- "kind": "method",
2597
- "name": "clear"
2598
- },
2599
- {
2600
- "kind": "method",
2601
- "name": "toggleSpeechInput"
2602
- },
2603
- {
2604
- "kind": "method",
2605
- "name": "clearSpeechApplyDebounce",
2606
- "privacy": "private"
2607
- },
2608
2688
  {
2609
2689
  "kind": "field",
2610
2690
  "name": "_presentation",
@@ -2719,48 +2799,26 @@
2719
2799
  ],
2720
2800
  "events": [
2721
2801
  {
2722
- "description": "Fired when interpreted criteria is applied or cleared",
2723
- "name": "criteria-changed"
2724
- },
2725
- {
2726
- "description": "Fired when interpreted criteria contains invalid clauses",
2727
- "name": "validation-errors"
2728
- }
2729
- ],
2730
- "attributes": [
2731
- {
2732
- "name": "placeholder",
2733
- "type": {
2734
- "text": "string"
2735
- },
2736
- "default": "'Describe your search criteria in natural language...'",
2737
- "fieldName": "placeholder"
2738
- },
2739
- {
2740
- "type": {
2741
- "text": "boolean"
2742
- },
2743
- "fieldName": "disabled"
2802
+ "description": "Fires a custom 'change' event when the active item changes",
2803
+ "name": "change",
2804
+ "inheritedFrom": {
2805
+ "name": "Accordion",
2806
+ "module": "src/accordion/accordion.ts"
2807
+ }
2744
2808
  }
2745
- ],
2746
- "superclass": {
2747
- "name": "FoundationElement",
2748
- "package": "@microsoft/fast-foundation"
2749
- },
2750
- "tagName": "%%prefix%%-ai-criteria-search",
2751
- "customElement": true
2809
+ ]
2752
2810
  },
2753
2811
  {
2754
2812
  "kind": "variable",
2755
- "name": "foundationAiCriteriaSearchShadowOptions",
2813
+ "name": "foundationAccordionShadowOptions",
2756
2814
  "type": {
2757
2815
  "text": "ShadowRootInit"
2758
2816
  },
2759
- "default": "undefined"
2817
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2760
2818
  },
2761
2819
  {
2762
2820
  "kind": "variable",
2763
- "name": "defaultAiCriteriaSearchConfig",
2821
+ "name": "defaultAccordionConfig",
2764
2822
  "type": {
2765
2823
  "text": "object"
2766
2824
  },
@@ -2768,201 +2826,49 @@
2768
2826
  },
2769
2827
  {
2770
2828
  "kind": "variable",
2771
- "name": "foundationAiCriteriaSearch"
2829
+ "name": "foundationAccordion",
2830
+ "description": "The Foundation Accordion",
2831
+ "privacy": "public"
2772
2832
  }
2773
2833
  ],
2774
2834
  "exports": [
2775
2835
  {
2776
2836
  "kind": "js",
2777
- "name": "AiCriteriaSearch",
2778
- "declaration": {
2779
- "name": "AiCriteriaSearch",
2780
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2781
- }
2782
- },
2783
- {
2784
- "kind": "js",
2785
- "name": "foundationAiCriteriaSearchShadowOptions",
2786
- "declaration": {
2787
- "name": "foundationAiCriteriaSearchShadowOptions",
2788
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2789
- }
2790
- },
2791
- {
2792
- "kind": "js",
2793
- "name": "defaultAiCriteriaSearchConfig",
2794
- "declaration": {
2795
- "name": "defaultAiCriteriaSearchConfig",
2796
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2797
- }
2798
- },
2799
- {
2800
- "kind": "js",
2801
- "name": "foundationAiCriteriaSearch",
2802
- "declaration": {
2803
- "name": "foundationAiCriteriaSearch",
2804
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2805
- }
2806
- }
2807
- ]
2808
- },
2809
- {
2810
- "kind": "javascript-module",
2811
- "path": "src/ai-criteria-search/index.ts",
2812
- "declarations": [],
2813
- "exports": [
2814
- {
2815
- "kind": "js",
2816
- "name": "AiCriteriaSearch",
2817
- "declaration": {
2818
- "name": "AiCriteriaSearch",
2819
- "module": "./ai-criteria-search"
2820
- }
2821
- },
2822
- {
2823
- "kind": "js",
2824
- "name": "defaultAiCriteriaSearchConfig",
2825
- "declaration": {
2826
- "name": "defaultAiCriteriaSearchConfig",
2827
- "module": "./ai-criteria-search"
2828
- }
2829
- },
2830
- {
2831
- "kind": "js",
2832
- "name": "foundationAiCriteriaSearch",
2833
- "declaration": {
2834
- "name": "foundationAiCriteriaSearch",
2835
- "module": "./ai-criteria-search"
2836
- }
2837
- },
2838
- {
2839
- "kind": "js",
2840
- "name": "foundationAiCriteriaSearchShadowOptions",
2841
- "declaration": {
2842
- "name": "foundationAiCriteriaSearchShadowOptions",
2843
- "module": "./ai-criteria-search"
2844
- }
2845
- },
2846
- {
2847
- "kind": "js",
2848
- "name": "foundationAiCriteriaSearchStyles",
2849
- "declaration": {
2850
- "name": "foundationAiCriteriaSearchStyles",
2851
- "module": "./ai-criteria-search.styles"
2852
- }
2853
- },
2854
- {
2855
- "kind": "js",
2856
- "name": "foundationAiCriteriaSearchTemplate",
2857
- "declaration": {
2858
- "name": "foundationAiCriteriaSearchTemplate",
2859
- "module": "./ai-criteria-search.template"
2860
- }
2861
- },
2862
- {
2863
- "kind": "js",
2864
- "name": "*",
2837
+ "name": "Accordion",
2865
2838
  "declaration": {
2866
- "name": "*",
2867
- "package": "./validation/criteria-ir"
2839
+ "name": "Accordion",
2840
+ "module": "src/accordion/accordion.ts"
2868
2841
  }
2869
2842
  },
2870
2843
  {
2871
2844
  "kind": "js",
2872
- "name": "*",
2845
+ "name": "foundationAccordionShadowOptions",
2873
2846
  "declaration": {
2874
- "name": "*",
2875
- "package": "./validation/operator-map"
2847
+ "name": "foundationAccordionShadowOptions",
2848
+ "module": "src/accordion/accordion.ts"
2876
2849
  }
2877
2850
  },
2878
2851
  {
2879
2852
  "kind": "js",
2880
- "name": "*",
2881
- "declaration": {
2882
- "name": "*",
2883
- "package": "./validation/schema-validator"
2884
- }
2885
- }
2886
- ]
2887
- },
2888
- {
2889
- "kind": "javascript-module",
2890
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2891
- "declarations": [
2892
- {
2893
- "kind": "function",
2894
- "name": "formatValidationErrors",
2895
- "return": {
2896
- "type": {
2897
- "text": "string"
2898
- }
2899
- },
2900
- "parameters": [
2901
- {
2902
- "name": "errors",
2903
- "type": {
2904
- "text": "ValidationError[]"
2905
- }
2906
- }
2907
- ],
2908
- "description": "Formats validation errors into a user-friendly message."
2909
- },
2910
- {
2911
- "kind": "function",
2912
- "name": "showCriteriaError",
2913
- "return": {
2914
- "type": {
2915
- "text": "void"
2916
- }
2917
- },
2918
- "parameters": [
2919
- {
2920
- "name": "title",
2921
- "type": {
2922
- "text": "string"
2923
- },
2924
- "description": "Notification title (e.g. \"Criteria validation error\")"
2925
- },
2926
- {
2927
- "name": "body",
2928
- "type": {
2929
- "text": "string"
2930
- },
2931
- "description": "Error message to display"
2932
- },
2933
- {
2934
- "name": "tagName",
2935
- "type": {
2936
- "text": "string"
2937
- },
2938
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2939
- }
2940
- ],
2941
- "description": "Shows a criteria error as a toast notification."
2942
- }
2943
- ],
2944
- "exports": [
2945
- {
2946
- "kind": "js",
2947
- "name": "formatValidationErrors",
2853
+ "name": "defaultAccordionConfig",
2948
2854
  "declaration": {
2949
- "name": "formatValidationErrors",
2950
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2855
+ "name": "defaultAccordionConfig",
2856
+ "module": "src/accordion/accordion.ts"
2951
2857
  }
2952
2858
  },
2953
2859
  {
2954
2860
  "kind": "js",
2955
- "name": "showCriteriaError",
2861
+ "name": "foundationAccordion",
2956
2862
  "declaration": {
2957
- "name": "showCriteriaError",
2958
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2863
+ "name": "foundationAccordion",
2864
+ "module": "src/accordion/accordion.ts"
2959
2865
  }
2960
2866
  }
2961
2867
  ]
2962
2868
  },
2963
2869
  {
2964
2870
  "kind": "javascript-module",
2965
- "path": "src/_config/index.ts",
2871
+ "path": "src/accordion/index.ts",
2966
2872
  "declarations": [],
2967
2873
  "exports": [
2968
2874
  {
@@ -2970,7 +2876,7 @@
2970
2876
  "name": "*",
2971
2877
  "declaration": {
2972
2878
  "name": "*",
2973
- "package": "./styles"
2879
+ "package": "./accordion.template"
2974
2880
  }
2975
2881
  },
2976
2882
  {
@@ -2978,7 +2884,7 @@
2978
2884
  "name": "*",
2979
2885
  "declaration": {
2980
2886
  "name": "*",
2981
- "package": "./tokens"
2887
+ "package": "./accordion.styles"
2982
2888
  }
2983
2889
  },
2984
2890
  {
@@ -2986,82 +2892,64 @@
2986
2892
  "name": "*",
2987
2893
  "declaration": {
2988
2894
  "name": "*",
2989
- "package": "./values"
2895
+ "package": "./accordion"
2990
2896
  }
2991
2897
  }
2992
2898
  ]
2993
2899
  },
2994
2900
  {
2995
2901
  "kind": "javascript-module",
2996
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2997
2903
  "declarations": [
2998
2904
  {
2999
- "kind": "function",
3000
- "name": "foundationAiIndicatorStyles",
3001
- "return": {
3002
- "type": {
3003
- "text": "ElementStyles"
3004
- }
3005
- },
3006
- "parameters": [
3007
- {
3008
- "name": "context",
3009
- "type": {
3010
- "text": "ElementDefinitionContext"
3011
- }
3012
- },
3013
- {
3014
- "name": "definition",
3015
- "type": {
3016
- "text": "FoundationElementDefinition"
3017
- }
3018
- }
3019
- ]
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "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`"
3020
2908
  }
3021
2909
  ],
3022
2910
  "exports": [
3023
2911
  {
3024
2912
  "kind": "js",
3025
- "name": "foundationAiIndicatorStyles",
2913
+ "name": "foundationAiCriteriaSearchStyles",
3026
2914
  "declaration": {
3027
- "name": "foundationAiIndicatorStyles",
3028
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3029
2917
  }
3030
2918
  }
3031
2919
  ]
3032
2920
  },
3033
2921
  {
3034
2922
  "kind": "javascript-module",
3035
- "path": "src/ai-indicator/ai-indicator.template.ts",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3036
2924
  "declarations": [
3037
2925
  {
3038
2926
  "kind": "variable",
3039
- "name": "foundationAiIndicatorTemplate",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
3040
2928
  "type": {
3041
- "text": "ViewTemplate<AiIndicator>"
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
3042
2930
  },
3043
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3044
2932
  }
3045
2933
  ],
3046
2934
  "exports": [
3047
2935
  {
3048
2936
  "kind": "js",
3049
- "name": "foundationAiIndicatorTemplate",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
3050
2938
  "declaration": {
3051
- "name": "foundationAiIndicatorTemplate",
3052
- "module": "src/ai-indicator/ai-indicator.template.ts"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3053
2941
  }
3054
2942
  }
3055
2943
  ]
3056
2944
  },
3057
2945
  {
3058
2946
  "kind": "javascript-module",
3059
- "path": "src/ai-indicator/ai-indicator.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3060
2948
  "declarations": [
3061
2949
  {
3062
2950
  "kind": "class",
3063
- "description": "",
3064
- "name": "AiIndicator",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
3065
2953
  "members": [
3066
2954
  {
3067
2955
  "kind": "field",
@@ -3072,25 +2960,54 @@
3072
2960
  },
3073
2961
  {
3074
2962
  "kind": "field",
3075
- "name": "aiProvider",
2963
+ "name": "placeholder",
3076
2964
  "type": {
3077
- "text": "AIProvider | undefined"
2965
+ "text": "string"
3078
2966
  },
3079
- "privacy": "private",
3080
- "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.",
3081
- "readonly": true
2967
+ "default": "'Describe your search criteria in natural language...'"
3082
2968
  },
3083
2969
  {
3084
2970
  "kind": "field",
3085
- "name": "status",
2971
+ "name": "disabled",
3086
2972
  "type": {
3087
- "text": "AIStatus | null"
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2979
+ "type": {
2980
+ "text": "string"
2981
+ },
2982
+ "default": "''"
2983
+ },
2984
+ {
2985
+ "kind": "field",
2986
+ "name": "isInterpreting",
2987
+ "type": {
2988
+ "text": "boolean"
2989
+ },
2990
+ "default": "false"
2991
+ },
2992
+ {
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2995
+ "type": {
2996
+ "text": "string | null"
3088
2997
  },
3089
2998
  "default": "null"
3090
2999
  },
3091
3000
  {
3092
3001
  "kind": "field",
3093
- "name": "open",
3002
+ "name": "activeGroups",
3003
+ "type": {
3004
+ "text": "CriteriaGroup[]"
3005
+ },
3006
+ "default": "[]"
3007
+ },
3008
+ {
3009
+ "kind": "field",
3010
+ "name": "showingChips",
3094
3011
  "type": {
3095
3012
  "text": "boolean"
3096
3013
  },
@@ -3098,15 +3015,15 @@
3098
3015
  },
3099
3016
  {
3100
3017
  "kind": "field",
3101
- "name": "state",
3018
+ "name": "fieldMetadata",
3102
3019
  "type": {
3103
- "text": "AIIndicatorState"
3020
+ "text": "MetadataDetail[] | string[]"
3104
3021
  },
3105
- "default": "'none'"
3022
+ "default": "[]"
3106
3023
  },
3107
3024
  {
3108
3025
  "kind": "field",
3109
- "name": "isInstalling",
3026
+ "name": "isRecording",
3110
3027
  "type": {
3111
3028
  "text": "boolean"
3112
3029
  },
@@ -3114,29 +3031,33 @@
3114
3031
  },
3115
3032
  {
3116
3033
  "kind": "field",
3117
- "name": "pollTimer",
3034
+ "name": "textAreaRef",
3118
3035
  "type": {
3119
- "text": "ReturnType<typeof setInterval> | null"
3036
+ "text": "HTMLTextAreaElement"
3120
3037
  },
3121
- "privacy": "private",
3122
- "default": "null"
3038
+ "privacy": "public"
3123
3039
  },
3124
3040
  {
3125
3041
  "kind": "field",
3126
- "name": "clickOutside",
3127
- "privacy": "private"
3042
+ "name": "stopRecording",
3043
+ "type": {
3044
+ "text": "(() => void) | null"
3045
+ },
3046
+ "privacy": "private",
3047
+ "default": "null"
3128
3048
  },
3129
3049
  {
3130
3050
  "kind": "field",
3131
- "name": "chromeStatusLabel",
3051
+ "name": "speechApplyDebounceTimer",
3132
3052
  "type": {
3133
- "text": "string | null"
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3134
3054
  },
3135
- "readonly": true
3055
+ "privacy": "private",
3056
+ "default": "null"
3136
3057
  },
3137
3058
  {
3138
3059
  "kind": "field",
3139
- "name": "canInstall",
3060
+ "name": "speechAvailable",
3140
3061
  "type": {
3141
3062
  "text": "boolean"
3142
3063
  },
@@ -3144,69 +3065,65 @@
3144
3065
  },
3145
3066
  {
3146
3067
  "kind": "field",
3147
- "name": "isDownloading",
3068
+ "name": "criteriaChips",
3148
3069
  "type": {
3149
- "text": "boolean"
3070
+ "text": "CriteriaChip[]"
3150
3071
  },
3151
3072
  "readonly": true
3152
3073
  },
3153
3074
  {
3154
3075
  "kind": "method",
3155
- "name": "openChanged",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3156
3078
  "return": {
3157
3079
  "type": {
3158
- "text": "void"
3080
+ "text": "string"
3159
3081
  }
3160
- }
3161
- },
3162
- {
3163
- "kind": "method",
3164
- "name": "handleClickOutside",
3165
- "privacy": "private",
3082
+ },
3166
3083
  "parameters": [
3167
3084
  {
3168
- "name": "event",
3085
+ "name": "fieldName",
3169
3086
  "type": {
3170
- "text": "MouseEvent"
3087
+ "text": "string"
3171
3088
  }
3172
3089
  }
3173
3090
  ]
3174
3091
  },
3175
3092
  {
3176
3093
  "kind": "method",
3177
- "name": "toggleDropdown"
3178
- },
3179
- {
3180
- "kind": "method",
3181
- "name": "refreshStatus",
3094
+ "name": "toggleCriteriaView",
3182
3095
  "return": {
3183
3096
  "type": {
3184
- "text": "Promise<void>"
3097
+ "text": "void"
3185
3098
  }
3186
3099
  }
3187
3100
  },
3188
3101
  {
3189
3102
  "kind": "method",
3190
- "name": "deriveState",
3191
- "privacy": "private",
3103
+ "name": "removeChip",
3192
3104
  "return": {
3193
3105
  "type": {
3194
- "text": "AIIndicatorState"
3106
+ "text": "void"
3195
3107
  }
3196
3108
  },
3197
3109
  "parameters": [
3198
3110
  {
3199
- "name": "s",
3111
+ "name": "groupIndex",
3200
3112
  "type": {
3201
- "text": "AIStatus | null"
3113
+ "text": "number"
3114
+ }
3115
+ },
3116
+ {
3117
+ "name": "clauseIndex",
3118
+ "type": {
3119
+ "text": "number"
3202
3120
  }
3203
3121
  }
3204
3122
  ]
3205
3123
  },
3206
3124
  {
3207
3125
  "kind": "method",
3208
- "name": "maybeStartPolling",
3209
- "privacy": "private",
3126
+ "name": "clearChips",
3210
3127
  "return": {
3211
3128
  "type": {
3212
3129
  "text": "void"
@@ -3215,32 +3132,24 @@
3215
3132
  },
3216
3133
  {
3217
3134
  "kind": "method",
3218
- "name": "startPolling",
3219
- "privacy": "private",
3220
- "return": {
3221
- "type": {
3222
- "text": "void"
3223
- }
3224
- }
3135
+ "name": "handleSubmit"
3225
3136
  },
3226
3137
  {
3227
3138
  "kind": "method",
3228
- "name": "stopPolling",
3229
- "privacy": "private",
3230
- "return": {
3231
- "type": {
3232
- "text": "void"
3233
- }
3234
- }
3139
+ "name": "handleBlur"
3235
3140
  },
3236
3141
  {
3237
3142
  "kind": "method",
3238
- "name": "onInstall",
3239
- "return": {
3240
- "type": {
3241
- "text": "Promise<void>"
3242
- }
3243
- }
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3244
3153
  },
3245
3154
  {
3246
3155
  "kind": "field",
@@ -3354,141 +3263,259 @@
3354
3263
  }
3355
3264
  }
3356
3265
  ],
3266
+ "events": [
3267
+ {
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3270
+ },
3271
+ {
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3274
+ }
3275
+ ],
3276
+ "attributes": [
3277
+ {
3278
+ "name": "placeholder",
3279
+ "type": {
3280
+ "text": "string"
3281
+ },
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3284
+ },
3285
+ {
3286
+ "type": {
3287
+ "text": "boolean"
3288
+ },
3289
+ "fieldName": "disabled"
3290
+ }
3291
+ ],
3357
3292
  "superclass": {
3358
3293
  "name": "FoundationElement",
3359
3294
  "package": "@microsoft/fast-foundation"
3360
3295
  },
3361
- "tagName": "%%prefix%%-ai-indicator",
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3362
3297
  "customElement": true
3363
3298
  },
3364
3299
  {
3365
3300
  "kind": "variable",
3366
- "name": "foundationAiIndicator"
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3367
3318
  }
3368
3319
  ],
3369
3320
  "exports": [
3370
3321
  {
3371
3322
  "kind": "js",
3372
- "name": "AiIndicator",
3323
+ "name": "AiCriteriaSearch",
3373
3324
  "declaration": {
3374
- "name": "AiIndicator",
3375
- "module": "src/ai-indicator/ai-indicator.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3376
3327
  }
3377
3328
  },
3378
3329
  {
3379
3330
  "kind": "js",
3380
- "name": "foundationAiIndicator",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3381
3332
  "declaration": {
3382
- "name": "foundationAiIndicator",
3383
- "module": "src/ai-indicator/ai-indicator.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
+ }
3336
+ },
3337
+ {
3338
+ "kind": "js",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3340
+ "declaration": {
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ }
3344
+ },
3345
+ {
3346
+ "kind": "js",
3347
+ "name": "foundationAiCriteriaSearch",
3348
+ "declaration": {
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3384
3351
  }
3385
3352
  }
3386
3353
  ]
3387
3354
  },
3388
3355
  {
3389
3356
  "kind": "javascript-module",
3390
- "path": "src/ai-indicator/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3391
3358
  "declarations": [],
3392
3359
  "exports": [
3393
3360
  {
3394
3361
  "kind": "js",
3395
- "name": "AiIndicator",
3362
+ "name": "AiCriteriaSearch",
3396
3363
  "declaration": {
3397
- "name": "AiIndicator",
3398
- "module": "./ai-indicator"
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3399
3366
  }
3400
3367
  },
3401
3368
  {
3402
3369
  "kind": "js",
3403
- "name": "foundationAiIndicator",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3404
3371
  "declaration": {
3405
- "name": "foundationAiIndicator",
3406
- "module": "./ai-indicator"
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3407
3374
  }
3408
3375
  },
3409
3376
  {
3410
3377
  "kind": "js",
3411
- "name": "type",
3378
+ "name": "foundationAiCriteriaSearch",
3412
3379
  "declaration": {
3413
- "name": "type",
3414
- "module": "./ai-indicator"
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3415
3382
  }
3416
3383
  },
3417
3384
  {
3418
3385
  "kind": "js",
3419
- "name": "AIIndicatorState",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3420
3387
  "declaration": {
3421
- "name": "AIIndicatorState",
3422
- "module": "./ai-indicator"
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3423
3390
  }
3424
3391
  },
3425
3392
  {
3426
3393
  "kind": "js",
3427
- "name": "foundationAiIndicatorTemplate",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3428
3395
  "declaration": {
3429
- "name": "foundationAiIndicatorTemplate",
3430
- "module": "./ai-indicator.template"
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3431
3398
  }
3432
3399
  },
3433
3400
  {
3434
3401
  "kind": "js",
3435
- "name": "foundationAiIndicatorStyles",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3436
3403
  "declaration": {
3437
- "name": "foundationAiIndicatorStyles",
3438
- "module": "./ai-indicator.styles"
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3408
+ {
3409
+ "kind": "js",
3410
+ "name": "*",
3411
+ "declaration": {
3412
+ "name": "*",
3413
+ "package": "./validation/criteria-ir"
3414
+ }
3415
+ },
3416
+ {
3417
+ "kind": "js",
3418
+ "name": "*",
3419
+ "declaration": {
3420
+ "name": "*",
3421
+ "package": "./validation/operator-map"
3422
+ }
3423
+ },
3424
+ {
3425
+ "kind": "js",
3426
+ "name": "*",
3427
+ "declaration": {
3428
+ "name": "*",
3429
+ "package": "./validation/schema-validator"
3439
3430
  }
3440
3431
  }
3441
3432
  ]
3442
3433
  },
3443
3434
  {
3444
3435
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3446
3437
  "declarations": [
3447
3438
  {
3448
3439
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3440
+ "name": "formatValidationErrors",
3450
3441
  "return": {
3451
3442
  "type": {
3452
- "text": "ElementStyles"
3443
+ "text": "string"
3453
3444
  }
3454
3445
  },
3455
3446
  "parameters": [
3456
3447
  {
3457
- "name": "context",
3448
+ "name": "errors",
3458
3449
  "type": {
3459
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3460
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3471
  },
3462
3472
  {
3463
- "name": "definition",
3473
+ "name": "body",
3464
3474
  "type": {
3465
- "text": "FoundationElementDefinition"
3466
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3467
3485
  }
3468
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3469
3488
  }
3470
3489
  ],
3471
3490
  "exports": [
3472
3491
  {
3473
3492
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3493
+ "name": "formatValidationErrors",
3475
3494
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3478
3505
  }
3479
3506
  }
3480
3507
  ]
3481
3508
  },
3482
3509
  {
3483
3510
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3485
3512
  "declarations": [
3486
3513
  {
3487
3514
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3489
3516
  "return": {
3490
3517
  "type": {
3491
- "text": "ViewTemplate<Accordion>"
3518
+ "text": "ElementStyles"
3492
3519
  }
3493
3520
  },
3494
3521
  "parameters": [
@@ -3510,237 +3537,224 @@
3510
3537
  "exports": [
3511
3538
  {
3512
3539
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3514
3541
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3517
3544
  }
3518
3545
  }
3519
3546
  ]
3520
3547
  },
3521
3548
  {
3522
3549
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3524
3575
  "declarations": [
3525
3576
  {
3526
3577
  "kind": "class",
3527
3578
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3536
3581
  {
3537
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3538
3584
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProviderRegistry"
3546
3586
  }
3547
- }
3548
- ],
3549
- "members": [
3587
+ },
3550
3588
  {
3551
3589
  "kind": "field",
3552
- "name": "expandmode",
3590
+ "name": "aiProvider",
3553
3591
  "type": {
3554
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3555
3593
  },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3561
- }
3594
+ "privacy": "private",
3595
+ "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.",
3596
+ "readonly": true
3562
3597
  },
3563
3598
  {
3564
3599
  "kind": "field",
3565
- "name": "activeid",
3600
+ "name": "status",
3566
3601
  "type": {
3567
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3568
3603
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3604
+ "default": "null"
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "field",
3577
- "name": "activeItemIndex",
3608
+ "name": "open",
3578
3609
  "type": {
3579
- "text": "number"
3610
+ "text": "boolean"
3580
3611
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3612
+ "default": "false"
3587
3613
  },
3588
3614
  {
3589
3615
  "kind": "field",
3590
- "name": "accordionIds",
3616
+ "name": "state",
3591
3617
  "type": {
3592
- "text": "Array<string | null>"
3618
+ "text": "AIIndicatorState"
3593
3619
  },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3598
- }
3620
+ "default": "'none'"
3599
3621
  },
3600
3622
  {
3601
3623
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3607
- }
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3608
3629
  },
3609
3630
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3612
3636
  "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3637
+ "default": "null"
3638
+ },
3639
+ {
3640
+ "kind": "field",
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3617
3649
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3650
+ "readonly": true
3622
3651
  },
3623
3652
  {
3624
3653
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3630
- }
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3631
3667
  },
3632
3668
  {
3633
3669
  "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3670
+ "name": "openChanged",
3636
3671
  "return": {
3637
3672
  "type": {
3638
3673
  "text": "void"
3639
3674
  }
3640
- },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
3675
  }
3645
3676
  },
3646
3677
  {
3647
- "kind": "field",
3648
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3649
3680
  "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3653
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3654
3689
  },
3655
3690
  {
3656
- "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3663
3693
  },
3664
3694
  {
3665
3695
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3696
+ "name": "refreshStatus",
3668
3697
  "return": {
3669
3698
  "type": {
3670
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3671
3700
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3701
  }
3677
3702
  },
3678
3703
  {
3679
3704
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3681
3706
  "privacy": "private",
3682
3707
  "return": {
3683
3708
  "type": {
3684
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3685
3710
  }
3686
3711
  },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3691
3720
  },
3692
3721
  {
3693
- "kind": "field",
3694
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3695
3724
  "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3699
3729
  }
3700
3730
  },
3701
3731
  {
3702
- "kind": "field",
3703
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3704
3734
  "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3708
3739
  }
3709
3740
  },
3710
3741
  {
3711
3742
  "kind": "method",
3712
- "name": "adjust",
3743
+ "name": "stopPolling",
3713
3744
  "privacy": "private",
3714
3745
  "return": {
3715
3746
  "type": {
3716
3747
  "text": "void"
3717
3748
  }
3718
- },
3719
- "parameters": [
3720
- {
3721
- "name": "adjustment",
3722
- "type": {
3723
- "text": "number"
3724
- }
3725
- }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
3749
  }
3731
3750
  },
3732
3751
  {
3733
3752
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3753
+ "name": "onInstall",
3736
3754
  "return": {
3737
3755
  "type": {
3738
- "text": "void"
3756
+ "text": "Promise<void>"
3739
3757
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
@@ -3855,102 +3869,88 @@
3855
3869
  }
3856
3870
  }
3857
3871
  ],
3858
- "events": [
3859
- {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3866
- }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3882
3875
  },
3883
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3884
3878
  },
3885
3879
  {
3886
3880
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3889
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3890
3882
  }
3891
3883
  ],
3892
3884
  "exports": [
3893
3885
  {
3894
3886
  "kind": "js",
3895
- "name": "Accordion",
3887
+ "name": "AiIndicator",
3896
3888
  "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3891
  }
3900
3892
  },
3901
3893
  {
3902
3894
  "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3895
+ "name": "foundationAiIndicator",
3904
3896
  "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "defaultAccordionConfig",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "foundationAccordion",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3930
- "declarations": [],
3931
- "exports": [
3931
+ },
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "*",
3934
+ "name": "AIIndicatorState",
3935
3935
  "declaration": {
3936
- "name": "*",
3937
- "package": "./accordion.template"
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "*",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
3943
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.styles"
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "*",
3950
+ "name": "foundationAiIndicatorStyles",
3951
3951
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57909,197 +57909,6 @@
57909
57909
  }
57910
57910
  ]
57911
57911
  },
57912
- {
57913
- "kind": "javascript-module",
57914
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57915
- "declarations": [],
57916
- "exports": []
57917
- },
57918
- {
57919
- "kind": "javascript-module",
57920
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57921
- "declarations": [
57922
- {
57923
- "kind": "function",
57924
- "name": "groupsToCriteria",
57925
- "return": {
57926
- "type": {
57927
- "text": "string"
57928
- }
57929
- },
57930
- "parameters": [
57931
- {
57932
- "name": "groups",
57933
- "type": {
57934
- "text": "CriteriaGroup[]"
57935
- }
57936
- }
57937
- ],
57938
- "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."
57939
- },
57940
- {
57941
- "kind": "variable",
57942
- "name": "STRING_OPERATORS",
57943
- "type": {
57944
- "text": "CriteriaOperator[]"
57945
- },
57946
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57947
- },
57948
- {
57949
- "kind": "variable",
57950
- "name": "NUMERIC_OPERATORS",
57951
- "type": {
57952
- "text": "CriteriaOperator[]"
57953
- },
57954
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57955
- },
57956
- {
57957
- "kind": "variable",
57958
- "name": "DATE_OPERATORS",
57959
- "type": {
57960
- "text": "CriteriaOperator[]"
57961
- },
57962
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57963
- },
57964
- {
57965
- "kind": "variable",
57966
- "name": "DATETIME_OPERATORS",
57967
- "type": {
57968
- "text": "CriteriaOperator[]"
57969
- },
57970
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57971
- },
57972
- {
57973
- "kind": "variable",
57974
- "name": "OPERATOR_DISPLAY_LABEL",
57975
- "type": {
57976
- "text": "Record<CriteriaOperator, string>"
57977
- },
57978
- "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}"
57979
- }
57980
- ],
57981
- "exports": [
57982
- {
57983
- "kind": "js",
57984
- "name": "groupsToCriteria",
57985
- "declaration": {
57986
- "name": "groupsToCriteria",
57987
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57988
- }
57989
- },
57990
- {
57991
- "kind": "js",
57992
- "name": "STRING_OPERATORS",
57993
- "declaration": {
57994
- "name": "STRING_OPERATORS",
57995
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57996
- }
57997
- },
57998
- {
57999
- "kind": "js",
58000
- "name": "NUMERIC_OPERATORS",
58001
- "declaration": {
58002
- "name": "NUMERIC_OPERATORS",
58003
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58004
- }
58005
- },
58006
- {
58007
- "kind": "js",
58008
- "name": "DATE_OPERATORS",
58009
- "declaration": {
58010
- "name": "DATE_OPERATORS",
58011
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58012
- }
58013
- },
58014
- {
58015
- "kind": "js",
58016
- "name": "DATETIME_OPERATORS",
58017
- "declaration": {
58018
- "name": "DATETIME_OPERATORS",
58019
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58020
- }
58021
- },
58022
- {
58023
- "kind": "js",
58024
- "name": "OPERATOR_DISPLAY_LABEL",
58025
- "declaration": {
58026
- "name": "OPERATOR_DISPLAY_LABEL",
58027
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58028
- }
58029
- }
58030
- ]
58031
- },
58032
- {
58033
- "kind": "javascript-module",
58034
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58035
- "declarations": [
58036
- {
58037
- "kind": "function",
58038
- "name": "validateClauses",
58039
- "return": {
58040
- "type": {
58041
- "text": "ValidationResult"
58042
- }
58043
- },
58044
- "parameters": [
58045
- {
58046
- "name": "clauses",
58047
- "type": {
58048
- "text": "CriteriaClause[]"
58049
- }
58050
- },
58051
- {
58052
- "name": "fieldMetadata",
58053
- "type": {
58054
- "text": "MetadataDetail[] | string[]"
58055
- }
58056
- }
58057
- ]
58058
- },
58059
- {
58060
- "kind": "function",
58061
- "name": "validateGroups",
58062
- "return": {
58063
- "type": {
58064
- "text": "GroupsValidationResult"
58065
- }
58066
- },
58067
- "parameters": [
58068
- {
58069
- "name": "groups",
58070
- "type": {
58071
- "text": "CriteriaGroup[]"
58072
- }
58073
- },
58074
- {
58075
- "name": "fieldMetadata",
58076
- "type": {
58077
- "text": "MetadataDetail[] | string[]"
58078
- }
58079
- }
58080
- ],
58081
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58082
- }
58083
- ],
58084
- "exports": [
58085
- {
58086
- "kind": "js",
58087
- "name": "validateClauses",
58088
- "declaration": {
58089
- "name": "validateClauses",
58090
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58091
- }
58092
- },
58093
- {
58094
- "kind": "js",
58095
- "name": "validateGroups",
58096
- "declaration": {
58097
- "name": "validateGroups",
58098
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58099
- }
58100
- }
58101
- ]
58102
- },
58103
57912
  {
58104
57913
  "kind": "javascript-module",
58105
57914
  "path": "src/_config/styles/colors.ts",
@@ -59472,6 +59281,197 @@
59472
59281
  "declarations": [],
59473
59282
  "exports": []
59474
59283
  },
59284
+ {
59285
+ "kind": "javascript-module",
59286
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59287
+ "declarations": [],
59288
+ "exports": []
59289
+ },
59290
+ {
59291
+ "kind": "javascript-module",
59292
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59293
+ "declarations": [
59294
+ {
59295
+ "kind": "function",
59296
+ "name": "groupsToCriteria",
59297
+ "return": {
59298
+ "type": {
59299
+ "text": "string"
59300
+ }
59301
+ },
59302
+ "parameters": [
59303
+ {
59304
+ "name": "groups",
59305
+ "type": {
59306
+ "text": "CriteriaGroup[]"
59307
+ }
59308
+ }
59309
+ ],
59310
+ "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."
59311
+ },
59312
+ {
59313
+ "kind": "variable",
59314
+ "name": "STRING_OPERATORS",
59315
+ "type": {
59316
+ "text": "CriteriaOperator[]"
59317
+ },
59318
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59319
+ },
59320
+ {
59321
+ "kind": "variable",
59322
+ "name": "NUMERIC_OPERATORS",
59323
+ "type": {
59324
+ "text": "CriteriaOperator[]"
59325
+ },
59326
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59327
+ },
59328
+ {
59329
+ "kind": "variable",
59330
+ "name": "DATE_OPERATORS",
59331
+ "type": {
59332
+ "text": "CriteriaOperator[]"
59333
+ },
59334
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59335
+ },
59336
+ {
59337
+ "kind": "variable",
59338
+ "name": "DATETIME_OPERATORS",
59339
+ "type": {
59340
+ "text": "CriteriaOperator[]"
59341
+ },
59342
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59343
+ },
59344
+ {
59345
+ "kind": "variable",
59346
+ "name": "OPERATOR_DISPLAY_LABEL",
59347
+ "type": {
59348
+ "text": "Record<CriteriaOperator, string>"
59349
+ },
59350
+ "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}"
59351
+ }
59352
+ ],
59353
+ "exports": [
59354
+ {
59355
+ "kind": "js",
59356
+ "name": "groupsToCriteria",
59357
+ "declaration": {
59358
+ "name": "groupsToCriteria",
59359
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59360
+ }
59361
+ },
59362
+ {
59363
+ "kind": "js",
59364
+ "name": "STRING_OPERATORS",
59365
+ "declaration": {
59366
+ "name": "STRING_OPERATORS",
59367
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59368
+ }
59369
+ },
59370
+ {
59371
+ "kind": "js",
59372
+ "name": "NUMERIC_OPERATORS",
59373
+ "declaration": {
59374
+ "name": "NUMERIC_OPERATORS",
59375
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59376
+ }
59377
+ },
59378
+ {
59379
+ "kind": "js",
59380
+ "name": "DATE_OPERATORS",
59381
+ "declaration": {
59382
+ "name": "DATE_OPERATORS",
59383
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59384
+ }
59385
+ },
59386
+ {
59387
+ "kind": "js",
59388
+ "name": "DATETIME_OPERATORS",
59389
+ "declaration": {
59390
+ "name": "DATETIME_OPERATORS",
59391
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59392
+ }
59393
+ },
59394
+ {
59395
+ "kind": "js",
59396
+ "name": "OPERATOR_DISPLAY_LABEL",
59397
+ "declaration": {
59398
+ "name": "OPERATOR_DISPLAY_LABEL",
59399
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59400
+ }
59401
+ }
59402
+ ]
59403
+ },
59404
+ {
59405
+ "kind": "javascript-module",
59406
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59407
+ "declarations": [
59408
+ {
59409
+ "kind": "function",
59410
+ "name": "validateClauses",
59411
+ "return": {
59412
+ "type": {
59413
+ "text": "ValidationResult"
59414
+ }
59415
+ },
59416
+ "parameters": [
59417
+ {
59418
+ "name": "clauses",
59419
+ "type": {
59420
+ "text": "CriteriaClause[]"
59421
+ }
59422
+ },
59423
+ {
59424
+ "name": "fieldMetadata",
59425
+ "type": {
59426
+ "text": "MetadataDetail[] | string[]"
59427
+ }
59428
+ }
59429
+ ]
59430
+ },
59431
+ {
59432
+ "kind": "function",
59433
+ "name": "validateGroups",
59434
+ "return": {
59435
+ "type": {
59436
+ "text": "GroupsValidationResult"
59437
+ }
59438
+ },
59439
+ "parameters": [
59440
+ {
59441
+ "name": "groups",
59442
+ "type": {
59443
+ "text": "CriteriaGroup[]"
59444
+ }
59445
+ },
59446
+ {
59447
+ "name": "fieldMetadata",
59448
+ "type": {
59449
+ "text": "MetadataDetail[] | string[]"
59450
+ }
59451
+ }
59452
+ ],
59453
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59454
+ }
59455
+ ],
59456
+ "exports": [
59457
+ {
59458
+ "kind": "js",
59459
+ "name": "validateClauses",
59460
+ "declaration": {
59461
+ "name": "validateClauses",
59462
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59463
+ }
59464
+ },
59465
+ {
59466
+ "kind": "js",
59467
+ "name": "validateGroups",
59468
+ "declaration": {
59469
+ "name": "validateGroups",
59470
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59471
+ }
59472
+ }
59473
+ ]
59474
+ },
59475
59475
  {
59476
59476
  "kind": "javascript-module",
59477
59477
  "path": "src/environment-indicator/utils/configure.ts",