@genesislcap/foundation-ui 15.64.0 → 15.64.1-FUI-2629.6
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 +548 -439
- package/dist/dts/actions-menu/actions-menu.d.ts +46 -0
- package/dist/dts/actions-menu/actions-menu.d.ts.map +1 -1
- package/dist/dts/actions-menu/actions-menu.styles.d.ts.map +1 -1
- package/dist/dts/actions-menu/actions-menu.template.d.ts +2 -2
- package/dist/dts/actions-menu/actions-menu.template.d.ts.map +1 -1
- package/dist/dts/ai-criteria-search/validation/criteria-ir.d.ts.map +1 -1
- package/dist/dts/ai-criteria-search/validation/operator-map.d.ts.map +1 -1
- package/dist/dts/filter-bar/filter-bar.utils.d.ts +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/dts/utils/popover-position.d.ts +22 -0
- package/dist/dts/utils/popover-position.d.ts.map +1 -0
- package/dist/esm/actions-menu/actions-menu.js +136 -19
- package/dist/esm/actions-menu/actions-menu.styles.js +76 -5
- package/dist/esm/actions-menu/actions-menu.template.js +69 -8
- package/dist/esm/ai-criteria-search/validation/operator-map.js +9 -4
- package/dist/esm/utils/popover-position.js +50 -0
- package/dist/foundation-ui.api.json +367 -5
- package/dist/foundation-ui.d.ts +49 -3
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +17 -17
|
@@ -1599,28 +1599,12 @@
|
|
|
1599
1599
|
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1600
1600
|
"declarations": [
|
|
1601
1601
|
{
|
|
1602
|
-
"kind": "
|
|
1603
|
-
"name": "menuTemplate"
|
|
1604
|
-
"parameters": [
|
|
1605
|
-
{
|
|
1606
|
-
"name": "prefix",
|
|
1607
|
-
"type": {
|
|
1608
|
-
"text": "string"
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
]
|
|
1602
|
+
"kind": "variable",
|
|
1603
|
+
"name": "menuTemplate"
|
|
1612
1604
|
},
|
|
1613
1605
|
{
|
|
1614
|
-
"kind": "
|
|
1615
|
-
"name": "singleOptionTemplate"
|
|
1616
|
-
"parameters": [
|
|
1617
|
-
{
|
|
1618
|
-
"name": "prefix",
|
|
1619
|
-
"type": {
|
|
1620
|
-
"text": "string"
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
]
|
|
1606
|
+
"kind": "variable",
|
|
1607
|
+
"name": "singleOptionTemplate"
|
|
1624
1608
|
},
|
|
1625
1609
|
{
|
|
1626
1610
|
"kind": "variable",
|
|
@@ -1674,6 +1658,14 @@
|
|
|
1674
1658
|
"text": "ActionMenuItem[]"
|
|
1675
1659
|
}
|
|
1676
1660
|
},
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "field",
|
|
1663
|
+
"name": "actionsResolver",
|
|
1664
|
+
"type": {
|
|
1665
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
1666
|
+
},
|
|
1667
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
1668
|
+
},
|
|
1677
1669
|
{
|
|
1678
1670
|
"kind": "field",
|
|
1679
1671
|
"name": "isVertical",
|
|
@@ -1720,6 +1712,14 @@
|
|
|
1720
1712
|
},
|
|
1721
1713
|
"default": "'Actions'"
|
|
1722
1714
|
},
|
|
1715
|
+
{
|
|
1716
|
+
"kind": "field",
|
|
1717
|
+
"name": "iconName",
|
|
1718
|
+
"type": {
|
|
1719
|
+
"text": "string"
|
|
1720
|
+
},
|
|
1721
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
1722
|
+
},
|
|
1723
1723
|
{
|
|
1724
1724
|
"kind": "field",
|
|
1725
1725
|
"name": "open",
|
|
@@ -1772,11 +1772,39 @@
|
|
|
1772
1772
|
"text": "HTMLElement"
|
|
1773
1773
|
}
|
|
1774
1774
|
},
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "field",
|
|
1777
|
+
"name": "positionTracker",
|
|
1778
|
+
"type": {
|
|
1779
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
1780
|
+
},
|
|
1781
|
+
"privacy": "private"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"kind": "field",
|
|
1785
|
+
"name": "focusMenuOnOpen",
|
|
1786
|
+
"type": {
|
|
1787
|
+
"text": "boolean"
|
|
1788
|
+
},
|
|
1789
|
+
"privacy": "private",
|
|
1790
|
+
"default": "false",
|
|
1791
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
1792
|
+
},
|
|
1775
1793
|
{
|
|
1776
1794
|
"kind": "method",
|
|
1777
1795
|
"name": "updateMenuPosition",
|
|
1778
1796
|
"privacy": "private"
|
|
1779
1797
|
},
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "method",
|
|
1800
|
+
"name": "startTrackingPosition",
|
|
1801
|
+
"privacy": "private"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"kind": "method",
|
|
1805
|
+
"name": "stopTrackingPosition",
|
|
1806
|
+
"privacy": "private"
|
|
1807
|
+
},
|
|
1780
1808
|
{
|
|
1781
1809
|
"kind": "method",
|
|
1782
1810
|
"name": "definitionChanged",
|
|
@@ -1805,6 +1833,37 @@
|
|
|
1805
1833
|
"kind": "method",
|
|
1806
1834
|
"name": "toggleActionsMenuVisibility"
|
|
1807
1835
|
},
|
|
1836
|
+
{
|
|
1837
|
+
"kind": "method",
|
|
1838
|
+
"name": "onPopoverToggle",
|
|
1839
|
+
"parameters": [
|
|
1840
|
+
{
|
|
1841
|
+
"name": "event",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "Event"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
],
|
|
1847
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"kind": "method",
|
|
1851
|
+
"name": "onIconOpenerKeydown",
|
|
1852
|
+
"return": {
|
|
1853
|
+
"type": {
|
|
1854
|
+
"text": "boolean"
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
"parameters": [
|
|
1858
|
+
{
|
|
1859
|
+
"name": "event",
|
|
1860
|
+
"type": {
|
|
1861
|
+
"text": "KeyboardEvent"
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1865
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
1866
|
+
},
|
|
1808
1867
|
{
|
|
1809
1868
|
"kind": "method",
|
|
1810
1869
|
"name": "onActionMenuItemClick",
|
|
@@ -1817,6 +1876,42 @@
|
|
|
1817
1876
|
}
|
|
1818
1877
|
]
|
|
1819
1878
|
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "method",
|
|
1881
|
+
"name": "isActionDisabled",
|
|
1882
|
+
"return": {
|
|
1883
|
+
"type": {
|
|
1884
|
+
"text": "boolean"
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
"parameters": [
|
|
1888
|
+
{
|
|
1889
|
+
"name": "action",
|
|
1890
|
+
"type": {
|
|
1891
|
+
"text": "ActionMenuItem"
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "field",
|
|
1899
|
+
"name": "resolvedActions",
|
|
1900
|
+
"type": {
|
|
1901
|
+
"text": "ActionMenuItem[]"
|
|
1902
|
+
},
|
|
1903
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
1904
|
+
"readonly": true
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "field",
|
|
1908
|
+
"name": "hasVisibleActions",
|
|
1909
|
+
"type": {
|
|
1910
|
+
"text": "boolean"
|
|
1911
|
+
},
|
|
1912
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
1913
|
+
"readonly": true
|
|
1914
|
+
},
|
|
1820
1915
|
{
|
|
1821
1916
|
"kind": "field",
|
|
1822
1917
|
"name": "allActions",
|
|
@@ -1999,6 +2094,14 @@
|
|
|
1999
2094
|
"default": "'Actions'",
|
|
2000
2095
|
"fieldName": "name"
|
|
2001
2096
|
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "icon-name",
|
|
2099
|
+
"type": {
|
|
2100
|
+
"text": "string"
|
|
2101
|
+
},
|
|
2102
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2103
|
+
"fieldName": "iconName"
|
|
2104
|
+
},
|
|
2002
2105
|
{
|
|
2003
2106
|
"name": "open",
|
|
2004
2107
|
"type": {
|
|
@@ -2491,75 +2594,57 @@
|
|
|
2491
2594
|
},
|
|
2492
2595
|
{
|
|
2493
2596
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/ai-
|
|
2597
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
2598
|
"declarations": [
|
|
2496
2599
|
{
|
|
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
|
-
]
|
|
2600
|
+
"kind": "variable",
|
|
2601
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2602
|
+
"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
2603
|
}
|
|
2519
2604
|
],
|
|
2520
2605
|
"exports": [
|
|
2521
2606
|
{
|
|
2522
2607
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2608
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2524
2609
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/ai-
|
|
2610
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2611
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2527
2612
|
}
|
|
2528
2613
|
}
|
|
2529
2614
|
]
|
|
2530
2615
|
},
|
|
2531
2616
|
{
|
|
2532
2617
|
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/ai-
|
|
2618
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2534
2619
|
"declarations": [
|
|
2535
2620
|
{
|
|
2536
2621
|
"kind": "variable",
|
|
2537
|
-
"name": "
|
|
2622
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2538
2623
|
"type": {
|
|
2539
|
-
"text": "ViewTemplate<
|
|
2624
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2540
2625
|
},
|
|
2541
|
-
"default": "html`\n ${(x) =>
|
|
2626
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2542
2627
|
}
|
|
2543
2628
|
],
|
|
2544
2629
|
"exports": [
|
|
2545
2630
|
{
|
|
2546
2631
|
"kind": "js",
|
|
2547
|
-
"name": "
|
|
2632
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2548
2633
|
"declaration": {
|
|
2549
|
-
"name": "
|
|
2550
|
-
"module": "src/ai-
|
|
2634
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2635
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2551
2636
|
}
|
|
2552
2637
|
}
|
|
2553
2638
|
]
|
|
2554
2639
|
},
|
|
2555
2640
|
{
|
|
2556
2641
|
"kind": "javascript-module",
|
|
2557
|
-
"path": "src/ai-
|
|
2642
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2558
2643
|
"declarations": [
|
|
2559
2644
|
{
|
|
2560
2645
|
"kind": "class",
|
|
2561
|
-
"description": "",
|
|
2562
|
-
"name": "
|
|
2646
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2647
|
+
"name": "AiCriteriaSearch",
|
|
2563
2648
|
"members": [
|
|
2564
2649
|
{
|
|
2565
2650
|
"kind": "field",
|
|
@@ -2570,25 +2655,54 @@
|
|
|
2570
2655
|
},
|
|
2571
2656
|
{
|
|
2572
2657
|
"kind": "field",
|
|
2573
|
-
"name": "
|
|
2658
|
+
"name": "placeholder",
|
|
2574
2659
|
"type": {
|
|
2575
|
-
"text": "
|
|
2660
|
+
"text": "string"
|
|
2576
2661
|
},
|
|
2577
|
-
"
|
|
2578
|
-
"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.",
|
|
2579
|
-
"readonly": true
|
|
2662
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2580
2663
|
},
|
|
2581
2664
|
{
|
|
2582
2665
|
"kind": "field",
|
|
2583
|
-
"name": "
|
|
2666
|
+
"name": "disabled",
|
|
2584
2667
|
"type": {
|
|
2585
|
-
"text": "
|
|
2668
|
+
"text": "boolean"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
"kind": "field",
|
|
2673
|
+
"name": "inputValue",
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "string"
|
|
2676
|
+
},
|
|
2677
|
+
"default": "''"
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "field",
|
|
2681
|
+
"name": "isInterpreting",
|
|
2682
|
+
"type": {
|
|
2683
|
+
"text": "boolean"
|
|
2684
|
+
},
|
|
2685
|
+
"default": "false"
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "field",
|
|
2689
|
+
"name": "lastValidCriteria",
|
|
2690
|
+
"type": {
|
|
2691
|
+
"text": "string | null"
|
|
2586
2692
|
},
|
|
2587
2693
|
"default": "null"
|
|
2588
2694
|
},
|
|
2589
2695
|
{
|
|
2590
2696
|
"kind": "field",
|
|
2591
|
-
"name": "
|
|
2697
|
+
"name": "activeGroups",
|
|
2698
|
+
"type": {
|
|
2699
|
+
"text": "CriteriaGroup[]"
|
|
2700
|
+
},
|
|
2701
|
+
"default": "[]"
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"kind": "field",
|
|
2705
|
+
"name": "showingChips",
|
|
2592
2706
|
"type": {
|
|
2593
2707
|
"text": "boolean"
|
|
2594
2708
|
},
|
|
@@ -2596,15 +2710,15 @@
|
|
|
2596
2710
|
},
|
|
2597
2711
|
{
|
|
2598
2712
|
"kind": "field",
|
|
2599
|
-
"name": "
|
|
2713
|
+
"name": "fieldMetadata",
|
|
2600
2714
|
"type": {
|
|
2601
|
-
"text": "
|
|
2715
|
+
"text": "MetadataDetail[] | string[]"
|
|
2602
2716
|
},
|
|
2603
|
-
"default": "
|
|
2717
|
+
"default": "[]"
|
|
2604
2718
|
},
|
|
2605
2719
|
{
|
|
2606
2720
|
"kind": "field",
|
|
2607
|
-
"name": "
|
|
2721
|
+
"name": "isRecording",
|
|
2608
2722
|
"type": {
|
|
2609
2723
|
"text": "boolean"
|
|
2610
2724
|
},
|
|
@@ -2612,29 +2726,33 @@
|
|
|
2612
2726
|
},
|
|
2613
2727
|
{
|
|
2614
2728
|
"kind": "field",
|
|
2615
|
-
"name": "
|
|
2729
|
+
"name": "textAreaRef",
|
|
2616
2730
|
"type": {
|
|
2617
|
-
"text": "
|
|
2731
|
+
"text": "HTMLTextAreaElement"
|
|
2618
2732
|
},
|
|
2619
|
-
"privacy": "
|
|
2620
|
-
"default": "null"
|
|
2733
|
+
"privacy": "public"
|
|
2621
2734
|
},
|
|
2622
2735
|
{
|
|
2623
2736
|
"kind": "field",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2737
|
+
"name": "stopRecording",
|
|
2738
|
+
"type": {
|
|
2739
|
+
"text": "(() => void) | null"
|
|
2740
|
+
},
|
|
2741
|
+
"privacy": "private",
|
|
2742
|
+
"default": "null"
|
|
2626
2743
|
},
|
|
2627
2744
|
{
|
|
2628
2745
|
"kind": "field",
|
|
2629
|
-
"name": "
|
|
2746
|
+
"name": "speechApplyDebounceTimer",
|
|
2630
2747
|
"type": {
|
|
2631
|
-
"text": "
|
|
2748
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2632
2749
|
},
|
|
2633
|
-
"
|
|
2750
|
+
"privacy": "private",
|
|
2751
|
+
"default": "null"
|
|
2634
2752
|
},
|
|
2635
2753
|
{
|
|
2636
2754
|
"kind": "field",
|
|
2637
|
-
"name": "
|
|
2755
|
+
"name": "speechAvailable",
|
|
2638
2756
|
"type": {
|
|
2639
2757
|
"text": "boolean"
|
|
2640
2758
|
},
|
|
@@ -2642,69 +2760,65 @@
|
|
|
2642
2760
|
},
|
|
2643
2761
|
{
|
|
2644
2762
|
"kind": "field",
|
|
2645
|
-
"name": "
|
|
2763
|
+
"name": "criteriaChips",
|
|
2646
2764
|
"type": {
|
|
2647
|
-
"text": "
|
|
2765
|
+
"text": "CriteriaChip[]"
|
|
2648
2766
|
},
|
|
2649
2767
|
"readonly": true
|
|
2650
2768
|
},
|
|
2651
2769
|
{
|
|
2652
2770
|
"kind": "method",
|
|
2653
|
-
"name": "
|
|
2771
|
+
"name": "getFieldLabel",
|
|
2772
|
+
"privacy": "private",
|
|
2654
2773
|
"return": {
|
|
2655
2774
|
"type": {
|
|
2656
|
-
"text": "
|
|
2775
|
+
"text": "string"
|
|
2657
2776
|
}
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
{
|
|
2661
|
-
"kind": "method",
|
|
2662
|
-
"name": "handleClickOutside",
|
|
2663
|
-
"privacy": "private",
|
|
2777
|
+
},
|
|
2664
2778
|
"parameters": [
|
|
2665
2779
|
{
|
|
2666
|
-
"name": "
|
|
2780
|
+
"name": "fieldName",
|
|
2667
2781
|
"type": {
|
|
2668
|
-
"text": "
|
|
2782
|
+
"text": "string"
|
|
2669
2783
|
}
|
|
2670
2784
|
}
|
|
2671
2785
|
]
|
|
2672
2786
|
},
|
|
2673
2787
|
{
|
|
2674
2788
|
"kind": "method",
|
|
2675
|
-
"name": "
|
|
2676
|
-
},
|
|
2677
|
-
{
|
|
2678
|
-
"kind": "method",
|
|
2679
|
-
"name": "refreshStatus",
|
|
2789
|
+
"name": "toggleCriteriaView",
|
|
2680
2790
|
"return": {
|
|
2681
2791
|
"type": {
|
|
2682
|
-
"text": "
|
|
2792
|
+
"text": "void"
|
|
2683
2793
|
}
|
|
2684
2794
|
}
|
|
2685
2795
|
},
|
|
2686
2796
|
{
|
|
2687
2797
|
"kind": "method",
|
|
2688
|
-
"name": "
|
|
2689
|
-
"privacy": "private",
|
|
2798
|
+
"name": "removeChip",
|
|
2690
2799
|
"return": {
|
|
2691
2800
|
"type": {
|
|
2692
|
-
"text": "
|
|
2801
|
+
"text": "void"
|
|
2693
2802
|
}
|
|
2694
2803
|
},
|
|
2695
2804
|
"parameters": [
|
|
2696
2805
|
{
|
|
2697
|
-
"name": "
|
|
2806
|
+
"name": "groupIndex",
|
|
2698
2807
|
"type": {
|
|
2699
|
-
"text": "
|
|
2808
|
+
"text": "number"
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"name": "clauseIndex",
|
|
2813
|
+
"type": {
|
|
2814
|
+
"text": "number"
|
|
2700
2815
|
}
|
|
2701
2816
|
}
|
|
2702
2817
|
]
|
|
2703
2818
|
},
|
|
2704
2819
|
{
|
|
2705
2820
|
"kind": "method",
|
|
2706
|
-
"name": "
|
|
2707
|
-
"privacy": "private",
|
|
2821
|
+
"name": "clearChips",
|
|
2708
2822
|
"return": {
|
|
2709
2823
|
"type": {
|
|
2710
2824
|
"text": "void"
|
|
@@ -2713,32 +2827,24 @@
|
|
|
2713
2827
|
},
|
|
2714
2828
|
{
|
|
2715
2829
|
"kind": "method",
|
|
2716
|
-
"name": "
|
|
2717
|
-
"privacy": "private",
|
|
2718
|
-
"return": {
|
|
2719
|
-
"type": {
|
|
2720
|
-
"text": "void"
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2830
|
+
"name": "handleSubmit"
|
|
2723
2831
|
},
|
|
2724
2832
|
{
|
|
2725
2833
|
"kind": "method",
|
|
2726
|
-
"name": "
|
|
2727
|
-
"privacy": "private",
|
|
2728
|
-
"return": {
|
|
2729
|
-
"type": {
|
|
2730
|
-
"text": "void"
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2834
|
+
"name": "handleBlur"
|
|
2733
2835
|
},
|
|
2734
2836
|
{
|
|
2735
2837
|
"kind": "method",
|
|
2736
|
-
"name": "
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2838
|
+
"name": "clear"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"kind": "method",
|
|
2842
|
+
"name": "toggleSpeechInput"
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"kind": "method",
|
|
2846
|
+
"name": "clearSpeechApplyDebounce",
|
|
2847
|
+
"privacy": "private"
|
|
2742
2848
|
},
|
|
2743
2849
|
{
|
|
2744
2850
|
"kind": "field",
|
|
@@ -2852,145 +2958,320 @@
|
|
|
2852
2958
|
}
|
|
2853
2959
|
}
|
|
2854
2960
|
],
|
|
2961
|
+
"events": [
|
|
2962
|
+
{
|
|
2963
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2964
|
+
"name": "criteria-changed"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2968
|
+
"name": "validation-errors"
|
|
2969
|
+
}
|
|
2970
|
+
],
|
|
2971
|
+
"attributes": [
|
|
2972
|
+
{
|
|
2973
|
+
"name": "placeholder",
|
|
2974
|
+
"type": {
|
|
2975
|
+
"text": "string"
|
|
2976
|
+
},
|
|
2977
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2978
|
+
"fieldName": "placeholder"
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"type": {
|
|
2982
|
+
"text": "boolean"
|
|
2983
|
+
},
|
|
2984
|
+
"fieldName": "disabled"
|
|
2985
|
+
}
|
|
2986
|
+
],
|
|
2855
2987
|
"superclass": {
|
|
2856
2988
|
"name": "FoundationElement",
|
|
2857
2989
|
"package": "@microsoft/fast-foundation"
|
|
2858
2990
|
},
|
|
2859
|
-
"tagName": "%%prefix%%-ai-
|
|
2991
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2860
2992
|
"customElement": true
|
|
2861
2993
|
},
|
|
2862
2994
|
{
|
|
2863
2995
|
"kind": "variable",
|
|
2864
|
-
"name": "
|
|
2996
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2997
|
+
"type": {
|
|
2998
|
+
"text": "ShadowRootInit"
|
|
2999
|
+
},
|
|
3000
|
+
"default": "undefined"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "variable",
|
|
3004
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "object"
|
|
3007
|
+
},
|
|
3008
|
+
"default": "{}"
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "variable",
|
|
3012
|
+
"name": "foundationAiCriteriaSearch"
|
|
2865
3013
|
}
|
|
2866
3014
|
],
|
|
2867
3015
|
"exports": [
|
|
2868
3016
|
{
|
|
2869
3017
|
"kind": "js",
|
|
2870
|
-
"name": "
|
|
3018
|
+
"name": "AiCriteriaSearch",
|
|
2871
3019
|
"declaration": {
|
|
2872
|
-
"name": "
|
|
2873
|
-
"module": "src/ai-
|
|
3020
|
+
"name": "AiCriteriaSearch",
|
|
3021
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2874
3022
|
}
|
|
2875
3023
|
},
|
|
2876
3024
|
{
|
|
2877
3025
|
"kind": "js",
|
|
2878
|
-
"name": "
|
|
3026
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2879
3027
|
"declaration": {
|
|
2880
|
-
"name": "
|
|
2881
|
-
"module": "src/ai-
|
|
3028
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3029
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "js",
|
|
3034
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3035
|
+
"declaration": {
|
|
3036
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3037
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"kind": "js",
|
|
3042
|
+
"name": "foundationAiCriteriaSearch",
|
|
3043
|
+
"declaration": {
|
|
3044
|
+
"name": "foundationAiCriteriaSearch",
|
|
3045
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2882
3046
|
}
|
|
2883
3047
|
}
|
|
2884
3048
|
]
|
|
2885
3049
|
},
|
|
2886
3050
|
{
|
|
2887
3051
|
"kind": "javascript-module",
|
|
2888
|
-
"path": "src/ai-
|
|
3052
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2889
3053
|
"declarations": [],
|
|
2890
3054
|
"exports": [
|
|
2891
3055
|
{
|
|
2892
3056
|
"kind": "js",
|
|
2893
|
-
"name": "
|
|
3057
|
+
"name": "AiCriteriaSearch",
|
|
2894
3058
|
"declaration": {
|
|
2895
|
-
"name": "
|
|
2896
|
-
"module": "./ai-
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"module": "./ai-criteria-search"
|
|
2897
3061
|
}
|
|
2898
3062
|
},
|
|
2899
3063
|
{
|
|
2900
3064
|
"kind": "js",
|
|
2901
|
-
"name": "
|
|
3065
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
3066
|
"declaration": {
|
|
2903
|
-
"name": "
|
|
2904
|
-
"module": "./ai-
|
|
3067
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3068
|
+
"module": "./ai-criteria-search"
|
|
2905
3069
|
}
|
|
2906
3070
|
},
|
|
2907
3071
|
{
|
|
2908
3072
|
"kind": "js",
|
|
2909
|
-
"name": "
|
|
3073
|
+
"name": "foundationAiCriteriaSearch",
|
|
2910
3074
|
"declaration": {
|
|
2911
|
-
"name": "
|
|
2912
|
-
"module": "./ai-
|
|
3075
|
+
"name": "foundationAiCriteriaSearch",
|
|
3076
|
+
"module": "./ai-criteria-search"
|
|
2913
3077
|
}
|
|
2914
3078
|
},
|
|
2915
3079
|
{
|
|
2916
3080
|
"kind": "js",
|
|
2917
|
-
"name": "
|
|
3081
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2918
3082
|
"declaration": {
|
|
2919
|
-
"name": "
|
|
2920
|
-
"module": "./ai-
|
|
3083
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3084
|
+
"module": "./ai-criteria-search"
|
|
2921
3085
|
}
|
|
2922
3086
|
},
|
|
2923
3087
|
{
|
|
2924
3088
|
"kind": "js",
|
|
2925
|
-
"name": "
|
|
3089
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2926
3090
|
"declaration": {
|
|
2927
|
-
"name": "
|
|
2928
|
-
"module": "./ai-
|
|
3091
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3092
|
+
"module": "./ai-criteria-search.styles"
|
|
2929
3093
|
}
|
|
2930
3094
|
},
|
|
2931
3095
|
{
|
|
2932
3096
|
"kind": "js",
|
|
2933
|
-
"name": "
|
|
3097
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2934
3098
|
"declaration": {
|
|
2935
|
-
"name": "
|
|
2936
|
-
"module": "./ai-
|
|
3099
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3100
|
+
"module": "./ai-criteria-search.template"
|
|
3101
|
+
}
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
"kind": "js",
|
|
3105
|
+
"name": "*",
|
|
3106
|
+
"declaration": {
|
|
3107
|
+
"name": "*",
|
|
3108
|
+
"package": "./validation/criteria-ir"
|
|
3109
|
+
}
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"kind": "js",
|
|
3113
|
+
"name": "*",
|
|
3114
|
+
"declaration": {
|
|
3115
|
+
"name": "*",
|
|
3116
|
+
"package": "./validation/operator-map"
|
|
3117
|
+
}
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"kind": "js",
|
|
3121
|
+
"name": "*",
|
|
3122
|
+
"declaration": {
|
|
3123
|
+
"name": "*",
|
|
3124
|
+
"package": "./validation/schema-validator"
|
|
2937
3125
|
}
|
|
2938
3126
|
}
|
|
2939
3127
|
]
|
|
2940
3128
|
},
|
|
2941
3129
|
{
|
|
2942
3130
|
"kind": "javascript-module",
|
|
2943
|
-
"path": "src/ai-criteria-search/
|
|
3131
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2944
3132
|
"declarations": [
|
|
2945
3133
|
{
|
|
2946
|
-
"kind": "
|
|
2947
|
-
"name": "
|
|
2948
|
-
"
|
|
3134
|
+
"kind": "function",
|
|
3135
|
+
"name": "formatValidationErrors",
|
|
3136
|
+
"return": {
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "string"
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
"parameters": [
|
|
3142
|
+
{
|
|
3143
|
+
"name": "errors",
|
|
3144
|
+
"type": {
|
|
3145
|
+
"text": "ValidationError[]"
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
],
|
|
3149
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"kind": "function",
|
|
3153
|
+
"name": "showCriteriaError",
|
|
3154
|
+
"return": {
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "void"
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"parameters": [
|
|
3160
|
+
{
|
|
3161
|
+
"name": "title",
|
|
3162
|
+
"type": {
|
|
3163
|
+
"text": "string"
|
|
3164
|
+
},
|
|
3165
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"name": "body",
|
|
3169
|
+
"type": {
|
|
3170
|
+
"text": "string"
|
|
3171
|
+
},
|
|
3172
|
+
"description": "Error message to display"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"name": "tagName",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "string"
|
|
3178
|
+
},
|
|
3179
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3182
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2949
3183
|
}
|
|
2950
3184
|
],
|
|
2951
3185
|
"exports": [
|
|
2952
3186
|
{
|
|
2953
3187
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
3188
|
+
"name": "formatValidationErrors",
|
|
2955
3189
|
"declaration": {
|
|
2956
|
-
"name": "
|
|
2957
|
-
"module": "src/ai-criteria-search/
|
|
3190
|
+
"name": "formatValidationErrors",
|
|
3191
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "js",
|
|
3196
|
+
"name": "showCriteriaError",
|
|
3197
|
+
"declaration": {
|
|
3198
|
+
"name": "showCriteriaError",
|
|
3199
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2958
3200
|
}
|
|
2959
3201
|
}
|
|
2960
3202
|
]
|
|
2961
3203
|
},
|
|
2962
3204
|
{
|
|
2963
3205
|
"kind": "javascript-module",
|
|
2964
|
-
"path": "src/ai-
|
|
3206
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3207
|
+
"declarations": [
|
|
3208
|
+
{
|
|
3209
|
+
"kind": "function",
|
|
3210
|
+
"name": "foundationAiIndicatorStyles",
|
|
3211
|
+
"return": {
|
|
3212
|
+
"type": {
|
|
3213
|
+
"text": "ElementStyles"
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"parameters": [
|
|
3217
|
+
{
|
|
3218
|
+
"name": "context",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "ElementDefinitionContext"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "definition",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "FoundationElementDefinition"
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
]
|
|
3230
|
+
}
|
|
3231
|
+
],
|
|
3232
|
+
"exports": [
|
|
3233
|
+
{
|
|
3234
|
+
"kind": "js",
|
|
3235
|
+
"name": "foundationAiIndicatorStyles",
|
|
3236
|
+
"declaration": {
|
|
3237
|
+
"name": "foundationAiIndicatorStyles",
|
|
3238
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
]
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"kind": "javascript-module",
|
|
3245
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2965
3246
|
"declarations": [
|
|
2966
3247
|
{
|
|
2967
3248
|
"kind": "variable",
|
|
2968
|
-
"name": "
|
|
3249
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2969
3250
|
"type": {
|
|
2970
|
-
"text": "ViewTemplate<
|
|
3251
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2971
3252
|
},
|
|
2972
|
-
"default": "html`\n ${(x) =>
|
|
3253
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2973
3254
|
}
|
|
2974
3255
|
],
|
|
2975
3256
|
"exports": [
|
|
2976
3257
|
{
|
|
2977
3258
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
3259
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
3260
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "src/ai-
|
|
3261
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3262
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2982
3263
|
}
|
|
2983
3264
|
}
|
|
2984
3265
|
]
|
|
2985
3266
|
},
|
|
2986
3267
|
{
|
|
2987
3268
|
"kind": "javascript-module",
|
|
2988
|
-
"path": "src/ai-
|
|
3269
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2989
3270
|
"declarations": [
|
|
2990
3271
|
{
|
|
2991
3272
|
"kind": "class",
|
|
2992
|
-
"description": "
|
|
2993
|
-
"name": "
|
|
3273
|
+
"description": "",
|
|
3274
|
+
"name": "AiIndicator",
|
|
2994
3275
|
"members": [
|
|
2995
3276
|
{
|
|
2996
3277
|
"kind": "field",
|
|
@@ -3001,54 +3282,25 @@
|
|
|
3001
3282
|
},
|
|
3002
3283
|
{
|
|
3003
3284
|
"kind": "field",
|
|
3004
|
-
"name": "
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "string"
|
|
3007
|
-
},
|
|
3008
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3009
|
-
},
|
|
3010
|
-
{
|
|
3011
|
-
"kind": "field",
|
|
3012
|
-
"name": "disabled",
|
|
3013
|
-
"type": {
|
|
3014
|
-
"text": "boolean"
|
|
3015
|
-
}
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"kind": "field",
|
|
3019
|
-
"name": "inputValue",
|
|
3020
|
-
"type": {
|
|
3021
|
-
"text": "string"
|
|
3022
|
-
},
|
|
3023
|
-
"default": "''"
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
"kind": "field",
|
|
3027
|
-
"name": "isInterpreting",
|
|
3285
|
+
"name": "aiProvider",
|
|
3028
3286
|
"type": {
|
|
3029
|
-
"text": "
|
|
3287
|
+
"text": "AIProvider | undefined"
|
|
3030
3288
|
},
|
|
3031
|
-
"
|
|
3289
|
+
"privacy": "private",
|
|
3290
|
+
"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.",
|
|
3291
|
+
"readonly": true
|
|
3032
3292
|
},
|
|
3033
3293
|
{
|
|
3034
3294
|
"kind": "field",
|
|
3035
|
-
"name": "
|
|
3295
|
+
"name": "status",
|
|
3036
3296
|
"type": {
|
|
3037
|
-
"text": "
|
|
3297
|
+
"text": "AIStatus | null"
|
|
3038
3298
|
},
|
|
3039
3299
|
"default": "null"
|
|
3040
3300
|
},
|
|
3041
3301
|
{
|
|
3042
3302
|
"kind": "field",
|
|
3043
|
-
"name": "
|
|
3044
|
-
"type": {
|
|
3045
|
-
"text": "CriteriaGroup[]"
|
|
3046
|
-
},
|
|
3047
|
-
"default": "[]"
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"kind": "field",
|
|
3051
|
-
"name": "showingChips",
|
|
3303
|
+
"name": "open",
|
|
3052
3304
|
"type": {
|
|
3053
3305
|
"text": "boolean"
|
|
3054
3306
|
},
|
|
@@ -3056,15 +3308,15 @@
|
|
|
3056
3308
|
},
|
|
3057
3309
|
{
|
|
3058
3310
|
"kind": "field",
|
|
3059
|
-
"name": "
|
|
3311
|
+
"name": "state",
|
|
3060
3312
|
"type": {
|
|
3061
|
-
"text": "
|
|
3313
|
+
"text": "AIIndicatorState"
|
|
3062
3314
|
},
|
|
3063
|
-
"default": "
|
|
3315
|
+
"default": "'none'"
|
|
3064
3316
|
},
|
|
3065
3317
|
{
|
|
3066
3318
|
"kind": "field",
|
|
3067
|
-
"name": "
|
|
3319
|
+
"name": "isInstalling",
|
|
3068
3320
|
"type": {
|
|
3069
3321
|
"text": "boolean"
|
|
3070
3322
|
},
|
|
@@ -3072,33 +3324,29 @@
|
|
|
3072
3324
|
},
|
|
3073
3325
|
{
|
|
3074
3326
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
3327
|
+
"name": "pollTimer",
|
|
3076
3328
|
"type": {
|
|
3077
|
-
"text": "
|
|
3329
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3078
3330
|
},
|
|
3079
|
-
"privacy": "
|
|
3331
|
+
"privacy": "private",
|
|
3332
|
+
"default": "null"
|
|
3080
3333
|
},
|
|
3081
3334
|
{
|
|
3082
3335
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
3084
|
-
"
|
|
3085
|
-
"text": "(() => void) | null"
|
|
3086
|
-
},
|
|
3087
|
-
"privacy": "private",
|
|
3088
|
-
"default": "null"
|
|
3336
|
+
"name": "clickOutside",
|
|
3337
|
+
"privacy": "private"
|
|
3089
3338
|
},
|
|
3090
3339
|
{
|
|
3091
3340
|
"kind": "field",
|
|
3092
|
-
"name": "
|
|
3341
|
+
"name": "chromeStatusLabel",
|
|
3093
3342
|
"type": {
|
|
3094
|
-
"text": "
|
|
3343
|
+
"text": "string | null"
|
|
3095
3344
|
},
|
|
3096
|
-
"
|
|
3097
|
-
"default": "null"
|
|
3345
|
+
"readonly": true
|
|
3098
3346
|
},
|
|
3099
3347
|
{
|
|
3100
3348
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3349
|
+
"name": "canInstall",
|
|
3102
3350
|
"type": {
|
|
3103
3351
|
"text": "boolean"
|
|
3104
3352
|
},
|
|
@@ -3106,65 +3354,69 @@
|
|
|
3106
3354
|
},
|
|
3107
3355
|
{
|
|
3108
3356
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3357
|
+
"name": "isDownloading",
|
|
3110
3358
|
"type": {
|
|
3111
|
-
"text": "
|
|
3359
|
+
"text": "boolean"
|
|
3112
3360
|
},
|
|
3113
3361
|
"readonly": true
|
|
3114
3362
|
},
|
|
3115
3363
|
{
|
|
3116
3364
|
"kind": "method",
|
|
3117
|
-
"name": "
|
|
3118
|
-
"privacy": "private",
|
|
3365
|
+
"name": "openChanged",
|
|
3119
3366
|
"return": {
|
|
3120
3367
|
"type": {
|
|
3121
|
-
"text": "
|
|
3368
|
+
"text": "void"
|
|
3122
3369
|
}
|
|
3123
|
-
}
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"kind": "method",
|
|
3374
|
+
"name": "handleClickOutside",
|
|
3375
|
+
"privacy": "private",
|
|
3124
3376
|
"parameters": [
|
|
3125
3377
|
{
|
|
3126
|
-
"name": "
|
|
3378
|
+
"name": "event",
|
|
3127
3379
|
"type": {
|
|
3128
|
-
"text": "
|
|
3380
|
+
"text": "MouseEvent"
|
|
3129
3381
|
}
|
|
3130
3382
|
}
|
|
3131
3383
|
]
|
|
3132
3384
|
},
|
|
3133
3385
|
{
|
|
3134
3386
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3387
|
+
"name": "toggleDropdown"
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
"kind": "method",
|
|
3391
|
+
"name": "refreshStatus",
|
|
3136
3392
|
"return": {
|
|
3137
3393
|
"type": {
|
|
3138
|
-
"text": "void"
|
|
3394
|
+
"text": "Promise<void>"
|
|
3139
3395
|
}
|
|
3140
3396
|
}
|
|
3141
3397
|
},
|
|
3142
3398
|
{
|
|
3143
3399
|
"kind": "method",
|
|
3144
|
-
"name": "
|
|
3400
|
+
"name": "deriveState",
|
|
3401
|
+
"privacy": "private",
|
|
3145
3402
|
"return": {
|
|
3146
3403
|
"type": {
|
|
3147
|
-
"text": "
|
|
3404
|
+
"text": "AIIndicatorState"
|
|
3148
3405
|
}
|
|
3149
3406
|
},
|
|
3150
3407
|
"parameters": [
|
|
3151
3408
|
{
|
|
3152
|
-
"name": "
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "number"
|
|
3155
|
-
}
|
|
3156
|
-
},
|
|
3157
|
-
{
|
|
3158
|
-
"name": "clauseIndex",
|
|
3409
|
+
"name": "s",
|
|
3159
3410
|
"type": {
|
|
3160
|
-
"text": "
|
|
3411
|
+
"text": "AIStatus | null"
|
|
3161
3412
|
}
|
|
3162
3413
|
}
|
|
3163
3414
|
]
|
|
3164
3415
|
},
|
|
3165
3416
|
{
|
|
3166
3417
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3418
|
+
"name": "maybeStartPolling",
|
|
3419
|
+
"privacy": "private",
|
|
3168
3420
|
"return": {
|
|
3169
3421
|
"type": {
|
|
3170
3422
|
"text": "void"
|
|
@@ -3173,24 +3425,32 @@
|
|
|
3173
3425
|
},
|
|
3174
3426
|
{
|
|
3175
3427
|
"kind": "method",
|
|
3176
|
-
"name": "
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
"kind": "method",
|
|
3184
|
-
"name": "clear"
|
|
3428
|
+
"name": "startPolling",
|
|
3429
|
+
"privacy": "private",
|
|
3430
|
+
"return": {
|
|
3431
|
+
"type": {
|
|
3432
|
+
"text": "void"
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3185
3435
|
},
|
|
3186
3436
|
{
|
|
3187
3437
|
"kind": "method",
|
|
3188
|
-
"name": "
|
|
3438
|
+
"name": "stopPolling",
|
|
3439
|
+
"privacy": "private",
|
|
3440
|
+
"return": {
|
|
3441
|
+
"type": {
|
|
3442
|
+
"text": "void"
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3189
3445
|
},
|
|
3190
3446
|
{
|
|
3191
3447
|
"kind": "method",
|
|
3192
|
-
"name": "
|
|
3193
|
-
"
|
|
3448
|
+
"name": "onInstall",
|
|
3449
|
+
"return": {
|
|
3450
|
+
"type": {
|
|
3451
|
+
"text": "Promise<void>"
|
|
3452
|
+
}
|
|
3453
|
+
}
|
|
3194
3454
|
},
|
|
3195
3455
|
{
|
|
3196
3456
|
"kind": "field",
|
|
@@ -3304,245 +3564,88 @@
|
|
|
3304
3564
|
}
|
|
3305
3565
|
}
|
|
3306
3566
|
],
|
|
3307
|
-
"events": [
|
|
3308
|
-
{
|
|
3309
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3310
|
-
"name": "criteria-changed"
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3314
|
-
"name": "validation-errors"
|
|
3315
|
-
}
|
|
3316
|
-
],
|
|
3317
|
-
"attributes": [
|
|
3318
|
-
{
|
|
3319
|
-
"name": "placeholder",
|
|
3320
|
-
"type": {
|
|
3321
|
-
"text": "string"
|
|
3322
|
-
},
|
|
3323
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3324
|
-
"fieldName": "placeholder"
|
|
3325
|
-
},
|
|
3326
|
-
{
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "boolean"
|
|
3329
|
-
},
|
|
3330
|
-
"fieldName": "disabled"
|
|
3331
|
-
}
|
|
3332
|
-
],
|
|
3333
3567
|
"superclass": {
|
|
3334
3568
|
"name": "FoundationElement",
|
|
3335
3569
|
"package": "@microsoft/fast-foundation"
|
|
3336
3570
|
},
|
|
3337
|
-
"tagName": "%%prefix%%-ai-
|
|
3571
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3338
3572
|
"customElement": true
|
|
3339
3573
|
},
|
|
3340
3574
|
{
|
|
3341
3575
|
"kind": "variable",
|
|
3342
|
-
"name": "
|
|
3343
|
-
"type": {
|
|
3344
|
-
"text": "ShadowRootInit"
|
|
3345
|
-
},
|
|
3346
|
-
"default": "undefined"
|
|
3347
|
-
},
|
|
3348
|
-
{
|
|
3349
|
-
"kind": "variable",
|
|
3350
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3351
|
-
"type": {
|
|
3352
|
-
"text": "object"
|
|
3353
|
-
},
|
|
3354
|
-
"default": "{}"
|
|
3355
|
-
},
|
|
3356
|
-
{
|
|
3357
|
-
"kind": "variable",
|
|
3358
|
-
"name": "foundationAiCriteriaSearch"
|
|
3576
|
+
"name": "foundationAiIndicator"
|
|
3359
3577
|
}
|
|
3360
3578
|
],
|
|
3361
3579
|
"exports": [
|
|
3362
3580
|
{
|
|
3363
3581
|
"kind": "js",
|
|
3364
|
-
"name": "
|
|
3365
|
-
"declaration": {
|
|
3366
|
-
"name": "AiCriteriaSearch",
|
|
3367
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3368
|
-
}
|
|
3369
|
-
},
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "js",
|
|
3372
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3373
|
-
"declaration": {
|
|
3374
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3375
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
|
-
}
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"kind": "js",
|
|
3380
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3582
|
+
"name": "AiIndicator",
|
|
3381
3583
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3584
|
+
"name": "AiIndicator",
|
|
3585
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3384
3586
|
}
|
|
3385
3587
|
},
|
|
3386
3588
|
{
|
|
3387
3589
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3590
|
+
"name": "foundationAiIndicator",
|
|
3389
3591
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "src/ai-
|
|
3592
|
+
"name": "foundationAiIndicator",
|
|
3593
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3392
3594
|
}
|
|
3393
3595
|
}
|
|
3394
3596
|
]
|
|
3395
3597
|
},
|
|
3396
3598
|
{
|
|
3397
3599
|
"kind": "javascript-module",
|
|
3398
|
-
"path": "src/ai-
|
|
3600
|
+
"path": "src/ai-indicator/index.ts",
|
|
3399
3601
|
"declarations": [],
|
|
3400
3602
|
"exports": [
|
|
3401
3603
|
{
|
|
3402
3604
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3404
|
-
"declaration": {
|
|
3405
|
-
"name": "AiCriteriaSearch",
|
|
3406
|
-
"module": "./ai-criteria-search"
|
|
3407
|
-
}
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"kind": "js",
|
|
3411
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3412
|
-
"declaration": {
|
|
3413
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3414
|
-
"module": "./ai-criteria-search"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"kind": "js",
|
|
3419
|
-
"name": "foundationAiCriteriaSearch",
|
|
3420
|
-
"declaration": {
|
|
3421
|
-
"name": "foundationAiCriteriaSearch",
|
|
3422
|
-
"module": "./ai-criteria-search"
|
|
3423
|
-
}
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
"kind": "js",
|
|
3427
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3428
|
-
"declaration": {
|
|
3429
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3430
|
-
"module": "./ai-criteria-search"
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "js",
|
|
3435
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3436
|
-
"declaration": {
|
|
3437
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3438
|
-
"module": "./ai-criteria-search.styles"
|
|
3439
|
-
}
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "js",
|
|
3443
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3605
|
+
"name": "AiIndicator",
|
|
3444
3606
|
"declaration": {
|
|
3445
|
-
"name": "
|
|
3446
|
-
"module": "./ai-
|
|
3607
|
+
"name": "AiIndicator",
|
|
3608
|
+
"module": "./ai-indicator"
|
|
3447
3609
|
}
|
|
3448
3610
|
},
|
|
3449
3611
|
{
|
|
3450
3612
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3613
|
+
"name": "foundationAiIndicator",
|
|
3452
3614
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"
|
|
3615
|
+
"name": "foundationAiIndicator",
|
|
3616
|
+
"module": "./ai-indicator"
|
|
3455
3617
|
}
|
|
3456
3618
|
},
|
|
3457
3619
|
{
|
|
3458
3620
|
"kind": "js",
|
|
3459
|
-
"name": "
|
|
3621
|
+
"name": "type",
|
|
3460
3622
|
"declaration": {
|
|
3461
|
-
"name": "
|
|
3462
|
-
"
|
|
3623
|
+
"name": "type",
|
|
3624
|
+
"module": "./ai-indicator"
|
|
3463
3625
|
}
|
|
3464
3626
|
},
|
|
3465
3627
|
{
|
|
3466
3628
|
"kind": "js",
|
|
3467
|
-
"name": "
|
|
3629
|
+
"name": "AIIndicatorState",
|
|
3468
3630
|
"declaration": {
|
|
3469
|
-
"name": "
|
|
3470
|
-
"
|
|
3631
|
+
"name": "AIIndicatorState",
|
|
3632
|
+
"module": "./ai-indicator"
|
|
3471
3633
|
}
|
|
3472
|
-
}
|
|
3473
|
-
]
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "javascript-module",
|
|
3477
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3478
|
-
"declarations": [
|
|
3479
|
-
{
|
|
3480
|
-
"kind": "function",
|
|
3481
|
-
"name": "formatValidationErrors",
|
|
3482
|
-
"return": {
|
|
3483
|
-
"type": {
|
|
3484
|
-
"text": "string"
|
|
3485
|
-
}
|
|
3486
|
-
},
|
|
3487
|
-
"parameters": [
|
|
3488
|
-
{
|
|
3489
|
-
"name": "errors",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "ValidationError[]"
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
],
|
|
3495
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3496
3634
|
},
|
|
3497
|
-
{
|
|
3498
|
-
"kind": "function",
|
|
3499
|
-
"name": "showCriteriaError",
|
|
3500
|
-
"return": {
|
|
3501
|
-
"type": {
|
|
3502
|
-
"text": "void"
|
|
3503
|
-
}
|
|
3504
|
-
},
|
|
3505
|
-
"parameters": [
|
|
3506
|
-
{
|
|
3507
|
-
"name": "title",
|
|
3508
|
-
"type": {
|
|
3509
|
-
"text": "string"
|
|
3510
|
-
},
|
|
3511
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3512
|
-
},
|
|
3513
|
-
{
|
|
3514
|
-
"name": "body",
|
|
3515
|
-
"type": {
|
|
3516
|
-
"text": "string"
|
|
3517
|
-
},
|
|
3518
|
-
"description": "Error message to display"
|
|
3519
|
-
},
|
|
3520
|
-
{
|
|
3521
|
-
"name": "tagName",
|
|
3522
|
-
"type": {
|
|
3523
|
-
"text": "string"
|
|
3524
|
-
},
|
|
3525
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3526
|
-
}
|
|
3527
|
-
],
|
|
3528
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3529
|
-
}
|
|
3530
|
-
],
|
|
3531
|
-
"exports": [
|
|
3532
3635
|
{
|
|
3533
3636
|
"kind": "js",
|
|
3534
|
-
"name": "
|
|
3637
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3535
3638
|
"declaration": {
|
|
3536
|
-
"name": "
|
|
3537
|
-
"module": "
|
|
3639
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3640
|
+
"module": "./ai-indicator.template"
|
|
3538
3641
|
}
|
|
3539
3642
|
},
|
|
3540
3643
|
{
|
|
3541
3644
|
"kind": "js",
|
|
3542
|
-
"name": "
|
|
3645
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
3646
|
"declaration": {
|
|
3544
|
-
"name": "
|
|
3545
|
-
"module": "
|
|
3647
|
+
"name": "foundationAiIndicatorStyles",
|
|
3648
|
+
"module": "./ai-indicator.styles"
|
|
3546
3649
|
}
|
|
3547
3650
|
}
|
|
3548
3651
|
]
|
|
@@ -59694,6 +59797,12 @@
|
|
|
59694
59797
|
}
|
|
59695
59798
|
]
|
|
59696
59799
|
},
|
|
59800
|
+
{
|
|
59801
|
+
"kind": "javascript-module",
|
|
59802
|
+
"path": "src/utils/popover-position.ts",
|
|
59803
|
+
"declarations": [],
|
|
59804
|
+
"exports": []
|
|
59805
|
+
},
|
|
59697
59806
|
{
|
|
59698
59807
|
"kind": "javascript-module",
|
|
59699
59808
|
"path": "src/utils/tooltip.ts",
|
|
@@ -61997,7 +62106,7 @@
|
|
|
61997
62106
|
"type": {
|
|
61998
62107
|
"text": "CriteriaOperator[]"
|
|
61999
62108
|
},
|
|
62000
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n '
|
|
62109
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'notEqual',\n]"
|
|
62001
62110
|
},
|
|
62002
62111
|
{
|
|
62003
62112
|
"kind": "variable",
|