@genesislcap/foundation-ui 15.46.0 → 15.46.1
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 +965 -965
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -1495,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,18 @@
|
|
|
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/accordion/accordion.styles.ts",
|
|
2013
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1924
2014
|
"declarations": [
|
|
1925
2015
|
{
|
|
1926
2016
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
2017
|
+
"name": "foundationAccordionItemStyles",
|
|
1928
2018
|
"return": {
|
|
1929
2019
|
"type": {
|
|
1930
2020
|
"text": "ElementStyles"
|
|
@@ -1949,24 +2039,24 @@
|
|
|
1949
2039
|
"exports": [
|
|
1950
2040
|
{
|
|
1951
2041
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
2042
|
+
"name": "foundationAccordionItemStyles",
|
|
1953
2043
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2044
|
+
"name": "foundationAccordionItemStyles",
|
|
2045
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1956
2046
|
}
|
|
1957
2047
|
}
|
|
1958
2048
|
]
|
|
1959
2049
|
},
|
|
1960
2050
|
{
|
|
1961
2051
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2052
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1963
2053
|
"declarations": [
|
|
1964
2054
|
{
|
|
1965
2055
|
"kind": "function",
|
|
1966
|
-
"name": "
|
|
2056
|
+
"name": "foundationAccordionItemTemplate",
|
|
1967
2057
|
"return": {
|
|
1968
2058
|
"type": {
|
|
1969
|
-
"text": "ViewTemplate<
|
|
2059
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1970
2060
|
}
|
|
1971
2061
|
},
|
|
1972
2062
|
"parameters": [
|
|
@@ -1988,237 +2078,116 @@
|
|
|
1988
2078
|
"exports": [
|
|
1989
2079
|
{
|
|
1990
2080
|
"kind": "js",
|
|
1991
|
-
"name": "
|
|
2081
|
+
"name": "foundationAccordionItemTemplate",
|
|
1992
2082
|
"declaration": {
|
|
1993
|
-
"name": "
|
|
1994
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2083
|
+
"name": "foundationAccordionItemTemplate",
|
|
2084
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1995
2085
|
}
|
|
1996
2086
|
}
|
|
1997
2087
|
]
|
|
1998
2088
|
},
|
|
1999
2089
|
{
|
|
2000
2090
|
"kind": "javascript-module",
|
|
2001
|
-
"path": "src/accordion/accordion.ts",
|
|
2091
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2002
2092
|
"declarations": [
|
|
2003
2093
|
{
|
|
2004
2094
|
"kind": "class",
|
|
2005
2095
|
"description": "",
|
|
2006
|
-
"name": "
|
|
2096
|
+
"name": "AccordionItem",
|
|
2007
2097
|
"superclass": {
|
|
2008
|
-
"name": "
|
|
2009
|
-
"package": "@microsoft/fast-
|
|
2098
|
+
"name": "FASTAccordionItem",
|
|
2099
|
+
"package": "@microsoft/fast-components"
|
|
2010
2100
|
},
|
|
2011
|
-
"tagName": "%%prefix%%-accordion",
|
|
2101
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2012
2102
|
"customElement": true,
|
|
2013
2103
|
"attributes": [
|
|
2014
2104
|
{
|
|
2015
|
-
"name": "
|
|
2105
|
+
"name": "heading-level",
|
|
2016
2106
|
"type": {
|
|
2017
|
-
"text": "
|
|
2107
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2018
2108
|
},
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2022
|
-
"name": "Accordion",
|
|
2023
|
-
"module": "src/accordion/accordion.ts"
|
|
2024
|
-
}
|
|
2025
|
-
}
|
|
2026
|
-
],
|
|
2027
|
-
"members": [
|
|
2028
|
-
{
|
|
2029
|
-
"kind": "field",
|
|
2030
|
-
"name": "expandmode",
|
|
2031
|
-
"type": {
|
|
2032
|
-
"text": "AccordionExpandMode"
|
|
2033
|
-
},
|
|
2034
|
-
"privacy": "public",
|
|
2035
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2109
|
+
"default": "2",
|
|
2110
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2111
|
+
"fieldName": "headinglevel",
|
|
2036
2112
|
"inheritedFrom": {
|
|
2037
|
-
"name": "
|
|
2038
|
-
"module": "src/accordion/accordion.ts"
|
|
2113
|
+
"name": "AccordionItem",
|
|
2114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2039
2115
|
}
|
|
2040
2116
|
},
|
|
2041
2117
|
{
|
|
2042
|
-
"kind": "field",
|
|
2043
|
-
"name": "activeid",
|
|
2044
2118
|
"type": {
|
|
2045
|
-
"text": "
|
|
2119
|
+
"text": "boolean"
|
|
2046
2120
|
},
|
|
2047
|
-
"
|
|
2121
|
+
"default": "false",
|
|
2122
|
+
"description": "Expands or collapses the item.",
|
|
2123
|
+
"fieldName": "expanded",
|
|
2048
2124
|
"inheritedFrom": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/accordion/accordion.ts"
|
|
2125
|
+
"name": "AccordionItem",
|
|
2126
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2051
2127
|
}
|
|
2052
2128
|
},
|
|
2053
2129
|
{
|
|
2054
|
-
"
|
|
2055
|
-
"name": "activeItemIndex",
|
|
2130
|
+
"name": "id",
|
|
2056
2131
|
"type": {
|
|
2057
|
-
"text": "
|
|
2132
|
+
"text": "string"
|
|
2058
2133
|
},
|
|
2059
|
-
"
|
|
2060
|
-
"
|
|
2134
|
+
"description": "The item ID",
|
|
2135
|
+
"fieldName": "id",
|
|
2061
2136
|
"inheritedFrom": {
|
|
2062
|
-
"name": "
|
|
2063
|
-
"module": "src/accordion/accordion.ts"
|
|
2137
|
+
"name": "AccordionItem",
|
|
2138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2064
2139
|
}
|
|
2065
|
-
}
|
|
2140
|
+
}
|
|
2141
|
+
],
|
|
2142
|
+
"members": [
|
|
2066
2143
|
{
|
|
2067
2144
|
"kind": "field",
|
|
2068
|
-
"name": "
|
|
2145
|
+
"name": "headinglevel",
|
|
2069
2146
|
"type": {
|
|
2070
|
-
"text": "
|
|
2071
|
-
},
|
|
2072
|
-
"privacy": "private",
|
|
2073
|
-
"inheritedFrom": {
|
|
2074
|
-
"name": "Accordion",
|
|
2075
|
-
"module": "src/accordion/accordion.ts"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"kind": "field",
|
|
2080
|
-
"name": "change",
|
|
2081
|
-
"privacy": "private",
|
|
2082
|
-
"inheritedFrom": {
|
|
2083
|
-
"name": "Accordion",
|
|
2084
|
-
"module": "src/accordion/accordion.ts"
|
|
2085
|
-
}
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"kind": "method",
|
|
2089
|
-
"name": "findExpandedItem",
|
|
2090
|
-
"privacy": "private",
|
|
2091
|
-
"return": {
|
|
2092
|
-
"type": {
|
|
2093
|
-
"text": "AccordionItem | null"
|
|
2094
|
-
}
|
|
2147
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2095
2148
|
},
|
|
2149
|
+
"privacy": "public",
|
|
2150
|
+
"default": "2",
|
|
2151
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2096
2152
|
"inheritedFrom": {
|
|
2097
|
-
"name": "
|
|
2098
|
-
"module": "src/accordion/accordion.ts"
|
|
2153
|
+
"name": "AccordionItem",
|
|
2154
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
2155
|
}
|
|
2100
2156
|
},
|
|
2101
2157
|
{
|
|
2102
2158
|
"kind": "field",
|
|
2103
|
-
"name": "
|
|
2104
|
-
"
|
|
2105
|
-
|
|
2106
|
-
"name": "Accordion",
|
|
2107
|
-
"module": "src/accordion/accordion.ts"
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"kind": "method",
|
|
2112
|
-
"name": "resetItems",
|
|
2113
|
-
"privacy": "private",
|
|
2114
|
-
"return": {
|
|
2115
|
-
"type": {
|
|
2116
|
-
"text": "void"
|
|
2117
|
-
}
|
|
2159
|
+
"name": "expanded",
|
|
2160
|
+
"type": {
|
|
2161
|
+
"text": "boolean"
|
|
2118
2162
|
},
|
|
2163
|
+
"privacy": "public",
|
|
2164
|
+
"default": "false",
|
|
2165
|
+
"description": "Expands or collapses the item.",
|
|
2119
2166
|
"inheritedFrom": {
|
|
2120
|
-
"name": "
|
|
2121
|
-
"module": "src/accordion/accordion.ts"
|
|
2122
|
-
}
|
|
2123
|
-
},
|
|
2124
|
-
{
|
|
2125
|
-
"kind": "field",
|
|
2126
|
-
"name": "removeItemListeners",
|
|
2127
|
-
"privacy": "private",
|
|
2128
|
-
"inheritedFrom": {
|
|
2129
|
-
"name": "Accordion",
|
|
2130
|
-
"module": "src/accordion/accordion.ts"
|
|
2167
|
+
"name": "AccordionItem",
|
|
2168
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2131
2169
|
}
|
|
2132
2170
|
},
|
|
2133
2171
|
{
|
|
2134
2172
|
"kind": "field",
|
|
2135
|
-
"name": "
|
|
2136
|
-
"
|
|
2137
|
-
|
|
2138
|
-
"name": "Accordion",
|
|
2139
|
-
"module": "src/accordion/accordion.ts"
|
|
2140
|
-
}
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
"kind": "method",
|
|
2144
|
-
"name": "getItemIds",
|
|
2145
|
-
"privacy": "private",
|
|
2146
|
-
"return": {
|
|
2147
|
-
"type": {
|
|
2148
|
-
"text": "Array<string | null>"
|
|
2149
|
-
}
|
|
2150
|
-
},
|
|
2151
|
-
"inheritedFrom": {
|
|
2152
|
-
"name": "Accordion",
|
|
2153
|
-
"module": "src/accordion/accordion.ts"
|
|
2154
|
-
}
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
"kind": "method",
|
|
2158
|
-
"name": "isSingleExpandMode",
|
|
2159
|
-
"privacy": "private",
|
|
2160
|
-
"return": {
|
|
2161
|
-
"type": {
|
|
2162
|
-
"text": "boolean"
|
|
2163
|
-
}
|
|
2173
|
+
"name": "id",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "string"
|
|
2164
2176
|
},
|
|
2177
|
+
"privacy": "public",
|
|
2178
|
+
"description": "The item ID",
|
|
2165
2179
|
"inheritedFrom": {
|
|
2166
|
-
"name": "
|
|
2167
|
-
"module": "src/accordion/accordion.ts"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "field",
|
|
2172
|
-
"name": "handleItemKeyDown",
|
|
2173
|
-
"privacy": "private",
|
|
2174
|
-
"inheritedFrom": {
|
|
2175
|
-
"name": "Accordion",
|
|
2176
|
-
"module": "src/accordion/accordion.ts"
|
|
2180
|
+
"name": "AccordionItem",
|
|
2181
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2177
2182
|
}
|
|
2178
2183
|
},
|
|
2179
2184
|
{
|
|
2180
2185
|
"kind": "field",
|
|
2181
|
-
"name": "
|
|
2182
|
-
"privacy": "private",
|
|
2183
|
-
"inheritedFrom": {
|
|
2184
|
-
"name": "Accordion",
|
|
2185
|
-
"module": "src/accordion/accordion.ts"
|
|
2186
|
-
}
|
|
2187
|
-
},
|
|
2188
|
-
{
|
|
2189
|
-
"kind": "method",
|
|
2190
|
-
"name": "adjust",
|
|
2191
|
-
"privacy": "private",
|
|
2192
|
-
"return": {
|
|
2193
|
-
"type": {
|
|
2194
|
-
"text": "void"
|
|
2195
|
-
}
|
|
2196
|
-
},
|
|
2197
|
-
"parameters": [
|
|
2198
|
-
{
|
|
2199
|
-
"name": "adjustment",
|
|
2200
|
-
"type": {
|
|
2201
|
-
"text": "number"
|
|
2202
|
-
}
|
|
2203
|
-
}
|
|
2204
|
-
],
|
|
2205
|
-
"inheritedFrom": {
|
|
2206
|
-
"name": "Accordion",
|
|
2207
|
-
"module": "src/accordion/accordion.ts"
|
|
2208
|
-
}
|
|
2209
|
-
},
|
|
2210
|
-
{
|
|
2211
|
-
"kind": "method",
|
|
2212
|
-
"name": "focusItem",
|
|
2186
|
+
"name": "change",
|
|
2213
2187
|
"privacy": "private",
|
|
2214
|
-
"return": {
|
|
2215
|
-
"type": {
|
|
2216
|
-
"text": "void"
|
|
2217
|
-
}
|
|
2218
|
-
},
|
|
2219
2188
|
"inheritedFrom": {
|
|
2220
|
-
"name": "
|
|
2221
|
-
"module": "src/accordion/accordion.ts"
|
|
2189
|
+
"name": "AccordionItem",
|
|
2190
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2222
2191
|
}
|
|
2223
2192
|
},
|
|
2224
2193
|
{
|
|
@@ -2335,18 +2304,18 @@
|
|
|
2335
2304
|
],
|
|
2336
2305
|
"events": [
|
|
2337
2306
|
{
|
|
2338
|
-
"description": "Fires a custom 'change' event when the
|
|
2307
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
2308
|
"name": "change",
|
|
2340
2309
|
"inheritedFrom": {
|
|
2341
|
-
"name": "
|
|
2342
|
-
"module": "src/accordion/accordion.ts"
|
|
2310
|
+
"name": "AccordionItem",
|
|
2311
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
2312
|
}
|
|
2344
2313
|
}
|
|
2345
2314
|
]
|
|
2346
2315
|
},
|
|
2347
2316
|
{
|
|
2348
2317
|
"kind": "variable",
|
|
2349
|
-
"name": "
|
|
2318
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2350
2319
|
"type": {
|
|
2351
2320
|
"text": "ShadowRootInit"
|
|
2352
2321
|
},
|
|
@@ -2354,57 +2323,57 @@
|
|
|
2354
2323
|
},
|
|
2355
2324
|
{
|
|
2356
2325
|
"kind": "variable",
|
|
2357
|
-
"name": "
|
|
2326
|
+
"name": "defaultAccordionItemConfig",
|
|
2358
2327
|
"type": {
|
|
2359
2328
|
"text": "object"
|
|
2360
2329
|
},
|
|
2361
|
-
"default": "{}"
|
|
2330
|
+
"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
2331
|
},
|
|
2363
2332
|
{
|
|
2364
2333
|
"kind": "variable",
|
|
2365
|
-
"name": "
|
|
2366
|
-
"description": "The Foundation Accordion",
|
|
2334
|
+
"name": "foundationAccordionItem",
|
|
2335
|
+
"description": "The Foundation Accordion Item",
|
|
2367
2336
|
"privacy": "public"
|
|
2368
2337
|
}
|
|
2369
2338
|
],
|
|
2370
2339
|
"exports": [
|
|
2371
2340
|
{
|
|
2372
2341
|
"kind": "js",
|
|
2373
|
-
"name": "
|
|
2342
|
+
"name": "AccordionItem",
|
|
2374
2343
|
"declaration": {
|
|
2375
|
-
"name": "
|
|
2376
|
-
"module": "src/accordion/accordion.ts"
|
|
2344
|
+
"name": "AccordionItem",
|
|
2345
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2377
2346
|
}
|
|
2378
2347
|
},
|
|
2379
2348
|
{
|
|
2380
2349
|
"kind": "js",
|
|
2381
|
-
"name": "
|
|
2350
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2382
2351
|
"declaration": {
|
|
2383
|
-
"name": "
|
|
2384
|
-
"module": "src/accordion/accordion.ts"
|
|
2352
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2353
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
2354
|
}
|
|
2386
2355
|
},
|
|
2387
2356
|
{
|
|
2388
2357
|
"kind": "js",
|
|
2389
|
-
"name": "
|
|
2358
|
+
"name": "defaultAccordionItemConfig",
|
|
2390
2359
|
"declaration": {
|
|
2391
|
-
"name": "
|
|
2392
|
-
"module": "src/accordion/accordion.ts"
|
|
2360
|
+
"name": "defaultAccordionItemConfig",
|
|
2361
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2393
2362
|
}
|
|
2394
2363
|
},
|
|
2395
2364
|
{
|
|
2396
2365
|
"kind": "js",
|
|
2397
|
-
"name": "
|
|
2366
|
+
"name": "foundationAccordionItem",
|
|
2398
2367
|
"declaration": {
|
|
2399
|
-
"name": "
|
|
2400
|
-
"module": "src/accordion/accordion.ts"
|
|
2368
|
+
"name": "foundationAccordionItem",
|
|
2369
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2401
2370
|
}
|
|
2402
2371
|
}
|
|
2403
2372
|
]
|
|
2404
2373
|
},
|
|
2405
2374
|
{
|
|
2406
2375
|
"kind": "javascript-module",
|
|
2407
|
-
"path": "src/accordion/index.ts",
|
|
2376
|
+
"path": "src/accordion-item/index.ts",
|
|
2408
2377
|
"declarations": [],
|
|
2409
2378
|
"exports": [
|
|
2410
2379
|
{
|
|
@@ -2412,7 +2381,7 @@
|
|
|
2412
2381
|
"name": "*",
|
|
2413
2382
|
"declaration": {
|
|
2414
2383
|
"name": "*",
|
|
2415
|
-
"package": "./accordion.template"
|
|
2384
|
+
"package": "./accordion-item.template"
|
|
2416
2385
|
}
|
|
2417
2386
|
},
|
|
2418
2387
|
{
|
|
@@ -2420,7 +2389,7 @@
|
|
|
2420
2389
|
"name": "*",
|
|
2421
2390
|
"declaration": {
|
|
2422
2391
|
"name": "*",
|
|
2423
|
-
"package": "./accordion.styles"
|
|
2392
|
+
"package": "./accordion-item.styles"
|
|
2424
2393
|
}
|
|
2425
2394
|
},
|
|
2426
2395
|
{
|
|
@@ -2428,122 +2397,241 @@
|
|
|
2428
2397
|
"name": "*",
|
|
2429
2398
|
"declaration": {
|
|
2430
2399
|
"name": "*",
|
|
2431
|
-
"package": "./accordion"
|
|
2400
|
+
"package": "./accordion-item"
|
|
2432
2401
|
}
|
|
2433
2402
|
}
|
|
2434
2403
|
]
|
|
2435
2404
|
},
|
|
2436
2405
|
{
|
|
2437
2406
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/
|
|
2407
|
+
"path": "src/_config/index.ts",
|
|
2408
|
+
"declarations": [],
|
|
2409
|
+
"exports": [
|
|
2410
|
+
{
|
|
2411
|
+
"kind": "js",
|
|
2412
|
+
"name": "*",
|
|
2413
|
+
"declaration": {
|
|
2414
|
+
"name": "*",
|
|
2415
|
+
"package": "./styles"
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"kind": "js",
|
|
2420
|
+
"name": "*",
|
|
2421
|
+
"declaration": {
|
|
2422
|
+
"name": "*",
|
|
2423
|
+
"package": "./tokens"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"kind": "js",
|
|
2428
|
+
"name": "*",
|
|
2429
|
+
"declaration": {
|
|
2430
|
+
"name": "*",
|
|
2431
|
+
"package": "./values"
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
]
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"kind": "javascript-module",
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2439
2439
|
"declarations": [
|
|
2440
2440
|
{
|
|
2441
|
-
"kind": "
|
|
2442
|
-
"name": "
|
|
2443
|
-
"
|
|
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
|
+
]
|
|
2444
2485
|
}
|
|
2445
2486
|
],
|
|
2446
2487
|
"exports": [
|
|
2447
2488
|
{
|
|
2448
2489
|
"kind": "js",
|
|
2449
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2450
2491
|
"declaration": {
|
|
2451
|
-
"name": "
|
|
2452
|
-
"module": "src/
|
|
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"
|
|
2453
2502
|
}
|
|
2454
2503
|
}
|
|
2455
2504
|
]
|
|
2456
2505
|
},
|
|
2457
2506
|
{
|
|
2458
2507
|
"kind": "javascript-module",
|
|
2459
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2460
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
|
+
},
|
|
2461
2534
|
{
|
|
2462
2535
|
"kind": "variable",
|
|
2463
|
-
"name": "
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2464
2537
|
"type": {
|
|
2465
|
-
"text": "ViewTemplate<
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2466
2539
|
},
|
|
2467
|
-
"default": "html`\n ${(x) =>
|
|
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`"
|
|
2468
2541
|
}
|
|
2469
2542
|
],
|
|
2470
2543
|
"exports": [
|
|
2471
2544
|
{
|
|
2472
2545
|
"kind": "js",
|
|
2473
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
2474
2547
|
"declaration": {
|
|
2475
|
-
"name": "
|
|
2476
|
-
"module": "src/
|
|
2548
|
+
"name": "menuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "js",
|
|
2554
|
+
"name": "singleOptionTemplate",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "singleOptionTemplate",
|
|
2557
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "js",
|
|
2562
|
+
"name": "foundationActionsMenuTemplate",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "foundationActionsMenuTemplate",
|
|
2565
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2477
2566
|
}
|
|
2478
2567
|
}
|
|
2479
2568
|
]
|
|
2480
2569
|
},
|
|
2481
2570
|
{
|
|
2482
2571
|
"kind": "javascript-module",
|
|
2483
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2484
2573
|
"declarations": [
|
|
2485
2574
|
{
|
|
2486
2575
|
"kind": "class",
|
|
2487
|
-
"description": "
|
|
2488
|
-
"name": "
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "ActionsMenu",
|
|
2489
2578
|
"members": [
|
|
2490
2579
|
{
|
|
2491
2580
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
2493
2582
|
"type": {
|
|
2494
|
-
"text": "
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
2495
2584
|
}
|
|
2496
2585
|
},
|
|
2497
2586
|
{
|
|
2498
2587
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
2500
2589
|
"type": {
|
|
2501
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2502
2591
|
},
|
|
2503
|
-
"default": "
|
|
2592
|
+
"default": "false"
|
|
2504
2593
|
},
|
|
2505
2594
|
{
|
|
2506
2595
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
2508
2597
|
"type": {
|
|
2509
2598
|
"text": "boolean"
|
|
2510
|
-
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2511
2601
|
},
|
|
2512
2602
|
{
|
|
2513
2603
|
"kind": "field",
|
|
2514
|
-
"name": "
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2515
2605
|
"type": {
|
|
2516
|
-
"text": "
|
|
2606
|
+
"text": "boolean"
|
|
2517
2607
|
},
|
|
2518
|
-
"default": "
|
|
2608
|
+
"default": "true"
|
|
2519
2609
|
},
|
|
2520
2610
|
{
|
|
2521
2611
|
"kind": "field",
|
|
2522
|
-
"name": "
|
|
2612
|
+
"name": "classNames",
|
|
2523
2613
|
"type": {
|
|
2524
|
-
"text": "
|
|
2525
|
-
}
|
|
2526
|
-
"default": "false"
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
}
|
|
2527
2616
|
},
|
|
2528
2617
|
{
|
|
2529
2618
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
2531
2620
|
"type": {
|
|
2532
|
-
"text": "
|
|
2533
|
-
}
|
|
2534
|
-
"default": "null"
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2535
2623
|
},
|
|
2536
2624
|
{
|
|
2537
2625
|
"kind": "field",
|
|
2538
|
-
"name": "
|
|
2626
|
+
"name": "name",
|
|
2539
2627
|
"type": {
|
|
2540
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2541
2629
|
},
|
|
2542
|
-
"default": "
|
|
2630
|
+
"default": "'Actions'"
|
|
2543
2631
|
},
|
|
2544
2632
|
{
|
|
2545
2633
|
"kind": "field",
|
|
2546
|
-
"name": "
|
|
2634
|
+
"name": "open",
|
|
2547
2635
|
"type": {
|
|
2548
2636
|
"text": "boolean"
|
|
2549
2637
|
},
|
|
@@ -2551,15 +2639,14 @@
|
|
|
2551
2639
|
},
|
|
2552
2640
|
{
|
|
2553
2641
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2555
2643
|
"type": {
|
|
2556
|
-
"text": "
|
|
2557
|
-
}
|
|
2558
|
-
"default": "[]"
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2559
2646
|
},
|
|
2560
2647
|
{
|
|
2561
2648
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2649
|
+
"name": "hideDisabled",
|
|
2563
2650
|
"type": {
|
|
2564
2651
|
"text": "boolean"
|
|
2565
2652
|
},
|
|
@@ -2567,125 +2654,114 @@
|
|
|
2567
2654
|
},
|
|
2568
2655
|
{
|
|
2569
2656
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2571
2658
|
"type": {
|
|
2572
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2573
2660
|
},
|
|
2574
|
-
"
|
|
2661
|
+
"default": "false"
|
|
2575
2662
|
},
|
|
2576
2663
|
{
|
|
2577
2664
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2665
|
+
"name": "singleOption",
|
|
2579
2666
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2582
|
-
"privacy": "private",
|
|
2583
|
-
"default": "null"
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2584
2669
|
},
|
|
2585
2670
|
{
|
|
2586
2671
|
"kind": "field",
|
|
2587
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2588
2673
|
"type": {
|
|
2589
|
-
"text": "
|
|
2590
|
-
}
|
|
2591
|
-
"privacy": "private",
|
|
2592
|
-
"default": "null"
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2593
2676
|
},
|
|
2594
2677
|
{
|
|
2595
2678
|
"kind": "field",
|
|
2596
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2597
2680
|
"type": {
|
|
2598
|
-
"text": "
|
|
2599
|
-
}
|
|
2600
|
-
"readonly": true
|
|
2681
|
+
"text": "HTMLElement"
|
|
2682
|
+
}
|
|
2601
2683
|
},
|
|
2602
2684
|
{
|
|
2603
|
-
"kind": "
|
|
2604
|
-
"name": "
|
|
2605
|
-
"
|
|
2606
|
-
"text": "CriteriaChip[]"
|
|
2607
|
-
},
|
|
2608
|
-
"readonly": true
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2609
2688
|
},
|
|
2610
2689
|
{
|
|
2611
2690
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2613
|
-
"privacy": "
|
|
2614
|
-
"return": {
|
|
2615
|
-
"type": {
|
|
2616
|
-
"text": "string"
|
|
2617
|
-
}
|
|
2618
|
-
},
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2619
2693
|
"parameters": [
|
|
2620
2694
|
{
|
|
2621
|
-
"name": "
|
|
2695
|
+
"name": "oldValue",
|
|
2622
2696
|
"type": {
|
|
2623
|
-
"text": "
|
|
2697
|
+
"text": "any"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"name": "newValue",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "any"
|
|
2624
2704
|
}
|
|
2625
2705
|
}
|
|
2626
2706
|
]
|
|
2627
2707
|
},
|
|
2628
2708
|
{
|
|
2629
2709
|
"kind": "method",
|
|
2630
|
-
"name": "
|
|
2631
|
-
"
|
|
2632
|
-
"type": {
|
|
2633
|
-
"text": "void"
|
|
2634
|
-
}
|
|
2635
|
-
}
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2636
2712
|
},
|
|
2637
2713
|
{
|
|
2638
2714
|
"kind": "method",
|
|
2639
|
-
"name": "
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
},
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2645
2720
|
"parameters": [
|
|
2646
2721
|
{
|
|
2647
|
-
"name": "
|
|
2648
|
-
"type": {
|
|
2649
|
-
"text": "number"
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
{
|
|
2653
|
-
"name": "clauseIndex",
|
|
2722
|
+
"name": "callback",
|
|
2654
2723
|
"type": {
|
|
2655
|
-
"text": "
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2656
2725
|
}
|
|
2657
2726
|
}
|
|
2658
2727
|
]
|
|
2659
2728
|
},
|
|
2660
2729
|
{
|
|
2661
|
-
"kind": "
|
|
2662
|
-
"name": "
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
}
|
|
2668
|
-
},
|
|
2669
|
-
{
|
|
2670
|
-
"kind": "method",
|
|
2671
|
-
"name": "handleSubmit"
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
"kind": "method",
|
|
2675
|
-
"name": "handleBlur"
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2676
2736
|
},
|
|
2677
2737
|
{
|
|
2678
|
-
"kind": "
|
|
2679
|
-
"name": "
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2680
2741
|
},
|
|
2681
2742
|
{
|
|
2682
2743
|
"kind": "method",
|
|
2683
|
-
"name": "
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2684
2753
|
},
|
|
2685
2754
|
{
|
|
2686
2755
|
"kind": "method",
|
|
2687
|
-
"name": "
|
|
2688
|
-
"
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2689
2765
|
},
|
|
2690
2766
|
{
|
|
2691
2767
|
"kind": "field",
|
|
@@ -2799,448 +2875,246 @@
|
|
|
2799
2875
|
}
|
|
2800
2876
|
}
|
|
2801
2877
|
],
|
|
2802
|
-
"
|
|
2878
|
+
"attributes": [
|
|
2803
2879
|
{
|
|
2804
|
-
"
|
|
2805
|
-
"
|
|
2880
|
+
"name": "is-vertical",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2806
2886
|
},
|
|
2807
2887
|
{
|
|
2808
|
-
"
|
|
2809
|
-
"
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2888
|
+
"name": "add-default-actions",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
2813
2895
|
{
|
|
2814
|
-
"name": "
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "name",
|
|
2815
2905
|
"type": {
|
|
2816
2906
|
"text": "string"
|
|
2817
2907
|
},
|
|
2818
|
-
"default": "'
|
|
2819
|
-
"fieldName": "
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
2820
2910
|
},
|
|
2821
2911
|
{
|
|
2912
|
+
"name": "open",
|
|
2822
2913
|
"type": {
|
|
2823
2914
|
"text": "boolean"
|
|
2824
2915
|
},
|
|
2825
|
-
"
|
|
2916
|
+
"default": "false",
|
|
2917
|
+
"fieldName": "open"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "buttonAppearance",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"fieldName": "buttonAppearance"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "hide-disabled",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
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"
|
|
2826
2941
|
}
|
|
2827
2942
|
],
|
|
2828
2943
|
"superclass": {
|
|
2829
2944
|
"name": "FoundationElement",
|
|
2830
2945
|
"package": "@microsoft/fast-foundation"
|
|
2831
2946
|
},
|
|
2832
|
-
"tagName": "%%prefix%%-
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2833
2948
|
"customElement": true
|
|
2834
2949
|
},
|
|
2835
2950
|
{
|
|
2836
2951
|
"kind": "variable",
|
|
2837
|
-
"name": "
|
|
2838
|
-
"
|
|
2839
|
-
|
|
2840
|
-
},
|
|
2841
|
-
"default": "undefined"
|
|
2842
|
-
},
|
|
2843
|
-
{
|
|
2844
|
-
"kind": "variable",
|
|
2845
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2846
|
-
"type": {
|
|
2847
|
-
"text": "object"
|
|
2848
|
-
},
|
|
2849
|
-
"default": "{}"
|
|
2850
|
-
},
|
|
2851
|
-
{
|
|
2852
|
-
"kind": "variable",
|
|
2853
|
-
"name": "foundationAiCriteriaSearch"
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
2854
2955
|
}
|
|
2855
2956
|
],
|
|
2856
2957
|
"exports": [
|
|
2857
2958
|
{
|
|
2858
2959
|
"kind": "js",
|
|
2859
|
-
"name": "
|
|
2860
|
-
"declaration": {
|
|
2861
|
-
"name": "AiCriteriaSearch",
|
|
2862
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
{
|
|
2866
|
-
"kind": "js",
|
|
2867
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2868
|
-
"declaration": {
|
|
2869
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2870
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2871
|
-
}
|
|
2872
|
-
},
|
|
2873
|
-
{
|
|
2874
|
-
"kind": "js",
|
|
2875
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2960
|
+
"name": "ActionsMenu",
|
|
2876
2961
|
"declaration": {
|
|
2877
|
-
"name": "
|
|
2878
|
-
"module": "src/
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2879
2964
|
}
|
|
2880
2965
|
},
|
|
2881
2966
|
{
|
|
2882
2967
|
"kind": "js",
|
|
2883
|
-
"name": "
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
2884
2969
|
"declaration": {
|
|
2885
|
-
"name": "
|
|
2886
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2887
2972
|
}
|
|
2888
2973
|
}
|
|
2889
2974
|
]
|
|
2890
2975
|
},
|
|
2891
2976
|
{
|
|
2892
2977
|
"kind": "javascript-module",
|
|
2893
|
-
"path": "src/
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
2894
2979
|
"declarations": [],
|
|
2895
2980
|
"exports": [
|
|
2896
|
-
{
|
|
2897
|
-
"kind": "js",
|
|
2898
|
-
"name": "AiCriteriaSearch",
|
|
2899
|
-
"declaration": {
|
|
2900
|
-
"name": "AiCriteriaSearch",
|
|
2901
|
-
"module": "./ai-criteria-search"
|
|
2902
|
-
}
|
|
2903
|
-
},
|
|
2904
|
-
{
|
|
2905
|
-
"kind": "js",
|
|
2906
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2907
|
-
"declaration": {
|
|
2908
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2909
|
-
"module": "./ai-criteria-search"
|
|
2910
|
-
}
|
|
2911
|
-
},
|
|
2912
|
-
{
|
|
2913
|
-
"kind": "js",
|
|
2914
|
-
"name": "foundationAiCriteriaSearch",
|
|
2915
|
-
"declaration": {
|
|
2916
|
-
"name": "foundationAiCriteriaSearch",
|
|
2917
|
-
"module": "./ai-criteria-search"
|
|
2918
|
-
}
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"kind": "js",
|
|
2922
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2923
|
-
"declaration": {
|
|
2924
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2925
|
-
"module": "./ai-criteria-search"
|
|
2926
|
-
}
|
|
2927
|
-
},
|
|
2928
|
-
{
|
|
2929
|
-
"kind": "js",
|
|
2930
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2931
|
-
"declaration": {
|
|
2932
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2933
|
-
"module": "./ai-criteria-search.styles"
|
|
2934
|
-
}
|
|
2935
|
-
},
|
|
2936
|
-
{
|
|
2937
|
-
"kind": "js",
|
|
2938
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2939
|
-
"declaration": {
|
|
2940
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2941
|
-
"module": "./ai-criteria-search.template"
|
|
2942
|
-
}
|
|
2943
|
-
},
|
|
2944
2981
|
{
|
|
2945
2982
|
"kind": "js",
|
|
2946
2983
|
"name": "*",
|
|
2947
2984
|
"declaration": {
|
|
2948
2985
|
"name": "*",
|
|
2949
|
-
"package": "./
|
|
2950
|
-
}
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"kind": "js",
|
|
2954
|
-
"name": "*",
|
|
2955
|
-
"declaration": {
|
|
2956
|
-
"name": "*",
|
|
2957
|
-
"package": "./validation/operator-map"
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
2958
2987
|
}
|
|
2959
2988
|
},
|
|
2960
2989
|
{
|
|
2961
2990
|
"kind": "js",
|
|
2962
2991
|
"name": "*",
|
|
2963
2992
|
"declaration": {
|
|
2964
|
-
"name": "*",
|
|
2965
|
-
"package": "./
|
|
2966
|
-
}
|
|
2967
|
-
}
|
|
2968
|
-
]
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
"kind": "javascript-module",
|
|
2972
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2973
|
-
"declarations": [
|
|
2974
|
-
{
|
|
2975
|
-
"kind": "function",
|
|
2976
|
-
"name": "formatValidationErrors",
|
|
2977
|
-
"return": {
|
|
2978
|
-
"type": {
|
|
2979
|
-
"text": "string"
|
|
2980
|
-
}
|
|
2981
|
-
},
|
|
2982
|
-
"parameters": [
|
|
2983
|
-
{
|
|
2984
|
-
"name": "errors",
|
|
2985
|
-
"type": {
|
|
2986
|
-
"text": "ValidationError[]"
|
|
2987
|
-
}
|
|
2988
|
-
}
|
|
2989
|
-
],
|
|
2990
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "function",
|
|
2994
|
-
"name": "showCriteriaError",
|
|
2995
|
-
"return": {
|
|
2996
|
-
"type": {
|
|
2997
|
-
"text": "void"
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
"parameters": [
|
|
3001
|
-
{
|
|
3002
|
-
"name": "title",
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "string"
|
|
3005
|
-
},
|
|
3006
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"name": "body",
|
|
3010
|
-
"type": {
|
|
3011
|
-
"text": "string"
|
|
3012
|
-
},
|
|
3013
|
-
"description": "Error message to display"
|
|
3014
|
-
},
|
|
3015
|
-
{
|
|
3016
|
-
"name": "tagName",
|
|
3017
|
-
"type": {
|
|
3018
|
-
"text": "string"
|
|
3019
|
-
},
|
|
3020
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3021
|
-
}
|
|
3022
|
-
],
|
|
3023
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3024
|
-
}
|
|
3025
|
-
],
|
|
3026
|
-
"exports": [
|
|
3027
|
-
{
|
|
3028
|
-
"kind": "js",
|
|
3029
|
-
"name": "formatValidationErrors",
|
|
3030
|
-
"declaration": {
|
|
3031
|
-
"name": "formatValidationErrors",
|
|
3032
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3033
|
-
}
|
|
3034
|
-
},
|
|
3035
|
-
{
|
|
3036
|
-
"kind": "js",
|
|
3037
|
-
"name": "showCriteriaError",
|
|
3038
|
-
"declaration": {
|
|
3039
|
-
"name": "showCriteriaError",
|
|
3040
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3041
|
-
}
|
|
3042
|
-
}
|
|
3043
|
-
]
|
|
3044
|
-
},
|
|
3045
|
-
{
|
|
3046
|
-
"kind": "javascript-module",
|
|
3047
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3048
|
-
"declarations": [
|
|
3049
|
-
{
|
|
3050
|
-
"kind": "function",
|
|
3051
|
-
"name": "actionsMenuBaseStyles",
|
|
3052
|
-
"return": {
|
|
3053
|
-
"type": {
|
|
3054
|
-
"text": "ElementStyles"
|
|
3055
|
-
}
|
|
3056
|
-
},
|
|
3057
|
-
"parameters": [
|
|
3058
|
-
{
|
|
3059
|
-
"name": "context",
|
|
3060
|
-
"type": {
|
|
3061
|
-
"text": "ElementDefinitionContext"
|
|
3062
|
-
}
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"name": "definition",
|
|
3066
|
-
"type": {
|
|
3067
|
-
"text": "FoundationElementDefinition"
|
|
3068
|
-
}
|
|
3069
|
-
}
|
|
3070
|
-
]
|
|
3071
|
-
},
|
|
3072
|
-
{
|
|
3073
|
-
"kind": "function",
|
|
3074
|
-
"name": "foundationActionsMenuStyles",
|
|
3075
|
-
"return": {
|
|
3076
|
-
"type": {
|
|
3077
|
-
"text": "ElementStyles"
|
|
3078
|
-
}
|
|
3079
|
-
},
|
|
3080
|
-
"parameters": [
|
|
3081
|
-
{
|
|
3082
|
-
"name": "context",
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "ElementDefinitionContext"
|
|
3085
|
-
}
|
|
3086
|
-
},
|
|
3087
|
-
{
|
|
3088
|
-
"name": "definition",
|
|
3089
|
-
"type": {
|
|
3090
|
-
"text": "FoundationElementDefinition"
|
|
3091
|
-
}
|
|
3092
|
-
}
|
|
3093
|
-
]
|
|
3094
|
-
}
|
|
3095
|
-
],
|
|
3096
|
-
"exports": [
|
|
3097
|
-
{
|
|
3098
|
-
"kind": "js",
|
|
3099
|
-
"name": "actionsMenuBaseStyles",
|
|
3100
|
-
"declaration": {
|
|
3101
|
-
"name": "actionsMenuBaseStyles",
|
|
3102
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2993
|
+
"name": "*",
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
3103
2995
|
}
|
|
3104
2996
|
},
|
|
3105
2997
|
{
|
|
3106
2998
|
"kind": "js",
|
|
3107
|
-
"name": "
|
|
2999
|
+
"name": "*",
|
|
3108
3000
|
"declaration": {
|
|
3109
|
-
"name": "
|
|
3110
|
-
"
|
|
3001
|
+
"name": "*",
|
|
3002
|
+
"package": "./actions-menu"
|
|
3111
3003
|
}
|
|
3112
3004
|
}
|
|
3113
3005
|
]
|
|
3114
3006
|
},
|
|
3115
3007
|
{
|
|
3116
3008
|
"kind": "javascript-module",
|
|
3117
|
-
"path": "src/
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3118
3010
|
"declarations": [
|
|
3119
|
-
{
|
|
3120
|
-
"kind": "function",
|
|
3121
|
-
"name": "menuTemplate",
|
|
3122
|
-
"parameters": [
|
|
3123
|
-
{
|
|
3124
|
-
"name": "prefix",
|
|
3125
|
-
"type": {
|
|
3126
|
-
"text": "string"
|
|
3127
|
-
}
|
|
3128
|
-
}
|
|
3129
|
-
]
|
|
3130
|
-
},
|
|
3131
|
-
{
|
|
3132
|
-
"kind": "function",
|
|
3133
|
-
"name": "singleOptionTemplate",
|
|
3134
|
-
"parameters": [
|
|
3135
|
-
{
|
|
3136
|
-
"name": "prefix",
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "string"
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
]
|
|
3142
|
-
},
|
|
3143
3011
|
{
|
|
3144
3012
|
"kind": "variable",
|
|
3145
|
-
"name": "
|
|
3146
|
-
"
|
|
3147
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
3148
|
-
},
|
|
3149
|
-
"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`"
|
|
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`"
|
|
3150
3015
|
}
|
|
3151
3016
|
],
|
|
3152
3017
|
"exports": [
|
|
3153
3018
|
{
|
|
3154
3019
|
"kind": "js",
|
|
3155
|
-
"name": "
|
|
3020
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3156
3021
|
"declaration": {
|
|
3157
|
-
"name": "
|
|
3158
|
-
"module": "src/
|
|
3022
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3159
3024
|
}
|
|
3160
|
-
}
|
|
3025
|
+
}
|
|
3026
|
+
]
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "javascript-module",
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3031
|
+
"declarations": [
|
|
3161
3032
|
{
|
|
3162
|
-
"kind": "
|
|
3163
|
-
"name": "
|
|
3164
|
-
"
|
|
3165
|
-
"
|
|
3166
|
-
|
|
3167
|
-
}
|
|
3168
|
-
}
|
|
3033
|
+
"kind": "variable",
|
|
3034
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3037
|
+
},
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3039
|
+
}
|
|
3040
|
+
],
|
|
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": "
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3187
3060
|
"members": [
|
|
3188
3061
|
{
|
|
3189
3062
|
"kind": "field",
|
|
3190
|
-
"name": "
|
|
3063
|
+
"name": "providerRegistry",
|
|
3191
3064
|
"type": {
|
|
3192
|
-
"text": "
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3193
3066
|
}
|
|
3194
3067
|
},
|
|
3195
3068
|
{
|
|
3196
3069
|
"kind": "field",
|
|
3197
|
-
"name": "
|
|
3070
|
+
"name": "placeholder",
|
|
3198
3071
|
"type": {
|
|
3199
|
-
"text": "
|
|
3072
|
+
"text": "string"
|
|
3200
3073
|
},
|
|
3201
|
-
"default": "
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3202
3075
|
},
|
|
3203
3076
|
{
|
|
3204
3077
|
"kind": "field",
|
|
3205
|
-
"name": "
|
|
3078
|
+
"name": "disabled",
|
|
3206
3079
|
"type": {
|
|
3207
3080
|
"text": "boolean"
|
|
3208
|
-
}
|
|
3209
|
-
"default": "true"
|
|
3081
|
+
}
|
|
3210
3082
|
},
|
|
3211
3083
|
{
|
|
3212
3084
|
"kind": "field",
|
|
3213
|
-
"name": "
|
|
3085
|
+
"name": "inputValue",
|
|
3214
3086
|
"type": {
|
|
3215
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3216
3088
|
},
|
|
3217
|
-
"default": "
|
|
3089
|
+
"default": "''"
|
|
3218
3090
|
},
|
|
3219
3091
|
{
|
|
3220
3092
|
"kind": "field",
|
|
3221
|
-
"name": "
|
|
3093
|
+
"name": "isInterpreting",
|
|
3222
3094
|
"type": {
|
|
3223
|
-
"text": "
|
|
3224
|
-
}
|
|
3095
|
+
"text": "boolean"
|
|
3096
|
+
},
|
|
3097
|
+
"default": "false"
|
|
3225
3098
|
},
|
|
3226
3099
|
{
|
|
3227
3100
|
"kind": "field",
|
|
3228
|
-
"name": "
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3229
3102
|
"type": {
|
|
3230
|
-
"text": "
|
|
3231
|
-
}
|
|
3103
|
+
"text": "string | null"
|
|
3104
|
+
},
|
|
3105
|
+
"default": "null"
|
|
3232
3106
|
},
|
|
3233
3107
|
{
|
|
3234
3108
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3109
|
+
"name": "activeGroups",
|
|
3236
3110
|
"type": {
|
|
3237
|
-
"text": "
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3238
3112
|
},
|
|
3239
|
-
"default": "
|
|
3113
|
+
"default": "[]"
|
|
3240
3114
|
},
|
|
3241
3115
|
{
|
|
3242
3116
|
"kind": "field",
|
|
3243
|
-
"name": "
|
|
3117
|
+
"name": "showingChips",
|
|
3244
3118
|
"type": {
|
|
3245
3119
|
"text": "boolean"
|
|
3246
3120
|
},
|
|
@@ -3248,14 +3122,15 @@
|
|
|
3248
3122
|
},
|
|
3249
3123
|
{
|
|
3250
3124
|
"kind": "field",
|
|
3251
|
-
"name": "
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3252
3126
|
"type": {
|
|
3253
|
-
"text": "string"
|
|
3254
|
-
}
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "[]"
|
|
3255
3130
|
},
|
|
3256
3131
|
{
|
|
3257
3132
|
"kind": "field",
|
|
3258
|
-
"name": "
|
|
3133
|
+
"name": "isRecording",
|
|
3259
3134
|
"type": {
|
|
3260
3135
|
"text": "boolean"
|
|
3261
3136
|
},
|
|
@@ -3263,114 +3138,125 @@
|
|
|
3263
3138
|
},
|
|
3264
3139
|
{
|
|
3265
3140
|
"kind": "field",
|
|
3266
|
-
"name": "
|
|
3141
|
+
"name": "textAreaRef",
|
|
3267
3142
|
"type": {
|
|
3268
|
-
"text": "
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3269
3144
|
},
|
|
3270
|
-
"
|
|
3145
|
+
"privacy": "public"
|
|
3271
3146
|
},
|
|
3272
3147
|
{
|
|
3273
3148
|
"kind": "field",
|
|
3274
|
-
"name": "
|
|
3149
|
+
"name": "stopRecording",
|
|
3275
3150
|
"type": {
|
|
3276
|
-
"text": "
|
|
3277
|
-
}
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3152
|
+
},
|
|
3153
|
+
"privacy": "private",
|
|
3154
|
+
"default": "null"
|
|
3278
3155
|
},
|
|
3279
3156
|
{
|
|
3280
3157
|
"kind": "field",
|
|
3281
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3282
3159
|
"type": {
|
|
3283
|
-
"text": "
|
|
3284
|
-
}
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3162
|
+
"privacy": "private",
|
|
3163
|
+
"default": "null"
|
|
3285
3164
|
},
|
|
3286
3165
|
{
|
|
3287
3166
|
"kind": "field",
|
|
3288
|
-
"name": "
|
|
3167
|
+
"name": "speechAvailable",
|
|
3289
3168
|
"type": {
|
|
3290
|
-
"text": "
|
|
3291
|
-
}
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3292
3172
|
},
|
|
3293
3173
|
{
|
|
3294
|
-
"kind": "
|
|
3295
|
-
"name": "
|
|
3296
|
-
"
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3178
|
+
},
|
|
3179
|
+
"readonly": true
|
|
3297
3180
|
},
|
|
3298
3181
|
{
|
|
3299
3182
|
"kind": "method",
|
|
3300
|
-
"name": "
|
|
3301
|
-
"privacy": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3184
|
+
"privacy": "private",
|
|
3185
|
+
"return": {
|
|
3186
|
+
"type": {
|
|
3187
|
+
"text": "string"
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
3302
3190
|
"parameters": [
|
|
3303
3191
|
{
|
|
3304
|
-
"name": "
|
|
3305
|
-
"type": {
|
|
3306
|
-
"text": "any"
|
|
3307
|
-
}
|
|
3308
|
-
},
|
|
3309
|
-
{
|
|
3310
|
-
"name": "newValue",
|
|
3192
|
+
"name": "fieldName",
|
|
3311
3193
|
"type": {
|
|
3312
|
-
"text": "
|
|
3194
|
+
"text": "string"
|
|
3313
3195
|
}
|
|
3314
3196
|
}
|
|
3315
3197
|
]
|
|
3316
3198
|
},
|
|
3317
3199
|
{
|
|
3318
3200
|
"kind": "method",
|
|
3319
|
-
"name": "
|
|
3320
|
-
"
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3202
|
+
"return": {
|
|
3203
|
+
"type": {
|
|
3204
|
+
"text": "void"
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3325
3207
|
},
|
|
3326
3208
|
{
|
|
3327
3209
|
"kind": "method",
|
|
3328
|
-
"name": "
|
|
3210
|
+
"name": "removeChip",
|
|
3211
|
+
"return": {
|
|
3212
|
+
"type": {
|
|
3213
|
+
"text": "void"
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3329
3216
|
"parameters": [
|
|
3330
3217
|
{
|
|
3331
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3332
3219
|
"type": {
|
|
3333
|
-
"text": "
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "number"
|
|
3334
3227
|
}
|
|
3335
3228
|
}
|
|
3336
3229
|
]
|
|
3337
3230
|
},
|
|
3338
3231
|
{
|
|
3339
|
-
"kind": "
|
|
3340
|
-
"name": "
|
|
3341
|
-
"
|
|
3342
|
-
"
|
|
3343
|
-
|
|
3344
|
-
|
|
3232
|
+
"kind": "method",
|
|
3233
|
+
"name": "clearChips",
|
|
3234
|
+
"return": {
|
|
3235
|
+
"type": {
|
|
3236
|
+
"text": "void"
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3345
3239
|
},
|
|
3346
3240
|
{
|
|
3347
|
-
"kind": "
|
|
3348
|
-
"name": "
|
|
3349
|
-
"readonly": true
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3350
3243
|
},
|
|
3351
3244
|
{
|
|
3352
3245
|
"kind": "method",
|
|
3353
|
-
"name": "
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3246
|
+
"name": "handleBlur"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "method",
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3362
3255
|
},
|
|
3363
3256
|
{
|
|
3364
3257
|
"kind": "method",
|
|
3365
|
-
"name": "
|
|
3366
|
-
"
|
|
3367
|
-
{
|
|
3368
|
-
"name": "prefix",
|
|
3369
|
-
"type": {
|
|
3370
|
-
"text": "string"
|
|
3371
|
-
}
|
|
3372
|
-
}
|
|
3373
|
-
]
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3374
3260
|
},
|
|
3375
3261
|
{
|
|
3376
3262
|
"kind": "field",
|
|
@@ -3484,115 +3370,154 @@
|
|
|
3484
3370
|
}
|
|
3485
3371
|
}
|
|
3486
3372
|
],
|
|
3487
|
-
"
|
|
3488
|
-
{
|
|
3489
|
-
"name": "is-vertical",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "boolean"
|
|
3492
|
-
},
|
|
3493
|
-
"default": "false",
|
|
3494
|
-
"fieldName": "isVertical"
|
|
3495
|
-
},
|
|
3496
|
-
{
|
|
3497
|
-
"name": "add-default-actions",
|
|
3498
|
-
"type": {
|
|
3499
|
-
"text": "boolean"
|
|
3500
|
-
},
|
|
3501
|
-
"default": "true",
|
|
3502
|
-
"fieldName": "addDefaultActions"
|
|
3503
|
-
},
|
|
3504
|
-
{
|
|
3505
|
-
"name": "auto-close-on-action",
|
|
3506
|
-
"type": {
|
|
3507
|
-
"text": "boolean"
|
|
3508
|
-
},
|
|
3509
|
-
"default": "true",
|
|
3510
|
-
"fieldName": "autoCloseOnAction"
|
|
3511
|
-
},
|
|
3373
|
+
"events": [
|
|
3512
3374
|
{
|
|
3513
|
-
"
|
|
3514
|
-
"
|
|
3515
|
-
"text": "string"
|
|
3516
|
-
},
|
|
3517
|
-
"default": "'Actions'",
|
|
3518
|
-
"fieldName": "name"
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3519
3377
|
},
|
|
3520
3378
|
{
|
|
3521
|
-
"
|
|
3522
|
-
"
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
"fieldName": "open"
|
|
3527
|
-
},
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3381
|
+
}
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3528
3384
|
{
|
|
3529
|
-
"name": "
|
|
3385
|
+
"name": "placeholder",
|
|
3530
3386
|
"type": {
|
|
3531
3387
|
"text": "string"
|
|
3532
3388
|
},
|
|
3533
|
-
"
|
|
3534
|
-
|
|
3535
|
-
{
|
|
3536
|
-
"name": "hide-disabled",
|
|
3537
|
-
"type": {
|
|
3538
|
-
"text": "boolean"
|
|
3539
|
-
},
|
|
3540
|
-
"default": "false",
|
|
3541
|
-
"fieldName": "hideDisabled"
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3542
3391
|
},
|
|
3543
3392
|
{
|
|
3544
|
-
"name": "hide-menu-single-option",
|
|
3545
3393
|
"type": {
|
|
3546
3394
|
"text": "boolean"
|
|
3547
3395
|
},
|
|
3548
|
-
"
|
|
3549
|
-
"fieldName": "hideMenuSingleOption"
|
|
3396
|
+
"fieldName": "disabled"
|
|
3550
3397
|
}
|
|
3551
3398
|
],
|
|
3552
3399
|
"superclass": {
|
|
3553
3400
|
"name": "FoundationElement",
|
|
3554
3401
|
"package": "@microsoft/fast-foundation"
|
|
3555
3402
|
},
|
|
3556
|
-
"tagName": "%%prefix%%-
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3557
3404
|
"customElement": true
|
|
3558
3405
|
},
|
|
3559
3406
|
{
|
|
3560
3407
|
"kind": "variable",
|
|
3561
|
-
"name": "
|
|
3562
|
-
"
|
|
3563
|
-
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3409
|
+
"type": {
|
|
3410
|
+
"text": "ShadowRootInit"
|
|
3411
|
+
},
|
|
3412
|
+
"default": "undefined"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "variable",
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3417
|
+
"type": {
|
|
3418
|
+
"text": "object"
|
|
3419
|
+
},
|
|
3420
|
+
"default": "{}"
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"kind": "variable",
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3564
3425
|
}
|
|
3565
3426
|
],
|
|
3566
3427
|
"exports": [
|
|
3567
3428
|
{
|
|
3568
3429
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3570
3431
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3434
|
}
|
|
3574
3435
|
},
|
|
3575
3436
|
{
|
|
3576
3437
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3578
3439
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "js",
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3447
|
+
"declaration": {
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "js",
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3455
|
+
"declaration": {
|
|
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
|
]
|