@genesislcap/foundation-ui 15.20.2-FUI-0.2 → 15.20.2-grid-pro-datasource-fix.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.
@@ -1495,65 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
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
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/actions-menu/actions-menu.styles.ts",
1498
+ "path": "src/accordion/accordion.styles.ts",
1530
1499
  "declarations": [
1531
1500
  {
1532
1501
  "kind": "function",
1533
- "name": "actionsMenuBaseStyles",
1534
- "return": {
1535
- "type": {
1536
- "text": "ElementStyles"
1537
- }
1538
- },
1539
- "parameters": [
1540
- {
1541
- "name": "context",
1542
- "type": {
1543
- "text": "ElementDefinitionContext"
1544
- }
1545
- },
1546
- {
1547
- "name": "definition",
1548
- "type": {
1549
- "text": "FoundationElementDefinition"
1550
- }
1551
- }
1552
- ]
1553
- },
1554
- {
1555
- "kind": "function",
1556
- "name": "foundationActionsMenuStyles",
1502
+ "name": "foundationAccordionStyles",
1557
1503
  "return": {
1558
1504
  "type": {
1559
1505
  "text": "ElementStyles"
@@ -1578,281 +1524,277 @@
1578
1524
  "exports": [
1579
1525
  {
1580
1526
  "kind": "js",
1581
- "name": "actionsMenuBaseStyles",
1582
- "declaration": {
1583
- "name": "actionsMenuBaseStyles",
1584
- "module": "src/actions-menu/actions-menu.styles.ts"
1585
- }
1586
- },
1587
- {
1588
- "kind": "js",
1589
- "name": "foundationActionsMenuStyles",
1527
+ "name": "foundationAccordionStyles",
1590
1528
  "declaration": {
1591
- "name": "foundationActionsMenuStyles",
1592
- "module": "src/actions-menu/actions-menu.styles.ts"
1529
+ "name": "foundationAccordionStyles",
1530
+ "module": "src/accordion/accordion.styles.ts"
1593
1531
  }
1594
1532
  }
1595
1533
  ]
1596
1534
  },
1597
1535
  {
1598
1536
  "kind": "javascript-module",
1599
- "path": "src/actions-menu/actions-menu.template.ts",
1537
+ "path": "src/accordion/accordion.template.ts",
1600
1538
  "declarations": [
1601
1539
  {
1602
1540
  "kind": "function",
1603
- "name": "menuTemplate",
1541
+ "name": "foundationAccordionTemplate",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "ViewTemplate<Accordion>"
1545
+ }
1546
+ },
1604
1547
  "parameters": [
1605
1548
  {
1606
- "name": "prefix",
1549
+ "name": "context",
1607
1550
  "type": {
1608
- "text": "string"
1551
+ "text": "ElementDefinitionContext"
1609
1552
  }
1610
- }
1611
- ]
1612
- },
1613
- {
1614
- "kind": "function",
1615
- "name": "singleOptionTemplate",
1616
- "parameters": [
1553
+ },
1617
1554
  {
1618
- "name": "prefix",
1555
+ "name": "definition",
1619
1556
  "type": {
1620
- "text": "string"
1557
+ "text": "FoundationElementDefinition"
1621
1558
  }
1622
1559
  }
1623
1560
  ]
1624
- },
1625
- {
1626
- "kind": "variable",
1627
- "name": "foundationActionsMenuTemplate",
1628
- "type": {
1629
- "text": "ViewTemplate<ActionsMenu>"
1630
- },
1631
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1632
1561
  }
1633
1562
  ],
1634
1563
  "exports": [
1635
1564
  {
1636
1565
  "kind": "js",
1637
- "name": "menuTemplate",
1638
- "declaration": {
1639
- "name": "menuTemplate",
1640
- "module": "src/actions-menu/actions-menu.template.ts"
1641
- }
1642
- },
1643
- {
1644
- "kind": "js",
1645
- "name": "singleOptionTemplate",
1646
- "declaration": {
1647
- "name": "singleOptionTemplate",
1648
- "module": "src/actions-menu/actions-menu.template.ts"
1649
- }
1650
- },
1651
- {
1652
- "kind": "js",
1653
- "name": "foundationActionsMenuTemplate",
1566
+ "name": "foundationAccordionTemplate",
1654
1567
  "declaration": {
1655
- "name": "foundationActionsMenuTemplate",
1656
- "module": "src/actions-menu/actions-menu.template.ts"
1568
+ "name": "foundationAccordionTemplate",
1569
+ "module": "src/accordion/accordion.template.ts"
1657
1570
  }
1658
1571
  }
1659
1572
  ]
1660
1573
  },
