@genesislcap/foundation-ui 15.20.1-alpha-08bf7a668.0 → 15.20.2
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 +925 -925
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +18 -18
|
@@ -1495,42 +1495,34 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1499
|
-
"declarations": [
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1498
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1499
|
+
"declarations": [
|
|
1509
1500
|
{
|
|
1510
|
-
"kind": "
|
|
1511
|
-
"name": "
|
|
1512
|
-
"
|
|
1513
|
-
"
|
|
1514
|
-
|
|
1515
|
-
|
|
1501
|
+
"kind": "function",
|
|
1502
|
+
"name": "actionsMenuBaseStyles",
|
|
1503
|
+
"return": {
|
|
1504
|
+
"type": {
|
|
1505
|
+
"text": "ElementStyles"
|
|
1506
|
+
}
|
|
1507
|
+
},
|
|
1508
|
+
"parameters": [
|
|
1509
|
+
{
|
|
1510
|
+
"name": "context",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "ElementDefinitionContext"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "definition",
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "FoundationElementDefinition"
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
]
|
|
1516
1522
|
},
|
|
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/accordion-item/accordion-item.styles.ts",
|
|
1530
|
-
"declarations": [
|
|
1531
1523
|
{
|
|
1532
1524
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
1525
|
+
"name": "foundationActionsMenuStyles",
|
|
1534
1526
|
"return": {
|
|
1535
1527
|
"type": {
|
|
1536
1528
|
"text": "ElementStyles"
|
|
@@ -1555,198 +1547,323 @@
|
|
|
1555
1547
|
"exports": [
|
|
1556
1548
|
{
|
|
1557
1549
|
"kind": "js",
|
|
1558
|
-
"name": "
|
|
1550
|
+
"name": "actionsMenuBaseStyles",
|
|
1559
1551
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1552
|
+
"name": "actionsMenuBaseStyles",
|
|
1553
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "js",
|
|
1558
|
+
"name": "foundationActionsMenuStyles",
|
|
1559
|
+
"declaration": {
|
|
1560
|
+
"name": "foundationActionsMenuStyles",
|
|
1561
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
]
|
|
1565
1565
|
},
|
|
1566
1566
|
{
|
|
1567
1567
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1568
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1569
1569
|
"declarations": [
|
|
1570
1570
|
{
|
|
1571
1571
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1573
|
-
"return": {
|
|
1574
|
-
"type": {
|
|
1575
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1572
|
+
"name": "menuTemplate",
|
|
1578
1573
|
"parameters": [
|
|
1579
1574
|
{
|
|
1580
|
-
"name": "
|
|
1575
|
+
"name": "prefix",
|
|
1581
1576
|
"type": {
|
|
1582
|
-
"text": "
|
|
1577
|
+
"text": "string"
|
|
1583
1578
|
}
|
|
1584
|
-
}
|
|
1579
|
+
}
|
|
1580
|
+
]
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"kind": "function",
|
|
1584
|
+
"name": "singleOptionTemplate",
|
|
1585
|
+
"parameters": [
|
|
1585
1586
|
{
|
|
1586
|
-
"name": "
|
|
1587
|
+
"name": "prefix",
|
|
1587
1588
|
"type": {
|
|
1588
|
-
"text": "
|
|
1589
|
+
"text": "string"
|
|
1589
1590
|
}
|
|
1590
1591
|
}
|
|
1591
1592
|
]
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "variable",
|
|
1596
|
+
"name": "foundationActionsMenuTemplate",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1599
|
+
},
|
|
1600
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1592
1601
|
}
|
|
1593
1602
|
],
|
|
1594
1603
|
"exports": [
|
|
1595
1604
|
{
|
|
1596
1605
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1606
|
+
"name": "menuTemplate",
|
|
1598
1607
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/
|
|
1608
|
+
"name": "menuTemplate",
|
|
1609
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "js",
|
|
1614
|
+
"name": "singleOptionTemplate",
|
|
1615
|
+
"declaration": {
|
|
1616
|
+
"name": "singleOptionTemplate",
|
|
1617
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "js",
|
|
1622
|
+
"name": "foundationActionsMenuTemplate",
|
|
1623
|
+
"declaration": {
|
|
1624
|
+
"name": "foundationActionsMenuTemplate",
|
|
1625
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1601
1626
|
}
|
|
1602
1627
|
}
|
|
1603
1628
|
]
|
|
1604
1629
|
},
|
|
1605
1630
|
{
|
|
1606
1631
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/
|
|
1632
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1608
1633
|
"declarations": [
|
|
1609
1634
|
{
|
|
1610
1635
|
"kind": "class",
|
|
1611
1636
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1613
|
-
"
|
|
1614
|
-
"name": "FASTAccordionItem",
|
|
1615
|
-
"package": "@microsoft/fast-components"
|
|
1616
|
-
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
-
"customElement": true,
|
|
1619
|
-
"attributes": [
|
|
1637
|
+
"name": "ActionsMenu",
|
|
1638
|
+
"members": [
|
|
1620
1639
|
{
|
|
1621
|
-
"
|
|
1640
|
+
"kind": "field",
|
|
1641
|
+
"name": "actions",
|
|
1622
1642
|
"type": {
|
|
1623
|
-
"text": "
|
|
1624
|
-
},
|
|
1625
|
-
"default": "2",
|
|
1626
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
-
"fieldName": "headinglevel",
|
|
1628
|
-
"inheritedFrom": {
|
|
1629
|
-
"name": "AccordionItem",
|
|
1630
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
+
"text": "ActionMenuItem[]"
|
|
1631
1644
|
}
|
|
1632
1645
|
},
|
|
1633
1646
|
{
|
|
1647
|
+
"kind": "field",
|
|
1648
|
+
"name": "isVertical",
|
|
1634
1649
|
"type": {
|
|
1635
1650
|
"text": "boolean"
|
|
1636
1651
|
},
|
|
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
|
-
}
|
|
1652
|
+
"default": "false"
|
|
1644
1653
|
},
|
|
1645
1654
|
{
|
|
1646
|
-
"
|
|
1655
|
+
"kind": "field",
|
|
1656
|
+
"name": "addDefaultActions",
|
|
1647
1657
|
"type": {
|
|
1648
|
-
"text": "
|
|
1658
|
+
"text": "boolean"
|
|
1649
1659
|
},
|
|
1650
|
-
"
|
|
1651
|
-
|
|
1652
|
-
"inheritedFrom": {
|
|
1653
|
-
"name": "AccordionItem",
|
|
1654
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
],
|
|
1658
|
-
"members": [
|
|
1660
|
+
"default": "true"
|
|
1661
|
+
},
|
|
1659
1662
|
{
|
|
1660
1663
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1664
|
+
"name": "autoCloseOnAction",
|
|
1662
1665
|
"type": {
|
|
1663
|
-
"text": "
|
|
1666
|
+
"text": "boolean"
|
|
1664
1667
|
},
|
|
1665
|
-
"
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
"
|
|
1669
|
-
|
|
1670
|
-
|
|
1668
|
+
"default": "true"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"kind": "field",
|
|
1672
|
+
"name": "classNames",
|
|
1673
|
+
"type": {
|
|
1674
|
+
"text": "string"
|
|
1671
1675
|
}
|
|
1672
1676
|
},
|
|
1673
1677
|
{
|
|
1674
1678
|
"kind": "field",
|
|
1675
|
-
"name": "
|
|
1679
|
+
"name": "definition",
|
|
1676
1680
|
"type": {
|
|
1677
|
-
"text": "
|
|
1678
|
-
},
|
|
1679
|
-
"privacy": "public",
|
|
1680
|
-
"default": "false",
|
|
1681
|
-
"description": "Expands or collapses the item.",
|
|
1682
|
-
"inheritedFrom": {
|
|
1683
|
-
"name": "AccordionItem",
|
|
1684
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1681
|
+
"text": "any"
|
|
1685
1682
|
}
|
|
1686
1683
|
},
|
|
1687
1684
|
{
|
|
1688
1685
|
"kind": "field",
|
|
1689
|
-
"name": "
|
|
1686
|
+
"name": "name",
|
|
1690
1687
|
"type": {
|
|
1691
1688
|
"text": "string"
|
|
1692
1689
|
},
|
|
1693
|
-
"
|
|
1694
|
-
"description": "The item ID",
|
|
1695
|
-
"inheritedFrom": {
|
|
1696
|
-
"name": "AccordionItem",
|
|
1697
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1698
|
-
}
|
|
1690
|
+
"default": "'Actions'"
|
|
1699
1691
|
},
|
|
1700
1692
|
{
|
|
1701
1693
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1703
|
-
"
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}
|
|
1694
|
+
"name": "open",
|
|
1695
|
+
"type": {
|
|
1696
|
+
"text": "boolean"
|
|
1697
|
+
},
|
|
1698
|
+
"default": "false"
|
|
1708
1699
|
},
|
|
1709
1700
|
{
|
|
1710
1701
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1702
|
+
"name": "buttonAppearance",
|
|
1712
1703
|
"type": {
|
|
1713
|
-
"text": "
|
|
1714
|
-
},
|
|
1715
|
-
"privacy": "private",
|
|
1716
|
-
"default": "void 0",
|
|
1717
|
-
"inheritedFrom": {
|
|
1718
|
-
"name": "FoundationElement",
|
|
1719
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1704
|
+
"text": "string"
|
|
1720
1705
|
}
|
|
1721
1706
|
},
|
|
1722
1707
|
{
|
|
1723
1708
|
"kind": "field",
|
|
1724
|
-
"name": "
|
|
1709
|
+
"name": "hideDisabled",
|
|
1725
1710
|
"type": {
|
|
1726
|
-
"text": "
|
|
1711
|
+
"text": "boolean"
|
|
1727
1712
|
},
|
|
1728
|
-
"
|
|
1729
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
|
-
"inheritedFrom": {
|
|
1731
|
-
"name": "FoundationElement",
|
|
1732
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1733
|
-
}
|
|
1713
|
+
"default": "false"
|
|
1734
1714
|
},
|
|
1735
1715
|
{
|
|
1736
1716
|
"kind": "field",
|
|
1737
|
-
"name": "
|
|
1717
|
+
"name": "hideMenuSingleOption",
|
|
1738
1718
|
"type": {
|
|
1739
|
-
"text": "
|
|
1719
|
+
"text": "boolean"
|
|
1740
1720
|
},
|
|
1741
|
-
"
|
|
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"
|
|
1746
|
-
}
|
|
1721
|
+
"default": "false"
|
|
1747
1722
|
},
|
|
1748
1723
|
{
|
|
1749
|
-
"kind": "
|
|
1724
|
+
"kind": "field",
|
|
1725
|
+
"name": "singleOption",
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "ActionMenuItem"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "field",
|
|
1732
|
+
"name": "actionsMenu",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "HTMLElement"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"kind": "field",
|
|
1739
|
+
"name": "actionsOpener",
|
|
1740
|
+
"type": {
|
|
1741
|
+
"text": "HTMLElement"
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"kind": "method",
|
|
1746
|
+
"name": "updateMenuPosition",
|
|
1747
|
+
"privacy": "private"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"kind": "method",
|
|
1751
|
+
"name": "definitionChanged",
|
|
1752
|
+
"privacy": "protected",
|
|
1753
|
+
"parameters": [
|
|
1754
|
+
{
|
|
1755
|
+
"name": "oldValue",
|
|
1756
|
+
"type": {
|
|
1757
|
+
"text": "any"
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"name": "newValue",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "any"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
]
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "method",
|
|
1770
|
+
"name": "openChanged",
|
|
1771
|
+
"privacy": "protected"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "method",
|
|
1775
|
+
"name": "toggleActionsMenuVisibility"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "method",
|
|
1779
|
+
"name": "onActionMenuItemClick",
|
|
1780
|
+
"parameters": [
|
|
1781
|
+
{
|
|
1782
|
+
"name": "callback",
|
|
1783
|
+
"type": {
|
|
1784
|
+
"text": "(rowData) => void | any"
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"kind": "field",
|
|
1791
|
+
"name": "allActions",
|
|
1792
|
+
"type": {
|
|
1793
|
+
"text": "ActionMenuItem[]"
|
|
1794
|
+
},
|
|
1795
|
+
"readonly": true
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "field",
|
|
1799
|
+
"name": "rowData",
|
|
1800
|
+
"readonly": true
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "method",
|
|
1804
|
+
"name": "getLabel",
|
|
1805
|
+
"parameters": [
|
|
1806
|
+
{
|
|
1807
|
+
"name": "name",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "string | ((rowData: any) => string)"
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
]
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "method",
|
|
1816
|
+
"name": "getTemplate",
|
|
1817
|
+
"parameters": [
|
|
1818
|
+
{
|
|
1819
|
+
"name": "prefix",
|
|
1820
|
+
"type": {
|
|
1821
|
+
"text": "string"
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
]
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"kind": "field",
|
|
1828
|
+
"name": "_presentation",
|
|
1829
|
+
"type": {
|
|
1830
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1831
|
+
},
|
|
1832
|
+
"privacy": "private",
|
|
1833
|
+
"default": "void 0",
|
|
1834
|
+
"inheritedFrom": {
|
|
1835
|
+
"name": "FoundationElement",
|
|
1836
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "field",
|
|
1841
|
+
"name": "$presentation",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "ComponentPresentation | null"
|
|
1844
|
+
},
|
|
1845
|
+
"privacy": "public",
|
|
1846
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1847
|
+
"inheritedFrom": {
|
|
1848
|
+
"name": "FoundationElement",
|
|
1849
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "field",
|
|
1854
|
+
"name": "template",
|
|
1855
|
+
"type": {
|
|
1856
|
+
"text": "ElementViewTemplate | void | null"
|
|
1857
|
+
},
|
|
1858
|
+
"privacy": "public",
|
|
1859
|
+
"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.",
|
|
1860
|
+
"inheritedFrom": {
|
|
1861
|
+
"name": "FoundationElement",
|
|
1862
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"kind": "method",
|
|
1750
1867
|
"name": "templateChanged",
|
|
1751
1868
|
"privacy": "protected",
|
|
1752
1869
|
"return": {
|
|
@@ -1818,78 +1935,107 @@
|
|
|
1818
1935
|
}
|
|
1819
1936
|
}
|
|
1820
1937
|
],
|
|
1821
|
-
"
|
|
1938
|
+
"attributes": [
|
|
1822
1939
|
{
|
|
1823
|
-
"
|
|
1824
|
-
"
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1940
|
+
"name": "is-vertical",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "boolean"
|
|
1943
|
+
},
|
|
1944
|
+
"default": "false",
|
|
1945
|
+
"fieldName": "isVertical"
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"name": "add-default-actions",
|
|
1949
|
+
"type": {
|
|
1950
|
+
"text": "boolean"
|
|
1951
|
+
},
|
|
1952
|
+
"default": "true",
|
|
1953
|
+
"fieldName": "addDefaultActions"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "auto-close-on-action",
|
|
1957
|
+
"type": {
|
|
1958
|
+
"text": "boolean"
|
|
1959
|
+
},
|
|
1960
|
+
"default": "true",
|
|
1961
|
+
"fieldName": "autoCloseOnAction"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "name",
|
|
1965
|
+
"type": {
|
|
1966
|
+
"text": "string"
|
|
1967
|
+
},
|
|
1968
|
+
"default": "'Actions'",
|
|
1969
|
+
"fieldName": "name"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "open",
|
|
1973
|
+
"type": {
|
|
1974
|
+
"text": "boolean"
|
|
1975
|
+
},
|
|
1976
|
+
"default": "false",
|
|
1977
|
+
"fieldName": "open"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "buttonAppearance",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "string"
|
|
1983
|
+
},
|
|
1984
|
+
"fieldName": "buttonAppearance"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "hide-disabled",
|
|
1988
|
+
"type": {
|
|
1989
|
+
"text": "boolean"
|
|
1990
|
+
},
|
|
1991
|
+
"default": "false",
|
|
1992
|
+
"fieldName": "hideDisabled"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"name": "hide-menu-single-option",
|
|
1996
|
+
"type": {
|
|
1997
|
+
"text": "boolean"
|
|
1998
|
+
},
|
|
1999
|
+
"default": "false",
|
|
2000
|
+
"fieldName": "hideMenuSingleOption"
|
|
1829
2001
|
}
|
|
1830
|
-
]
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
-
"type": {
|
|
1836
|
-
"text": "ShadowRootInit"
|
|
1837
|
-
},
|
|
1838
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
"kind": "variable",
|
|
1842
|
-
"name": "defaultAccordionItemConfig",
|
|
1843
|
-
"type": {
|
|
1844
|
-
"text": "object"
|
|
2002
|
+
],
|
|
2003
|
+
"superclass": {
|
|
2004
|
+
"name": "FoundationElement",
|
|
2005
|
+
"package": "@microsoft/fast-foundation"
|
|
1845
2006
|
},
|
|
1846
|
-
"
|
|
2007
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2008
|
+
"customElement": true
|
|
1847
2009
|
},
|
|
1848
2010
|
{
|
|
1849
2011
|
"kind": "variable",
|
|
1850
|
-
"name": "
|
|
1851
|
-
"description": "The Foundation
|
|
2012
|
+
"name": "foundationActionsMenu",
|
|
2013
|
+
"description": "The Foundation Actions Menu",
|
|
1852
2014
|
"privacy": "public"
|
|
1853
2015
|
}
|
|
1854
2016
|
],
|
|
1855
2017
|
"exports": [
|
|
1856
2018
|
{
|
|
1857
2019
|
"kind": "js",
|
|
1858
|
-
"name": "
|
|
2020
|
+
"name": "ActionsMenu",
|
|
1859
2021
|
"declaration": {
|
|
1860
|
-
"name": "
|
|
1861
|
-
"module": "src/
|
|
2022
|
+
"name": "ActionsMenu",
|
|
2023
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1862
2024
|
}
|
|
1863
2025
|
},
|
|
1864
2026
|
{
|
|
1865
2027
|
"kind": "js",
|
|
1866
|
-
"name": "
|
|
2028
|
+
"name": "foundationActionsMenu",
|
|
1867
2029
|
"declaration": {
|
|
1868
|
-
"name": "
|
|
1869
|
-
"module": "src/
|
|
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"
|
|
2030
|
+
"name": "foundationActionsMenu",
|
|
2031
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1886
2032
|
}
|
|
1887
2033
|
}
|
|
1888
2034
|
]
|
|
1889
2035
|
},
|
|
1890
2036
|
{
|
|
1891
2037
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
2038
|
+
"path": "src/actions-menu/index.ts",
|
|
1893
2039
|
"declarations": [],
|
|
1894
2040
|
"exports": [
|
|
1895
2041
|
{
|
|
@@ -1897,7 +2043,7 @@
|
|
|
1897
2043
|
"name": "*",
|
|
1898
2044
|
"declaration": {
|
|
1899
2045
|
"name": "*",
|
|
1900
|
-
"package": "./
|
|
2046
|
+
"package": "./actions-menu.styles"
|
|
1901
2047
|
}
|
|
1902
2048
|
},
|
|
1903
2049
|
{
|
|
@@ -1905,7 +2051,7 @@
|
|
|
1905
2051
|
"name": "*",
|
|
1906
2052
|
"declaration": {
|
|
1907
2053
|
"name": "*",
|
|
1908
|
-
"package": "./
|
|
2054
|
+
"package": "./actions-menu.template"
|
|
1909
2055
|
}
|
|
1910
2056
|
},
|
|
1911
2057
|
{
|
|
@@ -1913,41 +2059,18 @@
|
|
|
1913
2059
|
"name": "*",
|
|
1914
2060
|
"declaration": {
|
|
1915
2061
|
"name": "*",
|
|
1916
|
-
"package": "./
|
|
2062
|
+
"package": "./actions-menu"
|
|
1917
2063
|
}
|
|
1918
2064
|
}
|
|
1919
2065
|
]
|
|
1920
2066
|
},
|
|
1921
2067
|
{
|
|
1922
2068
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2069
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1924
2070
|
"declarations": [
|
|
1925
2071
|
{
|
|
1926
2072
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
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
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
1951
2074
|
"return": {
|
|
1952
2075
|
"type": {
|
|
1953
2076
|
"text": "ElementStyles"
|
|
@@ -1972,281 +2095,156 @@
|
|
|
1972
2095
|
"exports": [
|
|
1973
2096
|
{
|
|
1974
2097
|
"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",
|
|
2098
|
+
"name": "foundationAccordionItemStyles",
|
|
1984
2099
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2100
|
+
"name": "foundationAccordionItemStyles",
|
|
2101
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1987
2102
|
}
|
|
1988
2103
|
}
|
|
1989
2104
|
]
|
|
1990
2105
|
},
|
|
1991
2106
|
{
|
|
1992
2107
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
2108
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1994
2109
|
"declarations": [
|
|
1995
2110
|
{
|
|
1996
2111
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2113
|
+
"return": {
|
|
2114
|
+
"type": {
|
|
2115
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
1998
2118
|
"parameters": [
|
|
1999
2119
|
{
|
|
2000
|
-
"name": "
|
|
2120
|
+
"name": "context",
|
|
2001
2121
|
"type": {
|
|
2002
|
-
"text": "
|
|
2122
|
+
"text": "ElementDefinitionContext"
|
|
2003
2123
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2124
|
+
},
|
|
2011
2125
|
{
|
|
2012
|
-
"name": "
|
|
2126
|
+
"name": "definition",
|
|
2013
2127
|
"type": {
|
|
2014
|
-
"text": "
|
|
2128
|
+
"text": "FoundationElementDefinition"
|
|
2015
2129
|
}
|
|
2016
2130
|
}
|
|
2017
2131
|
]
|
|
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
2132
|
}
|
|
2027
2133
|
],
|
|
2028
2134
|
"exports": [
|
|
2029
2135
|
{
|
|
2030
2136
|
"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",
|
|
2137
|
+
"name": "foundationAccordionItemTemplate",
|
|
2048
2138
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
2139
|
+
"name": "foundationAccordionItemTemplate",
|
|
2140
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2051
2141
|
}
|
|
2052
2142
|
}
|
|
2053
2143
|
]
|
|
2054
2144
|
},
|
|
2055
2145
|
{
|
|
2056
2146
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2147
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2058
2148
|
"declarations": [
|
|
2059
2149
|
{
|
|
2060
2150
|
"kind": "class",
|
|
2061
2151
|
"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
|
-
},
|
|
2152
|
+
"name": "AccordionItem",
|
|
2153
|
+
"superclass": {
|
|
2154
|
+
"name": "FASTAccordionItem",
|
|
2155
|
+
"package": "@microsoft/fast-components"
|
|
2156
|
+
},
|
|
2157
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2158
|
+
"customElement": true,
|
|
2159
|
+
"attributes": [
|
|
2079
2160
|
{
|
|
2080
|
-
"
|
|
2081
|
-
"name": "addDefaultActions",
|
|
2161
|
+
"name": "heading-level",
|
|
2082
2162
|
"type": {
|
|
2083
|
-
"text": "
|
|
2163
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2084
2164
|
},
|
|
2085
|
-
"default": "
|
|
2165
|
+
"default": "2",
|
|
2166
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2167
|
+
"fieldName": "headinglevel",
|
|
2168
|
+
"inheritedFrom": {
|
|
2169
|
+
"name": "AccordionItem",
|
|
2170
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2171
|
+
}
|
|
2086
2172
|
},
|
|
2087
2173
|
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "autoCloseOnAction",
|
|
2090
2174
|
"type": {
|
|
2091
2175
|
"text": "boolean"
|
|
2092
2176
|
},
|
|
2093
|
-
"default": "
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
"
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"text": "string"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "definition",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "any"
|
|
2177
|
+
"default": "false",
|
|
2178
|
+
"description": "Expands or collapses the item.",
|
|
2179
|
+
"fieldName": "expanded",
|
|
2180
|
+
"inheritedFrom": {
|
|
2181
|
+
"name": "AccordionItem",
|
|
2182
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2107
2183
|
}
|
|
2108
2184
|
},
|
|
2109
2185
|
{
|
|
2110
|
-
"
|
|
2111
|
-
"name": "name",
|
|
2186
|
+
"name": "id",
|
|
2112
2187
|
"type": {
|
|
2113
2188
|
"text": "string"
|
|
2114
2189
|
},
|
|
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"
|
|
2190
|
+
"description": "The item ID",
|
|
2191
|
+
"fieldName": "id",
|
|
2192
|
+
"inheritedFrom": {
|
|
2193
|
+
"name": "AccordionItem",
|
|
2194
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
2195
|
}
|
|
2131
|
-
}
|
|
2196
|
+
}
|
|
2197
|
+
],
|
|
2198
|
+
"members": [
|
|
2132
2199
|
{
|
|
2133
2200
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2201
|
+
"name": "headinglevel",
|
|
2135
2202
|
"type": {
|
|
2136
|
-
"text": "
|
|
2203
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2137
2204
|
},
|
|
2138
|
-
"
|
|
2205
|
+
"privacy": "public",
|
|
2206
|
+
"default": "2",
|
|
2207
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2208
|
+
"inheritedFrom": {
|
|
2209
|
+
"name": "AccordionItem",
|
|
2210
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2211
|
+
}
|
|
2139
2212
|
},
|
|
2140
2213
|
{
|
|
2141
2214
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2215
|
+
"name": "expanded",
|
|
2143
2216
|
"type": {
|
|
2144
2217
|
"text": "boolean"
|
|
2145
2218
|
},
|
|
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"
|
|
2219
|
+
"privacy": "public",
|
|
2220
|
+
"default": "false",
|
|
2221
|
+
"description": "Expands or collapses the item.",
|
|
2222
|
+
"inheritedFrom": {
|
|
2223
|
+
"name": "AccordionItem",
|
|
2224
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2167
2225
|
}
|
|
2168
2226
|
},
|
|
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
2227
|
{
|
|
2215
2228
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2229
|
+
"name": "id",
|
|
2217
2230
|
"type": {
|
|
2218
|
-
"text": "
|
|
2231
|
+
"text": "string"
|
|
2219
2232
|
},
|
|
2220
|
-
"
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
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
|
-
]
|
|
2233
|
+
"privacy": "public",
|
|
2234
|
+
"description": "The item ID",
|
|
2235
|
+
"inheritedFrom": {
|
|
2236
|
+
"name": "AccordionItem",
|
|
2237
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2238
|
+
}
|
|
2238
2239
|
},
|
|
2239
2240
|
{
|
|
2240
|
-
"kind": "
|
|
2241
|
-
"name": "
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
]
|
|
2241
|
+
"kind": "field",
|
|
2242
|
+
"name": "change",
|
|
2243
|
+
"privacy": "private",
|
|
2244
|
+
"inheritedFrom": {
|
|
2245
|
+
"name": "AccordionItem",
|
|
2246
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2247
|
+
}
|
|
2250
2248
|
},
|
|
2251
2249
|
{
|
|
2252
2250
|
"kind": "field",
|
|
@@ -2360,107 +2358,78 @@
|
|
|
2360
2358
|
}
|
|
2361
2359
|
}
|
|
2362
2360
|
],
|
|
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
|
-
},
|
|
2361
|
+
"events": [
|
|
2419
2362
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2363
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2364
|
+
"name": "change",
|
|
2365
|
+
"inheritedFrom": {
|
|
2366
|
+
"name": "AccordionItem",
|
|
2367
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2368
|
+
}
|
|
2426
2369
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2370
|
+
]
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"kind": "variable",
|
|
2374
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2375
|
+
"type": {
|
|
2376
|
+
"text": "ShadowRootInit"
|
|
2431
2377
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2378
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2379
|
},
|
|
2435
2380
|
{
|
|
2436
2381
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2382
|
+
"name": "defaultAccordionItemConfig",
|
|
2383
|
+
"type": {
|
|
2384
|
+
"text": "object"
|
|
2385
|
+
},
|
|
2386
|
+
"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}"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"kind": "variable",
|
|
2390
|
+
"name": "foundationAccordionItem",
|
|
2391
|
+
"description": "The Foundation Accordion Item",
|
|
2439
2392
|
"privacy": "public"
|
|
2440
2393
|
}
|
|
2441
2394
|
],
|
|
2442
2395
|
"exports": [
|
|
2443
2396
|
{
|
|
2444
2397
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2398
|
+
"name": "AccordionItem",
|
|
2446
2399
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2400
|
+
"name": "AccordionItem",
|
|
2401
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
2402
|
}
|
|
2450
2403
|
},
|
|
2451
2404
|
{
|
|
2452
2405
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2406
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2454
2407
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2408
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2409
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"kind": "js",
|
|
2414
|
+
"name": "defaultAccordionItemConfig",
|
|
2415
|
+
"declaration": {
|
|
2416
|
+
"name": "defaultAccordionItemConfig",
|
|
2417
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "js",
|
|
2422
|
+
"name": "foundationAccordionItem",
|
|
2423
|
+
"declaration": {
|
|
2424
|
+
"name": "foundationAccordionItem",
|
|
2425
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2457
2426
|
}
|
|
2458
2427
|
}
|
|
2459
2428
|
]
|
|
2460
2429
|
},
|
|
2461
2430
|
{
|
|
2462
2431
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2432
|
+
"path": "src/accordion-item/index.ts",
|
|
2464
2433
|
"declarations": [],
|
|
2465
2434
|
"exports": [
|
|
2466
2435
|
{
|
|
@@ -2468,7 +2437,7 @@
|
|
|
2468
2437
|
"name": "*",
|
|
2469
2438
|
"declaration": {
|
|
2470
2439
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2440
|
+
"package": "./accordion-item.template"
|
|
2472
2441
|
}
|
|
2473
2442
|
},
|
|
2474
2443
|
{
|
|
@@ -2476,7 +2445,7 @@
|
|
|
2476
2445
|
"name": "*",
|
|
2477
2446
|
"declaration": {
|
|
2478
2447
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2448
|
+
"package": "./accordion-item.styles"
|
|
2480
2449
|
}
|
|
2481
2450
|
},
|
|
2482
2451
|
{
|
|
@@ -2484,111 +2453,153 @@
|
|
|
2484
2453
|
"name": "*",
|
|
2485
2454
|
"declaration": {
|
|
2486
2455
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2456
|
+
"package": "./accordion-item"
|
|
2488
2457
|
}
|
|
2489
2458
|
}
|
|
2490
2459
|
]
|
|
2491
2460
|
},
|
|
2492
2461
|
{
|
|
2493
2462
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2463
|
+
"path": "src/_config/index.ts",
|
|
2464
|
+
"declarations": [],
|
|
2465
|
+
"exports": [
|
|
2466
|
+
{
|
|
2467
|
+
"kind": "js",
|
|
2468
|
+
"name": "*",
|
|
2469
|
+
"declaration": {
|
|
2470
|
+
"name": "*",
|
|
2471
|
+
"package": "./styles"
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"kind": "js",
|
|
2476
|
+
"name": "*",
|
|
2477
|
+
"declaration": {
|
|
2478
|
+
"name": "*",
|
|
2479
|
+
"package": "./tokens"
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"kind": "js",
|
|
2484
|
+
"name": "*",
|
|
2485
|
+
"declaration": {
|
|
2486
|
+
"name": "*",
|
|
2487
|
+
"package": "./values"
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"kind": "javascript-module",
|
|
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
|
]
|