@genesislcap/foundation-ui 14.437.4 → 14.437.5-canary.date-picker-updates

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,37 +1398,6 @@
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
- },
1432
1401
  {
1433
1402
  "kind": "javascript-module",
1434
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1823,6 +1792,37 @@
1823
1792
  }
1824
1793
  ]
1825
1794
  },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
1826
  {
1827
1827
  "kind": "javascript-module",
1828
1828
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2384,275 +2384,208 @@
2384
2384
  },
2385
2385
  {
2386
2386
  "kind": "javascript-module",
2387
- "path": "src/accordion/accordion.styles.ts",
2387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2388
2388
  "declarations": [
2389
2389
  {
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
- ]
2390
+ "kind": "variable",
2391
+ "name": "foundationAiCriteriaSearchStyles",
2392
+ "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`"
2411
2393
  }
2412
2394
  ],
2413
2395
  "exports": [
2414
2396
  {
2415
2397
  "kind": "js",
2416
- "name": "foundationAccordionStyles",
2398
+ "name": "foundationAiCriteriaSearchStyles",
2417
2399
  "declaration": {
2418
- "name": "foundationAccordionStyles",
2419
- "module": "src/accordion/accordion.styles.ts"
2400
+ "name": "foundationAiCriteriaSearchStyles",
2401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2420
2402
  }
2421
2403
  }
2422
2404
  ]
2423
2405
  },
2424
2406
  {
2425
2407
  "kind": "javascript-module",
2426
- "path": "src/accordion/accordion.template.ts",
2408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2427
2409
  "declarations": [
2428
2410
  {
2429
- "kind": "function",
2430
- "name": "foundationAccordionTemplate",
2431
- "return": {
2432
- "type": {
2433
- "text": "ViewTemplate<Accordion>"
2434
- }
2411
+ "kind": "variable",
2412
+ "name": "foundationAiCriteriaSearchTemplate",
2413
+ "type": {
2414
+ "text": "ViewTemplate<AiCriteriaSearch>"
2435
2415
  },
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
- ]
2416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2450
2417
  }
2451
2418
  ],
2452
2419
  "exports": [
2453
2420
  {
2454
2421
  "kind": "js",
2455
- "name": "foundationAccordionTemplate",
2422
+ "name": "foundationAiCriteriaSearchTemplate",
2456
2423
  "declaration": {
2457
- "name": "foundationAccordionTemplate",
2458
- "module": "src/accordion/accordion.template.ts"
2424
+ "name": "foundationAiCriteriaSearchTemplate",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2459
2426
  }
2460
2427
  }
2461
2428
  ]
2462
2429
  },
2463
2430
  {
2464
2431
  "kind": "javascript-module",
2465
- "path": "src/accordion/accordion.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2466
2433
  "declarations": [
2467
2434
  {
2468
2435
  "kind": "class",
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": [
2436
+ "description": "Natural-language criteria search input with AI interpretation.",
2437
+ "name": "AiCriteriaSearch",
2438
+ "members": [
2478
2439
  {
2479
- "name": "expand-mode",
2440
+ "kind": "field",
2441
+ "name": "aiProvider",
2480
2442
  "type": {
2481
- "text": "AccordionExpandMode"
2482
- },
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"
2443
+ "text": "AIProvider"
2488
2444
  }
2489
- }
2490
- ],
2491
- "members": [
2445
+ },
2492
2446
  {
2493
2447
  "kind": "field",
2494
- "name": "expandmode",
2448
+ "name": "placeholder",
2495
2449
  "type": {
2496
- "text": "AccordionExpandMode"
2450
+ "text": "string"
2497
2451
  },
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
- }
2452
+ "default": "'Describe your search criteria in natural language...'"
2504
2453
  },
2505
2454
  {
2506
2455
  "kind": "field",
2507
- "name": "activeid",
2456
+ "name": "disabled",
2508
2457
  "type": {
2509
- "text": "string | null"
2510
- },
2511
- "privacy": "private",
2512
- "inheritedFrom": {
2513
- "name": "Accordion",
2514
- "module": "src/accordion/accordion.ts"
2458
+ "text": "boolean"
2515
2459
  }
2516
2460
  },
2517
2461
  {
2518
2462
  "kind": "field",
2519
- "name": "activeItemIndex",
2463
+ "name": "inputValue",
2520
2464
  "type": {
2521
- "text": "number"
2465
+ "text": "string"
2522
2466
  },
2523
- "privacy": "private",
2524
- "default": "0",
2525
- "inheritedFrom": {
2526
- "name": "Accordion",
2527
- "module": "src/accordion/accordion.ts"
2528
- }
2467
+ "default": "''"
2529
2468
  },
2530
2469
  {
2531
2470
  "kind": "field",
2532
- "name": "accordionIds",
2471
+ "name": "isInterpreting",
2533
2472
  "type": {
2534
- "text": "Array<string | null>"
2473
+ "text": "boolean"
2535
2474
  },
2536
- "privacy": "private",
2537
- "inheritedFrom": {
2538
- "name": "Accordion",
2539
- "module": "src/accordion/accordion.ts"
2540
- }
2475
+ "default": "false"
2541
2476
  },
2542
2477
  {
2543
2478
  "kind": "field",
2544
- "name": "change",
2545
- "privacy": "private",
2546
- "inheritedFrom": {
2547
- "name": "Accordion",
2548
- "module": "src/accordion/accordion.ts"
2549
- }
2479
+ "name": "lastValidCriteria",
2480
+ "type": {
2481
+ "text": "string | null"
2482
+ },
2483
+ "default": "null"
2550
2484
  },
2551
2485
  {
2552
- "kind": "method",
2553
- "name": "findExpandedItem",
2554
- "privacy": "private",
2555
- "return": {
2556
- "type": {
2557
- "text": "AccordionItem | null"
2558
- }
2486
+ "kind": "field",
2487
+ "name": "activeGroups",
2488
+ "type": {
2489
+ "text": "CriteriaGroup[]"
2559
2490
  },
2560
- "inheritedFrom": {
2561
- "name": "Accordion",
2562
- "module": "src/accordion/accordion.ts"
2563
- }
2491
+ "default": "[]"
2564
2492
  },
2565
2493
  {
2566
2494
  "kind": "field",
2567
- "name": "setItems",
2568
- "privacy": "private",
2569
- "inheritedFrom": {
2570
- "name": "Accordion",
2571
- "module": "src/accordion/accordion.ts"
2572
- }
2495
+ "name": "showingChips",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2573
2500
  },
2574
2501
  {
2575
- "kind": "method",
2576
- "name": "resetItems",
2577
- "privacy": "private",
2578
- "return": {
2579
- "type": {
2580
- "text": "void"
2581
- }
2502
+ "kind": "field",
2503
+ "name": "fieldMetadata",
2504
+ "type": {
2505
+ "text": "MetadataDetail[] | string[]"
2582
2506
  },
2583
- "inheritedFrom": {
2584
- "name": "Accordion",
2585
- "module": "src/accordion/accordion.ts"
2586
- }
2507
+ "default": "[]"
2587
2508
  },
2588
2509
  {
2589
2510
  "kind": "field",
2590
- "name": "removeItemListeners",
2591
- "privacy": "private",
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2595
- }
2511
+ "name": "isRecording",
2512
+ "type": {
2513
+ "text": "boolean"
2514
+ },
2515
+ "default": "false"
2596
2516
  },
2597
2517
  {
2598
2518
  "kind": "field",
2599
- "name": "activeItemChange",
2519
+ "name": "textAreaRef",
2520
+ "type": {
2521
+ "text": "HTMLTextAreaElement"
2522
+ },
2523
+ "privacy": "public"
2524
+ },
2525
+ {
2526
+ "kind": "field",
2527
+ "name": "stopRecording",
2528
+ "type": {
2529
+ "text": "(() => void) | null"
2530
+ },
2600
2531
  "privacy": "private",
2601
- "inheritedFrom": {
2602
- "name": "Accordion",
2603
- "module": "src/accordion/accordion.ts"
2604
- }
2532
+ "default": "null"
2605
2533
  },
2606
2534
  {
2607
- "kind": "method",
2608
- "name": "getItemIds",
2535
+ "kind": "field",
2536
+ "name": "speechApplyDebounceTimer",
2537
+ "type": {
2538
+ "text": "ReturnType<typeof setTimeout> | null"
2539
+ },
2609
2540
  "privacy": "private",
2610
- "return": {
2611
- "type": {
2612
- "text": "Array<string | null>"
2613
- }
2541
+ "default": "null"
2542
+ },
2543
+ {
2544
+ "kind": "field",
2545
+ "name": "speechAvailable",
2546
+ "type": {
2547
+ "text": "boolean"
2614
2548
  },
2615
- "inheritedFrom": {
2616
- "name": "Accordion",
2617
- "module": "src/accordion/accordion.ts"
2618
- }
2549
+ "readonly": true
2550
+ },
2551
+ {
2552
+ "kind": "field",
2553
+ "name": "criteriaChips",
2554
+ "type": {
2555
+ "text": "CriteriaChip[]"
2556
+ },
2557
+ "readonly": true
2619
2558
  },
2620
2559
  {
2621
2560
  "kind": "method",
2622
- "name": "isSingleExpandMode",
2561
+ "name": "getFieldLabel",
2623
2562
  "privacy": "private",
2624
2563
  "return": {
2625
2564
  "type": {
2626
- "text": "boolean"
2565
+ "text": "string"
2627
2566
  }
2628
2567
  },
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
- }
2568
+ "parameters": [
2569
+ {
2570
+ "name": "fieldName",
2571
+ "type": {
2572
+ "text": "string"
2573
+ }
2574
+ }
2575
+ ]
2642
2576
  },
2643
2577
  {
2644
- "kind": "field",
2645
- "name": "handleItemFocus",
2646
- "privacy": "private",
2647
- "inheritedFrom": {
2648
- "name": "Accordion",
2649
- "module": "src/accordion/accordion.ts"
2578
+ "kind": "method",
2579
+ "name": "toggleCriteriaView",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2650
2584
  }
2651
2585
  },
2652
2586
  {
2653
2587
  "kind": "method",
2654
- "name": "adjust",
2655
- "privacy": "private",
2588
+ "name": "removeChip",
2656
2589
  "return": {
2657
2590
  "type": {
2658
2591
  "text": "void"
@@ -2660,31 +2593,49 @@
2660
2593
  },
2661
2594
  "parameters": [
2662
2595
  {
2663
- "name": "adjustment",
2596
+ "name": "groupIndex",
2597
+ "type": {
2598
+ "text": "number"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "clauseIndex",
2664
2603
  "type": {
2665
2604
  "text": "number"
2666
2605
  }
2667
2606
  }
2668
- ],
2669
- "inheritedFrom": {
2670
- "name": "Accordion",
2671
- "module": "src/accordion/accordion.ts"
2672
- }
2607
+ ]
2673
2608
  },
2674
2609
  {
2675
2610
  "kind": "method",
2676
- "name": "focusItem",
2677
- "privacy": "private",
2611
+ "name": "clearChips",
2678
2612
  "return": {
2679
2613
  "type": {
2680
2614
  "text": "void"
2681
2615
  }
2682
- },
2683
- "inheritedFrom": {
2684
- "name": "Accordion",
2685
- "module": "src/accordion/accordion.ts"
2686
2616
  }
2687
2617
  },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "handleSubmit"
2621
+ },
2622
+ {
2623
+ "kind": "method",
2624
+ "name": "handleBlur"
2625
+ },
2626
+ {
2627
+ "kind": "method",
2628
+ "name": "clear"
2629
+ },
2630
+ {
2631
+ "kind": "method",
2632
+ "name": "toggleSpeechInput"
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "clearSpeechApplyDebounce",
2637
+ "privacy": "private"
2638
+ },
2688
2639
  {
2689
2640
  "kind": "field",
2690
2641
  "name": "_presentation",
@@ -2799,26 +2750,48 @@
2799
2750
  ],
2800
2751
  "events": [
2801
2752
  {
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
- }
2753
+ "description": "Fired when interpreted criteria is applied or cleared",
2754
+ "name": "criteria-changed"
2755
+ },
2756
+ {
2757
+ "description": "Fired when interpreted criteria contains invalid clauses",
2758
+ "name": "validation-errors"
2808
2759
  }
2809
- ]
2760
+ ],
2761
+ "attributes": [
2762
+ {
2763
+ "name": "placeholder",
2764
+ "type": {
2765
+ "text": "string"
2766
+ },
2767
+ "default": "'Describe your search criteria in natural language...'",
2768
+ "fieldName": "placeholder"
2769
+ },
2770
+ {
2771
+ "type": {
2772
+ "text": "boolean"
2773
+ },
2774
+ "fieldName": "disabled"
2775
+ }
2776
+ ],
2777
+ "superclass": {
2778
+ "name": "FoundationElement",
2779
+ "package": "@microsoft/fast-foundation"
2780
+ },
2781
+ "tagName": "%%prefix%%-ai-criteria-search",
2782
+ "customElement": true
2810
2783
  },