1661
1574
  {
1662
1575
  "kind": "javascript-module",
1663
- "path": "src/actions-menu/actions-menu.ts",
1576
+ "path": "src/accordion/accordion.ts",
1664
1577
  "declarations": [
1665
1578
  {
1666
1579
  "kind": "class",
1667
1580
  "description": "",
1668
- "name": "ActionsMenu",
1669
- "members": [
1581
+ "name": "Accordion",
1582
+ "superclass": {
1583
+ "name": "FASTAccordion",
1584
+ "package": "@microsoft/fast-foundation"
1585
+ },
1586
+ "tagName": "%%prefix%%-accordion",
1587
+ "customElement": true,
1588
+ "attributes": [
1670
1589
  {
1671
- "kind": "field",
1672
- "name": "actions",
1590
+ "name": "expand-mode",
1673
1591
  "type": {
1674
- "text": "ActionMenuItem[]"
1592
+ "text": "AccordionExpandMode"
1593
+ },
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1596
+ "inheritedFrom": {
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1675
1599
  }
1676
- },
1600
+ }
1601
+ ],
1602
+ "members": [
1677
1603
  {
1678
1604
  "kind": "field",
1679
- "name": "isVertical",
1605
+ "name": "expandmode",
1680
1606
  "type": {
1681
- "text": "boolean"
1607
+ "text": "AccordionExpandMode"
1682
1608
  },
1683
- "default": "false"
1609
+ "privacy": "public",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1611
+ "inheritedFrom": {
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1614
+ }
1684
1615
  },
1685
1616
  {
1686
1617
  "kind": "field",
1687
- "name": "addDefaultActions",
1618
+ "name": "activeid",
1688
1619
  "type": {
1689
- "text": "boolean"
1620
+ "text": "string | null"
1690
1621
  },
1691
- "default": "true"
1622
+ "privacy": "private",
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1626
+ }
1692
1627
  },
1693
1628
  {
1694
1629
  "kind": "field",
1695
- "name": "autoCloseOnAction",
1630
+ "name": "activeItemIndex",
1696
1631
  "type": {
1697
- "text": "boolean"
1632
+ "text": "number"
1698
1633
  },
1699
- "default": "true"
1700
- },
1701
- {
1702
- "kind": "field",
1703
- "name": "classNames",
1704
- "type": {
1705
- "text": "string"
1634
+ "privacy": "private",
1635
+ "default": "0",
1636
+ "inheritedFrom": {
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1706
1639
  }
1707
1640
  },
1708
1641
  {
1709
1642
  "kind": "field",
1710
- "name": "definition",
1643
+ "name": "accordionIds",
1711
1644
  "type": {
1712
- "text": "any"
1645
+ "text": "Array<string | null>"
1646
+ },
1647
+ "privacy": "private",
1648
+ "inheritedFrom": {
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1713
1651
  }
1714
1652
  },
1715
1653
  {
1716
1654
  "kind": "field",
1717
- "name": "name",
1718
- "type": {
1719
- "text": "string"
1720
- },
1721
- "default": "'Actions'"
1655
+ "name": "change",
1656
+ "privacy": "private",
1657
+ "inheritedFrom": {
1658
+ "name": "Accordion",
1659
+ "module": "src/accordion/accordion.ts"
1660
+ }
1722
1661
  },
1723
1662
  {
1724
- "kind": "field",
1725
- "name": "open",
1726
- "type": {
1727
- "text": "boolean"
1663
+ "kind": "method",
1664
+ "name": "findExpandedItem",
1665
+ "privacy": "private",
1666
+ "return": {
1667
+ "type": {
1668
+ "text": "AccordionItem | null"
1669
+ }
1728
1670
  },
1729
- "default": "false"
1730
- },
1731
- {
1732
- "kind": "field",
1733
- "name": "buttonAppearance",
1734
- "type": {
1735
- "text": "string"
1671
+ "inheritedFrom": {
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1736
1674
  }
1737
1675
  },
1738
1676
  {
1739
1677
  "kind": "field",
1740
- "name": "hideDisabled",
1741
- "type": {
1742
- "text": "boolean"
1743
- },
1744
- "default": "false"
1678
+ "name": "setItems",
1679
+ "privacy": "private",
1680
+ "inheritedFrom": {
1681
+ "name": "Accordion",
1682
+ "module": "src/accordion/accordion.ts"
1683
+ }
1745
1684
  },
1746
1685
  {
1747
- "kind": "field",
1748
- "name": "hideMenuSingleOption",
1749
- "type": {
1750
- "text": "boolean"
1686
+ "kind": "method",
1687
+ "name": "resetItems",
1688
+ "privacy": "private",
1689
+ "return": {
1690
+ "type": {
1691
+ "text": "void"
1692
+ }
1751
1693
  },
1752
- "default": "false"
1753
- },
1754
- {
1755
- "kind": "field",
1756
- "name": "singleOption",
1757
- "type": {
1758
- "text": "ActionMenuItem"
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1759
1697
  }
1760
1698
  },
1761
1699
  {
1762
1700
  "kind": "field",
1763
- "name": "actionsMenu",
1764
- "type": {
1765
- "text": "HTMLElement"
1701
+ "name": "removeItemListeners",
1702
+ "privacy": "private",
1703
+ "inheritedFrom": {
1704
+ "name": "Accordion",
1705
+ "module": "src/accordion/accordion.ts"
1766
1706
  }
1767
1707
  },
1768
1708
  {
1769
1709
  "kind": "field",
1770
- "name": "actionsOpener",
1771
- "type": {
1772
- "text": "HTMLElement"
1710
+ "name": "activeItemChange",
1711
+ "privacy": "private",
1712
+ "inheritedFrom": {
1713
+ "name": "Accordion",
1714
+ "module": "src/accordion/accordion.ts"
1773
1715
  }
1774
1716
  },
1775
1717
  {
1776
1718
  "kind": "method",
1777
- "name": "updateMenuPosition",
1778
- "privacy": "private"
1779
- },
1780
- {
1781
- "kind": "method",
1782
- "name": "definitionChanged",
1783
- "privacy": "protected",
1784
- "parameters": [
1785
- {
1786
- "name": "oldValue",
1787
- "type": {
1788
- "text": "any"
1789
- }
1790
- },
1791
- {
1792
- "name": "newValue",
1793
- "type": {
1794
- "text": "any"
1795
- }
1719
+ "name": "getItemIds",
1720
+ "privacy": "private",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "Array<string | null>"
1796
1724
  }
1797
- ]
1798
- },
1799
- {
1800
- "kind": "method",
1801
- "name": "openChanged",
1802
- "privacy": "protected"
1803
- },
1804
- {
1805
- "kind": "method",
1806
- "name": "toggleActionsMenuVisibility"
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "Accordion",
1728
+ "module": "src/accordion/accordion.ts"
1729
+ }
1807
1730
  },
1808
1731
  {
1809
1732
  "kind": "method",
1810
- "name": "onActionMenuItemClick",
1811
- "parameters": [
1812
- {
1813
- "name": "callback",
1814
- "type": {
1815
- "text": "(rowData) => void | any"
1816
- }
1733
+ "name": "isSingleExpandMode",
1734
+ "privacy": "private",
1735
+ "return": {
1736
+ "type": {
1737
+ "text": "boolean"
1817
1738
  }
1818
- ]
1739
+ },
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1819
1744
  },
1820
1745
  {
1821
1746
  "kind": "field",
1822
- "name": "allActions",
1823
- "type": {
1824
- "text": "ActionMenuItem[]"
1825
- },
1826
- "readonly": true
1747
+ "name": "handleItemKeyDown",
1748
+ "privacy": "private",
1749
+ "inheritedFrom": {
1750
+ "name": "Accordion",
1751
+ "module": "src/accordion/accordion.ts"
1752
+ }
1827
1753
  },
1828
1754
  {
1829
1755
  "kind": "field",
1830
- "name": "rowData",
1831
- "readonly": true
1756
+ "name": "handleItemFocus",
1757
+ "privacy": "private",
1758
+ "inheritedFrom": {
1759
+ "name": "Accordion",
1760
+ "module": "src/accordion/accordion.ts"
1761
+ }
1832
1762
  },
1833
1763
  {
1834
1764
  "kind": "method",
1835
- "name": "getLabel",
1765
+ "name": "adjust",
1766
+ "privacy": "private",
1767
+ "return": {
1768
+ "type": {
1769
+ "text": "void"
1770
+ }
1771
+ },
1836
1772
  "parameters": [
1837
1773
  {
1838
- "name": "name",
1774
+ "name": "adjustment",
1839
1775
  "type": {
1840
- "text": "string | ((rowData: any) => string)"
1776
+ "text": "number"
1841
1777
  }
1842
1778
  }
1843
- ]
1779
+ ],
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1844
1784
  },
1845
1785
  {
1846
1786
  "kind": "method",
1847
- "name": "getTemplate",
1848
- "parameters": [
1849
- {
1850
- "name": "prefix",
1851
- "type": {
1852
- "text": "string"
1853
- }
1787
+ "name": "focusItem",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1854
1792
  }
1855
- ]
1793
+ },
1794
+ "inheritedFrom": {
1795
+ "name": "Accordion",
1796
+ "module": "src/accordion/accordion.ts"
1797
+ }
1856
1798
  },
1857
1799
  {
1858
1800
  "kind": "field",
@@ -1966,107 +1908,78 @@
1966
1908
  }
1967
1909
  }
1968
1910
  ],
1969
- "attributes": [
1970
- {
1971
- "name": "is-vertical",
1972
- "type": {
1973
- "text": "boolean"
1974
- },
1975
- "default": "false",
1976
- "fieldName": "isVertical"
1977
- },
1978
- {
1979
- "name": "add-default-actions",
1980
- "type": {
1981
- "text": "boolean"
1982
- },
1983
- "default": "true",
1984
- "fieldName": "addDefaultActions"
1985
- },
1986
- {
1987
- "name": "auto-close-on-action",
1988
- "type": {
1989
- "text": "boolean"
1990
- },
1991
- "default": "true",
1992
- "fieldName": "autoCloseOnAction"
1993
- },
1994
- {
1995
- "name": "name",
1996
- "type": {
1997
- "text": "string"
1998
- },
1999
- "default": "'Actions'",
2000
- "fieldName": "name"
2001
- },
2002
- {
2003
- "name": "open",
2004
- "type": {
2005
- "text": "boolean"
2006
- },
2007
- "default": "false",
2008
- "fieldName": "open"
2009
- },
2010
- {
2011
- "name": "buttonAppearance",
2012
- "type": {
2013
- "text": "string"
2014
- },
2015
- "fieldName": "buttonAppearance"
2016
- },
2017
- {
2018
- "name": "hide-disabled",
2019
- "type": {
2020
- "text": "boolean"
2021
- },
2022
- "default": "false",
2023
- "fieldName": "hideDisabled"
2024
- },
1911
+ "events": [
2025
1912
  {
2026
- "name": "hide-menu-single-option",
2027
- "type": {
2028
- "text": "boolean"
2029
- },
2030
- "default": "false",
2031
- "fieldName": "hideMenuSingleOption"
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1914
+ "name": "change",
1915
+ "inheritedFrom": {
1916
+ "name": "Accordion",
1917
+ "module": "src/accordion/accordion.ts"
1918
+ }
2032
1919
  }
2033
- ],
2034
- "superclass": {
2035
- "name": "FoundationElement",
2036
- "package": "@microsoft/fast-foundation"
1920
+ ]
1921
+ },
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "foundationAccordionShadowOptions",
1925
+ "type": {
1926
+ "text": "ShadowRootInit"
2037
1927
  },
2038
- "tagName": "%%prefix%%-actions-menu",
2039
- "customElement": true
1928
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2040
1929
  },
2041
1930
  {
2042
1931
  "kind": "variable",
2043
- "name": "foundationActionsMenu",
2044
- "description": "The Foundation Actions Menu",
1932
+ "name": "defaultAccordionConfig",
1933
+ "type": {
1934
+ "text": "object"
1935
+ },
1936
+ "default": "{}"
1937
+ },
1938
+ {
1939
+ "kind": "variable",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
2045
1942
  "privacy": "public"
2046
1943
  }
2047
1944
  ],
2048
1945
  "exports": [
2049
1946
  {
2050
1947
  "kind": "js",
2051
- "name": "ActionsMenu",
1948
+ "name": "Accordion",
2052
1949
  "declaration": {
2053
- "name": "ActionsMenu",
2054
- "module": "src/actions-menu/actions-menu.ts"
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
2055
1952
  }
2056
1953
  },
2057
1954
  {
2058
1955
  "kind": "js",
2059
- "name": "foundationActionsMenu",
1956
+ "name": "foundationAccordionShadowOptions",
2060
1957
  "declaration": {
2061
- "name": "foundationActionsMenu",
2062
- "module": "src/actions-menu/actions-menu.ts"
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "defaultAccordionConfig",
1965
+ "declaration": {
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1968
+ }
1969
+ },
1970
+ {
1971
+ "kind": "js",
1972
+ "name": "foundationAccordion",
1973
+ "declaration": {
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
2063
1976
  }
2064
1977
  }
2065
1978
  ]
2066
1979
  },
2067
1980
  {
2068
1981
  "kind": "javascript-module",
2069
- "path": "src/actions-menu/index.ts",
1982
+ "path": "src/accordion/index.ts",
2070
1983
  "declarations": [],
2071
1984
  "exports": [
2072
1985
  {
@@ -2074,7 +1987,7 @@
2074
1987
  "name": "*",
2075
1988
  "declaration": {
2076
1989
  "name": "*",
2077
- "package": "./actions-menu.styles"
1990
+ "package": "./accordion.template"
2078
1991
  }
2079
1992
  },
2080
1993
  {
@@ -2082,7 +1995,7 @@
2082
1995
  "name": "*",
2083
1996
  "declaration": {
2084
1997
  "name": "*",
2085
- "package": "./actions-menu.template"
1998
+ "package": "./accordion.styles"
2086
1999
  }
2087
2000
  },
2088
2001
  {
@@ -2090,7 +2003,38 @@
2090
2003
  "name": "*",
2091
2004
  "declaration": {
2092
2005
  "name": "*",
2093
- "package": "./actions-menu"
2006
+ "package": "./accordion"
2007
+ }
2008
+ }
2009
+ ]
2010
+ },
2011
+ {
2012
+ "kind": "javascript-module",
2013
+ "path": "src/_config/index.ts",
2014
+ "declarations": [],
2015
+ "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "*",
2019
+ "declaration": {
2020
+ "name": "*",
2021
+ "package": "./styles"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./tokens"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./values"
2094
2038
  }
2095
2039
  }
2096
2040
  ]
@@ -2491,115 +2435,203 @@
2491
2435
  },
2492
2436
  {
2493
2437
  "kind": "javascript-module",
2494
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2495
2439
  "declarations": [
2496
2440
  {
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`"
2441
+ "kind": "function",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2466
+ "return": {
2467
+ "type": {
2468
+ "text": "ElementStyles"
2469
+ }
2470
+ },
2471
+ "parameters": [
2472
+ {
2473
+ "name": "context",
2474
+ "type": {
2475
+ "text": "ElementDefinitionContext"
2476
+ }
2477
+ },
2478
+ {
2479
+ "name": "definition",
2480
+ "type": {
2481
+ "text": "FoundationElementDefinition"
2482
+ }
2483
+ }
2484
+ ]
2500
2485
  }
2501
2486
  ],
2502
2487
  "exports": [
2503
2488
  {
2504
2489
  "kind": "js",
2505
- "name": "foundationAiCriteriaSearchStyles",
2490
+ "name": "actionsMenuBaseStyles",
2506
2491
  "declaration": {
2507
- "name": "foundationAiCriteriaSearchStyles",
2508
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2509
2502
  }
2510
2503
  }
2511
2504
  ]
2512
2505
  },
2513
2506
  {
2514
2507
  "kind": "javascript-module",
2515
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2516
2509
  "declarations": [
2510
+ {
2511
+ "kind": "function",
2512
+ "name": "menuTemplate",
2513
+ "parameters": [
2514
+ {
2515
+ "name": "prefix",
2516
+ "type": {
2517
+ "text": "string"
2518
+ }
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "function",
2524
+ "name": "singleOptionTemplate",
2525
+ "parameters": [
2526
+ {
2527
+ "name": "prefix",
2528
+ "type": {
2529
+ "text": "string"
2530
+ }
2531
+ }
2532
+ ]
2533
+ },
2517
2534
  {
2518
2535
  "kind": "variable",
2519
- "name": "foundationAiCriteriaSearchTemplate",
2536
+ "name": "foundationActionsMenuTemplate",
2520
2537
  "type": {
2521
- "text": "ViewTemplate<AiCriteriaSearch>"
2538
+ "text": "ViewTemplate<ActionsMenu>"
2522
2539
  },
2523
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2540
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2524
2541
  }
2525
2542
  ],
2526
2543
  "exports": [
2527
2544
  {
2528
2545
  "kind": "js",
2529
- "name": "foundationAiCriteriaSearchTemplate",
2546
+ "name": "menuTemplate",
2530
2547
  "declaration": {
2531
- "name": "foundationAiCriteriaSearchTemplate",
2532
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2548
+ "name": "menuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "singleOptionTemplate",
2555
+ "declaration": {
2556
+ "name": "singleOptionTemplate",
2557
+ "module": "src/actions-menu/actions-menu.template.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuTemplate",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
2533
2566
  }
2534
2567
  }
2535
2568
  ]
2536
2569
  },
2537
2570
  {
2538
2571
  "kind": "javascript-module",
2539
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
2540
2573
  "declarations": [
2541
2574
  {
2542
2575
  "kind": "class",
2543
- "description": "Natural-language criteria search input with AI interpretation.",
2544
- "name": "AiCriteriaSearch",
2576
+ "description": "",
2577
+ "name": "ActionsMenu",
2545
2578
  "members": [
2546
2579
  {
2547
2580
  "kind": "field",
2548
- "name": "providerRegistry",
2581
+ "name": "actions",
2549
2582
  "type": {
2550
- "text": "AIProviderRegistry"
2583
+ "text": "ActionMenuItem[]"
2551
2584
  }
2552
2585
  },
2553
2586
  {
2554
2587
  "kind": "field",
2555
- "name": "placeholder",
2588
+ "name": "isVertical",
2556
2589
  "type": {
2557
- "text": "string"
2590
+ "text": "boolean"
2558
2591
  },
2559
- "default": "'Describe your search criteria in natural language...'"
2592
+ "default": "false"
2560
2593
  },
2561
2594
  {
2562
2595
  "kind": "field",
2563
- "name": "disabled",
2596
+ "name": "addDefaultActions",
2564
2597
  "type": {
2565
2598
  "text": "boolean"
2566
- }
2599
+ },
2600
+ "default": "true"
2567
2601
  },
2568
2602
  {
2569
2603
  "kind": "field",
2570
- "name": "inputValue",
2604
+ "name": "autoCloseOnAction",
2571
2605
  "type": {
2572
- "text": "string"
2606
+ "text": "boolean"
2573
2607
  },
2574
- "default": "''"
2608
+ "default": "true"
2575
2609
  },
2576
2610
  {
2577
2611
  "kind": "field",
2578
- "name": "isInterpreting",
2612
+ "name": "classNames",
2579
2613
  "type": {
2580
- "text": "boolean"
2581
- },
2582
- "default": "false"
2614
+ "text": "string"
2615
+ }
2583
2616
  },
2584
2617
  {
2585
2618
  "kind": "field",
2586
- "name": "lastValidCriteria",
2619
+ "name": "definition",
2587
2620
  "type": {
2588
- "text": "string | null"
2589
- },
2590
- "default": "null"
2621
+ "text": "any"
2622
+ }
2591
2623
  },
2592
2624
  {
2593
2625
  "kind": "field",
2594
- "name": "activeGroups",
2626
+ "name": "name",
2595
2627
  "type": {
2596
- "text": "CriteriaGroup[]"
2628
+ "text": "string"
2597
2629
  },
2598
- "default": "[]"
2630
+ "default": "'Actions'"
2599
2631
  },
2600
2632
  {
2601
2633
  "kind": "field",
2602
- "name": "showingChips",
2634
+ "name": "open",
2603
2635
  "type": {
2604
2636
  "text": "boolean"
2605
2637
  },
@@ -2607,15 +2639,14 @@
2607
2639
  },
2608
2640
  {
2609
2641
  "kind": "field",
2610
- "name": "fieldMetadata",
2642
+ "name": "buttonAppearance",
2611
2643
  "type": {
2612
- "text": "MetadataDetail[] | string[]"
2613
- },
2614
- "default": "[]"
2644
+ "text": "string"
2645
+ }
2615
2646
  },
2616
2647
  {
2617
2648
  "kind": "field",
2618
- "name": "isRecording",
2649
+ "name": "hideDisabled",
2619
2650
  "type": {
2620
2651
  "text": "boolean"
2621
2652
  },
@@ -2623,125 +2654,114 @@
2623
2654
  },
2624
2655
  {
2625
2656
  "kind": "field",
2626
- "name": "textAreaRef",
2627
- "type": {
2628
- "text": "HTMLTextAreaElement"
2629
- },
2630
- "privacy": "public"
2631
- },
2632
- {
2633
- "kind": "field",
2634
- "name": "stopRecording",
2657
+ "name": "hideMenuSingleOption",
2635
2658
  "type": {
2636
- "text": "(() => void) | null"
2659
+ "text": "boolean"
2637
2660
  },
2638
- "privacy": "private",
2639
- "default": "null"
2661
+ "default": "false"
2640
2662
  },
2641
2663
  {
2642
2664
  "kind": "field",
2643
- "name": "speechApplyDebounceTimer",
2665
+ "name": "singleOption",
2644
2666
  "type": {
2645
- "text": "ReturnType<typeof setTimeout> | null"
2646
- },
2647
- "privacy": "private",
2648
- "default": "null"
2667
+ "text": "ActionMenuItem"
2668
+ }
2649
2669
  },
2650
2670
  {
2651
2671
  "kind": "field",
2652
- "name": "speechAvailable",
2672
+ "name": "actionsMenu",
2653
2673
  "type": {
2654
- "text": "boolean"
2655
- },
2656
- "readonly": true
2674
+ "text": "HTMLElement"
2675
+ }
2657
2676
  },
2658
2677
  {
2659
2678
  "kind": "field",
2660
- "name": "criteriaChips",
2679
+ "name": "actionsOpener",
2661
2680
  "type": {
2662
- "text": "CriteriaChip[]"
2663
- },
2664
- "readonly": true
2665
- },
2666
- {
2667
- "kind": "method",
2668
- "name": "getFieldLabel",
2669
- "privacy": "private",
2670
- "return": {
2671
- "type": {
2672
- "text": "string"
2673
- }
2674
- },
2675
- "parameters": [
2676
- {
2677
- "name": "fieldName",
2678
- "type": {
2679
- "text": "string"
2680
- }
2681
- }
2682
- ]
2681
+ "text": "HTMLElement"
2682
+ }
2683
2683
  },
2684
2684
  {
2685
2685
  "kind": "method",
2686
- "name": "toggleCriteriaView",
2687
- "return": {
2688
- "type": {
2689
- "text": "void"
2690
- }
2691
- }
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2692
2688
  },
2693
2689
  {
2694
2690
  "kind": "method",
2695
- "name": "removeChip",
2696
- "return": {
2697
- "type": {
2698
- "text": "void"
2699
- }
2700
- },
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
2701
2693
  "parameters": [
2702
2694
  {
2703
- "name": "groupIndex",
2695
+ "name": "oldValue",
2704
2696
  "type": {
2705
- "text": "number"
2697
+ "text": "any"
2706
2698
  }
2707
2699
  },
2708
2700
  {
2709
- "name": "clauseIndex",
2701
+ "name": "newValue",
2710
2702
  "type": {
2711
- "text": "number"
2703
+ "text": "any"
2712
2704
  }
2713
2705
  }
2714
2706
  ]
2715
2707
  },
2716
2708
  {
2717
2709
  "kind": "method",
2718
- "name": "clearChips",
2719
- "return": {
2720
- "type": {
2721
- "text": "void"
2722
- }
2723
- }
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
2724
2712
  },
2725
2713
  {
2726
2714
  "kind": "method",
2727
- "name": "handleSubmit"
2715
+ "name": "toggleActionsMenuVisibility"
2728
2716
  },
2729
2717
  {
2730
2718
  "kind": "method",
2731
- "name": "handleBlur"
2719
+ "name": "onActionMenuItemClick",
2720
+ "parameters": [
2721
+ {
2722
+ "name": "callback",
2723
+ "type": {
2724
+ "text": "(rowData) => void | any"
2725
+ }
2726
+ }
2727
+ ]
2732
2728
  },
2733
2729
  {
2734
- "kind": "method",
2735
- "name": "clear"
2730
+ "kind": "field",
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
2736
+ },
2737
+ {
2738
+ "kind": "field",
2739
+ "name": "rowData",
2740
+ "readonly": true
2736
2741
  },
2737
2742
  {
2738
2743
  "kind": "method",
2739
- "name": "toggleSpeechInput"
2744
+ "name": "getLabel",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "name",
2748
+ "type": {
2749
+ "text": "string | ((rowData: any) => string)"
2750
+ }
2751
+ }
2752
+ ]
2740
2753
  },
2741
2754
  {
2742
2755
  "kind": "method",
2743
- "name": "clearSpeechApplyDebounce",
2744
- "privacy": "private"
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
2763
+ }
2764
+ ]
2745
2765
  },
2746
2766
  {
2747
2767
  "kind": "field",
@@ -2855,154 +2875,115 @@
2855
2875
  }
2856
2876
  }
2857
2877
  ],
2858
- "events": [
2878
+ "attributes": [
2859
2879
  {
2860
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
- "name": "criteria-changed"
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2886
+ },
2887
+ {
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2895
+ {
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2905
+ "type": {
2906
+ "text": "string"
2907
+ },
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2910
+ },
2911
+ {
2912
+ "name": "open",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ },
2916
+ "default": "false",
2917
+ "fieldName": "open"
2862
2918
  },
2863
2919
  {
2864
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
- "name": "validation-errors"
2866
- }
2867
- ],
2868
- "attributes": [
2869
- {
2870
- "name": "placeholder",
2920
+ "name": "buttonAppearance",
2871
2921
  "type": {
2872
2922
  "text": "string"
2873
2923
  },
2874
- "default": "'Describe your search criteria in natural language...'",
2875
- "fieldName": "placeholder"
2924
+ "fieldName": "buttonAppearance"
2876
2925
  },
2877
2926
  {
2927
+ "name": "hide-disabled",
2878
2928
  "type": {
2879
2929
  "text": "boolean"
2880
2930
  },
2881
- "fieldName": "disabled"
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2882
2941
  }
2883
2942
  ],
2884
2943
  "superclass": {
2885
2944
  "name": "FoundationElement",
2886
2945
  "package": "@microsoft/fast-foundation"
2887
2946
  },
2888
- "tagName": "%%prefix%%-ai-criteria-search",
2947
+ "tagName": "%%prefix%%-actions-menu",
2889
2948
  "customElement": true
2890
2949
  },
2891
2950
  {
2892
2951
  "kind": "variable",
2893
- "name": "foundationAiCriteriaSearchShadowOptions",
2894
- "type": {
2895
- "text": "ShadowRootInit"
2896
- },
2897
- "default": "undefined"
2898
- },
2899
- {
2900
- "kind": "variable",
2901
- "name": "defaultAiCriteriaSearchConfig",
2902
- "type": {
2903
- "text": "object"
2904
- },
2905
- "default": "{}"
2906
- },
2907
- {
2908
- "kind": "variable",
2909
- "name": "foundationAiCriteriaSearch"
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2954
+ "privacy": "public"
2910
2955
  }
2911
2956
  ],
2912
2957
  "exports": [
2913
2958
  {
2914
2959
  "kind": "js",
2915
- "name": "AiCriteriaSearch",
2916
- "declaration": {
2917
- "name": "AiCriteriaSearch",
2918
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2919
- }
2920
- },
2921
- {
2922
- "kind": "js",
2923
- "name": "foundationAiCriteriaSearchShadowOptions",
2924
- "declaration": {
2925
- "name": "foundationAiCriteriaSearchShadowOptions",
2926
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2927
- }
2928
- },
2929
- {
2930
- "kind": "js",
2931
- "name": "defaultAiCriteriaSearchConfig",
2960
+ "name": "ActionsMenu",
2932
2961
  "declaration": {
2933
- "name": "defaultAiCriteriaSearchConfig",
2934
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
2935
2964
  }
2936
2965
  },
2937
2966
  {
2938
2967
  "kind": "js",
2939
- "name": "foundationAiCriteriaSearch",
2968
+ "name": "foundationActionsMenu",
2940
2969
  "declaration": {
2941
- "name": "foundationAiCriteriaSearch",
2942
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
2943
2972
  }
2944
2973
  }
2945
2974
  ]
2946
2975
  },
2947
2976
  {
2948
2977
  "kind": "javascript-module",
2949
- "path": "src/ai-criteria-search/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
2950
2979
  "declarations": [],
2951
2980
  "exports": [
2952
- {
2953
- "kind": "js",
2954
- "name": "AiCriteriaSearch",
2955
- "declaration": {
2956
- "name": "AiCriteriaSearch",
2957
- "module": "./ai-criteria-search"
2958
- }
2959
- },
2960
- {
2961
- "kind": "js",
2962
- "name": "defaultAiCriteriaSearchConfig",
2963
- "declaration": {
2964
- "name": "defaultAiCriteriaSearchConfig",
2965
- "module": "./ai-criteria-search"
2966
- }
2967
- },
2968
- {
2969
- "kind": "js",
2970
- "name": "foundationAiCriteriaSearch",
2971
- "declaration": {
2972
- "name": "foundationAiCriteriaSearch",
2973
- "module": "./ai-criteria-search"
2974
- }
2975
- },
2976
- {
2977
- "kind": "js",
2978
- "name": "foundationAiCriteriaSearchShadowOptions",
2979
- "declaration": {
2980
- "name": "foundationAiCriteriaSearchShadowOptions",
2981
- "module": "./ai-criteria-search"
2982
- }
2983
- },
2984
- {
2985
- "kind": "js",
2986
- "name": "foundationAiCriteriaSearchStyles",
2987
- "declaration": {
2988
- "name": "foundationAiCriteriaSearchStyles",
2989
- "module": "./ai-criteria-search.styles"
2990
- }
2991
- },
2992
- {
2993
- "kind": "js",
2994
- "name": "foundationAiCriteriaSearchTemplate",
2995
- "declaration": {
2996
- "name": "foundationAiCriteriaSearchTemplate",
2997
- "module": "./ai-criteria-search.template"
2998
- }
2999
- },
3000
2981
  {
3001
2982
  "kind": "js",
3002
2983
  "name": "*",
3003
2984
  "declaration": {
3004
2985
  "name": "*",
3005
- "package": "./validation/criteria-ir"
2986
+ "package": "./actions-menu.styles"
3006
2987
  }
3007
2988
  },
3008
2989
  {
@@ -3010,7 +2991,7 @@
3010
2991
  "name": "*",
3011
2992
  "declaration": {
3012
2993
  "name": "*",
3013
- "package": "./validation/operator-map"
2994
+ "package": "./actions-menu.template"
3014
2995
  }
3015
2996
  },
3016
2997
  {
@@ -3018,93 +2999,18 @@
3018
2999
  "name": "*",
3019
3000
  "declaration": {
3020
3001
  "name": "*",
3021
- "package": "./validation/schema-validator"
3022
- }
3023
- }
3024
- ]
3025
- },
3026
- {
3027
- "kind": "javascript-module",
3028
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3029
- "declarations": [
3030
- {
3031
- "kind": "function",
3032
- "name": "formatValidationErrors",
3033
- "return": {
3034
- "type": {
3035
- "text": "string"
3036
- }
3037
- },
3038
- "parameters": [
3039
- {
3040
- "name": "errors",
3041
- "type": {
3042
- "text": "ValidationError[]"
3043
- }
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": [
3057
- {
3058
- "name": "title",
3059
- "type": {
3060
- "text": "string"
3061
- },
3062
- "description": "Notification title (e.g. \"Criteria validation error\")"
3063
- },
3064
- {
3065
- "name": "body",
3066
- "type": {
3067
- "text": "string"
3068
- },
3069
- "description": "Error message to display"
3070
- },
3071
- {
3072
- "name": "tagName",
3073
- "type": {
3074
- "text": "string"
3075
- },
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"
3002
+ "package": "./actions-menu"
3097
3003
  }
3098
3004
  }
3099
3005
  ]
3100
3006
  },
3101
3007
  {
3102
3008
  "kind": "javascript-module",
3103
- "path": "src/accordion/accordion.styles.ts",
3009
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3104
3010
  "declarations": [
3105
3011
  {
3106
3012
  "kind": "function",
3107
- "name": "foundationAccordionStyles",
3013
+ "name": "foundationAiIndicatorStyles",
3108
3014
  "return": {
3109
3015
  "type": {
3110
3016
  "text": "ElementStyles"
@@ -3129,276 +3035,224 @@
3129
3035
  "exports": [
3130
3036
  {
3131
3037
  "kind": "js",
3132
- "name": "foundationAccordionStyles",
3038
+ "name": "foundationAiIndicatorStyles",
3133
3039
  "declaration": {
3134
- "name": "foundationAccordionStyles",
3135
- "module": "src/accordion/accordion.styles.ts"
3040
+ "name": "foundationAiIndicatorStyles",
3041
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3136
3042
  }
3137
3043
  }
3138
3044
  ]
3139
3045
  },
3140
3046
  {
3141
3047
  "kind": "javascript-module",
3142
- "path": "src/accordion/accordion.template.ts",
3048
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3143
3049
  "declarations": [
3144
3050
  {
3145
- "kind": "function",
3146
- "name": "foundationAccordionTemplate",
3147
- "return": {
3148
- "type": {
3149
- "text": "ViewTemplate<Accordion>"
3150
- }
3051
+ "kind": "variable",
3052
+ "name": "foundationAiIndicatorTemplate",
3053
+ "type": {
3054
+ "text": "ViewTemplate<AiIndicator>"
3151
3055
  },
3152
- "parameters": [
3153
- {
3154
- "name": "context",
3155
- "type": {
3156
- "text": "ElementDefinitionContext"
3157
- }
3158
- },
3159
- {
3160
- "name": "definition",
3161
- "type": {
3162
- "text": "FoundationElementDefinition"
3163
- }
3164
- }
3165
- ]
3056
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3166
3057
  }
3167
3058
  ],
3168
3059
  "exports": [
3169
3060
  {
3170
3061
  "kind": "js",
3171
- "name": "foundationAccordionTemplate",
3062
+ "name": "foundationAiIndicatorTemplate",
3172
3063
  "declaration": {
3173
- "name": "foundationAccordionTemplate",
3174
- "module": "src/accordion/accordion.template.ts"
3064
+ "name": "foundationAiIndicatorTemplate",
3065
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3175
3066
  }
3176
3067
  }
3177
3068
  ]
3178
3069
  },
3179
3070
  {
3180
3071
  "kind": "javascript-module",
3181
- "path": "src/accordion/accordion.ts",
3072
+ "path": "src/ai-indicator/ai-indicator.ts",
3182
3073
  "declarations": [
3183
3074
  {
3184
3075
  "kind": "class",
3185
3076
  "description": "",
3186
- "name": "Accordion",
3187
- "superclass": {
3188
- "name": "FASTAccordion",
3189
- "package": "@microsoft/fast-foundation"
3190
- },
3191
- "tagName": "%%prefix%%-accordion",
3192
- "customElement": true,
3193
- "attributes": [
3077
+ "name": "AiIndicator",
3078
+ "members": [
3194
3079
  {
3195
- "name": "expand-mode",
3080
+ "kind": "field",
3081
+ "name": "providerRegistry",
3196
3082
  "type": {
3197
- "text": "AccordionExpandMode"
3198
- },
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"
3083
+ "text": "AIProviderRegistry"
3204
3084
  }
3205
- }
3206
- ],
3207
- "members": [
3085
+ },
3208
3086
  {
3209
3087
  "kind": "field",
3210
- "name": "expandmode",
3088
+ "name": "aiProvider",
3211
3089
  "type": {
3212
- "text": "AccordionExpandMode"
3090
+ "text": "AIProvider | undefined"
3213
3091
  },
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
- }
3092
+ "privacy": "private",
3093
+ "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.",
3094
+ "readonly": true
3220
3095
  },
3221
3096
  {
3222
3097
  "kind": "field",
3223
- "name": "activeid",
3098
+ "name": "status",
3224
3099
  "type": {
3225
- "text": "string | null"
3100
+ "text": "AIStatus | null"
3226
3101
  },
3227
- "privacy": "private",
3228
- "inheritedFrom": {
3229
- "name": "Accordion",
3230
- "module": "src/accordion/accordion.ts"
3231
- }
3102
+ "default": "null"
3232
3103
  },
3233
3104
  {
3234
3105
  "kind": "field",
3235
- "name": "activeItemIndex",
3106
+ "name": "open",
3236
3107
  "type": {
3237
- "text": "number"
3108
+ "text": "boolean"
3238
3109
  },
3239
- "privacy": "private",
3240
- "default": "0",
3241
- "inheritedFrom": {
3242
- "name": "Accordion",
3243
- "module": "src/accordion/accordion.ts"
3244
- }
3110
+ "default": "false"
3245
3111
  },
3246
3112
  {
3247
3113
  "kind": "field",
3248
- "name": "accordionIds",
3114
+ "name": "state",
3249
3115
  "type": {
3250
- "text": "Array<string | null>"
3116
+ "text": "AIIndicatorState"
3251
3117
  },
3252
- "privacy": "private",
3253
- "inheritedFrom": {
3254
- "name": "Accordion",
3255
- "module": "src/accordion/accordion.ts"
3256
- }
3118
+ "default": "'none'"
3257
3119
  },
3258
3120
  {
3259
3121
  "kind": "field",
3260
- "name": "change",
3261
- "privacy": "private",
3262
- "inheritedFrom": {
3263
- "name": "Accordion",
3264
- "module": "src/accordion/accordion.ts"
3265
- }
3122
+ "name": "isInstalling",
3123
+ "type": {
3124
+ "text": "boolean"
3125
+ },
3126
+ "default": "false"
3266
3127
  },
3267
3128
  {
3268
- "kind": "method",
3269
- "name": "findExpandedItem",
3129
+ "kind": "field",
3130
+ "name": "pollTimer",
3131
+ "type": {
3132
+ "text": "ReturnType<typeof setInterval> | null"
3133
+ },
3270
3134
  "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "AccordionItem | null"
3274
- }
3135
+ "default": "null"
3136
+ },
3137
+ {
3138
+ "kind": "field",
3139
+ "name": "clickOutside",
3140
+ "privacy": "private"
3141
+ },
3142
+ {
3143
+ "kind": "field",
3144
+ "name": "chromeStatusLabel",
3145
+ "type": {
3146
+ "text": "string | null"
3275
3147
  },
3276
- "inheritedFrom": {
3277
- "name": "Accordion",
3278
- "module": "src/accordion/accordion.ts"
3279
- }
3148
+ "readonly": true
3280
3149
  },
3281
3150
  {
3282
3151
  "kind": "field",
3283
- "name": "setItems",
3284
- "privacy": "private",
3285
- "inheritedFrom": {
3286
- "name": "Accordion",
3287
- "module": "src/accordion/accordion.ts"
3288
- }
3152
+ "name": "canInstall",
3153
+ "type": {
3154
+ "text": "boolean"
3155
+ },
3156
+ "readonly": true
3157
+ },
3158
+ {
3159
+ "kind": "field",
3160
+ "name": "isDownloading",
3161
+ "type": {
3162
+ "text": "boolean"
3163
+ },
3164
+ "readonly": true
3289
3165
  },
3290
3166
  {
3291
3167
  "kind": "method",
3292
- "name": "resetItems",
3293
- "privacy": "private",
3168
+ "name": "openChanged",
3294
3169
  "return": {
3295
3170
  "type": {
3296
3171
  "text": "void"
3297
3172
  }
3298
- },
3299
- "inheritedFrom": {
3300
- "name": "Accordion",
3301
- "module": "src/accordion/accordion.ts"
3302
3173
  }
3303
3174
  },
3304
3175
  {
3305
- "kind": "field",
3306
- "name": "removeItemListeners",
3176
+ "kind": "method",
3177
+ "name": "handleClickOutside",
3307
3178
  "privacy": "private",
3308
- "inheritedFrom": {
3309
- "name": "Accordion",
3310
- "module": "src/accordion/accordion.ts"
3311
- }
3179
+ "parameters": [
3180
+ {
3181
+ "name": "event",
3182
+ "type": {
3183
+ "text": "MouseEvent"
3184
+ }
3185
+ }
3186
+ ]
3312
3187
  },
3313
3188
  {
3314
- "kind": "field",
3315
- "name": "activeItemChange",
3316
- "privacy": "private",
3317
- "inheritedFrom": {
3318
- "name": "Accordion",
3319
- "module": "src/accordion/accordion.ts"
3320
- }
3189
+ "kind": "method",
3190
+ "name": "toggleDropdown"
3321
3191
  },
3322
3192
  {
3323
3193
  "kind": "method",
3324
- "name": "getItemIds",
3325
- "privacy": "private",
3194
+ "name": "refreshStatus",
3326
3195
  "return": {
3327
3196
  "type": {
3328
- "text": "Array<string | null>"
3197
+ "text": "Promise<void>"
3329
3198
  }
3330
- },
3331
- "inheritedFrom": {
3332
- "name": "Accordion",
3333
- "module": "src/accordion/accordion.ts"
3334
3199
  }
3335
3200
  },
3336
3201
  {
3337
3202
  "kind": "method",
3338
- "name": "isSingleExpandMode",
3203
+ "name": "deriveState",
3339
3204
  "privacy": "private",
3340
3205
  "return": {
3341
3206
  "type": {
3342
- "text": "boolean"
3207
+ "text": "AIIndicatorState"
3343
3208
  }
3344
3209
  },
3345
- "inheritedFrom": {
3346
- "name": "Accordion",
3347
- "module": "src/accordion/accordion.ts"
3348
- }
3210
+ "parameters": [
3211
+ {
3212
+ "name": "s",
3213
+ "type": {
3214
+ "text": "AIStatus | null"
3215
+ }
3216
+ }
3217
+ ]
3349
3218
  },
3350
3219
  {
3351
- "kind": "field",
3352
- "name": "handleItemKeyDown",
3220
+ "kind": "method",
3221
+ "name": "maybeStartPolling",
3353
3222
  "privacy": "private",
3354
- "inheritedFrom": {
3355
- "name": "Accordion",
3356
- "module": "src/accordion/accordion.ts"
3223
+ "return": {
3224
+ "type": {
3225
+ "text": "void"
3226
+ }
3357
3227
  }
3358
3228
  },
3359
3229
  {
3360
- "kind": "field",
3361
- "name": "handleItemFocus",
3230
+ "kind": "method",
3231
+ "name": "startPolling",
3362
3232
  "privacy": "private",
3363
- "inheritedFrom": {
3364
- "name": "Accordion",
3365
- "module": "src/accordion/accordion.ts"
3233
+ "return": {
3234
+ "type": {
3235
+ "text": "void"
3236
+ }
3366
3237
  }
3367
3238
  },
3368
3239
  {
3369
3240
  "kind": "method",
3370
- "name": "adjust",
3241
+ "name": "stopPolling",
3371
3242
  "privacy": "private",
3372
3243
  "return": {
3373
3244
  "type": {
3374
3245
  "text": "void"
3375
3246
  }
3376
- },
3377
- "parameters": [
3378
- {
3379
- "name": "adjustment",
3380
- "type": {
3381
- "text": "number"
3382
- }
3383
- }
3384
- ],
3385
- "inheritedFrom": {
3386
- "name": "Accordion",
3387
- "module": "src/accordion/accordion.ts"
3388
3247
  }
3389
3248
  },
3390
3249
  {
3391
3250
  "kind": "method",
3392
- "name": "focusItem",
3393
- "privacy": "private",
3251
+ "name": "onInstall",
3394
3252
  "return": {
3395
3253
  "type": {
3396
- "text": "void"
3254
+ "text": "Promise<void>"
3397
3255
  }
3398
- },
3399
- "inheritedFrom": {
3400
- "name": "Accordion",
3401
- "module": "src/accordion/accordion.ts"
3402
3256
  }
3403
3257
  },
3404
3258
  {
@@ -3513,177 +3367,145 @@
3513
3367
  }
3514
3368
  }
3515
3369
  ],
3516
- "events": [
3517
- {
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
- }
3524
- }
3525
- ]
3526
- },
3527
- {
3528
- "kind": "variable",
3529
- "name": "foundationAccordionShadowOptions",
3530
- "type": {
3531
- "text": "ShadowRootInit"
3532
- },
3533
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3534
- },
3535
- {
3536
- "kind": "variable",
3537
- "name": "defaultAccordionConfig",
3538
- "type": {
3539
- "text": "object"
3370
+ "superclass": {
3371
+ "name": "FoundationElement",
3372
+ "package": "@microsoft/fast-foundation"
3540
3373
  },
3541
- "default": "{}"
3374
+ "tagName": "%%prefix%%-ai-indicator",
3375
+ "customElement": true
3542
3376
  },
3543
3377
  {
3544
3378
  "kind": "variable",
3545
- "name": "foundationAccordion",
3546
- "description": "The Foundation Accordion",
3547
- "privacy": "public"
3379
+ "name": "foundationAiIndicator"
3548
3380
  }
3549
3381
  ],
3550
3382
  "exports": [
3551
3383
  {
3552
3384
  "kind": "js",
3553
- "name": "Accordion",
3385
+ "name": "AiIndicator",
3554
3386
  "declaration": {
3555
- "name": "Accordion",
3556
- "module": "src/accordion/accordion.ts"
3387
+ "name": "AiIndicator",
3388
+ "module": "src/ai-indicator/ai-indicator.ts"
3557
3389
  }
3558
3390
  },
3559
3391
  {
3560
3392
  "kind": "js",
3561
- "name": "foundationAccordionShadowOptions",
3393
+ "name": "foundationAiIndicator",
3562
3394
  "declaration": {
3563
- "name": "foundationAccordionShadowOptions",
3564
- "module": "src/accordion/accordion.ts"
3395
+ "name": "foundationAiIndicator",
3396
+ "module": "src/ai-indicator/ai-indicator.ts"
3397
+ }
3398
+ }
3399
+ ]
3400
+ },
3401
+ {
3402
+ "kind": "javascript-module",
3403
+ "path": "src/ai-indicator/index.ts",
3404
+ "declarations": [],
3405
+ "exports": [
3406
+ {
3407
+ "kind": "js",
3408
+ "name": "AiIndicator",
3409
+ "declaration": {
3410
+ "name": "AiIndicator",
3411
+ "module": "./ai-indicator"
3565
3412
  }
3566
3413
  },
3567
3414
  {
3568
3415
  "kind": "js",
3569
- "name": "defaultAccordionConfig",
3416
+ "name": "foundationAiIndicator",
3570
3417
  "declaration": {
3571
- "name": "defaultAccordionConfig",
3572
- "module": "src/accordion/accordion.ts"
3418
+ "name": "foundationAiIndicator",
3419
+ "module": "./ai-indicator"
3573
3420
  }
3574
3421
  },
3575
3422
  {
3576
3423
  "kind": "js",
3577
- "name": "foundationAccordion",
3424
+ "name": "type",
3578
3425
  "declaration": {
3579
- "name": "foundationAccordion",
3580
- "module": "src/accordion/accordion.ts"
3426
+ "name": "type",
3427
+ "module": "./ai-indicator"
3581
3428
  }
3582
- }
3583
- ]
3584
- },
3585
- {
3586
- "kind": "javascript-module",
3587
- "path": "src/accordion/index.ts",
3588
- "declarations": [],
3589
- "exports": [
3429
+ },
3590
3430
  {
3591
3431
  "kind": "js",
3592
- "name": "*",
3432
+ "name": "AIIndicatorState",
3593
3433
  "declaration": {
3594
- "name": "*",
3595
- "package": "./accordion.template"
3434
+ "name": "AIIndicatorState",
3435
+ "module": "./ai-indicator"
3596
3436
  }
3597
3437
  },
3598
3438
  {
3599
3439
  "kind": "js",
3600
- "name": "*",
3440
+ "name": "foundationAiIndicatorTemplate",
3601
3441
  "declaration": {
3602
- "name": "*",
3603
- "package": "./accordion.styles"
3442
+ "name": "foundationAiIndicatorTemplate",
3443
+ "module": "./ai-indicator.template"
3604
3444
  }
3605
3445
  },
3606
3446
  {
3607
3447
  "kind": "js",
3608
- "name": "*",
3448
+ "name": "foundationAiIndicatorStyles",
3609
3449
  "declaration": {
3610
- "name": "*",
3611
- "package": "./accordion"
3450
+ "name": "foundationAiIndicatorStyles",
3451
+ "module": "./ai-indicator.styles"
3612
3452
  }
3613
3453
  }
3614
3454
  ]
3615
3455
  },
3616
3456
  {
3617
3457
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3458
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3619
3459
  "declarations": [
3620
3460
  {
3621
- "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3623
- "return": {
3624
- "type": {
3625
- "text": "ElementStyles"
3626
- }
3627
- },
3628
- "parameters": [
3629
- {
3630
- "name": "context",
3631
- "type": {
3632
- "text": "ElementDefinitionContext"
3633
- }
3634
- },
3635
- {
3636
- "name": "definition",
3637
- "type": {
3638
- "text": "FoundationElementDefinition"
3639
- }
3640
- }
3641
- ]
3461
+ "kind": "variable",
3462
+ "name": "foundationAiCriteriaSearchStyles",
3463
+ "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`"
3642
3464
  }
3643
3465
  ],
3644
3466
  "exports": [
3645
3467
  {
3646
3468
  "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3469
+ "name": "foundationAiCriteriaSearchStyles",
3648
3470
  "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3471
+ "name": "foundationAiCriteriaSearchStyles",
3472
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3651
3473
  }
3652
3474
  }
3653
3475
  ]
3654
3476
  },
