@genesislcap/foundation-ui 15.51.1 → 15.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1184 -1184
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -1526,11 +1526,34 @@
|
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
1528
|
"kind": "javascript-module",
|
|
1529
|
-
"path": "src/
|
|
1529
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1530
1530
|
"declarations": [
|
|
1531
1531
|
{
|
|
1532
1532
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
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",
|
|
1534
1557
|
"return": {
|
|
1535
1558
|
"type": {
|
|
1536
1559
|
"text": "ElementStyles"
|
|
@@ -1555,221 +1578,346 @@
|
|
|
1555
1578
|
"exports": [
|
|
1556
1579
|
{
|
|
1557
1580
|
"kind": "js",
|
|
1558
|
-
"name": "
|
|
1581
|
+
"name": "actionsMenuBaseStyles",
|
|
1559
1582
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1583
|
+
"name": "actionsMenuBaseStyles",
|
|
1584
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "js",
|
|
1589
|
+
"name": "foundationActionsMenuStyles",
|
|
1590
|
+
"declaration": {
|
|
1591
|
+
"name": "foundationActionsMenuStyles",
|
|
1592
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1562
1593
|
}
|
|
1563
1594
|
}
|
|
1564
1595
|
]
|
|
1565
1596
|
},
|
|
1566
1597
|
{
|
|
1567
1598
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1599
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1569
1600
|
"declarations": [
|
|
1570
1601
|
{
|
|
1571
1602
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1573
|
-
"return": {
|
|
1574
|
-
"type": {
|
|
1575
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1603
|
+
"name": "menuTemplate",
|
|
1578
1604
|
"parameters": [
|
|
1579
1605
|
{
|
|
1580
|
-
"name": "
|
|
1606
|
+
"name": "prefix",
|
|
1581
1607
|
"type": {
|
|
1582
|
-
"text": "
|
|
1608
|
+
"text": "string"
|
|
1583
1609
|
}
|
|
1584
|
-
}
|
|
1610
|
+
}
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "function",
|
|
1615
|
+
"name": "singleOptionTemplate",
|
|
1616
|
+
"parameters": [
|
|
1585
1617
|
{
|
|
1586
|
-
"name": "
|
|
1618
|
+
"name": "prefix",
|
|
1587
1619
|
"type": {
|
|
1588
|
-
"text": "
|
|
1620
|
+
"text": "string"
|
|
1589
1621
|
}
|
|
1590
1622
|
}
|
|
1591
1623
|
]
|
|
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`"
|
|
1592
1632
|
}
|
|
1593
1633
|
],
|
|
1594
1634
|
"exports": [
|
|
1595
1635
|
{
|
|
1596
1636
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1637
|
+
"name": "menuTemplate",
|
|
1598
1638
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/
|
|
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",
|
|
1654
|
+
"declaration": {
|
|
1655
|
+
"name": "foundationActionsMenuTemplate",
|
|
1656
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1601
1657
|
}
|
|
1602
1658
|
}
|
|
1603
1659
|
]
|
|
1604
1660
|
},
|
|
1605
1661
|
{
|
|
1606
1662
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/
|
|
1663
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1608
1664
|
"declarations": [
|
|
1609
1665
|
{
|
|
1610
1666
|
"kind": "class",
|
|
1611
1667
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1613
|
-
"
|
|
1614
|
-
"name": "FASTAccordionItem",
|
|
1615
|
-
"package": "@microsoft/fast-components"
|
|
1616
|
-
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
-
"customElement": true,
|
|
1619
|
-
"attributes": [
|
|
1668
|
+
"name": "ActionsMenu",
|
|
1669
|
+
"members": [
|
|
1620
1670
|
{
|
|
1621
|
-
"
|
|
1671
|
+
"kind": "field",
|
|
1672
|
+
"name": "actions",
|
|
1622
1673
|
"type": {
|
|
1623
|
-
"text": "
|
|
1624
|
-
},
|
|
1625
|
-
"default": "2",
|
|
1626
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
-
"fieldName": "headinglevel",
|
|
1628
|
-
"inheritedFrom": {
|
|
1629
|
-
"name": "AccordionItem",
|
|
1630
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1674
|
+
"text": "ActionMenuItem[]"
|
|
1631
1675
|
}
|
|
1632
1676
|
},
|
|
1633
1677
|
{
|
|
1678
|
+
"kind": "field",
|
|
1679
|
+
"name": "isVertical",
|
|
1634
1680
|
"type": {
|
|
1635
1681
|
"text": "boolean"
|
|
1636
1682
|
},
|
|
1637
|
-
"default": "false"
|
|
1638
|
-
"description": "Expands or collapses the item.",
|
|
1639
|
-
"fieldName": "expanded",
|
|
1640
|
-
"inheritedFrom": {
|
|
1641
|
-
"name": "AccordionItem",
|
|
1642
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
-
}
|
|
1683
|
+
"default": "false"
|
|
1644
1684
|
},
|
|
1645
1685
|
{
|
|
1646
|
-
"
|
|
1686
|
+
"kind": "field",
|
|
1687
|
+
"name": "addDefaultActions",
|
|
1647
1688
|
"type": {
|
|
1648
|
-
"text": "
|
|
1689
|
+
"text": "boolean"
|
|
1649
1690
|
},
|
|
1650
|
-
"
|
|
1651
|
-
|
|
1652
|
-
"inheritedFrom": {
|
|
1653
|
-
"name": "AccordionItem",
|
|
1654
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
],
|
|
1658
|
-
"members": [
|
|
1691
|
+
"default": "true"
|
|
1692
|
+
},
|
|
1659
1693
|
{
|
|
1660
1694
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1695
|
+
"name": "autoCloseOnAction",
|
|
1662
1696
|
"type": {
|
|
1663
|
-
"text": "
|
|
1697
|
+
"text": "boolean"
|
|
1664
1698
|
},
|
|
1665
|
-
"
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
"
|
|
1669
|
-
|
|
1670
|
-
|
|
1699
|
+
"default": "true"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"kind": "field",
|
|
1703
|
+
"name": "classNames",
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "string"
|
|
1671
1706
|
}
|
|
1672
1707
|
},
|
|
1673
1708
|
{
|
|
1674
1709
|
"kind": "field",
|
|
1675
|
-
"name": "
|
|
1710
|
+
"name": "definition",
|
|
1676
1711
|
"type": {
|
|
1677
|
-
"text": "
|
|
1678
|
-
},
|
|
1679
|
-
"privacy": "public",
|
|
1680
|
-
"default": "false",
|
|
1681
|
-
"description": "Expands or collapses the item.",
|
|
1682
|
-
"inheritedFrom": {
|
|
1683
|
-
"name": "AccordionItem",
|
|
1684
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1712
|
+
"text": "any"
|
|
1685
1713
|
}
|
|
1686
1714
|
},
|
|
1687
1715
|
{
|
|
1688
1716
|
"kind": "field",
|
|
1689
|
-
"name": "
|
|
1717
|
+
"name": "name",
|
|
1690
1718
|
"type": {
|
|
1691
1719
|
"text": "string"
|
|
1692
1720
|
},
|
|
1693
|
-
"
|
|
1694
|
-
"description": "The item ID",
|
|
1695
|
-
"inheritedFrom": {
|
|
1696
|
-
"name": "AccordionItem",
|
|
1697
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1698
|
-
}
|
|
1721
|
+
"default": "'Actions'"
|
|
1699
1722
|
},
|
|
1700
1723
|
{
|
|
1701
1724
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1703
|
-
"
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}
|
|
1725
|
+
"name": "open",
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "boolean"
|
|
1728
|
+
},
|
|
1729
|
+
"default": "false"
|
|
1708
1730
|
},
|
|
1709
1731
|
{
|
|
1710
1732
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1733
|
+
"name": "buttonAppearance",
|
|
1712
1734
|
"type": {
|
|
1713
|
-
"text": "
|
|
1714
|
-
},
|
|
1715
|
-
"privacy": "private",
|
|
1716
|
-
"default": "void 0",
|
|
1717
|
-
"inheritedFrom": {
|
|
1718
|
-
"name": "FoundationElement",
|
|
1719
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1735
|
+
"text": "string"
|
|
1720
1736
|
}
|
|
1721
1737
|
},
|
|
1722
1738
|
{
|
|
1723
1739
|
"kind": "field",
|
|
1724
|
-
"name": "
|
|
1740
|
+
"name": "hideDisabled",
|
|
1725
1741
|
"type": {
|
|
1726
|
-
"text": "
|
|
1742
|
+
"text": "boolean"
|
|
1727
1743
|
},
|
|
1728
|
-
"
|
|
1729
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
|
-
"inheritedFrom": {
|
|
1731
|
-
"name": "FoundationElement",
|
|
1732
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1733
|
-
}
|
|
1744
|
+
"default": "false"
|
|
1734
1745
|
},
|
|
1735
1746
|
{
|
|
1736
1747
|
"kind": "field",
|
|
1737
|
-
"name": "
|
|
1748
|
+
"name": "hideMenuSingleOption",
|
|
1738
1749
|
"type": {
|
|
1739
|
-
"text": "
|
|
1750
|
+
"text": "boolean"
|
|
1740
1751
|
},
|
|
1741
|
-
"
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1752
|
+
"default": "false"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "singleOption",
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "ActionMenuItem"
|
|
1746
1759
|
}
|
|
1747
1760
|
},
|
|
1748
1761
|
{
|
|
1749
|
-
"kind": "
|
|
1750
|
-
"name": "
|
|
1751
|
-
"
|
|
1752
|
-
|
|
1753
|
-
"type": {
|
|
1754
|
-
"text": "void"
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
"inheritedFrom": {
|
|
1758
|
-
"name": "FoundationElement",
|
|
1759
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1762
|
+
"kind": "field",
|
|
1763
|
+
"name": "actionsMenu",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "HTMLElement"
|
|
1760
1766
|
}
|
|
1761
1767
|
},
|
|
1762
1768
|
{
|
|
1763
1769
|
"kind": "field",
|
|
1764
|
-
"name": "
|
|
1770
|
+
"name": "actionsOpener",
|
|
1765
1771
|
"type": {
|
|
1766
|
-
"text": "
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
"
|
|
1771
|
-
|
|
1772
|
-
|
|
1772
|
+
"text": "HTMLElement"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"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
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
]
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"kind": "method",
|
|
1801
|
+
"name": "openChanged",
|
|
1802
|
+
"privacy": "protected"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"kind": "method",
|
|
1806
|
+
"name": "toggleActionsMenuVisibility"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "method",
|
|
1810
|
+
"name": "onActionMenuItemClick",
|
|
1811
|
+
"parameters": [
|
|
1812
|
+
{
|
|
1813
|
+
"name": "callback",
|
|
1814
|
+
"type": {
|
|
1815
|
+
"text": "(rowData) => void | any"
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"kind": "field",
|
|
1822
|
+
"name": "allActions",
|
|
1823
|
+
"type": {
|
|
1824
|
+
"text": "ActionMenuItem[]"
|
|
1825
|
+
},
|
|
1826
|
+
"readonly": true
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"kind": "field",
|
|
1830
|
+
"name": "rowData",
|
|
1831
|
+
"readonly": true
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"kind": "method",
|
|
1835
|
+
"name": "getLabel",
|
|
1836
|
+
"parameters": [
|
|
1837
|
+
{
|
|
1838
|
+
"name": "name",
|
|
1839
|
+
"type": {
|
|
1840
|
+
"text": "string | ((rowData: any) => string)"
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"kind": "method",
|
|
1847
|
+
"name": "getTemplate",
|
|
1848
|
+
"parameters": [
|
|
1849
|
+
{
|
|
1850
|
+
"name": "prefix",
|
|
1851
|
+
"type": {
|
|
1852
|
+
"text": "string"
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"kind": "field",
|
|
1859
|
+
"name": "_presentation",
|
|
1860
|
+
"type": {
|
|
1861
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1862
|
+
},
|
|
1863
|
+
"privacy": "private",
|
|
1864
|
+
"default": "void 0",
|
|
1865
|
+
"inheritedFrom": {
|
|
1866
|
+
"name": "FoundationElement",
|
|
1867
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1868
|
+
}
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"kind": "field",
|
|
1872
|
+
"name": "$presentation",
|
|
1873
|
+
"type": {
|
|
1874
|
+
"text": "ComponentPresentation | null"
|
|
1875
|
+
},
|
|
1876
|
+
"privacy": "public",
|
|
1877
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1878
|
+
"inheritedFrom": {
|
|
1879
|
+
"name": "FoundationElement",
|
|
1880
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "field",
|
|
1885
|
+
"name": "template",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "ElementViewTemplate | void | null"
|
|
1888
|
+
},
|
|
1889
|
+
"privacy": "public",
|
|
1890
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1891
|
+
"inheritedFrom": {
|
|
1892
|
+
"name": "FoundationElement",
|
|
1893
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"kind": "method",
|
|
1898
|
+
"name": "templateChanged",
|
|
1899
|
+
"privacy": "protected",
|
|
1900
|
+
"return": {
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "void"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
"inheritedFrom": {
|
|
1906
|
+
"name": "FoundationElement",
|
|
1907
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"kind": "field",
|
|
1912
|
+
"name": "styles",
|
|
1913
|
+
"type": {
|
|
1914
|
+
"text": "ElementStyles | void | null"
|
|
1915
|
+
},
|
|
1916
|
+
"privacy": "public",
|
|
1917
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1918
|
+
"inheritedFrom": {
|
|
1919
|
+
"name": "FoundationElement",
|
|
1920
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1773
1921
|
}
|
|
1774
1922
|
},
|
|
1775
1923
|
{
|
|
@@ -1818,78 +1966,107 @@
|
|
|
1818
1966
|
}
|
|
1819
1967
|
}
|
|
1820
1968
|
],
|
|
1821
|
-
"
|
|
1969
|
+
"attributes": [
|
|
1822
1970
|
{
|
|
1823
|
-
"
|
|
1824
|
-
"
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
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
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"name": "hide-menu-single-option",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "boolean"
|
|
2029
|
+
},
|
|
2030
|
+
"default": "false",
|
|
2031
|
+
"fieldName": "hideMenuSingleOption"
|
|
1829
2032
|
}
|
|
1830
|
-
]
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
-
"type": {
|
|
1836
|
-
"text": "ShadowRootInit"
|
|
1837
|
-
},
|
|
1838
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
"kind": "variable",
|
|
1842
|
-
"name": "defaultAccordionItemConfig",
|
|
1843
|
-
"type": {
|
|
1844
|
-
"text": "object"
|
|
2033
|
+
],
|
|
2034
|
+
"superclass": {
|
|
2035
|
+
"name": "FoundationElement",
|
|
2036
|
+
"package": "@microsoft/fast-foundation"
|
|
1845
2037
|
},
|
|
1846
|
-
"
|
|
2038
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2039
|
+
"customElement": true
|
|
1847
2040
|
},
|
|
1848
2041
|
{
|
|
1849
2042
|
"kind": "variable",
|
|
1850
|
-
"name": "
|
|
1851
|
-
"description": "The Foundation
|
|
2043
|
+
"name": "foundationActionsMenu",
|
|
2044
|
+
"description": "The Foundation Actions Menu",
|
|
1852
2045
|
"privacy": "public"
|
|
1853
2046
|
}
|
|
1854
2047
|
],
|
|
1855
2048
|
"exports": [
|
|
1856
2049
|
{
|
|
1857
2050
|
"kind": "js",
|
|
1858
|
-
"name": "
|
|
1859
|
-
"declaration": {
|
|
1860
|
-
"name": "AccordionItem",
|
|
1861
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1862
|
-
}
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"kind": "js",
|
|
1866
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1867
|
-
"declaration": {
|
|
1868
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "js",
|
|
1874
|
-
"name": "defaultAccordionItemConfig",
|
|
2051
|
+
"name": "ActionsMenu",
|
|
1875
2052
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"module": "src/
|
|
2053
|
+
"name": "ActionsMenu",
|
|
2054
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1878
2055
|
}
|
|
1879
2056
|
},
|
|
1880
2057
|
{
|
|
1881
2058
|
"kind": "js",
|
|
1882
|
-
"name": "
|
|
2059
|
+
"name": "foundationActionsMenu",
|
|
1883
2060
|
"declaration": {
|
|
1884
|
-
"name": "
|
|
1885
|
-
"module": "src/
|
|
2061
|
+
"name": "foundationActionsMenu",
|
|
2062
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1886
2063
|
}
|
|
1887
2064
|
}
|
|
1888
2065
|
]
|
|
1889
2066
|
},
|
|
1890
2067
|
{
|
|
1891
2068
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
2069
|
+
"path": "src/actions-menu/index.ts",
|
|
1893
2070
|
"declarations": [],
|
|
1894
2071
|
"exports": [
|
|
1895
2072
|
{
|
|
@@ -1897,57 +2074,34 @@
|
|
|
1897
2074
|
"name": "*",
|
|
1898
2075
|
"declaration": {
|
|
1899
2076
|
"name": "*",
|
|
1900
|
-
"package": "./
|
|
1901
|
-
}
|
|
1902
|
-
},
|
|
1903
|
-
{
|
|
1904
|
-
"kind": "js",
|
|
1905
|
-
"name": "*",
|
|
1906
|
-
"declaration": {
|
|
1907
|
-
"name": "*",
|
|
1908
|
-
"package": "./
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
"kind": "js",
|
|
1913
|
-
"name": "*",
|
|
1914
|
-
"declaration": {
|
|
1915
|
-
"name": "*",
|
|
1916
|
-
"package": "./accordion-item"
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
]
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1924
|
-
"declarations": [
|
|
1925
|
-
{
|
|
1926
|
-
"kind": "function",
|
|
1927
|
-
"name": "actionsMenuBaseStyles",
|
|
1928
|
-
"return": {
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
2077
|
+
"package": "./actions-menu.styles"
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"kind": "js",
|
|
2082
|
+
"name": "*",
|
|
2083
|
+
"declaration": {
|
|
2084
|
+
"name": "*",
|
|
2085
|
+
"package": "./actions-menu.template"
|
|
2086
|
+
}
|
|
1947
2087
|
},
|
|
2088
|
+
{
|
|
2089
|
+
"kind": "js",
|
|
2090
|
+
"name": "*",
|
|
2091
|
+
"declaration": {
|
|
2092
|
+
"name": "*",
|
|
2093
|
+
"package": "./actions-menu"
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
]
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"kind": "javascript-module",
|
|
2100
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2101
|
+
"declarations": [
|
|
1948
2102
|
{
|
|
1949
2103
|
"kind": "function",
|
|
1950
|
-
"name": "
|
|
2104
|
+
"name": "foundationAccordionItemStyles",
|
|
1951
2105
|
"return": {
|
|
1952
2106
|
"type": {
|
|
1953
2107
|
"text": "ElementStyles"
|
|
@@ -1972,281 +2126,156 @@
|
|
|
1972
2126
|
"exports": [
|
|
1973
2127
|
{
|
|
1974
2128
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
2129
|
+
"name": "foundationAccordionItemStyles",
|
|
1984
2130
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2131
|
+
"name": "foundationAccordionItemStyles",
|
|
2132
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1987
2133
|
}
|
|
1988
2134
|
}
|
|
1989
2135
|
]
|
|
1990
2136
|
},
|
|
1991
2137
|
{
|
|
1992
2138
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
2139
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1994
2140
|
"declarations": [
|
|
1995
2141
|
{
|
|
1996
2142
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
2143
|
+
"name": "foundationAccordionItemTemplate",
|
|
2144
|
+
"return": {
|
|
2145
|
+
"type": {
|
|
2146
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
1998
2149
|
"parameters": [
|
|
1999
2150
|
{
|
|
2000
|
-
"name": "
|
|
2151
|
+
"name": "context",
|
|
2001
2152
|
"type": {
|
|
2002
|
-
"text": "
|
|
2153
|
+
"text": "ElementDefinitionContext"
|
|
2003
2154
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2155
|
+
},
|
|
2011
2156
|
{
|
|
2012
|
-
"name": "
|
|
2157
|
+
"name": "definition",
|
|
2013
2158
|
"type": {
|
|
2014
|
-
"text": "
|
|
2159
|
+
"text": "FoundationElementDefinition"
|
|
2015
2160
|
}
|
|
2016
2161
|
}
|
|
2017
2162
|
]
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "variable",
|
|
2021
|
-
"name": "foundationActionsMenuTemplate",
|
|
2022
|
-
"type": {
|
|
2023
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
-
},
|
|
2025
|
-
"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`"
|
|
2026
2163
|
}
|
|
2027
2164
|
],
|
|
2028
2165
|
"exports": [
|
|
2029
2166
|
{
|
|
2030
2167
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "menuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "js",
|
|
2039
|
-
"name": "singleOptionTemplate",
|
|
2040
|
-
"declaration": {
|
|
2041
|
-
"name": "singleOptionTemplate",
|
|
2042
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
-
}
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "js",
|
|
2047
|
-
"name": "foundationActionsMenuTemplate",
|
|
2168
|
+
"name": "foundationAccordionItemTemplate",
|
|
2048
2169
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
2170
|
+
"name": "foundationAccordionItemTemplate",
|
|
2171
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2051
2172
|
}
|
|
2052
2173
|
}
|
|
2053
2174
|
]
|
|
2054
2175
|
},
|
|
2055
2176
|
{
|
|
2056
2177
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2178
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2058
2179
|
"declarations": [
|
|
2059
2180
|
{
|
|
2060
2181
|
"kind": "class",
|
|
2061
2182
|
"description": "",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "field",
|
|
2073
|
-
"name": "isVertical",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "boolean"
|
|
2076
|
-
},
|
|
2077
|
-
"default": "false"
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
"kind": "field",
|
|
2081
|
-
"name": "addDefaultActions",
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "boolean"
|
|
2084
|
-
},
|
|
2085
|
-
"default": "true"
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "autoCloseOnAction",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "boolean"
|
|
2092
|
-
},
|
|
2093
|
-
"default": "true"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "field",
|
|
2097
|
-
"name": "classNames",
|
|
2098
|
-
"type": {
|
|
2099
|
-
"text": "string"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "definition",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "any"
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
"kind": "field",
|
|
2111
|
-
"name": "name",
|
|
2112
|
-
"type": {
|
|
2113
|
-
"text": "string"
|
|
2114
|
-
},
|
|
2115
|
-
"default": "'Actions'"
|
|
2116
|
-
},
|
|
2183
|
+
"name": "AccordionItem",
|
|
2184
|
+
"superclass": {
|
|
2185
|
+
"name": "FASTAccordionItem",
|
|
2186
|
+
"package": "@microsoft/fast-components"
|
|
2187
|
+
},
|
|
2188
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2189
|
+
"customElement": true,
|
|
2190
|
+
"attributes": [
|
|
2117
2191
|
{
|
|
2118
|
-
"
|
|
2119
|
-
"name": "open",
|
|
2192
|
+
"name": "heading-level",
|
|
2120
2193
|
"type": {
|
|
2121
|
-
"text": "
|
|
2194
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2122
2195
|
},
|
|
2123
|
-
"default": "
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
"
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
"text": "string"
|
|
2196
|
+
"default": "2",
|
|
2197
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2198
|
+
"fieldName": "headinglevel",
|
|
2199
|
+
"inheritedFrom": {
|
|
2200
|
+
"name": "AccordionItem",
|
|
2201
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
2202
|
}
|
|
2131
2203
|
},
|
|
2132
2204
|
{
|
|
2133
|
-
"kind": "field",
|
|
2134
|
-
"name": "hideDisabled",
|
|
2135
|
-
"type": {
|
|
2136
|
-
"text": "boolean"
|
|
2137
|
-
},
|
|
2138
|
-
"default": "false"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "field",
|
|
2142
|
-
"name": "hideMenuSingleOption",
|
|
2143
2205
|
"type": {
|
|
2144
2206
|
"text": "boolean"
|
|
2145
2207
|
},
|
|
2146
|
-
"default": "false"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
}
|
|
2154
|
-
},
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "field",
|
|
2157
|
-
"name": "actionsMenu",
|
|
2158
|
-
"type": {
|
|
2159
|
-
"text": "HTMLElement"
|
|
2160
|
-
}
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"kind": "field",
|
|
2164
|
-
"name": "actionsOpener",
|
|
2165
|
-
"type": {
|
|
2166
|
-
"text": "HTMLElement"
|
|
2167
|
-
}
|
|
2168
|
-
},
|
|
2169
|
-
{
|
|
2170
|
-
"kind": "method",
|
|
2171
|
-
"name": "updateMenuPosition",
|
|
2172
|
-
"privacy": "private"
|
|
2173
|
-
},
|
|
2174
|
-
{
|
|
2175
|
-
"kind": "method",
|
|
2176
|
-
"name": "definitionChanged",
|
|
2177
|
-
"privacy": "protected",
|
|
2178
|
-
"parameters": [
|
|
2179
|
-
{
|
|
2180
|
-
"name": "oldValue",
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "any"
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "newValue",
|
|
2187
|
-
"type": {
|
|
2188
|
-
"text": "any"
|
|
2189
|
-
}
|
|
2190
|
-
}
|
|
2191
|
-
]
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "method",
|
|
2195
|
-
"name": "openChanged",
|
|
2196
|
-
"privacy": "protected"
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
"kind": "method",
|
|
2200
|
-
"name": "toggleActionsMenuVisibility"
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"kind": "method",
|
|
2204
|
-
"name": "onActionMenuItemClick",
|
|
2205
|
-
"parameters": [
|
|
2206
|
-
{
|
|
2207
|
-
"name": "callback",
|
|
2208
|
-
"type": {
|
|
2209
|
-
"text": "(rowData) => void | any"
|
|
2210
|
-
}
|
|
2211
|
-
}
|
|
2212
|
-
]
|
|
2208
|
+
"default": "false",
|
|
2209
|
+
"description": "Expands or collapses the item.",
|
|
2210
|
+
"fieldName": "expanded",
|
|
2211
|
+
"inheritedFrom": {
|
|
2212
|
+
"name": "AccordionItem",
|
|
2213
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2214
|
+
}
|
|
2213
2215
|
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "id",
|
|
2218
|
+
"type": {
|
|
2219
|
+
"text": "string"
|
|
2220
|
+
},
|
|
2221
|
+
"description": "The item ID",
|
|
2222
|
+
"fieldName": "id",
|
|
2223
|
+
"inheritedFrom": {
|
|
2224
|
+
"name": "AccordionItem",
|
|
2225
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"members": [
|
|
2214
2230
|
{
|
|
2215
2231
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2232
|
+
"name": "headinglevel",
|
|
2217
2233
|
"type": {
|
|
2218
|
-
"text": "
|
|
2234
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2219
2235
|
},
|
|
2220
|
-
"
|
|
2236
|
+
"privacy": "public",
|
|
2237
|
+
"default": "2",
|
|
2238
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2239
|
+
"inheritedFrom": {
|
|
2240
|
+
"name": "AccordionItem",
|
|
2241
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2242
|
+
}
|
|
2221
2243
|
},
|
|
2222
2244
|
{
|
|
2223
2245
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2246
|
+
"name": "expanded",
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "boolean"
|
|
2249
|
+
},
|
|
2250
|
+
"privacy": "public",
|
|
2251
|
+
"default": "false",
|
|
2252
|
+
"description": "Expands or collapses the item.",
|
|
2253
|
+
"inheritedFrom": {
|
|
2254
|
+
"name": "AccordionItem",
|
|
2255
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2256
|
+
}
|
|
2226
2257
|
},
|
|
2227
2258
|
{
|
|
2228
|
-
"kind": "
|
|
2229
|
-
"name": "
|
|
2230
|
-
"
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2259
|
+
"kind": "field",
|
|
2260
|
+
"name": "id",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "string"
|
|
2263
|
+
},
|
|
2264
|
+
"privacy": "public",
|
|
2265
|
+
"description": "The item ID",
|
|
2266
|
+
"inheritedFrom": {
|
|
2267
|
+
"name": "AccordionItem",
|
|
2268
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2269
|
+
}
|
|
2238
2270
|
},
|
|
2239
2271
|
{
|
|
2240
|
-
"kind": "
|
|
2241
|
-
"name": "
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
]
|
|
2272
|
+
"kind": "field",
|
|
2273
|
+
"name": "change",
|
|
2274
|
+
"privacy": "private",
|
|
2275
|
+
"inheritedFrom": {
|
|
2276
|
+
"name": "AccordionItem",
|
|
2277
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2278
|
+
}
|
|
2250
2279
|
},
|
|
2251
2280
|
{
|
|
2252
2281
|
"kind": "field",
|
|
@@ -2360,107 +2389,78 @@
|
|
|
2360
2389
|
}
|
|
2361
2390
|
}
|
|
2362
2391
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
2365
|
-
"name": "is-vertical",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"default": "false",
|
|
2370
|
-
"fieldName": "isVertical"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "add-default-actions",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "boolean"
|
|
2376
|
-
},
|
|
2377
|
-
"default": "true",
|
|
2378
|
-
"fieldName": "addDefaultActions"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "auto-close-on-action",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "true",
|
|
2386
|
-
"fieldName": "autoCloseOnAction"
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "name",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "'Actions'",
|
|
2394
|
-
"fieldName": "name"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "open",
|
|
2398
|
-
"type": {
|
|
2399
|
-
"text": "boolean"
|
|
2400
|
-
},
|
|
2401
|
-
"default": "false",
|
|
2402
|
-
"fieldName": "open"
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "buttonAppearance",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "string"
|
|
2408
|
-
},
|
|
2409
|
-
"fieldName": "buttonAppearance"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "hide-disabled",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "boolean"
|
|
2415
|
-
},
|
|
2416
|
-
"default": "false",
|
|
2417
|
-
"fieldName": "hideDisabled"
|
|
2418
|
-
},
|
|
2392
|
+
"events": [
|
|
2419
2393
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2394
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2395
|
+
"name": "change",
|
|
2396
|
+
"inheritedFrom": {
|
|
2397
|
+
"name": "AccordionItem",
|
|
2398
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2399
|
+
}
|
|
2426
2400
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2401
|
+
]
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "variable",
|
|
2405
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "ShadowRootInit"
|
|
2431
2408
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2409
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2410
|
},
|
|
2435
2411
|
{
|
|
2436
2412
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2413
|
+
"name": "defaultAccordionItemConfig",
|
|
2414
|
+
"type": {
|
|
2415
|
+
"text": "object"
|
|
2416
|
+
},
|
|
2417
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"kind": "variable",
|
|
2421
|
+
"name": "foundationAccordionItem",
|
|
2422
|
+
"description": "The Foundation Accordion Item",
|
|
2439
2423
|
"privacy": "public"
|
|
2440
2424
|
}
|
|
2441
2425
|
],
|
|
2442
2426
|
"exports": [
|
|
2443
2427
|
{
|
|
2444
2428
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2429
|
+
"name": "AccordionItem",
|
|
2446
2430
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2431
|
+
"name": "AccordionItem",
|
|
2432
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
2433
|
}
|
|
2450
2434
|
},
|
|
2451
2435
|
{
|
|
2452
2436
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2437
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2454
2438
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2439
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2440
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "js",
|
|
2445
|
+
"name": "defaultAccordionItemConfig",
|
|
2446
|
+
"declaration": {
|
|
2447
|
+
"name": "defaultAccordionItemConfig",
|
|
2448
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
|
+
}
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "js",
|
|
2453
|
+
"name": "foundationAccordionItem",
|
|
2454
|
+
"declaration": {
|
|
2455
|
+
"name": "foundationAccordionItem",
|
|
2456
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
2459
|
]
|
|
2460
2460
|
},
|
|
2461
2461
|
{
|
|
2462
2462
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2463
|
+
"path": "src/accordion-item/index.ts",
|
|
2464
2464
|
"declarations": [],
|
|
2465
2465
|
"exports": [
|
|
2466
2466
|
{
|
|
@@ -2468,7 +2468,7 @@
|
|
|
2468
2468
|
"name": "*",
|
|
2469
2469
|
"declaration": {
|
|
2470
2470
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2471
|
+
"package": "./accordion-item.template"
|
|
2472
2472
|
}
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
"name": "*",
|
|
2477
2477
|
"declaration": {
|
|
2478
2478
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2479
|
+
"package": "./accordion-item.styles"
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
@@ -2484,282 +2484,215 @@
|
|
|
2484
2484
|
"name": "*",
|
|
2485
2485
|
"declaration": {
|
|
2486
2486
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2487
|
+
"package": "./accordion-item"
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
2490
|
]
|
|
2491
2491
|
},
|
|
2492
2492
|
{
|
|
2493
2493
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
2495
|
"declarations": [
|
|
2496
2496
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "ElementStyles"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"parameters": [
|
|
2505
|
-
{
|
|
2506
|
-
"name": "context",
|
|
2507
|
-
"type": {
|
|
2508
|
-
"text": "ElementDefinitionContext"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"name": "definition",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "FoundationElementDefinition"
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2518
2500
|
}
|
|
2519
2501
|
],
|
|
2520
2502
|
"exports": [
|
|
2521
2503
|
{
|
|
2522
2504
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2524
2506
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/
|
|
2507
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2527
2509
|
}
|
|
2528
2510
|
}
|
|
2529
2511
|
]
|
|
2530
2512
|
},
|
|
2531
2513
|
{
|
|
2532
|
-
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/
|
|
2534
|
-
"declarations": [
|
|
2535
|
-
{
|
|
2536
|
-
"kind": "
|
|
2537
|
-
"name": "
|
|
2538
|
-
"
|
|
2539
|
-
"
|
|
2540
|
-
"text": "ViewTemplate<Accordion>"
|
|
2541
|
-
}
|
|
2514
|
+
"kind": "javascript-module",
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2516
|
+
"declarations": [
|
|
2517
|
+
{
|
|
2518
|
+
"kind": "variable",
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2542
2522
|
},
|
|
2543
|
-
"
|
|
2544
|
-
{
|
|
2545
|
-
"name": "context",
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "ElementDefinitionContext"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
"name": "definition",
|
|
2552
|
-
"type": {
|
|
2553
|
-
"text": "FoundationElementDefinition"
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
|
-
]
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2557
2524
|
}
|
|
2558
2525
|
],
|
|
2559
2526
|
"exports": [
|
|
2560
2527
|
{
|
|
2561
2528
|
"kind": "js",
|
|
2562
|
-
"name": "
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2563
2530
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2566
2533
|
}
|
|
2567
2534
|
}
|
|
2568
2535
|
]
|
|
2569
2536
|
},
|
|
2570
2537
|
{
|
|
2571
2538
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2573
2540
|
"declarations": [
|
|
2574
2541
|
{
|
|
2575
2542
|
"kind": "class",
|
|
2576
|
-
"description": "",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2579
|
-
"name": "FASTAccordion",
|
|
2580
|
-
"package": "@microsoft/fast-foundation"
|
|
2581
|
-
},
|
|
2582
|
-
"tagName": "%%prefix%%-accordion",
|
|
2583
|
-
"customElement": true,
|
|
2584
|
-
"attributes": [
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2545
|
+
"members": [
|
|
2585
2546
|
{
|
|
2586
|
-
"
|
|
2547
|
+
"kind": "field",
|
|
2548
|
+
"name": "providerRegistry",
|
|
2587
2549
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
},
|
|
2590
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
-
"fieldName": "expandmode",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "Accordion",
|
|
2594
|
-
"module": "src/accordion/accordion.ts"
|
|
2550
|
+
"text": "AIProviderRegistry"
|
|
2595
2551
|
}
|
|
2596
|
-
}
|
|
2597
|
-
],
|
|
2598
|
-
"members": [
|
|
2552
|
+
},
|
|
2599
2553
|
{
|
|
2600
2554
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2555
|
+
"name": "placeholder",
|
|
2602
2556
|
"type": {
|
|
2603
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2604
2558
|
},
|
|
2605
|
-
"
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2559
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "disabled",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "boolean"
|
|
2610
2566
|
}
|
|
2611
2567
|
},
|
|
2612
2568
|
{
|
|
2613
2569
|
"kind": "field",
|
|
2614
|
-
"name": "
|
|
2570
|
+
"name": "inputValue",
|
|
2615
2571
|
"type": {
|
|
2616
|
-
"text": "string
|
|
2572
|
+
"text": "string"
|
|
2617
2573
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"inheritedFrom": {
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2622
|
-
}
|
|
2574
|
+
"default": "''"
|
|
2623
2575
|
},
|
|
2624
2576
|
{
|
|
2625
2577
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2627
2579
|
"type": {
|
|
2628
|
-
"text": "
|
|
2580
|
+
"text": "boolean"
|
|
2629
2581
|
},
|
|
2630
|
-
"
|
|
2631
|
-
"default": "0",
|
|
2632
|
-
"inheritedFrom": {
|
|
2633
|
-
"name": "Accordion",
|
|
2634
|
-
"module": "src/accordion/accordion.ts"
|
|
2635
|
-
}
|
|
2582
|
+
"default": "false"
|
|
2636
2583
|
},
|
|
2637
2584
|
{
|
|
2638
2585
|
"kind": "field",
|
|
2639
|
-
"name": "
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2640
2587
|
"type": {
|
|
2641
|
-
"text": "
|
|
2588
|
+
"text": "string | null"
|
|
2642
2589
|
},
|
|
2643
|
-
"
|
|
2644
|
-
"inheritedFrom": {
|
|
2645
|
-
"name": "Accordion",
|
|
2646
|
-
"module": "src/accordion/accordion.ts"
|
|
2647
|
-
}
|
|
2590
|
+
"default": "null"
|
|
2648
2591
|
},
|
|
2649
2592
|
{
|
|
2650
2593
|
"kind": "field",
|
|
2651
|
-
"name": "
|
|
2652
|
-
"
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
}
|
|
2594
|
+
"name": "activeGroups",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2597
|
+
},
|
|
2598
|
+
"default": "[]"
|
|
2657
2599
|
},
|
|
2658
2600
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "AccordionItem | null"
|
|
2665
|
-
}
|
|
2601
|
+
"kind": "field",
|
|
2602
|
+
"name": "showingChips",
|
|
2603
|
+
"type": {
|
|
2604
|
+
"text": "boolean"
|
|
2666
2605
|
},
|
|
2667
|
-
"
|
|
2668
|
-
"name": "Accordion",
|
|
2669
|
-
"module": "src/accordion/accordion.ts"
|
|
2670
|
-
}
|
|
2606
|
+
"default": "false"
|
|
2671
2607
|
},
|
|
2672
2608
|
{
|
|
2673
2609
|
"kind": "field",
|
|
2674
|
-
"name": "
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
}
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2613
|
+
},
|
|
2614
|
+
"default": "[]"
|
|
2680
2615
|
},
|
|
2681
2616
|
{
|
|
2682
|
-
"kind": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
"type": {
|
|
2687
|
-
"text": "void"
|
|
2688
|
-
}
|
|
2617
|
+
"kind": "field",
|
|
2618
|
+
"name": "isRecording",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "boolean"
|
|
2689
2621
|
},
|
|
2690
|
-
"
|
|
2691
|
-
"name": "Accordion",
|
|
2692
|
-
"module": "src/accordion/accordion.ts"
|
|
2693
|
-
}
|
|
2622
|
+
"default": "false"
|
|
2694
2623
|
},
|
|
2695
2624
|
{
|
|
2696
2625
|
"kind": "field",
|
|
2697
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2629
|
+
},
|
|
2630
|
+
"privacy": "public"
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "field",
|
|
2634
|
+
"name": "stopRecording",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2637
|
+
},
|
|
2698
2638
|
"privacy": "private",
|
|
2699
|
-
"
|
|
2700
|
-
"name": "Accordion",
|
|
2701
|
-
"module": "src/accordion/accordion.ts"
|
|
2702
|
-
}
|
|
2639
|
+
"default": "null"
|
|
2703
2640
|
},
|
|
2704
2641
|
{
|
|
2705
2642
|
"kind": "field",
|
|
2706
|
-
"name": "
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2646
|
+
},
|
|
2707
2647
|
"privacy": "private",
|
|
2708
|
-
"
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2648
|
+
"default": "null"
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"kind": "field",
|
|
2652
|
+
"name": "speechAvailable",
|
|
2653
|
+
"type": {
|
|
2654
|
+
"text": "boolean"
|
|
2655
|
+
},
|
|
2656
|
+
"readonly": true
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "criteriaChips",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2712
2665
|
},
|
|
2713
2666
|
{
|
|
2714
2667
|
"kind": "method",
|
|
2715
|
-
"name": "
|
|
2668
|
+
"name": "getFieldLabel",
|
|
2716
2669
|
"privacy": "private",
|
|
2717
2670
|
"return": {
|
|
2718
2671
|
"type": {
|
|
2719
|
-
"text": "
|
|
2672
|
+
"text": "string"
|
|
2720
2673
|
}
|
|
2721
2674
|
},
|
|
2722
|
-
"
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2675
|
+
"parameters": [
|
|
2676
|
+
{
|
|
2677
|
+
"name": "fieldName",
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "string"
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
]
|
|
2726
2683
|
},
|
|
2727
2684
|
{
|
|
2728
2685
|
"kind": "method",
|
|
2729
|
-
"name": "
|
|
2730
|
-
"privacy": "private",
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2731
2687
|
"return": {
|
|
2732
2688
|
"type": {
|
|
2733
|
-
"text": "
|
|
2689
|
+
"text": "void"
|
|
2734
2690
|
}
|
|
2735
|
-
},
|
|
2736
|
-
"inheritedFrom": {
|
|
2737
|
-
"name": "Accordion",
|
|
2738
|
-
"module": "src/accordion/accordion.ts"
|
|
2739
|
-
}
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "field",
|
|
2743
|
-
"name": "handleItemKeyDown",
|
|
2744
|
-
"privacy": "private",
|
|
2745
|
-
"inheritedFrom": {
|
|
2746
|
-
"name": "Accordion",
|
|
2747
|
-
"module": "src/accordion/accordion.ts"
|
|
2748
|
-
}
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
"kind": "field",
|
|
2752
|
-
"name": "handleItemFocus",
|
|
2753
|
-
"privacy": "private",
|
|
2754
|
-
"inheritedFrom": {
|
|
2755
|
-
"name": "Accordion",
|
|
2756
|
-
"module": "src/accordion/accordion.ts"
|
|
2757
2691
|
}
|
|
2758
2692
|
},
|
|
2759
2693
|
{
|
|
2760
2694
|
"kind": "method",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"privacy": "private",
|
|
2695
|
+
"name": "removeChip",
|
|
2763
2696
|
"return": {
|
|
2764
2697
|
"type": {
|
|
2765
2698
|
"text": "void"
|
|
@@ -2767,31 +2700,49 @@
|
|
|
2767
2700
|
},
|
|
2768
2701
|
"parameters": [
|
|
2769
2702
|
{
|
|
2770
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2704
|
+
"type": {
|
|
2705
|
+
"text": "number"
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "clauseIndex",
|
|
2771
2710
|
"type": {
|
|
2772
2711
|
"text": "number"
|
|
2773
2712
|
}
|
|
2774
2713
|
}
|
|
2775
|
-
]
|
|
2776
|
-
"inheritedFrom": {
|
|
2777
|
-
"name": "Accordion",
|
|
2778
|
-
"module": "src/accordion/accordion.ts"
|
|
2779
|
-
}
|
|
2714
|
+
]
|
|
2780
2715
|
},
|
|
2781
2716
|
{
|
|
2782
2717
|
"kind": "method",
|
|
2783
|
-
"name": "
|
|
2784
|
-
"privacy": "private",
|
|
2718
|
+
"name": "clearChips",
|
|
2785
2719
|
"return": {
|
|
2786
2720
|
"type": {
|
|
2787
2721
|
"text": "void"
|
|
2788
2722
|
}
|
|
2789
|
-
},
|
|
2790
|
-
"inheritedFrom": {
|
|
2791
|
-
"name": "Accordion",
|
|
2792
|
-
"module": "src/accordion/accordion.ts"
|
|
2793
2723
|
}
|
|
2794
2724
|
},
|
|
2725
|
+
{
|
|
2726
|
+
"kind": "method",
|
|
2727
|
+
"name": "handleSubmit"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"kind": "method",
|
|
2731
|
+
"name": "handleBlur"
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"kind": "method",
|
|
2735
|
+
"name": "clear"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "method",
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2745
|
+
},
|
|
2795
2746
|
{
|
|
2796
2747
|
"kind": "field",
|
|
2797
2748
|
"name": "_presentation",
|
|
@@ -2906,26 +2857,48 @@
|
|
|
2906
2857
|
],
|
|
2907
2858
|
"events": [
|
|
2908
2859
|
{
|
|
2909
|
-
"description": "
|
|
2910
|
-
"name": "
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2860
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
+
"name": "criteria-changed"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
+
"name": "validation-errors"
|
|
2915
2866
|
}
|
|
2916
|
-
]
|
|
2867
|
+
],
|
|
2868
|
+
"attributes": [
|
|
2869
|
+
{
|
|
2870
|
+
"name": "placeholder",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "string"
|
|
2873
|
+
},
|
|
2874
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
+
"fieldName": "placeholder"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"type": {
|
|
2879
|
+
"text": "boolean"
|
|
2880
|
+
},
|
|
2881
|
+
"fieldName": "disabled"
|
|
2882
|
+
}
|
|
2883
|
+
],
|
|
2884
|
+
"superclass": {
|
|
2885
|
+
"name": "FoundationElement",
|
|
2886
|
+
"package": "@microsoft/fast-foundation"
|
|
2887
|
+
},
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2889
|
+
"customElement": true
|
|
2917
2890
|
},
|
|
2918
2891
|
{
|
|
2919
2892
|
"kind": "variable",
|
|
2920
|
-
"name": "
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2921
2894
|
"type": {
|
|
2922
2895
|
"text": "ShadowRootInit"
|
|
2923
2896
|
},
|
|
2924
|
-
"default": "
|
|
2897
|
+
"default": "undefined"
|
|
2925
2898
|
},
|
|
2926
2899
|
{
|
|
2927
2900
|
"kind": "variable",
|
|
2928
|
-
"name": "
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2929
2902
|
"type": {
|
|
2930
2903
|
"text": "object"
|
|
2931
2904
|
},
|
|
@@ -2933,57 +2906,103 @@
|
|
|
2933
2906
|
},
|
|
2934
2907
|
{
|
|
2935
2908
|
"kind": "variable",
|
|
2936
|
-
"name": "
|
|
2937
|
-
"description": "The Foundation Accordion",
|
|
2938
|
-
"privacy": "public"
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
2939
2910
|
}
|
|
2940
2911
|
],
|
|
2941
2912
|
"exports": [
|
|
2942
2913
|
{
|
|
2943
2914
|
"kind": "js",
|
|
2944
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
2945
2916
|
"declaration": {
|
|
2946
|
-
"name": "
|
|
2947
|
-
"module": "src/
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2948
2919
|
}
|
|
2949
2920
|
},
|
|
2950
2921
|
{
|
|
2951
2922
|
"kind": "js",
|
|
2952
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2953
2924
|
"declaration": {
|
|
2954
|
-
"name": "
|
|
2955
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2956
2927
|
}
|
|
2957
2928
|
},
|
|
2958
2929
|
{
|
|
2959
2930
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2961
2932
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2964
2935
|
}
|
|
2965
2936
|
},
|
|
2966
2937
|
{
|
|
2967
2938
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2969
2940
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2972
2943
|
}
|
|
2973
2944
|
}
|
|
2974
2945
|
]
|
|
2975
2946
|
},
|
|
2976
2947
|
{
|
|
2977
2948
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2979
2950
|
"declarations": [],
|
|
2980
2951
|
"exports": [
|
|
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
|
+
},
|
|
2981
3000
|
{
|
|
2982
3001
|
"kind": "js",
|
|
2983
3002
|
"name": "*",
|
|
2984
3003
|
"declaration": {
|
|
2985
3004
|
"name": "*",
|
|
2986
|
-
"package": "./
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
2987
3006
|
}
|
|
2988
3007
|
},
|
|
2989
3008
|
{
|
|
@@ -2991,7 +3010,7 @@
|
|
|
2991
3010
|
"name": "*",
|
|
2992
3011
|
"declaration": {
|
|
2993
3012
|
"name": "*",
|
|
2994
|
-
"package": "./
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
2995
3014
|
}
|
|
2996
3015
|
},
|
|
2997
3016
|
{
|
|
@@ -2999,64 +3018,157 @@
|
|
|
2999
3018
|
"name": "*",
|
|
3000
3019
|
"declaration": {
|
|
3001
3020
|
"name": "*",
|
|
3002
|
-
"package": "./
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
3003
3022
|
}
|
|
3004
3023
|
}
|
|
3005
3024
|
]
|
|
3006
3025
|
},
|
|
3007
3026
|
{
|
|
3008
3027
|
"kind": "javascript-module",
|
|
3009
|
-
"path": "src/ai-criteria-search/
|
|
3028
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3010
3029
|
"declarations": [
|
|
3011
3030
|
{
|
|
3012
|
-
"kind": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
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"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"kind": "javascript-module",
|
|
3103
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3104
|
+
"declarations": [
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "function",
|
|
3107
|
+
"name": "foundationAiIndicatorStyles",
|
|
3108
|
+
"return": {
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "ElementStyles"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "context",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "ElementDefinitionContext"
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "definition",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "FoundationElementDefinition"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3015
3127
|
}
|
|
3016
3128
|
],
|
|
3017
3129
|
"exports": [
|
|
3018
3130
|
{
|
|
3019
3131
|
"kind": "js",
|
|
3020
|
-
"name": "
|
|
3132
|
+
"name": "foundationAiIndicatorStyles",
|
|
3021
3133
|
"declaration": {
|
|
3022
|
-
"name": "
|
|
3023
|
-
"module": "src/ai-
|
|
3134
|
+
"name": "foundationAiIndicatorStyles",
|
|
3135
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3024
3136
|
}
|
|
3025
3137
|
}
|
|
3026
3138
|
]
|
|
3027
3139
|
},
|
|
3028
3140
|
{
|
|
3029
3141
|
"kind": "javascript-module",
|
|
3030
|
-
"path": "src/ai-
|
|
3142
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3031
3143
|
"declarations": [
|
|
3032
3144
|
{
|
|
3033
3145
|
"kind": "variable",
|
|
3034
|
-
"name": "
|
|
3146
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3035
3147
|
"type": {
|
|
3036
|
-
"text": "ViewTemplate<
|
|
3148
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3037
3149
|
},
|
|
3038
|
-
"default": "html`\n ${(x) =>
|
|
3150
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3039
3151
|
}
|
|
3040
3152
|
],
|
|
3041
3153
|
"exports": [
|
|
3042
3154
|
{
|
|
3043
3155
|
"kind": "js",
|
|
3044
|
-
"name": "
|
|
3156
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3045
3157
|
"declaration": {
|
|
3046
|
-
"name": "
|
|
3047
|
-
"module": "src/ai-
|
|
3158
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3159
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3048
3160
|
}
|
|
3049
3161
|
}
|
|
3050
3162
|
]
|
|
3051
3163
|
},
|
|
3052
3164
|
{
|
|
3053
3165
|
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/ai-
|
|
3166
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3055
3167
|
"declarations": [
|
|
3056
3168
|
{
|
|
3057
3169
|
"kind": "class",
|
|
3058
|
-
"description": "
|
|
3059
|
-
"name": "
|
|
3170
|
+
"description": "",
|
|
3171
|
+
"name": "AiIndicator",
|
|
3060
3172
|
"members": [
|
|
3061
3173
|
{
|
|
3062
3174
|
"kind": "field",
|
|
@@ -3067,54 +3179,25 @@
|
|
|
3067
3179
|
},
|
|
3068
3180
|
{
|
|
3069
3181
|
"kind": "field",
|
|
3070
|
-
"name": "
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "string"
|
|
3073
|
-
},
|
|
3074
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "field",
|
|
3078
|
-
"name": "disabled",
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "boolean"
|
|
3081
|
-
}
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "field",
|
|
3085
|
-
"name": "inputValue",
|
|
3086
|
-
"type": {
|
|
3087
|
-
"text": "string"
|
|
3088
|
-
},
|
|
3089
|
-
"default": "''"
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "field",
|
|
3093
|
-
"name": "isInterpreting",
|
|
3182
|
+
"name": "aiProvider",
|
|
3094
3183
|
"type": {
|
|
3095
|
-
"text": "
|
|
3184
|
+
"text": "AIProvider | undefined"
|
|
3096
3185
|
},
|
|
3097
|
-
"
|
|
3186
|
+
"privacy": "private",
|
|
3187
|
+
"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.",
|
|
3188
|
+
"readonly": true
|
|
3098
3189
|
},
|
|
3099
3190
|
{
|
|
3100
3191
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3192
|
+
"name": "status",
|
|
3102
3193
|
"type": {
|
|
3103
|
-
"text": "
|
|
3194
|
+
"text": "AIStatus | null"
|
|
3104
3195
|
},
|
|
3105
3196
|
"default": "null"
|
|
3106
3197
|
},
|
|
3107
3198
|
{
|
|
3108
3199
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3110
|
-
"type": {
|
|
3111
|
-
"text": "CriteriaGroup[]"
|
|
3112
|
-
},
|
|
3113
|
-
"default": "[]"
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
"kind": "field",
|
|
3117
|
-
"name": "showingChips",
|
|
3200
|
+
"name": "open",
|
|
3118
3201
|
"type": {
|
|
3119
3202
|
"text": "boolean"
|
|
3120
3203
|
},
|
|
@@ -3122,15 +3205,15 @@
|
|
|
3122
3205
|
},
|
|
3123
3206
|
{
|
|
3124
3207
|
"kind": "field",
|
|
3125
|
-
"name": "
|
|
3208
|
+
"name": "state",
|
|
3126
3209
|
"type": {
|
|
3127
|
-
"text": "
|
|
3210
|
+
"text": "AIIndicatorState"
|
|
3128
3211
|
},
|
|
3129
|
-
"default": "
|
|
3212
|
+
"default": "'none'"
|
|
3130
3213
|
},
|
|
3131
3214
|
{
|
|
3132
3215
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3216
|
+
"name": "isInstalling",
|
|
3134
3217
|
"type": {
|
|
3135
3218
|
"text": "boolean"
|
|
3136
3219
|
},
|
|
@@ -3138,33 +3221,29 @@
|
|
|
3138
3221
|
},
|
|
3139
3222
|
{
|
|
3140
3223
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
3224
|
+
"name": "pollTimer",
|
|
3142
3225
|
"type": {
|
|
3143
|
-
"text": "
|
|
3226
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3144
3227
|
},
|
|
3145
|
-
"privacy": "
|
|
3228
|
+
"privacy": "private",
|
|
3229
|
+
"default": "null"
|
|
3146
3230
|
},
|
|
3147
3231
|
{
|
|
3148
3232
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3150
|
-
"
|
|
3151
|
-
"text": "(() => void) | null"
|
|
3152
|
-
},
|
|
3153
|
-
"privacy": "private",
|
|
3154
|
-
"default": "null"
|
|
3233
|
+
"name": "clickOutside",
|
|
3234
|
+
"privacy": "private"
|
|
3155
3235
|
},
|
|
3156
3236
|
{
|
|
3157
3237
|
"kind": "field",
|
|
3158
|
-
"name": "
|
|
3238
|
+
"name": "chromeStatusLabel",
|
|
3159
3239
|
"type": {
|
|
3160
|
-
"text": "
|
|
3240
|
+
"text": "string | null"
|
|
3161
3241
|
},
|
|
3162
|
-
"
|
|
3163
|
-
"default": "null"
|
|
3242
|
+
"readonly": true
|
|
3164
3243
|
},
|
|
3165
3244
|
{
|
|
3166
3245
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3246
|
+
"name": "canInstall",
|
|
3168
3247
|
"type": {
|
|
3169
3248
|
"text": "boolean"
|
|
3170
3249
|
},
|
|
@@ -3172,65 +3251,69 @@
|
|
|
3172
3251
|
},
|
|
3173
3252
|
{
|
|
3174
3253
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3254
|
+
"name": "isDownloading",
|
|
3176
3255
|
"type": {
|
|
3177
|
-
"text": "
|
|
3256
|
+
"text": "boolean"
|
|
3178
3257
|
},
|
|
3179
3258
|
"readonly": true
|
|
3180
3259
|
},
|
|
3181
3260
|
{
|
|
3182
3261
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3184
|
-
"privacy": "private",
|
|
3262
|
+
"name": "openChanged",
|
|
3185
3263
|
"return": {
|
|
3186
3264
|
"type": {
|
|
3187
|
-
"text": "
|
|
3265
|
+
"text": "void"
|
|
3188
3266
|
}
|
|
3189
|
-
}
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "method",
|
|
3271
|
+
"name": "handleClickOutside",
|
|
3272
|
+
"privacy": "private",
|
|
3190
3273
|
"parameters": [
|
|
3191
3274
|
{
|
|
3192
|
-
"name": "
|
|
3275
|
+
"name": "event",
|
|
3193
3276
|
"type": {
|
|
3194
|
-
"text": "
|
|
3277
|
+
"text": "MouseEvent"
|
|
3195
3278
|
}
|
|
3196
3279
|
}
|
|
3197
3280
|
]
|
|
3198
3281
|
},
|
|
3199
3282
|
{
|
|
3200
3283
|
"kind": "method",
|
|
3201
|
-
"name": "
|
|
3284
|
+
"name": "toggleDropdown"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"kind": "method",
|
|
3288
|
+
"name": "refreshStatus",
|
|
3202
3289
|
"return": {
|
|
3203
3290
|
"type": {
|
|
3204
|
-
"text": "void"
|
|
3291
|
+
"text": "Promise<void>"
|
|
3205
3292
|
}
|
|
3206
3293
|
}
|
|
3207
3294
|
},
|
|
3208
3295
|
{
|
|
3209
3296
|
"kind": "method",
|
|
3210
|
-
"name": "
|
|
3297
|
+
"name": "deriveState",
|
|
3298
|
+
"privacy": "private",
|
|
3211
3299
|
"return": {
|
|
3212
3300
|
"type": {
|
|
3213
|
-
"text": "
|
|
3301
|
+
"text": "AIIndicatorState"
|
|
3214
3302
|
}
|
|
3215
3303
|
},
|
|
3216
3304
|
"parameters": [
|
|
3217
3305
|
{
|
|
3218
|
-
"name": "
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "number"
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"name": "clauseIndex",
|
|
3306
|
+
"name": "s",
|
|
3225
3307
|
"type": {
|
|
3226
|
-
"text": "
|
|
3308
|
+
"text": "AIStatus | null"
|
|
3227
3309
|
}
|
|
3228
3310
|
}
|
|
3229
3311
|
]
|
|
3230
3312
|
},
|
|
3231
3313
|
{
|
|
3232
3314
|
"kind": "method",
|
|
3233
|
-
"name": "
|
|
3315
|
+
"name": "maybeStartPolling",
|
|
3316
|
+
"privacy": "private",
|
|
3234
3317
|
"return": {
|
|
3235
3318
|
"type": {
|
|
3236
3319
|
"text": "void"
|
|
@@ -3239,24 +3322,32 @@
|
|
|
3239
3322
|
},
|
|
3240
3323
|
{
|
|
3241
3324
|
"kind": "method",
|
|
3242
|
-
"name": "
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
"kind": "method",
|
|
3250
|
-
"name": "clear"
|
|
3325
|
+
"name": "startPolling",
|
|
3326
|
+
"privacy": "private",
|
|
3327
|
+
"return": {
|
|
3328
|
+
"type": {
|
|
3329
|
+
"text": "void"
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3251
3332
|
},
|
|
3252
3333
|
{
|
|
3253
3334
|
"kind": "method",
|
|
3254
|
-
"name": "
|
|
3335
|
+
"name": "stopPolling",
|
|
3336
|
+
"privacy": "private",
|
|
3337
|
+
"return": {
|
|
3338
|
+
"type": {
|
|
3339
|
+
"text": "void"
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3255
3342
|
},
|
|
3256
3343
|
{
|
|
3257
3344
|
"kind": "method",
|
|
3258
|
-
"name": "
|
|
3259
|
-
"
|
|
3345
|
+
"name": "onInstall",
|
|
3346
|
+
"return": {
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "Promise<void>"
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3260
3351
|
},
|
|
3261
3352
|
{
|
|
3262
3353
|
"kind": "field",
|
|
@@ -3370,259 +3461,141 @@
|
|
|
3370
3461
|
}
|
|
3371
3462
|
}
|
|
3372
3463
|
],
|
|
3373
|
-
"events": [
|
|
3374
|
-
{
|
|
3375
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
-
"name": "criteria-changed"
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
-
"name": "validation-errors"
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"attributes": [
|
|
3384
|
-
{
|
|
3385
|
-
"name": "placeholder",
|
|
3386
|
-
"type": {
|
|
3387
|
-
"text": "string"
|
|
3388
|
-
},
|
|
3389
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
-
"fieldName": "placeholder"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
},
|
|
3396
|
-
"fieldName": "disabled"
|
|
3397
|
-
}
|
|
3398
|
-
],
|
|
3399
3464
|
"superclass": {
|
|
3400
|
-
"name": "FoundationElement",
|
|
3401
|
-
"package": "@microsoft/fast-foundation"
|
|
3402
|
-
},
|
|
3403
|
-
"tagName": "%%prefix%%-ai-
|
|
3404
|
-
"customElement": true
|
|
3405
|
-
},
|
|
3406
|
-
{
|
|
3407
|
-
"kind": "variable",
|
|
3408
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3409
|
-
"type": {
|
|
3410
|
-
"text": "ShadowRootInit"
|
|
3411
|
-
},
|
|
3412
|
-
"default": "undefined"
|
|
3413
|
-
},
|
|
3414
|
-
{
|
|
3415
|
-
"kind": "variable",
|
|
3416
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3417
|
-
"type": {
|
|
3418
|
-
"text": "object"
|
|
3419
|
-
},
|
|
3420
|
-
"default": "{}"
|
|
3421
|
-
},
|
|
3422
|
-
{
|
|
3423
|
-
"kind": "variable",
|
|
3424
|
-
"name": "foundationAiCriteriaSearch"
|
|
3425
|
-
}
|
|
3426
|
-
],
|
|
3427
|
-
"exports": [
|
|
3428
|
-
{
|
|
3429
|
-
"kind": "js",
|
|
3430
|
-
"name": "AiCriteriaSearch",
|
|
3431
|
-
"declaration": {
|
|
3432
|
-
"name": "AiCriteriaSearch",
|
|
3433
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3434
|
-
}
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"kind": "js",
|
|
3438
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3439
|
-
"declaration": {
|
|
3440
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3442
|
-
}
|
|
3465
|
+
"name": "FoundationElement",
|
|
3466
|
+
"package": "@microsoft/fast-foundation"
|
|
3467
|
+
},
|
|
3468
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3469
|
+
"customElement": true
|
|
3443
3470
|
},
|
|
3471
|
+
{
|
|
3472
|
+
"kind": "variable",
|
|
3473
|
+
"name": "foundationAiIndicator"
|
|
3474
|
+
}
|
|
3475
|
+
],
|
|
3476
|
+
"exports": [
|
|
3444
3477
|
{
|
|
3445
3478
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3479
|
+
"name": "AiIndicator",
|
|
3447
3480
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/ai-
|
|
3481
|
+
"name": "AiIndicator",
|
|
3482
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3450
3483
|
}
|
|
3451
3484
|
},
|
|
3452
3485
|
{
|
|
3453
3486
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3487
|
+
"name": "foundationAiIndicator",
|
|
3455
3488
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/ai-
|
|
3489
|
+
"name": "foundationAiIndicator",
|
|
3490
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3458
3491
|
}
|
|
3459
3492
|
}
|
|
3460
3493
|
]
|
|
3461
3494
|
},
|
|
3462
3495
|
{
|
|
3463
3496
|
"kind": "javascript-module",
|
|
3464
|
-
"path": "src/ai-
|
|
3497
|
+
"path": "src/ai-indicator/index.ts",
|
|
3465
3498
|
"declarations": [],
|
|
3466
3499
|
"exports": [
|
|
3467
3500
|
{
|
|
3468
3501
|
"kind": "js",
|
|
3469
|
-
"name": "
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "AiCriteriaSearch",
|
|
3472
|
-
"module": "./ai-criteria-search"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "js",
|
|
3477
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
-
"declaration": {
|
|
3479
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
-
"module": "./ai-criteria-search"
|
|
3481
|
-
}
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"kind": "js",
|
|
3485
|
-
"name": "foundationAiCriteriaSearch",
|
|
3486
|
-
"declaration": {
|
|
3487
|
-
"name": "foundationAiCriteriaSearch",
|
|
3488
|
-
"module": "./ai-criteria-search"
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3502
|
+
"name": "AiIndicator",
|
|
3494
3503
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "./ai-
|
|
3504
|
+
"name": "AiIndicator",
|
|
3505
|
+
"module": "./ai-indicator"
|
|
3497
3506
|
}
|
|
3498
3507
|
},
|
|
3499
3508
|
{
|
|
3500
3509
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3510
|
+
"name": "foundationAiIndicator",
|
|
3502
3511
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "./ai-
|
|
3512
|
+
"name": "foundationAiIndicator",
|
|
3513
|
+
"module": "./ai-indicator"
|
|
3505
3514
|
}
|
|
3506
3515
|
},
|
|
3507
3516
|
{
|
|
3508
3517
|
"kind": "js",
|
|
3509
|
-
"name": "
|
|
3518
|
+
"name": "type",
|
|
3510
3519
|
"declaration": {
|
|
3511
|
-
"name": "
|
|
3512
|
-
"module": "./ai-
|
|
3520
|
+
"name": "type",
|
|
3521
|
+
"module": "./ai-indicator"
|
|
3513
3522
|
}
|
|
3514
3523
|
},
|
|
3515
3524
|
{
|
|
3516
3525
|
"kind": "js",
|
|
3517
|
-
"name": "
|
|
3526
|
+
"name": "AIIndicatorState",
|
|
3518
3527
|
"declaration": {
|
|
3519
|
-
"name": "
|
|
3520
|
-
"
|
|
3528
|
+
"name": "AIIndicatorState",
|
|
3529
|
+
"module": "./ai-indicator"
|
|
3521
3530
|
}
|
|
3522
3531
|
},
|
|
3523
3532
|
{
|
|
3524
3533
|
"kind": "js",
|
|
3525
|
-
"name": "
|
|
3534
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3526
3535
|
"declaration": {
|
|
3527
|
-
"name": "
|
|
3528
|
-
"
|
|
3536
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3537
|
+
"module": "./ai-indicator.template"
|
|
3529
3538
|
}
|
|
3530
3539
|
},
|
|
3531
3540
|
{
|
|
3532
3541
|
"kind": "js",
|
|
3533
|
-
"name": "
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3534
3543
|
"declaration": {
|
|
3535
|
-
"name": "
|
|
3536
|
-
"
|
|
3544
|
+
"name": "foundationAiIndicatorStyles",
|
|
3545
|
+
"module": "./ai-indicator.styles"
|
|
3537
3546
|
}
|
|
3538
3547
|
}
|
|
3539
3548
|
]
|
|
3540
3549
|
},
|
|
3541
3550
|
{
|
|
3542
3551
|
"kind": "javascript-module",
|
|
3543
|
-
"path": "src/
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3544
3553
|
"declarations": [
|
|
3545
3554
|
{
|
|
3546
3555
|
"kind": "function",
|
|
3547
|
-
"name": "
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3548
3557
|
"return": {
|
|
3549
3558
|
"type": {
|
|
3550
|
-
"text": "
|
|
3559
|
+
"text": "ElementStyles"
|
|
3551
3560
|
}
|
|
3552
3561
|
},
|
|
3553
3562
|
"parameters": [
|
|
3554
3563
|
{
|
|
3555
|
-
"name": "
|
|
3564
|
+
"name": "context",
|
|
3556
3565
|
"type": {
|
|
3557
|
-
"text": "
|
|
3566
|
+
"text": "ElementDefinitionContext"
|
|
3558
3567
|
}
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "function",
|
|
3565
|
-
"name": "showCriteriaError",
|
|
3566
|
-
"return": {
|
|
3567
|
-
"type": {
|
|
3568
|
-
"text": "void"
|
|
3569
|
-
}
|
|
3570
|
-
},
|
|
3571
|
-
"parameters": [
|
|
3572
|
-
{
|
|
3573
|
-
"name": "title",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "string"
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"name": "body",
|
|
3581
|
-
"type": {
|
|
3582
|
-
"text": "string"
|
|
3583
|
-
},
|
|
3584
|
-
"description": "Error message to display"
|
|
3585
3568
|
},
|
|
3586
3569
|
{
|
|
3587
|
-
"name": "
|
|
3570
|
+
"name": "definition",
|
|
3588
3571
|
"type": {
|
|
3589
|
-
"text": "
|
|
3590
|
-
}
|
|
3591
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3572
|
+
"text": "FoundationElementDefinition"
|
|
3573
|
+
}
|
|
3592
3574
|
}
|
|
3593
|
-
]
|
|
3594
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3575
|
+
]
|
|
3595
3576
|
}
|
|
3596
3577
|
],
|
|
3597
3578
|
"exports": [
|
|
3598
3579
|
{
|
|
3599
3580
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3601
|
-
"declaration": {
|
|
3602
|
-
"name": "formatValidationErrors",
|
|
3603
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
-
}
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "js",
|
|
3608
|
-
"name": "showCriteriaError",
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3609
3582
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3612
3585
|
}
|
|
3613
3586
|
}
|
|
3614
3587
|
]
|
|
3615
3588
|
},
|
|
3616
3589
|
{
|
|
3617
3590
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3619
3592
|
"declarations": [
|
|
3620
3593
|
{
|
|
3621
3594
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3623
3596
|
"return": {
|
|
3624
3597
|
"type": {
|
|
3625
|
-
"text": "
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3626
3599
|
}
|
|
3627
3600
|
},
|
|
3628
3601
|
"parameters": [
|
|
@@ -3644,224 +3617,237 @@
|
|
|
3644
3617
|
"exports": [
|
|
3645
3618
|
{
|
|
3646
3619
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3648
|
-
"declaration": {
|
|
3649
|
-
"name": "foundationAiIndicatorStyles",
|
|
3650
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3651
|
-
}
|
|
3652
|
-
}
|
|
3653
|
-
]
|
|
3654
|
-
},
|
|
3655
|
-
{
|
|
3656
|
-
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3658
|
-
"declarations": [
|
|
3659
|
-
{
|
|
3660
|
-
"kind": "variable",
|
|
3661
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3662
|
-
"type": {
|
|
3663
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3664
|
-
},
|
|
3665
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3666
|
-
}
|
|
3667
|
-
],
|
|
3668
|
-
"exports": [
|
|
3669
|
-
{
|
|
3670
|
-
"kind": "js",
|
|
3671
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3620
|
+
"name": "foundationAccordionTemplate",
|
|
3672
3621
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/
|
|
3622
|
+
"name": "foundationAccordionTemplate",
|
|
3623
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3675
3624
|
}
|
|
3676
3625
|
}
|
|
3677
3626
|
]
|
|
3678
3627
|
},
|
|
3679
3628
|
{
|
|
3680
3629
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/
|
|
3630
|
+
"path": "src/accordion/accordion.ts",
|
|
3682
3631
|
"declarations": [
|
|
3683
3632
|
{
|
|
3684
3633
|
"kind": "class",
|
|
3685
3634
|
"description": "",
|
|
3686
|
-
"name": "
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
},
|
|
3695
|
-
{
|
|
3696
|
-
"kind": "field",
|
|
3697
|
-
"name": "aiProvider",
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "AIProvider | undefined"
|
|
3700
|
-
},
|
|
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
|
|
3704
|
-
},
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"superclass": {
|
|
3637
|
+
"name": "FASTAccordion",
|
|
3638
|
+
"package": "@microsoft/fast-foundation"
|
|
3639
|
+
},
|
|
3640
|
+
"tagName": "%%prefix%%-accordion",
|
|
3641
|
+
"customElement": true,
|
|
3642
|
+
"attributes": [
|
|
3705
3643
|
{
|
|
3706
|
-
"
|
|
3707
|
-
"name": "status",
|
|
3644
|
+
"name": "expand-mode",
|
|
3708
3645
|
"type": {
|
|
3709
|
-
"text": "
|
|
3646
|
+
"text": "AccordionExpandMode"
|
|
3710
3647
|
},
|
|
3711
|
-
"
|
|
3712
|
-
|
|
3648
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3649
|
+
"fieldName": "expandmode",
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"members": [
|
|
3713
3657
|
{
|
|
3714
3658
|
"kind": "field",
|
|
3715
|
-
"name": "
|
|
3659
|
+
"name": "expandmode",
|
|
3716
3660
|
"type": {
|
|
3717
|
-
"text": "
|
|
3661
|
+
"text": "AccordionExpandMode"
|
|
3718
3662
|
},
|
|
3719
|
-
"
|
|
3663
|
+
"privacy": "public",
|
|
3664
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "Accordion",
|
|
3667
|
+
"module": "src/accordion/accordion.ts"
|
|
3668
|
+
}
|
|
3720
3669
|
},
|
|
3721
3670
|
{
|
|
3722
3671
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3672
|
+
"name": "activeid",
|
|
3724
3673
|
"type": {
|
|
3725
|
-
"text": "
|
|
3674
|
+
"text": "string | null"
|
|
3726
3675
|
},
|
|
3727
|
-
"
|
|
3676
|
+
"privacy": "private",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3680
|
+
}
|
|
3728
3681
|
},
|
|
3729
3682
|
{
|
|
3730
3683
|
"kind": "field",
|
|
3731
|
-
"name": "
|
|
3684
|
+
"name": "activeItemIndex",
|
|
3732
3685
|
"type": {
|
|
3733
|
-
"text": "
|
|
3686
|
+
"text": "number"
|
|
3734
3687
|
},
|
|
3735
|
-
"
|
|
3688
|
+
"privacy": "private",
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"inheritedFrom": {
|
|
3691
|
+
"name": "Accordion",
|
|
3692
|
+
"module": "src/accordion/accordion.ts"
|
|
3693
|
+
}
|
|
3736
3694
|
},
|
|
3737
3695
|
{
|
|
3738
3696
|
"kind": "field",
|
|
3739
|
-
"name": "
|
|
3697
|
+
"name": "accordionIds",
|
|
3740
3698
|
"type": {
|
|
3741
|
-
"text": "
|
|
3699
|
+
"text": "Array<string | null>"
|
|
3742
3700
|
},
|
|
3743
3701
|
"privacy": "private",
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
"name": "clickOutside",
|
|
3749
|
-
"privacy": "private"
|
|
3702
|
+
"inheritedFrom": {
|
|
3703
|
+
"name": "Accordion",
|
|
3704
|
+
"module": "src/accordion/accordion.ts"
|
|
3705
|
+
}
|
|
3750
3706
|
},
|
|
3751
3707
|
{
|
|
3752
3708
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3754
|
-
"
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3709
|
+
"name": "change",
|
|
3710
|
+
"privacy": "private",
|
|
3711
|
+
"inheritedFrom": {
|
|
3712
|
+
"name": "Accordion",
|
|
3713
|
+
"module": "src/accordion/accordion.ts"
|
|
3714
|
+
}
|
|
3758
3715
|
},
|
|
3759
3716
|
{
|
|
3760
|
-
"kind": "
|
|
3761
|
-
"name": "
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "findExpandedItem",
|
|
3719
|
+
"privacy": "private",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "AccordionItem | null"
|
|
3723
|
+
}
|
|
3764
3724
|
},
|
|
3765
|
-
"
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Accordion",
|
|
3727
|
+
"module": "src/accordion/accordion.ts"
|
|
3728
|
+
}
|
|
3766
3729
|
},
|
|
3767
3730
|
{
|
|
3768
3731
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3770
|
-
"
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3732
|
+
"name": "setItems",
|
|
3733
|
+
"privacy": "private",
|
|
3734
|
+
"inheritedFrom": {
|
|
3735
|
+
"name": "Accordion",
|
|
3736
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
|
+
}
|
|
3774
3738
|
},
|
|
3775
3739
|
{
|
|
3776
3740
|
"kind": "method",
|
|
3777
|
-
"name": "
|
|
3741
|
+
"name": "resetItems",
|
|
3742
|
+
"privacy": "private",
|
|
3778
3743
|
"return": {
|
|
3779
3744
|
"type": {
|
|
3780
3745
|
"text": "void"
|
|
3781
3746
|
}
|
|
3747
|
+
},
|
|
3748
|
+
"inheritedFrom": {
|
|
3749
|
+
"name": "Accordion",
|
|
3750
|
+
"module": "src/accordion/accordion.ts"
|
|
3782
3751
|
}
|
|
3783
3752
|
},
|
|
3784
3753
|
{
|
|
3785
|
-
"kind": "
|
|
3786
|
-
"name": "
|
|
3754
|
+
"kind": "field",
|
|
3755
|
+
"name": "removeItemListeners",
|
|
3787
3756
|
"privacy": "private",
|
|
3788
|
-
"
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
"text": "MouseEvent"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3760
|
+
}
|
|
3796
3761
|
},
|
|
3797
3762
|
{
|
|
3798
|
-
"kind": "
|
|
3799
|
-
"name": "
|
|
3763
|
+
"kind": "field",
|
|
3764
|
+
"name": "activeItemChange",
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"inheritedFrom": {
|
|
3767
|
+
"name": "Accordion",
|
|
3768
|
+
"module": "src/accordion/accordion.ts"
|
|
3769
|
+
}
|
|
3800
3770
|
},
|
|
3801
3771
|
{
|
|
3802
3772
|
"kind": "method",
|
|
3803
|
-
"name": "
|
|
3773
|
+
"name": "getItemIds",
|
|
3774
|
+
"privacy": "private",
|
|
3804
3775
|
"return": {
|
|
3805
3776
|
"type": {
|
|
3806
|
-
"text": "
|
|
3777
|
+
"text": "Array<string | null>"
|
|
3807
3778
|
}
|
|
3779
|
+
},
|
|
3780
|
+
"inheritedFrom": {
|
|
3781
|
+
"name": "Accordion",
|
|
3782
|
+
"module": "src/accordion/accordion.ts"
|
|
3808
3783
|
}
|
|
3809
3784
|
},
|
|
3810
3785
|
{
|
|
3811
3786
|
"kind": "method",
|
|
3812
|
-
"name": "
|
|
3787
|
+
"name": "isSingleExpandMode",
|
|
3813
3788
|
"privacy": "private",
|
|
3814
3789
|
"return": {
|
|
3815
3790
|
"type": {
|
|
3816
|
-
"text": "
|
|
3791
|
+
"text": "boolean"
|
|
3817
3792
|
}
|
|
3818
3793
|
},
|
|
3819
|
-
"
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
"text": "AIStatus | null"
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3826
|
-
]
|
|
3794
|
+
"inheritedFrom": {
|
|
3795
|
+
"name": "Accordion",
|
|
3796
|
+
"module": "src/accordion/accordion.ts"
|
|
3797
|
+
}
|
|
3827
3798
|
},
|
|
3828
3799
|
{
|
|
3829
|
-
"kind": "
|
|
3830
|
-
"name": "
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "handleItemKeyDown",
|
|
3831
3802
|
"privacy": "private",
|
|
3832
|
-
"
|
|
3833
|
-
"
|
|
3834
|
-
|
|
3835
|
-
}
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Accordion",
|
|
3805
|
+
"module": "src/accordion/accordion.ts"
|
|
3836
3806
|
}
|
|
3837
3807
|
},
|
|
3838
3808
|
{
|
|
3839
|
-
"kind": "
|
|
3840
|
-
"name": "
|
|
3809
|
+
"kind": "field",
|
|
3810
|
+
"name": "handleItemFocus",
|
|
3841
3811
|
"privacy": "private",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
|
|
3845
|
-
}
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "Accordion",
|
|
3814
|
+
"module": "src/accordion/accordion.ts"
|
|
3846
3815
|
}
|
|
3847
3816
|
},
|
|
3848
3817
|
{
|
|
3849
3818
|
"kind": "method",
|
|
3850
|
-
"name": "
|
|
3819
|
+
"name": "adjust",
|
|
3851
3820
|
"privacy": "private",
|
|
3852
3821
|
"return": {
|
|
3853
3822
|
"type": {
|
|
3854
3823
|
"text": "void"
|
|
3855
3824
|
}
|
|
3825
|
+
},
|
|
3826
|
+
"parameters": [
|
|
3827
|
+
{
|
|
3828
|
+
"name": "adjustment",
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "number"
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
],
|
|
3834
|
+
"inheritedFrom": {
|
|
3835
|
+
"name": "Accordion",
|
|
3836
|
+
"module": "src/accordion/accordion.ts"
|
|
3856
3837
|
}
|
|
3857
3838
|
},
|
|
3858
3839
|
{
|
|
3859
3840
|
"kind": "method",
|
|
3860
|
-
"name": "
|
|
3841
|
+
"name": "focusItem",
|
|
3842
|
+
"privacy": "private",
|
|
3861
3843
|
"return": {
|
|
3862
3844
|
"type": {
|
|
3863
|
-
"text": "
|
|
3845
|
+
"text": "void"
|
|
3864
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "Accordion",
|
|
3850
|
+
"module": "src/accordion/accordion.ts"
|
|
3865
3851
|
}
|
|
3866
3852
|
},
|
|
3867
3853
|
{
|
|
@@ -3976,88 +3962,102 @@
|
|
|
3976
3962
|
}
|
|
3977
3963
|
}
|
|
3978
3964
|
],
|
|
3979
|
-
"
|
|
3980
|
-
|
|
3981
|
-
|
|
3965
|
+
"events": [
|
|
3966
|
+
{
|
|
3967
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3968
|
+
"name": "change",
|
|
3969
|
+
"inheritedFrom": {
|
|
3970
|
+
"name": "Accordion",
|
|
3971
|
+
"module": "src/accordion/accordion.ts"
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
]
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "variable",
|
|
3978
|
+
"name": "foundationAccordionShadowOptions",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "ShadowRootInit"
|
|
3982
3981
|
},
|
|
3983
|
-
"
|
|
3984
|
-
"customElement": true
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3985
3983
|
},
|
|
3986
3984
|
{
|
|
3987
3985
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionConfig",
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "object"
|
|
3989
|
+
},
|
|
3990
|
+
"default": "{}"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "variable",
|
|
3994
|
+
"name": "foundationAccordion",
|
|
3995
|
+
"description": "The Foundation Accordion",
|
|
3996
|
+
"privacy": "public"
|
|
3989
3997
|
}
|
|
3990
3998
|
],
|
|
3991
3999
|
"exports": [
|
|
3992
4000
|
{
|
|
3993
4001
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
4002
|
+
"name": "Accordion",
|
|
3995
4003
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/
|
|
4004
|
+
"name": "Accordion",
|
|
4005
|
+
"module": "src/accordion/accordion.ts"
|
|
3998
4006
|
}
|
|
3999
4007
|
},
|
|
4000
4008
|
{
|
|
4001
4009
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
4003
|
-
"declaration": {
|
|
4004
|
-
"name": "foundationAiIndicator",
|
|
4005
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
|
-
}
|
|
4007
|
-
}
|
|
4008
|
-
]
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/ai-indicator/index.ts",
|
|
4013
|
-
"declarations": [],
|
|
4014
|
-
"exports": [
|
|
4015
|
-
{
|
|
4016
|
-
"kind": "js",
|
|
4017
|
-
"name": "AiIndicator",
|
|
4010
|
+
"name": "foundationAccordionShadowOptions",
|
|
4018
4011
|
"declaration": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "
|
|
4012
|
+
"name": "foundationAccordionShadowOptions",
|
|
4013
|
+
"module": "src/accordion/accordion.ts"
|
|
4021
4014
|
}
|
|
4022
4015
|
},
|
|
4023
4016
|
{
|
|
4024
4017
|
"kind": "js",
|
|
4025
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionConfig",
|
|
4026
4019
|
"declaration": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "
|
|
4020
|
+
"name": "defaultAccordionConfig",
|
|
4021
|
+
"module": "src/accordion/accordion.ts"
|
|
4029
4022
|
}
|
|
4030
4023
|
},
|
|
4031
4024
|
{
|
|
4032
4025
|
"kind": "js",
|
|
4033
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordion",
|
|
4034
4027
|
"declaration": {
|
|
4035
|
-
"name": "
|
|
4036
|
-
"module": "
|
|
4028
|
+
"name": "foundationAccordion",
|
|
4029
|
+
"module": "src/accordion/accordion.ts"
|
|
4037
4030
|
}
|
|
4038
|
-
}
|
|
4031
|
+
}
|
|
4032
|
+
]
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "javascript-module",
|
|
4036
|
+
"path": "src/accordion/index.ts",
|
|
4037
|
+
"declarations": [],
|
|
4038
|
+
"exports": [
|
|
4039
4039
|
{
|
|
4040
4040
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
4041
|
+
"name": "*",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./accordion.template"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "*",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./accordion.styles"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "*",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./accordion"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|