@genesislcap/foundation-ui 15.20.0 → 15.20.1-GENC-1573.1
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 +569 -569
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -1493,37 +1493,6 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/_config/index.ts",
|
|
1499
|
-
"declarations": [],
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "js",
|
|
1511
|
-
"name": "*",
|
|
1512
|
-
"declaration": {
|
|
1513
|
-
"name": "*",
|
|
1514
|
-
"package": "./tokens"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"kind": "js",
|
|
1519
|
-
"name": "*",
|
|
1520
|
-
"declaration": {
|
|
1521
|
-
"name": "*",
|
|
1522
|
-
"package": "./values"
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
]
|
|
1526
|
-
},
|
|
1527
1496
|
{
|
|
1528
1497
|
"kind": "javascript-module",
|
|
1529
1498
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1918,6 +1887,37 @@
|
|
|
1918
1887
|
}
|
|
1919
1888
|
]
|
|
1920
1889
|
},
|
|
1890
|
+
{
|
|
1891
|
+
"kind": "javascript-module",
|
|
1892
|
+
"path": "src/_config/index.ts",
|
|
1893
|
+
"declarations": [],
|
|
1894
|
+
"exports": [
|
|
1895
|
+
{
|
|
1896
|
+
"kind": "js",
|
|
1897
|
+
"name": "*",
|
|
1898
|
+
"declaration": {
|
|
1899
|
+
"name": "*",
|
|
1900
|
+
"package": "./styles"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "js",
|
|
1905
|
+
"name": "*",
|
|
1906
|
+
"declaration": {
|
|
1907
|
+
"name": "*",
|
|
1908
|
+
"package": "./tokens"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "*",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "*",
|
|
1916
|
+
"package": "./values"
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"kind": "javascript-module",
|
|
1923
1923
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2491,275 +2491,208 @@
|
|
|
2491
2491
|
},
|
|
2492
2492
|
{
|
|
2493
2493
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
2495
|
"declarations": [
|
|
2496
2496
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "ElementStyles"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"parameters": [
|
|
2505
|
-
{
|
|
2506
|
-
"name": "context",
|
|
2507
|
-
"type": {
|
|
2508
|
-
"text": "ElementDefinitionContext"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"name": "definition",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "FoundationElementDefinition"
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"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`"
|
|
2518
2500
|
}
|
|
2519
2501
|
],
|
|
2520
2502
|
"exports": [
|
|
2521
2503
|
{
|
|
2522
2504
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2524
2506
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/
|
|
2507
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2527
2509
|
}
|
|
2528
2510
|
}
|
|
2529
2511
|
]
|
|
2530
2512
|
},
|
|
2531
2513
|
{
|
|
2532
2514
|
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2534
2516
|
"declarations": [
|
|
2535
2517
|
{
|
|
2536
|
-
"kind": "
|
|
2537
|
-
"name": "
|
|
2538
|
-
"
|
|
2539
|
-
"
|
|
2540
|
-
"text": "ViewTemplate<Accordion>"
|
|
2541
|
-
}
|
|
2518
|
+
"kind": "variable",
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2542
2522
|
},
|
|
2543
|
-
"
|
|
2544
|
-
{
|
|
2545
|
-
"name": "context",
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "ElementDefinitionContext"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
"name": "definition",
|
|
2552
|
-
"type": {
|
|
2553
|
-
"text": "FoundationElementDefinition"
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
|
-
]
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2557
2524
|
}
|
|
2558
2525
|
],
|
|
2559
2526
|
"exports": [
|
|
2560
2527
|
{
|
|
2561
2528
|
"kind": "js",
|
|
2562
|
-
"name": "
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2563
2530
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2566
2533
|
}
|
|
2567
2534
|
}
|
|
2568
2535
|
]
|
|
2569
2536
|
},
|
|
2570
2537
|
{
|
|
2571
2538
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2573
2540
|
"declarations": [
|
|
2574
2541
|
{
|
|
2575
2542
|
"kind": "class",
|
|
2576
|
-
"description": "",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2579
|
-
"name": "FASTAccordion",
|
|
2580
|
-
"package": "@microsoft/fast-foundation"
|
|
2581
|
-
},
|
|
2582
|
-
"tagName": "%%prefix%%-accordion",
|
|
2583
|
-
"customElement": true,
|
|
2584
|
-
"attributes": [
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2545
|
+
"members": [
|
|
2585
2546
|
{
|
|
2586
|
-
"
|
|
2547
|
+
"kind": "field",
|
|
2548
|
+
"name": "providerRegistry",
|
|
2587
2549
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
},
|
|
2590
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
-
"fieldName": "expandmode",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "Accordion",
|
|
2594
|
-
"module": "src/accordion/accordion.ts"
|
|
2550
|
+
"text": "AIProviderRegistry"
|
|
2595
2551
|
}
|
|
2596
|
-
}
|
|
2597
|
-
],
|
|
2598
|
-
"members": [
|
|
2552
|
+
},
|
|
2599
2553
|
{
|
|
2600
2554
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2555
|
+
"name": "placeholder",
|
|
2602
2556
|
"type": {
|
|
2603
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2604
2558
|
},
|
|
2605
|
-
"
|
|
2606
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2607
|
-
"inheritedFrom": {
|
|
2608
|
-
"name": "Accordion",
|
|
2609
|
-
"module": "src/accordion/accordion.ts"
|
|
2610
|
-
}
|
|
2559
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2611
2560
|
},
|
|
2612
2561
|
{
|
|
2613
2562
|
"kind": "field",
|
|
2614
|
-
"name": "
|
|
2563
|
+
"name": "disabled",
|
|
2615
2564
|
"type": {
|
|
2616
|
-
"text": "
|
|
2617
|
-
},
|
|
2618
|
-
"privacy": "private",
|
|
2619
|
-
"inheritedFrom": {
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2565
|
+
"text": "boolean"
|
|
2622
2566
|
}
|
|
2623
2567
|
},
|
|
2624
2568
|
{
|
|
2625
2569
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2570
|
+
"name": "inputValue",
|
|
2627
2571
|
"type": {
|
|
2628
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2629
2573
|
},
|
|
2630
|
-
"
|
|
2631
|
-
"default": "0",
|
|
2632
|
-
"inheritedFrom": {
|
|
2633
|
-
"name": "Accordion",
|
|
2634
|
-
"module": "src/accordion/accordion.ts"
|
|
2635
|
-
}
|
|
2574
|
+
"default": "''"
|
|
2636
2575
|
},
|
|
2637
2576
|
{
|
|
2638
2577
|
"kind": "field",
|
|
2639
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2640
2579
|
"type": {
|
|
2641
|
-
"text": "
|
|
2580
|
+
"text": "boolean"
|
|
2642
2581
|
},
|
|
2643
|
-
"
|
|
2644
|
-
"inheritedFrom": {
|
|
2645
|
-
"name": "Accordion",
|
|
2646
|
-
"module": "src/accordion/accordion.ts"
|
|
2647
|
-
}
|
|
2582
|
+
"default": "false"
|
|
2648
2583
|
},
|
|
2649
2584
|
{
|
|
2650
2585
|
"kind": "field",
|
|
2651
|
-
"name": "
|
|
2652
|
-
"
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
}
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "string | null"
|
|
2589
|
+
},
|
|
2590
|
+
"default": "null"
|
|
2657
2591
|
},
|
|
2658
2592
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "AccordionItem | null"
|
|
2665
|
-
}
|
|
2593
|
+
"kind": "field",
|
|
2594
|
+
"name": "activeGroups",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2666
2597
|
},
|
|
2667
|
-
"
|
|
2668
|
-
"name": "Accordion",
|
|
2669
|
-
"module": "src/accordion/accordion.ts"
|
|
2670
|
-
}
|
|
2598
|
+
"default": "[]"
|
|
2671
2599
|
},
|
|
2672
2600
|
{
|
|
2673
2601
|
"kind": "field",
|
|
2674
|
-
"name": "
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
}
|
|
2602
|
+
"name": "showingChips",
|
|
2603
|
+
"type": {
|
|
2604
|
+
"text": "boolean"
|
|
2605
|
+
},
|
|
2606
|
+
"default": "false"
|
|
2680
2607
|
},
|
|
2681
2608
|
{
|
|
2682
|
-
"kind": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
"type": {
|
|
2687
|
-
"text": "void"
|
|
2688
|
-
}
|
|
2609
|
+
"kind": "field",
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2689
2613
|
},
|
|
2690
|
-
"
|
|
2691
|
-
"name": "Accordion",
|
|
2692
|
-
"module": "src/accordion/accordion.ts"
|
|
2693
|
-
}
|
|
2614
|
+
"default": "[]"
|
|
2694
2615
|
},
|
|
2695
2616
|
{
|
|
2696
2617
|
"kind": "field",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
}
|
|
2618
|
+
"name": "isRecording",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "boolean"
|
|
2621
|
+
},
|
|
2622
|
+
"default": "false"
|
|
2703
2623
|
},
|
|
2704
2624
|
{
|
|
2705
2625
|
"kind": "field",
|
|
2706
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2629
|
+
},
|
|
2630
|
+
"privacy": "public"
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "field",
|
|
2634
|
+
"name": "stopRecording",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2637
|
+
},
|
|
2707
2638
|
"privacy": "private",
|
|
2708
|
-
"
|
|
2709
|
-
"name": "Accordion",
|
|
2710
|
-
"module": "src/accordion/accordion.ts"
|
|
2711
|
-
}
|
|
2639
|
+
"default": "null"
|
|
2712
2640
|
},
|
|
2713
2641
|
{
|
|
2714
|
-
"kind": "
|
|
2715
|
-
"name": "
|
|
2642
|
+
"kind": "field",
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2646
|
+
},
|
|
2716
2647
|
"privacy": "private",
|
|
2717
|
-
"
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2648
|
+
"default": "null"
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"kind": "field",
|
|
2652
|
+
"name": "speechAvailable",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "boolean"
|
|
2721
2655
|
},
|
|
2722
|
-
"
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2656
|
+
"readonly": true
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "criteriaChips",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2726
2665
|
},
|
|
2727
2666
|
{
|
|
2728
2667
|
"kind": "method",
|
|
2729
|
-
"name": "
|
|
2668
|
+
"name": "getFieldLabel",
|
|
2730
2669
|
"privacy": "private",
|
|
2731
2670
|
"return": {
|
|
2732
2671
|
"type": {
|
|
2733
|
-
"text": "
|
|
2672
|
+
"text": "string"
|
|
2734
2673
|
}
|
|
2735
2674
|
},
|
|
2736
|
-
"
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
"privacy": "private",
|
|
2745
|
-
"inheritedFrom": {
|
|
2746
|
-
"name": "Accordion",
|
|
2747
|
-
"module": "src/accordion/accordion.ts"
|
|
2748
|
-
}
|
|
2675
|
+
"parameters": [
|
|
2676
|
+
{
|
|
2677
|
+
"name": "fieldName",
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "string"
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
]
|
|
2749
2683
|
},
|
|
2750
2684
|
{
|
|
2751
|
-
"kind": "
|
|
2752
|
-
"name": "
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2687
|
+
"return": {
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "void"
|
|
2690
|
+
}
|
|
2757
2691
|
}
|
|
2758
2692
|
},
|
|
2759
2693
|
{
|
|
2760
2694
|
"kind": "method",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"privacy": "private",
|
|
2695
|
+
"name": "removeChip",
|
|
2763
2696
|
"return": {
|
|
2764
2697
|
"type": {
|
|
2765
2698
|
"text": "void"
|
|
@@ -2767,31 +2700,49 @@
|
|
|
2767
2700
|
},
|
|
2768
2701
|
"parameters": [
|
|
2769
2702
|
{
|
|
2770
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2704
|
+
"type": {
|
|
2705
|
+
"text": "number"
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "clauseIndex",
|
|
2771
2710
|
"type": {
|
|
2772
2711
|
"text": "number"
|
|
2773
2712
|
}
|
|
2774
2713
|
}
|
|
2775
|
-
]
|
|
2776
|
-
"inheritedFrom": {
|
|
2777
|
-
"name": "Accordion",
|
|
2778
|
-
"module": "src/accordion/accordion.ts"
|
|
2779
|
-
}
|
|
2714
|
+
]
|
|
2780
2715
|
},
|
|
2781
2716
|
{
|
|
2782
2717
|
"kind": "method",
|
|
2783
|
-
"name": "
|
|
2784
|
-
"privacy": "private",
|
|
2718
|
+
"name": "clearChips",
|
|
2785
2719
|
"return": {
|
|
2786
2720
|
"type": {
|
|
2787
2721
|
"text": "void"
|
|
2788
2722
|
}
|
|
2789
|
-
},
|
|
2790
|
-
"inheritedFrom": {
|
|
2791
|
-
"name": "Accordion",
|
|
2792
|
-
"module": "src/accordion/accordion.ts"
|
|
2793
2723
|
}
|
|
2794
2724
|
},
|
|
2725
|
+
{
|
|
2726
|
+
"kind": "method",
|
|
2727
|
+
"name": "handleSubmit"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"kind": "method",
|
|
2731
|
+
"name": "handleBlur"
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"kind": "method",
|
|
2735
|
+
"name": "clear"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "method",
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2745
|
+
},
|
|
2795
2746
|
{
|
|
2796
2747
|
"kind": "field",
|
|
2797
2748
|
"name": "_presentation",
|
|
@@ -2906,26 +2857,48 @@
|
|
|
2906
2857
|
],
|
|
2907
2858
|
"events": [
|
|
2908
2859
|
{
|
|
2909
|
-
"description": "
|
|
2910
|
-
"name": "
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2860
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
+
"name": "criteria-changed"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
+
"name": "validation-errors"
|
|
2915
2866
|
}
|
|
2916
|
-
]
|
|
2867
|
+
],
|
|
2868
|
+
"attributes": [
|
|
2869
|
+
{
|
|
2870
|
+
"name": "placeholder",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "string"
|
|
2873
|
+
},
|
|
2874
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
+
"fieldName": "placeholder"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"type": {
|
|
2879
|
+
"text": "boolean"
|
|
2880
|
+
},
|
|
2881
|
+
"fieldName": "disabled"
|
|
2882
|
+
}
|
|
2883
|
+
],
|
|
2884
|
+
"superclass": {
|
|
2885
|
+
"name": "FoundationElement",
|
|
2886
|
+
"package": "@microsoft/fast-foundation"
|
|
2887
|
+
},
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2889
|
+
"customElement": true
|
|
2917
2890
|
},
|
|
2918
2891
|
{
|
|
2919
2892
|
"kind": "variable",
|
|
2920
|
-
"name": "
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2921
2894
|
"type": {
|
|
2922
2895
|
"text": "ShadowRootInit"
|
|
2923
2896
|
},
|
|
2924
|
-
"default": "
|
|
2897
|
+
"default": "undefined"
|
|
2925
2898
|
},
|
|
2926
2899
|
{
|
|
2927
2900
|
"kind": "variable",
|
|
2928
|
-
"name": "
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2929
2902
|
"type": {
|
|
2930
2903
|
"text": "object"
|
|
2931
2904
|
},
|
|
@@ -2933,281 +2906,469 @@
|
|
|
2933
2906
|
},
|
|
2934
2907
|
{
|
|
2935
2908
|
"kind": "variable",
|
|
2936
|
-
"name": "
|
|
2937
|
-
"description": "The Foundation Accordion",
|
|
2938
|
-
"privacy": "public"
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
2939
2910
|
}
|
|
2940
2911
|
],
|
|
2941
2912
|
"exports": [
|
|
2942
2913
|
{
|
|
2943
2914
|
"kind": "js",
|
|
2944
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
2945
2916
|
"declaration": {
|
|
2946
|
-
"name": "
|
|
2947
|
-
"module": "src/
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2948
2919
|
}
|
|
2949
2920
|
},
|
|
2950
2921
|
{
|
|
2951
2922
|
"kind": "js",
|
|
2952
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2953
2924
|
"declaration": {
|
|
2954
|
-
"name": "
|
|
2955
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2956
2927
|
}
|
|
2957
2928
|
},
|
|
2958
2929
|
{
|
|
2959
2930
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2961
2932
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2964
2935
|
}
|
|
2965
2936
|
},
|
|
2966
2937
|
{
|
|
2967
2938
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2969
2940
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2972
2943
|
}
|
|
2973
2944
|
}
|
|
2974
2945
|
]
|
|
2975
2946
|
},
|
|
2976
2947
|
{
|
|
2977
2948
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2979
2950
|
"declarations": [],
|
|
2980
2951
|
"exports": [
|
|
2981
2952
|
{
|
|
2982
2953
|
"kind": "js",
|
|
2983
|
-
"name": "
|
|
2954
|
+
"name": "AiCriteriaSearch",
|
|
2984
2955
|
"declaration": {
|
|
2985
|
-
"name": "
|
|
2986
|
-
"
|
|
2956
|
+
"name": "AiCriteriaSearch",
|
|
2957
|
+
"module": "./ai-criteria-search"
|
|
2987
2958
|
}
|
|
2988
2959
|
},
|
|
2989
2960
|
{
|
|
2990
2961
|
"kind": "js",
|
|
2991
|
-
"name": "
|
|
2962
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2992
2963
|
"declaration": {
|
|
2993
|
-
"name": "
|
|
2994
|
-
"
|
|
2964
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
+
"module": "./ai-criteria-search"
|
|
2995
2966
|
}
|
|
2996
2967
|
},
|
|
2997
2968
|
{
|
|
2998
2969
|
"kind": "js",
|
|
2999
|
-
"name": "
|
|
2970
|
+
"name": "foundationAiCriteriaSearch",
|
|
3000
2971
|
"declaration": {
|
|
3001
|
-
"name": "
|
|
3002
|
-
"
|
|
2972
|
+
"name": "foundationAiCriteriaSearch",
|
|
2973
|
+
"module": "./ai-criteria-search"
|
|
3003
2974
|
}
|
|
3004
|
-
}
|
|
3005
|
-
]
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
"kind": "javascript-module",
|
|
3009
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3010
|
-
"declarations": [
|
|
2975
|
+
},
|
|
3011
2976
|
{
|
|
3012
|
-
"kind": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
2977
|
+
"kind": "js",
|
|
2978
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
+
"module": "./ai-criteria-search"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
3018
2984
|
{
|
|
3019
2985
|
"kind": "js",
|
|
3020
2986
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3021
2987
|
"declaration": {
|
|
3022
2988
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
-
"module": "
|
|
2989
|
+
"module": "./ai-criteria-search.styles"
|
|
3024
2990
|
}
|
|
3025
|
-
}
|
|
3026
|
-
]
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "javascript-module",
|
|
3030
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3031
|
-
"declarations": [
|
|
3032
|
-
{
|
|
3033
|
-
"kind": "variable",
|
|
3034
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
-
"type": {
|
|
3036
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3037
|
-
},
|
|
3038
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3039
|
-
}
|
|
3040
|
-
],
|
|
3041
|
-
"exports": [
|
|
2991
|
+
},
|
|
3042
2992
|
{
|
|
3043
2993
|
"kind": "js",
|
|
3044
2994
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3045
2995
|
"declaration": {
|
|
3046
2996
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
-
"module": "
|
|
2997
|
+
"module": "./ai-criteria-search.template"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "js",
|
|
3002
|
+
"name": "*",
|
|
3003
|
+
"declaration": {
|
|
3004
|
+
"name": "*",
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
3006
|
+
}
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "js",
|
|
3010
|
+
"name": "*",
|
|
3011
|
+
"declaration": {
|
|
3012
|
+
"name": "*",
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "js",
|
|
3018
|
+
"name": "*",
|
|
3019
|
+
"declaration": {
|
|
3020
|
+
"name": "*",
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
3048
3022
|
}
|
|
3049
3023
|
}
|
|
3050
3024
|
]
|
|
3051
3025
|
},
|
|
3052
3026
|
{
|
|
3053
3027
|
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/ai-criteria-search/
|
|
3028
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3055
3029
|
"declarations": [
|
|
3056
3030
|
{
|
|
3057
|
-
"kind": "
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3060
|
-
|
|
3031
|
+
"kind": "function",
|
|
3032
|
+
"name": "formatValidationErrors",
|
|
3033
|
+
"return": {
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"parameters": [
|
|
3061
3039
|
{
|
|
3062
|
-
"
|
|
3063
|
-
"name": "providerRegistry",
|
|
3040
|
+
"name": "errors",
|
|
3064
3041
|
"type": {
|
|
3065
|
-
"text": "
|
|
3042
|
+
"text": "ValidationError[]"
|
|
3066
3043
|
}
|
|
3067
|
-
}
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"name": "showCriteriaError",
|
|
3051
|
+
"return": {
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "void"
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"parameters": [
|
|
3068
3057
|
{
|
|
3069
|
-
"
|
|
3070
|
-
"name": "placeholder",
|
|
3058
|
+
"name": "title",
|
|
3071
3059
|
"type": {
|
|
3072
3060
|
"text": "string"
|
|
3073
3061
|
},
|
|
3074
|
-
"
|
|
3062
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3075
3063
|
},
|
|
3076
3064
|
{
|
|
3077
|
-
"
|
|
3078
|
-
"name": "disabled",
|
|
3065
|
+
"name": "body",
|
|
3079
3066
|
"type": {
|
|
3080
|
-
"text": "
|
|
3081
|
-
}
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"description": "Error message to display"
|
|
3082
3070
|
},
|
|
3083
3071
|
{
|
|
3084
|
-
"
|
|
3085
|
-
"name": "inputValue",
|
|
3072
|
+
"name": "tagName",
|
|
3086
3073
|
"type": {
|
|
3087
3074
|
"text": "string"
|
|
3088
3075
|
},
|
|
3089
|
-
"
|
|
3076
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"exports": [
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "js",
|
|
3085
|
+
"name": "formatValidationErrors",
|
|
3086
|
+
"declaration": {
|
|
3087
|
+
"name": "formatValidationErrors",
|
|
3088
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "js",
|
|
3093
|
+
"name": "showCriteriaError",
|
|
3094
|
+
"declaration": {
|
|
3095
|
+
"name": "showCriteriaError",
|
|
3096
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"kind": "javascript-module",
|
|
3103
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3104
|
+
"declarations": [
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "function",
|
|
3107
|
+
"name": "foundationAccordionStyles",
|
|
3108
|
+
"return": {
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "ElementStyles"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "context",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "ElementDefinitionContext"
|
|
3118
|
+
}
|
|
3090
3119
|
},
|
|
3091
3120
|
{
|
|
3092
|
-
"
|
|
3093
|
-
"name": "isInterpreting",
|
|
3121
|
+
"name": "definition",
|
|
3094
3122
|
"type": {
|
|
3095
|
-
"text": "
|
|
3096
|
-
}
|
|
3097
|
-
|
|
3123
|
+
"text": "FoundationElementDefinition"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3127
|
+
}
|
|
3128
|
+
],
|
|
3129
|
+
"exports": [
|
|
3130
|
+
{
|
|
3131
|
+
"kind": "js",
|
|
3132
|
+
"name": "foundationAccordionStyles",
|
|
3133
|
+
"declaration": {
|
|
3134
|
+
"name": "foundationAccordionStyles",
|
|
3135
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
]
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"kind": "javascript-module",
|
|
3142
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3143
|
+
"declarations": [
|
|
3144
|
+
{
|
|
3145
|
+
"kind": "function",
|
|
3146
|
+
"name": "foundationAccordionTemplate",
|
|
3147
|
+
"return": {
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "ViewTemplate<Accordion>"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
"parameters": [
|
|
3153
|
+
{
|
|
3154
|
+
"name": "context",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "ElementDefinitionContext"
|
|
3157
|
+
}
|
|
3098
3158
|
},
|
|
3099
3159
|
{
|
|
3100
|
-
"
|
|
3101
|
-
"name": "lastValidCriteria",
|
|
3160
|
+
"name": "definition",
|
|
3102
3161
|
"type": {
|
|
3103
|
-
"text": "
|
|
3162
|
+
"text": "FoundationElementDefinition"
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
]
|
|
3166
|
+
}
|
|
3167
|
+
],
|
|
3168
|
+
"exports": [
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "js",
|
|
3171
|
+
"name": "foundationAccordionTemplate",
|
|
3172
|
+
"declaration": {
|
|
3173
|
+
"name": "foundationAccordionTemplate",
|
|
3174
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3175
|
+
}
|
|
3176
|
+
}
|
|
3177
|
+
]
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"kind": "javascript-module",
|
|
3181
|
+
"path": "src/accordion/accordion.ts",
|
|
3182
|
+
"declarations": [
|
|
3183
|
+
{
|
|
3184
|
+
"kind": "class",
|
|
3185
|
+
"description": "",
|
|
3186
|
+
"name": "Accordion",
|
|
3187
|
+
"superclass": {
|
|
3188
|
+
"name": "FASTAccordion",
|
|
3189
|
+
"package": "@microsoft/fast-foundation"
|
|
3190
|
+
},
|
|
3191
|
+
"tagName": "%%prefix%%-accordion",
|
|
3192
|
+
"customElement": true,
|
|
3193
|
+
"attributes": [
|
|
3194
|
+
{
|
|
3195
|
+
"name": "expand-mode",
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "AccordionExpandMode"
|
|
3104
3198
|
},
|
|
3105
|
-
"
|
|
3106
|
-
|
|
3199
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
+
"fieldName": "expandmode",
|
|
3201
|
+
"inheritedFrom": {
|
|
3202
|
+
"name": "Accordion",
|
|
3203
|
+
"module": "src/accordion/accordion.ts"
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
],
|
|
3207
|
+
"members": [
|
|
3107
3208
|
{
|
|
3108
3209
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3210
|
+
"name": "expandmode",
|
|
3110
3211
|
"type": {
|
|
3111
|
-
"text": "
|
|
3212
|
+
"text": "AccordionExpandMode"
|
|
3112
3213
|
},
|
|
3113
|
-
"
|
|
3214
|
+
"privacy": "public",
|
|
3215
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
+
"inheritedFrom": {
|
|
3217
|
+
"name": "Accordion",
|
|
3218
|
+
"module": "src/accordion/accordion.ts"
|
|
3219
|
+
}
|
|
3114
3220
|
},
|
|
3115
3221
|
{
|
|
3116
3222
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
3223
|
+
"name": "activeid",
|
|
3118
3224
|
"type": {
|
|
3119
|
-
"text": "
|
|
3225
|
+
"text": "string | null"
|
|
3120
3226
|
},
|
|
3121
|
-
"
|
|
3227
|
+
"privacy": "private",
|
|
3228
|
+
"inheritedFrom": {
|
|
3229
|
+
"name": "Accordion",
|
|
3230
|
+
"module": "src/accordion/accordion.ts"
|
|
3231
|
+
}
|
|
3122
3232
|
},
|
|
3123
3233
|
{
|
|
3124
3234
|
"kind": "field",
|
|
3125
|
-
"name": "
|
|
3235
|
+
"name": "activeItemIndex",
|
|
3126
3236
|
"type": {
|
|
3127
|
-
"text": "
|
|
3237
|
+
"text": "number"
|
|
3128
3238
|
},
|
|
3129
|
-
"
|
|
3239
|
+
"privacy": "private",
|
|
3240
|
+
"default": "0",
|
|
3241
|
+
"inheritedFrom": {
|
|
3242
|
+
"name": "Accordion",
|
|
3243
|
+
"module": "src/accordion/accordion.ts"
|
|
3244
|
+
}
|
|
3130
3245
|
},
|
|
3131
3246
|
{
|
|
3132
3247
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3248
|
+
"name": "accordionIds",
|
|
3134
3249
|
"type": {
|
|
3135
|
-
"text": "
|
|
3250
|
+
"text": "Array<string | null>"
|
|
3136
3251
|
},
|
|
3137
|
-
"
|
|
3252
|
+
"privacy": "private",
|
|
3253
|
+
"inheritedFrom": {
|
|
3254
|
+
"name": "Accordion",
|
|
3255
|
+
"module": "src/accordion/accordion.ts"
|
|
3256
|
+
}
|
|
3138
3257
|
},
|
|
3139
3258
|
{
|
|
3140
3259
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
3142
|
-
"
|
|
3143
|
-
|
|
3260
|
+
"name": "change",
|
|
3261
|
+
"privacy": "private",
|
|
3262
|
+
"inheritedFrom": {
|
|
3263
|
+
"name": "Accordion",
|
|
3264
|
+
"module": "src/accordion/accordion.ts"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"kind": "method",
|
|
3269
|
+
"name": "findExpandedItem",
|
|
3270
|
+
"privacy": "private",
|
|
3271
|
+
"return": {
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "AccordionItem | null"
|
|
3274
|
+
}
|
|
3144
3275
|
},
|
|
3145
|
-
"
|
|
3276
|
+
"inheritedFrom": {
|
|
3277
|
+
"name": "Accordion",
|
|
3278
|
+
"module": "src/accordion/accordion.ts"
|
|
3279
|
+
}
|
|
3146
3280
|
},
|
|
3147
3281
|
{
|
|
3148
3282
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3150
|
-
"type": {
|
|
3151
|
-
"text": "(() => void) | null"
|
|
3152
|
-
},
|
|
3283
|
+
"name": "setItems",
|
|
3153
3284
|
"privacy": "private",
|
|
3154
|
-
"
|
|
3285
|
+
"inheritedFrom": {
|
|
3286
|
+
"name": "Accordion",
|
|
3287
|
+
"module": "src/accordion/accordion.ts"
|
|
3288
|
+
}
|
|
3155
3289
|
},
|
|
3156
3290
|
{
|
|
3157
|
-
"kind": "
|
|
3158
|
-
"name": "
|
|
3159
|
-
"type": {
|
|
3160
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
-
},
|
|
3291
|
+
"kind": "method",
|
|
3292
|
+
"name": "resetItems",
|
|
3162
3293
|
"privacy": "private",
|
|
3163
|
-
"
|
|
3294
|
+
"return": {
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "void"
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3299
|
+
"inheritedFrom": {
|
|
3300
|
+
"name": "Accordion",
|
|
3301
|
+
"module": "src/accordion/accordion.ts"
|
|
3302
|
+
}
|
|
3164
3303
|
},
|
|
3165
3304
|
{
|
|
3166
3305
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3168
|
-
"
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3306
|
+
"name": "removeItemListeners",
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"inheritedFrom": {
|
|
3309
|
+
"name": "Accordion",
|
|
3310
|
+
"module": "src/accordion/accordion.ts"
|
|
3311
|
+
}
|
|
3172
3312
|
},
|
|
3173
3313
|
{
|
|
3174
3314
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3176
|
-
"
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3315
|
+
"name": "activeItemChange",
|
|
3316
|
+
"privacy": "private",
|
|
3317
|
+
"inheritedFrom": {
|
|
3318
|
+
"name": "Accordion",
|
|
3319
|
+
"module": "src/accordion/accordion.ts"
|
|
3320
|
+
}
|
|
3180
3321
|
},
|
|
3181
3322
|
{
|
|
3182
3323
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3324
|
+
"name": "getItemIds",
|
|
3184
3325
|
"privacy": "private",
|
|
3185
3326
|
"return": {
|
|
3186
3327
|
"type": {
|
|
3187
|
-
"text": "string"
|
|
3328
|
+
"text": "Array<string | null>"
|
|
3188
3329
|
}
|
|
3189
3330
|
},
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
"text": "string"
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
]
|
|
3331
|
+
"inheritedFrom": {
|
|
3332
|
+
"name": "Accordion",
|
|
3333
|
+
"module": "src/accordion/accordion.ts"
|
|
3334
|
+
}
|
|
3198
3335
|
},
|
|
3199
3336
|
{
|
|
3200
3337
|
"kind": "method",
|
|
3201
|
-
"name": "
|
|
3338
|
+
"name": "isSingleExpandMode",
|
|
3339
|
+
"privacy": "private",
|
|
3202
3340
|
"return": {
|
|
3203
3341
|
"type": {
|
|
3204
|
-
"text": "
|
|
3342
|
+
"text": "boolean"
|
|
3205
3343
|
}
|
|
3344
|
+
},
|
|
3345
|
+
"inheritedFrom": {
|
|
3346
|
+
"name": "Accordion",
|
|
3347
|
+
"module": "src/accordion/accordion.ts"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "field",
|
|
3352
|
+
"name": "handleItemKeyDown",
|
|
3353
|
+
"privacy": "private",
|
|
3354
|
+
"inheritedFrom": {
|
|
3355
|
+
"name": "Accordion",
|
|
3356
|
+
"module": "src/accordion/accordion.ts"
|
|
3357
|
+
}
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"kind": "field",
|
|
3361
|
+
"name": "handleItemFocus",
|
|
3362
|
+
"privacy": "private",
|
|
3363
|
+
"inheritedFrom": {
|
|
3364
|
+
"name": "Accordion",
|
|
3365
|
+
"module": "src/accordion/accordion.ts"
|
|
3206
3366
|
}
|
|
3207
3367
|
},
|
|
3208
3368
|
{
|
|
3209
3369
|
"kind": "method",
|
|
3210
|
-
"name": "
|
|
3370
|
+
"name": "adjust",
|
|
3371
|
+
"privacy": "private",
|
|
3211
3372
|
"return": {
|
|
3212
3373
|
"type": {
|
|
3213
3374
|
"text": "void"
|
|
@@ -3215,49 +3376,31 @@
|
|
|
3215
3376
|
},
|
|
3216
3377
|
"parameters": [
|
|
3217
3378
|
{
|
|
3218
|
-
"name": "
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "number"
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"name": "clauseIndex",
|
|
3379
|
+
"name": "adjustment",
|
|
3225
3380
|
"type": {
|
|
3226
3381
|
"text": "number"
|
|
3227
3382
|
}
|
|
3228
3383
|
}
|
|
3229
|
-
]
|
|
3384
|
+
],
|
|
3385
|
+
"inheritedFrom": {
|
|
3386
|
+
"name": "Accordion",
|
|
3387
|
+
"module": "src/accordion/accordion.ts"
|
|
3388
|
+
}
|
|
3230
3389
|
},
|
|
3231
3390
|
{
|
|
3232
3391
|
"kind": "method",
|
|
3233
|
-
"name": "
|
|
3392
|
+
"name": "focusItem",
|
|
3393
|
+
"privacy": "private",
|
|
3234
3394
|
"return": {
|
|
3235
3395
|
"type": {
|
|
3236
3396
|
"text": "void"
|
|
3237
3397
|
}
|
|
3398
|
+
},
|
|
3399
|
+
"inheritedFrom": {
|
|
3400
|
+
"name": "Accordion",
|
|
3401
|
+
"module": "src/accordion/accordion.ts"
|
|
3238
3402
|
}
|
|
3239
3403
|
},
|
|
3240
|
-
{
|
|
3241
|
-
"kind": "method",
|
|
3242
|
-
"name": "handleSubmit"
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"kind": "method",
|
|
3246
|
-
"name": "handleBlur"
|
|
3247
|
-
},
|
|
3248
|
-
{
|
|
3249
|
-
"kind": "method",
|
|
3250
|
-
"name": "clear"
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
"kind": "method",
|
|
3254
|
-
"name": "toggleSpeechInput"
|
|
3255
|
-
},
|
|
3256
|
-
{
|
|
3257
|
-
"kind": "method",
|
|
3258
|
-
"name": "clearSpeechApplyDebounce",
|
|
3259
|
-
"privacy": "private"
|
|
3260
|
-
},
|
|
3261
3404
|
{
|
|
3262
3405
|
"kind": "field",
|
|
3263
3406
|
"name": "_presentation",
|
|
@@ -3372,48 +3515,26 @@
|
|
|
3372
3515
|
],
|
|
3373
3516
|
"events": [
|
|
3374
3517
|
{
|
|
3375
|
-
"description": "
|
|
3376
|
-
"name": "
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"attributes": [
|
|
3384
|
-
{
|
|
3385
|
-
"name": "placeholder",
|
|
3386
|
-
"type": {
|
|
3387
|
-
"text": "string"
|
|
3388
|
-
},
|
|
3389
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
-
"fieldName": "placeholder"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
},
|
|
3396
|
-
"fieldName": "disabled"
|
|
3518
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3519
|
+
"name": "change",
|
|
3520
|
+
"inheritedFrom": {
|
|
3521
|
+
"name": "Accordion",
|
|
3522
|
+
"module": "src/accordion/accordion.ts"
|
|
3523
|
+
}
|
|
3397
3524
|
}
|
|
3398
|
-
]
|
|
3399
|
-
"superclass": {
|
|
3400
|
-
"name": "FoundationElement",
|
|
3401
|
-
"package": "@microsoft/fast-foundation"
|
|
3402
|
-
},
|
|
3403
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
-
"customElement": true
|
|
3525
|
+
]
|
|
3405
3526
|
},
|
|
3406
3527
|
{
|
|
3407
3528
|
"kind": "variable",
|
|
3408
|
-
"name": "
|
|
3529
|
+
"name": "foundationAccordionShadowOptions",
|
|
3409
3530
|
"type": {
|
|
3410
3531
|
"text": "ShadowRootInit"
|
|
3411
3532
|
},
|
|
3412
|
-
"default": "
|
|
3533
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3413
3534
|
},
|
|
3414
3535
|
{
|
|
3415
3536
|
"kind": "variable",
|
|
3416
|
-
"name": "
|
|
3537
|
+
"name": "defaultAccordionConfig",
|
|
3417
3538
|
"type": {
|
|
3418
3539
|
"text": "object"
|
|
3419
3540
|
},
|
|
@@ -3421,103 +3542,57 @@
|
|
|
3421
3542
|
},
|
|
3422
3543
|
{
|
|
3423
3544
|
"kind": "variable",
|
|
3424
|
-
"name": "
|
|
3545
|
+
"name": "foundationAccordion",
|
|
3546
|
+
"description": "The Foundation Accordion",
|
|
3547
|
+
"privacy": "public"
|
|
3425
3548
|
}
|
|
3426
3549
|
],
|
|
3427
3550
|
"exports": [
|
|
3428
3551
|
{
|
|
3429
3552
|
"kind": "js",
|
|
3430
|
-
"name": "
|
|
3553
|
+
"name": "Accordion",
|
|
3431
3554
|
"declaration": {
|
|
3432
|
-
"name": "
|
|
3433
|
-
"module": "src/
|
|
3555
|
+
"name": "Accordion",
|
|
3556
|
+
"module": "src/accordion/accordion.ts"
|
|
3434
3557
|
}
|
|
3435
3558
|
},
|
|
3436
3559
|
{
|
|
3437
3560
|
"kind": "js",
|
|
3438
|
-
"name": "
|
|
3561
|
+
"name": "foundationAccordionShadowOptions",
|
|
3439
3562
|
"declaration": {
|
|
3440
|
-
"name": "
|
|
3441
|
-
"module": "src/
|
|
3563
|
+
"name": "foundationAccordionShadowOptions",
|
|
3564
|
+
"module": "src/accordion/accordion.ts"
|
|
3442
3565
|
}
|
|
3443
3566
|
},
|
|
3444
3567
|
{
|
|
3445
3568
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3569
|
+
"name": "defaultAccordionConfig",
|
|
3447
3570
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/
|
|
3571
|
+
"name": "defaultAccordionConfig",
|
|
3572
|
+
"module": "src/accordion/accordion.ts"
|
|
3450
3573
|
}
|
|
3451
3574
|
},
|
|
3452
3575
|
{
|
|
3453
3576
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3577
|
+
"name": "foundationAccordion",
|
|
3455
3578
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/
|
|
3579
|
+
"name": "foundationAccordion",
|
|
3580
|
+
"module": "src/accordion/accordion.ts"
|
|
3458
3581
|
}
|
|
3459
3582
|
}
|
|
3460
3583
|
]
|
|
3461
3584
|
},
|
|
3462
3585
|
{
|
|
3463
3586
|
"kind": "javascript-module",
|
|
3464
|
-
"path": "src/
|
|
3587
|
+
"path": "src/accordion/index.ts",
|
|
3465
3588
|
"declarations": [],
|
|
3466
3589
|
"exports": [
|
|
3467
|
-
{
|
|
3468
|
-
"kind": "js",
|
|
3469
|
-
"name": "AiCriteriaSearch",
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "AiCriteriaSearch",
|
|
3472
|
-
"module": "./ai-criteria-search"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "js",
|
|
3477
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
-
"declaration": {
|
|
3479
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
-
"module": "./ai-criteria-search"
|
|
3481
|
-
}
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"kind": "js",
|
|
3485
|
-
"name": "foundationAiCriteriaSearch",
|
|
3486
|
-
"declaration": {
|
|
3487
|
-
"name": "foundationAiCriteriaSearch",
|
|
3488
|
-
"module": "./ai-criteria-search"
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
-
"module": "./ai-criteria-search"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
-
"module": "./ai-criteria-search.styles"
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "js",
|
|
3509
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
-
"declaration": {
|
|
3511
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
-
"module": "./ai-criteria-search.template"
|
|
3513
|
-
}
|
|
3514
|
-
},
|
|
3515
3590
|
{
|
|
3516
3591
|
"kind": "js",
|
|
3517
3592
|
"name": "*",
|
|
3518
3593
|
"declaration": {
|
|
3519
3594
|
"name": "*",
|
|
3520
|
-
"package": "./
|
|
3595
|
+
"package": "./accordion.template"
|
|
3521
3596
|
}
|
|
3522
3597
|
},
|
|
3523
3598
|
{
|
|
@@ -3525,7 +3600,7 @@
|
|
|
3525
3600
|
"name": "*",
|
|
3526
3601
|
"declaration": {
|
|
3527
3602
|
"name": "*",
|
|
3528
|
-
"package": "./
|
|
3603
|
+
"package": "./accordion.styles"
|
|
3529
3604
|
}
|
|
3530
3605
|
},
|
|
3531
3606
|
{
|
|
@@ -3533,82 +3608,7 @@
|
|
|
3533
3608
|
"name": "*",
|
|
3534
3609
|
"declaration": {
|
|
3535
3610
|
"name": "*",
|
|
3536
|
-
"package": "./
|
|
3537
|
-
}
|
|
3538
|
-
}
|
|
3539
|
-
]
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
"kind": "javascript-module",
|
|
3543
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
-
"declarations": [
|
|
3545
|
-
{
|
|
3546
|
-
"kind": "function",
|
|
3547
|
-
"name": "formatValidationErrors",
|
|
3548
|
-
"return": {
|
|
3549
|
-
"type": {
|
|
3550
|
-
"text": "string"
|
|
3551
|
-
}
|
|
3552
|
-
},
|
|
3553
|
-
"parameters": [
|
|
3554
|
-
{
|
|
3555
|
-
"name": "errors",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "ValidationError[]"
|
|
3558
|
-
}
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "function",
|
|
3565
|
-
"name": "showCriteriaError",
|
|
3566
|
-
"return": {
|
|
3567
|
-
"type": {
|
|
3568
|
-
"text": "void"
|
|
3569
|
-
}
|
|
3570
|
-
},
|
|
3571
|
-
"parameters": [
|
|
3572
|
-
{
|
|
3573
|
-
"name": "title",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "string"
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"name": "body",
|
|
3581
|
-
"type": {
|
|
3582
|
-
"text": "string"
|
|
3583
|
-
},
|
|
3584
|
-
"description": "Error message to display"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"name": "tagName",
|
|
3588
|
-
"type": {
|
|
3589
|
-
"text": "string"
|
|
3590
|
-
},
|
|
3591
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
-
}
|
|
3593
|
-
],
|
|
3594
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "js",
|
|
3600
|
-
"name": "formatValidationErrors",
|
|
3601
|
-
"declaration": {
|
|
3602
|
-
"name": "formatValidationErrors",
|
|
3603
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
-
}
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "js",
|
|
3608
|
-
"name": "showCriteriaError",
|
|
3609
|
-
"declaration": {
|
|
3610
|
-
"name": "showCriteriaError",
|
|
3611
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3611
|
+
"package": "./accordion"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|