@genesislcap/foundation-ui 15.41.0 → 15.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +573 -573
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -1493,6 +1493,37 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "javascript-module",
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1496
1527
|
{
|
|
1497
1528
|
"kind": "javascript-module",
|
|
1498
1529
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1887,37 +1918,6 @@
|
|
|
1887
1918
|
}
|
|
1888
1919
|
]
|
|
1889
1920
|
},
|
|
1890
|
-
{
|
|
1891
|
-
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/_config/index.ts",
|
|
1893
|
-
"declarations": [],
|
|
1894
|
-
"exports": [
|
|
1895
|
-
{
|
|
1896
|
-
"kind": "js",
|
|
1897
|
-
"name": "*",
|
|
1898
|
-
"declaration": {
|
|
1899
|
-
"name": "*",
|
|
1900
|
-
"package": "./styles"
|
|
1901
|
-
}
|
|
1902
|
-
},
|
|
1903
|
-
{
|
|
1904
|
-
"kind": "js",
|
|
1905
|
-
"name": "*",
|
|
1906
|
-
"declaration": {
|
|
1907
|
-
"name": "*",
|
|
1908
|
-
"package": "./tokens"
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
"kind": "js",
|
|
1913
|
-
"name": "*",
|
|
1914
|
-
"declaration": {
|
|
1915
|
-
"name": "*",
|
|
1916
|
-
"package": "./values"
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
]
|
|
1920
|
-
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"kind": "javascript-module",
|
|
1923
1923
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2491,208 +2491,275 @@
|
|
|
2491
2491
|
},
|
|
2492
2492
|
{
|
|
2493
2493
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2494
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2495
2495
|
"declarations": [
|
|
2496
2496
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2497
|
+
"kind": "function",
|
|
2498
|
+
"name": "foundationAccordionStyles",
|
|
2499
|
+
"return": {
|
|
2500
|
+
"type": {
|
|
2501
|
+
"text": "ElementStyles"
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
"parameters": [
|
|
2505
|
+
{
|
|
2506
|
+
"name": "context",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"text": "ElementDefinitionContext"
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"name": "definition",
|
|
2513
|
+
"type": {
|
|
2514
|
+
"text": "FoundationElementDefinition"
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
]
|
|
2500
2518
|
}
|
|
2501
2519
|
],
|
|
2502
2520
|
"exports": [
|
|
2503
2521
|
{
|
|
2504
2522
|
"kind": "js",
|
|
2505
|
-
"name": "
|
|
2523
|
+
"name": "foundationAccordionStyles",
|
|
2506
2524
|
"declaration": {
|
|
2507
|
-
"name": "
|
|
2508
|
-
"module": "src/
|
|
2525
|
+
"name": "foundationAccordionStyles",
|
|
2526
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2509
2527
|
}
|
|
2510
2528
|
}
|
|
2511
2529
|
]
|
|
2512
2530
|
},
|
|
2513
2531
|
{
|
|
2514
2532
|
"kind": "javascript-module",
|
|
2515
|
-
"path": "src/
|
|
2533
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2516
2534
|
"declarations": [
|
|
2517
2535
|
{
|
|
2518
|
-
"kind": "
|
|
2519
|
-
"name": "
|
|
2520
|
-
"
|
|
2521
|
-
"
|
|
2536
|
+
"kind": "function",
|
|
2537
|
+
"name": "foundationAccordionTemplate",
|
|
2538
|
+
"return": {
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "ViewTemplate<Accordion>"
|
|
2541
|
+
}
|
|
2522
2542
|
},
|
|
2523
|
-
"
|
|
2543
|
+
"parameters": [
|
|
2544
|
+
{
|
|
2545
|
+
"name": "context",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "ElementDefinitionContext"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "definition",
|
|
2552
|
+
"type": {
|
|
2553
|
+
"text": "FoundationElementDefinition"
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
]
|
|
2524
2557
|
}
|
|
2525
2558
|
],
|
|
2526
2559
|
"exports": [
|
|
2527
2560
|
{
|
|
2528
2561
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2562
|
+
"name": "foundationAccordionTemplate",
|
|
2530
2563
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/
|
|
2564
|
+
"name": "foundationAccordionTemplate",
|
|
2565
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2533
2566
|
}
|
|
2534
2567
|
}
|
|
2535
2568
|
]
|
|
2536
2569
|
},
|
|
2537
2570
|
{
|
|
2538
2571
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/
|
|
2572
|
+
"path": "src/accordion/accordion.ts",
|
|
2540
2573
|
"declarations": [
|
|
2541
2574
|
{
|
|
2542
2575
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2545
|
-
"
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "Accordion",
|
|
2578
|
+
"superclass": {
|
|
2579
|
+
"name": "FASTAccordion",
|
|
2580
|
+
"package": "@microsoft/fast-foundation"
|
|
2581
|
+
},
|
|
2582
|
+
"tagName": "%%prefix%%-accordion",
|
|
2583
|
+
"customElement": true,
|
|
2584
|
+
"attributes": [
|
|
2546
2585
|
{
|
|
2547
|
-
"
|
|
2548
|
-
"name": "providerRegistry",
|
|
2586
|
+
"name": "expand-mode",
|
|
2549
2587
|
"type": {
|
|
2550
|
-
"text": "
|
|
2588
|
+
"text": "AccordionExpandMode"
|
|
2589
|
+
},
|
|
2590
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
+
"fieldName": "expandmode",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2551
2595
|
}
|
|
2552
|
-
}
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"members": [
|
|
2553
2599
|
{
|
|
2554
2600
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2601
|
+
"name": "expandmode",
|
|
2556
2602
|
"type": {
|
|
2557
|
-
"text": "
|
|
2603
|
+
"text": "AccordionExpandMode"
|
|
2558
2604
|
},
|
|
2559
|
-
"
|
|
2605
|
+
"privacy": "public",
|
|
2606
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2607
|
+
"inheritedFrom": {
|
|
2608
|
+
"name": "Accordion",
|
|
2609
|
+
"module": "src/accordion/accordion.ts"
|
|
2610
|
+
}
|
|
2560
2611
|
},
|
|
2561
2612
|
{
|
|
2562
2613
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2614
|
+
"name": "activeid",
|
|
2564
2615
|
"type": {
|
|
2565
|
-
"text": "
|
|
2616
|
+
"text": "string | null"
|
|
2617
|
+
},
|
|
2618
|
+
"privacy": "private",
|
|
2619
|
+
"inheritedFrom": {
|
|
2620
|
+
"name": "Accordion",
|
|
2621
|
+
"module": "src/accordion/accordion.ts"
|
|
2566
2622
|
}
|
|
2567
2623
|
},
|
|
2568
2624
|
{
|
|
2569
2625
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2626
|
+
"name": "activeItemIndex",
|
|
2571
2627
|
"type": {
|
|
2572
|
-
"text": "
|
|
2628
|
+
"text": "number"
|
|
2573
2629
|
},
|
|
2574
|
-
"
|
|
2630
|
+
"privacy": "private",
|
|
2631
|
+
"default": "0",
|
|
2632
|
+
"inheritedFrom": {
|
|
2633
|
+
"name": "Accordion",
|
|
2634
|
+
"module": "src/accordion/accordion.ts"
|
|
2635
|
+
}
|
|
2575
2636
|
},
|
|
2576
2637
|
{
|
|
2577
2638
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2639
|
+
"name": "accordionIds",
|
|
2579
2640
|
"type": {
|
|
2580
|
-
"text": "
|
|
2641
|
+
"text": "Array<string | null>"
|
|
2581
2642
|
},
|
|
2582
|
-
"
|
|
2643
|
+
"privacy": "private",
|
|
2644
|
+
"inheritedFrom": {
|
|
2645
|
+
"name": "Accordion",
|
|
2646
|
+
"module": "src/accordion/accordion.ts"
|
|
2647
|
+
}
|
|
2583
2648
|
},
|
|
2584
2649
|
{
|
|
2585
2650
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2587
|
-
"
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2651
|
+
"name": "change",
|
|
2652
|
+
"privacy": "private",
|
|
2653
|
+
"inheritedFrom": {
|
|
2654
|
+
"name": "Accordion",
|
|
2655
|
+
"module": "src/accordion/accordion.ts"
|
|
2656
|
+
}
|
|
2591
2657
|
},
|
|
2592
2658
|
{
|
|
2593
|
-
"kind": "
|
|
2594
|
-
"name": "
|
|
2595
|
-
"
|
|
2596
|
-
|
|
2659
|
+
"kind": "method",
|
|
2660
|
+
"name": "findExpandedItem",
|
|
2661
|
+
"privacy": "private",
|
|
2662
|
+
"return": {
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "AccordionItem | null"
|
|
2665
|
+
}
|
|
2597
2666
|
},
|
|
2598
|
-
"
|
|
2667
|
+
"inheritedFrom": {
|
|
2668
|
+
"name": "Accordion",
|
|
2669
|
+
"module": "src/accordion/accordion.ts"
|
|
2670
|
+
}
|
|
2599
2671
|
},
|
|
2600
2672
|
{
|
|
2601
2673
|
"kind": "field",
|
|
2602
|
-
"name": "
|
|
2603
|
-
"
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2674
|
+
"name": "setItems",
|
|
2675
|
+
"privacy": "private",
|
|
2676
|
+
"inheritedFrom": {
|
|
2677
|
+
"name": "Accordion",
|
|
2678
|
+
"module": "src/accordion/accordion.ts"
|
|
2679
|
+
}
|
|
2607
2680
|
},
|
|
2608
2681
|
{
|
|
2609
|
-
"kind": "
|
|
2610
|
-
"name": "
|
|
2611
|
-
"
|
|
2612
|
-
|
|
2682
|
+
"kind": "method",
|
|
2683
|
+
"name": "resetItems",
|
|
2684
|
+
"privacy": "private",
|
|
2685
|
+
"return": {
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "void"
|
|
2688
|
+
}
|
|
2613
2689
|
},
|
|
2614
|
-
"
|
|
2690
|
+
"inheritedFrom": {
|
|
2691
|
+
"name": "Accordion",
|
|
2692
|
+
"module": "src/accordion/accordion.ts"
|
|
2693
|
+
}
|
|
2615
2694
|
},
|
|
2616
2695
|
{
|
|
2617
2696
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2619
|
-
"type": {
|
|
2620
|
-
"text": "boolean"
|
|
2621
|
-
},
|
|
2622
|
-
"default": "false"
|
|
2623
|
-
},
|
|
2624
|
-
{
|
|
2625
|
-
"kind": "field",
|
|
2626
|
-
"name": "textAreaRef",
|
|
2627
|
-
"type": {
|
|
2628
|
-
"text": "HTMLTextAreaElement"
|
|
2629
|
-
},
|
|
2630
|
-
"privacy": "public"
|
|
2631
|
-
},
|
|
2632
|
-
{
|
|
2633
|
-
"kind": "field",
|
|
2634
|
-
"name": "stopRecording",
|
|
2635
|
-
"type": {
|
|
2636
|
-
"text": "(() => void) | null"
|
|
2637
|
-
},
|
|
2697
|
+
"name": "removeItemListeners",
|
|
2638
2698
|
"privacy": "private",
|
|
2639
|
-
"
|
|
2699
|
+
"inheritedFrom": {
|
|
2700
|
+
"name": "Accordion",
|
|
2701
|
+
"module": "src/accordion/accordion.ts"
|
|
2702
|
+
}
|
|
2640
2703
|
},
|
|
2641
2704
|
{
|
|
2642
2705
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2644
|
-
"type": {
|
|
2645
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2646
|
-
},
|
|
2706
|
+
"name": "activeItemChange",
|
|
2647
2707
|
"privacy": "private",
|
|
2648
|
-
"
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
"name": "speechAvailable",
|
|
2653
|
-
"type": {
|
|
2654
|
-
"text": "boolean"
|
|
2655
|
-
},
|
|
2656
|
-
"readonly": true
|
|
2657
|
-
},
|
|
2658
|
-
{
|
|
2659
|
-
"kind": "field",
|
|
2660
|
-
"name": "criteriaChips",
|
|
2661
|
-
"type": {
|
|
2662
|
-
"text": "CriteriaChip[]"
|
|
2663
|
-
},
|
|
2664
|
-
"readonly": true
|
|
2708
|
+
"inheritedFrom": {
|
|
2709
|
+
"name": "Accordion",
|
|
2710
|
+
"module": "src/accordion/accordion.ts"
|
|
2711
|
+
}
|
|
2665
2712
|
},
|
|
2666
2713
|
{
|
|
2667
2714
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2715
|
+
"name": "getItemIds",
|
|
2669
2716
|
"privacy": "private",
|
|
2670
2717
|
"return": {
|
|
2671
2718
|
"type": {
|
|
2672
|
-
"text": "string"
|
|
2719
|
+
"text": "Array<string | null>"
|
|
2673
2720
|
}
|
|
2674
2721
|
},
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
"text": "string"
|
|
2680
|
-
}
|
|
2681
|
-
}
|
|
2682
|
-
]
|
|
2722
|
+
"inheritedFrom": {
|
|
2723
|
+
"name": "Accordion",
|
|
2724
|
+
"module": "src/accordion/accordion.ts"
|
|
2725
|
+
}
|
|
2683
2726
|
},
|
|
2684
2727
|
{
|
|
2685
2728
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2729
|
+
"name": "isSingleExpandMode",
|
|
2730
|
+
"privacy": "private",
|
|
2687
2731
|
"return": {
|
|
2688
2732
|
"type": {
|
|
2689
|
-
"text": "
|
|
2733
|
+
"text": "boolean"
|
|
2690
2734
|
}
|
|
2735
|
+
},
|
|
2736
|
+
"inheritedFrom": {
|
|
2737
|
+
"name": "Accordion",
|
|
2738
|
+
"module": "src/accordion/accordion.ts"
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "field",
|
|
2743
|
+
"name": "handleItemKeyDown",
|
|
2744
|
+
"privacy": "private",
|
|
2745
|
+
"inheritedFrom": {
|
|
2746
|
+
"name": "Accordion",
|
|
2747
|
+
"module": "src/accordion/accordion.ts"
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"kind": "field",
|
|
2752
|
+
"name": "handleItemFocus",
|
|
2753
|
+
"privacy": "private",
|
|
2754
|
+
"inheritedFrom": {
|
|
2755
|
+
"name": "Accordion",
|
|
2756
|
+
"module": "src/accordion/accordion.ts"
|
|
2691
2757
|
}
|
|
2692
2758
|
},
|
|
2693
2759
|
{
|
|
2694
2760
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2761
|
+
"name": "adjust",
|
|
2762
|
+
"privacy": "private",
|
|
2696
2763
|
"return": {
|
|
2697
2764
|
"type": {
|
|
2698
2765
|
"text": "void"
|
|
@@ -2700,49 +2767,31 @@
|
|
|
2700
2767
|
},
|
|
2701
2768
|
"parameters": [
|
|
2702
2769
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "number"
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "clauseIndex",
|
|
2770
|
+
"name": "adjustment",
|
|
2710
2771
|
"type": {
|
|
2711
2772
|
"text": "number"
|
|
2712
2773
|
}
|
|
2713
2774
|
}
|
|
2714
|
-
]
|
|
2775
|
+
],
|
|
2776
|
+
"inheritedFrom": {
|
|
2777
|
+
"name": "Accordion",
|
|
2778
|
+
"module": "src/accordion/accordion.ts"
|
|
2779
|
+
}
|
|
2715
2780
|
},
|
|
2716
2781
|
{
|
|
2717
2782
|
"kind": "method",
|
|
2718
|
-
"name": "
|
|
2783
|
+
"name": "focusItem",
|
|
2784
|
+
"privacy": "private",
|
|
2719
2785
|
"return": {
|
|
2720
2786
|
"type": {
|
|
2721
2787
|
"text": "void"
|
|
2722
2788
|
}
|
|
2789
|
+
},
|
|
2790
|
+
"inheritedFrom": {
|
|
2791
|
+
"name": "Accordion",
|
|
2792
|
+
"module": "src/accordion/accordion.ts"
|
|
2723
2793
|
}
|
|
2724
2794
|
},
|
|
2725
|
-
{
|
|
2726
|
-
"kind": "method",
|
|
2727
|
-
"name": "handleSubmit"
|
|
2728
|
-
},
|
|
2729
|
-
{
|
|
2730
|
-
"kind": "method",
|
|
2731
|
-
"name": "handleBlur"
|
|
2732
|
-
},
|
|
2733
|
-
{
|
|
2734
|
-
"kind": "method",
|
|
2735
|
-
"name": "clear"
|
|
2736
|
-
},
|
|
2737
|
-
{
|
|
2738
|
-
"kind": "method",
|
|
2739
|
-
"name": "toggleSpeechInput"
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "method",
|
|
2743
|
-
"name": "clearSpeechApplyDebounce",
|
|
2744
|
-
"privacy": "private"
|
|
2745
|
-
},
|
|
2746
2795
|
{
|
|
2747
2796
|
"kind": "field",
|
|
2748
2797
|
"name": "_presentation",
|
|
@@ -2857,48 +2906,26 @@
|
|
|
2857
2906
|
],
|
|
2858
2907
|
"events": [
|
|
2859
2908
|
{
|
|
2860
|
-
"description": "
|
|
2861
|
-
"name": "
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
}
|
|
2867
|
-
],
|
|
2868
|
-
"attributes": [
|
|
2869
|
-
{
|
|
2870
|
-
"name": "placeholder",
|
|
2871
|
-
"type": {
|
|
2872
|
-
"text": "string"
|
|
2873
|
-
},
|
|
2874
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
-
"fieldName": "placeholder"
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"type": {
|
|
2879
|
-
"text": "boolean"
|
|
2880
|
-
},
|
|
2881
|
-
"fieldName": "disabled"
|
|
2909
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2910
|
+
"name": "change",
|
|
2911
|
+
"inheritedFrom": {
|
|
2912
|
+
"name": "Accordion",
|
|
2913
|
+
"module": "src/accordion/accordion.ts"
|
|
2914
|
+
}
|
|
2882
2915
|
}
|
|
2883
|
-
]
|
|
2884
|
-
"superclass": {
|
|
2885
|
-
"name": "FoundationElement",
|
|
2886
|
-
"package": "@microsoft/fast-foundation"
|
|
2887
|
-
},
|
|
2888
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2889
|
-
"customElement": true
|
|
2916
|
+
]
|
|
2890
2917
|
},
|
|
2891
2918
|
{
|
|
2892
2919
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2920
|
+
"name": "foundationAccordionShadowOptions",
|
|
2894
2921
|
"type": {
|
|
2895
2922
|
"text": "ShadowRootInit"
|
|
2896
2923
|
},
|
|
2897
|
-
"default": "
|
|
2924
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2898
2925
|
},
|
|
2899
2926
|
{
|
|
2900
2927
|
"kind": "variable",
|
|
2901
|
-
"name": "
|
|
2928
|
+
"name": "defaultAccordionConfig",
|
|
2902
2929
|
"type": {
|
|
2903
2930
|
"text": "object"
|
|
2904
2931
|
},
|
|
@@ -2906,469 +2933,281 @@
|
|
|
2906
2933
|
},
|
|
2907
2934
|
{
|
|
2908
2935
|
"kind": "variable",
|
|
2909
|
-
"name": "
|
|
2936
|
+
"name": "foundationAccordion",
|
|
2937
|
+
"description": "The Foundation Accordion",
|
|
2938
|
+
"privacy": "public"
|
|
2910
2939
|
}
|
|
2911
2940
|
],
|
|
2912
2941
|
"exports": [
|
|
2913
2942
|
{
|
|
2914
2943
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2944
|
+
"name": "Accordion",
|
|
2916
2945
|
"declaration": {
|
|
2917
|
-
"name": "
|
|
2918
|
-
"module": "src/
|
|
2946
|
+
"name": "Accordion",
|
|
2947
|
+
"module": "src/accordion/accordion.ts"
|
|
2919
2948
|
}
|
|
2920
2949
|
},
|
|
2921
2950
|
{
|
|
2922
2951
|
"kind": "js",
|
|
2923
|
-
"name": "
|
|
2952
|
+
"name": "foundationAccordionShadowOptions",
|
|
2924
2953
|
"declaration": {
|
|
2925
|
-
"name": "
|
|
2926
|
-
"module": "src/
|
|
2954
|
+
"name": "foundationAccordionShadowOptions",
|
|
2955
|
+
"module": "src/accordion/accordion.ts"
|
|
2927
2956
|
}
|
|
2928
2957
|
},
|
|
2929
2958
|
{
|
|
2930
2959
|
"kind": "js",
|
|
2931
|
-
"name": "
|
|
2960
|
+
"name": "defaultAccordionConfig",
|
|
2932
2961
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/
|
|
2962
|
+
"name": "defaultAccordionConfig",
|
|
2963
|
+
"module": "src/accordion/accordion.ts"
|
|
2935
2964
|
}
|
|
2936
2965
|
},
|
|
2937
2966
|
{
|
|
2938
2967
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2968
|
+
"name": "foundationAccordion",
|
|
2940
2969
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationAccordion",
|
|
2971
|
+
"module": "src/accordion/accordion.ts"
|
|
2943
2972
|
}
|
|
2944
2973
|
}
|
|
2945
2974
|
]
|
|
2946
2975
|
},
|
|
2947
2976
|
{
|
|
2948
2977
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/
|
|
2978
|
+
"path": "src/accordion/index.ts",
|
|
2950
2979
|
"declarations": [],
|
|
2951
2980
|
"exports": [
|
|
2952
2981
|
{
|
|
2953
2982
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
2983
|
+
"name": "*",
|
|
2955
2984
|
"declaration": {
|
|
2956
|
-
"name": "
|
|
2957
|
-
"
|
|
2985
|
+
"name": "*",
|
|
2986
|
+
"package": "./accordion.template"
|
|
2958
2987
|
}
|
|
2959
2988
|
},
|
|
2960
2989
|
{
|
|
2961
2990
|
"kind": "js",
|
|
2962
|
-
"name": "
|
|
2991
|
+
"name": "*",
|
|
2963
2992
|
"declaration": {
|
|
2964
|
-
"name": "
|
|
2965
|
-
"
|
|
2993
|
+
"name": "*",
|
|
2994
|
+
"package": "./accordion.styles"
|
|
2966
2995
|
}
|
|
2967
2996
|
},
|
|
2968
2997
|
{
|
|
2969
2998
|
"kind": "js",
|
|
2970
|
-
"name": "
|
|
2999
|
+
"name": "*",
|
|
2971
3000
|
"declaration": {
|
|
2972
|
-
"name": "
|
|
2973
|
-
"
|
|
3001
|
+
"name": "*",
|
|
3002
|
+
"package": "./accordion"
|
|
2974
3003
|
}
|
|
2975
|
-
}
|
|
3004
|
+
}
|
|
3005
|
+
]
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "javascript-module",
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3010
|
+
"declarations": [
|
|
2976
3011
|
{
|
|
2977
|
-
"kind": "
|
|
2978
|
-
"name": "
|
|
2979
|
-
"
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
},
|
|
3012
|
+
"kind": "variable",
|
|
3013
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3014
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3015
|
+
}
|
|
3016
|
+
],
|
|
3017
|
+
"exports": [
|
|
2984
3018
|
{
|
|
2985
3019
|
"kind": "js",
|
|
2986
3020
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
3021
|
"declaration": {
|
|
2988
3022
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
-
"module": "
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2990
3024
|
}
|
|
2991
|
-
}
|
|
3025
|
+
}
|
|
3026
|
+
]
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "javascript-module",
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3031
|
+
"declarations": [
|
|
2992
3032
|
{
|
|
2993
|
-
"kind": "
|
|
3033
|
+
"kind": "variable",
|
|
2994
3034
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
-
"
|
|
2996
|
-
"
|
|
2997
|
-
"module": "./ai-criteria-search.template"
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "js",
|
|
3002
|
-
"name": "*",
|
|
3003
|
-
"declaration": {
|
|
3004
|
-
"name": "*",
|
|
3005
|
-
"package": "./validation/criteria-ir"
|
|
3006
|
-
}
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "js",
|
|
3010
|
-
"name": "*",
|
|
3011
|
-
"declaration": {
|
|
3012
|
-
"name": "*",
|
|
3013
|
-
"package": "./validation/operator-map"
|
|
3014
|
-
}
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "js",
|
|
3018
|
-
"name": "*",
|
|
3019
|
-
"declaration": {
|
|
3020
|
-
"name": "*",
|
|
3021
|
-
"package": "./validation/schema-validator"
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
-
"declarations": [
|
|
3030
|
-
{
|
|
3031
|
-
"kind": "function",
|
|
3032
|
-
"name": "formatValidationErrors",
|
|
3033
|
-
"return": {
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "errors",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ValidationError[]"
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"kind": "function",
|
|
3050
|
-
"name": "showCriteriaError",
|
|
3051
|
-
"return": {
|
|
3052
|
-
"type": {
|
|
3053
|
-
"text": "void"
|
|
3054
|
-
}
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3055
3037
|
},
|
|
3056
|
-
"
|
|
3057
|
-
{
|
|
3058
|
-
"name": "title",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "string"
|
|
3061
|
-
},
|
|
3062
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"name": "body",
|
|
3066
|
-
"type": {
|
|
3067
|
-
"text": "string"
|
|
3068
|
-
},
|
|
3069
|
-
"description": "Error message to display"
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
"name": "tagName",
|
|
3073
|
-
"type": {
|
|
3074
|
-
"text": "string"
|
|
3075
|
-
},
|
|
3076
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3080
3039
|
}
|
|
3081
3040
|
],
|
|
3082
3041
|
"exports": [
|
|
3083
3042
|
{
|
|
3084
3043
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
3086
|
-
"declaration": {
|
|
3087
|
-
"name": "formatValidationErrors",
|
|
3088
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
-
}
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "js",
|
|
3093
|
-
"name": "showCriteriaError",
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3094
3045
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"module": "src/ai-criteria-search/
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3097
3048
|
}
|
|
3098
3049
|
}
|
|
3099
3050
|
]
|
|
3100
3051
|
},
|
|
3101
3052
|
{
|
|
3102
3053
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3104
3055
|
"declarations": [
|
|
3105
3056
|
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"
|
|
3108
|
-
"
|
|
3109
|
-
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"parameters": [
|
|
3057
|
+
"kind": "class",
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"members": [
|
|
3114
3061
|
{
|
|
3115
|
-
"
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "providerRegistry",
|
|
3116
3064
|
"type": {
|
|
3117
|
-
"text": "
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3118
3066
|
}
|
|
3119
3067
|
},
|
|
3120
3068
|
{
|
|
3121
|
-
"
|
|
3122
|
-
"
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3127
|
-
}
|
|
3128
|
-
],
|
|
3129
|
-
"exports": [
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "js",
|
|
3132
|
-
"name": "foundationAccordionStyles",
|
|
3133
|
-
"declaration": {
|
|
3134
|
-
"name": "foundationAccordionStyles",
|
|
3135
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3136
|
-
}
|
|
3137
|
-
}
|
|
3138
|
-
]
|
|
3139
|
-
},
|
|
3140
|
-
{
|
|
3141
|
-
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3143
|
-
"declarations": [
|
|
3144
|
-
{
|
|
3145
|
-
"kind": "function",
|
|
3146
|
-
"name": "foundationAccordionTemplate",
|
|
3147
|
-
"return": {
|
|
3148
|
-
"type": {
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
"parameters": [
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3069
|
+
"kind": "field",
|
|
3070
|
+
"name": "placeholder",
|
|
3155
3071
|
"type": {
|
|
3156
|
-
"text": "
|
|
3157
|
-
}
|
|
3072
|
+
"text": "string"
|
|
3073
|
+
},
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3158
3075
|
},
|
|
3159
3076
|
{
|
|
3160
|
-
"
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "disabled",
|
|
3161
3079
|
"type": {
|
|
3162
|
-
"text": "
|
|
3080
|
+
"text": "boolean"
|
|
3163
3081
|
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3166
|
-
}
|
|
3167
|
-
],
|
|
3168
|
-
"exports": [
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "js",
|
|
3171
|
-
"name": "foundationAccordionTemplate",
|
|
3172
|
-
"declaration": {
|
|
3173
|
-
"name": "foundationAccordionTemplate",
|
|
3174
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3175
|
-
}
|
|
3176
|
-
}
|
|
3177
|
-
]
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/accordion/accordion.ts",
|
|
3182
|
-
"declarations": [
|
|
3183
|
-
{
|
|
3184
|
-
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "Accordion",
|
|
3187
|
-
"superclass": {
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3082
|
+
},
|
|
3194
3083
|
{
|
|
3195
|
-
"
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "inputValue",
|
|
3196
3086
|
"type": {
|
|
3197
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3198
3088
|
},
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3089
|
+
"default": "''"
|
|
3090
|
+
},
|
|
3208
3091
|
{
|
|
3209
3092
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3093
|
+
"name": "isInterpreting",
|
|
3211
3094
|
"type": {
|
|
3212
|
-
"text": "
|
|
3095
|
+
"text": "boolean"
|
|
3213
3096
|
},
|
|
3214
|
-
"
|
|
3215
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
-
"inheritedFrom": {
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3097
|
+
"default": "false"
|
|
3220
3098
|
},
|
|
3221
3099
|
{
|
|
3222
3100
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3224
3102
|
"type": {
|
|
3225
3103
|
"text": "string | null"
|
|
3226
3104
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3105
|
+
"default": "null"
|
|
3232
3106
|
},
|
|
3233
3107
|
{
|
|
3234
3108
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3109
|
+
"name": "activeGroups",
|
|
3236
3110
|
"type": {
|
|
3237
|
-
"text": "
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3238
3112
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3113
|
+
"default": "[]"
|
|
3245
3114
|
},
|
|
3246
3115
|
{
|
|
3247
3116
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3117
|
+
"name": "showingChips",
|
|
3249
3118
|
"type": {
|
|
3250
|
-
"text": "
|
|
3119
|
+
"text": "boolean"
|
|
3251
3120
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3121
|
+
"default": "false"
|
|
3257
3122
|
},
|
|
3258
3123
|
{
|
|
3259
3124
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3126
|
+
"type": {
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "[]"
|
|
3266
3130
|
},
|
|
3267
3131
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "isRecording",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "boolean"
|
|
3275
3136
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3137
|
+
"default": "false"
|
|
3280
3138
|
},
|
|
3281
3139
|
{
|
|
3282
3140
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
}
|
|
3141
|
+
"name": "textAreaRef",
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3144
|
+
},
|
|
3145
|
+
"privacy": "public"
|
|
3289
3146
|
},
|
|
3290
3147
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3148
|
+
"kind": "field",
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3298
3152
|
},
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3153
|
+
"privacy": "private",
|
|
3154
|
+
"default": "null"
|
|
3303
3155
|
},
|
|
3304
3156
|
{
|
|
3305
3157
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3307
3162
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
"name": "Accordion",
|
|
3310
|
-
"module": "src/accordion/accordion.ts"
|
|
3311
|
-
}
|
|
3163
|
+
"default": "null"
|
|
3312
3164
|
},
|
|
3313
3165
|
{
|
|
3314
3166
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3316
|
-
"
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
}
|
|
3167
|
+
"name": "speechAvailable",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3321
3172
|
},
|
|
3322
3173
|
{
|
|
3323
|
-
"kind": "
|
|
3324
|
-
"name": "
|
|
3325
|
-
"
|
|
3326
|
-
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "Array<string | null>"
|
|
3329
|
-
}
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3330
3178
|
},
|
|
3331
|
-
"
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
|
-
}
|
|
3179
|
+
"readonly": true
|
|
3335
3180
|
},
|
|
3336
3181
|
{
|
|
3337
3182
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3339
3184
|
"privacy": "private",
|
|
3340
3185
|
"return": {
|
|
3341
3186
|
"type": {
|
|
3342
|
-
"text": "
|
|
3187
|
+
"text": "string"
|
|
3343
3188
|
}
|
|
3344
3189
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3190
|
+
"parameters": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "fieldName",
|
|
3193
|
+
"type": {
|
|
3194
|
+
"text": "string"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
]
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"kind": "method",
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3202
|
+
"return": {
|
|
3203
|
+
"type": {
|
|
3204
|
+
"text": "void"
|
|
3205
|
+
}
|
|
3366
3206
|
}
|
|
3367
3207
|
},
|
|
3368
3208
|
{
|
|
3369
3209
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3210
|
+
"name": "removeChip",
|
|
3372
3211
|
"return": {
|
|
3373
3212
|
"type": {
|
|
3374
3213
|
"text": "void"
|
|
@@ -3376,31 +3215,49 @@
|
|
|
3376
3215
|
},
|
|
3377
3216
|
"parameters": [
|
|
3378
3217
|
{
|
|
3379
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3380
3225
|
"type": {
|
|
3381
3226
|
"text": "number"
|
|
3382
3227
|
}
|
|
3383
3228
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3229
|
+
]
|
|
3389
3230
|
},
|
|
3390
3231
|
{
|
|
3391
3232
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3233
|
+
"name": "clearChips",
|
|
3394
3234
|
"return": {
|
|
3395
3235
|
"type": {
|
|
3396
3236
|
"text": "void"
|
|
3397
3237
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3238
|
}
|
|
3403
3239
|
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "method",
|
|
3246
|
+
"name": "handleBlur"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "method",
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"kind": "method",
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3260
|
+
},
|
|
3404
3261
|
{
|
|
3405
3262
|
"kind": "field",
|
|
3406
3263
|
"name": "_presentation",
|
|
@@ -3515,26 +3372,48 @@
|
|
|
3515
3372
|
],
|
|
3516
3373
|
"events": [
|
|
3517
3374
|
{
|
|
3518
|
-
"description": "
|
|
3519
|
-
"name": "
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3524
3381
|
}
|
|
3525
|
-
]
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3384
|
+
{
|
|
3385
|
+
"name": "placeholder",
|
|
3386
|
+
"type": {
|
|
3387
|
+
"text": "string"
|
|
3388
|
+
},
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "disabled"
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3399
|
+
"superclass": {
|
|
3400
|
+
"name": "FoundationElement",
|
|
3401
|
+
"package": "@microsoft/fast-foundation"
|
|
3402
|
+
},
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
+
"customElement": true
|
|
3526
3405
|
},
|
|
3527
3406
|
{
|
|
3528
3407
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3409
|
"type": {
|
|
3531
3410
|
"text": "ShadowRootInit"
|
|
3532
3411
|
},
|
|
3533
|
-
"default": "
|
|
3412
|
+
"default": "undefined"
|
|
3534
3413
|
},
|
|
3535
3414
|
{
|
|
3536
3415
|
"kind": "variable",
|
|
3537
|
-
"name": "
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3538
3417
|
"type": {
|
|
3539
3418
|
"text": "object"
|
|
3540
3419
|
},
|
|
@@ -3542,57 +3421,103 @@
|
|
|
3542
3421
|
},
|
|
3543
3422
|
{
|
|
3544
3423
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3548
3425
|
}
|
|
3549
3426
|
],
|
|
3550
3427
|
"exports": [
|
|
3551
3428
|
{
|
|
3552
3429
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3554
3431
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3557
3434
|
}
|
|
3558
3435
|
},
|
|
3559
3436
|
{
|
|
3560
3437
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3439
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3565
3442
|
}
|
|
3566
3443
|
},
|
|
3567
3444
|
{
|
|
3568
3445
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3570
3447
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3450
|
}
|
|
3574
3451
|
},
|
|
3575
3452
|
{
|
|
3576
3453
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3578
3455
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3456
|
+
"name": "foundationAiCriteriaSearch",
|
|
3457
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3581
3458
|
}
|
|
3582
3459
|
}
|
|
3583
3460
|
]
|
|
3584
3461
|
},
|
|
3585
3462
|
{
|
|
3586
3463
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3464
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3588
3465
|
"declarations": [],
|
|
3589
3466
|
"exports": [
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "js",
|
|
3469
|
+
"name": "AiCriteriaSearch",
|
|
3470
|
+
"declaration": {
|
|
3471
|
+
"name": "AiCriteriaSearch",
|
|
3472
|
+
"module": "./ai-criteria-search"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "js",
|
|
3477
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
+
"declaration": {
|
|
3479
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
+
"module": "./ai-criteria-search"
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"kind": "js",
|
|
3485
|
+
"name": "foundationAiCriteriaSearch",
|
|
3486
|
+
"declaration": {
|
|
3487
|
+
"name": "foundationAiCriteriaSearch",
|
|
3488
|
+
"module": "./ai-criteria-search"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "./ai-criteria-search"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
+
"module": "./ai-criteria-search.styles"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
+
"module": "./ai-criteria-search.template"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3590
3515
|
{
|
|
3591
3516
|
"kind": "js",
|
|
3592
3517
|
"name": "*",
|
|
3593
3518
|
"declaration": {
|
|
3594
3519
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3520
|
+
"package": "./validation/criteria-ir"
|
|
3596
3521
|
}
|
|
3597
3522
|
},
|
|
3598
3523
|
{
|
|
@@ -3600,7 +3525,7 @@
|
|
|
3600
3525
|
"name": "*",
|
|
3601
3526
|
"declaration": {
|
|
3602
3527
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3528
|
+
"package": "./validation/operator-map"
|
|
3604
3529
|
}
|
|
3605
3530
|
},
|
|
3606
3531
|
{
|
|
@@ -3608,7 +3533,82 @@
|
|
|
3608
3533
|
"name": "*",
|
|
3609
3534
|
"declaration": {
|
|
3610
3535
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3536
|
+
"package": "./validation/schema-validator"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "javascript-module",
|
|
3543
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
+
"declarations": [
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "function",
|
|
3547
|
+
"name": "formatValidationErrors",
|
|
3548
|
+
"return": {
|
|
3549
|
+
"type": {
|
|
3550
|
+
"text": "string"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"parameters": [
|
|
3554
|
+
{
|
|
3555
|
+
"name": "errors",
|
|
3556
|
+
"type": {
|
|
3557
|
+
"text": "ValidationError[]"
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"kind": "function",
|
|
3565
|
+
"name": "showCriteriaError",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "title",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"name": "body",
|
|
3581
|
+
"type": {
|
|
3582
|
+
"text": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "Error message to display"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "tagName",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"text": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
+
}
|
|
3593
|
+
],
|
|
3594
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "formatValidationErrors",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "showCriteriaError",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "showCriteriaError",
|
|
3611
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|