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