@genesislcap/foundation-ui 14.437.0 → 14.437.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +573 -573
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,6 +1398,37 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "javascript-module",
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1401
1432
|
{
|
|
1402
1433
|
"kind": "javascript-module",
|
|
1403
1434
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1792,37 +1823,6 @@
|
|
|
1792
1823
|
}
|
|
1793
1824
|
]
|
|
1794
1825
|
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/_config/index.ts",
|
|
1798
|
-
"declarations": [],
|
|
1799
|
-
"exports": [
|
|
1800
|
-
{
|
|
1801
|
-
"kind": "js",
|
|
1802
|
-
"name": "*",
|
|
1803
|
-
"declaration": {
|
|
1804
|
-
"name": "*",
|
|
1805
|
-
"package": "./styles"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "*",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "*",
|
|
1813
|
-
"package": "./tokens"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "js",
|
|
1818
|
-
"name": "*",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "*",
|
|
1821
|
-
"package": "./values"
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
]
|
|
1825
|
-
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"kind": "javascript-module",
|
|
1828
1828
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2384,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
|
-
"
|
|
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": [
|
|
2439
2478
|
{
|
|
2440
|
-
"
|
|
2441
|
-
"name": "aiProvider",
|
|
2479
|
+
"name": "expand-mode",
|
|
2442
2480
|
"type": {
|
|
2443
|
-
"text": "
|
|
2481
|
+
"text": "AccordionExpandMode"
|
|
2482
|
+
},
|
|
2483
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2484
|
+
"fieldName": "expandmode",
|
|
2485
|
+
"inheritedFrom": {
|
|
2486
|
+
"name": "Accordion",
|
|
2487
|
+
"module": "src/accordion/accordion.ts"
|
|
2444
2488
|
}
|
|
2445
|
-
}
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
"members": [
|
|
2446
2492
|
{
|
|
2447
2493
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2494
|
+
"name": "expandmode",
|
|
2449
2495
|
"type": {
|
|
2450
|
-
"text": "
|
|
2496
|
+
"text": "AccordionExpandMode"
|
|
2451
2497
|
},
|
|
2452
|
-
"
|
|
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
|
+
}
|
|
2453
2504
|
},
|
|
2454
2505
|
{
|
|
2455
2506
|
"kind": "field",
|
|
2456
|
-
"name": "
|
|
2507
|
+
"name": "activeid",
|
|
2457
2508
|
"type": {
|
|
2458
|
-
"text": "
|
|
2509
|
+
"text": "string | null"
|
|
2510
|
+
},
|
|
2511
|
+
"privacy": "private",
|
|
2512
|
+
"inheritedFrom": {
|
|
2513
|
+
"name": "Accordion",
|
|
2514
|
+
"module": "src/accordion/accordion.ts"
|
|
2459
2515
|
}
|
|
2460
2516
|
},
|
|
2461
2517
|
{
|
|
2462
2518
|
"kind": "field",
|
|
2463
|
-
"name": "
|
|
2519
|
+
"name": "activeItemIndex",
|
|
2464
2520
|
"type": {
|
|
2465
|
-
"text": "
|
|
2521
|
+
"text": "number"
|
|
2466
2522
|
},
|
|
2467
|
-
"
|
|
2523
|
+
"privacy": "private",
|
|
2524
|
+
"default": "0",
|
|
2525
|
+
"inheritedFrom": {
|
|
2526
|
+
"name": "Accordion",
|
|
2527
|
+
"module": "src/accordion/accordion.ts"
|
|
2528
|
+
}
|
|
2468
2529
|
},
|
|
2469
2530
|
{
|
|
2470
2531
|
"kind": "field",
|
|
2471
|
-
"name": "
|
|
2532
|
+
"name": "accordionIds",
|
|
2472
2533
|
"type": {
|
|
2473
|
-
"text": "
|
|
2534
|
+
"text": "Array<string | null>"
|
|
2474
2535
|
},
|
|
2475
|
-
"
|
|
2536
|
+
"privacy": "private",
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "Accordion",
|
|
2539
|
+
"module": "src/accordion/accordion.ts"
|
|
2540
|
+
}
|
|
2476
2541
|
},
|
|
2477
2542
|
{
|
|
2478
2543
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2480
|
-
"
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2544
|
+
"name": "change",
|
|
2545
|
+
"privacy": "private",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "Accordion",
|
|
2548
|
+
"module": "src/accordion/accordion.ts"
|
|
2549
|
+
}
|
|
2484
2550
|
},
|
|
2485
2551
|
{
|
|
2486
|
-
"kind": "
|
|
2487
|
-
"name": "
|
|
2488
|
-
"
|
|
2489
|
-
|
|
2552
|
+
"kind": "method",
|
|
2553
|
+
"name": "findExpandedItem",
|
|
2554
|
+
"privacy": "private",
|
|
2555
|
+
"return": {
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "AccordionItem | null"
|
|
2558
|
+
}
|
|
2490
2559
|
},
|
|
2491
|
-
"
|
|
2560
|
+
"inheritedFrom": {
|
|
2561
|
+
"name": "Accordion",
|
|
2562
|
+
"module": "src/accordion/accordion.ts"
|
|
2563
|
+
}
|
|
2492
2564
|
},
|
|
2493
2565
|
{
|
|
2494
2566
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2496
|
-
"
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2567
|
+
"name": "setItems",
|
|
2568
|
+
"privacy": "private",
|
|
2569
|
+
"inheritedFrom": {
|
|
2570
|
+
"name": "Accordion",
|
|
2571
|
+
"module": "src/accordion/accordion.ts"
|
|
2572
|
+
}
|
|
2500
2573
|
},
|
|
2501
2574
|
{
|
|
2502
|
-
"kind": "
|
|
2503
|
-
"name": "
|
|
2504
|
-
"
|
|
2505
|
-
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "resetItems",
|
|
2577
|
+
"privacy": "private",
|
|
2578
|
+
"return": {
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "void"
|
|
2581
|
+
}
|
|
2506
2582
|
},
|
|
2507
|
-
"
|
|
2583
|
+
"inheritedFrom": {
|
|
2584
|
+
"name": "Accordion",
|
|
2585
|
+
"module": "src/accordion/accordion.ts"
|
|
2586
|
+
}
|
|
2508
2587
|
},
|
|
2509
2588
|
{
|
|
2510
2589
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2512
|
-
"type": {
|
|
2513
|
-
"text": "boolean"
|
|
2514
|
-
},
|
|
2515
|
-
"default": "false"
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
"kind": "field",
|
|
2519
|
-
"name": "textAreaRef",
|
|
2520
|
-
"type": {
|
|
2521
|
-
"text": "HTMLTextAreaElement"
|
|
2522
|
-
},
|
|
2523
|
-
"privacy": "public"
|
|
2524
|
-
},
|
|
2525
|
-
{
|
|
2526
|
-
"kind": "field",
|
|
2527
|
-
"name": "stopRecording",
|
|
2528
|
-
"type": {
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2590
|
+
"name": "removeItemListeners",
|
|
2531
2591
|
"privacy": "private",
|
|
2532
|
-
"
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2595
|
+
}
|
|
2533
2596
|
},
|
|
2534
2597
|
{
|
|
2535
2598
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2537
|
-
"type": {
|
|
2538
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2539
|
-
},
|
|
2599
|
+
"name": "activeItemChange",
|
|
2540
2600
|
"privacy": "private",
|
|
2541
|
-
"
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
"name": "speechAvailable",
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "boolean"
|
|
2548
|
-
},
|
|
2549
|
-
"readonly": true
|
|
2550
|
-
},
|
|
2551
|
-
{
|
|
2552
|
-
"kind": "field",
|
|
2553
|
-
"name": "criteriaChips",
|
|
2554
|
-
"type": {
|
|
2555
|
-
"text": "CriteriaChip[]"
|
|
2556
|
-
},
|
|
2557
|
-
"readonly": true
|
|
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
|
-
"module": "./ai-criteria-search.template"
|
|
2891
|
-
}
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "js",
|
|
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
|
-
},
|
|
2909
|
-
{
|
|
2910
|
-
"kind": "js",
|
|
2911
|
-
"name": "*",
|
|
2912
|
-
"declaration": {
|
|
2913
|
-
"name": "*",
|
|
2914
|
-
"package": "./validation/schema-validator"
|
|
2915
|
-
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2948
2930
|
},
|
|
2949
|
-
"
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2931
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2973
2932
|
}
|
|
2974
2933
|
],
|
|
2975
2934
|
"exports": [
|
|
2976
2935
|
{
|
|
2977
2936
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "formatValidationErrors",
|
|
2981
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "showCriteriaError",
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2987
2938
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "src/ai-criteria-search/
|
|
2939
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2990
2941
|
}
|
|
2991
2942
|
}
|
|
2992
2943
|
]
|
|
2993
2944
|
},
|
|
2994
2945
|
{
|
|
2995
2946
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/
|
|
2947
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2997
2948
|
"declarations": [
|
|
2998
2949
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3002
|
-
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
2950
|
+
"kind": "class",
|
|
2951
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2952
|
+
"name": "AiCriteriaSearch",
|
|
2953
|
+
"members": [
|
|
3007
2954
|
{
|
|
3008
|
-
"
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "aiProvider",
|
|
3009
2957
|
"type": {
|
|
3010
|
-
"text": "
|
|
2958
|
+
"text": "AIProvider"
|
|
3011
2959
|
}
|
|
3012
2960
|
},
|
|
3013
2961
|
{
|
|
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",
|
|
2962
|
+
"kind": "field",
|
|
2963
|
+
"name": "placeholder",
|
|
3048
2964
|
"type": {
|
|
3049
|
-
"text": "
|
|
3050
|
-
}
|
|
2965
|
+
"text": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3051
2968
|
},
|
|
3052
2969
|
{
|
|
3053
|
-
"
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "disabled",
|
|
3054
2972
|
"type": {
|
|
3055
|
-
"text": "
|
|
2973
|
+
"text": "boolean"
|
|
3056
2974
|
}
|
|
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": [
|
|
2975
|
+
},
|
|
3087
2976
|
{
|
|
3088
|
-
"
|
|
2977
|
+
"kind": "field",
|
|
2978
|
+
"name": "inputValue",
|
|
3089
2979
|
"type": {
|
|
3090
|
-
"text": "
|
|
2980
|
+
"text": "string"
|
|
3091
2981
|
},
|
|
3092
|
-
"
|
|
3093
|
-
|
|
3094
|
-
"inheritedFrom": {
|
|
3095
|
-
"name": "Accordion",
|
|
3096
|
-
"module": "src/accordion/accordion.ts"
|
|
3097
|
-
}
|
|
3098
|
-
}
|
|
3099
|
-
],
|
|
3100
|
-
"members": [
|
|
2982
|
+
"default": "''"
|
|
2983
|
+
},
|
|
3101
2984
|
{
|
|
3102
2985
|
"kind": "field",
|
|
3103
|
-
"name": "
|
|
2986
|
+
"name": "isInterpreting",
|
|
3104
2987
|
"type": {
|
|
3105
|
-
"text": "
|
|
2988
|
+
"text": "boolean"
|
|
3106
2989
|
},
|
|
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
|
-
}
|
|
2990
|
+
"default": "false"
|
|
3113
2991
|
},
|
|
3114
2992
|
{
|
|
3115
2993
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
2994
|
+
"name": "lastValidCriteria",
|
|
3117
2995
|
"type": {
|
|
3118
2996
|
"text": "string | null"
|
|
3119
2997
|
},
|
|
3120
|
-
"
|
|
3121
|
-
"inheritedFrom": {
|
|
3122
|
-
"name": "Accordion",
|
|
3123
|
-
"module": "src/accordion/accordion.ts"
|
|
3124
|
-
}
|
|
2998
|
+
"default": "null"
|
|
3125
2999
|
},
|
|
3126
3000
|
{
|
|
3127
3001
|
"kind": "field",
|
|
3128
|
-
"name": "
|
|
3002
|
+
"name": "activeGroups",
|
|
3129
3003
|
"type": {
|
|
3130
|
-
"text": "
|
|
3004
|
+
"text": "CriteriaGroup[]"
|
|
3131
3005
|
},
|
|
3132
|
-
"
|
|
3133
|
-
"default": "0",
|
|
3134
|
-
"inheritedFrom": {
|
|
3135
|
-
"name": "Accordion",
|
|
3136
|
-
"module": "src/accordion/accordion.ts"
|
|
3137
|
-
}
|
|
3006
|
+
"default": "[]"
|
|
3138
3007
|
},
|
|
3139
3008
|
{
|
|
3140
3009
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
3010
|
+
"name": "showingChips",
|
|
3142
3011
|
"type": {
|
|
3143
|
-
"text": "
|
|
3012
|
+
"text": "boolean"
|
|
3144
3013
|
},
|
|
3145
|
-
"
|
|
3146
|
-
"inheritedFrom": {
|
|
3147
|
-
"name": "Accordion",
|
|
3148
|
-
"module": "src/accordion/accordion.ts"
|
|
3149
|
-
}
|
|
3014
|
+
"default": "false"
|
|
3150
3015
|
},
|
|
3151
3016
|
{
|
|
3152
3017
|
"kind": "field",
|
|
3153
|
-
"name": "
|
|
3154
|
-
"
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
}
|
|
3018
|
+
"name": "fieldMetadata",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "MetadataDetail[] | string[]"
|
|
3021
|
+
},
|
|
3022
|
+
"default": "[]"
|
|
3159
3023
|
},
|
|
3160
3024
|
{
|
|
3161
|
-
"kind": "
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
|
|
3165
|
-
"type": {
|
|
3166
|
-
"text": "AccordionItem | null"
|
|
3167
|
-
}
|
|
3025
|
+
"kind": "field",
|
|
3026
|
+
"name": "isRecording",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3168
3029
|
},
|
|
3169
|
-
"
|
|
3170
|
-
"name": "Accordion",
|
|
3171
|
-
"module": "src/accordion/accordion.ts"
|
|
3172
|
-
}
|
|
3030
|
+
"default": "false"
|
|
3173
3031
|
},
|
|
3174
3032
|
{
|
|
3175
3033
|
"kind": "field",
|
|
3176
|
-
"name": "
|
|
3177
|
-
"
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
}
|
|
3034
|
+
"name": "textAreaRef",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "HTMLTextAreaElement"
|
|
3037
|
+
},
|
|
3038
|
+
"privacy": "public"
|
|
3182
3039
|
},
|
|
3183
3040
|
{
|
|
3184
|
-
"kind": "
|
|
3185
|
-
"name": "
|
|
3186
|
-
"
|
|
3187
|
-
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "void"
|
|
3190
|
-
}
|
|
3041
|
+
"kind": "field",
|
|
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
|
]
|