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