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