2811
2784
  {
2812
2785
  "kind": "variable",
2813
- "name": "foundationAccordionShadowOptions",
2786
+ "name": "foundationAiCriteriaSearchShadowOptions",
2814
2787
  "type": {
2815
2788
  "text": "ShadowRootInit"
2816
2789
  },
2817
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2790
+ "default": "undefined"
2818
2791
  },
2819
2792
  {
2820
2793
  "kind": "variable",
2821
- "name": "defaultAccordionConfig",
2794
+ "name": "defaultAiCriteriaSearchConfig",
2822
2795
  "type": {
2823
2796
  "text": "object"
2824
2797
  },
@@ -2826,65 +2799,95 @@
2826
2799
  },
2827
2800
  {
2828
2801
  "kind": "variable",
2829
- "name": "foundationAccordion",
2830
- "description": "The Foundation Accordion",
2831
- "privacy": "public"
2802
+ "name": "foundationAiCriteriaSearch"
2832
2803
  }
2833
2804
  ],
2834
2805
  "exports": [
2835
2806
  {
2836
2807
  "kind": "js",
2837
- "name": "Accordion",
2808
+ "name": "AiCriteriaSearch",
2838
2809
  "declaration": {
2839
- "name": "Accordion",
2840
- "module": "src/accordion/accordion.ts"
2810
+ "name": "AiCriteriaSearch",
2811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2841
2812
  }
2842
2813
  },
2843
2814
  {
2844
2815
  "kind": "js",
2845
- "name": "foundationAccordionShadowOptions",
2816
+ "name": "foundationAiCriteriaSearchShadowOptions",
2846
2817
  "declaration": {
2847
- "name": "foundationAccordionShadowOptions",
2848
- "module": "src/accordion/accordion.ts"
2818
+ "name": "foundationAiCriteriaSearchShadowOptions",
2819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2849
2820
  }
2850
2821
  },
2851
2822
  {
2852
2823
  "kind": "js",
2853
- "name": "defaultAccordionConfig",
2824
+ "name": "defaultAiCriteriaSearchConfig",
2854
2825
  "declaration": {
2855
- "name": "defaultAccordionConfig",
2856
- "module": "src/accordion/accordion.ts"
2826
+ "name": "defaultAiCriteriaSearchConfig",
2827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2828
  }
2858
2829
  },
2859
2830
  {
2860
2831
  "kind": "js",
2861
- "name": "foundationAccordion",
2832
+ "name": "foundationAiCriteriaSearch",
2862
2833
  "declaration": {
2863
- "name": "foundationAccordion",
2864
- "module": "src/accordion/accordion.ts"
2834
+ "name": "foundationAiCriteriaSearch",
2835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2836
  }
2866
2837
  }
2867
2838
  ]
2868
2839
  },
2869
2840
  {
2870
2841
  "kind": "javascript-module",
2871
- "path": "src/accordion/index.ts",
2842
+ "path": "src/ai-criteria-search/index.ts",
2872
2843
  "declarations": [],
2873
2844
  "exports": [
2874
2845
  {
2875
2846
  "kind": "js",
2876
- "name": "*",
2847
+ "name": "AiCriteriaSearch",
2877
2848
  "declaration": {
2878
- "name": "*",
2879
- "package": "./accordion.template"
2849
+ "name": "AiCriteriaSearch",
2850
+ "module": "./ai-criteria-search"
2880
2851
  }
2881
2852
  },
2882
2853
  {
2883
2854
  "kind": "js",
2884
- "name": "*",
2855
+ "name": "defaultAiCriteriaSearchConfig",
2885
2856
  "declaration": {
2886
- "name": "*",
2887
- "package": "./accordion.styles"
2857
+ "name": "defaultAiCriteriaSearchConfig",
2858
+ "module": "./ai-criteria-search"
2859
+ }
2860
+ },
2861
+ {
2862
+ "kind": "js",
2863
+ "name": "foundationAiCriteriaSearch",
2864
+ "declaration": {
2865
+ "name": "foundationAiCriteriaSearch",
2866
+ "module": "./ai-criteria-search"
2867
+ }
2868
+ },
2869
+ {
2870
+ "kind": "js",
2871
+ "name": "foundationAiCriteriaSearchShadowOptions",
2872
+ "declaration": {
2873
+ "name": "foundationAiCriteriaSearchShadowOptions",
2874
+ "module": "./ai-criteria-search"
2875
+ }
2876
+ },
2877
+ {
2878
+ "kind": "js",
2879
+ "name": "foundationAiCriteriaSearchStyles",
2880
+ "declaration": {
2881
+ "name": "foundationAiCriteriaSearchStyles",
2882
+ "module": "./ai-criteria-search.styles"
2883
+ }
2884
+ },
2885
+ {
2886
+ "kind": "js",
2887
+ "name": "foundationAiCriteriaSearchTemplate",
2888
+ "declaration": {
2889
+ "name": "foundationAiCriteriaSearchTemplate",
2890
+ "module": "./ai-criteria-search.template"
2888
2891
  }
2889
2892
  },
2890
2893
  {
@@ -2892,18 +2895,109 @@
2892
2895
  "name": "*",
2893
2896
  "declaration": {
2894
2897
  "name": "*",
2895
- "package": "./accordion"
2898
+ "package": "./validation/criteria-ir"
2896
2899
  }
2897
- }
2900
+ },
2901
+ {
2902
+ "kind": "js",
2903
+ "name": "*",
2904
+ "declaration": {
2905
+ "name": "*",
2906
+ "package": "./validation/operator-map"
2907
+ }
2908
+ },
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "*",
2912
+ "declaration": {
2913
+ "name": "*",
2914
+ "package": "./validation/schema-validator"
2915
+ }
2916
+ }
2898
2917
  ]
