@genesislcap/foundation-ui 15.64.0 → 15.64.1-alpha-1495440122.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 +923 -923
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -1526,34 +1526,11 @@
|
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
1528
|
"kind": "javascript-module",
|
|
1529
|
-
"path": "src/
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1530
1530
|
"declarations": [
|
|
1531
1531
|
{
|
|
1532
1532
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
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",
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1557
1534
|
"return": {
|
|
1558
1535
|
"type": {
|
|
1559
1536
|
"text": "ElementStyles"
|
|
@@ -1578,346 +1555,221 @@
|
|
|
1578
1555
|
"exports": [
|
|
1579
1556
|
{
|
|
1580
1557
|
"kind": "js",
|
|
1581
|
-
"name": "
|
|
1582
|
-
"declaration": {
|
|
1583
|
-
"name": "actionsMenuBaseStyles",
|
|
1584
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1585
|
-
}
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"kind": "js",
|
|
1589
|
-
"name": "foundationActionsMenuStyles",
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1590
1559
|
"declaration": {
|
|
1591
|
-
"name": "
|
|
1592
|
-
"module": "src/
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1593
1562
|
}
|
|
1594
1563
|
}
|
|
1595
1564
|
]
|
|
1596
1565
|
},
|
|
1597
1566
|
{
|
|
1598
1567
|
"kind": "javascript-module",
|
|
1599
|
-
"path": "src/
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1600
1569
|
"declarations": [
|
|
1601
1570
|
{
|
|
1602
1571
|
"kind": "function",
|
|
1603
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1573
|
+
"return": {
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1604
1578
|
"parameters": [
|
|
1605
1579
|
{
|
|
1606
|
-
"name": "
|
|
1580
|
+
"name": "context",
|
|
1607
1581
|
"type": {
|
|
1608
|
-
"text": "
|
|
1582
|
+
"text": "ElementDefinitionContext"
|
|
1609
1583
|
}
|
|
1610
|
-
}
|
|
1611
|
-
]
|
|
1612
|
-
},
|
|
1613
|
-
{
|
|
1614
|
-
"kind": "function",
|
|
1615
|
-
"name": "singleOptionTemplate",
|
|
1616
|
-
"parameters": [
|
|
1584
|
+
},
|
|
1617
1585
|
{
|
|
1618
|
-
"name": "
|
|
1586
|
+
"name": "definition",
|
|
1619
1587
|
"type": {
|
|
1620
|
-
"text": "
|
|
1588
|
+
"text": "FoundationElementDefinition"
|
|
1621
1589
|
}
|
|
1622
1590
|
}
|
|
1623
1591
|
]
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"kind": "variable",
|
|
1627
|
-
"name": "foundationActionsMenuTemplate",
|
|
1628
|
-
"type": {
|
|
1629
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1630
|
-
},
|
|
1631
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1632
1592
|
}
|
|
1633
1593
|
],
|
|
1634
1594
|
"exports": [
|
|
1635
1595
|
{
|
|
1636
1596
|
"kind": "js",
|
|
1637
|
-
"name": "
|
|
1638
|
-
"declaration": {
|
|
1639
|
-
"name": "menuTemplate",
|
|
1640
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"kind": "js",
|
|
1645
|
-
"name": "singleOptionTemplate",
|
|
1646
|
-
"declaration": {
|
|
1647
|
-
"name": "singleOptionTemplate",
|
|
1648
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1649
|
-
}
|
|
1650
|
-
},
|
|
1651
|
-
{
|
|
1652
|
-
"kind": "js",
|
|
1653
|
-
"name": "foundationActionsMenuTemplate",
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1654
1598
|
"declaration": {
|
|
1655
|
-
"name": "
|
|
1656
|
-
"module": "src/
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1657
1601
|
}
|
|
1658
1602
|
}
|
|
1659
1603
|
]
|
|
1660
1604
|
},
|
|
1661
1605
|
{
|
|
1662
1606
|
"kind": "javascript-module",
|
|
1663
|
-
"path": "src/
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1664
1608
|
"declarations": [
|
|
1665
1609
|
{
|
|
1666
1610
|
"kind": "class",
|
|
1667
1611
|
"description": "",
|
|
1668
|
-
"name": "
|
|
1669
|
-
"
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"superclass": {
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1616
|
+
},
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
+
"customElement": true,
|
|
1619
|
+
"attributes": [
|
|
1670
1620
|
{
|
|
1671
|
-
"
|
|
1672
|
-
"name": "actions",
|
|
1621
|
+
"name": "heading-level",
|
|
1673
1622
|
"type": {
|
|
1674
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1624
|
+
},
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1628
|
+
"inheritedFrom": {
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1675
1631
|
}
|
|
1676
1632
|
},
|
|
1677
1633
|
{
|
|
1678
|
-
"kind": "field",
|
|
1679
|
-
"name": "isVertical",
|
|
1680
1634
|
"type": {
|
|
1681
1635
|
"text": "boolean"
|
|
1682
1636
|
},
|
|
1683
|
-
"default": "false"
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
+
}
|
|
1684
1644
|
},
|
|
1685
1645
|
{
|
|
1686
|
-
"
|
|
1687
|
-
"name": "addDefaultActions",
|
|
1646
|
+
"name": "id",
|
|
1688
1647
|
"type": {
|
|
1689
|
-
"text": "
|
|
1648
|
+
"text": "string"
|
|
1690
1649
|
},
|
|
1691
|
-
"
|
|
1692
|
-
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1658
|
+
"members": [
|
|
1693
1659
|
{
|
|
1694
1660
|
"kind": "field",
|
|
1695
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1696
1662
|
"type": {
|
|
1697
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1698
1664
|
},
|
|
1699
|
-
"
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
"
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
"text": "string"
|
|
1665
|
+
"privacy": "public",
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1668
|
+
"inheritedFrom": {
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1706
1671
|
}
|
|
1707
1672
|
},
|
|
1708
1673
|
{
|
|
1709
1674
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1711
1676
|
"type": {
|
|
1712
|
-
"text": "
|
|
1677
|
+
"text": "boolean"
|
|
1678
|
+
},
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1682
|
+
"inheritedFrom": {
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1713
1685
|
}
|
|
1714
1686
|
},
|
|
1715
1687
|
{
|
|
1716
1688
|
"kind": "field",
|
|
1717
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1718
1690
|
"type": {
|
|
1719
1691
|
"text": "string"
|
|
1720
1692
|
},
|
|
1721
|
-
"
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
"text": "boolean"
|
|
1728
|
-
},
|
|
1729
|
-
"default": "false"
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1695
|
+
"inheritedFrom": {
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1698
|
+
}
|
|
1730
1699
|
},
|
|
1731
1700
|
{
|
|
1732
1701
|
"kind": "field",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"
|
|
1735
|
-
|
|
1702
|
+
"name": "change",
|
|
1703
|
+
"privacy": "private",
|
|
1704
|
+
"inheritedFrom": {
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1736
1707
|
}
|
|
1737
1708
|
},
|
|
1738
1709
|
{
|
|
1739
1710
|
"kind": "field",
|
|
1740
|
-
"name": "
|
|
1711
|
+
"name": "_presentation",
|
|
1741
1712
|
"type": {
|
|
1742
|
-
"text": "
|
|
1713
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1743
1714
|
},
|
|
1744
|
-
"
|
|
1715
|
+
"privacy": "private",
|
|
1716
|
+
"default": "void 0",
|
|
1717
|
+
"inheritedFrom": {
|
|
1718
|
+
"name": "FoundationElement",
|
|
1719
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1720
|
+
}
|
|
1745
1721
|
},
|
|
1746
1722
|
{
|
|
1747
1723
|
"kind": "field",
|
|
1748
|
-
"name": "
|
|
1724
|
+
"name": "$presentation",
|
|
1749
1725
|
"type": {
|
|
1750
|
-
"text": "
|
|
1726
|
+
"text": "ComponentPresentation | null"
|
|
1751
1727
|
},
|
|
1752
|
-
"
|
|
1728
|
+
"privacy": "public",
|
|
1729
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "FoundationElement",
|
|
1732
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1733
|
+
}
|
|
1753
1734
|
},
|
|
1754
1735
|
{
|
|
1755
1736
|
"kind": "field",
|
|
1756
|
-
"name": "
|
|
1737
|
+
"name": "template",
|
|
1757
1738
|
"type": {
|
|
1758
|
-
"text": "
|
|
1739
|
+
"text": "ElementViewTemplate | void | null"
|
|
1740
|
+
},
|
|
1741
|
+
"privacy": "public",
|
|
1742
|
+
"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.",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "FoundationElement",
|
|
1745
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1759
1746
|
}
|
|
1760
1747
|
},
|
|
1761
1748
|
{
|
|
1762
|
-
"kind": "
|
|
1763
|
-
"name": "
|
|
1764
|
-
"
|
|
1765
|
-
|
|
1749
|
+
"kind": "method",
|
|
1750
|
+
"name": "templateChanged",
|
|
1751
|
+
"privacy": "protected",
|
|
1752
|
+
"return": {
|
|
1753
|
+
"type": {
|
|
1754
|
+
"text": "void"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
"inheritedFrom": {
|
|
1758
|
+
"name": "FoundationElement",
|
|
1759
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1766
1760
|
}
|
|
1767
1761
|
},
|
|
1768
1762
|
{
|
|
1769
1763
|
"kind": "field",
|
|
1770
|
-
"name": "
|
|
1764
|
+
"name": "styles",
|
|
1771
1765
|
"type": {
|
|
1772
|
-
"text": "
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
"
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"kind": "method",
|
|
1782
|
-
"name": "definitionChanged",
|
|
1783
|
-
"privacy": "protected",
|
|
1784
|
-
"parameters": [
|
|
1785
|
-
{
|
|
1786
|
-
"name": "oldValue",
|
|
1787
|
-
"type": {
|
|
1788
|
-
"text": "any"
|
|
1789
|
-
}
|
|
1790
|
-
},
|
|
1791
|
-
{
|
|
1792
|
-
"name": "newValue",
|
|
1793
|
-
"type": {
|
|
1794
|
-
"text": "any"
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
]
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "method",
|
|
1801
|
-
"name": "openChanged",
|
|
1802
|
-
"privacy": "protected"
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"kind": "method",
|
|
1806
|
-
"name": "toggleActionsMenuVisibility"
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "method",
|
|
1810
|
-
"name": "onActionMenuItemClick",
|
|
1811
|
-
"parameters": [
|
|
1812
|
-
{
|
|
1813
|
-
"name": "callback",
|
|
1814
|
-
"type": {
|
|
1815
|
-
"text": "(rowData) => void | any"
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
]
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"kind": "field",
|
|
1822
|
-
"name": "allActions",
|
|
1823
|
-
"type": {
|
|
1824
|
-
"text": "ActionMenuItem[]"
|
|
1825
|
-
},
|
|
1826
|
-
"readonly": true
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"kind": "field",
|
|
1830
|
-
"name": "rowData",
|
|
1831
|
-
"readonly": true
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "method",
|
|
1835
|
-
"name": "getLabel",
|
|
1836
|
-
"parameters": [
|
|
1837
|
-
{
|
|
1838
|
-
"name": "name",
|
|
1839
|
-
"type": {
|
|
1840
|
-
"text": "string | ((rowData: any) => string)"
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
]
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"kind": "method",
|
|
1847
|
-
"name": "getTemplate",
|
|
1848
|
-
"parameters": [
|
|
1849
|
-
{
|
|
1850
|
-
"name": "prefix",
|
|
1851
|
-
"type": {
|
|
1852
|
-
"text": "string"
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
]
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
"kind": "field",
|
|
1859
|
-
"name": "_presentation",
|
|
1860
|
-
"type": {
|
|
1861
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1862
|
-
},
|
|
1863
|
-
"privacy": "private",
|
|
1864
|
-
"default": "void 0",
|
|
1865
|
-
"inheritedFrom": {
|
|
1866
|
-
"name": "FoundationElement",
|
|
1867
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1868
|
-
}
|
|
1869
|
-
},
|
|
1870
|
-
{
|
|
1871
|
-
"kind": "field",
|
|
1872
|
-
"name": "$presentation",
|
|
1873
|
-
"type": {
|
|
1874
|
-
"text": "ComponentPresentation | null"
|
|
1875
|
-
},
|
|
1876
|
-
"privacy": "public",
|
|
1877
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1878
|
-
"inheritedFrom": {
|
|
1879
|
-
"name": "FoundationElement",
|
|
1880
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"kind": "field",
|
|
1885
|
-
"name": "template",
|
|
1886
|
-
"type": {
|
|
1887
|
-
"text": "ElementViewTemplate | void | null"
|
|
1888
|
-
},
|
|
1889
|
-
"privacy": "public",
|
|
1890
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1891
|
-
"inheritedFrom": {
|
|
1892
|
-
"name": "FoundationElement",
|
|
1893
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"kind": "method",
|
|
1898
|
-
"name": "templateChanged",
|
|
1899
|
-
"privacy": "protected",
|
|
1900
|
-
"return": {
|
|
1901
|
-
"type": {
|
|
1902
|
-
"text": "void"
|
|
1903
|
-
}
|
|
1904
|
-
},
|
|
1905
|
-
"inheritedFrom": {
|
|
1906
|
-
"name": "FoundationElement",
|
|
1907
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "field",
|
|
1912
|
-
"name": "styles",
|
|
1913
|
-
"type": {
|
|
1914
|
-
"text": "ElementStyles | void | null"
|
|
1915
|
-
},
|
|
1916
|
-
"privacy": "public",
|
|
1917
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1918
|
-
"inheritedFrom": {
|
|
1919
|
-
"name": "FoundationElement",
|
|
1920
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1766
|
+
"text": "ElementStyles | void | null"
|
|
1767
|
+
},
|
|
1768
|
+
"privacy": "public",
|
|
1769
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1770
|
+
"inheritedFrom": {
|
|
1771
|
+
"name": "FoundationElement",
|
|
1772
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1921
1773
|
}
|
|
1922
1774
|
},
|
|
1923
1775
|
{
|
|
@@ -1966,107 +1818,78 @@
|
|
|
1966
1818
|
}
|
|
1967
1819
|
}
|
|
1968
1820
|
],
|
|
1969
|
-
"
|
|
1970
|
-
{
|
|
1971
|
-
"name": "is-vertical",
|
|
1972
|
-
"type": {
|
|
1973
|
-
"text": "boolean"
|
|
1974
|
-
},
|
|
1975
|
-
"default": "false",
|
|
1976
|
-
"fieldName": "isVertical"
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
"name": "add-default-actions",
|
|
1980
|
-
"type": {
|
|
1981
|
-
"text": "boolean"
|
|
1982
|
-
},
|
|
1983
|
-
"default": "true",
|
|
1984
|
-
"fieldName": "addDefaultActions"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"name": "auto-close-on-action",
|
|
1988
|
-
"type": {
|
|
1989
|
-
"text": "boolean"
|
|
1990
|
-
},
|
|
1991
|
-
"default": "true",
|
|
1992
|
-
"fieldName": "autoCloseOnAction"
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"name": "name",
|
|
1996
|
-
"type": {
|
|
1997
|
-
"text": "string"
|
|
1998
|
-
},
|
|
1999
|
-
"default": "'Actions'",
|
|
2000
|
-
"fieldName": "name"
|
|
2001
|
-
},
|
|
2002
|
-
{
|
|
2003
|
-
"name": "open",
|
|
2004
|
-
"type": {
|
|
2005
|
-
"text": "boolean"
|
|
2006
|
-
},
|
|
2007
|
-
"default": "false",
|
|
2008
|
-
"fieldName": "open"
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"name": "buttonAppearance",
|
|
2012
|
-
"type": {
|
|
2013
|
-
"text": "string"
|
|
2014
|
-
},
|
|
2015
|
-
"fieldName": "buttonAppearance"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"name": "hide-disabled",
|
|
2019
|
-
"type": {
|
|
2020
|
-
"text": "boolean"
|
|
2021
|
-
},
|
|
2022
|
-
"default": "false",
|
|
2023
|
-
"fieldName": "hideDisabled"
|
|
2024
|
-
},
|
|
1821
|
+
"events": [
|
|
2025
1822
|
{
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1824
|
+
"name": "change",
|
|
1825
|
+
"inheritedFrom": {
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1828
|
+
}
|
|
2032
1829
|
}
|
|
2033
|
-
]
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "variable",
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "ShadowRootInit"
|
|
2037
1837
|
},
|
|
2038
|
-
"
|
|
2039
|
-
"customElement": true
|
|
1838
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2040
1839
|
},
|
|
2041
1840
|
{
|
|
2042
1841
|
"kind": "variable",
|
|
2043
|
-
"name": "
|
|
2044
|
-
"
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "object"
|
|
1845
|
+
},
|
|
1846
|
+
"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}"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "variable",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
2045
1852
|
"privacy": "public"
|
|
2046
1853
|
}
|
|
2047
1854
|
],
|
|
2048
1855
|
"exports": [
|
|
2049
1856
|
{
|
|
2050
1857
|
"kind": "js",
|
|
2051
|
-
"name": "
|
|
1858
|
+
"name": "AccordionItem",
|
|
2052
1859
|
"declaration": {
|
|
2053
|
-
"name": "
|
|
2054
|
-
"module": "src/
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2055
1862
|
}
|
|
2056
1863
|
},
|
|
2057
1864
|
{
|
|
2058
1865
|
"kind": "js",
|
|
2059
|
-
"name": "
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2060
1867
|
"declaration": {
|
|
2061
|
-
"name": "
|
|
2062
|
-
"module": "src/
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "js",
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1875
|
+
"declaration": {
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"kind": "js",
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
1883
|
+
"declaration": {
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2063
1886
|
}
|
|
2064
1887
|
}
|
|
2065
1888
|
]
|
|
2066
1889
|
},
|
|
2067
1890
|
{
|
|
2068
1891
|
"kind": "javascript-module",
|
|
2069
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2070
1893
|
"declarations": [],
|
|
2071
1894
|
"exports": [
|
|
2072
1895
|
{
|
|
@@ -2074,7 +1897,7 @@
|
|
|
2074
1897
|
"name": "*",
|
|
2075
1898
|
"declaration": {
|
|
2076
1899
|
"name": "*",
|
|
2077
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2078
1901
|
}
|
|
2079
1902
|
},
|
|
2080
1903
|
{
|
|
@@ -2082,26 +1905,49 @@
|
|
|
2082
1905
|
"name": "*",
|
|
2083
1906
|
"declaration": {
|
|
2084
1907
|
"name": "*",
|
|
2085
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2086
1909
|
}
|
|
2087
1910
|
},
|
|
2088
|
-
{
|
|
2089
|
-
"kind": "js",
|
|
2090
|
-
"name": "*",
|
|
2091
|
-
"declaration": {
|
|
2092
|
-
"name": "*",
|
|
2093
|
-
"package": "./
|
|
2094
|
-
}
|
|
2095
|
-
}
|
|
2096
|
-
]
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
"kind": "javascript-module",
|
|
2100
|
-
"path": "src/
|
|
2101
|
-
"declarations": [
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "*",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "*",
|
|
1916
|
+
"package": "./accordion-item"
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "javascript-module",
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1924
|
+
"declarations": [
|
|
1925
|
+
{
|
|
1926
|
+
"kind": "function",
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1934
|
+
{
|
|
1935
|
+
"name": "context",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "definition",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
2102
1948
|
{
|
|
2103
1949
|
"kind": "function",
|
|
2104
|
-
"name": "
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2105
1951
|
"return": {
|
|
2106
1952
|
"type": {
|
|
2107
1953
|
"text": "ElementStyles"
|
|
@@ -2126,156 +1972,281 @@
|
|
|
2126
1972
|
"exports": [
|
|
2127
1973
|
{
|
|
2128
1974
|
"kind": "js",
|
|
2129
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2130
1976
|
"declaration": {
|
|
2131
|
-
"name": "
|
|
2132
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2133
1987
|
}
|
|
2134
1988
|
}
|
|
2135
1989
|
]
|
|
2136
1990
|
},
|
|
2137
1991
|
{
|
|
2138
1992
|
"kind": "javascript-module",
|
|
2139
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2140
1994
|
"declarations": [
|
|
2141
1995
|
{
|
|
2142
1996
|
"kind": "function",
|
|
2143
|
-
"name": "
|
|
2144
|
-
"return": {
|
|
2145
|
-
"type": {
|
|
2146
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2147
|
-
}
|
|
2148
|
-
},
|
|
1997
|
+
"name": "menuTemplate",
|
|
2149
1998
|
"parameters": [
|
|
2150
1999
|
{
|
|
2151
|
-
"name": "
|
|
2000
|
+
"name": "prefix",
|
|
2152
2001
|
"type": {
|
|
2153
|
-
"text": "
|
|
2002
|
+
"text": "string"
|
|
2154
2003
|
}
|
|
2155
|
-
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2156
2011
|
{
|
|
2157
|
-
"name": "
|
|
2012
|
+
"name": "prefix",
|
|
2158
2013
|
"type": {
|
|
2159
|
-
"text": "
|
|
2014
|
+
"text": "string"
|
|
2160
2015
|
}
|
|
2161
2016
|
}
|
|
2162
2017
|
]
|
|
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`"
|
|
2163
2026
|
}
|
|
2164
2027
|
],
|
|
2165
2028
|
"exports": [
|
|
2166
2029
|
{
|
|
2167
2030
|
"kind": "js",
|
|
2168
|
-
"name": "
|
|
2031
|
+
"name": "menuTemplate",
|
|
2169
2032
|
"declaration": {
|
|
2170
|
-
"name": "
|
|
2171
|
-
"module": "src/
|
|
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",
|
|
2048
|
+
"declaration": {
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2172
2051
|
}
|
|
2173
2052
|
}
|
|
2174
2053
|
]
|
|
2175
2054
|
},
|
|
2176
2055
|
{
|
|
2177
2056
|
"kind": "javascript-module",
|
|
2178
|
-
"path": "src/
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2179
2058
|
"declarations": [
|
|
2180
2059
|
{
|
|
2181
2060
|
"kind": "class",
|
|
2182
2061
|
"description": "",
|
|
2183
|
-
"name": "
|
|
2184
|
-
"
|
|
2185
|
-
"name": "FASTAccordionItem",
|
|
2186
|
-
"package": "@microsoft/fast-components"
|
|
2187
|
-
},
|
|
2188
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2189
|
-
"customElement": true,
|
|
2190
|
-
"attributes": [
|
|
2062
|
+
"name": "ActionsMenu",
|
|
2063
|
+
"members": [
|
|
2191
2064
|
{
|
|
2192
|
-
"
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "actions",
|
|
2193
2067
|
"type": {
|
|
2194
|
-
"text": "
|
|
2195
|
-
},
|
|
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"
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
2202
2069
|
}
|
|
2203
2070
|
},
|
|
2204
2071
|
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "isVertical",
|
|
2205
2074
|
"type": {
|
|
2206
2075
|
"text": "boolean"
|
|
2207
2076
|
},
|
|
2208
|
-
"default": "false"
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
"
|
|
2212
|
-
|
|
2213
|
-
|
|
2077
|
+
"default": "false"
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"kind": "field",
|
|
2081
|
+
"name": "addDefaultActions",
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "boolean"
|
|
2084
|
+
},
|
|
2085
|
+
"default": "true"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "field",
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "boolean"
|
|
2092
|
+
},
|
|
2093
|
+
"default": "true"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "field",
|
|
2097
|
+
"name": "classNames",
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "string"
|
|
2214
2100
|
}
|
|
2215
2101
|
},
|
|
2216
2102
|
{
|
|
2217
|
-
"
|
|
2103
|
+
"kind": "field",
|
|
2104
|
+
"name": "definition",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "any"
|
|
2107
|
+
}
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"kind": "field",
|
|
2111
|
+
"name": "name",
|
|
2218
2112
|
"type": {
|
|
2219
2113
|
"text": "string"
|
|
2220
2114
|
},
|
|
2221
|
-
"
|
|
2222
|
-
|
|
2223
|
-
"inheritedFrom": {
|
|
2224
|
-
"name": "AccordionItem",
|
|
2225
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
],
|
|
2229
|
-
"members": [
|
|
2115
|
+
"default": "'Actions'"
|
|
2116
|
+
},
|
|
2230
2117
|
{
|
|
2231
2118
|
"kind": "field",
|
|
2232
|
-
"name": "
|
|
2119
|
+
"name": "open",
|
|
2233
2120
|
"type": {
|
|
2234
|
-
"text": "
|
|
2121
|
+
"text": "boolean"
|
|
2235
2122
|
},
|
|
2236
|
-
"
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
"
|
|
2240
|
-
|
|
2241
|
-
|
|
2123
|
+
"default": "false"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "field",
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "string"
|
|
2242
2130
|
}
|
|
2243
2131
|
},
|
|
2244
2132
|
{
|
|
2245
2133
|
"kind": "field",
|
|
2246
|
-
"name": "
|
|
2134
|
+
"name": "hideDisabled",
|
|
2247
2135
|
"type": {
|
|
2248
2136
|
"text": "boolean"
|
|
2249
2137
|
},
|
|
2250
|
-
"
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
"
|
|
2254
|
-
|
|
2255
|
-
|
|
2138
|
+
"default": "false"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "field",
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
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"
|
|
2256
2167
|
}
|
|
2257
2168
|
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "method",
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "method",
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "oldValue",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "any"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "newValue",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "any"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "method",
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "method",
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2213
|
+
},
|
|
2258
2214
|
{
|
|
2259
2215
|
"kind": "field",
|
|
2260
|
-
"name": "
|
|
2216
|
+
"name": "allActions",
|
|
2261
2217
|
"type": {
|
|
2262
|
-
"text": "
|
|
2218
|
+
"text": "ActionMenuItem[]"
|
|
2263
2219
|
},
|
|
2264
|
-
"
|
|
2265
|
-
"description": "The item ID",
|
|
2266
|
-
"inheritedFrom": {
|
|
2267
|
-
"name": "AccordionItem",
|
|
2268
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2269
|
-
}
|
|
2220
|
+
"readonly": true
|
|
2270
2221
|
},
|
|
2271
2222
|
{
|
|
2272
2223
|
"kind": "field",
|
|
2273
|
-
"name": "
|
|
2274
|
-
"
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2224
|
+
"name": "rowData",
|
|
2225
|
+
"readonly": true
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "method",
|
|
2229
|
+
"name": "getLabel",
|
|
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
|
+
]
|
|
2279
2250
|
},
|
|
2280
2251
|
{
|
|
2281
2252
|
"kind": "field",
|
|
@@ -2389,78 +2360,107 @@
|
|
|
2389
2360
|
}
|
|
2390
2361
|
}
|
|
2391
2362
|
],
|
|
2392
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2393
2364
|
{
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
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
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2400
2426
|
}
|
|
2401
|
-
]
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "ShadowRootInit"
|
|
2408
|
-
},
|
|
2409
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"kind": "variable",
|
|
2413
|
-
"name": "defaultAccordionItemConfig",
|
|
2414
|
-
"type": {
|
|
2415
|
-
"text": "object"
|
|
2427
|
+
],
|
|
2428
|
+
"superclass": {
|
|
2429
|
+
"name": "FoundationElement",
|
|
2430
|
+
"package": "@microsoft/fast-foundation"
|
|
2416
2431
|
},
|
|
2417
|
-
"
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2433
|
+
"customElement": true
|
|
2418
2434
|
},
|
|
2419
2435
|
{
|
|
2420
2436
|
"kind": "variable",
|
|
2421
|
-
"name": "
|
|
2422
|
-
"description": "The Foundation
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2423
2439
|
"privacy": "public"
|
|
2424
2440
|
}
|
|
2425
2441
|
],
|
|
2426
2442
|
"exports": [
|
|
2427
2443
|
{
|
|
2428
2444
|
"kind": "js",
|
|
2429
|
-
"name": "
|
|
2430
|
-
"declaration": {
|
|
2431
|
-
"name": "AccordionItem",
|
|
2432
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2433
|
-
}
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "js",
|
|
2437
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2438
|
-
"declaration": {
|
|
2439
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2440
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
{
|
|
2444
|
-
"kind": "js",
|
|
2445
|
-
"name": "defaultAccordionItemConfig",
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2446
2446
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2449
2449
|
}
|
|
2450
2450
|
},
|
|
2451
2451
|
{
|
|
2452
2452
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2454
2454
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
2459
|
]
|
|
2460
2460
|
},
|
|
2461
2461
|
{
|
|
2462
2462
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2463
|
+
"path": "src/actions-menu/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": "./actions-menu.styles"
|
|
2472
2472
|
}
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
"name": "*",
|
|
2477
2477
|
"declaration": {
|
|
2478
2478
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
@@ -2484,111 +2484,122 @@
|
|
|
2484
2484
|
"name": "*",
|
|
2485
2485
|
"declaration": {
|
|
2486
2486
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2487
|
+
"package": "./actions-menu"
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
2490
|
]
|
|
2491
2491
|
},
|
|
2492
2492
|
{
|
|
2493
2493
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/ai-
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
2495
|
"declarations": [
|
|
2496
2496
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "ElementStyles"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"parameters": [
|
|
2505
|
-
{
|
|
2506
|
-
"name": "context",
|
|
2507
|
-
"type": {
|
|
2508
|
-
"text": "ElementDefinitionContext"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"name": "definition",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "FoundationElementDefinition"
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2518
2500
|
}
|
|
2519
2501
|
],
|
|
2520
2502
|
"exports": [
|
|
2521
2503
|
{
|
|
2522
2504
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2524
2506
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/ai-
|
|
2507
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2527
2509
|
}
|
|
2528
2510
|
}
|
|
2529
2511
|
]
|
|
2530
2512
|
},
|
|
2531
2513
|
{
|
|
2532
2514
|
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/ai-
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2534
2516
|
"declarations": [
|
|
2535
2517
|
{
|
|
2536
2518
|
"kind": "variable",
|
|
2537
|
-
"name": "
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2538
2520
|
"type": {
|
|
2539
|
-
"text": "ViewTemplate<
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2540
2522
|
},
|
|
2541
|
-
"default": "html`\n ${(x) =>
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2542
2524
|
}
|
|
2543
2525
|
],
|
|
2544
2526
|
"exports": [
|
|
2545
2527
|
{
|
|
2546
2528
|
"kind": "js",
|
|
2547
|
-
"name": "
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2548
2530
|
"declaration": {
|
|
2549
|
-
"name": "
|
|
2550
|
-
"module": "src/ai-
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2551
2533
|
}
|
|
2552
2534
|
}
|
|
2553
2535
|
]
|
|
2554
2536
|
},
|
|
2555
2537
|
{
|
|
2556
2538
|
"kind": "javascript-module",
|
|
2557
|
-
"path": "src/ai-
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2558
2540
|
"declarations": [
|
|
2559
2541
|
{
|
|
2560
2542
|
"kind": "class",
|
|
2561
|
-
"description": "",
|
|
2562
|
-
"name": "
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2563
2545
|
"members": [
|
|
2564
2546
|
{
|
|
2565
2547
|
"kind": "field",
|
|
2566
|
-
"name": "providerRegistry",
|
|
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",
|
|
2567
2571
|
"type": {
|
|
2568
|
-
"text": "
|
|
2569
|
-
}
|
|
2572
|
+
"text": "string"
|
|
2573
|
+
},
|
|
2574
|
+
"default": "''"
|
|
2570
2575
|
},
|
|
2571
2576
|
{
|
|
2572
2577
|
"kind": "field",
|
|
2573
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2574
2579
|
"type": {
|
|
2575
|
-
"text": "
|
|
2580
|
+
"text": "boolean"
|
|
2576
2581
|
},
|
|
2577
|
-
"
|
|
2578
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2579
|
-
"readonly": true
|
|
2582
|
+
"default": "false"
|
|
2580
2583
|
},
|
|
2581
2584
|
{
|
|
2582
2585
|
"kind": "field",
|
|
2583
|
-
"name": "
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2584
2587
|
"type": {
|
|
2585
|
-
"text": "
|
|
2588
|
+
"text": "string | null"
|
|
2586
2589
|
},
|
|
2587
2590
|
"default": "null"
|
|
2588
2591
|
},
|
|
2589
2592
|
{
|
|
2590
2593
|
"kind": "field",
|
|
2591
|
-
"name": "
|
|
2594
|
+
"name": "activeGroups",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2597
|
+
},
|
|
2598
|
+
"default": "[]"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "field",
|
|
2602
|
+
"name": "showingChips",
|
|
2592
2603
|
"type": {
|
|
2593
2604
|
"text": "boolean"
|
|
2594
2605
|
},
|
|
@@ -2596,15 +2607,15 @@
|
|
|
2596
2607
|
},
|
|
2597
2608
|
{
|
|
2598
2609
|
"kind": "field",
|
|
2599
|
-
"name": "
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2600
2611
|
"type": {
|
|
2601
|
-
"text": "
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2602
2613
|
},
|
|
2603
|
-
"default": "
|
|
2614
|
+
"default": "[]"
|
|
2604
2615
|
},
|
|
2605
2616
|
{
|
|
2606
2617
|
"kind": "field",
|
|
2607
|
-
"name": "
|
|
2618
|
+
"name": "isRecording",
|
|
2608
2619
|
"type": {
|
|
2609
2620
|
"text": "boolean"
|
|
2610
2621
|
},
|
|
@@ -2612,29 +2623,33 @@
|
|
|
2612
2623
|
},
|
|
2613
2624
|
{
|
|
2614
2625
|
"kind": "field",
|
|
2615
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2616
2627
|
"type": {
|
|
2617
|
-
"text": "
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2618
2629
|
},
|
|
2619
|
-
"privacy": "
|
|
2620
|
-
"default": "null"
|
|
2630
|
+
"privacy": "public"
|
|
2621
2631
|
},
|
|
2622
2632
|
{
|
|
2623
2633
|
"kind": "field",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2634
|
+
"name": "stopRecording",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2637
|
+
},
|
|
2638
|
+
"privacy": "private",
|
|
2639
|
+
"default": "null"
|
|
2626
2640
|
},
|
|
2627
2641
|
{
|
|
2628
2642
|
"kind": "field",
|
|
2629
|
-
"name": "
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2630
2644
|
"type": {
|
|
2631
|
-
"text": "
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2632
2646
|
},
|
|
2633
|
-
"
|
|
2647
|
+
"privacy": "private",
|
|
2648
|
+
"default": "null"
|
|
2634
2649
|
},
|
|
2635
2650
|
{
|
|
2636
2651
|
"kind": "field",
|
|
2637
|
-
"name": "
|
|
2652
|
+
"name": "speechAvailable",
|
|
2638
2653
|
"type": {
|
|
2639
2654
|
"text": "boolean"
|
|
2640
2655
|
},
|
|
@@ -2642,69 +2657,65 @@
|
|
|
2642
2657
|
},
|
|
2643
2658
|
{
|
|
2644
2659
|
"kind": "field",
|
|
2645
|
-
"name": "
|
|
2660
|
+
"name": "criteriaChips",
|
|
2646
2661
|
"type": {
|
|
2647
|
-
"text": "
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2648
2663
|
},
|
|
2649
2664
|
"readonly": true
|
|
2650
2665
|
},
|
|
2651
2666
|
{
|
|
2652
2667
|
"kind": "method",
|
|
2653
|
-
"name": "
|
|
2668
|
+
"name": "getFieldLabel",
|
|
2669
|
+
"privacy": "private",
|
|
2654
2670
|
"return": {
|
|
2655
2671
|
"type": {
|
|
2656
|
-
"text": "
|
|
2672
|
+
"text": "string"
|
|
2657
2673
|
}
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
{
|
|
2661
|
-
"kind": "method",
|
|
2662
|
-
"name": "handleClickOutside",
|
|
2663
|
-
"privacy": "private",
|
|
2674
|
+
},
|
|
2664
2675
|
"parameters": [
|
|
2665
2676
|
{
|
|
2666
|
-
"name": "
|
|
2677
|
+
"name": "fieldName",
|
|
2667
2678
|
"type": {
|
|
2668
|
-
"text": "
|
|
2679
|
+
"text": "string"
|
|
2669
2680
|
}
|
|
2670
2681
|
}
|
|
2671
2682
|
]
|
|
2672
2683
|
},
|
|
2673
2684
|
{
|
|
2674
2685
|
"kind": "method",
|
|
2675
|
-
"name": "
|
|
2676
|
-
},
|
|
2677
|
-
{
|
|
2678
|
-
"kind": "method",
|
|
2679
|
-
"name": "refreshStatus",
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2680
2687
|
"return": {
|
|
2681
2688
|
"type": {
|
|
2682
|
-
"text": "
|
|
2689
|
+
"text": "void"
|
|
2683
2690
|
}
|
|
2684
2691
|
}
|
|
2685
2692
|
},
|
|
2686
2693
|
{
|
|
2687
2694
|
"kind": "method",
|
|
2688
|
-
"name": "
|
|
2689
|
-
"privacy": "private",
|
|
2695
|
+
"name": "removeChip",
|
|
2690
2696
|
"return": {
|
|
2691
2697
|
"type": {
|
|
2692
|
-
"text": "
|
|
2698
|
+
"text": "void"
|
|
2693
2699
|
}
|
|
2694
2700
|
},
|
|
2695
2701
|
"parameters": [
|
|
2696
2702
|
{
|
|
2697
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2698
2704
|
"type": {
|
|
2699
|
-
"text": "
|
|
2705
|
+
"text": "number"
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "clauseIndex",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "number"
|
|
2700
2712
|
}
|
|
2701
2713
|
}
|
|
2702
2714
|
]
|
|
2703
2715
|
},
|
|
2704
2716
|
{
|
|
2705
2717
|
"kind": "method",
|
|
2706
|
-
"name": "
|
|
2707
|
-
"privacy": "private",
|
|
2718
|
+
"name": "clearChips",
|
|
2708
2719
|
"return": {
|
|
2709
2720
|
"type": {
|
|
2710
2721
|
"text": "void"
|
|
@@ -2713,32 +2724,24 @@
|
|
|
2713
2724
|
},
|
|
2714
2725
|
{
|
|
2715
2726
|
"kind": "method",
|
|
2716
|
-
"name": "
|
|
2717
|
-
"privacy": "private",
|
|
2718
|
-
"return": {
|
|
2719
|
-
"type": {
|
|
2720
|
-
"text": "void"
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2727
|
+
"name": "handleSubmit"
|
|
2723
2728
|
},
|
|
2724
2729
|
{
|
|
2725
2730
|
"kind": "method",
|
|
2726
|
-
"name": "
|
|
2727
|
-
"privacy": "private",
|
|
2728
|
-
"return": {
|
|
2729
|
-
"type": {
|
|
2730
|
-
"text": "void"
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2731
|
+
"name": "handleBlur"
|
|
2733
2732
|
},
|
|
2734
2733
|
{
|
|
2735
2734
|
"kind": "method",
|
|
2736
|
-
"name": "
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2735
|
+
"name": "clear"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "method",
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2742
2745
|
},
|
|
2743
2746
|
{
|
|
2744
2747
|
"kind": "field",
|
|
@@ -2852,145 +2855,320 @@
|
|
|
2852
2855
|
}
|
|
2853
2856
|
}
|
|
2854
2857
|
],
|
|
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
|
+
],
|
|
2855
2884
|
"superclass": {
|
|
2856
2885
|
"name": "FoundationElement",
|
|
2857
2886
|
"package": "@microsoft/fast-foundation"
|
|
2858
2887
|
},
|
|
2859
|
-
"tagName": "%%prefix%%-ai-
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2860
2889
|
"customElement": true
|
|
2861
2890
|
},
|
|
2862
2891
|
{
|
|
2863
2892
|
"kind": "variable",
|
|
2864
|
-
"name": "
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2894
|
+
"type": {
|
|
2895
|
+
"text": "ShadowRootInit"
|
|
2896
|
+
},
|
|
2897
|
+
"default": "undefined"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"kind": "variable",
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "object"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "{}"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "variable",
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
2865
2910
|
}
|
|
2866
2911
|
],
|
|
2867
2912
|
"exports": [
|
|
2868
2913
|
{
|
|
2869
2914
|
"kind": "js",
|
|
2870
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
2871
2916
|
"declaration": {
|
|
2872
|
-
"name": "
|
|
2873
|
-
"module": "src/ai-
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2874
2919
|
}
|
|
2875
2920
|
},
|
|
2876
2921
|
{
|
|
2877
2922
|
"kind": "js",
|
|
2878
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2879
2924
|
"declaration": {
|
|
2880
|
-
"name": "
|
|
2881
|
-
"module": "src/ai-
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "js",
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
+
"declaration": {
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"kind": "js",
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2940
|
+
"declaration": {
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2882
2943
|
}
|
|
2883
2944
|
}
|
|
2884
2945
|
]
|
|
2885
2946
|
},
|
|
2886
2947
|
{
|
|
2887
2948
|
"kind": "javascript-module",
|
|
2888
|
-
"path": "src/ai-
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2889
2950
|
"declarations": [],
|
|
2890
2951
|
"exports": [
|
|
2891
2952
|
{
|
|
2892
2953
|
"kind": "js",
|
|
2893
|
-
"name": "
|
|
2954
|
+
"name": "AiCriteriaSearch",
|
|
2955
|
+
"declaration": {
|
|
2956
|
+
"name": "AiCriteriaSearch",
|
|
2957
|
+
"module": "./ai-criteria-search"
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"kind": "js",
|
|
2962
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
+
"declaration": {
|
|
2964
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
+
"module": "./ai-criteria-search"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "js",
|
|
2970
|
+
"name": "foundationAiCriteriaSearch",
|
|
2971
|
+
"declaration": {
|
|
2972
|
+
"name": "foundationAiCriteriaSearch",
|
|
2973
|
+
"module": "./ai-criteria-search"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "js",
|
|
2978
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
+
"module": "./ai-criteria-search"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
+
"module": "./ai-criteria-search.styles"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "js",
|
|
2994
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2894
2995
|
"declaration": {
|
|
2895
|
-
"name": "
|
|
2896
|
-
"module": "./ai-
|
|
2996
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2997
|
+
"module": "./ai-criteria-search.template"
|
|
2897
2998
|
}
|
|
2898
2999
|
},
|
|
2899
3000
|
{
|
|
2900
3001
|
"kind": "js",
|
|
2901
|
-
"name": "
|
|
3002
|
+
"name": "*",
|
|
2902
3003
|
"declaration": {
|
|
2903
|
-
"name": "
|
|
2904
|
-
"
|
|
3004
|
+
"name": "*",
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
2905
3006
|
}
|
|
2906
3007
|
},
|
|
2907
3008
|
{
|
|
2908
3009
|
"kind": "js",
|
|
2909
|
-
"name": "
|
|
3010
|
+
"name": "*",
|
|
2910
3011
|
"declaration": {
|
|
2911
|
-
"name": "
|
|
2912
|
-
"
|
|
3012
|
+
"name": "*",
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
2913
3014
|
}
|
|
2914
3015
|
},
|
|
2915
3016
|
{
|
|
2916
3017
|
"kind": "js",
|
|
2917
|
-
"name": "
|
|
3018
|
+
"name": "*",
|
|
2918
3019
|
"declaration": {
|
|
2919
|
-
"name": "
|
|
2920
|
-
"
|
|
3020
|
+
"name": "*",
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
2921
3022
|
}
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"kind": "javascript-module",
|
|
3028
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
+
"declarations": [
|
|
3030
|
+
{
|
|
3031
|
+
"kind": "function",
|
|
3032
|
+
"name": "formatValidationErrors",
|
|
3033
|
+
"return": {
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"parameters": [
|
|
3039
|
+
{
|
|
3040
|
+
"name": "errors",
|
|
3041
|
+
"type": {
|
|
3042
|
+
"text": "ValidationError[]"
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2922
3047
|
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"name": "showCriteriaError",
|
|
3051
|
+
"return": {
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "void"
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"parameters": [
|
|
3057
|
+
{
|
|
3058
|
+
"name": "title",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"name": "body",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"description": "Error message to display"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "tagName",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"exports": [
|
|
2923
3083
|
{
|
|
2924
3084
|
"kind": "js",
|
|
2925
|
-
"name": "
|
|
3085
|
+
"name": "formatValidationErrors",
|
|
2926
3086
|
"declaration": {
|
|
2927
|
-
"name": "
|
|
2928
|
-
"module": "
|
|
3087
|
+
"name": "formatValidationErrors",
|
|
3088
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2929
3089
|
}
|
|
2930
3090
|
},
|
|
2931
3091
|
{
|
|
2932
3092
|
"kind": "js",
|
|
2933
|
-
"name": "
|
|
3093
|
+
"name": "showCriteriaError",
|
|
2934
3094
|
"declaration": {
|
|
2935
|
-
"name": "
|
|
2936
|
-
"module": "
|
|
3095
|
+
"name": "showCriteriaError",
|
|
3096
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2937
3097
|
}
|
|
2938
3098
|
}
|
|
2939
3099
|
]
|
|
2940
3100
|
},
|
|
2941
3101
|
{
|
|
2942
3102
|
"kind": "javascript-module",
|
|
2943
|
-
"path": "src/ai-
|
|
3103
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2944
3104
|
"declarations": [
|
|
2945
3105
|
{
|
|
2946
|
-
"kind": "
|
|
2947
|
-
"name": "
|
|
2948
|
-
"
|
|
3106
|
+
"kind": "function",
|
|
3107
|
+
"name": "foundationAiIndicatorStyles",
|
|
3108
|
+
"return": {
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "ElementStyles"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "context",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "ElementDefinitionContext"
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "definition",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "FoundationElementDefinition"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
2949
3127
|
}
|
|
2950
3128
|
],
|
|
2951
3129
|
"exports": [
|
|
2952
3130
|
{
|
|
2953
3131
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
3132
|
+
"name": "foundationAiIndicatorStyles",
|
|
2955
3133
|
"declaration": {
|
|
2956
|
-
"name": "
|
|
2957
|
-
"module": "src/ai-
|
|
3134
|
+
"name": "foundationAiIndicatorStyles",
|
|
3135
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2958
3136
|
}
|
|
2959
3137
|
}
|
|
2960
3138
|
]
|
|
2961
3139
|
},
|
|
2962
3140
|
{
|
|
2963
3141
|
"kind": "javascript-module",
|
|
2964
|
-
"path": "src/ai-
|
|
3142
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2965
3143
|
"declarations": [
|
|
2966
3144
|
{
|
|
2967
3145
|
"kind": "variable",
|
|
2968
|
-
"name": "
|
|
3146
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2969
3147
|
"type": {
|
|
2970
|
-
"text": "ViewTemplate<
|
|
3148
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2971
3149
|
},
|
|
2972
|
-
"default": "html`\n ${(x) =>
|
|
3150
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2973
3151
|
}
|
|
2974
3152
|
],
|
|
2975
3153
|
"exports": [
|
|
2976
3154
|
{
|
|
2977
3155
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
3156
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
3157
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "src/ai-
|
|
3158
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3159
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2982
3160
|
}
|
|
2983
3161
|
}
|
|
2984
3162
|
]
|
|
2985
3163
|
},
|
|
2986
3164
|
{
|
|
2987
3165
|
"kind": "javascript-module",
|
|
2988
|
-
"path": "src/ai-
|
|
3166
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2989
3167
|
"declarations": [
|
|
2990
3168
|
{
|
|
2991
3169
|
"kind": "class",
|
|
2992
|
-
"description": "
|
|
2993
|
-
"name": "
|
|
3170
|
+
"description": "",
|
|
3171
|
+
"name": "AiIndicator",
|
|
2994
3172
|
"members": [
|
|
2995
3173
|
{
|
|
2996
3174
|
"kind": "field",
|
|
@@ -3001,54 +3179,25 @@
|
|
|
3001
3179
|
},
|
|
3002
3180
|
{
|
|
3003
3181
|
"kind": "field",
|
|
3004
|
-
"name": "
|
|
3005
|
-
"type": {
|
|
3006
|
-
"text": "string"
|
|
3007
|
-
},
|
|
3008
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3009
|
-
},
|
|
3010
|
-
{
|
|
3011
|
-
"kind": "field",
|
|
3012
|
-
"name": "disabled",
|
|
3013
|
-
"type": {
|
|
3014
|
-
"text": "boolean"
|
|
3015
|
-
}
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"kind": "field",
|
|
3019
|
-
"name": "inputValue",
|
|
3020
|
-
"type": {
|
|
3021
|
-
"text": "string"
|
|
3022
|
-
},
|
|
3023
|
-
"default": "''"
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
"kind": "field",
|
|
3027
|
-
"name": "isInterpreting",
|
|
3182
|
+
"name": "aiProvider",
|
|
3028
3183
|
"type": {
|
|
3029
|
-
"text": "
|
|
3184
|
+
"text": "AIProvider | undefined"
|
|
3030
3185
|
},
|
|
3031
|
-
"
|
|
3186
|
+
"privacy": "private",
|
|
3187
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3188
|
+
"readonly": true
|
|
3032
3189
|
},
|
|
3033
3190
|
{
|
|
3034
3191
|
"kind": "field",
|
|
3035
|
-
"name": "
|
|
3192
|
+
"name": "status",
|
|
3036
3193
|
"type": {
|
|
3037
|
-
"text": "
|
|
3194
|
+
"text": "AIStatus | null"
|
|
3038
3195
|
},
|
|
3039
3196
|
"default": "null"
|
|
3040
3197
|
},
|
|
3041
3198
|
{
|
|
3042
3199
|
"kind": "field",
|
|
3043
|
-
"name": "
|
|
3044
|
-
"type": {
|
|
3045
|
-
"text": "CriteriaGroup[]"
|
|
3046
|
-
},
|
|
3047
|
-
"default": "[]"
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"kind": "field",
|
|
3051
|
-
"name": "showingChips",
|
|
3200
|
+
"name": "open",
|
|
3052
3201
|
"type": {
|
|
3053
3202
|
"text": "boolean"
|
|
3054
3203
|
},
|
|
@@ -3056,15 +3205,15 @@
|
|
|
3056
3205
|
},
|
|
3057
3206
|
{
|
|
3058
3207
|
"kind": "field",
|
|
3059
|
-
"name": "
|
|
3208
|
+
"name": "state",
|
|
3060
3209
|
"type": {
|
|
3061
|
-
"text": "
|
|
3210
|
+
"text": "AIIndicatorState"
|
|
3062
3211
|
},
|
|
3063
|
-
"default": "
|
|
3212
|
+
"default": "'none'"
|
|
3064
3213
|
},
|
|
3065
3214
|
{
|
|
3066
3215
|
"kind": "field",
|
|
3067
|
-
"name": "
|
|
3216
|
+
"name": "isInstalling",
|
|
3068
3217
|
"type": {
|
|
3069
3218
|
"text": "boolean"
|
|
3070
3219
|
},
|
|
@@ -3072,33 +3221,29 @@
|
|
|
3072
3221
|
},
|
|
3073
3222
|
{
|
|
3074
3223
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
3224
|
+
"name": "pollTimer",
|
|
3076
3225
|
"type": {
|
|
3077
|
-
"text": "
|
|
3226
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3078
3227
|
},
|
|
3079
|
-
"privacy": "
|
|
3228
|
+
"privacy": "private",
|
|
3229
|
+
"default": "null"
|
|
3080
3230
|
},
|
|
3081
3231
|
{
|
|
3082
3232
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
3084
|
-
"
|
|
3085
|
-
"text": "(() => void) | null"
|
|
3086
|
-
},
|
|
3087
|
-
"privacy": "private",
|
|
3088
|
-
"default": "null"
|
|
3233
|
+
"name": "clickOutside",
|
|
3234
|
+
"privacy": "private"
|
|
3089
3235
|
},
|
|
3090
3236
|
{
|
|
3091
3237
|
"kind": "field",
|
|
3092
|
-
"name": "
|
|
3238
|
+
"name": "chromeStatusLabel",
|
|
3093
3239
|
"type": {
|
|
3094
|
-
"text": "
|
|
3240
|
+
"text": "string | null"
|
|
3095
3241
|
},
|
|
3096
|
-
"
|
|
3097
|
-
"default": "null"
|
|
3242
|
+
"readonly": true
|
|
3098
3243
|
},
|
|
3099
3244
|
{
|
|
3100
3245
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3246
|
+
"name": "canInstall",
|
|
3102
3247
|
"type": {
|
|
3103
3248
|
"text": "boolean"
|
|
3104
3249
|
},
|
|
@@ -3106,65 +3251,69 @@
|
|
|
3106
3251
|
},
|
|
3107
3252
|
{
|
|
3108
3253
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3254
|
+
"name": "isDownloading",
|
|
3110
3255
|
"type": {
|
|
3111
|
-
"text": "
|
|
3256
|
+
"text": "boolean"
|
|
3112
3257
|
},
|
|
3113
3258
|
"readonly": true
|
|
3114
3259
|
},
|
|
3115
3260
|
{
|
|
3116
3261
|
"kind": "method",
|
|
3117
|
-
"name": "
|
|
3118
|
-
"privacy": "private",
|
|
3262
|
+
"name": "openChanged",
|
|
3119
3263
|
"return": {
|
|
3120
3264
|
"type": {
|
|
3121
|
-
"text": "
|
|
3265
|
+
"text": "void"
|
|
3122
3266
|
}
|
|
3123
|
-
}
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "method",
|
|
3271
|
+
"name": "handleClickOutside",
|
|
3272
|
+
"privacy": "private",
|
|
3124
3273
|
"parameters": [
|
|
3125
3274
|
{
|
|
3126
|
-
"name": "
|
|
3275
|
+
"name": "event",
|
|
3127
3276
|
"type": {
|
|
3128
|
-
"text": "
|
|
3277
|
+
"text": "MouseEvent"
|
|
3129
3278
|
}
|
|
3130
3279
|
}
|
|
3131
3280
|
]
|
|
3132
3281
|
},
|
|
3133
3282
|
{
|
|
3134
3283
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3284
|
+
"name": "toggleDropdown"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"kind": "method",
|
|
3288
|
+
"name": "refreshStatus",
|
|
3136
3289
|
"return": {
|
|
3137
3290
|
"type": {
|
|
3138
|
-
"text": "void"
|
|
3291
|
+
"text": "Promise<void>"
|
|
3139
3292
|
}
|
|
3140
3293
|
}
|
|
3141
3294
|
},
|
|
3142
3295
|
{
|
|
3143
3296
|
"kind": "method",
|
|
3144
|
-
"name": "
|
|
3297
|
+
"name": "deriveState",
|
|
3298
|
+
"privacy": "private",
|
|
3145
3299
|
"return": {
|
|
3146
3300
|
"type": {
|
|
3147
|
-
"text": "
|
|
3301
|
+
"text": "AIIndicatorState"
|
|
3148
3302
|
}
|
|
3149
3303
|
},
|
|
3150
3304
|
"parameters": [
|
|
3151
3305
|
{
|
|
3152
|
-
"name": "
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "number"
|
|
3155
|
-
}
|
|
3156
|
-
},
|
|
3157
|
-
{
|
|
3158
|
-
"name": "clauseIndex",
|
|
3306
|
+
"name": "s",
|
|
3159
3307
|
"type": {
|
|
3160
|
-
"text": "
|
|
3308
|
+
"text": "AIStatus | null"
|
|
3161
3309
|
}
|
|
3162
3310
|
}
|
|
3163
3311
|
]
|
|
3164
3312
|
},
|
|
3165
3313
|
{
|
|
3166
3314
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
3315
|
+
"name": "maybeStartPolling",
|
|
3316
|
+
"privacy": "private",
|
|
3168
3317
|
"return": {
|
|
3169
3318
|
"type": {
|
|
3170
3319
|
"text": "void"
|
|
@@ -3173,24 +3322,32 @@
|
|
|
3173
3322
|
},
|
|
3174
3323
|
{
|
|
3175
3324
|
"kind": "method",
|
|
3176
|
-
"name": "
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
"kind": "method",
|
|
3184
|
-
"name": "clear"
|
|
3325
|
+
"name": "startPolling",
|
|
3326
|
+
"privacy": "private",
|
|
3327
|
+
"return": {
|
|
3328
|
+
"type": {
|
|
3329
|
+
"text": "void"
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3185
3332
|
},
|
|
3186
3333
|
{
|
|
3187
3334
|
"kind": "method",
|
|
3188
|
-
"name": "
|
|
3335
|
+
"name": "stopPolling",
|
|
3336
|
+
"privacy": "private",
|
|
3337
|
+
"return": {
|
|
3338
|
+
"type": {
|
|
3339
|
+
"text": "void"
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3189
3342
|
},
|
|
3190
3343
|
{
|
|
3191
3344
|
"kind": "method",
|
|
3192
|
-
"name": "
|
|
3193
|
-
"
|
|
3345
|
+
"name": "onInstall",
|
|
3346
|
+
"return": {
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "Promise<void>"
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3194
3351
|
},
|
|
3195
3352
|
{
|
|
3196
3353
|
"kind": "field",
|
|
@@ -3304,245 +3461,88 @@
|
|
|
3304
3461
|
}
|
|
3305
3462
|
}
|
|
3306
3463
|
],
|
|
3307
|
-
"events": [
|
|
3308
|
-
{
|
|
3309
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3310
|
-
"name": "criteria-changed"
|
|
3311
|
-
},
|
|
3312
|
-
{
|
|
3313
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3314
|
-
"name": "validation-errors"
|
|
3315
|
-
}
|
|
3316
|
-
],
|
|
3317
|
-
"attributes": [
|
|
3318
|
-
{
|
|
3319
|
-
"name": "placeholder",
|
|
3320
|
-
"type": {
|
|
3321
|
-
"text": "string"
|
|
3322
|
-
},
|
|
3323
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3324
|
-
"fieldName": "placeholder"
|
|
3325
|
-
},
|
|
3326
|
-
{
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "boolean"
|
|
3329
|
-
},
|
|
3330
|
-
"fieldName": "disabled"
|
|
3331
|
-
}
|
|
3332
|
-
],
|
|
3333
3464
|
"superclass": {
|
|
3334
3465
|
"name": "FoundationElement",
|
|
3335
3466
|
"package": "@microsoft/fast-foundation"
|
|
3336
3467
|
},
|
|
3337
|
-
"tagName": "%%prefix%%-ai-
|
|
3468
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3338
3469
|
"customElement": true
|
|
3339
3470
|
},
|
|
3340
3471
|
{
|
|
3341
3472
|
"kind": "variable",
|
|
3342
|
-
"name": "
|
|
3343
|
-
"type": {
|
|
3344
|
-
"text": "ShadowRootInit"
|
|
3345
|
-
},
|
|
3346
|
-
"default": "undefined"
|
|
3347
|
-
},
|
|
3348
|
-
{
|
|
3349
|
-
"kind": "variable",
|
|
3350
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3351
|
-
"type": {
|
|
3352
|
-
"text": "object"
|
|
3353
|
-
},
|
|
3354
|
-
"default": "{}"
|
|
3355
|
-
},
|
|
3356
|
-
{
|
|
3357
|
-
"kind": "variable",
|
|
3358
|
-
"name": "foundationAiCriteriaSearch"
|
|
3473
|
+
"name": "foundationAiIndicator"
|
|
3359
3474
|
}
|
|
3360
3475
|
],
|
|
3361
3476
|
"exports": [
|
|
3362
3477
|
{
|
|
3363
3478
|
"kind": "js",
|
|
3364
|
-
"name": "
|
|
3365
|
-
"declaration": {
|
|
3366
|
-
"name": "AiCriteriaSearch",
|
|
3367
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3368
|
-
}
|
|
3369
|
-
},
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "js",
|
|
3372
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3373
|
-
"declaration": {
|
|
3374
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3375
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
|
-
}
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"kind": "js",
|
|
3380
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3479
|
+
"name": "AiIndicator",
|
|
3381
3480
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3481
|
+
"name": "AiIndicator",
|
|
3482
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3384
3483
|
}
|
|
3385
3484
|
},
|
|
3386
3485
|
{
|
|
3387
3486
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3487
|
+
"name": "foundationAiIndicator",
|
|
3389
3488
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "src/ai-
|
|
3489
|
+
"name": "foundationAiIndicator",
|
|
3490
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3392
3491
|
}
|
|
3393
3492
|
}
|
|
3394
3493
|
]
|
|
3395
3494
|
},
|
|
3396
3495
|
{
|
|
3397
3496
|
"kind": "javascript-module",
|
|
3398
|
-
"path": "src/ai-
|
|
3497
|
+
"path": "src/ai-indicator/index.ts",
|
|
3399
3498
|
"declarations": [],
|
|
3400
3499
|
"exports": [
|
|
3401
3500
|
{
|
|
3402
3501
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3404
|
-
"declaration": {
|
|
3405
|
-
"name": "AiCriteriaSearch",
|
|
3406
|
-
"module": "./ai-criteria-search"
|
|
3407
|
-
}
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"kind": "js",
|
|
3411
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3412
|
-
"declaration": {
|
|
3413
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3414
|
-
"module": "./ai-criteria-search"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"kind": "js",
|
|
3419
|
-
"name": "foundationAiCriteriaSearch",
|
|
3420
|
-
"declaration": {
|
|
3421
|
-
"name": "foundationAiCriteriaSearch",
|
|
3422
|
-
"module": "./ai-criteria-search"
|
|
3423
|
-
}
|
|
3424
|
-
},
|
|
3425
|
-
{
|
|
3426
|
-
"kind": "js",
|
|
3427
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3428
|
-
"declaration": {
|
|
3429
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3430
|
-
"module": "./ai-criteria-search"
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "js",
|
|
3435
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3436
|
-
"declaration": {
|
|
3437
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3438
|
-
"module": "./ai-criteria-search.styles"
|
|
3439
|
-
}
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "js",
|
|
3443
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3502
|
+
"name": "AiIndicator",
|
|
3444
3503
|
"declaration": {
|
|
3445
|
-
"name": "
|
|
3446
|
-
"module": "./ai-
|
|
3504
|
+
"name": "AiIndicator",
|
|
3505
|
+
"module": "./ai-indicator"
|
|
3447
3506
|
}
|
|
3448
3507
|
},
|
|
3449
3508
|
{
|
|
3450
3509
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3510
|
+
"name": "foundationAiIndicator",
|
|
3452
3511
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"
|
|
3512
|
+
"name": "foundationAiIndicator",
|
|
3513
|
+
"module": "./ai-indicator"
|
|
3455
3514
|
}
|
|
3456
3515
|
},
|
|
3457
3516
|
{
|
|
3458
3517
|
"kind": "js",
|
|
3459
|
-
"name": "
|
|
3518
|
+
"name": "type",
|
|
3460
3519
|
"declaration": {
|
|
3461
|
-
"name": "
|
|
3462
|
-
"
|
|
3520
|
+
"name": "type",
|
|
3521
|
+
"module": "./ai-indicator"
|
|
3463
3522
|
}
|
|
3464
3523
|
},
|
|
3465
3524
|
{
|
|
3466
3525
|
"kind": "js",
|
|
3467
|
-
"name": "
|
|
3526
|
+
"name": "AIIndicatorState",
|
|
3468
3527
|
"declaration": {
|
|
3469
|
-
"name": "
|
|
3470
|
-
"
|
|
3528
|
+
"name": "AIIndicatorState",
|
|
3529
|
+
"module": "./ai-indicator"
|
|
3471
3530
|
}
|
|
3472
|
-
}
|
|
3473
|
-
]
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "javascript-module",
|
|
3477
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3478
|
-
"declarations": [
|
|
3479
|
-
{
|
|
3480
|
-
"kind": "function",
|
|
3481
|
-
"name": "formatValidationErrors",
|
|
3482
|
-
"return": {
|
|
3483
|
-
"type": {
|
|
3484
|
-
"text": "string"
|
|
3485
|
-
}
|
|
3486
|
-
},
|
|
3487
|
-
"parameters": [
|
|
3488
|
-
{
|
|
3489
|
-
"name": "errors",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "ValidationError[]"
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
],
|
|
3495
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3496
3531
|
},
|
|
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
3532
|
{
|
|
3533
3533
|
"kind": "js",
|
|
3534
|
-
"name": "
|
|
3534
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3535
3535
|
"declaration": {
|
|
3536
|
-
"name": "
|
|
3537
|
-
"module": "
|
|
3536
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3537
|
+
"module": "./ai-indicator.template"
|
|
3538
3538
|
}
|
|
3539
3539
|
},
|
|
3540
3540
|
{
|
|
3541
3541
|
"kind": "js",
|
|
3542
|
-
"name": "
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3543
3543
|
"declaration": {
|
|
3544
|
-
"name": "
|
|
3545
|
-
"module": "
|
|
3544
|
+
"name": "foundationAiIndicatorStyles",
|
|
3545
|
+
"module": "./ai-indicator.styles"
|
|
3546
3546
|
}
|
|
3547
3547
|
}
|
|
3548
3548
|
]
|