3655
3477
  {
3656
3478
  "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3479
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3658
3480
  "declarations": [
3659
3481
  {
3660
3482
  "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3483
+ "name": "foundationAiCriteriaSearchTemplate",
3662
3484
  "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3485
+ "text": "ViewTemplate<AiCriteriaSearch>"
3664
3486
  },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3487
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3666
3488
  }
3667
3489
  ],
3668
3490
  "exports": [
3669
3491
  {
3670
3492
  "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3493
+ "name": "foundationAiCriteriaSearchTemplate",
3672
3494
  "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3495
+ "name": "foundationAiCriteriaSearchTemplate",
3496
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3675
3497
  }
3676
3498
  }
3677
3499
  ]
3678
3500
  },
3679
3501
  {
3680
3502
  "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3503
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3682
3504
  "declarations": [
3683
3505
  {
3684
3506
  "kind": "class",
3685
- "description": "",
3686
- "name": "AiIndicator",
3507
+ "description": "Natural-language criteria search input with AI interpretation.",
3508
+ "name": "AiCriteriaSearch",
3687
3509
  "members": [
3688
3510
  {
3689
3511
  "kind": "field",
@@ -3694,25 +3516,54 @@
3694
3516
  },
3695
3517
  {
3696
3518
  "kind": "field",
3697
- "name": "aiProvider",
3519
+ "name": "placeholder",
3698
3520
  "type": {
3699
- "text": "AIProvider | undefined"
3521
+ "text": "string"
3700
3522
  },
3701
- "privacy": "private",
3702
- "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.",
3703
- "readonly": true
3523
+ "default": "'Describe your search criteria in natural language...'"
3704
3524
  },
3705
3525
  {
3706
3526
  "kind": "field",
3707
- "name": "status",
3527
+ "name": "disabled",
3708
3528
  "type": {
3709
- "text": "AIStatus | null"
3529
+ "text": "boolean"
3530
+ }
3531
+ },
3532
+ {
3533
+ "kind": "field",
3534
+ "name": "inputValue",
3535
+ "type": {
3536
+ "text": "string"
3537
+ },
3538
+ "default": "''"
3539
+ },
3540
+ {
3541
+ "kind": "field",
3542
+ "name": "isInterpreting",
3543
+ "type": {
3544
+ "text": "boolean"
3545
+ },
3546
+ "default": "false"
3547
+ },
3548
+ {
3549
+ "kind": "field",
3550
+ "name": "lastValidCriteria",
3551
+ "type": {
3552
+ "text": "string | null"
3710
3553
  },
3711
3554
  "default": "null"
3712
3555
  },
3713
3556
  {
3714
3557
  "kind": "field",
3715
- "name": "open",
3558
+ "name": "activeGroups",
3559
+ "type": {
3560
+ "text": "CriteriaGroup[]"
3561
+ },
3562
+ "default": "[]"
3563
+ },
3564
+ {
3565
+ "kind": "field",
3566
+ "name": "showingChips",
3716
3567
  "type": {
3717
3568
  "text": "boolean"
3718
3569
  },
@@ -3720,15 +3571,15 @@
3720
3571
  },
3721
3572
  {
3722
3573
  "kind": "field",
3723
- "name": "state",
3574
+ "name": "fieldMetadata",
3724
3575
  "type": {
3725
- "text": "AIIndicatorState"
3576
+ "text": "MetadataDetail[] | string[]"
3726
3577
  },
3727
- "default": "'none'"
3578
+ "default": "[]"
3728
3579
  },
3729
3580
  {
3730
3581
  "kind": "field",
3731
- "name": "isInstalling",
3582
+ "name": "isRecording",
3732
3583
  "type": {
3733
3584
  "text": "boolean"
3734
3585
  },
@@ -3736,29 +3587,33 @@
3736
3587
  },
3737
3588
  {
3738
3589
  "kind": "field",
3739
- "name": "pollTimer",
3590
+ "name": "textAreaRef",
3740
3591
  "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3592
+ "text": "HTMLTextAreaElement"
3742
3593
  },
3743
- "privacy": "private",
3744
- "default": "null"
3594
+ "privacy": "public"
3745
3595
  },
3746
3596
  {
3747
3597
  "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3598
+ "name": "stopRecording",
3599
+ "type": {
3600
+ "text": "(() => void) | null"
3601
+ },
3602
+ "privacy": "private",
3603
+ "default": "null"
3750
3604
  },
3751
3605
  {
3752
3606
  "kind": "field",
3753
- "name": "chromeStatusLabel",
3607
+ "name": "speechApplyDebounceTimer",
3754
3608
  "type": {
3755
- "text": "string | null"
3609
+ "text": "ReturnType<typeof setTimeout> | null"
3756
3610
  },
3757
- "readonly": true
3611
+ "privacy": "private",
3612
+ "default": "null"
3758
3613
  },
3759
3614
  {
3760
3615
  "kind": "field",
3761
- "name": "canInstall",
3616
+ "name": "speechAvailable",
3762
3617
  "type": {
3763
3618
  "text": "boolean"
3764
3619
  },
@@ -3766,69 +3621,65 @@
3766
3621
  },
3767
3622
  {
3768
3623
  "kind": "field",
3769
- "name": "isDownloading",
3624
+ "name": "criteriaChips",
3770
3625
  "type": {
3771
- "text": "boolean"
3626
+ "text": "CriteriaChip[]"
3772
3627
  },
3773
3628
  "readonly": true
3774
3629
  },
3775
3630
  {
3776
3631
  "kind": "method",
3777
- "name": "openChanged",
3632
+ "name": "getFieldLabel",
3633
+ "privacy": "private",
3778
3634
  "return": {
3779
3635
  "type": {
3780
- "text": "void"
3636
+ "text": "string"
3781
3637
  }
3782
- }
3783
- },
3784
- {
3785
- "kind": "method",
3786
- "name": "handleClickOutside",
3787
- "privacy": "private",
3638
+ },
3788
3639
  "parameters": [
3789
3640
  {
3790
- "name": "event",
3641
+ "name": "fieldName",
3791
3642
  "type": {
3792
- "text": "MouseEvent"
3643
+ "text": "string"
3793
3644
  }
3794
3645
  }
3795
3646
  ]
3796
3647
  },
3797
3648
  {
3798
3649
  "kind": "method",
3799
- "name": "toggleDropdown"
3800
- },
3801
- {
3802
- "kind": "method",
3803
- "name": "refreshStatus",
3650
+ "name": "toggleCriteriaView",
3804
3651
  "return": {
3805
3652
  "type": {
3806
- "text": "Promise<void>"
3653
+ "text": "void"
3807
3654
  }
3808
3655
  }
3809
3656
  },
3810
3657
  {
3811
3658
  "kind": "method",
3812
- "name": "deriveState",
3813
- "privacy": "private",
3659
+ "name": "removeChip",
3814
3660
  "return": {
3815
3661
  "type": {
3816
- "text": "AIIndicatorState"
3662
+ "text": "void"
3817
3663
  }
3818
3664
  },
3819
3665
  "parameters": [
3820
3666
  {
3821
- "name": "s",
3667
+ "name": "groupIndex",
3822
3668
  "type": {
3823
- "text": "AIStatus | null"
3669
+ "text": "number"
3670
+ }
3671
+ },
3672
+ {
3673
+ "name": "clauseIndex",
3674
+ "type": {
3675
+ "text": "number"
3824
3676
  }
3825
3677
  }
3826
3678
  ]
3827
3679
  },
3828
3680
  {
3829
3681
  "kind": "method",
3830
- "name": "maybeStartPolling",
3831
- "privacy": "private",
3682
+ "name": "clearChips",
3832
3683
  "return": {
3833
3684
  "type": {
3834
3685
  "text": "void"
@@ -3837,32 +3688,24 @@
3837
3688
  },
3838
3689
  {
3839
3690
  "kind": "method",
3840
- "name": "startPolling",
3841
- "privacy": "private",
3842
- "return": {
3843
- "type": {
3844
- "text": "void"
3845
- }
3846
- }
3691
+ "name": "handleSubmit"
3847
3692
  },
3848
3693
  {
3849
3694
  "kind": "method",
3850
- "name": "stopPolling",
3851
- "privacy": "private",
3852
- "return": {
3853
- "type": {
3854
- "text": "void"
3855
- }
3856
- }
3695
+ "name": "handleBlur"
3857
3696
  },
3858
3697
  {
3859
3698
  "kind": "method",
3860
- "name": "onInstall",
3861
- "return": {
3862
- "type": {
3863
- "text": "Promise<void>"
3864
- }
3865
- }
3699
+ "name": "clear"
3700
+ },
3701
+ {
3702
+ "kind": "method",
3703
+ "name": "toggleSpeechInput"
3704
+ },
3705
+ {
3706
+ "kind": "method",
3707
+ "name": "clearSpeechApplyDebounce",
3708
+ "privacy": "private"
3866
3709
  },
3867
3710
  {
3868
3711
  "kind": "field",
@@ -3976,88 +3819,245 @@
3976
3819
  }
3977
3820
  }
3978
3821
  ],
3822
+ "events": [
3823
+ {
3824
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3825
+ "name": "criteria-changed"
3826
+ },
3827
+ {
3828
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3829
+ "name": "validation-errors"
3830
+ }
3831
+ ],
3832
+ "attributes": [
3833
+ {
3834
+ "name": "placeholder",
3835
+ "type": {
3836
+ "text": "string"
3837
+ },
3838
+ "default": "'Describe your search criteria in natural language...'",
3839
+ "fieldName": "placeholder"
3840
+ },
3841
+ {
3842
+ "type": {
3843
+ "text": "boolean"
3844
+ },
3845
+ "fieldName": "disabled"
3846
+ }
3847
+ ],
3979
3848
  "superclass": {
3980
3849
  "name": "FoundationElement",
3981
3850
  "package": "@microsoft/fast-foundation"
3982
3851
  },
3983
- "tagName": "%%prefix%%-ai-indicator",
3852
+ "tagName": "%%prefix%%-ai-criteria-search",
3984
3853
  "customElement": true
3985
3854
  },
3986
3855
  {
3987
3856
  "kind": "variable",
3988
- "name": "foundationAiIndicator"
3857
+ "name": "foundationAiCriteriaSearchShadowOptions",
3858
+ "type": {
3859
+ "text": "ShadowRootInit"
3860
+ },
3861
+ "default": "undefined"
3862
+ },
3863
+ {
3864
+ "kind": "variable",
3865
+ "name": "defaultAiCriteriaSearchConfig",
3866
+ "type": {
3867
+ "text": "object"
3868
+ },
3869
+ "default": "{}"
3870
+ },
3871
+ {
3872
+ "kind": "variable",
3873
+ "name": "foundationAiCriteriaSearch"
3989
3874
  }
3990
3875
  ],