2899
2918
  },
2900
2919
  {
2901
2920
  "kind": "javascript-module",
2902
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2903
2922
  "declarations": [
2904
2923
  {
2905
2924
  "kind": "function",
2906
- "name": "foundationAiIndicatorStyles",
2925
+ "name": "formatValidationErrors",
2926
+ "return": {
2927
+ "type": {
2928
+ "text": "string"
2929
+ }
2930
+ },
2931
+ "parameters": [
2932
+ {
2933
+ "name": "errors",
2934
+ "type": {
2935
+ "text": "ValidationError[]"
2936
+ }
2937
+ }
2938
+ ],
2939
+ "description": "Formats validation errors into a user-friendly message."
2940
+ },
2941
+ {
2942
+ "kind": "function",
2943
+ "name": "showCriteriaError",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "void"
2947
+ }
2948
+ },
2949
+ "parameters": [
2950
+ {
2951
+ "name": "title",
2952
+ "type": {
2953
+ "text": "string"
2954
+ },
2955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2956
+ },
2957
+ {
2958
+ "name": "body",
2959
+ "type": {
2960
+ "text": "string"
2961
+ },
2962
+ "description": "Error message to display"
2963
+ },
2964
+ {
2965
+ "name": "tagName",
2966
+ "type": {
2967
+ "text": "string"
2968
+ },
2969
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2970
+ }
2971
+ ],
2972
+ "description": "Shows a criteria error as a toast notification."
2973
+ }
2974
+ ],
2975
+ "exports": [
2976
+ {
2977
+ "kind": "js",
2978
+ "name": "formatValidationErrors",
2979
+ "declaration": {
2980
+ "name": "formatValidationErrors",
2981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2982
+ }
2983
+ },
2984
+ {
2985
+ "kind": "js",
2986
+ "name": "showCriteriaError",
2987
+ "declaration": {
2988
+ "name": "showCriteriaError",
2989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2990
+ }
2991
+ }
2992
+ ]
2993
+ },
2994
+ {
2995
+ "kind": "javascript-module",
2996
+ "path": "src/accordion/accordion.styles.ts",
2997
+ "declarations": [
2998
+ {
2999
+ "kind": "function",
3000
+ "name": "foundationAccordionStyles",
2907
3001
  "return": {
2908
3002
  "type": {
2909
3003
  "text": "ElementStyles"
@@ -2928,214 +3022,276 @@
2928
3022
  "exports": [
2929
3023
  {
2930
3024
  "kind": "js",
2931
- "name": "foundationAiIndicatorStyles",
3025
+ "name": "foundationAccordionStyles",
2932
3026
  "declaration": {
2933
- "name": "foundationAiIndicatorStyles",
2934
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3027
+ "name": "foundationAccordionStyles",
3028
+ "module": "src/accordion/accordion.styles.ts"
2935
3029
  }
2936
3030
  }
2937
3031
  ]
2938
3032
  },
2939
3033
  {
2940
3034
  "kind": "javascript-module",
2941
- "path": "src/ai-indicator/ai-indicator.template.ts",
3035
+ "path": "src/accordion/accordion.template.ts",
2942
3036
  "declarations": [
2943
3037
  {
2944
- "kind": "variable",
2945
- "name": "foundationAiIndicatorTemplate",
2946
- "type": {
2947
- "text": "ViewTemplate<AiIndicator>"
3038
+ "kind": "function",
3039
+ "name": "foundationAccordionTemplate",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "ViewTemplate<Accordion>"
3043
+ }
2948
3044
  },
2949
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3045
+ "parameters": [
3046
+ {
3047
+ "name": "context",
3048
+ "type": {
3049
+ "text": "ElementDefinitionContext"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "definition",
3054
+ "type": {
3055
+ "text": "FoundationElementDefinition"
3056
+ }
3057
+ }
3058
+ ]
2950
3059
  }
2951
3060
  ],
2952
3061
  "exports": [
2953
3062
  {
2954
3063
  "kind": "js",
2955
- "name": "foundationAiIndicatorTemplate",
3064
+ "name": "foundationAccordionTemplate",
2956
3065
  "declaration": {
2957
- "name": "foundationAiIndicatorTemplate",
2958
- "module": "src/ai-indicator/ai-indicator.template.ts"
3066
+ "name": "foundationAccordionTemplate",
3067
+ "module": "src/accordion/accordion.template.ts"
2959
3068
  }
2960
3069
  }
2961
3070
  ]
2962
3071
  },
2963
3072
  {
2964
3073
  "kind": "javascript-module",
2965
- "path": "src/ai-indicator/ai-indicator.ts",
3074
+ "path": "src/accordion/accordion.ts",
2966
3075
  "declarations": [
2967
3076
  {
2968
3077
  "kind": "class",
2969
3078
  "description": "",
2970
- "name": "AiIndicator",
2971
- "members": [
2972
- {
2973
- "kind": "field",
2974
- "name": "aiProvider",
2975
- "type": {
2976
- "text": "AIProvider"
2977
- }
2978
- },
3079
+ "name": "Accordion",
3080
+ "superclass": {
3081
+ "name": "FASTAccordion",
3082
+ "package": "@microsoft/fast-foundation"
3083
+ },
3084
+ "tagName": "%%prefix%%-accordion",
3085
+ "customElement": true,
3086
+ "attributes": [
2979
3087
  {
2980
- "kind": "field",
2981
- "name": "status",
3088
+ "name": "expand-mode",
2982
3089
  "type": {
2983
- "text": "AIStatus | null"
3090
+ "text": "AccordionExpandMode"
2984
3091
  },
2985
- "default": "null"
2986
- },
3092
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3093
+ "fieldName": "expandmode",
3094
+ "inheritedFrom": {
3095
+ "name": "Accordion",
3096
+ "module": "src/accordion/accordion.ts"
3097
+ }
3098
+ }
3099
+ ],
3100
+ "members": [
2987
3101
  {
2988
3102
  "kind": "field",
2989
- "name": "open",
3103
+ "name": "expandmode",
2990
3104
  "type": {
2991
- "text": "boolean"
3105
+ "text": "AccordionExpandMode"
2992
3106
  },
2993
- "default": "false"
3107
+ "privacy": "public",
3108
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3109
+ "inheritedFrom": {
3110
+ "name": "Accordion",
3111
+ "module": "src/accordion/accordion.ts"
3112
+ }
2994
3113
  },
2995
3114
  {
2996
3115
  "kind": "field",
2997
- "name": "state",
3116
+ "name": "activeid",
2998
3117
  "type": {
2999
- "text": "AIIndicatorState"
3118
+ "text": "string | null"
3000
3119
  },
3001
- "default": "'none'"
3120
+ "privacy": "private",
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
3002
3125
  },
3003
3126
  {
3004
3127
  "kind": "field",
3005
- "name": "isInstalling",
3128
+ "name": "activeItemIndex",
3006
3129
  "type": {
3007
- "text": "boolean"
3130
+ "text": "number"
3008
3131
  },
3009
- "default": "false"
3132
+ "privacy": "private",
3133
+ "default": "0",
3134
+ "inheritedFrom": {
3135
+ "name": "Accordion",
3136
+ "module": "src/accordion/accordion.ts"
3137
+ }
3010
3138
  },
3011
3139
  {
3012
3140
  "kind": "field",
3013
- "name": "pollTimer",
3141
+ "name": "accordionIds",
3014
3142
  "type": {
3015
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "Array<string | null>"
3016
3144
  },
3017
3145
  "privacy": "private",
3018
- "default": "null"
3019
- },
3020
- {
3021
- "kind": "field",
3022
- "name": "clickOutside",
3023
- "privacy": "private"
3146
+ "inheritedFrom": {
3147
+ "name": "Accordion",
3148
+ "module": "src/accordion/accordion.ts"
3149
+ }
3024
3150
  },
3025
3151
  {
3026
3152
  "kind": "field",
3027
- "name": "chromeStatusLabel",
3028
- "type": {
3029
- "text": "string | null"
3030
- },
3031
- "readonly": true
3153
+ "name": "change",
3154
+ "privacy": "private",
3155
+ "inheritedFrom": {
3156
+ "name": "Accordion",
3157
+ "module": "src/accordion/accordion.ts"
3158
+ }
3032
3159
  },
3033
3160
  {
3034
- "kind": "field",
3035
- "name": "canInstall",
3036
- "type": {
3037
- "text": "boolean"
3161
+ "kind": "method",
3162
+ "name": "findExpandedItem",
3163
+ "privacy": "private",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "AccordionItem | null"
3167
+ }
3038
3168
  },
3039
- "readonly": true
3169
+ "inheritedFrom": {
3170
+ "name": "Accordion",
3171
+ "module": "src/accordion/accordion.ts"
3172
+ }
3040
3173
  },
3041
3174
  {
3042
3175
  "kind": "field",
3043
- "name": "isDownloading",
3044
- "type": {
3045
- "text": "boolean"
3046
- },
3047
- "readonly": true
3176
+ "name": "setItems",
3177
+ "privacy": "private",
3178
+ "inheritedFrom": {
3179
+ "name": "Accordion",
3180
+ "module": "src/accordion/accordion.ts"
3181
+ }
3048
3182
  },
3049
3183
  {
3050
3184
  "kind": "method",
3051
- "name": "openChanged",
3185
+ "name": "resetItems",
3186
+ "privacy": "private",
3052
3187
  "return": {
3053
3188
  "type": {
3054
3189
  "text": "void"
3055
3190
  }
3191
+ },
3192
+ "inheritedFrom": {
3193
+ "name": "Accordion",
3194
+ "module": "src/accordion/accordion.ts"
3056
3195
  }
3057
3196
  },
3058
3197
  {
3059
- "kind": "method",
3060
- "name": "handleClickOutside",
3198
+ "kind": "field",
3199
+ "name": "removeItemListeners",
3061
3200
  "privacy": "private",
3062
- "parameters": [
3063
- {
3064
- "name": "event",
3065
- "type": {
3066
- "text": "MouseEvent"
3067
- }
3068
- }
3069
- ]
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3070
3205
  },
3071
3206
  {
3072
- "kind": "method",
3073
- "name": "toggleDropdown"
3207
+ "kind": "field",
3208
+ "name": "activeItemChange",
3209
+ "privacy": "private",
3210
+ "inheritedFrom": {
3211
+ "name": "Accordion",
3212
+ "module": "src/accordion/accordion.ts"
3213
+ }
3074
3214
  },
3075
3215
  {
3076
3216
  "kind": "method",
3077
- "name": "refreshStatus",
3217
+ "name": "getItemIds",
3218
+ "privacy": "private",
3078
3219
  "return": {
3079
3220
  "type": {
3080
- "text": "Promise<void>"
3221
+ "text": "Array<string | null>"
3081
3222
  }
3223
+ },
3224
+ "inheritedFrom": {
3225
+ "name": "Accordion",
3226
+ "module": "src/accordion/accordion.ts"
3082
3227
  }
3083
3228
  },
3084
3229
  {
3085
3230
  "kind": "method",
3086
- "name": "deriveState",
3231
+ "name": "isSingleExpandMode",
3087
3232
  "privacy": "private",
3088
3233
  "return": {
3089
3234
  "type": {
3090
- "text": "AIIndicatorState"
3235
+ "text": "boolean"
3091
3236
  }
3092
3237
  },
3093
- "parameters": [
3094
- {
3095
- "name": "s",
3096
- "type": {
3097
- "text": "AIStatus | null"
3098
- }
3099
- }
3100
- ]
3238
+ "inheritedFrom": {
3239
+ "name": "Accordion",
3240
+ "module": "src/accordion/accordion.ts"
3241
+ }
3101
3242
  },
3102
3243
  {
3103
- "kind": "method",
3104
- "name": "maybeStartPolling",
3244
+ "kind": "field",
3245
+ "name": "handleItemKeyDown",
3105
3246
  "privacy": "private",
3106
- "return": {
3107
- "type": {
3108
- "text": "void"
3109
- }
3247
+ "inheritedFrom": {
3248
+ "name": "Accordion",
3249
+ "module": "src/accordion/accordion.ts"
3110
3250
  }
3111
3251
  },
3112
3252
  {
3113
- "kind": "method",
3114
- "name": "startPolling",
3253
+ "kind": "field",
3254
+ "name": "handleItemFocus",
3115
3255
  "privacy": "private",
3116
- "return": {
3117
- "type": {
3118
- "text": "void"
3119
- }
3256
+ "inheritedFrom": {
3257
+ "name": "Accordion",
3258
+ "module": "src/accordion/accordion.ts"
3120
3259
  }
3121
3260
  },
3122
3261
  {
3123
3262
  "kind": "method",
3124
- "name": "stopPolling",
3263
+ "name": "adjust",
3125
3264
  "privacy": "private",
3126
3265
  "return": {
3127
3266
  "type": {
3128
3267
  "text": "void"
3129
3268
  }
3269
+ },
3270
+ "parameters": [
3271
+ {
3272
+ "name": "adjustment",
3273
+ "type": {
3274
+ "text": "number"
3275
+ }
3276
+ }
3277
+ ],
3278
+ "inheritedFrom": {
3279
+ "name": "Accordion",
3280
+ "module": "src/accordion/accordion.ts"
3130
3281
  }
3131
3282
  },
3132
3283
  {
3133
3284
  "kind": "method",
3134
- "name": "onInstall",
3285
+ "name": "focusItem",
3286
+ "privacy": "private",
3135
3287
  "return": {
3136
3288
  "type": {
3137
- "text": "Promise<void>"
3289
+ "text": "void"
3138
3290
  }
3291
+ },
3292
+ "inheritedFrom": {
3293
+ "name": "Accordion",
3294
+ "module": "src/accordion/accordion.ts"
3139
3295
  }
3140
3296
  },
3141
3297
  {
@@ -3250,203 +3406,196 @@
3250
3406
  }
3251
3407
  }
3252
3408
  ],
3253
- "superclass": {
3254
- "name": "FoundationElement",
3255
- "package": "@microsoft/fast-foundation"
3409
+ "events": [
3410
+ {
3411
+ "description": "Fires a custom 'change' event when the active item changes",
3412
+ "name": "change",
3413
+ "inheritedFrom": {
3414
+ "name": "Accordion",
3415
+ "module": "src/accordion/accordion.ts"
3416
+ }
3417
+ }
3418
+ ]
3419
+ },
3420
+ {
3421
+ "kind": "variable",
3422
+ "name": "foundationAccordionShadowOptions",
3423
+ "type": {
3424
+ "text": "ShadowRootInit"
3256
3425
  },
3257
- "tagName": "%%prefix%%-ai-indicator",
3258
- "customElement": true
3426
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3259
3427
  },
3260
3428
  {
3261
3429
  "kind": "variable",
3262
- "name": "foundationAiIndicator"
3430
+ "name": "defaultAccordionConfig",
3431
+ "type": {
3432
+ "text": "object"
3433
+ },
3434
+ "default": "{}"
3435
+ },
3436
+ {
3437
+ "kind": "variable",
3438
+ "name": "foundationAccordion",
3439
+ "description": "The Foundation Accordion",
3440
+ "privacy": "public"
3263
3441
  }
3264
3442
  ],
3265
3443
  "exports": [
3266
3444
  {
3267
3445
  "kind": "js",
3268
- "name": "AiIndicator",
3446
+ "name": "Accordion",
3269
3447
  "declaration": {
3270
- "name": "AiIndicator",
3271
- "module": "src/ai-indicator/ai-indicator.ts"
3448
+ "name": "Accordion",
3449
+ "module": "src/accordion/accordion.ts"
3272
3450
  }
3273
3451
  },
3274
3452
  {
3275
3453
  "kind": "js",
3276
- "name": "foundationAiIndicator",
3277
- "declaration": {
3278
- "name": "foundationAiIndicator",
3279
- "module": "src/ai-indicator/ai-indicator.ts"
3280
- }
3281
- }
3282
- ]
3283
- },
3284
- {
3285
- "kind": "javascript-module",
3286
- "path": "src/ai-indicator/index.ts",
3287
- "declarations": [],
3288
- "exports": [
3289
- {
3290
- "kind": "js",
3291
- "name": "AiIndicator",
3454
+ "name": "foundationAccordionShadowOptions",
3292
3455
  "declaration": {
3293
- "name": "AiIndicator",
3294
- "module": "./ai-indicator"
3456
+ "name": "foundationAccordionShadowOptions",
3457
+ "module": "src/accordion/accordion.ts"
3295
3458
  }
3296
3459
  },
3297
3460
  {
3298
3461
  "kind": "js",
3299
- "name": "foundationAiIndicator",
3462
+ "name": "defaultAccordionConfig",
3300
3463
  "declaration": {
3301
- "name": "foundationAiIndicator",
3302
- "module": "./ai-indicator"
3464
+ "name": "defaultAccordionConfig",
3465
+ "module": "src/accordion/accordion.ts"
3303
3466
  }
3304
3467
  },
3305
3468
  {
3306
3469
  "kind": "js",
3307
- "name": "type",
3470
+ "name": "foundationAccordion",
3308
3471
  "declaration": {
3309
- "name": "type",
3310
- "module": "./ai-indicator"
3472
+ "name": "foundationAccordion",
3473
+ "module": "src/accordion/accordion.ts"
3311
3474
  }
3312
- },
3475
+ }
3476
+ ]
3477
+ },
3478
+ {
3479
+ "kind": "javascript-module",
3480
+ "path": "src/accordion/index.ts",
3481
+ "declarations": [],
3482
+ "exports": [
3313
3483
  {
3314
3484
  "kind": "js",
3315
- "name": "AIIndicatorState",
3485
+ "name": "*",
3316
3486
  "declaration": {
3317
- "name": "AIIndicatorState",
3318
- "module": "./ai-indicator"
3487
+ "name": "*",
3488
+ "package": "./accordion.template"
3319
3489
  }
3320
3490
  },
3321
3491
  {
3322
3492
  "kind": "js",
3323
- "name": "foundationAiIndicatorTemplate",
3493
+ "name": "*",
3324
3494
  "declaration": {
3325
- "name": "foundationAiIndicatorTemplate",
3326
- "module": "./ai-indicator.template"
3495
+ "name": "*",
3496
+ "package": "./accordion.styles"
3327
3497
  }
3328
3498
  },
3329
3499
  {
3330
3500
  "kind": "js",
3331
- "name": "foundationAiIndicatorStyles",
3501
+ "name": "*",
3332
3502
  "declaration": {
3333
- "name": "foundationAiIndicatorStyles",
3334
- "module": "./ai-indicator.styles"
3503
+ "name": "*",
3504
+ "package": "./accordion"
3335
3505
  }
3336
3506
  }
3337
3507
  ]
3338
3508
  },
3339
3509
  {
3340
3510
  "kind": "javascript-module",
3341
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3342
3512
  "declarations": [
3343
3513
  {
3344
- "kind": "variable",
3345
- "name": "foundationAiCriteriaSearchStyles",
3346
- "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`"
3514
+ "kind": "function",
3515
+ "name": "foundationAiIndicatorStyles",
3516
+ "return": {
3517
+ "type": {
3518
+ "text": "ElementStyles"
3519
+ }
3520
+ },
3521
+ "parameters": [
3522
+ {
3523
+ "name": "context",
3524
+ "type": {
3525
+ "text": "ElementDefinitionContext"
3526
+ }
3527
+ },
3528
+ {
3529
+ "name": "definition",
3530
+ "type": {
3531
+ "text": "FoundationElementDefinition"
3532
+ }
3533
+ }
3534
+ ]
3347
3535
  }
3348
3536
  ],
3349
3537
  "exports": [
3350
3538
  {
3351
3539
  "kind": "js",
3352
- "name": "foundationAiCriteriaSearchStyles",
3540
+ "name": "foundationAiIndicatorStyles",
3353
3541
  "declaration": {
3354
- "name": "foundationAiCriteriaSearchStyles",
3355
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3356
3544
  }
3357
3545
  }
3358
3546
  ]
3359
3547
  },
3360
3548
  {
3361
3549
  "kind": "javascript-module",
3362
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3363
3551
  "declarations": [
3364
3552
  {
3365
3553
  "kind": "variable",
3366
- "name": "foundationAiCriteriaSearchTemplate",
3554
+ "name": "foundationAiIndicatorTemplate",
3367
3555
  "type": {
3368
- "text": "ViewTemplate<AiCriteriaSearch>"
3556
+ "text": "ViewTemplate<AiIndicator>"
3369
3557
  },
3370
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3371
3559
  }
3372
3560
  ],
3373
3561
  "exports": [
3374
3562
  {
3375
3563
  "kind": "js",
3376
- "name": "foundationAiCriteriaSearchTemplate",
3564
+ "name": "foundationAiIndicatorTemplate",
3377
3565
  "declaration": {
3378
- "name": "foundationAiCriteriaSearchTemplate",
3379
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3380
3568
  }
3381
3569
  }
3382
3570
  ]
3383
3571
  },
3384
3572
  {
3385
- "kind": "javascript-module",
3386
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3387
- "declarations": [
3388
- {
3389
- "kind": "class",
3390
- "description": "Natural-language criteria search input with AI interpretation.",
3391
- "name": "AiCriteriaSearch",
3392
- "members": [
3393
- {
3394
- "kind": "field",
3395
- "name": "aiProvider",
3396
- "type": {
3397
- "text": "AIProvider"
3398
- }
3399
- },
3400
- {
3401
- "kind": "field",
3402
- "name": "placeholder",
3403
- "type": {
3404
- "text": "string"
3405
- },
3406
- "default": "'Describe your search criteria in natural language...'"
3407
- },
3408
- {
3409
- "kind": "field",
3410
- "name": "disabled",
3411
- "type": {
3412
- "text": "boolean"
3413
- }
3414
- },
3415
- {
3416
- "kind": "field",
3417
- "name": "inputValue",
3418
- "type": {
3419
- "text": "string"
3420
- },
3421
- "default": "''"
3422
- },
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3575
+ "declarations": [
3576
+ {
3577
+ "kind": "class",
3578
+ "description": "",
3579
+ "name": "AiIndicator",
3580
+ "members": [
3423
3581
  {
3424
3582
  "kind": "field",
3425
- "name": "isInterpreting",
3583
+ "name": "aiProvider",
3426
3584
  "type": {
3427
- "text": "boolean"
3428
- },
3429
- "default": "false"
3585
+ "text": "AIProvider"
3586
+ }
3430
3587
  },
3431
3588
  {
3432
3589
  "kind": "field",
3433
- "name": "lastValidCriteria",
3590
+ "name": "status",
3434
3591
  "type": {
3435
- "text": "string | null"
3592
+ "text": "AIStatus | null"
3436
3593
  },
3437
3594
  "default": "null"
3438
3595
  },
3439
3596
  {
3440
3597
  "kind": "field",
3441
- "name": "activeGroups",
3442
- "type": {
3443
- "text": "CriteriaGroup[]"
3444
- },
3445
- "default": "[]"
3446
- },
3447
- {
3448
- "kind": "field",
3449
- "name": "showingChips",
3598
+ "name": "open",
3450
3599
  "type": {
3451
3600
  "text": "boolean"
3452
3601
  },
@@ -3454,15 +3603,15 @@
3454
3603
  },
3455
3604
  {
3456
3605
  "kind": "field",
3457
- "name": "fieldMetadata",
3606
+ "name": "state",
3458
3607
  "type": {
3459
- "text": "MetadataDetail[] | string[]"
3608
+ "text": "AIIndicatorState"
3460
3609
  },
3461
- "default": "[]"
3610
+ "default": "'none'"
3462
3611
  },
3463
3612
  {
3464
3613
  "kind": "field",
3465
- "name": "isRecording",
3614
+ "name": "isInstalling",
3466
3615
  "type": {
3467
3616
  "text": "boolean"
3468
3617
  },
@@ -3470,33 +3619,29 @@
3470
3619
  },
3471
3620
  {
3472
3621
  "kind": "field",
3473
- "name": "textAreaRef",
3622
+ "name": "pollTimer",
3474
3623
  "type": {
3475
- "text": "HTMLTextAreaElement"
3624
+ "text": "ReturnType<typeof setInterval> | null"
3476
3625
  },
3477
- "privacy": "public"
3626
+ "privacy": "private",
3627
+ "default": "null"
3478
3628
  },
3479
3629
  {
3480
3630
  "kind": "field",
3481
- "name": "stopRecording",
3482
- "type": {
3483
- "text": "(() => void) | null"
3484
- },
3485
- "privacy": "private",
3486
- "default": "null"
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3487
3633
  },
3488
3634
  {
3489
3635
  "kind": "field",
3490
- "name": "speechApplyDebounceTimer",
3636
+ "name": "chromeStatusLabel",
3491
3637
  "type": {
3492
- "text": "ReturnType<typeof setTimeout> | null"
3638
+ "text": "string | null"
3493
3639
  },
3494
- "privacy": "private",
3495
- "default": "null"
3640
+ "readonly": true
3496
3641
  },
3497
3642
  {
3498
3643
  "kind": "field",
3499
- "name": "speechAvailable",
3644
+ "name": "canInstall",
3500
3645
  "type": {
3501
3646
  "text": "boolean"
3502
3647
  },
@@ -3504,65 +3649,69 @@
3504
3649
  },
3505
3650
  {
3506
3651
  "kind": "field",
3507
- "name": "criteriaChips",
3652
+ "name": "isDownloading",
3508
3653
  "type": {
3509
- "text": "CriteriaChip[]"
3654
+ "text": "boolean"
3510
3655
  },
3511
3656
  "readonly": true
3512
3657
  },
3513
3658
  {
3514
3659
  "kind": "method",
3515
- "name": "getFieldLabel",
3516
- "privacy": "private",
3660
+ "name": "openChanged",
3517
3661
  "return": {
3518
3662
  "type": {
3519
- "text": "string"
3663
+ "text": "void"
3520
3664
  }
3521
- },
3665
+ }
3666
+ },
3667
+ {
3668
+ "kind": "method",
3669
+ "name": "handleClickOutside",
3670
+ "privacy": "private",
3522
3671
  "parameters": [
3523
3672
  {
3524
- "name": "fieldName",
3673
+ "name": "event",
3525
3674
  "type": {
3526
- "text": "string"
3675
+ "text": "MouseEvent"
3527
3676
  }
3528
3677
  }
3529
3678
  ]
3530
3679
  },
3531
3680
  {
3532
3681
  "kind": "method",
3533
- "name": "toggleCriteriaView",
3682
+ "name": "toggleDropdown"
3683
+ },
3684
+ {
3685
+ "kind": "method",
3686
+ "name": "refreshStatus",
3534
3687
  "return": {
3535
3688
  "type": {
3536
- "text": "void"
3689
+ "text": "Promise<void>"
3537
3690
  }
3538
3691
  }
3539
3692
  },
3540
3693
  {
3541
3694
  "kind": "method",
3542
- "name": "removeChip",
3695
+ "name": "deriveState",
3696
+ "privacy": "private",
3543
3697
  "return": {
3544
3698
  "type": {
3545
- "text": "void"
3699
+ "text": "AIIndicatorState"
3546
3700
  }
3547
3701
  },
3548
3702
  "parameters": [
3549
3703
  {
3550
- "name": "groupIndex",
3551
- "type": {
3552
- "text": "number"
3553
- }
3554
- },
3555
- {
3556
- "name": "clauseIndex",
3704
+ "name": "s",
3557
3705
  "type": {
3558
- "text": "number"
3706
+ "text": "AIStatus | null"
3559
3707
  }
3560
3708
  }
3561
3709
  ]
3562
3710
  },
3563
3711
  {
3564
3712
  "kind": "method",
3565
- "name": "clearChips",
3713
+ "name": "maybeStartPolling",
3714
+ "privacy": "private",
3566
3715
  "return": {
3567
3716
  "type": {
3568
3717
  "text": "void"
@@ -3571,24 +3720,32 @@
3571
3720
  },
3572
3721
  {
3573
3722
  "kind": "method",
3574
- "name": "handleSubmit"
3575
- },
3576
- {
3577
- "kind": "method",
3578
- "name": "handleBlur"
3579
- },
3580
- {
3581
- "kind": "method",
3582
- "name": "clear"
3723
+ "name": "startPolling",
3724
+ "privacy": "private",
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3729
+ }
3583
3730
  },
3584
3731
  {
3585
3732
  "kind": "method",
3586
- "name": "toggleSpeechInput"
3733
+ "name": "stopPolling",
3734
+ "privacy": "private",
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3739
+ }
3587
3740
  },
3588
3741
  {
3589
3742
  "kind": "method",
3590
- "name": "clearSpeechApplyDebounce",
3591
- "privacy": "private"
3743
+ "name": "onInstall",
3744
+ "return": {
3745
+ "type": {
3746
+ "text": "Promise<void>"
3747
+ }
3748
+ }
3592
3749
  },
3593
3750
  {
3594
3751
  "kind": "field",
@@ -3702,245 +3859,88 @@
3702
3859
  }
3703
3860
  }
3704
3861
  ],
3705
- "events": [
3706
- {
3707
- "description": "Fired when interpreted criteria is applied or cleared",
3708
- "name": "criteria-changed"
3709
- },
3710
- {
3711
- "description": "Fired when interpreted criteria contains invalid clauses",
3712
- "name": "validation-errors"
3713
- }
3714
- ],
3715
- "attributes": [
3716
- {
3717
- "name": "placeholder",
3718
- "type": {
3719
- "text": "string"
3720
- },
3721
- "default": "'Describe your search criteria in natural language...'",
3722
- "fieldName": "placeholder"
3723
- },
3724
- {
3725
- "type": {
3726
- "text": "boolean"
3727
- },
3728
- "fieldName": "disabled"
3729
- }
3730
- ],
3731
3862
  "superclass": {
3732
3863
  "name": "FoundationElement",
3733
3864
  "package": "@microsoft/fast-foundation"
3734
3865
  },
3735
- "tagName": "%%prefix%%-ai-criteria-search",
3866
+ "tagName": "%%prefix%%-ai-indicator",
3736
3867
  "customElement": true
3737
3868
  },
3738
3869
  {
3739
3870
  "kind": "variable",
3740
- "name": "foundationAiCriteriaSearchShadowOptions",
3741
- "type": {
3742
- "text": "ShadowRootInit"
3743
- },
3744
- "default": "undefined"
3745
- },
3746
- {
3747
- "kind": "variable",
3748
- "name": "defaultAiCriteriaSearchConfig",
3749
- "type": {
3750
- "text": "object"
3751
- },
3752
- "default": "{}"
3753
- },
3754
- {
3755
- "kind": "variable",
3756
- "name": "foundationAiCriteriaSearch"
3871
+ "name": "foundationAiIndicator"
3757
3872
  }
3758
3873
  ],
3759
3874
  "exports": [
3760
3875
  {
3761
3876
  "kind": "js",
3762
- "name": "AiCriteriaSearch",
3763
- "declaration": {
3764
- "name": "AiCriteriaSearch",
3765
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3766
- }
3767
- },
3768
- {
3769
- "kind": "js",
3770
- "name": "foundationAiCriteriaSearchShadowOptions",
3771
- "declaration": {
3772
- "name": "foundationAiCriteriaSearchShadowOptions",
3773
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3774
- }
3775
- },
3776
- {
3777
- "kind": "js",
3778
- "name": "defaultAiCriteriaSearchConfig",
3779
- "declaration": {
3780
- "name": "defaultAiCriteriaSearchConfig",
3781
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3782
- }
3783
- },
3784
- {
3785
- "kind": "js",
3786
- "name": "foundationAiCriteriaSearch",
3787
- "declaration": {
3788
- "name": "foundationAiCriteriaSearch",
3789
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3790
- }
3791
- }
3792
- ]
3793
- },
3794
- {
3795
- "kind": "javascript-module",
3796
- "path": "src/ai-criteria-search/index.ts",
3797
- "declarations": [],
3798
- "exports": [
3799
- {
3800
- "kind": "js",
3801
- "name": "AiCriteriaSearch",
3802
- "declaration": {
3803
- "name": "AiCriteriaSearch",
3804
- "module": "./ai-criteria-search"
3805
- }
3806
- },
3807
- {
3808
- "kind": "js",
3809
- "name": "defaultAiCriteriaSearchConfig",
3810
- "declaration": {
3811
- "name": "defaultAiCriteriaSearchConfig",
3812
- "module": "./ai-criteria-search"
3813
- }
3814
- },
3815
- {
3816
- "kind": "js",
3817
- "name": "foundationAiCriteriaSearch",
3818
- "declaration": {
3819
- "name": "foundationAiCriteriaSearch",
3820
- "module": "./ai-criteria-search"
3821
- }
3822
- },
3823
- {
3824
- "kind": "js",
3825
- "name": "foundationAiCriteriaSearchShadowOptions",
3877
+ "name": "AiIndicator",
3826
3878
  "declaration": {
3827
- "name": "foundationAiCriteriaSearchShadowOptions",
3828
- "module": "./ai-criteria-search"
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3829
3881
  }
3830
3882
  },
3831
3883
  {
3832
3884
  "kind": "js",
3833
- "name": "foundationAiCriteriaSearchStyles",
3885
+ "name": "foundationAiIndicator",
3834
3886
  "declaration": {
3835
- "name": "foundationAiCriteriaSearchStyles",
3836
- "module": "./ai-criteria-search.styles"
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3837
3889
  }
3838
- },
3890
+ }
3891
+ ]
3892
+ },
3893
+ {
3894
+ "kind": "javascript-module",
3895
+ "path": "src/ai-indicator/index.ts",
3896
+ "declarations": [],
3897
+ "exports": [
3839
3898
  {
3840
3899
  "kind": "js",
3841
- "name": "foundationAiCriteriaSearchTemplate",
3900
+ "name": "AiIndicator",
3842
3901
  "declaration": {
3843
- "name": "foundationAiCriteriaSearchTemplate",
3844
- "module": "./ai-criteria-search.template"
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3845
3904
  }
3846
3905
  },
3847
3906
  {
3848
3907
  "kind": "js",
3849
- "name": "*",
3908
+ "name": "foundationAiIndicator",
3850
3909
  "declaration": {
3851
- "name": "*",
3852
- "package": "./validation/criteria-ir"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3853
3912
  }
3854
3913
  },
3855
3914
  {
3856
3915
  "kind": "js",
3857
- "name": "*",
3916
+ "name": "type",
3858
3917
  "declaration": {
3859
- "name": "*",
3860
- "package": "./validation/operator-map"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3861
3920
  }
3862
3921
  },
3863
3922
  {
3864
3923
  "kind": "js",
3865
- "name": "*",
3924
+ "name": "AIIndicatorState",
3866
3925
  "declaration": {
3867
- "name": "*",
3868
- "package": "./validation/schema-validator"
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3869
3928
  }
3870
- }
3871
- ]
3872
- },
3873
- {
3874
- "kind": "javascript-module",
3875
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3876
- "declarations": [
3877
- {
3878
- "kind": "function",
3879
- "name": "formatValidationErrors",
3880
- "return": {
3881
- "type": {
3882
- "text": "string"
3883
- }
3884
- },
3885
- "parameters": [
3886
- {
3887
- "name": "errors",
3888
- "type": {
3889
- "text": "ValidationError[]"
3890
- }
3891
- }
3892
- ],
3893
- "description": "Formats validation errors into a user-friendly message."
3894
3929
  },
3895
- {
3896
- "kind": "function",
3897
- "name": "showCriteriaError",
3898
- "return": {
3899
- "type": {
3900
- "text": "void"
3901
- }
3902
- },
3903
- "parameters": [
3904
- {
3905
- "name": "title",
3906
- "type": {
3907
- "text": "string"
3908
- },
3909
- "description": "Notification title (e.g. \"Criteria validation error\")"
3910
- },
3911
- {
3912
- "name": "body",
3913
- "type": {
3914
- "text": "string"
3915
- },
3916
- "description": "Error message to display"
3917
- },
3918
- {
3919
- "name": "tagName",
3920
- "type": {
3921
- "text": "string"
3922
- },
3923
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3924
- }
3925
- ],
3926
- "description": "Shows a criteria error as a toast notification."
3927
- }
3928
- ],
3929
- "exports": [
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "formatValidationErrors",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
3933
  "declaration": {
3934
- "name": "formatValidationErrors",
3935
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "showCriteriaError",
3940
+ "name": "foundationAiIndicatorStyles",
3941
3941
  "declaration": {
3942
- "name": "showCriteriaError",
3943
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3944
3944
  }
3945
3945
  }
3946
3946
  ]
@@ -14967,6 +14967,23 @@
14967
14967
  },
14968
14968
  "default": "'en-US'"
14969
14969
  },
14970
+ {
14971
+ "kind": "method",
14972
+ "name": "langChanged"
14973
+ },
14974
+ {
14975
+ "kind": "field",
14976
+ "name": "useLocaleFormat",
14977
+ "type": {
14978
+ "text": "boolean"
14979
+ },
14980
+ "default": "false",
14981
+ "attribute": "use-locale-format"
14982
+ },
14983
+ {
14984
+ "kind": "method",
14985
+ "name": "useLocaleFormatChanged"
14986
+ },
14970
14987
  {
14971
14988
  "kind": "field",
14972
14989
  "name": "visible",
@@ -15011,65 +15028,257 @@
15011
15028
  "attribute": "position"
15012
15029
  },
15013
15030
  {
15014
- "kind": "field",
15015
- "name": "label",
15016
- "type": {
15017
- "text": "string"
15031
+ "kind": "field",
15032
+ "name": "label",
15033
+ "type": {
15034
+ "text": "string"
15035
+ },
15036
+ "attribute": "label"
15037
+ },
15038
+ {
15039
+ "kind": "field",
15040
+ "name": "allowEmpty",
15041
+ "type": {
15042
+ "text": "boolean"
15043
+ },
15044
+ "default": "false",
15045
+ "attribute": "allow-empty"
15046
+ },
15047
+ {
15048
+ "kind": "field",
15049
+ "name": "placeholder",
15050
+ "type": {
15051
+ "text": "string"
15052
+ },
15053
+ "attribute": "placeholder"
15054
+ },
15055
+ {
15056
+ "kind": "field",
15057
+ "name": "value",
15058
+ "type": {
15059
+ "text": "string"
15060
+ },
15061
+ "attribute": "value"
15062
+ },
15063
+ {
15064
+ "kind": "method",
15065
+ "name": "valueChanged",
15066
+ "parameters": [
15067
+ {
15068
+ "name": "oldValue",
15069
+ "type": {
15070
+ "text": "string"
15071
+ }
15072
+ },
15073
+ {
15074
+ "name": "newValue",
15075
+ "type": {
15076
+ "text": "string"
15077
+ }
15078
+ }
15079
+ ]
15080
+ },
15081
+ {
15082
+ "kind": "field",
15083
+ "name": "disabledDaysOfWeek",
15084
+ "type": {
15085
+ "text": "number[]"
15086
+ },
15087
+ "default": "[]",
15088
+ "privacy": "public"
15089
+ },
15090
+ {
15091
+ "kind": "field",
15092
+ "name": "calendar",
15093
+ "type": {
15094
+ "text": "Calendar"
15095
+ }
15096
+ },
15097
+ {
15098
+ "kind": "field",
15099
+ "name": "substringNumber",
15100
+ "type": {
15101
+ "text": "number"
15102
+ }
15103
+ },
15104
+ {
15105
+ "kind": "method",
15106
+ "name": "clear",
15107
+ "privacy": "public",
15108
+ "return": {
15109
+ "type": {
15110
+ "text": "void"
15111
+ }
15112
+ },
15113
+ "description": "Clears the selected date (only when `allow-empty` is enabled)."
15114
+ },
15115
+ {
15116
+ "kind": "method",
15117
+ "name": "applyLocaleFormat",
15118
+ "privacy": "private",
15119
+ "return": {
15120
+ "type": {
15121
+ "text": "void"
15122
+ }
15123
+ }
15124
+ },
15125
+ {
15126
+ "kind": "method",
15127
+ "name": "initializeEmpty",
15128
+ "privacy": "private",
15129
+ "return": {
15130
+ "type": {
15131
+ "text": "void"
15132
+ }
15133
+ }
15134
+ },
15135
+ {
15136
+ "kind": "method",
15137
+ "name": "initializeWithValue",
15138
+ "privacy": "private",
15139
+ "return": {
15140
+ "type": {
15141
+ "text": "void"
15142
+ }
15143
+ },
15144
+ "parameters": [
15145
+ {
15146
+ "name": "dateString",
15147
+ "type": {
15148
+ "text": "string"
15149
+ }
15150
+ }
15151
+ ]
15152
+ },
15153
+ {
15154
+ "kind": "method",
15155
+ "name": "initializeWithDefaultDate",
15156
+ "privacy": "private",
15157
+ "return": {
15158
+ "type": {
15159
+ "text": "void"
15160
+ }
15161
+ }
15162
+ },
15163
+ {
15164
+ "kind": "method",
15165
+ "name": "applyValue",
15166
+ "privacy": "private",
15167
+ "return": {
15168
+ "type": {
15169
+ "text": "void"
15170
+ }
15171
+ },
15172
+ "parameters": [
15173
+ {
15174
+ "name": "dateString",
15175
+ "type": {
15176
+ "text": "string"
15177
+ }
15178
+ }
15179
+ ]
15180
+ },
15181
+ {
15182
+ "kind": "method",
15183
+ "name": "clearToEmpty",
15184
+ "privacy": "private",
15185
+ "return": {
15186
+ "type": {
15187
+ "text": "void"
15188
+ }
15018
15189
  },
15019
- "attribute": "label"
15190
+ "parameters": [
15191
+ {
15192
+ "name": "emitEvent",
15193
+ "type": {
15194
+ "text": "boolean"
15195
+ }
15196
+ }
15197
+ ]
15020
15198
  },
15021
15199
  {
15022
- "kind": "field",
15023
- "name": "value",
15024
- "type": {
15025
- "text": "string"
15026
- },
15027
- "attribute": "value"
15200
+ "kind": "method",
15201
+ "name": "updateHeaderText",
15202
+ "return": {
15203
+ "type": {
15204
+ "text": "void"
15205
+ }
15206
+ }
15028
15207
  },
15029
15208
  {
15030
15209
  "kind": "method",
15031
- "name": "valueChanged",
15210
+ "name": "visibleChanged",
15211
+ "privacy": "protected",
15212
+ "return": {
15213
+ "type": {
15214
+ "text": "void"
15215
+ }
15216
+ },
15032
15217
  "parameters": [
15033
15218
  {
15034
- "name": "oldValue",
15219
+ "name": "_prev",
15035
15220
  "type": {
15036
- "text": "string"
15221
+ "text": "boolean"
15037
15222
  }
15038
15223
  },
15039
15224
  {
15040
- "name": "newValue",
15225
+ "name": "next",
15041
15226
  "type": {
15042
- "text": "string"
15227
+ "text": "boolean"
15043
15228
  }
15044
15229
  }
15045
15230
  ]
15046
15231
  },
15047
15232
  {
15048
15233
  "kind": "field",
15049
- "name": "disabledDaysOfWeek",
15050
- "type": {
15051
- "text": "number[]"
15052
- },
15053
- "default": "[]",
15054
- "privacy": "public"
15234
+ "name": "clickOutside",
15235
+ "privacy": "private"
15055
15236
  },
15056
15237
  {
15057
15238
  "kind": "field",
15058
- "name": "calendar",
15059
- "type": {
15060
- "text": "Calendar"
15061
- }
15239
+ "name": "keydownOutside",
15240
+ "privacy": "private"
15062
15241
  },
15063
15242
  {
15064
- "kind": "field",
15065
- "name": "substringNumber",
15066
- "type": {
15067
- "text": "number"
15068
- }
15243
+ "kind": "method",
15244
+ "name": "handleKeydownOutside",
15245
+ "privacy": "private",
15246
+ "return": {
15247
+ "type": {
15248
+ "text": "void"
15249
+ }
15250
+ },
15251
+ "parameters": [
15252
+ {
15253
+ "name": "event",
15254
+ "type": {
15255
+ "text": "KeyboardEvent"
15256
+ }
15257
+ }
15258
+ ]
15069
15259
  },
15070
15260
  {
15071
15261
  "kind": "method",
15072
- "name": "updateHeaderText",
15262
+ "name": "handleClickOutside",
15263
+ "privacy": "private",
15264
+ "return": {
15265
+ "type": {
15266
+ "text": "void"
15267
+ }
15268
+ },
15269
+ "parameters": [
15270
+ {
15271
+ "name": "event",
15272
+ "type": {
15273
+ "text": "MouseEvent"
15274
+ }
15275
+ }
15276
+ ]
15277
+ },
15278
+ {
15279
+ "kind": "method",
15280
+ "name": "closeCalendar",
15281
+ "privacy": "private",
15073
15282
  "return": {
15074
15283
  "type": {
15075
15284
  "text": "void"
@@ -15286,6 +15495,15 @@
15286
15495
  "fieldName": "format",
15287
15496
  "description": "date format that will be displayed."
15288
15497
  },
15498
+ {
15499
+ "name": "use-locale-format",
15500
+ "type": {
15501
+ "text": "boolean"
15502
+ },
15503
+ "default": "false",
15504
+ "fieldName": "useLocaleFormat",
15505
+ "description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element."
15506
+ },
15289
15507
  {
15290
15508
  "name": "inline-calendar",
15291
15509
  "type": {
@@ -15321,6 +15539,23 @@
15321
15539
  "fieldName": "label",
15322
15540
  "description": "the label that will be displayed next to the date input text field"
15323
15541
  },
15542
+ {
15543
+ "name": "allow-empty",
15544
+ "type": {
15545
+ "text": "boolean"
15546
+ },
15547
+ "default": "false",
15548
+ "fieldName": "allowEmpty",
15549
+ "description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date."
15550
+ },
15551
+ {
15552
+ "name": "placeholder",
15553
+ "type": {
15554
+ "text": "string"
15555
+ },
15556
+ "fieldName": "placeholder",
15557
+ "description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy)."
15558
+ },
15324
15559
  {
15325
15560
  "name": "value",
15326
15561
  "type": {
@@ -15346,6 +15581,15 @@
15346
15581
  "default": "'en-US'",
15347
15582
  "fieldName": "lang"
15348
15583
  },
15584
+ {
15585
+ "name": "use-locale-format",
15586
+ "type": {
15587
+ "text": "boolean"
15588
+ },
15589
+ "default": "false",
15590
+ "attribute": "use-locale-format",
15591
+ "fieldName": "useLocaleFormat"
15592
+ },
15349
15593
  {
15350
15594
  "name": "visible",
15351
15595
  "type": {
@@ -15389,6 +15633,23 @@
15389
15633
  "attribute": "label",
15390
15634
  "fieldName": "label"
15391
15635
  },
15636
+ {
15637
+ "name": "allow-empty",
15638
+ "type": {
15639
+ "text": "boolean"
15640
+ },
15641
+ "default": "false",
15642
+ "attribute": "allow-empty",
15643
+ "fieldName": "allowEmpty"
15644
+ },
15645
+ {
15646
+ "name": "placeholder",
15647
+ "type": {
15648
+ "text": "string"
15649
+ },
15650
+ "attribute": "placeholder",
15651
+ "fieldName": "placeholder"
15652
+ },
15392
15653
  {
15393
15654
  "name": "value",
15394
15655
  "type": {
@@ -15447,6 +15708,140 @@
15447
15708
  }
15448
15709
  ]
15449
15710
  },
15711
+ {
15712
+ "kind": "javascript-module",
15713
+ "path": "src/date-picker/date-picker.util.ts",
15714
+ "declarations": [
15715
+ {
15716
+ "kind": "function",
15717
+ "name": "resolveDayjsLocale",
15718
+ "return": {
15719
+ "type": {
15720
+ "text": "string"
15721
+ }
15722
+ },
15723
+ "parameters": [
15724
+ {
15725
+ "name": "lang",
15726
+ "type": {
15727
+ "text": "string"
15728
+ }
15729
+ }
15730
+ ],
15731
+ "description": "Maps BCP-47 tags to dayjs locale names (dayjs provides `en`, `en-gb`, not `en-US`).",
15732
+ "privacy": "public"
15733
+ },
15734
+ {
15735
+ "kind": "function",
15736
+ "name": "getBrowserLocale",
15737
+ "return": {
15738
+ "type": {
15739
+ "text": "string"
15740
+ }
15741
+ },
15742
+ "description": "Browser BCP-47 locale (e.g. `en-GB`), or `en` when unavailable (SSR/tests).",
15743
+ "privacy": "public"
15744
+ },
15745
+ {
15746
+ "kind": "function",
15747
+ "name": "getDisplayFormatForLang",
15748
+ "return": {
15749
+ "type": {
15750
+ "text": "string"
15751
+ }
15752
+ },
15753
+ "parameters": [
15754
+ {
15755
+ "name": "lang",
15756
+ "default": "'en'",
15757
+ "type": {
15758
+ "text": "string"
15759
+ }
15760
+ }
15761
+ ],
15762
+ "description": "Display format from dayjs locale `L` (e.g. en / en-US → MM/DD/YYYY, en-gb → DD/MM/YYYY).\nFalls back to `en` when the locale is not loaded in dayjs.",
15763
+ "privacy": "public"
15764
+ },
15765
+ {
15766
+ "kind": "function",
15767
+ "name": "formatToPlaceholder",
15768
+ "return": {
15769
+ "type": {
15770
+ "text": "string"
15771
+ }
15772
+ },
15773
+ "parameters": [
15774
+ {
15775
+ "name": "format",
15776
+ "type": {
15777
+ "text": "string"
15778
+ }
15779
+ }
15780
+ ],
15781
+ "description": "Maps a dayjs-style display format to a lowercase placeholder hint (e.g. DD/MM/YYYY → dd/mm/yyyy).",
15782
+ "privacy": "public"
15783
+ },
15784
+ {
15785
+ "kind": "function",
15786
+ "name": "hasDateValue",
15787
+ "return": {
15788
+ "type": {
15789
+ "text": "boolean"
15790
+ }
15791
+ },
15792
+ "parameters": [
15793
+ {
15794
+ "name": "value",
15795
+ "type": {
15796
+ "text": "string | null | undefined"
15797
+ }
15798
+ }
15799
+ ]
15800
+ }
15801
+ ],
15802
+ "exports": [
15803
+ {
15804
+ "kind": "js",
15805
+ "name": "resolveDayjsLocale",
15806
+ "declaration": {
15807
+ "name": "resolveDayjsLocale",
15808
+ "module": "src/date-picker/date-picker.util.ts"
15809
+ }
15810
+ },
15811
+ {
15812
+ "kind": "js",
15813
+ "name": "getBrowserLocale",
15814
+ "declaration": {
15815
+ "name": "getBrowserLocale",
15816
+ "module": "src/date-picker/date-picker.util.ts"
15817
+ }
15818
+ },
15819
+ {
15820
+ "kind": "js",
15821
+ "name": "getDisplayFormatForLang",
15822
+ "declaration": {
15823
+ "name": "getDisplayFormatForLang",
15824
+ "module": "src/date-picker/date-picker.util.ts"
15825
+ }
15826
+ },
15827
+ {
15828
+ "kind": "js",
15829
+ "name": "formatToPlaceholder",
15830
+ "declaration": {
15831
+ "name": "formatToPlaceholder",
15832
+ "module": "src/date-picker/date-picker.util.ts"
15833
+ }
15834
+ },
15835
+ {
15836
+ "kind": "js",
15837
+ "name": "hasDateValue",
15838
+ "declaration": {
15839
+ "name": "hasDateValue",
15840
+ "module": "src/date-picker/date-picker.util.ts"
15841
+ }
15842
+ }
15843
+ ]
15844
+ },
15450
15845
  {
15451
15846
  "kind": "javascript-module",
15452
15847
  "path": "src/date-picker/day.ts",
@@ -15720,6 +16115,14 @@
15720
16115
  "name": "*",
15721
16116
  "package": "./date-picker"
15722
16117
  }
16118
+ },
16119
+ {
16120
+ "kind": "js",
16121
+ "name": "*",
16122
+ "declaration": {
16123
+ "name": "*",
16124
+ "package": "./date-picker.util"
16125
+ }
15723
16126
  }
15724
16127
  ]
15725
16128
  },