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