@genesislcap/foundation-ui 15.3.5 → 15.4.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 +541 -541
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -2420,208 +2420,275 @@
|
|
|
2420
2420
|
},
|
|
2421
2421
|
{
|
|
2422
2422
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2423
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2424
2424
|
"declarations": [
|
|
2425
2425
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2426
|
+
"kind": "function",
|
|
2427
|
+
"name": "foundationAccordionStyles",
|
|
2428
|
+
"return": {
|
|
2429
|
+
"type": {
|
|
2430
|
+
"text": "ElementStyles"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
"parameters": [
|
|
2434
|
+
{
|
|
2435
|
+
"name": "context",
|
|
2436
|
+
"type": {
|
|
2437
|
+
"text": "ElementDefinitionContext"
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"name": "definition",
|
|
2442
|
+
"type": {
|
|
2443
|
+
"text": "FoundationElementDefinition"
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
]
|
|
2429
2447
|
}
|
|
2430
2448
|
],
|
|
2431
2449
|
"exports": [
|
|
2432
2450
|
{
|
|
2433
2451
|
"kind": "js",
|
|
2434
|
-
"name": "
|
|
2452
|
+
"name": "foundationAccordionStyles",
|
|
2435
2453
|
"declaration": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"module": "src/
|
|
2454
|
+
"name": "foundationAccordionStyles",
|
|
2455
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2438
2456
|
}
|
|
2439
2457
|
}
|
|
2440
2458
|
]
|
|
2441
2459
|
},
|
|
2442
2460
|
{
|
|
2443
2461
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/
|
|
2462
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2445
2463
|
"declarations": [
|
|
2446
2464
|
{
|
|
2447
|
-
"kind": "
|
|
2448
|
-
"name": "
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2465
|
+
"kind": "function",
|
|
2466
|
+
"name": "foundationAccordionTemplate",
|
|
2467
|
+
"return": {
|
|
2468
|
+
"type": {
|
|
2469
|
+
"text": "ViewTemplate<Accordion>"
|
|
2470
|
+
}
|
|
2451
2471
|
},
|
|
2452
|
-
"
|
|
2472
|
+
"parameters": [
|
|
2473
|
+
{
|
|
2474
|
+
"name": "context",
|
|
2475
|
+
"type": {
|
|
2476
|
+
"text": "ElementDefinitionContext"
|
|
2477
|
+
}
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"name": "definition",
|
|
2481
|
+
"type": {
|
|
2482
|
+
"text": "FoundationElementDefinition"
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2453
2486
|
}
|
|
2454
2487
|
],
|
|
2455
2488
|
"exports": [
|
|
2456
2489
|
{
|
|
2457
2490
|
"kind": "js",
|
|
2458
|
-
"name": "
|
|
2491
|
+
"name": "foundationAccordionTemplate",
|
|
2459
2492
|
"declaration": {
|
|
2460
|
-
"name": "
|
|
2461
|
-
"module": "src/
|
|
2493
|
+
"name": "foundationAccordionTemplate",
|
|
2494
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2462
2495
|
}
|
|
2463
2496
|
}
|
|
2464
2497
|
]
|
|
2465
2498
|
},
|
|
2466
2499
|
{
|
|
2467
2500
|
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/
|
|
2501
|
+
"path": "src/accordion/accordion.ts",
|
|
2469
2502
|
"declarations": [
|
|
2470
2503
|
{
|
|
2471
2504
|
"kind": "class",
|
|
2472
|
-
"description": "
|
|
2473
|
-
"name": "
|
|
2474
|
-
"
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
},
|
|
2505
|
+
"description": "",
|
|
2506
|
+
"name": "Accordion",
|
|
2507
|
+
"superclass": {
|
|
2508
|
+
"name": "FASTAccordion",
|
|
2509
|
+
"package": "@microsoft/fast-foundation"
|
|
2510
|
+
},
|
|
2511
|
+
"tagName": "%%prefix%%-accordion",
|
|
2512
|
+
"customElement": true,
|
|
2513
|
+
"attributes": [
|
|
2482
2514
|
{
|
|
2483
|
-
"
|
|
2484
|
-
"name": "placeholder",
|
|
2515
|
+
"name": "expand-mode",
|
|
2485
2516
|
"type": {
|
|
2486
|
-
"text": "
|
|
2517
|
+
"text": "AccordionExpandMode"
|
|
2487
2518
|
},
|
|
2488
|
-
"
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "boolean"
|
|
2519
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2520
|
+
"fieldName": "expandmode",
|
|
2521
|
+
"inheritedFrom": {
|
|
2522
|
+
"name": "Accordion",
|
|
2523
|
+
"module": "src/accordion/accordion.ts"
|
|
2495
2524
|
}
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
"name": "inputValue",
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "string"
|
|
2502
|
-
},
|
|
2503
|
-
"default": "''"
|
|
2504
|
-
},
|
|
2525
|
+
}
|
|
2526
|
+
],
|
|
2527
|
+
"members": [
|
|
2505
2528
|
{
|
|
2506
2529
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2530
|
+
"name": "expandmode",
|
|
2508
2531
|
"type": {
|
|
2509
|
-
"text": "
|
|
2532
|
+
"text": "AccordionExpandMode"
|
|
2510
2533
|
},
|
|
2511
|
-
"
|
|
2534
|
+
"privacy": "public",
|
|
2535
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2536
|
+
"inheritedFrom": {
|
|
2537
|
+
"name": "Accordion",
|
|
2538
|
+
"module": "src/accordion/accordion.ts"
|
|
2539
|
+
}
|
|
2512
2540
|
},
|
|
2513
2541
|
{
|
|
2514
2542
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2543
|
+
"name": "activeid",
|
|
2516
2544
|
"type": {
|
|
2517
2545
|
"text": "string | null"
|
|
2518
2546
|
},
|
|
2519
|
-
"
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "CriteriaGroup[]"
|
|
2526
|
-
},
|
|
2527
|
-
"default": "[]"
|
|
2547
|
+
"privacy": "private",
|
|
2548
|
+
"inheritedFrom": {
|
|
2549
|
+
"name": "Accordion",
|
|
2550
|
+
"module": "src/accordion/accordion.ts"
|
|
2551
|
+
}
|
|
2528
2552
|
},
|
|
2529
2553
|
{
|
|
2530
2554
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2555
|
+
"name": "activeItemIndex",
|
|
2532
2556
|
"type": {
|
|
2533
|
-
"text": "
|
|
2557
|
+
"text": "number"
|
|
2534
2558
|
},
|
|
2535
|
-
"
|
|
2559
|
+
"privacy": "private",
|
|
2560
|
+
"default": "0",
|
|
2561
|
+
"inheritedFrom": {
|
|
2562
|
+
"name": "Accordion",
|
|
2563
|
+
"module": "src/accordion/accordion.ts"
|
|
2564
|
+
}
|
|
2536
2565
|
},
|
|
2537
2566
|
{
|
|
2538
2567
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2568
|
+
"name": "accordionIds",
|
|
2540
2569
|
"type": {
|
|
2541
|
-
"text": "
|
|
2570
|
+
"text": "Array<string | null>"
|
|
2542
2571
|
},
|
|
2543
|
-
"
|
|
2572
|
+
"privacy": "private",
|
|
2573
|
+
"inheritedFrom": {
|
|
2574
|
+
"name": "Accordion",
|
|
2575
|
+
"module": "src/accordion/accordion.ts"
|
|
2576
|
+
}
|
|
2544
2577
|
},
|
|
2545
2578
|
{
|
|
2546
2579
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2548
|
-
"
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2580
|
+
"name": "change",
|
|
2581
|
+
"privacy": "private",
|
|
2582
|
+
"inheritedFrom": {
|
|
2583
|
+
"name": "Accordion",
|
|
2584
|
+
"module": "src/accordion/accordion.ts"
|
|
2585
|
+
}
|
|
2552
2586
|
},
|
|
2553
2587
|
{
|
|
2554
|
-
"kind": "
|
|
2555
|
-
"name": "
|
|
2556
|
-
"
|
|
2557
|
-
|
|
2588
|
+
"kind": "method",
|
|
2589
|
+
"name": "findExpandedItem",
|
|
2590
|
+
"privacy": "private",
|
|
2591
|
+
"return": {
|
|
2592
|
+
"type": {
|
|
2593
|
+
"text": "AccordionItem | null"
|
|
2594
|
+
}
|
|
2558
2595
|
},
|
|
2559
|
-
"
|
|
2596
|
+
"inheritedFrom": {
|
|
2597
|
+
"name": "Accordion",
|
|
2598
|
+
"module": "src/accordion/accordion.ts"
|
|
2599
|
+
}
|
|
2560
2600
|
},
|
|
2561
2601
|
{
|
|
2562
2602
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "(() => void) | null"
|
|
2566
|
-
},
|
|
2603
|
+
"name": "setItems",
|
|
2567
2604
|
"privacy": "private",
|
|
2568
|
-
"
|
|
2605
|
+
"inheritedFrom": {
|
|
2606
|
+
"name": "Accordion",
|
|
2607
|
+
"module": "src/accordion/accordion.ts"
|
|
2608
|
+
}
|
|
2569
2609
|
},
|
|
2570
2610
|
{
|
|
2571
|
-
"kind": "
|
|
2572
|
-
"name": "
|
|
2573
|
-
"type": {
|
|
2574
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2575
|
-
},
|
|
2611
|
+
"kind": "method",
|
|
2612
|
+
"name": "resetItems",
|
|
2576
2613
|
"privacy": "private",
|
|
2577
|
-
"
|
|
2614
|
+
"return": {
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "void"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"inheritedFrom": {
|
|
2620
|
+
"name": "Accordion",
|
|
2621
|
+
"module": "src/accordion/accordion.ts"
|
|
2622
|
+
}
|
|
2578
2623
|
},
|
|
2579
2624
|
{
|
|
2580
2625
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2582
|
-
"
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2626
|
+
"name": "removeItemListeners",
|
|
2627
|
+
"privacy": "private",
|
|
2628
|
+
"inheritedFrom": {
|
|
2629
|
+
"name": "Accordion",
|
|
2630
|
+
"module": "src/accordion/accordion.ts"
|
|
2631
|
+
}
|
|
2586
2632
|
},
|
|
2587
2633
|
{
|
|
2588
2634
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2590
|
-
"
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2635
|
+
"name": "activeItemChange",
|
|
2636
|
+
"privacy": "private",
|
|
2637
|
+
"inheritedFrom": {
|
|
2638
|
+
"name": "Accordion",
|
|
2639
|
+
"module": "src/accordion/accordion.ts"
|
|
2640
|
+
}
|
|
2594
2641
|
},
|
|
2595
2642
|
{
|
|
2596
2643
|
"kind": "method",
|
|
2597
|
-
"name": "
|
|
2644
|
+
"name": "getItemIds",
|
|
2598
2645
|
"privacy": "private",
|
|
2599
2646
|
"return": {
|
|
2600
2647
|
"type": {
|
|
2601
|
-
"text": "string"
|
|
2648
|
+
"text": "Array<string | null>"
|
|
2602
2649
|
}
|
|
2603
2650
|
},
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
"text": "string"
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
]
|
|
2651
|
+
"inheritedFrom": {
|
|
2652
|
+
"name": "Accordion",
|
|
2653
|
+
"module": "src/accordion/accordion.ts"
|
|
2654
|
+
}
|
|
2612
2655
|
},
|
|
2613
2656
|
{
|
|
2614
2657
|
"kind": "method",
|
|
2615
|
-
"name": "
|
|
2658
|
+
"name": "isSingleExpandMode",
|
|
2659
|
+
"privacy": "private",
|
|
2616
2660
|
"return": {
|
|
2617
2661
|
"type": {
|
|
2618
|
-
"text": "
|
|
2662
|
+
"text": "boolean"
|
|
2619
2663
|
}
|
|
2664
|
+
},
|
|
2665
|
+
"inheritedFrom": {
|
|
2666
|
+
"name": "Accordion",
|
|
2667
|
+
"module": "src/accordion/accordion.ts"
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"kind": "field",
|
|
2672
|
+
"name": "handleItemKeyDown",
|
|
2673
|
+
"privacy": "private",
|
|
2674
|
+
"inheritedFrom": {
|
|
2675
|
+
"name": "Accordion",
|
|
2676
|
+
"module": "src/accordion/accordion.ts"
|
|
2677
|
+
}
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "field",
|
|
2681
|
+
"name": "handleItemFocus",
|
|
2682
|
+
"privacy": "private",
|
|
2683
|
+
"inheritedFrom": {
|
|
2684
|
+
"name": "Accordion",
|
|
2685
|
+
"module": "src/accordion/accordion.ts"
|
|
2620
2686
|
}
|
|
2621
2687
|
},
|
|
2622
2688
|
{
|
|
2623
2689
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2690
|
+
"name": "adjust",
|
|
2691
|
+
"privacy": "private",
|
|
2625
2692
|
"return": {
|
|
2626
2693
|
"type": {
|
|
2627
2694
|
"text": "void"
|
|
@@ -2629,49 +2696,31 @@
|
|
|
2629
2696
|
},
|
|
2630
2697
|
"parameters": [
|
|
2631
2698
|
{
|
|
2632
|
-
"name": "
|
|
2633
|
-
"type": {
|
|
2634
|
-
"text": "number"
|
|
2635
|
-
}
|
|
2636
|
-
},
|
|
2637
|
-
{
|
|
2638
|
-
"name": "clauseIndex",
|
|
2699
|
+
"name": "adjustment",
|
|
2639
2700
|
"type": {
|
|
2640
2701
|
"text": "number"
|
|
2641
2702
|
}
|
|
2642
2703
|
}
|
|
2643
|
-
]
|
|
2704
|
+
],
|
|
2705
|
+
"inheritedFrom": {
|
|
2706
|
+
"name": "Accordion",
|
|
2707
|
+
"module": "src/accordion/accordion.ts"
|
|
2708
|
+
}
|
|
2644
2709
|
},
|
|
2645
2710
|
{
|
|
2646
2711
|
"kind": "method",
|
|
2647
|
-
"name": "
|
|
2712
|
+
"name": "focusItem",
|
|
2713
|
+
"privacy": "private",
|
|
2648
2714
|
"return": {
|
|
2649
2715
|
"type": {
|
|
2650
2716
|
"text": "void"
|
|
2651
2717
|
}
|
|
2718
|
+
},
|
|
2719
|
+
"inheritedFrom": {
|
|
2720
|
+
"name": "Accordion",
|
|
2721
|
+
"module": "src/accordion/accordion.ts"
|
|
2652
2722
|
}
|
|
2653
2723
|
},
|
|
2654
|
-
{
|
|
2655
|
-
"kind": "method",
|
|
2656
|
-
"name": "handleSubmit"
|
|
2657
|
-
},
|
|
2658
|
-
{
|
|
2659
|
-
"kind": "method",
|
|
2660
|
-
"name": "handleBlur"
|
|
2661
|
-
},
|
|
2662
|
-
{
|
|
2663
|
-
"kind": "method",
|
|
2664
|
-
"name": "clear"
|
|
2665
|
-
},
|
|
2666
|
-
{
|
|
2667
|
-
"kind": "method",
|
|
2668
|
-
"name": "toggleSpeechInput"
|
|
2669
|
-
},
|
|
2670
|
-
{
|
|
2671
|
-
"kind": "method",
|
|
2672
|
-
"name": "clearSpeechApplyDebounce",
|
|
2673
|
-
"privacy": "private"
|
|
2674
|
-
},
|
|
2675
2724
|
{
|
|
2676
2725
|
"kind": "field",
|
|
2677
2726
|
"name": "_presentation",
|
|
@@ -2786,48 +2835,26 @@
|
|
|
2786
2835
|
],
|
|
2787
2836
|
"events": [
|
|
2788
2837
|
{
|
|
2789
|
-
"description": "
|
|
2790
|
-
"name": "
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
}
|
|
2796
|
-
],
|
|
2797
|
-
"attributes": [
|
|
2798
|
-
{
|
|
2799
|
-
"name": "placeholder",
|
|
2800
|
-
"type": {
|
|
2801
|
-
"text": "string"
|
|
2802
|
-
},
|
|
2803
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2804
|
-
"fieldName": "placeholder"
|
|
2805
|
-
},
|
|
2806
|
-
{
|
|
2807
|
-
"type": {
|
|
2808
|
-
"text": "boolean"
|
|
2809
|
-
},
|
|
2810
|
-
"fieldName": "disabled"
|
|
2838
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2839
|
+
"name": "change",
|
|
2840
|
+
"inheritedFrom": {
|
|
2841
|
+
"name": "Accordion",
|
|
2842
|
+
"module": "src/accordion/accordion.ts"
|
|
2843
|
+
}
|
|
2811
2844
|
}
|
|
2812
|
-
]
|
|
2813
|
-
"superclass": {
|
|
2814
|
-
"name": "FoundationElement",
|
|
2815
|
-
"package": "@microsoft/fast-foundation"
|
|
2816
|
-
},
|
|
2817
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2818
|
-
"customElement": true
|
|
2845
|
+
]
|
|
2819
2846
|
},
|
|
2820
2847
|
{
|
|
2821
2848
|
"kind": "variable",
|
|
2822
|
-
"name": "
|
|
2849
|
+
"name": "foundationAccordionShadowOptions",
|
|
2823
2850
|
"type": {
|
|
2824
2851
|
"text": "ShadowRootInit"
|
|
2825
2852
|
},
|
|
2826
|
-
"default": "
|
|
2853
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2827
2854
|
},
|
|
2828
2855
|
{
|
|
2829
2856
|
"kind": "variable",
|
|
2830
|
-
"name": "
|
|
2857
|
+
"name": "defaultAccordionConfig",
|
|
2831
2858
|
"type": {
|
|
2832
2859
|
"text": "object"
|
|
2833
2860
|
},
|
|
@@ -2835,469 +2862,281 @@
|
|
|
2835
2862
|
},
|
|
2836
2863
|
{
|
|
2837
2864
|
"kind": "variable",
|
|
2838
|
-
"name": "
|
|
2865
|
+
"name": "foundationAccordion",
|
|
2866
|
+
"description": "The Foundation Accordion",
|
|
2867
|
+
"privacy": "public"
|
|
2839
2868
|
}
|
|
2840
2869
|
],
|
|
2841
2870
|
"exports": [
|
|
2842
2871
|
{
|
|
2843
2872
|
"kind": "js",
|
|
2844
|
-
"name": "
|
|
2873
|
+
"name": "Accordion",
|
|
2845
2874
|
"declaration": {
|
|
2846
|
-
"name": "
|
|
2847
|
-
"module": "src/
|
|
2875
|
+
"name": "Accordion",
|
|
2876
|
+
"module": "src/accordion/accordion.ts"
|
|
2848
2877
|
}
|
|
2849
2878
|
},
|
|
2850
2879
|
{
|
|
2851
2880
|
"kind": "js",
|
|
2852
|
-
"name": "
|
|
2881
|
+
"name": "foundationAccordionShadowOptions",
|
|
2853
2882
|
"declaration": {
|
|
2854
|
-
"name": "
|
|
2855
|
-
"module": "src/
|
|
2883
|
+
"name": "foundationAccordionShadowOptions",
|
|
2884
|
+
"module": "src/accordion/accordion.ts"
|
|
2856
2885
|
}
|
|
2857
2886
|
},
|
|
2858
2887
|
{
|
|
2859
2888
|
"kind": "js",
|
|
2860
|
-
"name": "
|
|
2889
|
+
"name": "defaultAccordionConfig",
|
|
2861
2890
|
"declaration": {
|
|
2862
|
-
"name": "
|
|
2863
|
-
"module": "src/
|
|
2891
|
+
"name": "defaultAccordionConfig",
|
|
2892
|
+
"module": "src/accordion/accordion.ts"
|
|
2864
2893
|
}
|
|
2865
2894
|
},
|
|
2866
2895
|
{
|
|
2867
2896
|
"kind": "js",
|
|
2868
|
-
"name": "
|
|
2897
|
+
"name": "foundationAccordion",
|
|
2869
2898
|
"declaration": {
|
|
2870
|
-
"name": "
|
|
2871
|
-
"module": "src/
|
|
2899
|
+
"name": "foundationAccordion",
|
|
2900
|
+
"module": "src/accordion/accordion.ts"
|
|
2872
2901
|
}
|
|
2873
2902
|
}
|
|
2874
2903
|
]
|
|
2875
2904
|
},
|
|
2876
2905
|
{
|
|
2877
2906
|
"kind": "javascript-module",
|
|
2878
|
-
"path": "src/
|
|
2907
|
+
"path": "src/accordion/index.ts",
|
|
2879
2908
|
"declarations": [],
|
|
2880
2909
|
"exports": [
|
|
2881
2910
|
{
|
|
2882
2911
|
"kind": "js",
|
|
2883
|
-
"name": "
|
|
2912
|
+
"name": "*",
|
|
2884
2913
|
"declaration": {
|
|
2885
|
-
"name": "
|
|
2886
|
-
"
|
|
2914
|
+
"name": "*",
|
|
2915
|
+
"package": "./accordion.template"
|
|
2887
2916
|
}
|
|
2888
2917
|
},
|
|
2889
2918
|
{
|
|
2890
2919
|
"kind": "js",
|
|
2891
|
-
"name": "
|
|
2920
|
+
"name": "*",
|
|
2892
2921
|
"declaration": {
|
|
2893
|
-
"name": "
|
|
2894
|
-
"
|
|
2922
|
+
"name": "*",
|
|
2923
|
+
"package": "./accordion.styles"
|
|
2895
2924
|
}
|
|
2896
2925
|
},
|
|
2897
2926
|
{
|
|
2898
2927
|
"kind": "js",
|
|
2899
|
-
"name": "
|
|
2928
|
+
"name": "*",
|
|
2900
2929
|
"declaration": {
|
|
2901
|
-
"name": "
|
|
2902
|
-
"
|
|
2930
|
+
"name": "*",
|
|
2931
|
+
"package": "./accordion"
|
|
2903
2932
|
}
|
|
2904
|
-
}
|
|
2933
|
+
}
|
|
2934
|
+
]
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"kind": "javascript-module",
|
|
2938
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2939
|
+
"declarations": [
|
|
2905
2940
|
{
|
|
2906
|
-
"kind": "
|
|
2907
|
-
"name": "
|
|
2908
|
-
"
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
},
|
|
2941
|
+
"kind": "variable",
|
|
2942
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2943
|
+
"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`"
|
|
2944
|
+
}
|
|
2945
|
+
],
|
|
2946
|
+
"exports": [
|
|
2913
2947
|
{
|
|
2914
2948
|
"kind": "js",
|
|
2915
2949
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
2950
|
"declaration": {
|
|
2917
2951
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2918
|
-
"module": "
|
|
2952
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2919
2953
|
}
|
|
2920
|
-
}
|
|
2954
|
+
}
|
|
2955
|
+
]
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"kind": "javascript-module",
|
|
2959
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2960
|
+
"declarations": [
|
|
2921
2961
|
{
|
|
2922
|
-
"kind": "
|
|
2962
|
+
"kind": "variable",
|
|
2923
2963
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2924
|
-
"
|
|
2925
|
-
"
|
|
2926
|
-
|
|
2927
|
-
}
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
"name": "*",
|
|
2932
|
-
"declaration": {
|
|
2933
|
-
"name": "*",
|
|
2934
|
-
"package": "./validation/criteria-ir"
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
{
|
|
2938
|
-
"kind": "js",
|
|
2939
|
-
"name": "*",
|
|
2940
|
-
"declaration": {
|
|
2941
|
-
"name": "*",
|
|
2942
|
-
"package": "./validation/operator-map"
|
|
2943
|
-
}
|
|
2944
|
-
},
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2966
|
+
},
|
|
2967
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2968
|
+
}
|
|
2969
|
+
],
|
|
2970
|
+
"exports": [
|
|
2945
2971
|
{
|
|
2946
2972
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2948
2974
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"
|
|
2975
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2951
2977
|
}
|
|
2952
2978
|
}
|
|
2953
2979
|
]
|
|
2954
2980
|
},
|
|
2955
2981
|
{
|
|
2956
2982
|
"kind": "javascript-module",
|
|
2957
|
-
"path": "src/ai-criteria-search/
|
|
2983
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2958
2984
|
"declarations": [
|
|
2959
2985
|
{
|
|
2960
|
-
"kind": "
|
|
2961
|
-
"
|
|
2962
|
-
"
|
|
2963
|
-
|
|
2964
|
-
"text": "string"
|
|
2965
|
-
}
|
|
2966
|
-
},
|
|
2967
|
-
"parameters": [
|
|
2986
|
+
"kind": "class",
|
|
2987
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2988
|
+
"name": "AiCriteriaSearch",
|
|
2989
|
+
"members": [
|
|
2968
2990
|
{
|
|
2969
|
-
"
|
|
2991
|
+
"kind": "field",
|
|
2992
|
+
"name": "providerRegistry",
|
|
2970
2993
|
"type": {
|
|
2971
|
-
"text": "
|
|
2994
|
+
"text": "AIProviderRegistry"
|
|
2972
2995
|
}
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "function",
|
|
2979
|
-
"name": "showCriteriaError",
|
|
2980
|
-
"return": {
|
|
2981
|
-
"type": {
|
|
2982
|
-
"text": "void"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
"parameters": [
|
|
2996
|
+
},
|
|
2986
2997
|
{
|
|
2987
|
-
"
|
|
2998
|
+
"kind": "field",
|
|
2999
|
+
"name": "placeholder",
|
|
2988
3000
|
"type": {
|
|
2989
3001
|
"text": "string"
|
|
2990
3002
|
},
|
|
2991
|
-
"
|
|
3003
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2992
3004
|
},
|
|
2993
3005
|
{
|
|
2994
|
-
"
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "disabled",
|
|
2995
3008
|
"type": {
|
|
2996
|
-
"text": "
|
|
2997
|
-
}
|
|
2998
|
-
"description": "Error message to display"
|
|
3009
|
+
"text": "boolean"
|
|
3010
|
+
}
|
|
2999
3011
|
},
|
|
3000
3012
|
{
|
|
3001
|
-
"
|
|
3013
|
+
"kind": "field",
|
|
3014
|
+
"name": "inputValue",
|
|
3002
3015
|
"type": {
|
|
3003
3016
|
"text": "string"
|
|
3004
3017
|
},
|
|
3005
|
-
"
|
|
3006
|
-
}
|
|
3007
|
-
],
|
|
3008
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3009
|
-
}
|
|
3010
|
-
],
|
|
3011
|
-
"exports": [
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "js",
|
|
3014
|
-
"name": "formatValidationErrors",
|
|
3015
|
-
"declaration": {
|
|
3016
|
-
"name": "formatValidationErrors",
|
|
3017
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3018
|
-
}
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"kind": "js",
|
|
3022
|
-
"name": "showCriteriaError",
|
|
3023
|
-
"declaration": {
|
|
3024
|
-
"name": "showCriteriaError",
|
|
3025
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3026
|
-
}
|
|
3027
|
-
}
|
|
3028
|
-
]
|
|
3029
|
-
},
|
|
3030
|
-
{
|
|
3031
|
-
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3033
|
-
"declarations": [
|
|
3034
|
-
{
|
|
3035
|
-
"kind": "function",
|
|
3036
|
-
"name": "foundationAccordionStyles",
|
|
3037
|
-
"return": {
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "ElementStyles"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "context",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "ElementDefinitionContext"
|
|
3047
|
-
}
|
|
3018
|
+
"default": "''"
|
|
3048
3019
|
},
|
|
3049
3020
|
{
|
|
3050
|
-
"
|
|
3051
|
-
"
|
|
3052
|
-
"text": "FoundationElementDefinition"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
3056
|
-
}
|
|
3057
|
-
],
|
|
3058
|
-
"exports": [
|
|
3059
|
-
{
|
|
3060
|
-
"kind": "js",
|
|
3061
|
-
"name": "foundationAccordionStyles",
|
|
3062
|
-
"declaration": {
|
|
3063
|
-
"name": "foundationAccordionStyles",
|
|
3064
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3065
|
-
}
|
|
3066
|
-
}
|
|
3067
|
-
]
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3072
|
-
"declarations": [
|
|
3073
|
-
{
|
|
3074
|
-
"kind": "function",
|
|
3075
|
-
"name": "foundationAccordionTemplate",
|
|
3076
|
-
"return": {
|
|
3077
|
-
"type": {
|
|
3078
|
-
"text": "ViewTemplate<Accordion>"
|
|
3079
|
-
}
|
|
3080
|
-
},
|
|
3081
|
-
"parameters": [
|
|
3082
|
-
{
|
|
3083
|
-
"name": "context",
|
|
3021
|
+
"kind": "field",
|
|
3022
|
+
"name": "isInterpreting",
|
|
3084
3023
|
"type": {
|
|
3085
|
-
"text": "
|
|
3086
|
-
}
|
|
3024
|
+
"text": "boolean"
|
|
3025
|
+
},
|
|
3026
|
+
"default": "false"
|
|
3087
3027
|
},
|
|
3088
3028
|
{
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3091
|
-
"text": "FoundationElementDefinition"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
3095
|
-
}
|
|
3096
|
-
],
|
|
3097
|
-
"exports": [
|
|
3098
|
-
{
|
|
3099
|
-
"kind": "js",
|
|
3100
|
-
"name": "foundationAccordionTemplate",
|
|
3101
|
-
"declaration": {
|
|
3102
|
-
"name": "foundationAccordionTemplate",
|
|
3103
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3104
|
-
}
|
|
3105
|
-
}
|
|
3106
|
-
]
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"kind": "javascript-module",
|
|
3110
|
-
"path": "src/accordion/accordion.ts",
|
|
3111
|
-
"declarations": [
|
|
3112
|
-
{
|
|
3113
|
-
"kind": "class",
|
|
3114
|
-
"description": "",
|
|
3115
|
-
"name": "Accordion",
|
|
3116
|
-
"superclass": {
|
|
3117
|
-
"name": "FASTAccordion",
|
|
3118
|
-
"package": "@microsoft/fast-foundation"
|
|
3119
|
-
},
|
|
3120
|
-
"tagName": "%%prefix%%-accordion",
|
|
3121
|
-
"customElement": true,
|
|
3122
|
-
"attributes": [
|
|
3123
|
-
{
|
|
3124
|
-
"name": "expand-mode",
|
|
3029
|
+
"kind": "field",
|
|
3030
|
+
"name": "lastValidCriteria",
|
|
3125
3031
|
"type": {
|
|
3126
|
-
"text": "
|
|
3032
|
+
"text": "string | null"
|
|
3127
3033
|
},
|
|
3128
|
-
"
|
|
3129
|
-
|
|
3130
|
-
"inheritedFrom": {
|
|
3131
|
-
"name": "Accordion",
|
|
3132
|
-
"module": "src/accordion/accordion.ts"
|
|
3133
|
-
}
|
|
3134
|
-
}
|
|
3135
|
-
],
|
|
3136
|
-
"members": [
|
|
3034
|
+
"default": "null"
|
|
3035
|
+
},
|
|
3137
3036
|
{
|
|
3138
3037
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
3038
|
+
"name": "activeGroups",
|
|
3140
3039
|
"type": {
|
|
3141
|
-
"text": "
|
|
3040
|
+
"text": "CriteriaGroup[]"
|
|
3142
3041
|
},
|
|
3143
|
-
"
|
|
3144
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3145
|
-
"inheritedFrom": {
|
|
3146
|
-
"name": "Accordion",
|
|
3147
|
-
"module": "src/accordion/accordion.ts"
|
|
3148
|
-
}
|
|
3042
|
+
"default": "[]"
|
|
3149
3043
|
},
|
|
3150
3044
|
{
|
|
3151
3045
|
"kind": "field",
|
|
3152
|
-
"name": "
|
|
3046
|
+
"name": "showingChips",
|
|
3153
3047
|
"type": {
|
|
3154
|
-
"text": "
|
|
3048
|
+
"text": "boolean"
|
|
3155
3049
|
},
|
|
3156
|
-
"
|
|
3157
|
-
"inheritedFrom": {
|
|
3158
|
-
"name": "Accordion",
|
|
3159
|
-
"module": "src/accordion/accordion.ts"
|
|
3160
|
-
}
|
|
3050
|
+
"default": "false"
|
|
3161
3051
|
},
|
|
3162
3052
|
{
|
|
3163
3053
|
"kind": "field",
|
|
3164
|
-
"name": "
|
|
3054
|
+
"name": "fieldMetadata",
|
|
3165
3055
|
"type": {
|
|
3166
|
-
"text": "
|
|
3056
|
+
"text": "MetadataDetail[] | string[]"
|
|
3167
3057
|
},
|
|
3168
|
-
"
|
|
3169
|
-
"default": "0",
|
|
3170
|
-
"inheritedFrom": {
|
|
3171
|
-
"name": "Accordion",
|
|
3172
|
-
"module": "src/accordion/accordion.ts"
|
|
3173
|
-
}
|
|
3058
|
+
"default": "[]"
|
|
3174
3059
|
},
|
|
3175
3060
|
{
|
|
3176
3061
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3062
|
+
"name": "isRecording",
|
|
3178
3063
|
"type": {
|
|
3179
|
-
"text": "
|
|
3064
|
+
"text": "boolean"
|
|
3180
3065
|
},
|
|
3181
|
-
"
|
|
3182
|
-
"inheritedFrom": {
|
|
3183
|
-
"name": "Accordion",
|
|
3184
|
-
"module": "src/accordion/accordion.ts"
|
|
3185
|
-
}
|
|
3066
|
+
"default": "false"
|
|
3186
3067
|
},
|
|
3187
3068
|
{
|
|
3188
3069
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
"name": "Accordion",
|
|
3193
|
-
"module": "src/accordion/accordion.ts"
|
|
3194
|
-
}
|
|
3195
|
-
},
|
|
3196
|
-
{
|
|
3197
|
-
"kind": "method",
|
|
3198
|
-
"name": "findExpandedItem",
|
|
3199
|
-
"privacy": "private",
|
|
3200
|
-
"return": {
|
|
3201
|
-
"type": {
|
|
3202
|
-
"text": "AccordionItem | null"
|
|
3203
|
-
}
|
|
3070
|
+
"name": "textAreaRef",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3204
3073
|
},
|
|
3205
|
-
"
|
|
3206
|
-
"name": "Accordion",
|
|
3207
|
-
"module": "src/accordion/accordion.ts"
|
|
3208
|
-
}
|
|
3074
|
+
"privacy": "public"
|
|
3209
3075
|
},
|
|
3210
3076
|
{
|
|
3211
3077
|
"kind": "field",
|
|
3212
|
-
"name": "
|
|
3213
|
-
"
|
|
3214
|
-
|
|
3215
|
-
"name": "Accordion",
|
|
3216
|
-
"module": "src/accordion/accordion.ts"
|
|
3217
|
-
}
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
"kind": "method",
|
|
3221
|
-
"name": "resetItems",
|
|
3222
|
-
"privacy": "private",
|
|
3223
|
-
"return": {
|
|
3224
|
-
"type": {
|
|
3225
|
-
"text": "void"
|
|
3226
|
-
}
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3227
3081
|
},
|
|
3228
|
-
"
|
|
3229
|
-
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3082
|
+
"privacy": "private",
|
|
3083
|
+
"default": "null"
|
|
3232
3084
|
},
|
|
3233
3085
|
{
|
|
3234
3086
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3090
|
+
},
|
|
3236
3091
|
"privacy": "private",
|
|
3237
|
-
"
|
|
3238
|
-
"name": "Accordion",
|
|
3239
|
-
"module": "src/accordion/accordion.ts"
|
|
3240
|
-
}
|
|
3092
|
+
"default": "null"
|
|
3241
3093
|
},
|
|
3242
3094
|
{
|
|
3243
3095
|
"kind": "field",
|
|
3244
|
-
"name": "
|
|
3245
|
-
"
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
}
|
|
3096
|
+
"name": "speechAvailable",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"readonly": true
|
|
3250
3101
|
},
|
|
3251
3102
|
{
|
|
3252
|
-
"kind": "
|
|
3253
|
-
"name": "
|
|
3254
|
-
"
|
|
3255
|
-
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "Array<string | null>"
|
|
3258
|
-
}
|
|
3103
|
+
"kind": "field",
|
|
3104
|
+
"name": "criteriaChips",
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3259
3107
|
},
|
|
3260
|
-
"
|
|
3261
|
-
"name": "Accordion",
|
|
3262
|
-
"module": "src/accordion/accordion.ts"
|
|
3263
|
-
}
|
|
3108
|
+
"readonly": true
|
|
3264
3109
|
},
|
|
3265
3110
|
{
|
|
3266
3111
|
"kind": "method",
|
|
3267
|
-
"name": "
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3268
3113
|
"privacy": "private",
|
|
3269
3114
|
"return": {
|
|
3270
3115
|
"type": {
|
|
3271
|
-
"text": "
|
|
3116
|
+
"text": "string"
|
|
3272
3117
|
}
|
|
3273
3118
|
},
|
|
3274
|
-
"
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
"name": "handleItemFocus",
|
|
3291
|
-
"privacy": "private",
|
|
3292
|
-
"inheritedFrom": {
|
|
3293
|
-
"name": "Accordion",
|
|
3294
|
-
"module": "src/accordion/accordion.ts"
|
|
3119
|
+
"parameters": [
|
|
3120
|
+
{
|
|
3121
|
+
"name": "fieldName",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "string"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
"kind": "method",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3131
|
+
"return": {
|
|
3132
|
+
"type": {
|
|
3133
|
+
"text": "void"
|
|
3134
|
+
}
|
|
3295
3135
|
}
|
|
3296
3136
|
},
|
|
3297
3137
|
{
|
|
3298
3138
|
"kind": "method",
|
|
3299
|
-
"name": "
|
|
3300
|
-
"privacy": "private",
|
|
3139
|
+
"name": "removeChip",
|
|
3301
3140
|
"return": {
|
|
3302
3141
|
"type": {
|
|
3303
3142
|
"text": "void"
|
|
@@ -3305,31 +3144,49 @@
|
|
|
3305
3144
|
},
|
|
3306
3145
|
"parameters": [
|
|
3307
3146
|
{
|
|
3308
|
-
"name": "
|
|
3147
|
+
"name": "groupIndex",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "number"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "clauseIndex",
|
|
3309
3154
|
"type": {
|
|
3310
3155
|
"text": "number"
|
|
3311
3156
|
}
|
|
3312
3157
|
}
|
|
3313
|
-
]
|
|
3314
|
-
"inheritedFrom": {
|
|
3315
|
-
"name": "Accordion",
|
|
3316
|
-
"module": "src/accordion/accordion.ts"
|
|
3317
|
-
}
|
|
3158
|
+
]
|
|
3318
3159
|
},
|
|
3319
3160
|
{
|
|
3320
3161
|
"kind": "method",
|
|
3321
|
-
"name": "
|
|
3322
|
-
"privacy": "private",
|
|
3162
|
+
"name": "clearChips",
|
|
3323
3163
|
"return": {
|
|
3324
3164
|
"type": {
|
|
3325
3165
|
"text": "void"
|
|
3326
3166
|
}
|
|
3327
|
-
},
|
|
3328
|
-
"inheritedFrom": {
|
|
3329
|
-
"name": "Accordion",
|
|
3330
|
-
"module": "src/accordion/accordion.ts"
|
|
3331
3167
|
}
|
|
3332
3168
|
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "method",
|
|
3171
|
+
"name": "handleSubmit"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "method",
|
|
3175
|
+
"name": "handleBlur"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"kind": "method",
|
|
3179
|
+
"name": "clear"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "toggleSpeechInput"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "method",
|
|
3187
|
+
"name": "clearSpeechApplyDebounce",
|
|
3188
|
+
"privacy": "private"
|
|
3189
|
+
},
|
|
3333
3190
|
{
|
|
3334
3191
|
"kind": "field",
|
|
3335
3192
|
"name": "_presentation",
|
|
@@ -3444,26 +3301,48 @@
|
|
|
3444
3301
|
],
|
|
3445
3302
|
"events": [
|
|
3446
3303
|
{
|
|
3447
|
-
"description": "
|
|
3448
|
-
"name": "
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3304
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
+
"name": "criteria-changed"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
+
"name": "validation-errors"
|
|
3453
3310
|
}
|
|
3454
|
-
]
|
|
3311
|
+
],
|
|
3312
|
+
"attributes": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
+
"fieldName": "placeholder"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"fieldName": "disabled"
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"superclass": {
|
|
3329
|
+
"name": "FoundationElement",
|
|
3330
|
+
"package": "@microsoft/fast-foundation"
|
|
3331
|
+
},
|
|
3332
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3333
|
+
"customElement": true
|
|
3455
3334
|
},
|
|
3456
3335
|
{
|
|
3457
3336
|
"kind": "variable",
|
|
3458
|
-
"name": "
|
|
3337
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3459
3338
|
"type": {
|
|
3460
3339
|
"text": "ShadowRootInit"
|
|
3461
3340
|
},
|
|
3462
|
-
"default": "
|
|
3341
|
+
"default": "undefined"
|
|
3463
3342
|
},
|
|
3464
3343
|
{
|
|
3465
3344
|
"kind": "variable",
|
|
3466
|
-
"name": "
|
|
3345
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3467
3346
|
"type": {
|
|
3468
3347
|
"text": "object"
|
|
3469
3348
|
},
|
|
@@ -3471,57 +3350,103 @@
|
|
|
3471
3350
|
},
|
|
3472
3351
|
{
|
|
3473
3352
|
"kind": "variable",
|
|
3474
|
-
"name": "
|
|
3475
|
-
"description": "The Foundation Accordion",
|
|
3476
|
-
"privacy": "public"
|
|
3353
|
+
"name": "foundationAiCriteriaSearch"
|
|
3477
3354
|
}
|
|
3478
3355
|
],
|
|
3479
3356
|
"exports": [
|
|
3480
3357
|
{
|
|
3481
3358
|
"kind": "js",
|
|
3482
|
-
"name": "
|
|
3359
|
+
"name": "AiCriteriaSearch",
|
|
3483
3360
|
"declaration": {
|
|
3484
|
-
"name": "
|
|
3485
|
-
"module": "src/
|
|
3361
|
+
"name": "AiCriteriaSearch",
|
|
3362
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3486
3363
|
}
|
|
3487
3364
|
},
|
|
3488
3365
|
{
|
|
3489
3366
|
"kind": "js",
|
|
3490
|
-
"name": "
|
|
3367
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3491
3368
|
"declaration": {
|
|
3492
|
-
"name": "
|
|
3493
|
-
"module": "src/
|
|
3369
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3494
3371
|
}
|
|
3495
3372
|
},
|
|
3496
3373
|
{
|
|
3497
3374
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3375
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3499
3376
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "src/
|
|
3377
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3378
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3502
3379
|
}
|
|
3503
3380
|
},
|
|
3504
3381
|
{
|
|
3505
3382
|
"kind": "js",
|
|
3506
|
-
"name": "
|
|
3383
|
+
"name": "foundationAiCriteriaSearch",
|
|
3507
3384
|
"declaration": {
|
|
3508
|
-
"name": "
|
|
3509
|
-
"module": "src/
|
|
3385
|
+
"name": "foundationAiCriteriaSearch",
|
|
3386
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3510
3387
|
}
|
|
3511
3388
|
}
|
|
3512
3389
|
]
|
|
3513
3390
|
},
|
|
3514
3391
|
{
|
|
3515
3392
|
"kind": "javascript-module",
|
|
3516
|
-
"path": "src/
|
|
3393
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3517
3394
|
"declarations": [],
|
|
3518
3395
|
"exports": [
|
|
3396
|
+
{
|
|
3397
|
+
"kind": "js",
|
|
3398
|
+
"name": "AiCriteriaSearch",
|
|
3399
|
+
"declaration": {
|
|
3400
|
+
"name": "AiCriteriaSearch",
|
|
3401
|
+
"module": "./ai-criteria-search"
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "js",
|
|
3406
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
+
"declaration": {
|
|
3408
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
+
"module": "./ai-criteria-search"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"kind": "js",
|
|
3414
|
+
"name": "foundationAiCriteriaSearch",
|
|
3415
|
+
"declaration": {
|
|
3416
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
|
+
"module": "./ai-criteria-search"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"kind": "js",
|
|
3422
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
+
"declaration": {
|
|
3424
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
+
"module": "./ai-criteria-search"
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "js",
|
|
3430
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
+
"declaration": {
|
|
3432
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
+
"module": "./ai-criteria-search.styles"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "js",
|
|
3438
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
+
"declaration": {
|
|
3440
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
+
"module": "./ai-criteria-search.template"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3519
3444
|
{
|
|
3520
3445
|
"kind": "js",
|
|
3521
3446
|
"name": "*",
|
|
3522
3447
|
"declaration": {
|
|
3523
3448
|
"name": "*",
|
|
3524
|
-
"package": "./
|
|
3449
|
+
"package": "./validation/criteria-ir"
|
|
3525
3450
|
}
|
|
3526
3451
|
},
|
|
3527
3452
|
{
|
|
@@ -3529,7 +3454,7 @@
|
|
|
3529
3454
|
"name": "*",
|
|
3530
3455
|
"declaration": {
|
|
3531
3456
|
"name": "*",
|
|
3532
|
-
"package": "./
|
|
3457
|
+
"package": "./validation/operator-map"
|
|
3533
3458
|
}
|
|
3534
3459
|
},
|
|
3535
3460
|
{
|
|
@@ -3537,7 +3462,82 @@
|
|
|
3537
3462
|
"name": "*",
|
|
3538
3463
|
"declaration": {
|
|
3539
3464
|
"name": "*",
|
|
3540
|
-
"package": "./
|
|
3465
|
+
"package": "./validation/schema-validator"
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
]
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "javascript-module",
|
|
3472
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
+
"declarations": [
|
|
3474
|
+
{
|
|
3475
|
+
"kind": "function",
|
|
3476
|
+
"name": "formatValidationErrors",
|
|
3477
|
+
"return": {
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "string"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"parameters": [
|
|
3483
|
+
{
|
|
3484
|
+
"name": "errors",
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "ValidationError[]"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "function",
|
|
3494
|
+
"name": "showCriteriaError",
|
|
3495
|
+
"return": {
|
|
3496
|
+
"type": {
|
|
3497
|
+
"text": "void"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"parameters": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "title",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "string"
|
|
3505
|
+
},
|
|
3506
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"name": "body",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"description": "Error message to display"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "tagName",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
+
}
|
|
3525
|
+
],
|
|
3526
|
+
"exports": [
|
|
3527
|
+
{
|
|
3528
|
+
"kind": "js",
|
|
3529
|
+
"name": "formatValidationErrors",
|
|
3530
|
+
"declaration": {
|
|
3531
|
+
"name": "formatValidationErrors",
|
|
3532
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"kind": "js",
|
|
3537
|
+
"name": "showCriteriaError",
|
|
3538
|
+
"declaration": {
|
|
3539
|
+
"name": "showCriteriaError",
|
|
3540
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|