@genesislcap/foundation-ui 14.468.1-alpha-0e71a41.0 → 14.469.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 +683 -683
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +10 -10
- package/package.json +19 -19
|
@@ -1398,37 +1398,6 @@
|
|
|
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
|
-
},
|
|
1432
1401
|
{
|
|
1433
1402
|
"kind": "javascript-module",
|
|
1434
1403
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2384,57 +2353,106 @@
|
|
|
2384
2353
|
},
|
|
2385
2354
|
{
|
|
2386
2355
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/
|
|
2356
|
+
"path": "src/_config/index.ts",
|
|
2357
|
+
"declarations": [],
|
|
2358
|
+
"exports": [
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "js",
|
|
2361
|
+
"name": "*",
|
|
2362
|
+
"declaration": {
|
|
2363
|
+
"name": "*",
|
|
2364
|
+
"package": "./styles"
|
|
2365
|
+
}
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"kind": "js",
|
|
2369
|
+
"name": "*",
|
|
2370
|
+
"declaration": {
|
|
2371
|
+
"name": "*",
|
|
2372
|
+
"package": "./tokens"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "js",
|
|
2377
|
+
"name": "*",
|
|
2378
|
+
"declaration": {
|
|
2379
|
+
"name": "*",
|
|
2380
|
+
"package": "./values"
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "javascript-module",
|
|
2387
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2388
2388
|
"declarations": [
|
|
2389
2389
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2390
|
+
"kind": "function",
|
|
2391
|
+
"name": "foundationAiIndicatorStyles",
|
|
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": "foundationAiIndicatorStyles",
|
|
2399
2417
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/ai-
|
|
2418
|
+
"name": "foundationAiIndicatorStyles",
|
|
2419
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2402
2420
|
}
|
|
2403
2421
|
}
|
|
2404
2422
|
]
|
|
2405
2423
|
},
|
|
2406
2424
|
{
|
|
2407
2425
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-
|
|
2426
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2409
2427
|
"declarations": [
|
|
2410
2428
|
{
|
|
2411
2429
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2430
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2413
2431
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2432
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2415
2433
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2434
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2417
2435
|
}
|
|
2418
2436
|
],
|
|
2419
2437
|
"exports": [
|
|
2420
2438
|
{
|
|
2421
2439
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2423
2441
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/ai-
|
|
2442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2443
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2426
2444
|
}
|
|
2427
2445
|
}
|
|
2428
2446
|
]
|
|
2429
2447
|
},
|
|
2430
2448
|
{
|
|
2431
2449
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/ai-
|
|
2450
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2433
2451
|
"declarations": [
|
|
2434
2452
|
{
|
|
2435
2453
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2454
|
+
"description": "",
|
|
2455
|
+
"name": "AiIndicator",
|
|
2438
2456
|
"members": [
|
|
2439
2457
|
{
|
|
2440
2458
|
"kind": "field",
|
|
@@ -2445,54 +2463,25 @@
|
|
|
2445
2463
|
},
|
|
2446
2464
|
{
|
|
2447
2465
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
|
-
},
|
|
2467
|
-
"default": "''"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"kind": "field",
|
|
2471
|
-
"name": "isInterpreting",
|
|
2466
|
+
"name": "aiProvider",
|
|
2472
2467
|
"type": {
|
|
2473
|
-
"text": "
|
|
2468
|
+
"text": "AIProvider | undefined"
|
|
2474
2469
|
},
|
|
2475
|
-
"
|
|
2470
|
+
"privacy": "private",
|
|
2471
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2472
|
+
"readonly": true
|
|
2476
2473
|
},
|
|
2477
2474
|
{
|
|
2478
2475
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2476
|
+
"name": "status",
|
|
2480
2477
|
"type": {
|
|
2481
|
-
"text": "
|
|
2478
|
+
"text": "AIStatus | null"
|
|
2482
2479
|
},
|
|
2483
2480
|
"default": "null"
|
|
2484
2481
|
},
|
|
2485
2482
|
{
|
|
2486
2483
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2484
|
+
"name": "open",
|
|
2496
2485
|
"type": {
|
|
2497
2486
|
"text": "boolean"
|
|
2498
2487
|
},
|
|
@@ -2500,15 +2489,15 @@
|
|
|
2500
2489
|
},
|
|
2501
2490
|
{
|
|
2502
2491
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2492
|
+
"name": "state",
|
|
2504
2493
|
"type": {
|
|
2505
|
-
"text": "
|
|
2494
|
+
"text": "AIIndicatorState"
|
|
2506
2495
|
},
|
|
2507
|
-
"default": "
|
|
2496
|
+
"default": "'none'"
|
|
2508
2497
|
},
|
|
2509
2498
|
{
|
|
2510
2499
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2500
|
+
"name": "isInstalling",
|
|
2512
2501
|
"type": {
|
|
2513
2502
|
"text": "boolean"
|
|
2514
2503
|
},
|
|
@@ -2516,33 +2505,29 @@
|
|
|
2516
2505
|
},
|
|
2517
2506
|
{
|
|
2518
2507
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2508
|
+
"name": "pollTimer",
|
|
2520
2509
|
"type": {
|
|
2521
|
-
"text": "
|
|
2510
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2522
2511
|
},
|
|
2523
|
-
"privacy": "
|
|
2512
|
+
"privacy": "private",
|
|
2513
|
+
"default": "null"
|
|
2524
2514
|
},
|
|
2525
2515
|
{
|
|
2526
2516
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2531
|
-
"privacy": "private",
|
|
2532
|
-
"default": "null"
|
|
2517
|
+
"name": "clickOutside",
|
|
2518
|
+
"privacy": "private"
|
|
2533
2519
|
},
|
|
2534
2520
|
{
|
|
2535
2521
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2522
|
+
"name": "chromeStatusLabel",
|
|
2537
2523
|
"type": {
|
|
2538
|
-
"text": "
|
|
2524
|
+
"text": "string | null"
|
|
2539
2525
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2526
|
+
"readonly": true
|
|
2542
2527
|
},
|
|
2543
2528
|
{
|
|
2544
2529
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2530
|
+
"name": "canInstall",
|
|
2546
2531
|
"type": {
|
|
2547
2532
|
"text": "boolean"
|
|
2548
2533
|
},
|
|
@@ -2550,65 +2535,69 @@
|
|
|
2550
2535
|
},
|
|
2551
2536
|
{
|
|
2552
2537
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2538
|
+
"name": "isDownloading",
|
|
2554
2539
|
"type": {
|
|
2555
|
-
"text": "
|
|
2540
|
+
"text": "boolean"
|
|
2556
2541
|
},
|
|
2557
2542
|
"readonly": true
|
|
2558
2543
|
},
|
|
2559
2544
|
{
|
|
2560
2545
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"privacy": "private",
|
|
2546
|
+
"name": "openChanged",
|
|
2563
2547
|
"return": {
|
|
2564
2548
|
"type": {
|
|
2565
|
-
"text": "
|
|
2549
|
+
"text": "void"
|
|
2566
2550
|
}
|
|
2567
|
-
}
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "method",
|
|
2555
|
+
"name": "handleClickOutside",
|
|
2556
|
+
"privacy": "private",
|
|
2568
2557
|
"parameters": [
|
|
2569
2558
|
{
|
|
2570
|
-
"name": "
|
|
2559
|
+
"name": "event",
|
|
2571
2560
|
"type": {
|
|
2572
|
-
"text": "
|
|
2561
|
+
"text": "MouseEvent"
|
|
2573
2562
|
}
|
|
2574
2563
|
}
|
|
2575
2564
|
]
|
|
2576
2565
|
},
|
|
2577
2566
|
{
|
|
2578
2567
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2568
|
+
"name": "toggleDropdown"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "method",
|
|
2572
|
+
"name": "refreshStatus",
|
|
2580
2573
|
"return": {
|
|
2581
2574
|
"type": {
|
|
2582
|
-
"text": "void"
|
|
2575
|
+
"text": "Promise<void>"
|
|
2583
2576
|
}
|
|
2584
2577
|
}
|
|
2585
2578
|
},
|
|
2586
2579
|
{
|
|
2587
2580
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2581
|
+
"name": "deriveState",
|
|
2582
|
+
"privacy": "private",
|
|
2589
2583
|
"return": {
|
|
2590
2584
|
"type": {
|
|
2591
|
-
"text": "
|
|
2585
|
+
"text": "AIIndicatorState"
|
|
2592
2586
|
}
|
|
2593
2587
|
},
|
|
2594
2588
|
"parameters": [
|
|
2595
2589
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2590
|
+
"name": "s",
|
|
2603
2591
|
"type": {
|
|
2604
|
-
"text": "
|
|
2592
|
+
"text": "AIStatus | null"
|
|
2605
2593
|
}
|
|
2606
2594
|
}
|
|
2607
2595
|
]
|
|
2608
2596
|
},
|
|
2609
2597
|
{
|
|
2610
2598
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2599
|
+
"name": "maybeStartPolling",
|
|
2600
|
+
"privacy": "private",
|
|
2612
2601
|
"return": {
|
|
2613
2602
|
"type": {
|
|
2614
2603
|
"text": "void"
|
|
@@ -2617,24 +2606,32 @@
|
|
|
2617
2606
|
},
|
|
2618
2607
|
{
|
|
2619
2608
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2609
|
+
"name": "startPolling",
|
|
2610
|
+
"privacy": "private",
|
|
2611
|
+
"return": {
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "void"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2621
2616
|
},
|
|
2622
2617
|
{
|
|
2623
2618
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2619
|
+
"name": "stopPolling",
|
|
2620
|
+
"privacy": "private",
|
|
2621
|
+
"return": {
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "void"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2625
2626
|
},
|
|
2626
2627
|
{
|
|
2627
2628
|
"kind": "method",
|
|
2628
|
-
"name": "
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
{
|
|
2635
|
-
"kind": "method",
|
|
2636
|
-
"name": "clearSpeechApplyDebounce",
|
|
2637
|
-
"privacy": "private"
|
|
2629
|
+
"name": "onInstall",
|
|
2630
|
+
"return": {
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "Promise<void>"
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2638
2635
|
},
|
|
2639
2636
|
{
|
|
2640
2637
|
"kind": "field",
|
|
@@ -2748,259 +2745,141 @@
|
|
|
2748
2745
|
}
|
|
2749
2746
|
}
|
|
2750
2747
|
],
|
|
2751
|
-
"events": [
|
|
2752
|
-
{
|
|
2753
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2754
|
-
"name": "criteria-changed"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2758
|
-
"name": "validation-errors"
|
|
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"
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
2748
|
"superclass": {
|
|
2778
2749
|
"name": "FoundationElement",
|
|
2779
2750
|
"package": "@microsoft/fast-foundation"
|
|
2780
2751
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-
|
|
2752
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2782
2753
|
"customElement": true
|
|
2783
2754
|
},
|
|
2784
2755
|
{
|
|
2785
2756
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"type": {
|
|
2788
|
-
"text": "ShadowRootInit"
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2757
|
+
"name": "foundationAiIndicator"
|
|
2803
2758
|
}
|
|
2804
2759
|
],
|
|
2805
2760
|
"exports": [
|
|
2806
2761
|
{
|
|
2807
2762
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2809
|
-
"declaration": {
|
|
2810
|
-
"name": "AiCriteriaSearch",
|
|
2811
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2763
|
+
"name": "AiIndicator",
|
|
2825
2764
|
"declaration": {
|
|
2826
|
-
"name": "
|
|
2827
|
-
"module": "src/ai-
|
|
2765
|
+
"name": "AiIndicator",
|
|
2766
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2828
2767
|
}
|
|
2829
2768
|
},
|
|
2830
2769
|
{
|
|
2831
2770
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2771
|
+
"name": "foundationAiIndicator",
|
|
2833
2772
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/ai-
|
|
2773
|
+
"name": "foundationAiIndicator",
|
|
2774
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2836
2775
|
}
|
|
2837
2776
|
}
|
|
2838
2777
|
]
|
|
2839
2778
|
},
|
|
2840
2779
|
{
|
|
2841
2780
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/ai-
|
|
2781
|
+
"path": "src/ai-indicator/index.ts",
|
|
2843
2782
|
"declarations": [],
|
|
2844
2783
|
"exports": [
|
|
2845
2784
|
{
|
|
2846
2785
|
"kind": "js",
|
|
2847
|
-
"name": "
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2786
|
+
"name": "AiIndicator",
|
|
2872
2787
|
"declaration": {
|
|
2873
|
-
"name": "
|
|
2874
|
-
"module": "./ai-
|
|
2788
|
+
"name": "AiIndicator",
|
|
2789
|
+
"module": "./ai-indicator"
|
|
2875
2790
|
}
|
|
2876
2791
|
},
|
|
2877
2792
|
{
|
|
2878
2793
|
"kind": "js",
|
|
2879
|
-
"name": "
|
|
2794
|
+
"name": "foundationAiIndicator",
|
|
2880
2795
|
"declaration": {
|
|
2881
|
-
"name": "
|
|
2882
|
-
"module": "./ai-
|
|
2796
|
+
"name": "foundationAiIndicator",
|
|
2797
|
+
"module": "./ai-indicator"
|
|
2883
2798
|
}
|
|
2884
2799
|
},
|
|
2885
2800
|
{
|
|
2886
2801
|
"kind": "js",
|
|
2887
|
-
"name": "
|
|
2802
|
+
"name": "type",
|
|
2888
2803
|
"declaration": {
|
|
2889
|
-
"name": "
|
|
2890
|
-
"module": "./ai-
|
|
2804
|
+
"name": "type",
|
|
2805
|
+
"module": "./ai-indicator"
|
|
2891
2806
|
}
|
|
2892
2807
|
},
|
|
2893
2808
|
{
|
|
2894
2809
|
"kind": "js",
|
|
2895
|
-
"name": "
|
|
2810
|
+
"name": "AIIndicatorState",
|
|
2896
2811
|
"declaration": {
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2812
|
+
"name": "AIIndicatorState",
|
|
2813
|
+
"module": "./ai-indicator"
|
|
2899
2814
|
}
|
|
2900
2815
|
},
|
|
2901
2816
|
{
|
|
2902
2817
|
"kind": "js",
|
|
2903
|
-
"name": "
|
|
2818
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2904
2819
|
"declaration": {
|
|
2905
|
-
"name": "
|
|
2906
|
-
"
|
|
2820
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2821
|
+
"module": "./ai-indicator.template"
|
|
2907
2822
|
}
|
|
2908
2823
|
},
|
|
2909
2824
|
{
|
|
2910
2825
|
"kind": "js",
|
|
2911
|
-
"name": "
|
|
2826
|
+
"name": "foundationAiIndicatorStyles",
|
|
2912
2827
|
"declaration": {
|
|
2913
|
-
"name": "
|
|
2914
|
-
"
|
|
2828
|
+
"name": "foundationAiIndicatorStyles",
|
|
2829
|
+
"module": "./ai-indicator.styles"
|
|
2915
2830
|
}
|
|
2916
2831
|
}
|
|
2917
2832
|
]
|
|
2918
2833
|
},
|
|
2919
2834
|
{
|
|
2920
2835
|
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/
|
|
2836
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2922
2837
|
"declarations": [
|
|
2923
2838
|
{
|
|
2924
2839
|
"kind": "function",
|
|
2925
|
-
"name": "
|
|
2840
|
+
"name": "foundationAccordionStyles",
|
|
2926
2841
|
"return": {
|
|
2927
2842
|
"type": {
|
|
2928
|
-
"text": "
|
|
2843
|
+
"text": "ElementStyles"
|
|
2929
2844
|
}
|
|
2930
2845
|
},
|
|
2931
2846
|
"parameters": [
|
|
2932
2847
|
{
|
|
2933
|
-
"name": "
|
|
2848
|
+
"name": "context",
|
|
2934
2849
|
"type": {
|
|
2935
|
-
"text": "
|
|
2850
|
+
"text": "ElementDefinitionContext"
|
|
2936
2851
|
}
|
|
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": [
|
|
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
2852
|
},
|
|
2964
2853
|
{
|
|
2965
|
-
"name": "
|
|
2854
|
+
"name": "definition",
|
|
2966
2855
|
"type": {
|
|
2967
|
-
"text": "
|
|
2968
|
-
}
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2856
|
+
"text": "FoundationElementDefinition"
|
|
2857
|
+
}
|
|
2970
2858
|
}
|
|
2971
|
-
]
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2859
|
+
]
|
|
2973
2860
|
}
|
|
2974
2861
|
],
|
|
2975
2862
|
"exports": [
|
|
2976
2863
|
{
|
|
2977
2864
|
"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",
|
|
2865
|
+
"name": "foundationAccordionStyles",
|
|
2987
2866
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "src/
|
|
2867
|
+
"name": "foundationAccordionStyles",
|
|
2868
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2990
2869
|
}
|
|
2991
2870
|
}
|
|
2992
2871
|
]
|
|
2993
2872
|
},
|
|
2994
2873
|
{
|
|
2995
2874
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/
|
|
2875
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2997
2876
|
"declarations": [
|
|
2998
2877
|
{
|
|
2999
2878
|
"kind": "function",
|
|
3000
|
-
"name": "
|
|
2879
|
+
"name": "foundationAccordionTemplate",
|
|
3001
2880
|
"return": {
|
|
3002
2881
|
"type": {
|
|
3003
|
-
"text": "
|
|
2882
|
+
"text": "ViewTemplate<Accordion>"
|
|
3004
2883
|
}
|
|
3005
2884
|
},
|
|
3006
2885
|
"parameters": [
|
|
@@ -3022,224 +2901,237 @@
|
|
|
3022
2901
|
"exports": [
|
|
3023
2902
|
{
|
|
3024
2903
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
3026
|
-
"declaration": {
|
|
3027
|
-
"name": "foundationAiIndicatorStyles",
|
|
3028
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3029
|
-
}
|
|
3030
|
-
}
|
|
3031
|
-
]
|
|
3032
|
-
},
|
|
3033
|
-
{
|
|
3034
|
-
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3036
|
-
"declarations": [
|
|
3037
|
-
{
|
|
3038
|
-
"kind": "variable",
|
|
3039
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3040
|
-
"type": {
|
|
3041
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3042
|
-
},
|
|
3043
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"exports": [
|
|
3047
|
-
{
|
|
3048
|
-
"kind": "js",
|
|
3049
|
-
"name": "foundationAiIndicatorTemplate",
|
|
2904
|
+
"name": "foundationAccordionTemplate",
|
|
3050
2905
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/
|
|
2906
|
+
"name": "foundationAccordionTemplate",
|
|
2907
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3053
2908
|
}
|
|
3054
2909
|
}
|
|
3055
2910
|
]
|
|
3056
2911
|
},
|
|
3057
2912
|
{
|
|
3058
2913
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/
|
|
2914
|
+
"path": "src/accordion/accordion.ts",
|
|
3060
2915
|
"declarations": [
|
|
3061
2916
|
{
|
|
3062
2917
|
"kind": "class",
|
|
3063
2918
|
"description": "",
|
|
3064
|
-
"name": "
|
|
3065
|
-
"
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
},
|
|
3073
|
-
{
|
|
3074
|
-
"kind": "field",
|
|
3075
|
-
"name": "aiProvider",
|
|
3076
|
-
"type": {
|
|
3077
|
-
"text": "AIProvider | undefined"
|
|
3078
|
-
},
|
|
3079
|
-
"privacy": "private",
|
|
3080
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3081
|
-
"readonly": true
|
|
3082
|
-
},
|
|
2919
|
+
"name": "Accordion",
|
|
2920
|
+
"superclass": {
|
|
2921
|
+
"name": "FASTAccordion",
|
|
2922
|
+
"package": "@microsoft/fast-foundation"
|
|
2923
|
+
},
|
|
2924
|
+
"tagName": "%%prefix%%-accordion",
|
|
2925
|
+
"customElement": true,
|
|
2926
|
+
"attributes": [
|
|
3083
2927
|
{
|
|
3084
|
-
"
|
|
3085
|
-
"name": "status",
|
|
2928
|
+
"name": "expand-mode",
|
|
3086
2929
|
"type": {
|
|
3087
|
-
"text": "
|
|
2930
|
+
"text": "AccordionExpandMode"
|
|
3088
2931
|
},
|
|
3089
|
-
"
|
|
3090
|
-
|
|
2932
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2933
|
+
"fieldName": "expandmode",
|
|
2934
|
+
"inheritedFrom": {
|
|
2935
|
+
"name": "Accordion",
|
|
2936
|
+
"module": "src/accordion/accordion.ts"
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
],
|
|
2940
|
+
"members": [
|
|
3091
2941
|
{
|
|
3092
2942
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
2943
|
+
"name": "expandmode",
|
|
3094
2944
|
"type": {
|
|
3095
|
-
"text": "
|
|
2945
|
+
"text": "AccordionExpandMode"
|
|
3096
2946
|
},
|
|
3097
|
-
"
|
|
2947
|
+
"privacy": "public",
|
|
2948
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2949
|
+
"inheritedFrom": {
|
|
2950
|
+
"name": "Accordion",
|
|
2951
|
+
"module": "src/accordion/accordion.ts"
|
|
2952
|
+
}
|
|
3098
2953
|
},
|
|
3099
2954
|
{
|
|
3100
2955
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
2956
|
+
"name": "activeid",
|
|
3102
2957
|
"type": {
|
|
3103
|
-
"text": "
|
|
2958
|
+
"text": "string | null"
|
|
3104
2959
|
},
|
|
3105
|
-
"
|
|
2960
|
+
"privacy": "private",
|
|
2961
|
+
"inheritedFrom": {
|
|
2962
|
+
"name": "Accordion",
|
|
2963
|
+
"module": "src/accordion/accordion.ts"
|
|
2964
|
+
}
|
|
3106
2965
|
},
|
|
3107
2966
|
{
|
|
3108
2967
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
2968
|
+
"name": "activeItemIndex",
|
|
3110
2969
|
"type": {
|
|
3111
|
-
"text": "
|
|
2970
|
+
"text": "number"
|
|
3112
2971
|
},
|
|
3113
|
-
"
|
|
2972
|
+
"privacy": "private",
|
|
2973
|
+
"default": "0",
|
|
2974
|
+
"inheritedFrom": {
|
|
2975
|
+
"name": "Accordion",
|
|
2976
|
+
"module": "src/accordion/accordion.ts"
|
|
2977
|
+
}
|
|
3114
2978
|
},
|
|
3115
2979
|
{
|
|
3116
2980
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
2981
|
+
"name": "accordionIds",
|
|
3118
2982
|
"type": {
|
|
3119
|
-
"text": "
|
|
2983
|
+
"text": "Array<string | null>"
|
|
3120
2984
|
},
|
|
3121
2985
|
"privacy": "private",
|
|
3122
|
-
"
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
"name": "clickOutside",
|
|
3127
|
-
"privacy": "private"
|
|
2986
|
+
"inheritedFrom": {
|
|
2987
|
+
"name": "Accordion",
|
|
2988
|
+
"module": "src/accordion/accordion.ts"
|
|
2989
|
+
}
|
|
3128
2990
|
},
|
|
3129
2991
|
{
|
|
3130
2992
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
3132
|
-
"
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
2993
|
+
"name": "change",
|
|
2994
|
+
"privacy": "private",
|
|
2995
|
+
"inheritedFrom": {
|
|
2996
|
+
"name": "Accordion",
|
|
2997
|
+
"module": "src/accordion/accordion.ts"
|
|
2998
|
+
}
|
|
3136
2999
|
},
|
|
3137
3000
|
{
|
|
3138
|
-
"kind": "
|
|
3139
|
-
"name": "
|
|
3140
|
-
"
|
|
3141
|
-
|
|
3001
|
+
"kind": "method",
|
|
3002
|
+
"name": "findExpandedItem",
|
|
3003
|
+
"privacy": "private",
|
|
3004
|
+
"return": {
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "AccordionItem | null"
|
|
3007
|
+
}
|
|
3142
3008
|
},
|
|
3143
|
-
"
|
|
3009
|
+
"inheritedFrom": {
|
|
3010
|
+
"name": "Accordion",
|
|
3011
|
+
"module": "src/accordion/accordion.ts"
|
|
3012
|
+
}
|
|
3144
3013
|
},
|
|
3145
3014
|
{
|
|
3146
3015
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
3148
|
-
"
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3016
|
+
"name": "setItems",
|
|
3017
|
+
"privacy": "private",
|
|
3018
|
+
"inheritedFrom": {
|
|
3019
|
+
"name": "Accordion",
|
|
3020
|
+
"module": "src/accordion/accordion.ts"
|
|
3021
|
+
}
|
|
3152
3022
|
},
|
|
3153
3023
|
{
|
|
3154
3024
|
"kind": "method",
|
|
3155
|
-
"name": "
|
|
3025
|
+
"name": "resetItems",
|
|
3026
|
+
"privacy": "private",
|
|
3156
3027
|
"return": {
|
|
3157
3028
|
"type": {
|
|
3158
3029
|
"text": "void"
|
|
3159
3030
|
}
|
|
3031
|
+
},
|
|
3032
|
+
"inheritedFrom": {
|
|
3033
|
+
"name": "Accordion",
|
|
3034
|
+
"module": "src/accordion/accordion.ts"
|
|
3160
3035
|
}
|
|
3161
3036
|
},
|
|
3162
3037
|
{
|
|
3163
|
-
"kind": "
|
|
3164
|
-
"name": "
|
|
3038
|
+
"kind": "field",
|
|
3039
|
+
"name": "removeItemListeners",
|
|
3165
3040
|
"privacy": "private",
|
|
3166
|
-
"
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
"text": "MouseEvent"
|
|
3171
|
-
}
|
|
3172
|
-
}
|
|
3173
|
-
]
|
|
3041
|
+
"inheritedFrom": {
|
|
3042
|
+
"name": "Accordion",
|
|
3043
|
+
"module": "src/accordion/accordion.ts"
|
|
3044
|
+
}
|
|
3174
3045
|
},
|
|
3175
3046
|
{
|
|
3176
|
-
"kind": "
|
|
3177
|
-
"name": "
|
|
3047
|
+
"kind": "field",
|
|
3048
|
+
"name": "activeItemChange",
|
|
3049
|
+
"privacy": "private",
|
|
3050
|
+
"inheritedFrom": {
|
|
3051
|
+
"name": "Accordion",
|
|
3052
|
+
"module": "src/accordion/accordion.ts"
|
|
3053
|
+
}
|
|
3178
3054
|
},
|
|
3179
3055
|
{
|
|
3180
3056
|
"kind": "method",
|
|
3181
|
-
"name": "
|
|
3057
|
+
"name": "getItemIds",
|
|
3058
|
+
"privacy": "private",
|
|
3182
3059
|
"return": {
|
|
3183
3060
|
"type": {
|
|
3184
|
-
"text": "
|
|
3061
|
+
"text": "Array<string | null>"
|
|
3185
3062
|
}
|
|
3063
|
+
},
|
|
3064
|
+
"inheritedFrom": {
|
|
3065
|
+
"name": "Accordion",
|
|
3066
|
+
"module": "src/accordion/accordion.ts"
|
|
3186
3067
|
}
|
|
3187
3068
|
},
|
|
3188
3069
|
{
|
|
3189
3070
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
3071
|
+
"name": "isSingleExpandMode",
|
|
3191
3072
|
"privacy": "private",
|
|
3192
3073
|
"return": {
|
|
3193
3074
|
"type": {
|
|
3194
|
-
"text": "
|
|
3075
|
+
"text": "boolean"
|
|
3195
3076
|
}
|
|
3196
3077
|
},
|
|
3197
|
-
"
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
"text": "AIStatus | null"
|
|
3202
|
-
}
|
|
3203
|
-
}
|
|
3204
|
-
]
|
|
3078
|
+
"inheritedFrom": {
|
|
3079
|
+
"name": "Accordion",
|
|
3080
|
+
"module": "src/accordion/accordion.ts"
|
|
3081
|
+
}
|
|
3205
3082
|
},
|
|
3206
3083
|
{
|
|
3207
|
-
"kind": "
|
|
3208
|
-
"name": "
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "handleItemKeyDown",
|
|
3209
3086
|
"privacy": "private",
|
|
3210
|
-
"
|
|
3211
|
-
"
|
|
3212
|
-
|
|
3213
|
-
}
|
|
3087
|
+
"inheritedFrom": {
|
|
3088
|
+
"name": "Accordion",
|
|
3089
|
+
"module": "src/accordion/accordion.ts"
|
|
3214
3090
|
}
|
|
3215
3091
|
},
|
|
3216
3092
|
{
|
|
3217
|
-
"kind": "
|
|
3218
|
-
"name": "
|
|
3093
|
+
"kind": "field",
|
|
3094
|
+
"name": "handleItemFocus",
|
|
3219
3095
|
"privacy": "private",
|
|
3220
|
-
"
|
|
3221
|
-
"
|
|
3222
|
-
|
|
3223
|
-
}
|
|
3096
|
+
"inheritedFrom": {
|
|
3097
|
+
"name": "Accordion",
|
|
3098
|
+
"module": "src/accordion/accordion.ts"
|
|
3224
3099
|
}
|
|
3225
3100
|
},
|
|
3226
3101
|
{
|
|
3227
3102
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3103
|
+
"name": "adjust",
|
|
3229
3104
|
"privacy": "private",
|
|
3230
3105
|
"return": {
|
|
3231
3106
|
"type": {
|
|
3232
3107
|
"text": "void"
|
|
3233
3108
|
}
|
|
3109
|
+
},
|
|
3110
|
+
"parameters": [
|
|
3111
|
+
{
|
|
3112
|
+
"name": "adjustment",
|
|
3113
|
+
"type": {
|
|
3114
|
+
"text": "number"
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"inheritedFrom": {
|
|
3119
|
+
"name": "Accordion",
|
|
3120
|
+
"module": "src/accordion/accordion.ts"
|
|
3234
3121
|
}
|
|
3235
3122
|
},
|
|
3236
3123
|
{
|
|
3237
3124
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3125
|
+
"name": "focusItem",
|
|
3126
|
+
"privacy": "private",
|
|
3239
3127
|
"return": {
|
|
3240
3128
|
"type": {
|
|
3241
|
-
"text": "
|
|
3129
|
+
"text": "void"
|
|
3242
3130
|
}
|
|
3131
|
+
},
|
|
3132
|
+
"inheritedFrom": {
|
|
3133
|
+
"name": "Accordion",
|
|
3134
|
+
"module": "src/accordion/accordion.ts"
|
|
3243
3135
|
}
|
|
3244
3136
|
},
|
|
3245
3137
|
{
|
|
@@ -3354,363 +3246,310 @@
|
|
|
3354
3246
|
}
|
|
3355
3247
|
}
|
|
3356
3248
|
],
|
|
3357
|
-
"
|
|
3358
|
-
|
|
3359
|
-
|
|
3249
|
+
"events": [
|
|
3250
|
+
{
|
|
3251
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3252
|
+
"name": "change",
|
|
3253
|
+
"inheritedFrom": {
|
|
3254
|
+
"name": "Accordion",
|
|
3255
|
+
"module": "src/accordion/accordion.ts"
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
3258
|
+
]
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "variable",
|
|
3262
|
+
"name": "foundationAccordionShadowOptions",
|
|
3263
|
+
"type": {
|
|
3264
|
+
"text": "ShadowRootInit"
|
|
3360
3265
|
},
|
|
3361
|
-
"
|
|
3362
|
-
"customElement": true
|
|
3266
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3363
3267
|
},
|
|
3364
3268
|
{
|
|
3365
3269
|
"kind": "variable",
|
|
3366
|
-
"name": "
|
|
3270
|
+
"name": "defaultAccordionConfig",
|
|
3271
|
+
"type": {
|
|
3272
|
+
"text": "object"
|
|
3273
|
+
},
|
|
3274
|
+
"default": "{}"
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"kind": "variable",
|
|
3278
|
+
"name": "foundationAccordion",
|
|
3279
|
+
"description": "The Foundation Accordion",
|
|
3280
|
+
"privacy": "public"
|
|
3367
3281
|
}
|
|
3368
3282
|
],
|
|
3369
3283
|
"exports": [
|
|
3370
3284
|
{
|
|
3371
3285
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3286
|
+
"name": "Accordion",
|
|
3373
3287
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "src/
|
|
3288
|
+
"name": "Accordion",
|
|
3289
|
+
"module": "src/accordion/accordion.ts"
|
|
3376
3290
|
}
|
|
3377
3291
|
},
|
|
3378
3292
|
{
|
|
3379
3293
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3381
|
-
"declaration": {
|
|
3382
|
-
"name": "foundationAiIndicator",
|
|
3383
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3384
|
-
}
|
|
3385
|
-
}
|
|
3386
|
-
]
|
|
3387
|
-
},
|
|
3388
|
-
{
|
|
3389
|
-
"kind": "javascript-module",
|
|
3390
|
-
"path": "src/ai-indicator/index.ts",
|
|
3391
|
-
"declarations": [],
|
|
3392
|
-
"exports": [
|
|
3393
|
-
{
|
|
3394
|
-
"kind": "js",
|
|
3395
|
-
"name": "AiIndicator",
|
|
3294
|
+
"name": "foundationAccordionShadowOptions",
|
|
3396
3295
|
"declaration": {
|
|
3397
|
-
"name": "
|
|
3398
|
-
"module": "
|
|
3296
|
+
"name": "foundationAccordionShadowOptions",
|
|
3297
|
+
"module": "src/accordion/accordion.ts"
|
|
3399
3298
|
}
|
|
3400
3299
|
},
|
|
3401
3300
|
{
|
|
3402
3301
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3302
|
+
"name": "defaultAccordionConfig",
|
|
3404
3303
|
"declaration": {
|
|
3405
|
-
"name": "
|
|
3406
|
-
"module": "
|
|
3304
|
+
"name": "defaultAccordionConfig",
|
|
3305
|
+
"module": "src/accordion/accordion.ts"
|
|
3407
3306
|
}
|
|
3408
3307
|
},
|
|
3409
3308
|
{
|
|
3410
3309
|
"kind": "js",
|
|
3411
|
-
"name": "
|
|
3310
|
+
"name": "foundationAccordion",
|
|
3412
3311
|
"declaration": {
|
|
3413
|
-
"name": "
|
|
3414
|
-
"module": "
|
|
3312
|
+
"name": "foundationAccordion",
|
|
3313
|
+
"module": "src/accordion/accordion.ts"
|
|
3415
3314
|
}
|
|
3416
|
-
}
|
|
3315
|
+
}
|
|
3316
|
+
]
|
|
3317
|
+
},
|
|
3318
|
+
{
|
|
3319
|
+
"kind": "javascript-module",
|
|
3320
|
+
"path": "src/accordion/index.ts",
|
|
3321
|
+
"declarations": [],
|
|
3322
|
+
"exports": [
|
|
3417
3323
|
{
|
|
3418
3324
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3325
|
+
"name": "*",
|
|
3420
3326
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"
|
|
3327
|
+
"name": "*",
|
|
3328
|
+
"package": "./accordion.template"
|
|
3423
3329
|
}
|
|
3424
3330
|
},
|
|
3425
3331
|
{
|
|
3426
3332
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3333
|
+
"name": "*",
|
|
3428
3334
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"
|
|
3335
|
+
"name": "*",
|
|
3336
|
+
"package": "./accordion.styles"
|
|
3431
3337
|
}
|
|
3432
3338
|
},
|
|
3433
3339
|
{
|
|
3434
3340
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3341
|
+
"name": "*",
|
|
3436
3342
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3343
|
+
"name": "*",
|
|
3344
|
+
"package": "./accordion"
|
|
3439
3345
|
}
|
|
3440
3346
|
}
|
|
3441
3347
|
]
|
|
3442
3348
|
},
|
|
3443
3349
|
{
|
|
3444
3350
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/
|
|
3351
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3446
3352
|
"declarations": [
|
|
3447
3353
|
{
|
|
3448
|
-
"kind": "
|
|
3449
|
-
"name": "
|
|
3450
|
-
"
|
|
3451
|
-
"type": {
|
|
3452
|
-
"text": "ElementStyles"
|
|
3453
|
-
}
|
|
3454
|
-
},
|
|
3455
|
-
"parameters": [
|
|
3456
|
-
{
|
|
3457
|
-
"name": "context",
|
|
3458
|
-
"type": {
|
|
3459
|
-
"text": "ElementDefinitionContext"
|
|
3460
|
-
}
|
|
3461
|
-
},
|
|
3462
|
-
{
|
|
3463
|
-
"name": "definition",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "FoundationElementDefinition"
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3354
|
+
"kind": "variable",
|
|
3355
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3356
|
+
"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`"
|
|
3469
3357
|
}
|
|
3470
3358
|
],
|
|
3471
3359
|
"exports": [
|
|
3472
3360
|
{
|
|
3473
3361
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3362
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3475
3363
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/
|
|
3364
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3365
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3478
3366
|
}
|
|
3479
3367
|
}
|
|
3480
3368
|
]
|
|
3481
3369
|
},
|
|
3482
3370
|
{
|
|
3483
3371
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/
|
|
3372
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3485
3373
|
"declarations": [
|
|
3486
3374
|
{
|
|
3487
|
-
"kind": "
|
|
3488
|
-
"name": "
|
|
3489
|
-
"
|
|
3490
|
-
"
|
|
3491
|
-
"text": "ViewTemplate<Accordion>"
|
|
3492
|
-
}
|
|
3375
|
+
"kind": "variable",
|
|
3376
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3377
|
+
"type": {
|
|
3378
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3493
3379
|
},
|
|
3494
|
-
"
|
|
3495
|
-
{
|
|
3496
|
-
"name": "context",
|
|
3497
|
-
"type": {
|
|
3498
|
-
"text": "ElementDefinitionContext"
|
|
3499
|
-
}
|
|
3500
|
-
},
|
|
3501
|
-
{
|
|
3502
|
-
"name": "definition",
|
|
3503
|
-
"type": {
|
|
3504
|
-
"text": "FoundationElementDefinition"
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
]
|
|
3380
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3508
3381
|
}
|
|
3509
3382
|
],
|
|
3510
3383
|
"exports": [
|
|
3511
3384
|
{
|
|
3512
3385
|
"kind": "js",
|
|
3513
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3514
3387
|
"declaration": {
|
|
3515
|
-
"name": "
|
|
3516
|
-
"module": "src/
|
|
3388
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3389
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3517
3390
|
}
|
|
3518
3391
|
}
|
|
3519
3392
|
]
|
|
3520
3393
|
},
|
|
3521
3394
|
{
|
|
3522
3395
|
"kind": "javascript-module",
|
|
3523
|
-
"path": "src/
|
|
3396
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3524
3397
|
"declarations": [
|
|
3525
3398
|
{
|
|
3526
3399
|
"kind": "class",
|
|
3527
|
-
"description": "",
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"name": "FASTAccordion",
|
|
3531
|
-
"package": "@microsoft/fast-foundation"
|
|
3532
|
-
},
|
|
3533
|
-
"tagName": "%%prefix%%-accordion",
|
|
3534
|
-
"customElement": true,
|
|
3535
|
-
"attributes": [
|
|
3400
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3401
|
+
"name": "AiCriteriaSearch",
|
|
3402
|
+
"members": [
|
|
3536
3403
|
{
|
|
3537
|
-
"
|
|
3404
|
+
"kind": "field",
|
|
3405
|
+
"name": "providerRegistry",
|
|
3538
3406
|
"type": {
|
|
3539
|
-
"text": "
|
|
3540
|
-
},
|
|
3541
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
-
"fieldName": "expandmode",
|
|
3543
|
-
"inheritedFrom": {
|
|
3544
|
-
"name": "Accordion",
|
|
3545
|
-
"module": "src/accordion/accordion.ts"
|
|
3407
|
+
"text": "AIProviderRegistry"
|
|
3546
3408
|
}
|
|
3547
|
-
}
|
|
3548
|
-
],
|
|
3549
|
-
"members": [
|
|
3409
|
+
},
|
|
3550
3410
|
{
|
|
3551
3411
|
"kind": "field",
|
|
3552
|
-
"name": "
|
|
3412
|
+
"name": "placeholder",
|
|
3553
3413
|
"type": {
|
|
3554
|
-
"text": "
|
|
3414
|
+
"text": "string"
|
|
3555
3415
|
},
|
|
3556
|
-
"
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3416
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "field",
|
|
3420
|
+
"name": "disabled",
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": "boolean"
|
|
3561
3423
|
}
|
|
3562
3424
|
},
|
|
3563
3425
|
{
|
|
3564
3426
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3427
|
+
"name": "inputValue",
|
|
3566
3428
|
"type": {
|
|
3567
|
-
"text": "string
|
|
3429
|
+
"text": "string"
|
|
3568
3430
|
},
|
|
3569
|
-
"
|
|
3570
|
-
"inheritedFrom": {
|
|
3571
|
-
"name": "Accordion",
|
|
3572
|
-
"module": "src/accordion/accordion.ts"
|
|
3573
|
-
}
|
|
3431
|
+
"default": "''"
|
|
3574
3432
|
},
|
|
3575
3433
|
{
|
|
3576
3434
|
"kind": "field",
|
|
3577
|
-
"name": "
|
|
3435
|
+
"name": "isInterpreting",
|
|
3578
3436
|
"type": {
|
|
3579
|
-
"text": "
|
|
3437
|
+
"text": "boolean"
|
|
3580
3438
|
},
|
|
3581
|
-
"
|
|
3582
|
-
"default": "0",
|
|
3583
|
-
"inheritedFrom": {
|
|
3584
|
-
"name": "Accordion",
|
|
3585
|
-
"module": "src/accordion/accordion.ts"
|
|
3586
|
-
}
|
|
3439
|
+
"default": "false"
|
|
3587
3440
|
},
|
|
3588
3441
|
{
|
|
3589
3442
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3443
|
+
"name": "lastValidCriteria",
|
|
3591
3444
|
"type": {
|
|
3592
|
-
"text": "
|
|
3445
|
+
"text": "string | null"
|
|
3593
3446
|
},
|
|
3594
|
-
"
|
|
3595
|
-
"inheritedFrom": {
|
|
3596
|
-
"name": "Accordion",
|
|
3597
|
-
"module": "src/accordion/accordion.ts"
|
|
3598
|
-
}
|
|
3447
|
+
"default": "null"
|
|
3599
3448
|
},
|
|
3600
3449
|
{
|
|
3601
3450
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
}
|
|
3451
|
+
"name": "activeGroups",
|
|
3452
|
+
"type": {
|
|
3453
|
+
"text": "CriteriaGroup[]"
|
|
3454
|
+
},
|
|
3455
|
+
"default": "[]"
|
|
3608
3456
|
},
|
|
3609
3457
|
{
|
|
3610
|
-
"kind": "
|
|
3611
|
-
"name": "
|
|
3612
|
-
"
|
|
3613
|
-
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "AccordionItem | null"
|
|
3616
|
-
}
|
|
3458
|
+
"kind": "field",
|
|
3459
|
+
"name": "showingChips",
|
|
3460
|
+
"type": {
|
|
3461
|
+
"text": "boolean"
|
|
3617
3462
|
},
|
|
3618
|
-
"
|
|
3619
|
-
"name": "Accordion",
|
|
3620
|
-
"module": "src/accordion/accordion.ts"
|
|
3621
|
-
}
|
|
3463
|
+
"default": "false"
|
|
3622
3464
|
},
|
|
3623
3465
|
{
|
|
3624
3466
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
}
|
|
3467
|
+
"name": "fieldMetadata",
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "MetadataDetail[] | string[]"
|
|
3470
|
+
},
|
|
3471
|
+
"default": "[]"
|
|
3631
3472
|
},
|
|
3632
3473
|
{
|
|
3633
|
-
"kind": "
|
|
3634
|
-
"name": "
|
|
3635
|
-
"
|
|
3636
|
-
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "void"
|
|
3639
|
-
}
|
|
3474
|
+
"kind": "field",
|
|
3475
|
+
"name": "isRecording",
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "boolean"
|
|
3640
3478
|
},
|
|
3641
|
-
"
|
|
3642
|
-
"name": "Accordion",
|
|
3643
|
-
"module": "src/accordion/accordion.ts"
|
|
3644
|
-
}
|
|
3479
|
+
"default": "false"
|
|
3645
3480
|
},
|
|
3646
3481
|
{
|
|
3647
3482
|
"kind": "field",
|
|
3648
|
-
"name": "
|
|
3649
|
-
"
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
}
|
|
3483
|
+
"name": "textAreaRef",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "HTMLTextAreaElement"
|
|
3486
|
+
},
|
|
3487
|
+
"privacy": "public"
|
|
3654
3488
|
},
|
|
3655
3489
|
{
|
|
3656
3490
|
"kind": "field",
|
|
3657
|
-
"name": "
|
|
3491
|
+
"name": "stopRecording",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "(() => void) | null"
|
|
3494
|
+
},
|
|
3658
3495
|
"privacy": "private",
|
|
3659
|
-
"
|
|
3660
|
-
"name": "Accordion",
|
|
3661
|
-
"module": "src/accordion/accordion.ts"
|
|
3662
|
-
}
|
|
3496
|
+
"default": "null"
|
|
3663
3497
|
},
|
|
3664
3498
|
{
|
|
3665
|
-
"kind": "
|
|
3666
|
-
"name": "
|
|
3667
|
-
"
|
|
3668
|
-
|
|
3669
|
-
"type": {
|
|
3670
|
-
"text": "Array<string | null>"
|
|
3671
|
-
}
|
|
3499
|
+
"kind": "field",
|
|
3500
|
+
"name": "speechApplyDebounceTimer",
|
|
3501
|
+
"type": {
|
|
3502
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3672
3503
|
},
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
"module": "src/accordion/accordion.ts"
|
|
3676
|
-
}
|
|
3504
|
+
"privacy": "private",
|
|
3505
|
+
"default": "null"
|
|
3677
3506
|
},
|
|
3678
3507
|
{
|
|
3679
|
-
"kind": "
|
|
3680
|
-
"name": "
|
|
3681
|
-
"
|
|
3682
|
-
|
|
3683
|
-
"type": {
|
|
3684
|
-
"text": "boolean"
|
|
3685
|
-
}
|
|
3508
|
+
"kind": "field",
|
|
3509
|
+
"name": "speechAvailable",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "boolean"
|
|
3686
3512
|
},
|
|
3687
|
-
"
|
|
3688
|
-
"name": "Accordion",
|
|
3689
|
-
"module": "src/accordion/accordion.ts"
|
|
3690
|
-
}
|
|
3513
|
+
"readonly": true
|
|
3691
3514
|
},
|
|
3692
3515
|
{
|
|
3693
3516
|
"kind": "field",
|
|
3694
|
-
"name": "
|
|
3695
|
-
"
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
}
|
|
3517
|
+
"name": "criteriaChips",
|
|
3518
|
+
"type": {
|
|
3519
|
+
"text": "CriteriaChip[]"
|
|
3520
|
+
},
|
|
3521
|
+
"readonly": true
|
|
3700
3522
|
},
|
|
3701
3523
|
{
|
|
3702
|
-
"kind": "
|
|
3703
|
-
"name": "
|
|
3524
|
+
"kind": "method",
|
|
3525
|
+
"name": "getFieldLabel",
|
|
3704
3526
|
"privacy": "private",
|
|
3705
|
-
"
|
|
3706
|
-
"
|
|
3707
|
-
|
|
3527
|
+
"return": {
|
|
3528
|
+
"type": {
|
|
3529
|
+
"text": "string"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"parameters": [
|
|
3533
|
+
{
|
|
3534
|
+
"name": "fieldName",
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "string"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "method",
|
|
3543
|
+
"name": "toggleCriteriaView",
|
|
3544
|
+
"return": {
|
|
3545
|
+
"type": {
|
|
3546
|
+
"text": "void"
|
|
3547
|
+
}
|
|
3708
3548
|
}
|
|
3709
3549
|
},
|
|
3710
3550
|
{
|
|
3711
3551
|
"kind": "method",
|
|
3712
|
-
"name": "
|
|
3713
|
-
"privacy": "private",
|
|
3552
|
+
"name": "removeChip",
|
|
3714
3553
|
"return": {
|
|
3715
3554
|
"type": {
|
|
3716
3555
|
"text": "void"
|
|
@@ -3718,31 +3557,49 @@
|
|
|
3718
3557
|
},
|
|
3719
3558
|
"parameters": [
|
|
3720
3559
|
{
|
|
3721
|
-
"name": "
|
|
3560
|
+
"name": "groupIndex",
|
|
3561
|
+
"type": {
|
|
3562
|
+
"text": "number"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "clauseIndex",
|
|
3722
3567
|
"type": {
|
|
3723
3568
|
"text": "number"
|
|
3724
3569
|
}
|
|
3725
3570
|
}
|
|
3726
|
-
]
|
|
3727
|
-
"inheritedFrom": {
|
|
3728
|
-
"name": "Accordion",
|
|
3729
|
-
"module": "src/accordion/accordion.ts"
|
|
3730
|
-
}
|
|
3571
|
+
]
|
|
3731
3572
|
},
|
|
3732
3573
|
{
|
|
3733
3574
|
"kind": "method",
|
|
3734
|
-
"name": "
|
|
3735
|
-
"privacy": "private",
|
|
3575
|
+
"name": "clearChips",
|
|
3736
3576
|
"return": {
|
|
3737
3577
|
"type": {
|
|
3738
3578
|
"text": "void"
|
|
3739
3579
|
}
|
|
3740
|
-
},
|
|
3741
|
-
"inheritedFrom": {
|
|
3742
|
-
"name": "Accordion",
|
|
3743
|
-
"module": "src/accordion/accordion.ts"
|
|
3744
3580
|
}
|
|
3745
3581
|
},
|
|
3582
|
+
{
|
|
3583
|
+
"kind": "method",
|
|
3584
|
+
"name": "handleSubmit"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"kind": "method",
|
|
3588
|
+
"name": "handleBlur"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"kind": "method",
|
|
3592
|
+
"name": "clear"
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"kind": "method",
|
|
3596
|
+
"name": "toggleSpeechInput"
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "method",
|
|
3600
|
+
"name": "clearSpeechApplyDebounce",
|
|
3601
|
+
"privacy": "private"
|
|
3602
|
+
},
|
|
3746
3603
|
{
|
|
3747
3604
|
"kind": "field",
|
|
3748
3605
|
"name": "_presentation",
|
|
@@ -3857,26 +3714,48 @@
|
|
|
3857
3714
|
],
|
|
3858
3715
|
"events": [
|
|
3859
3716
|
{
|
|
3860
|
-
"description": "
|
|
3861
|
-
"name": "
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3717
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3718
|
+
"name": "criteria-changed"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3722
|
+
"name": "validation-errors"
|
|
3866
3723
|
}
|
|
3867
|
-
]
|
|
3724
|
+
],
|
|
3725
|
+
"attributes": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "placeholder",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3732
|
+
"fieldName": "placeholder"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "boolean"
|
|
3737
|
+
},
|
|
3738
|
+
"fieldName": "disabled"
|
|
3739
|
+
}
|
|
3740
|
+
],
|
|
3741
|
+
"superclass": {
|
|
3742
|
+
"name": "FoundationElement",
|
|
3743
|
+
"package": "@microsoft/fast-foundation"
|
|
3744
|
+
},
|
|
3745
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3746
|
+
"customElement": true
|
|
3868
3747
|
},
|
|
3869
3748
|
{
|
|
3870
3749
|
"kind": "variable",
|
|
3871
|
-
"name": "
|
|
3750
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3872
3751
|
"type": {
|
|
3873
3752
|
"text": "ShadowRootInit"
|
|
3874
3753
|
},
|
|
3875
|
-
"default": "
|
|
3754
|
+
"default": "undefined"
|
|
3876
3755
|
},
|
|
3877
3756
|
{
|
|
3878
3757
|
"kind": "variable",
|
|
3879
|
-
"name": "
|
|
3758
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3880
3759
|
"type": {
|
|
3881
3760
|
"text": "object"
|
|
3882
3761
|
},
|
|
@@ -3884,57 +3763,103 @@
|
|
|
3884
3763
|
},
|
|
3885
3764
|
{
|
|
3886
3765
|
"kind": "variable",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"description": "The Foundation Accordion",
|
|
3889
|
-
"privacy": "public"
|
|
3766
|
+
"name": "foundationAiCriteriaSearch"
|
|
3890
3767
|
}
|
|
3891
3768
|
],
|
|
3892
3769
|
"exports": [
|
|
3893
3770
|
{
|
|
3894
3771
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3772
|
+
"name": "AiCriteriaSearch",
|
|
3896
3773
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3774
|
+
"name": "AiCriteriaSearch",
|
|
3775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3899
3776
|
}
|
|
3900
3777
|
},
|
|
3901
3778
|
{
|
|
3902
3779
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3780
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3904
3781
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
3782
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3907
3784
|
}
|
|
3908
3785
|
},
|
|
3909
3786
|
{
|
|
3910
3787
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3788
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3912
3789
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/
|
|
3790
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3915
3792
|
}
|
|
3916
3793
|
},
|
|
3917
3794
|
{
|
|
3918
3795
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3796
|
+
"name": "foundationAiCriteriaSearch",
|
|
3920
3797
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/
|
|
3798
|
+
"name": "foundationAiCriteriaSearch",
|
|
3799
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3923
3800
|
}
|
|
3924
3801
|
}
|
|
3925
3802
|
]
|
|
3926
3803
|
},
|
|
3927
3804
|
{
|
|
3928
3805
|
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/
|
|
3806
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3930
3807
|
"declarations": [],
|
|
3931
3808
|
"exports": [
|
|
3809
|
+
{
|
|
3810
|
+
"kind": "js",
|
|
3811
|
+
"name": "AiCriteriaSearch",
|
|
3812
|
+
"declaration": {
|
|
3813
|
+
"name": "AiCriteriaSearch",
|
|
3814
|
+
"module": "./ai-criteria-search"
|
|
3815
|
+
}
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"kind": "js",
|
|
3819
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3820
|
+
"declaration": {
|
|
3821
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3822
|
+
"module": "./ai-criteria-search"
|
|
3823
|
+
}
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"kind": "js",
|
|
3827
|
+
"name": "foundationAiCriteriaSearch",
|
|
3828
|
+
"declaration": {
|
|
3829
|
+
"name": "foundationAiCriteriaSearch",
|
|
3830
|
+
"module": "./ai-criteria-search"
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"kind": "js",
|
|
3835
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3836
|
+
"declaration": {
|
|
3837
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3838
|
+
"module": "./ai-criteria-search"
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"kind": "js",
|
|
3843
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3844
|
+
"declaration": {
|
|
3845
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3846
|
+
"module": "./ai-criteria-search.styles"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "js",
|
|
3851
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3852
|
+
"declaration": {
|
|
3853
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3854
|
+
"module": "./ai-criteria-search.template"
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3932
3857
|
{
|
|
3933
3858
|
"kind": "js",
|
|
3934
3859
|
"name": "*",
|
|
3935
3860
|
"declaration": {
|
|
3936
3861
|
"name": "*",
|
|
3937
|
-
"package": "./
|
|
3862
|
+
"package": "./validation/criteria-ir"
|
|
3938
3863
|
}
|
|
3939
3864
|
},
|
|
3940
3865
|
{
|
|
@@ -3942,7 +3867,7 @@
|
|
|
3942
3867
|
"name": "*",
|
|
3943
3868
|
"declaration": {
|
|
3944
3869
|
"name": "*",
|
|
3945
|
-
"package": "./
|
|
3870
|
+
"package": "./validation/operator-map"
|
|
3946
3871
|
}
|
|
3947
3872
|
},
|
|
3948
3873
|
{
|
|
@@ -3950,7 +3875,82 @@
|
|
|
3950
3875
|
"name": "*",
|
|
3951
3876
|
"declaration": {
|
|
3952
3877
|
"name": "*",
|
|
3953
|
-
"package": "./
|
|
3878
|
+
"package": "./validation/schema-validator"
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
]
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
"kind": "javascript-module",
|
|
3885
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3886
|
+
"declarations": [
|
|
3887
|
+
{
|
|
3888
|
+
"kind": "function",
|
|
3889
|
+
"name": "formatValidationErrors",
|
|
3890
|
+
"return": {
|
|
3891
|
+
"type": {
|
|
3892
|
+
"text": "string"
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
"parameters": [
|
|
3896
|
+
{
|
|
3897
|
+
"name": "errors",
|
|
3898
|
+
"type": {
|
|
3899
|
+
"text": "ValidationError[]"
|
|
3900
|
+
}
|
|
3901
|
+
}
|
|
3902
|
+
],
|
|
3903
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "function",
|
|
3907
|
+
"name": "showCriteriaError",
|
|
3908
|
+
"return": {
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "void"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
"parameters": [
|
|
3914
|
+
{
|
|
3915
|
+
"name": "title",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "string"
|
|
3918
|
+
},
|
|
3919
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"name": "body",
|
|
3923
|
+
"type": {
|
|
3924
|
+
"text": "string"
|
|
3925
|
+
},
|
|
3926
|
+
"description": "Error message to display"
|
|
3927
|
+
},
|
|
3928
|
+
{
|
|
3929
|
+
"name": "tagName",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "string"
|
|
3932
|
+
},
|
|
3933
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3937
|
+
}
|
|
3938
|
+
],
|
|
3939
|
+
"exports": [
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "js",
|
|
3942
|
+
"name": "formatValidationErrors",
|
|
3943
|
+
"declaration": {
|
|
3944
|
+
"name": "formatValidationErrors",
|
|
3945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"kind": "js",
|
|
3950
|
+
"name": "showCriteriaError",
|
|
3951
|
+
"declaration": {
|
|
3952
|
+
"name": "showCriteriaError",
|
|
3953
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|