3991
3876
  "exports": [
3992
3877
  {
3993
3878
  "kind": "js",
3994
- "name": "AiIndicator",
3879
+ "name": "AiCriteriaSearch",
3995
3880
  "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
3881
+ "name": "AiCriteriaSearch",
3882
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3998
3883
  }
3999
3884
  },
4000
3885
  {
4001
3886
  "kind": "js",
4002
- "name": "foundationAiIndicator",
3887
+ "name": "foundationAiCriteriaSearchShadowOptions",
4003
3888
  "declaration": {
4004
- "name": "foundationAiIndicator",
4005
- "module": "src/ai-indicator/ai-indicator.ts"
3889
+ "name": "foundationAiCriteriaSearchShadowOptions",
3890
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "js",
3895
+ "name": "defaultAiCriteriaSearchConfig",
3896
+ "declaration": {
3897
+ "name": "defaultAiCriteriaSearchConfig",
3898
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3899
+ }
3900
+ },
3901
+ {
3902
+ "kind": "js",
3903
+ "name": "foundationAiCriteriaSearch",
3904
+ "declaration": {
3905
+ "name": "foundationAiCriteriaSearch",
3906
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
4006
3907
  }
4007
3908
  }
4008
3909
  ]
4009
3910
  },
4010
3911
  {
4011
3912
  "kind": "javascript-module",
4012
- "path": "src/ai-indicator/index.ts",
3913
+ "path": "src/ai-criteria-search/index.ts",
4013
3914
  "declarations": [],
4014
3915
  "exports": [
4015
3916
  {
4016
3917
  "kind": "js",
4017
- "name": "AiIndicator",
3918
+ "name": "AiCriteriaSearch",
4018
3919
  "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
3920
+ "name": "AiCriteriaSearch",
3921
+ "module": "./ai-criteria-search"
4021
3922
  }
4022
3923
  },
4023
3924
  {
4024
3925
  "kind": "js",
4025
- "name": "foundationAiIndicator",
3926
+ "name": "defaultAiCriteriaSearchConfig",
4026
3927
  "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
3928
+ "name": "defaultAiCriteriaSearchConfig",
3929
+ "module": "./ai-criteria-search"
4029
3930
  }
4030
3931
  },
