@genesislcap/foundation-ui 15.62.0 → 15.64.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 +1201 -1201
- 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
|
@@ -1495,11 +1495,65 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"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",
|
|
1503
1557
|
"return": {
|
|
1504
1558
|
"type": {
|
|
1505
1559
|
"text": "ElementStyles"
|
|
@@ -1524,204 +1578,329 @@
|
|
|
1524
1578
|
"exports": [
|
|
1525
1579
|
{
|
|
1526
1580
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1581
|
+
"name": "actionsMenuBaseStyles",
|
|
1528
1582
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"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"
|
|
1531
1593
|
}
|
|
1532
1594
|
}
|
|
1533
1595
|
]
|
|
1534
1596
|
},
|
|
1535
1597
|
{
|
|
1536
1598
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/
|
|
1599
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1538
1600
|
"declarations": [
|
|
1539
1601
|
{
|
|
1540
1602
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1542
|
-
"return": {
|
|
1543
|
-
"type": {
|
|
1544
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1545
|
-
}
|
|
1546
|
-
},
|
|
1603
|
+
"name": "menuTemplate",
|
|
1547
1604
|
"parameters": [
|
|
1548
1605
|
{
|
|
1549
|
-
"name": "
|
|
1606
|
+
"name": "prefix",
|
|
1550
1607
|
"type": {
|
|
1551
|
-
"text": "
|
|
1608
|
+
"text": "string"
|
|
1552
1609
|
}
|
|
1553
|
-
}
|
|
1610
|
+
}
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "function",
|
|
1615
|
+
"name": "singleOptionTemplate",
|
|
1616
|
+
"parameters": [
|
|
1554
1617
|
{
|
|
1555
|
-
"name": "
|
|
1618
|
+
"name": "prefix",
|
|
1556
1619
|
"type": {
|
|
1557
|
-
"text": "
|
|
1620
|
+
"text": "string"
|
|
1558
1621
|
}
|
|
1559
1622
|
}
|
|
1560
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`"
|
|
1561
1632
|
}
|
|
1562
1633
|
],
|
|
1563
1634
|
"exports": [
|
|
1564
1635
|
{
|
|
1565
1636
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1637
|
+
"name": "menuTemplate",
|
|
1567
1638
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"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"
|
|
1570
1657
|
}
|
|
1571
1658
|
}
|
|
1572
1659
|
]
|
|
1573
1660
|
},
|
|
1574
1661
|
{
|
|
1575
1662
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/
|
|
1663
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1577
1664
|
"declarations": [
|
|
1578
1665
|
{
|
|
1579
1666
|
"kind": "class",
|
|
1580
1667
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1582
|
-
"
|
|
1583
|
-
"name": "FASTAccordionItem",
|
|
1584
|
-
"package": "@microsoft/fast-components"
|
|
1585
|
-
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1587
|
-
"customElement": true,
|
|
1588
|
-
"attributes": [
|
|
1668
|
+
"name": "ActionsMenu",
|
|
1669
|
+
"members": [
|
|
1589
1670
|
{
|
|
1590
|
-
"
|
|
1671
|
+
"kind": "field",
|
|
1672
|
+
"name": "actions",
|
|
1591
1673
|
"type": {
|
|
1592
|
-
"text": "
|
|
1593
|
-
},
|
|
1594
|
-
"default": "2",
|
|
1595
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1596
|
-
"fieldName": "headinglevel",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "AccordionItem",
|
|
1599
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1674
|
+
"text": "ActionMenuItem[]"
|
|
1600
1675
|
}
|
|
1601
1676
|
},
|
|
1602
1677
|
{
|
|
1678
|
+
"kind": "field",
|
|
1679
|
+
"name": "isVertical",
|
|
1603
1680
|
"type": {
|
|
1604
1681
|
"text": "boolean"
|
|
1605
1682
|
},
|
|
1606
|
-
"default": "false"
|
|
1607
|
-
"description": "Expands or collapses the item.",
|
|
1608
|
-
"fieldName": "expanded",
|
|
1609
|
-
"inheritedFrom": {
|
|
1610
|
-
"name": "AccordionItem",
|
|
1611
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1612
|
-
}
|
|
1683
|
+
"default": "false"
|
|
1613
1684
|
},
|
|
1614
|
-
{
|
|
1615
|
-
"name": "id",
|
|
1616
|
-
"type": {
|
|
1617
|
-
"text": "string"
|
|
1618
|
-
},
|
|
1619
|
-
"description": "The item ID",
|
|
1620
|
-
"fieldName": "id",
|
|
1621
|
-
"inheritedFrom": {
|
|
1622
|
-
"name": "AccordionItem",
|
|
1623
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
],
|
|
1627
|
-
"members": [
|
|
1628
1685
|
{
|
|
1629
1686
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1687
|
+
"name": "addDefaultActions",
|
|
1631
1688
|
"type": {
|
|
1632
|
-
"text": "
|
|
1689
|
+
"text": "boolean"
|
|
1633
1690
|
},
|
|
1634
|
-
"
|
|
1635
|
-
"default": "2",
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1637
|
-
"inheritedFrom": {
|
|
1638
|
-
"name": "AccordionItem",
|
|
1639
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1640
|
-
}
|
|
1691
|
+
"default": "true"
|
|
1641
1692
|
},
|
|
1642
1693
|
{
|
|
1643
1694
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1695
|
+
"name": "autoCloseOnAction",
|
|
1645
1696
|
"type": {
|
|
1646
1697
|
"text": "boolean"
|
|
1647
1698
|
},
|
|
1648
|
-
"
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1651
|
-
"inheritedFrom": {
|
|
1652
|
-
"name": "AccordionItem",
|
|
1653
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1654
|
-
}
|
|
1699
|
+
"default": "true"
|
|
1655
1700
|
},
|
|
1656
1701
|
{
|
|
1657
1702
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1703
|
+
"name": "classNames",
|
|
1659
1704
|
"type": {
|
|
1660
1705
|
"text": "string"
|
|
1661
|
-
},
|
|
1662
|
-
"privacy": "public",
|
|
1663
|
-
"description": "The item ID",
|
|
1664
|
-
"inheritedFrom": {
|
|
1665
|
-
"name": "AccordionItem",
|
|
1666
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1667
1706
|
}
|
|
1668
1707
|
},
|
|
1669
1708
|
{
|
|
1670
1709
|
"kind": "field",
|
|
1671
|
-
"name": "
|
|
1672
|
-
"
|
|
1673
|
-
|
|
1674
|
-
"name": "AccordionItem",
|
|
1675
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1710
|
+
"name": "definition",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "any"
|
|
1676
1713
|
}
|
|
1677
1714
|
},
|
|
1678
1715
|
{
|
|
1679
1716
|
"kind": "field",
|
|
1680
|
-
"name": "
|
|
1717
|
+
"name": "name",
|
|
1681
1718
|
"type": {
|
|
1682
|
-
"text": "
|
|
1719
|
+
"text": "string"
|
|
1683
1720
|
},
|
|
1684
|
-
"
|
|
1685
|
-
"default": "void 0",
|
|
1686
|
-
"inheritedFrom": {
|
|
1687
|
-
"name": "FoundationElement",
|
|
1688
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1689
|
-
}
|
|
1721
|
+
"default": "'Actions'"
|
|
1690
1722
|
},
|
|
1691
1723
|
{
|
|
1692
1724
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1725
|
+
"name": "open",
|
|
1694
1726
|
"type": {
|
|
1695
|
-
"text": "
|
|
1727
|
+
"text": "boolean"
|
|
1696
1728
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1699
|
-
"inheritedFrom": {
|
|
1700
|
-
"name": "FoundationElement",
|
|
1701
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1702
|
-
}
|
|
1729
|
+
"default": "false"
|
|
1703
1730
|
},
|
|
1704
1731
|
{
|
|
1705
1732
|
"kind": "field",
|
|
1706
|
-
"name": "
|
|
1733
|
+
"name": "buttonAppearance",
|
|
1707
1734
|
"type": {
|
|
1708
|
-
"text": "
|
|
1709
|
-
},
|
|
1710
|
-
"privacy": "public",
|
|
1711
|
-
"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.",
|
|
1712
|
-
"inheritedFrom": {
|
|
1713
|
-
"name": "FoundationElement",
|
|
1714
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1735
|
+
"text": "string"
|
|
1715
1736
|
}
|
|
1716
1737
|
},
|
|
1717
1738
|
{
|
|
1718
|
-
"kind": "
|
|
1719
|
-
"name": "
|
|
1720
|
-
"
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1739
|
+
"kind": "field",
|
|
1740
|
+
"name": "hideDisabled",
|
|
1741
|
+
"type": {
|
|
1742
|
+
"text": "boolean"
|
|
1743
|
+
},
|
|
1744
|
+
"default": "false"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "field",
|
|
1748
|
+
"name": "hideMenuSingleOption",
|
|
1749
|
+
"type": {
|
|
1750
|
+
"text": "boolean"
|
|
1751
|
+
},
|
|
1752
|
+
"default": "false"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "singleOption",
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "ActionMenuItem"
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"kind": "field",
|
|
1763
|
+
"name": "actionsMenu",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "HTMLElement"
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "field",
|
|
1770
|
+
"name": "actionsOpener",
|
|
1771
|
+
"type": {
|
|
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
|
+
}
|
|
1725
1904
|
},
|
|
1726
1905
|
"inheritedFrom": {
|
|
1727
1906
|
"name": "FoundationElement",
|
|
@@ -1787,109 +1966,107 @@
|
|
|
1787
1966
|
}
|
|
1788
1967
|
}
|
|
1789
1968
|
],
|
|
1790
|
-
"
|
|
1969
|
+
"attributes": [
|
|
1791
1970
|
{
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
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"
|
|
1798
2032
|
}
|
|
1799
|
-
]
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1804
|
-
"type": {
|
|
1805
|
-
"text": "ShadowRootInit"
|
|
1806
|
-
},
|
|
1807
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"kind": "variable",
|
|
1811
|
-
"name": "defaultAccordionItemConfig",
|
|
1812
|
-
"type": {
|
|
1813
|
-
"text": "object"
|
|
2033
|
+
],
|
|
2034
|
+
"superclass": {
|
|
2035
|
+
"name": "FoundationElement",
|
|
2036
|
+
"package": "@microsoft/fast-foundation"
|
|
1814
2037
|
},
|
|
1815
|
-
"
|
|
2038
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2039
|
+
"customElement": true
|
|
1816
2040
|
},
|
|
1817
2041
|
{
|
|
1818
2042
|
"kind": "variable",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The Foundation
|
|
2043
|
+
"name": "foundationActionsMenu",
|
|
2044
|
+
"description": "The Foundation Actions Menu",
|
|
1821
2045
|
"privacy": "public"
|
|
1822
2046
|
}
|
|
1823
2047
|
],
|
|
1824
2048
|
"exports": [
|
|
1825
2049
|
{
|
|
1826
2050
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1828
|
-
"declaration": {
|
|
1829
|
-
"name": "AccordionItem",
|
|
1830
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "js",
|
|
1835
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1836
|
-
"declaration": {
|
|
1837
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1839
|
-
}
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"kind": "js",
|
|
1843
|
-
"name": "defaultAccordionItemConfig",
|
|
1844
|
-
"declaration": {
|
|
1845
|
-
"name": "defaultAccordionItemConfig",
|
|
1846
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1847
|
-
}
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"kind": "js",
|
|
1851
|
-
"name": "foundationAccordionItem",
|
|
1852
|
-
"declaration": {
|
|
1853
|
-
"name": "foundationAccordionItem",
|
|
1854
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
]
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/accordion-item/index.ts",
|
|
1862
|
-
"declarations": [],
|
|
1863
|
-
"exports": [
|
|
1864
|
-
{
|
|
1865
|
-
"kind": "js",
|
|
1866
|
-
"name": "*",
|
|
1867
|
-
"declaration": {
|
|
1868
|
-
"name": "*",
|
|
1869
|
-
"package": "./accordion-item.template"
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "js",
|
|
1874
|
-
"name": "*",
|
|
2051
|
+
"name": "ActionsMenu",
|
|
1875
2052
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"
|
|
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
|
-
"
|
|
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,7 +2074,7 @@
|
|
|
1897
2074
|
"name": "*",
|
|
1898
2075
|
"declaration": {
|
|
1899
2076
|
"name": "*",
|
|
1900
|
-
"package": "./styles"
|
|
2077
|
+
"package": "./actions-menu.styles"
|
|
1901
2078
|
}
|
|
1902
2079
|
},
|
|
1903
2080
|
{
|
|
@@ -1905,49 +2082,26 @@
|
|
|
1905
2082
|
"name": "*",
|
|
1906
2083
|
"declaration": {
|
|
1907
2084
|
"name": "*",
|
|
1908
|
-
"package": "./
|
|
2085
|
+
"package": "./actions-menu.template"
|
|
1909
2086
|
}
|
|
1910
2087
|
},
|
|
1911
2088
|
{
|
|
1912
2089
|
"kind": "js",
|
|
1913
2090
|
"name": "*",
|
|
1914
2091
|
"declaration": {
|
|
1915
|
-
"name": "*",
|
|
1916
|
-
"package": "./
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
]
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
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
|
-
]
|
|
1947
|
-
},
|
|
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
|
-
},
|
|
2183
|
+
"name": "AccordionItem",
|
|
2184
|
+
"superclass": {
|
|
2185
|
+
"name": "FASTAccordionItem",
|
|
2186
|
+
"package": "@microsoft/fast-components"
|
|
2187
|
+
},
|
|
2188
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2189
|
+
"customElement": true,
|
|
2190
|
+
"attributes": [
|
|
2079
2191
|
{
|
|
2080
|
-
"
|
|
2081
|
-
"name": "addDefaultActions",
|
|
2192
|
+
"name": "heading-level",
|
|
2082
2193
|
"type": {
|
|
2083
|
-
"text": "
|
|
2194
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2084
2195
|
},
|
|
2085
|
-
"default": "
|
|
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"
|
|
2202
|
+
}
|
|
2086
2203
|
},
|
|
2087
2204
|
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "autoCloseOnAction",
|
|
2090
2205
|
"type": {
|
|
2091
2206
|
"text": "boolean"
|
|
2092
2207
|
},
|
|
2093
|
-
"default": "
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
"
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"text": "string"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "definition",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "any"
|
|
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"
|
|
2107
2214
|
}
|
|
2108
2215
|
},
|
|
2109
2216
|
{
|
|
2110
|
-
"
|
|
2111
|
-
"name": "name",
|
|
2217
|
+
"name": "id",
|
|
2112
2218
|
"type": {
|
|
2113
2219
|
"text": "string"
|
|
2114
2220
|
},
|
|
2115
|
-
"
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
"type": {
|
|
2121
|
-
"text": "boolean"
|
|
2122
|
-
},
|
|
2123
|
-
"default": "false"
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"kind": "field",
|
|
2127
|
-
"name": "buttonAppearance",
|
|
2128
|
-
"type": {
|
|
2129
|
-
"text": "string"
|
|
2221
|
+
"description": "The item ID",
|
|
2222
|
+
"fieldName": "id",
|
|
2223
|
+
"inheritedFrom": {
|
|
2224
|
+
"name": "AccordionItem",
|
|
2225
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
2226
|
}
|
|
2131
|
-
}
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"members": [
|
|
2132
2230
|
{
|
|
2133
2231
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2232
|
+
"name": "headinglevel",
|
|
2135
2233
|
"type": {
|
|
2136
|
-
"text": "
|
|
2234
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2137
2235
|
},
|
|
2138
|
-
"
|
|
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
|
+
}
|
|
2139
2243
|
},
|
|
2140
2244
|
{
|
|
2141
2245
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2246
|
+
"name": "expanded",
|
|
2143
2247
|
"type": {
|
|
2144
2248
|
"text": "boolean"
|
|
2145
2249
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
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"
|
|
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"
|
|
2167
2256
|
}
|
|
2168
2257
|
},
|
|
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
|
-
]
|
|
2213
|
-
},
|
|
2214
2258
|
{
|
|
2215
2259
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2260
|
+
"name": "id",
|
|
2217
2261
|
"type": {
|
|
2218
|
-
"text": "
|
|
2262
|
+
"text": "string"
|
|
2219
2263
|
},
|
|
2220
|
-
"
|
|
2264
|
+
"privacy": "public",
|
|
2265
|
+
"description": "The item ID",
|
|
2266
|
+
"inheritedFrom": {
|
|
2267
|
+
"name": "AccordionItem",
|
|
2268
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2269
|
+
}
|
|
2221
2270
|
},
|
|
2222
2271
|
{
|
|
2223
2272
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
"parameters": [
|
|
2231
|
-
{
|
|
2232
|
-
"name": "name",
|
|
2233
|
-
"type": {
|
|
2234
|
-
"text": "string | ((rowData: any) => string)"
|
|
2235
|
-
}
|
|
2236
|
-
}
|
|
2237
|
-
]
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "method",
|
|
2241
|
-
"name": "getTemplate",
|
|
2242
|
-
"parameters": [
|
|
2243
|
-
{
|
|
2244
|
-
"name": "prefix",
|
|
2245
|
-
"type": {
|
|
2246
|
-
"text": "string"
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
]
|
|
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,122 +2484,111 @@
|
|
|
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/ai-
|
|
2494
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2495
2495
|
"declarations": [
|
|
2496
2496
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2497
|
+
"kind": "function",
|
|
2498
|
+
"name": "foundationAiIndicatorStyles",
|
|
2499
|
+
"return": {
|
|
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
|
+
]
|
|
2500
2518
|
}
|
|
2501
2519
|
],
|
|
2502
2520
|
"exports": [
|
|
2503
2521
|
{
|
|
2504
2522
|
"kind": "js",
|
|
2505
|
-
"name": "
|
|
2523
|
+
"name": "foundationAiIndicatorStyles",
|
|
2506
2524
|
"declaration": {
|
|
2507
|
-
"name": "
|
|
2508
|
-
"module": "src/ai-
|
|
2525
|
+
"name": "foundationAiIndicatorStyles",
|
|
2526
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2509
2527
|
}
|
|
2510
2528
|
}
|
|
2511
2529
|
]
|
|
2512
2530
|
},
|
|
2513
2531
|
{
|
|
2514
2532
|
"kind": "javascript-module",
|
|
2515
|
-
"path": "src/ai-
|
|
2533
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2516
2534
|
"declarations": [
|
|
2517
2535
|
{
|
|
2518
2536
|
"kind": "variable",
|
|
2519
|
-
"name": "
|
|
2537
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2520
2538
|
"type": {
|
|
2521
|
-
"text": "ViewTemplate<
|
|
2539
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2522
2540
|
},
|
|
2523
|
-
"default": "html`\n ${(x) =>
|
|
2541
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2524
2542
|
}
|
|
2525
2543
|
],
|
|
2526
2544
|
"exports": [
|
|
2527
2545
|
{
|
|
2528
2546
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2547
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2530
2548
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/ai-
|
|
2549
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2550
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2533
2551
|
}
|
|
2534
2552
|
}
|
|
2535
2553
|
]
|
|
2536
2554
|
},
|
|
2537
2555
|
{
|
|
2538
2556
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/ai-
|
|
2557
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2540
2558
|
"declarations": [
|
|
2541
2559
|
{
|
|
2542
2560
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2561
|
+
"description": "",
|
|
2562
|
+
"name": "AiIndicator",
|
|
2545
2563
|
"members": [
|
|
2546
2564
|
{
|
|
2547
2565
|
"kind": "field",
|
|
2548
|
-
"name": "providerRegistry",
|
|
2549
|
-
"type": {
|
|
2550
|
-
"text": "AIProviderRegistry"
|
|
2551
|
-
}
|
|
2552
|
-
},
|
|
2553
|
-
{
|
|
2554
|
-
"kind": "field",
|
|
2555
|
-
"name": "placeholder",
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "string"
|
|
2558
|
-
},
|
|
2559
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"kind": "field",
|
|
2563
|
-
"name": "disabled",
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "boolean"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
{
|
|
2569
|
-
"kind": "field",
|
|
2570
|
-
"name": "inputValue",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "string"
|
|
2573
|
-
},
|
|
2574
|
-
"default": "''"
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
"kind": "field",
|
|
2578
|
-
"name": "isInterpreting",
|
|
2566
|
+
"name": "providerRegistry",
|
|
2579
2567
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2582
|
-
"default": "false"
|
|
2568
|
+
"text": "AIProviderRegistry"
|
|
2569
|
+
}
|
|
2583
2570
|
},
|
|
2584
2571
|
{
|
|
2585
2572
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2573
|
+
"name": "aiProvider",
|
|
2587
2574
|
"type": {
|
|
2588
|
-
"text": "
|
|
2575
|
+
"text": "AIProvider | undefined"
|
|
2589
2576
|
},
|
|
2590
|
-
"
|
|
2577
|
+
"privacy": "private",
|
|
2578
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2579
|
+
"readonly": true
|
|
2591
2580
|
},
|
|
2592
2581
|
{
|
|
2593
2582
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2583
|
+
"name": "status",
|
|
2595
2584
|
"type": {
|
|
2596
|
-
"text": "
|
|
2585
|
+
"text": "AIStatus | null"
|
|
2597
2586
|
},
|
|
2598
|
-
"default": "
|
|
2587
|
+
"default": "null"
|
|
2599
2588
|
},
|
|
2600
2589
|
{
|
|
2601
2590
|
"kind": "field",
|
|
2602
|
-
"name": "
|
|
2591
|
+
"name": "open",
|
|
2603
2592
|
"type": {
|
|
2604
2593
|
"text": "boolean"
|
|
2605
2594
|
},
|
|
@@ -2607,15 +2596,15 @@
|
|
|
2607
2596
|
},
|
|
2608
2597
|
{
|
|
2609
2598
|
"kind": "field",
|
|
2610
|
-
"name": "
|
|
2599
|
+
"name": "state",
|
|
2611
2600
|
"type": {
|
|
2612
|
-
"text": "
|
|
2601
|
+
"text": "AIIndicatorState"
|
|
2613
2602
|
},
|
|
2614
|
-
"default": "
|
|
2603
|
+
"default": "'none'"
|
|
2615
2604
|
},
|
|
2616
2605
|
{
|
|
2617
2606
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2607
|
+
"name": "isInstalling",
|
|
2619
2608
|
"type": {
|
|
2620
2609
|
"text": "boolean"
|
|
2621
2610
|
},
|
|
@@ -2623,33 +2612,29 @@
|
|
|
2623
2612
|
},
|
|
2624
2613
|
{
|
|
2625
2614
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2615
|
+
"name": "pollTimer",
|
|
2627
2616
|
"type": {
|
|
2628
|
-
"text": "
|
|
2617
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2629
2618
|
},
|
|
2630
|
-
"privacy": "
|
|
2619
|
+
"privacy": "private",
|
|
2620
|
+
"default": "null"
|
|
2631
2621
|
},
|
|
2632
2622
|
{
|
|
2633
2623
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2635
|
-
"
|
|
2636
|
-
"text": "(() => void) | null"
|
|
2637
|
-
},
|
|
2638
|
-
"privacy": "private",
|
|
2639
|
-
"default": "null"
|
|
2624
|
+
"name": "clickOutside",
|
|
2625
|
+
"privacy": "private"
|
|
2640
2626
|
},
|
|
2641
2627
|
{
|
|
2642
2628
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2629
|
+
"name": "chromeStatusLabel",
|
|
2644
2630
|
"type": {
|
|
2645
|
-
"text": "
|
|
2631
|
+
"text": "string | null"
|
|
2646
2632
|
},
|
|
2647
|
-
"
|
|
2648
|
-
"default": "null"
|
|
2633
|
+
"readonly": true
|
|
2649
2634
|
},
|
|
2650
2635
|
{
|
|
2651
2636
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2637
|
+
"name": "canInstall",
|
|
2653
2638
|
"type": {
|
|
2654
2639
|
"text": "boolean"
|
|
2655
2640
|
},
|
|
@@ -2657,65 +2642,69 @@
|
|
|
2657
2642
|
},
|
|
2658
2643
|
{
|
|
2659
2644
|
"kind": "field",
|
|
2660
|
-
"name": "
|
|
2645
|
+
"name": "isDownloading",
|
|
2661
2646
|
"type": {
|
|
2662
|
-
"text": "
|
|
2647
|
+
"text": "boolean"
|
|
2663
2648
|
},
|
|
2664
2649
|
"readonly": true
|
|
2665
2650
|
},
|
|
2666
2651
|
{
|
|
2667
2652
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2669
|
-
"privacy": "private",
|
|
2653
|
+
"name": "openChanged",
|
|
2670
2654
|
"return": {
|
|
2671
2655
|
"type": {
|
|
2672
|
-
"text": "
|
|
2656
|
+
"text": "void"
|
|
2673
2657
|
}
|
|
2674
|
-
}
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"kind": "method",
|
|
2662
|
+
"name": "handleClickOutside",
|
|
2663
|
+
"privacy": "private",
|
|
2675
2664
|
"parameters": [
|
|
2676
2665
|
{
|
|
2677
|
-
"name": "
|
|
2666
|
+
"name": "event",
|
|
2678
2667
|
"type": {
|
|
2679
|
-
"text": "
|
|
2668
|
+
"text": "MouseEvent"
|
|
2680
2669
|
}
|
|
2681
2670
|
}
|
|
2682
2671
|
]
|
|
2683
2672
|
},
|
|
2684
2673
|
{
|
|
2685
2674
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2675
|
+
"name": "toggleDropdown"
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"kind": "method",
|
|
2679
|
+
"name": "refreshStatus",
|
|
2687
2680
|
"return": {
|
|
2688
2681
|
"type": {
|
|
2689
|
-
"text": "void"
|
|
2682
|
+
"text": "Promise<void>"
|
|
2690
2683
|
}
|
|
2691
2684
|
}
|
|
2692
2685
|
},
|
|
2693
2686
|
{
|
|
2694
2687
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2688
|
+
"name": "deriveState",
|
|
2689
|
+
"privacy": "private",
|
|
2696
2690
|
"return": {
|
|
2697
2691
|
"type": {
|
|
2698
|
-
"text": "
|
|
2692
|
+
"text": "AIIndicatorState"
|
|
2699
2693
|
}
|
|
2700
2694
|
},
|
|
2701
2695
|
"parameters": [
|
|
2702
2696
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "number"
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "clauseIndex",
|
|
2697
|
+
"name": "s",
|
|
2710
2698
|
"type": {
|
|
2711
|
-
"text": "
|
|
2699
|
+
"text": "AIStatus | null"
|
|
2712
2700
|
}
|
|
2713
2701
|
}
|
|
2714
2702
|
]
|
|
2715
2703
|
},
|
|
2716
2704
|
{
|
|
2717
2705
|
"kind": "method",
|
|
2718
|
-
"name": "
|
|
2706
|
+
"name": "maybeStartPolling",
|
|
2707
|
+
"privacy": "private",
|
|
2719
2708
|
"return": {
|
|
2720
2709
|
"type": {
|
|
2721
2710
|
"text": "void"
|
|
@@ -2724,24 +2713,32 @@
|
|
|
2724
2713
|
},
|
|
2725
2714
|
{
|
|
2726
2715
|
"kind": "method",
|
|
2727
|
-
"name": "
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
"kind": "method",
|
|
2735
|
-
"name": "clear"
|
|
2716
|
+
"name": "startPolling",
|
|
2717
|
+
"privacy": "private",
|
|
2718
|
+
"return": {
|
|
2719
|
+
"type": {
|
|
2720
|
+
"text": "void"
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2736
2723
|
},
|
|
2737
2724
|
{
|
|
2738
2725
|
"kind": "method",
|
|
2739
|
-
"name": "
|
|
2726
|
+
"name": "stopPolling",
|
|
2727
|
+
"privacy": "private",
|
|
2728
|
+
"return": {
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "void"
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2740
2733
|
},
|
|
2741
2734
|
{
|
|
2742
2735
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2736
|
+
"name": "onInstall",
|
|
2737
|
+
"return": {
|
|
2738
|
+
"type": {
|
|
2739
|
+
"text": "Promise<void>"
|
|
2740
|
+
}
|
|
2741
|
+
}
|
|
2745
2742
|
},
|
|
2746
2743
|
{
|
|
2747
2744
|
"kind": "field",
|
|
@@ -2855,520 +2852,296 @@
|
|
|
2855
2852
|
}
|
|
2856
2853
|
}
|
|
2857
2854
|
],
|
|
2858
|
-
"events": [
|
|
2859
|
-
{
|
|
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"
|
|
2866
|
-
}
|
|
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
2855
|
"superclass": {
|
|
2885
2856
|
"name": "FoundationElement",
|
|
2886
2857
|
"package": "@microsoft/fast-foundation"
|
|
2887
2858
|
},
|
|
2888
|
-
"tagName": "%%prefix%%-ai-
|
|
2859
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2889
2860
|
"customElement": true
|
|
2890
2861
|
},
|
|
2891
2862
|
{
|
|
2892
2863
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2894
|
-
"type": {
|
|
2895
|
-
"text": "ShadowRootInit"
|
|
2896
|
-
},
|
|
2897
|
-
"default": "undefined"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"kind": "variable",
|
|
2901
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
-
"type": {
|
|
2903
|
-
"text": "object"
|
|
2904
|
-
},
|
|
2905
|
-
"default": "{}"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "variable",
|
|
2909
|
-
"name": "foundationAiCriteriaSearch"
|
|
2864
|
+
"name": "foundationAiIndicator"
|
|
2910
2865
|
}
|
|
2911
2866
|
],
|
|
2912
2867
|
"exports": [
|
|
2913
2868
|
{
|
|
2914
2869
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "AiCriteriaSearch",
|
|
2918
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2870
|
+
"name": "AiIndicator",
|
|
2932
2871
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/ai-
|
|
2872
|
+
"name": "AiIndicator",
|
|
2873
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2935
2874
|
}
|
|
2936
2875
|
},
|
|
2937
2876
|
{
|
|
2938
2877
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2878
|
+
"name": "foundationAiIndicator",
|
|
2940
2879
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/ai-
|
|
2880
|
+
"name": "foundationAiIndicator",
|
|
2881
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2943
2882
|
}
|
|
2944
2883
|
}
|
|
2945
2884
|
]
|
|
2946
2885
|
},
|
|
2947
2886
|
{
|
|
2948
2887
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/ai-
|
|
2888
|
+
"path": "src/ai-indicator/index.ts",
|
|
2950
2889
|
"declarations": [],
|
|
2951
2890
|
"exports": [
|
|
2952
2891
|
{
|
|
2953
2892
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
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",
|
|
2893
|
+
"name": "AiIndicator",
|
|
2995
2894
|
"declaration": {
|
|
2996
|
-
"name": "
|
|
2997
|
-
"module": "./ai-
|
|
2895
|
+
"name": "AiIndicator",
|
|
2896
|
+
"module": "./ai-indicator"
|
|
2998
2897
|
}
|
|
2999
2898
|
},
|
|
3000
2899
|
{
|
|
3001
2900
|
"kind": "js",
|
|
3002
|
-
"name": "
|
|
2901
|
+
"name": "foundationAiIndicator",
|
|
3003
2902
|
"declaration": {
|
|
3004
|
-
"name": "
|
|
3005
|
-
"
|
|
2903
|
+
"name": "foundationAiIndicator",
|
|
2904
|
+
"module": "./ai-indicator"
|
|
3006
2905
|
}
|
|
3007
2906
|
},
|
|
3008
2907
|
{
|
|
3009
2908
|
"kind": "js",
|
|
3010
|
-
"name": "
|
|
2909
|
+
"name": "type",
|
|
3011
2910
|
"declaration": {
|
|
3012
|
-
"name": "
|
|
3013
|
-
"
|
|
2911
|
+
"name": "type",
|
|
2912
|
+
"module": "./ai-indicator"
|
|
3014
2913
|
}
|
|
3015
2914
|
},
|
|
3016
2915
|
{
|
|
3017
2916
|
"kind": "js",
|
|
3018
|
-
"name": "
|
|
2917
|
+
"name": "AIIndicatorState",
|
|
3019
2918
|
"declaration": {
|
|
3020
|
-
"name": "
|
|
3021
|
-
"
|
|
2919
|
+
"name": "AIIndicatorState",
|
|
2920
|
+
"module": "./ai-indicator"
|
|
3022
2921
|
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
-
"declarations": [
|
|
3030
|
-
{
|
|
3031
|
-
"kind": "function",
|
|
3032
|
-
"name": "formatValidationErrors",
|
|
3033
|
-
"return": {
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "errors",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ValidationError[]"
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
2922
|
},
|
|
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
2923
|
{
|
|
3084
2924
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
2925
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3086
2926
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"module": "
|
|
2927
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
|
+
"module": "./ai-indicator.template"
|
|
3089
2929
|
}
|
|
3090
2930
|
},
|
|
3091
2931
|
{
|
|
3092
2932
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
2933
|
+
"name": "foundationAiIndicatorStyles",
|
|
3094
2934
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"module": "
|
|
2935
|
+
"name": "foundationAiIndicatorStyles",
|
|
2936
|
+
"module": "./ai-indicator.styles"
|
|
3097
2937
|
}
|
|
3098
2938
|
}
|
|
3099
2939
|
]
|
|
3100
2940
|
},
|
|
3101
2941
|
{
|
|
3102
2942
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
2943
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3104
2944
|
"declarations": [
|
|
3105
2945
|
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
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
|
-
]
|
|
2946
|
+
"kind": "variable",
|
|
2947
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2948
|
+
"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`"
|
|
3127
2949
|
}
|
|
3128
2950
|
],
|
|
3129
2951
|
"exports": [
|
|
3130
2952
|
{
|
|
3131
2953
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
2954
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3133
2955
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
2956
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2957
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3136
2958
|
}
|
|
3137
2959
|
}
|
|
3138
2960
|
]
|
|
3139
2961
|
},
|
|
3140
2962
|
{
|
|
3141
2963
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
2964
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3143
2965
|
"declarations": [
|
|
3144
2966
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
2967
|
+
"kind": "variable",
|
|
2968
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2969
|
+
"type": {
|
|
2970
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3151
2971
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
2972
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3166
2973
|
}
|
|
3167
2974
|
],
|
|
3168
2975
|
"exports": [
|
|
3169
2976
|
{
|
|
3170
2977
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
2978
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3172
2979
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
2980
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2981
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3175
2982
|
}
|
|
3176
2983
|
}
|
|
3177
2984
|
]
|
|
3178
2985
|
},
|
|
3179
2986
|
{
|
|
3180
2987
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
2988
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3182
2989
|
"declarations": [
|
|
3183
2990
|
{
|
|
3184
2991
|
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
2992
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2993
|
+
"name": "AiCriteriaSearch",
|
|
2994
|
+
"members": [
|
|
3194
2995
|
{
|
|
3195
|
-
"
|
|
2996
|
+
"kind": "field",
|
|
2997
|
+
"name": "providerRegistry",
|
|
3196
2998
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
2999
|
+
"text": "AIProviderRegistry"
|
|
3204
3000
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3001
|
+
},
|
|
3208
3002
|
{
|
|
3209
3003
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3004
|
+
"name": "placeholder",
|
|
3211
3005
|
"type": {
|
|
3212
|
-
"text": "
|
|
3006
|
+
"text": "string"
|
|
3213
3007
|
},
|
|
3214
|
-
"
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3008
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "field",
|
|
3012
|
+
"name": "disabled",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "boolean"
|
|
3219
3015
|
}
|
|
3220
3016
|
},
|
|
3221
3017
|
{
|
|
3222
3018
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3019
|
+
"name": "inputValue",
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "string"
|
|
3022
|
+
},
|
|
3023
|
+
"default": "''"
|
|
3024
|
+
},
|
|
3025
|
+
{
|
|
3026
|
+
"kind": "field",
|
|
3027
|
+
"name": "isInterpreting",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "boolean"
|
|
3030
|
+
},
|
|
3031
|
+
"default": "false"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"kind": "field",
|
|
3035
|
+
"name": "lastValidCriteria",
|
|
3224
3036
|
"type": {
|
|
3225
3037
|
"text": "string | null"
|
|
3226
3038
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3039
|
+
"default": "null"
|
|
3232
3040
|
},
|
|
3233
3041
|
{
|
|
3234
3042
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3043
|
+
"name": "activeGroups",
|
|
3236
3044
|
"type": {
|
|
3237
|
-
"text": "
|
|
3045
|
+
"text": "CriteriaGroup[]"
|
|
3238
3046
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3047
|
+
"default": "[]"
|
|
3245
3048
|
},
|
|
3246
3049
|
{
|
|
3247
3050
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3051
|
+
"name": "showingChips",
|
|
3249
3052
|
"type": {
|
|
3250
|
-
"text": "
|
|
3053
|
+
"text": "boolean"
|
|
3251
3054
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3055
|
+
"default": "false"
|
|
3257
3056
|
},
|
|
3258
3057
|
{
|
|
3259
3058
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3059
|
+
"name": "fieldMetadata",
|
|
3060
|
+
"type": {
|
|
3061
|
+
"text": "MetadataDetail[] | string[]"
|
|
3062
|
+
},
|
|
3063
|
+
"default": "[]"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"kind": "field",
|
|
3067
|
+
"name": "isRecording",
|
|
3068
|
+
"type": {
|
|
3069
|
+
"text": "boolean"
|
|
3070
|
+
},
|
|
3071
|
+
"default": "false"
|
|
3266
3072
|
},
|
|
3267
3073
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3074
|
+
"kind": "field",
|
|
3075
|
+
"name": "textAreaRef",
|
|
3076
|
+
"type": {
|
|
3077
|
+
"text": "HTMLTextAreaElement"
|
|
3275
3078
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3079
|
+
"privacy": "public"
|
|
3280
3080
|
},
|
|
3281
3081
|
{
|
|
3282
3082
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3083
|
+
"name": "stopRecording",
|
|
3084
|
+
"type": {
|
|
3085
|
+
"text": "(() => void) | null"
|
|
3086
|
+
},
|
|
3284
3087
|
"privacy": "private",
|
|
3285
|
-
"
|
|
3286
|
-
"name": "Accordion",
|
|
3287
|
-
"module": "src/accordion/accordion.ts"
|
|
3288
|
-
}
|
|
3088
|
+
"default": "null"
|
|
3289
3089
|
},
|
|
3290
3090
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3091
|
+
"kind": "field",
|
|
3092
|
+
"name": "speechApplyDebounceTimer",
|
|
3093
|
+
"type": {
|
|
3094
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3298
3095
|
},
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3096
|
+
"privacy": "private",
|
|
3097
|
+
"default": "null"
|
|
3303
3098
|
},
|
|
3304
3099
|
{
|
|
3305
3100
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3307
|
-
"
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
}
|
|
3101
|
+
"name": "speechAvailable",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "boolean"
|
|
3104
|
+
},
|
|
3105
|
+
"readonly": true
|
|
3312
3106
|
},
|
|
3313
3107
|
{
|
|
3314
3108
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3316
|
-
"
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
}
|
|
3109
|
+
"name": "criteriaChips",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "CriteriaChip[]"
|
|
3112
|
+
},
|
|
3113
|
+
"readonly": true
|
|
3321
3114
|
},
|
|
3322
3115
|
{
|
|
3323
3116
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3117
|
+
"name": "getFieldLabel",
|
|
3325
3118
|
"privacy": "private",
|
|
3326
3119
|
"return": {
|
|
3327
3120
|
"type": {
|
|
3328
|
-
"text": "
|
|
3121
|
+
"text": "string"
|
|
3329
3122
|
}
|
|
3330
3123
|
},
|
|
3331
|
-
"
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3124
|
+
"parameters": [
|
|
3125
|
+
{
|
|
3126
|
+
"name": "fieldName",
|
|
3127
|
+
"type": {
|
|
3128
|
+
"text": "string"
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
]
|
|
3335
3132
|
},
|
|
3336
3133
|
{
|
|
3337
3134
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3339
|
-
"privacy": "private",
|
|
3135
|
+
"name": "toggleCriteriaView",
|
|
3340
3136
|
"return": {
|
|
3341
3137
|
"type": {
|
|
3342
|
-
"text": "
|
|
3138
|
+
"text": "void"
|
|
3343
3139
|
}
|
|
3344
|
-
},
|
|
3345
|
-
"inheritedFrom": {
|
|
3346
|
-
"name": "Accordion",
|
|
3347
|
-
"module": "src/accordion/accordion.ts"
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
"kind": "field",
|
|
3352
|
-
"name": "handleItemKeyDown",
|
|
3353
|
-
"privacy": "private",
|
|
3354
|
-
"inheritedFrom": {
|
|
3355
|
-
"name": "Accordion",
|
|
3356
|
-
"module": "src/accordion/accordion.ts"
|
|
3357
|
-
}
|
|
3358
|
-
},
|
|
3359
|
-
{
|
|
3360
|
-
"kind": "field",
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3366
3140
|
}
|
|
3367
3141
|
},
|
|
3368
3142
|
{
|
|
3369
3143
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3144
|
+
"name": "removeChip",
|
|
3372
3145
|
"return": {
|
|
3373
3146
|
"type": {
|
|
3374
3147
|
"text": "void"
|
|
@@ -3376,31 +3149,49 @@
|
|
|
3376
3149
|
},
|
|
3377
3150
|
"parameters": [
|
|
3378
3151
|
{
|
|
3379
|
-
"name": "
|
|
3152
|
+
"name": "groupIndex",
|
|
3153
|
+
"type": {
|
|
3154
|
+
"text": "number"
|
|
3155
|
+
}
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "clauseIndex",
|
|
3380
3159
|
"type": {
|
|
3381
3160
|
"text": "number"
|
|
3382
3161
|
}
|
|
3383
3162
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3163
|
+
]
|
|
3389
3164
|
},
|
|
3390
3165
|
{
|
|
3391
3166
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3167
|
+
"name": "clearChips",
|
|
3394
3168
|
"return": {
|
|
3395
3169
|
"type": {
|
|
3396
3170
|
"text": "void"
|
|
3397
3171
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3172
|
}
|
|
3403
3173
|
},
|
|
3174
|
+
{
|
|
3175
|
+
"kind": "method",
|
|
3176
|
+
"name": "handleSubmit"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"kind": "method",
|
|
3180
|
+
"name": "handleBlur"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"kind": "method",
|
|
3184
|
+
"name": "clear"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"kind": "method",
|
|
3188
|
+
"name": "toggleSpeechInput"
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
"kind": "method",
|
|
3192
|
+
"name": "clearSpeechApplyDebounce",
|
|
3193
|
+
"privacy": "private"
|
|
3194
|
+
},
|
|
3404
3195
|
{
|
|
3405
3196
|
"kind": "field",
|
|
3406
3197
|
"name": "_presentation",
|
|
@@ -3515,84 +3306,152 @@
|
|
|
3515
3306
|
],
|
|
3516
3307
|
"events": [
|
|
3517
3308
|
{
|
|
3518
|
-
"description": "
|
|
3519
|
-
"name": "
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3309
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3310
|
+
"name": "criteria-changed"
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3314
|
+
"name": "validation-errors"
|
|
3524
3315
|
}
|
|
3525
|
-
]
|
|
3316
|
+
],
|
|
3317
|
+
"attributes": [
|
|
3318
|
+
{
|
|
3319
|
+
"name": "placeholder",
|
|
3320
|
+
"type": {
|
|
3321
|
+
"text": "string"
|
|
3322
|
+
},
|
|
3323
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3324
|
+
"fieldName": "placeholder"
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"type": {
|
|
3328
|
+
"text": "boolean"
|
|
3329
|
+
},
|
|
3330
|
+
"fieldName": "disabled"
|
|
3331
|
+
}
|
|
3332
|
+
],
|
|
3333
|
+
"superclass": {
|
|
3334
|
+
"name": "FoundationElement",
|
|
3335
|
+
"package": "@microsoft/fast-foundation"
|
|
3336
|
+
},
|
|
3337
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3338
|
+
"customElement": true
|
|
3526
3339
|
},
|
|
3527
3340
|
{
|
|
3528
3341
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3342
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3343
|
"type": {
|
|
3531
3344
|
"text": "ShadowRootInit"
|
|
3532
3345
|
},
|
|
3533
|
-
"default": "
|
|
3346
|
+
"default": "undefined"
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "variable",
|
|
3350
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "object"
|
|
3353
|
+
},
|
|
3354
|
+
"default": "{}"
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"kind": "variable",
|
|
3358
|
+
"name": "foundationAiCriteriaSearch"
|
|
3359
|
+
}
|
|
3360
|
+
],
|
|
3361
|
+
"exports": [
|
|
3362
|
+
{
|
|
3363
|
+
"kind": "js",
|
|
3364
|
+
"name": "AiCriteriaSearch",
|
|
3365
|
+
"declaration": {
|
|
3366
|
+
"name": "AiCriteriaSearch",
|
|
3367
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
"kind": "js",
|
|
3372
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3373
|
+
"declaration": {
|
|
3374
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3375
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "js",
|
|
3380
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3381
|
+
"declaration": {
|
|
3382
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3383
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "js",
|
|
3388
|
+
"name": "foundationAiCriteriaSearch",
|
|
3389
|
+
"declaration": {
|
|
3390
|
+
"name": "foundationAiCriteriaSearch",
|
|
3391
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
]
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"kind": "javascript-module",
|
|
3398
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3399
|
+
"declarations": [],
|
|
3400
|
+
"exports": [
|
|
3401
|
+
{
|
|
3402
|
+
"kind": "js",
|
|
3403
|
+
"name": "AiCriteriaSearch",
|
|
3404
|
+
"declaration": {
|
|
3405
|
+
"name": "AiCriteriaSearch",
|
|
3406
|
+
"module": "./ai-criteria-search"
|
|
3407
|
+
}
|
|
3534
3408
|
},
|
|
3535
3409
|
{
|
|
3536
|
-
"kind": "
|
|
3537
|
-
"name": "
|
|
3538
|
-
"
|
|
3539
|
-
"
|
|
3540
|
-
|
|
3541
|
-
|
|
3410
|
+
"kind": "js",
|
|
3411
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3412
|
+
"declaration": {
|
|
3413
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3414
|
+
"module": "./ai-criteria-search"
|
|
3415
|
+
}
|
|
3542
3416
|
},
|
|
3543
|
-
{
|
|
3544
|
-
"kind": "variable",
|
|
3545
|
-
"name": "foundationAccordion",
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3548
|
-
}
|
|
3549
|
-
],
|
|
3550
|
-
"exports": [
|
|
3551
3417
|
{
|
|
3552
3418
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3419
|
+
"name": "foundationAiCriteriaSearch",
|
|
3554
3420
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "
|
|
3421
|
+
"name": "foundationAiCriteriaSearch",
|
|
3422
|
+
"module": "./ai-criteria-search"
|
|
3557
3423
|
}
|
|
3558
3424
|
},
|
|
3559
3425
|
{
|
|
3560
3426
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3427
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3428
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "
|
|
3429
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3430
|
+
"module": "./ai-criteria-search"
|
|
3565
3431
|
}
|
|
3566
3432
|
},
|
|
3567
3433
|
{
|
|
3568
3434
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3435
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3570
3436
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "
|
|
3437
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3438
|
+
"module": "./ai-criteria-search.styles"
|
|
3573
3439
|
}
|
|
3574
3440
|
},
|
|
3575
3441
|
{
|
|
3576
3442
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3443
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3578
3444
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "
|
|
3445
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3446
|
+
"module": "./ai-criteria-search.template"
|
|
3581
3447
|
}
|
|
3582
|
-
}
|
|
3583
|
-
]
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/accordion/index.ts",
|
|
3588
|
-
"declarations": [],
|
|
3589
|
-
"exports": [
|
|
3448
|
+
},
|
|
3590
3449
|
{
|
|
3591
3450
|
"kind": "js",
|
|
3592
3451
|
"name": "*",
|
|
3593
3452
|
"declaration": {
|
|
3594
3453
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3454
|
+
"package": "./validation/criteria-ir"
|
|
3596
3455
|
}
|
|
3597
3456
|
},
|
|
3598
3457
|
{
|
|
@@ -3600,7 +3459,7 @@
|
|
|
3600
3459
|
"name": "*",
|
|
3601
3460
|
"declaration": {
|
|
3602
3461
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3462
|
+
"package": "./validation/operator-map"
|
|
3604
3463
|
}
|
|
3605
3464
|
},
|
|
3606
3465
|
{
|
|
@@ -3608,18 +3467,93 @@
|
|
|
3608
3467
|
"name": "*",
|
|
3609
3468
|
"declaration": {
|
|
3610
3469
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3470
|
+
"package": "./validation/schema-validator"
|
|
3612
3471
|
}
|
|
3613
3472
|
}
|
|
3614
3473
|
]
|
|
3615
3474
|
},
|
|
3616
3475
|
{
|
|
3617
3476
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/ai-
|
|
3477
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3619
3478
|
"declarations": [
|
|
3620
3479
|
{
|
|
3621
3480
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3481
|
+
"name": "formatValidationErrors",
|
|
3482
|
+
"return": {
|
|
3483
|
+
"type": {
|
|
3484
|
+
"text": "string"
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
"parameters": [
|
|
3488
|
+
{
|
|
3489
|
+
"name": "errors",
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "ValidationError[]"
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
],
|
|
3495
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "function",
|
|
3499
|
+
"name": "showCriteriaError",
|
|
3500
|
+
"return": {
|
|
3501
|
+
"type": {
|
|
3502
|
+
"text": "void"
|
|
3503
|
+
}
|
|
3504
|
+
},
|
|
3505
|
+
"parameters": [
|
|
3506
|
+
{
|
|
3507
|
+
"name": "title",
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "string"
|
|
3510
|
+
},
|
|
3511
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"name": "body",
|
|
3515
|
+
"type": {
|
|
3516
|
+
"text": "string"
|
|
3517
|
+
},
|
|
3518
|
+
"description": "Error message to display"
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "tagName",
|
|
3522
|
+
"type": {
|
|
3523
|
+
"text": "string"
|
|
3524
|
+
},
|
|
3525
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3526
|
+
}
|
|
3527
|
+
],
|
|
3528
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3529
|
+
}
|
|
3530
|
+
],
|
|
3531
|
+
"exports": [
|
|
3532
|
+
{
|
|
3533
|
+
"kind": "js",
|
|
3534
|
+
"name": "formatValidationErrors",
|
|
3535
|
+
"declaration": {
|
|
3536
|
+
"name": "formatValidationErrors",
|
|
3537
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3538
|
+
}
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"kind": "js",
|
|
3542
|
+
"name": "showCriteriaError",
|
|
3543
|
+
"declaration": {
|
|
3544
|
+
"name": "showCriteriaError",
|
|
3545
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
]
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"kind": "javascript-module",
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3553
|
+
"declarations": [
|
|
3554
|
+
{
|
|
3555
|
+
"kind": "function",
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3623
3557
|
"return": {
|
|
3624
3558
|
"type": {
|
|
3625
3559
|
"text": "ElementStyles"
|
|
@@ -3644,224 +3578,276 @@
|
|
|
3644
3578
|
"exports": [
|
|
3645
3579
|
{
|
|
3646
3580
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3648
3582
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3651
3585
|
}
|
|
3652
3586
|
}
|
|
3653
3587
|
]
|
|
3654
3588
|
},
|
|
3655
3589
|
{
|
|
3656
3590
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3658
3592
|
"declarations": [
|
|
3659
3593
|
{
|
|
3660
|
-
"kind": "
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3594
|
+
"kind": "function",
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3596
|
+
"return": {
|
|
3597
|
+
"type": {
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3599
|
+
}
|
|
3664
3600
|
},
|
|
3665
|
-
"
|
|
3601
|
+
"parameters": [
|
|
3602
|
+
{
|
|
3603
|
+
"name": "context",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "ElementDefinitionContext"
|
|
3606
|
+
}
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "definition",
|
|
3610
|
+
"type": {
|
|
3611
|
+
"text": "FoundationElementDefinition"
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
]
|
|
3666
3615
|
}
|
|
3667
3616
|
],
|
|
3668
3617
|
"exports": [
|
|
3669
3618
|
{
|
|
3670
3619
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
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
|
]
|