4031
3932
  {
4032
3933
  "kind": "js",
4033
- "name": "type",
3934
+ "name": "foundationAiCriteriaSearch",
4034
3935
  "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
3936
+ "name": "foundationAiCriteriaSearch",
3937
+ "module": "./ai-criteria-search"
4037
3938
  }
4038
3939
  },
4039
3940
  {
4040
3941
  "kind": "js",
4041
- "name": "AIIndicatorState",
3942
+ "name": "foundationAiCriteriaSearchShadowOptions",
4042
3943
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
3944
+ "name": "foundationAiCriteriaSearchShadowOptions",
3945
+ "module": "./ai-criteria-search"
4045
3946
  }
4046
3947
  },
4047
3948
  {
4048
3949
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
3950
+ "name": "foundationAiCriteriaSearchStyles",
4050
3951
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
3952
+ "name": "foundationAiCriteriaSearchStyles",
3953
+ "module": "./ai-criteria-search.styles"
4053
3954
  }
4054
3955
  },
4055
3956
  {
4056
3957
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
3958
+ "name": "foundationAiCriteriaSearchTemplate",
4058
3959
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
3960
+ "name": "foundationAiCriteriaSearchTemplate",
3961
+ "module": "./ai-criteria-search.template"
3962
+ }
3963
+ },
3964
+ {
3965
+ "kind": "js",
3966
+ "name": "*",
3967
+ "declaration": {
3968
+ "name": "*",
3969
+ "package": "./validation/criteria-ir"
3970
+ }
3971
+ },
3972
+ {
3973
+ "kind": "js",
3974
+ "name": "*",
3975
+ "declaration": {
3976
+ "name": "*",
3977
+ "package": "./validation/operator-map"
3978
+ }
3979
+ },
3980
+ {
3981
+ "kind": "js",
3982
+ "name": "*",
3983
+ "declaration": {
3984
+ "name": "*",
3985
+ "package": "./validation/schema-validator"
3986
+ }
3987
+ }
3988
+ ]
3989
+ },
3990
+ {
3991
+ "kind": "javascript-module",
3992
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3993
+ "declarations": [
3994
+ {
3995
+ "kind": "function",
3996
+ "name": "formatValidationErrors",
3997
+ "return": {
3998
+ "type": {
3999
+ "text": "string"
4000
+ }
4001
+ },
4002
+ "parameters": [
4003
+ {
4004
+ "name": "errors",
4005
+ "type": {
4006
+ "text": "ValidationError[]"
4007
+ }
4008
+ }
4009
+ ],
4010
+ "description": "Formats validation errors into a user-friendly message."
4011
+ },
4012
+ {
4013
+ "kind": "function",
4014
+ "name": "showCriteriaError",
4015
+ "return": {
4016
+ "type": {
4017
+ "text": "void"
4018
+ }
4019
+ },
4020
+ "parameters": [
4021
+ {
4022
+ "name": "title",
4023
+ "type": {
4024
+ "text": "string"
4025
+ },
4026
+ "description": "Notification title (e.g. \"Criteria validation error\")"
4027
+ },
4028
+ {
4029
+ "name": "body",
4030
+ "type": {
4031
+ "text": "string"
4032
+ },
4033
+ "description": "Error message to display"
4034
+ },
4035
+ {
4036
+ "name": "tagName",
4037
+ "type": {
4038
+ "text": "string"
4039
+ },
4040
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
4041
+ }
4042
+ ],
4043
+ "description": "Shows a criteria error as a toast notification."
4044
+ }
4045
+ ],
4046
+ "exports": [
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "formatValidationErrors",
4050
+ "declaration": {
4051
+ "name": "formatValidationErrors",
4052
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "showCriteriaError",
4058
+ "declaration": {
4059
+ "name": "showCriteriaError",
4060
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -59158,25 +59158,6 @@
59158
59158
  }
59159
59159
  ]
59160
59160
  },
59161
- {
59162
- "kind": "function",
59163
- "name": "resolveByValueCriteriaBuilder",
59164
- "parameters": [
59165
- {
59166
- "name": "datasource",
59167
- "type": {
59168
- "text": "OptionsDatasource | MultiselectDatasource"
59169
- }
59170
- },
59171
- {
59172
- "name": "value",
59173
- "type": {
59174
- "text": "string | number"
59175
- }
59176
- }
59177
- ],
59178
- "description": "Resolves a known field value (e.g. a bound `initialSelectedValue`) by exact match on\n`valueField`, as opposed to dataserverCriteriaBuilder, which treats `value` as\ntyped search text and matches it against `labelField`. Using the label-based search to\nresolve an initial value only works by coincidence: an id like `\"CP123\"` will not be found\nby searching a `NAME`/label column for that same string."
59179
- },
59180
59161
  {
59181
59162
  "kind": "function",
59182
59163
  "name": "requestServerCriteriaBuilder",
@@ -59205,14 +59186,6 @@
59205
59186
  "module": "src/utils/options-datasource-utils.ts"
59206
59187
  }
59207
59188
  },
59208
- {
59209
- "kind": "js",
59210
- "name": "resolveByValueCriteriaBuilder",
59211
- "declaration": {
59212
- "name": "resolveByValueCriteriaBuilder",
59213
- "module": "src/utils/options-datasource-utils.ts"
59214
- }
59215
- },
59216
59189
  {
59217
59190
  "kind": "js",
59218
59191
  "name": "requestServerCriteriaBuilder",