@genesislcap/foundation-ui 15.20.2-grid-pro-datasource-fix.1 → 15.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1113 -1113
- package/dist/dts/react.d.ts +15 -15
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +18 -18
|
@@ -1495,11 +1495,42 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1503
1534
|
"return": {
|
|
1504
1535
|
"type": {
|
|
1505
1536
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1555,24 @@
|
|
|
1524
1555
|
"exports": [
|
|
1525
1556
|
{
|
|
1526
1557
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1528
1559
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1531
1562
|
}
|
|
1532
1563
|
}
|
|
1533
1564
|
]
|
|
1534
1565
|
},
|
|
1535
1566
|
{
|
|
1536
1567
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1538
1569
|
"declarations": [
|
|
1539
1570
|
{
|
|
1540
1571
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1542
1573
|
"return": {
|
|
1543
1574
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1545
1576
|
}
|
|
1546
1577
|
},
|
|
1547
1578
|
"parameters": [
|
|
@@ -1563,365 +1594,244 @@
|
|
|
1563
1594
|
"exports": [
|
|
1564
1595
|
{
|
|
1565
1596
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1567
1598
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1570
1601
|
}
|
|
1571
1602
|
}
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
1605
|
{
|
|
1575
1606
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion/accordion.ts",
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1577
1608
|
"declarations": [
|
|
1578
1609
|
{
|
|
1579
1610
|
"kind": "class",
|
|
1580
1611
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1612
|
+
"name": "AccordionItem",
|
|
1582
1613
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1585
1616
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion",
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1587
1618
|
"customElement": true,
|
|
1588
1619
|
"attributes": [
|
|
1589
1620
|
{
|
|
1590
|
-
"name": "
|
|
1621
|
+
"name": "heading-level",
|
|
1591
1622
|
"type": {
|
|
1592
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1593
1624
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
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",
|
|
1596
1628
|
"inheritedFrom": {
|
|
1597
|
-
"name": "
|
|
1598
|
-
"module": "src/accordion/accordion.ts"
|
|
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",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1599
1655
|
}
|
|
1600
1656
|
}
|
|
1601
1657
|
],
|
|
1602
1658
|
"members": [
|
|
1603
1659
|
{
|
|
1604
1660
|
"kind": "field",
|
|
1605
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1606
1662
|
"type": {
|
|
1607
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1608
1664
|
},
|
|
1609
1665
|
"privacy": "public",
|
|
1610
|
-
"
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1611
1668
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion/accordion.ts"
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1614
1671
|
}
|
|
1615
1672
|
},
|
|
1616
1673
|
{
|
|
1617
1674
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1619
1676
|
"type": {
|
|
1620
|
-
"text": "
|
|
1677
|
+
"text": "boolean"
|
|
1621
1678
|
},
|
|
1622
|
-
"privacy": "
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1623
1682
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1626
1685
|
}
|
|
1627
1686
|
},
|
|
1628
1687
|
{
|
|
1629
1688
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1631
1690
|
"type": {
|
|
1632
|
-
"text": "
|
|
1691
|
+
"text": "string"
|
|
1633
1692
|
},
|
|
1634
|
-
"privacy": "
|
|
1635
|
-
"
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1636
1695
|
"inheritedFrom": {
|
|
1637
|
-
"name": "
|
|
1638
|
-
"module": "src/accordion/accordion.ts"
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1639
1698
|
}
|
|
1640
1699
|
},
|
|
1641
1700
|
{
|
|
1642
1701
|
"kind": "field",
|
|
1643
|
-
"name": "
|
|
1644
|
-
"type": {
|
|
1645
|
-
"text": "Array<string | null>"
|
|
1646
|
-
},
|
|
1702
|
+
"name": "change",
|
|
1647
1703
|
"privacy": "private",
|
|
1648
1704
|
"inheritedFrom": {
|
|
1649
|
-
"name": "
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1651
1707
|
}
|
|
1652
1708
|
},
|
|
1653
1709
|
{
|
|
1654
1710
|
"kind": "field",
|
|
1655
|
-
"name": "
|
|
1711
|
+
"name": "_presentation",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1714
|
+
},
|
|
1656
1715
|
"privacy": "private",
|
|
1716
|
+
"default": "void 0",
|
|
1657
1717
|
"inheritedFrom": {
|
|
1658
|
-
"name": "
|
|
1659
|
-
"module": "src/
|
|
1718
|
+
"name": "FoundationElement",
|
|
1719
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1660
1720
|
}
|
|
1661
1721
|
},
|
|
1662
1722
|
{
|
|
1663
|
-
"kind": "
|
|
1664
|
-
"name": "
|
|
1665
|
-
"
|
|
1666
|
-
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "AccordionItem | null"
|
|
1669
|
-
}
|
|
1723
|
+
"kind": "field",
|
|
1724
|
+
"name": "$presentation",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "ComponentPresentation | null"
|
|
1670
1727
|
},
|
|
1728
|
+
"privacy": "public",
|
|
1729
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1671
1730
|
"inheritedFrom": {
|
|
1672
|
-
"name": "
|
|
1673
|
-
"module": "src/
|
|
1731
|
+
"name": "FoundationElement",
|
|
1732
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1674
1733
|
}
|
|
1675
1734
|
},
|
|
1676
1735
|
{
|
|
1677
1736
|
"kind": "field",
|
|
1678
|
-
"name": "
|
|
1679
|
-
"
|
|
1737
|
+
"name": "template",
|
|
1738
|
+
"type": {
|
|
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.",
|
|
1680
1743
|
"inheritedFrom": {
|
|
1681
|
-
"name": "
|
|
1682
|
-
"module": "src/
|
|
1744
|
+
"name": "FoundationElement",
|
|
1745
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1683
1746
|
}
|
|
1684
1747
|
},
|
|
1685
1748
|
{
|
|
1686
1749
|
"kind": "method",
|
|
1687
|
-
"name": "
|
|
1688
|
-
"privacy": "
|
|
1750
|
+
"name": "templateChanged",
|
|
1751
|
+
"privacy": "protected",
|
|
1689
1752
|
"return": {
|
|
1690
1753
|
"type": {
|
|
1691
1754
|
"text": "void"
|
|
1692
1755
|
}
|
|
1693
1756
|
},
|
|
1694
1757
|
"inheritedFrom": {
|
|
1695
|
-
"name": "
|
|
1696
|
-
"module": "src/
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"kind": "field",
|
|
1701
|
-
"name": "removeItemListeners",
|
|
1702
|
-
"privacy": "private",
|
|
1703
|
-
"inheritedFrom": {
|
|
1704
|
-
"name": "Accordion",
|
|
1705
|
-
"module": "src/accordion/accordion.ts"
|
|
1758
|
+
"name": "FoundationElement",
|
|
1759
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1706
1760
|
}
|
|
1707
1761
|
},
|
|
1708
1762
|
{
|
|
1709
1763
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1711
|
-
"
|
|
1764
|
+
"name": "styles",
|
|
1765
|
+
"type": {
|
|
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.",
|
|
1712
1770
|
"inheritedFrom": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "src/
|
|
1771
|
+
"name": "FoundationElement",
|
|
1772
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
1773
|
}
|
|
1716
1774
|
},
|
|
1717
1775
|
{
|
|
1718
1776
|
"kind": "method",
|
|
1719
|
-
"name": "
|
|
1720
|
-
"privacy": "
|
|
1777
|
+
"name": "stylesChanged",
|
|
1778
|
+
"privacy": "protected",
|
|
1721
1779
|
"return": {
|
|
1722
1780
|
"type": {
|
|
1723
|
-
"text": "
|
|
1781
|
+
"text": "void"
|
|
1724
1782
|
}
|
|
1725
1783
|
},
|
|
1726
1784
|
"inheritedFrom": {
|
|
1727
|
-
"name": "
|
|
1728
|
-
"module": "src/
|
|
1785
|
+
"name": "FoundationElement",
|
|
1786
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1729
1787
|
}
|
|
1730
1788
|
},
|
|
1731
1789
|
{
|
|
1732
1790
|
"kind": "method",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"privacy": "
|
|
1791
|
+
"name": "compose",
|
|
1792
|
+
"privacy": "public",
|
|
1793
|
+
"static": true,
|
|
1735
1794
|
"return": {
|
|
1736
1795
|
"type": {
|
|
1737
|
-
"text": "
|
|
1796
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1738
1797
|
}
|
|
1739
1798
|
},
|
|
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.",
|
|
1740
1815
|
"inheritedFrom": {
|
|
1741
|
-
"name": "
|
|
1742
|
-
"module": "src/
|
|
1816
|
+
"name": "FoundationElement",
|
|
1817
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1743
1818
|
}
|
|
1744
|
-
}
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"events": [
|
|
1745
1822
|
{
|
|
1746
|
-
"
|
|
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",
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1914
1824
|
"name": "change",
|
|
1915
1825
|
"inheritedFrom": {
|
|
1916
|
-
"name": "
|
|
1917
|
-
"module": "src/accordion/accordion.ts"
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1918
1828
|
}
|
|
1919
1829
|
}
|
|
1920
1830
|
]
|
|
1921
1831
|
},
|
|
1922
1832
|
{
|
|
1923
1833
|
"kind": "variable",
|
|
1924
|
-
"name": "
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1925
1835
|
"type": {
|
|
1926
1836
|
"text": "ShadowRootInit"
|
|
1927
1837
|
},
|
|
@@ -1929,88 +1839,57 @@
|
|
|
1929
1839
|
},
|
|
1930
1840
|
{
|
|
1931
1841
|
"kind": "variable",
|
|
1932
|
-
"name": "
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1933
1843
|
"type": {
|
|
1934
1844
|
"text": "object"
|
|
1935
1845
|
},
|
|
1936
|
-
"default": "{}"
|
|
1846
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1937
1847
|
},
|
|
1938
1848
|
{
|
|
1939
1849
|
"kind": "variable",
|
|
1940
|
-
"name": "
|
|
1941
|
-
"description": "The Foundation Accordion",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
1942
1852
|
"privacy": "public"
|
|
1943
1853
|
}
|
|
1944
1854
|
],
|
|
1945
1855
|
"exports": [
|
|
1946
1856
|
{
|
|
1947
1857
|
"kind": "js",
|
|
1948
|
-
"name": "
|
|
1949
|
-
"declaration": {
|
|
1950
|
-
"name": "Accordion",
|
|
1951
|
-
"module": "src/accordion/accordion.ts"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"kind": "js",
|
|
1956
|
-
"name": "foundationAccordionShadowOptions",
|
|
1957
|
-
"declaration": {
|
|
1958
|
-
"name": "foundationAccordionShadowOptions",
|
|
1959
|
-
"module": "src/accordion/accordion.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"kind": "js",
|
|
1964
|
-
"name": "defaultAccordionConfig",
|
|
1858
|
+
"name": "AccordionItem",
|
|
1965
1859
|
"declaration": {
|
|
1966
|
-
"name": "
|
|
1967
|
-
"module": "src/accordion/accordion.ts"
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1968
1862
|
}
|
|
1969
1863
|
},
|
|
1970
1864
|
{
|
|
1971
1865
|
"kind": "js",
|
|
1972
|
-
"name": "
|
|
1973
|
-
"declaration": {
|
|
1974
|
-
"name": "foundationAccordion",
|
|
1975
|
-
"module": "src/accordion/accordion.ts"
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
]
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/accordion/index.ts",
|
|
1983
|
-
"declarations": [],
|
|
1984
|
-
"exports": [
|
|
1985
|
-
{
|
|
1986
|
-
"kind": "js",
|
|
1987
|
-
"name": "*",
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1988
1867
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1870
|
}
|
|
1992
1871
|
},
|
|
1993
1872
|
{
|
|
1994
1873
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1996
1875
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1878
|
}
|
|
2000
1879
|
},
|
|
2001
1880
|
{
|
|
2002
1881
|
"kind": "js",
|
|
2003
|
-
"name": "
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
2004
1883
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2007
1886
|
}
|
|
2008
1887
|
}
|
|
2009
1888
|
]
|
|
2010
1889
|
},
|
|
2011
1890
|
{
|
|
2012
1891
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2014
1893
|
"declarations": [],
|
|
2015
1894
|
"exports": [
|
|
2016
1895
|
{
|
|
@@ -2018,7 +1897,7 @@
|
|
|
2018
1897
|
"name": "*",
|
|
2019
1898
|
"declaration": {
|
|
2020
1899
|
"name": "*",
|
|
2021
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2022
1901
|
}
|
|
2023
1902
|
},
|
|
2024
1903
|
{
|
|
@@ -2026,7 +1905,7 @@
|
|
|
2026
1905
|
"name": "*",
|
|
2027
1906
|
"declaration": {
|
|
2028
1907
|
"name": "*",
|
|
2029
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2030
1909
|
}
|
|
2031
1910
|
},
|
|
2032
1911
|
{
|
|
@@ -2034,18 +1913,18 @@
|
|
|
2034
1913
|
"name": "*",
|
|
2035
1914
|
"declaration": {
|
|
2036
1915
|
"name": "*",
|
|
2037
|
-
"package": "./
|
|
1916
|
+
"package": "./accordion-item"
|
|
2038
1917
|
}
|
|
2039
1918
|
}
|
|
2040
1919
|
]
|
|
2041
1920
|
},
|
|
2042
1921
|
{
|
|
2043
1922
|
"kind": "javascript-module",
|
|
2044
|
-
"path": "src/
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2045
1924
|
"declarations": [
|
|
2046
1925
|
{
|
|
2047
1926
|
"kind": "function",
|
|
2048
|
-
"name": "
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
2049
1928
|
"return": {
|
|
2050
1929
|
"type": {
|
|
2051
1930
|
"text": "ElementStyles"
|
|
@@ -2065,29 +1944,13 @@
|
|
|
2065
1944
|
}
|
|
2066
1945
|
}
|
|
2067
1946
|
]
|
|
2068
|
-
}
|
|
2069
|
-
],
|
|
2070
|
-
"exports": [
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "js",
|
|
2073
|
-
"name": "foundationAccordionItemStyles",
|
|
2074
|
-
"declaration": {
|
|
2075
|
-
"name": "foundationAccordionItemStyles",
|
|
2076
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
]
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"kind": "javascript-module",
|
|
2083
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2084
|
-
"declarations": [
|
|
1947
|
+
},
|
|
2085
1948
|
{
|
|
2086
1949
|
"kind": "function",
|
|
2087
|
-
"name": "
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2088
1951
|
"return": {
|
|
2089
1952
|
"type": {
|
|
2090
|
-
"text": "
|
|
1953
|
+
"text": "ElementStyles"
|
|
2091
1954
|
}
|
|
2092
1955
|
},
|
|
2093
1956
|
"parameters": [
|
|
@@ -2109,196 +1972,360 @@
|
|
|
2109
1972
|
"exports": [
|
|
2110
1973
|
{
|
|
2111
1974
|
"kind": "js",
|
|
2112
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2113
1976
|
"declaration": {
|
|
2114
|
-
"name": "
|
|
2115
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2116
1987
|
}
|
|
2117
1988
|
}
|
|
2118
1989
|
]
|
|
2119
1990
|
},
|
|
2120
1991
|
{
|
|
2121
1992
|
"kind": "javascript-module",
|
|
2122
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1994
|
+
"declarations": [
|
|
1995
|
+
{
|
|
1996
|
+
"kind": "function",
|
|
1997
|
+
"name": "menuTemplate",
|
|
1998
|
+
"parameters": [
|
|
1999
|
+
{
|
|
2000
|
+
"name": "prefix",
|
|
2001
|
+
"type": {
|
|
2002
|
+
"text": "string"
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2011
|
+
{
|
|
2012
|
+
"name": "prefix",
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "string"
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"kind": "variable",
|
|
2021
|
+
"name": "foundationActionsMenuTemplate",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
+
},
|
|
2025
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2026
|
+
}
|
|
2027
|
+
],
|
|
2028
|
+
"exports": [
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "js",
|
|
2031
|
+
"name": "menuTemplate",
|
|
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",
|
|
2048
|
+
"declaration": {
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
]
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "javascript-module",
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2123
2058
|
"declarations": [
|
|
2124
2059
|
{
|
|
2125
2060
|
"kind": "class",
|
|
2126
2061
|
"description": "",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"
|
|
2129
|
-
"name": "FASTAccordionItem",
|
|
2130
|
-
"package": "@microsoft/fast-components"
|
|
2131
|
-
},
|
|
2132
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
-
"customElement": true,
|
|
2134
|
-
"attributes": [
|
|
2062
|
+
"name": "ActionsMenu",
|
|
2063
|
+
"members": [
|
|
2135
2064
|
{
|
|
2136
|
-
"
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "actions",
|
|
2137
2067
|
"type": {
|
|
2138
|
-
"text": "
|
|
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"
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
2146
2069
|
}
|
|
2147
2070
|
},
|
|
2148
2071
|
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "isVertical",
|
|
2149
2074
|
"type": {
|
|
2150
2075
|
"text": "boolean"
|
|
2151
2076
|
},
|
|
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
|
-
}
|
|
2077
|
+
"default": "false"
|
|
2159
2078
|
},
|
|
2160
|
-
{
|
|
2161
|
-
"name": "id",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string"
|
|
2164
|
-
},
|
|
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": [
|
|
2174
2079
|
{
|
|
2175
2080
|
"kind": "field",
|
|
2176
|
-
"name": "
|
|
2081
|
+
"name": "addDefaultActions",
|
|
2177
2082
|
"type": {
|
|
2178
|
-
"text": "
|
|
2083
|
+
"text": "boolean"
|
|
2179
2084
|
},
|
|
2180
|
-
"
|
|
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"
|
|
2186
|
-
}
|
|
2085
|
+
"default": "true"
|
|
2187
2086
|
},
|
|
2188
2087
|
{
|
|
2189
2088
|
"kind": "field",
|
|
2190
|
-
"name": "
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2191
2090
|
"type": {
|
|
2192
2091
|
"text": "boolean"
|
|
2193
2092
|
},
|
|
2194
|
-
"
|
|
2195
|
-
"default": "false",
|
|
2196
|
-
"description": "Expands or collapses the item.",
|
|
2197
|
-
"inheritedFrom": {
|
|
2198
|
-
"name": "AccordionItem",
|
|
2199
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
-
}
|
|
2093
|
+
"default": "true"
|
|
2201
2094
|
},
|
|
2202
2095
|
{
|
|
2203
2096
|
"kind": "field",
|
|
2204
|
-
"name": "
|
|
2097
|
+
"name": "classNames",
|
|
2205
2098
|
"type": {
|
|
2206
2099
|
"text": "string"
|
|
2207
|
-
},
|
|
2208
|
-
"privacy": "public",
|
|
2209
|
-
"description": "The item ID",
|
|
2210
|
-
"inheritedFrom": {
|
|
2211
|
-
"name": "AccordionItem",
|
|
2212
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2213
2100
|
}
|
|
2214
2101
|
},
|
|
2215
2102
|
{
|
|
2216
2103
|
"kind": "field",
|
|
2217
|
-
"name": "
|
|
2218
|
-
"
|
|
2219
|
-
|
|
2220
|
-
"name": "AccordionItem",
|
|
2221
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2104
|
+
"name": "definition",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "any"
|
|
2222
2107
|
}
|
|
2223
2108
|
},
|
|
2224
2109
|
{
|
|
2225
2110
|
"kind": "field",
|
|
2226
|
-
"name": "
|
|
2111
|
+
"name": "name",
|
|
2227
2112
|
"type": {
|
|
2228
|
-
"text": "
|
|
2113
|
+
"text": "string"
|
|
2229
2114
|
},
|
|
2230
|
-
"
|
|
2231
|
-
"default": "void 0",
|
|
2232
|
-
"inheritedFrom": {
|
|
2233
|
-
"name": "FoundationElement",
|
|
2234
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2235
|
-
}
|
|
2115
|
+
"default": "'Actions'"
|
|
2236
2116
|
},
|
|
2237
2117
|
{
|
|
2238
2118
|
"kind": "field",
|
|
2239
|
-
"name": "
|
|
2119
|
+
"name": "open",
|
|
2240
2120
|
"type": {
|
|
2241
|
-
"text": "
|
|
2121
|
+
"text": "boolean"
|
|
2242
2122
|
},
|
|
2243
|
-
"
|
|
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
|
-
}
|
|
2123
|
+
"default": "false"
|
|
2249
2124
|
},
|
|
2250
2125
|
{
|
|
2251
2126
|
"kind": "field",
|
|
2252
|
-
"name": "
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2253
2128
|
"type": {
|
|
2254
|
-
"text": "
|
|
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"
|
|
2129
|
+
"text": "string"
|
|
2261
2130
|
}
|
|
2262
2131
|
},
|
|
2263
2132
|
{
|
|
2264
|
-
"kind": "
|
|
2265
|
-
"name": "
|
|
2266
|
-
"
|
|
2267
|
-
|
|
2268
|
-
"type": {
|
|
2269
|
-
"text": "void"
|
|
2270
|
-
}
|
|
2133
|
+
"kind": "field",
|
|
2134
|
+
"name": "hideDisabled",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "boolean"
|
|
2271
2137
|
},
|
|
2272
|
-
"
|
|
2273
|
-
"name": "FoundationElement",
|
|
2274
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2275
|
-
}
|
|
2138
|
+
"default": "false"
|
|
2276
2139
|
},
|
|
2277
2140
|
{
|
|
2278
2141
|
"kind": "field",
|
|
2279
|
-
"name": "
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2280
2143
|
"type": {
|
|
2281
|
-
"text": "
|
|
2144
|
+
"text": "boolean"
|
|
2282
2145
|
},
|
|
2283
|
-
"
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2288
2153
|
}
|
|
2289
2154
|
},
|
|
2290
2155
|
{
|
|
2291
|
-
"kind": "
|
|
2292
|
-
"name": "
|
|
2293
|
-
"
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
"
|
|
2300
|
-
|
|
2301
|
-
"
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "actionsMenu",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "HTMLElement"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"kind": "field",
|
|
2164
|
+
"name": "actionsOpener",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "HTMLElement"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "method",
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "method",
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "oldValue",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "any"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "newValue",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "any"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "method",
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "method",
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2213
|
+
},
|
|
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"
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"kind": "method",
|
|
2319
|
+
"name": "stylesChanged",
|
|
2320
|
+
"privacy": "protected",
|
|
2321
|
+
"return": {
|
|
2322
|
+
"type": {
|
|
2323
|
+
"text": "void"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
"inheritedFrom": {
|
|
2327
|
+
"name": "FoundationElement",
|
|
2328
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2302
2329
|
}
|
|
2303
2330
|
},
|
|
2304
2331
|
{
|
|
@@ -2333,78 +2360,107 @@
|
|
|
2333
2360
|
}
|
|
2334
2361
|
}
|
|
2335
2362
|
],
|
|
2336
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2337
2364
|
{
|
|
2338
|
-
"
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2365
|
+
"name": "is-vertical",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"default": "false",
|
|
2370
|
+
"fieldName": "isVertical"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "add-default-actions",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "boolean"
|
|
2376
|
+
},
|
|
2377
|
+
"default": "true",
|
|
2378
|
+
"fieldName": "addDefaultActions"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "auto-close-on-action",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "true",
|
|
2386
|
+
"fieldName": "autoCloseOnAction"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "string"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "'Actions'",
|
|
2394
|
+
"fieldName": "name"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "open",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "false",
|
|
2402
|
+
"fieldName": "open"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "buttonAppearance",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "buttonAppearance"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "hide-disabled",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "boolean"
|
|
2415
|
+
},
|
|
2416
|
+
"default": "false",
|
|
2417
|
+
"fieldName": "hideDisabled"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2344
2426
|
}
|
|
2345
|
-
]
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
-
"type": {
|
|
2351
|
-
"text": "ShadowRootInit"
|
|
2352
|
-
},
|
|
2353
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"kind": "variable",
|
|
2357
|
-
"name": "defaultAccordionItemConfig",
|
|
2358
|
-
"type": {
|
|
2359
|
-
"text": "object"
|
|
2427
|
+
],
|
|
2428
|
+
"superclass": {
|
|
2429
|
+
"name": "FoundationElement",
|
|
2430
|
+
"package": "@microsoft/fast-foundation"
|
|
2360
2431
|
},
|
|
2361
|
-
"
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2433
|
+
"customElement": true
|
|
2362
2434
|
},
|
|
2363
2435
|
{
|
|
2364
2436
|
"kind": "variable",
|
|
2365
|
-
"name": "
|
|
2366
|
-
"description": "The Foundation
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2367
2439
|
"privacy": "public"
|
|
2368
2440
|
}
|
|
2369
2441
|
],
|
|
2370
2442
|
"exports": [
|
|
2371
2443
|
{
|
|
2372
2444
|
"kind": "js",
|
|
2373
|
-
"name": "
|
|
2374
|
-
"declaration": {
|
|
2375
|
-
"name": "AccordionItem",
|
|
2376
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2377
|
-
}
|
|
2378
|
-
},
|
|
2379
|
-
{
|
|
2380
|
-
"kind": "js",
|
|
2381
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2382
|
-
"declaration": {
|
|
2383
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
|
-
}
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "js",
|
|
2389
|
-
"name": "defaultAccordionItemConfig",
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2390
2446
|
"declaration": {
|
|
2391
|
-
"name": "
|
|
2392
|
-
"module": "src/
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2393
2449
|
}
|
|
2394
2450
|
},
|
|
2395
2451
|
{
|
|
2396
2452
|
"kind": "js",
|
|
2397
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2398
2454
|
"declaration": {
|
|
2399
|
-
"name": "
|
|
2400
|
-
"module": "src/
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2401
2457
|
}
|
|
2402
2458
|
}
|
|
2403
2459
|
]
|
|
2404
2460
|
},
|
|
2405
2461
|
{
|
|
2406
2462
|
"kind": "javascript-module",
|
|
2407
|
-
"path": "src/
|
|
2463
|
+
"path": "src/actions-menu/index.ts",
|
|
2408
2464
|
"declarations": [],
|
|
2409
2465
|
"exports": [
|
|
2410
2466
|
{
|
|
@@ -2412,7 +2468,7 @@
|
|
|
2412
2468
|
"name": "*",
|
|
2413
2469
|
"declaration": {
|
|
2414
2470
|
"name": "*",
|
|
2415
|
-
"package": "./
|
|
2471
|
+
"package": "./actions-menu.styles"
|
|
2416
2472
|
}
|
|
2417
2473
|
},
|
|
2418
2474
|
{
|
|
@@ -2420,7 +2476,7 @@
|
|
|
2420
2476
|
"name": "*",
|
|
2421
2477
|
"declaration": {
|
|
2422
2478
|
"name": "*",
|
|
2423
|
-
"package": "./
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2424
2480
|
}
|
|
2425
2481
|
},
|
|
2426
2482
|
{
|
|
@@ -2428,210 +2484,138 @@
|
|
|
2428
2484
|
"name": "*",
|
|
2429
2485
|
"declaration": {
|
|
2430
2486
|
"name": "*",
|
|
2431
|
-
"package": "./
|
|
2487
|
+
"package": "./actions-menu"
|
|
2432
2488
|
}
|
|
2433
2489
|
}
|
|
2434
2490
|
]
|
|
2435
2491
|
},
|
|
2436
2492
|
{
|
|
2437
2493
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2439
2495
|
"declarations": [
|
|
2440
2496
|
{
|
|
2441
|
-
"kind": "
|
|
2442
|
-
"name": "
|
|
2443
|
-
"
|
|
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
|
-
]
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2485
2500
|
}
|
|
2486
2501
|
],
|
|
2487
2502
|
"exports": [
|
|
2488
2503
|
{
|
|
2489
2504
|
"kind": "js",
|
|
2490
|
-
"name": "
|
|
2491
|
-
"declaration": {
|
|
2492
|
-
"name": "actionsMenuBaseStyles",
|
|
2493
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
-
}
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"kind": "js",
|
|
2498
|
-
"name": "foundationActionsMenuStyles",
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
2506
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "src/
|
|
2507
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2502
2509
|
}
|
|
2503
2510
|
}
|
|
2504
2511
|
]
|
|
2505
2512
|
},
|
|
2506
2513
|
{
|
|
2507
2514
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2509
2516
|
"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
|
-
},
|
|
2534
2517
|
{
|
|
2535
2518
|
"kind": "variable",
|
|
2536
|
-
"name": "
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2537
2520
|
"type": {
|
|
2538
|
-
"text": "ViewTemplate<
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2539
2522
|
},
|
|
2540
|
-
"default": "html`\n
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2541
2524
|
}
|
|
2542
2525
|
],
|
|
2543
2526
|
"exports": [
|
|
2544
2527
|
{
|
|
2545
2528
|
"kind": "js",
|
|
2546
|
-
"name": "
|
|
2547
|
-
"declaration": {
|
|
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",
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2563
2530
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2566
2533
|
}
|
|
2567
2534
|
}
|
|
2568
2535
|
]
|
|
2569
2536
|
},
|
|
2570
2537
|
{
|
|
2571
2538
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2573
2540
|
"declarations": [
|
|
2574
2541
|
{
|
|
2575
2542
|
"kind": "class",
|
|
2576
|
-
"description": "",
|
|
2577
|
-
"name": "
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2578
2545
|
"members": [
|
|
2579
2546
|
{
|
|
2580
2547
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2548
|
+
"name": "providerRegistry",
|
|
2549
|
+
"type": {
|
|
2550
|
+
"text": "AIProviderRegistry"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "placeholder",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "string"
|
|
2558
|
+
},
|
|
2559
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "disabled",
|
|
2582
2564
|
"type": {
|
|
2583
|
-
"text": "
|
|
2565
|
+
"text": "boolean"
|
|
2584
2566
|
}
|
|
2585
2567
|
},
|
|
2586
2568
|
{
|
|
2587
2569
|
"kind": "field",
|
|
2588
|
-
"name": "
|
|
2570
|
+
"name": "inputValue",
|
|
2589
2571
|
"type": {
|
|
2590
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2591
2573
|
},
|
|
2592
|
-
"default": "
|
|
2574
|
+
"default": "''"
|
|
2593
2575
|
},
|
|
2594
2576
|
{
|
|
2595
2577
|
"kind": "field",
|
|
2596
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2597
2579
|
"type": {
|
|
2598
2580
|
"text": "boolean"
|
|
2599
2581
|
},
|
|
2600
|
-
"default": "
|
|
2582
|
+
"default": "false"
|
|
2601
2583
|
},
|
|
2602
2584
|
{
|
|
2603
2585
|
"kind": "field",
|
|
2604
|
-
"name": "
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2605
2587
|
"type": {
|
|
2606
|
-
"text": "
|
|
2588
|
+
"text": "string | null"
|
|
2607
2589
|
},
|
|
2608
|
-
"default": "
|
|
2590
|
+
"default": "null"
|
|
2609
2591
|
},
|
|
2610
2592
|
{
|
|
2611
2593
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2594
|
+
"name": "activeGroups",
|
|
2613
2595
|
"type": {
|
|
2614
|
-
"text": "
|
|
2615
|
-
}
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2597
|
+
},
|
|
2598
|
+
"default": "[]"
|
|
2616
2599
|
},
|
|
2617
2600
|
{
|
|
2618
2601
|
"kind": "field",
|
|
2619
|
-
"name": "
|
|
2602
|
+
"name": "showingChips",
|
|
2620
2603
|
"type": {
|
|
2621
|
-
"text": "
|
|
2622
|
-
}
|
|
2604
|
+
"text": "boolean"
|
|
2605
|
+
},
|
|
2606
|
+
"default": "false"
|
|
2623
2607
|
},
|
|
2624
2608
|
{
|
|
2625
2609
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2627
2611
|
"type": {
|
|
2628
|
-
"text": "string"
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2629
2613
|
},
|
|
2630
|
-
"default": "
|
|
2614
|
+
"default": "[]"
|
|
2631
2615
|
},
|
|
2632
2616
|
{
|
|
2633
2617
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2618
|
+
"name": "isRecording",
|
|
2635
2619
|
"type": {
|
|
2636
2620
|
"text": "boolean"
|
|
2637
2621
|
},
|
|
@@ -2639,129 +2623,125 @@
|
|
|
2639
2623
|
},
|
|
2640
2624
|
{
|
|
2641
2625
|
"kind": "field",
|
|
2642
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2643
2627
|
"type": {
|
|
2644
|
-
"text": "
|
|
2645
|
-
}
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2629
|
+
},
|
|
2630
|
+
"privacy": "public"
|
|
2646
2631
|
},
|
|
2647
2632
|
{
|
|
2648
2633
|
"kind": "field",
|
|
2649
|
-
"name": "
|
|
2634
|
+
"name": "stopRecording",
|
|
2650
2635
|
"type": {
|
|
2651
|
-
"text": "
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2652
2637
|
},
|
|
2653
|
-
"
|
|
2638
|
+
"privacy": "private",
|
|
2639
|
+
"default": "null"
|
|
2654
2640
|
},
|
|
2655
2641
|
{
|
|
2656
2642
|
"kind": "field",
|
|
2657
|
-
"name": "
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2658
2644
|
"type": {
|
|
2659
|
-
"text": "
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2660
2646
|
},
|
|
2661
|
-
"
|
|
2647
|
+
"privacy": "private",
|
|
2648
|
+
"default": "null"
|
|
2662
2649
|
},
|
|
2663
2650
|
{
|
|
2664
2651
|
"kind": "field",
|
|
2665
|
-
"name": "
|
|
2652
|
+
"name": "speechAvailable",
|
|
2666
2653
|
"type": {
|
|
2667
|
-
"text": "
|
|
2668
|
-
}
|
|
2654
|
+
"text": "boolean"
|
|
2655
|
+
},
|
|
2656
|
+
"readonly": true
|
|
2669
2657
|
},
|
|
2670
2658
|
{
|
|
2671
2659
|
"kind": "field",
|
|
2672
|
-
"name": "
|
|
2660
|
+
"name": "criteriaChips",
|
|
2673
2661
|
"type": {
|
|
2674
|
-
"text": "
|
|
2675
|
-
}
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2676
2665
|
},
|
|
2677
2666
|
{
|
|
2678
|
-
"kind": "
|
|
2679
|
-
"name": "
|
|
2680
|
-
"
|
|
2681
|
-
|
|
2682
|
-
|
|
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
|
+
]
|
|
2683
2683
|
},
|
|
2684
2684
|
{
|
|
2685
2685
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2687
|
+
"return": {
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "void"
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2688
2692
|
},
|
|
2689
2693
|
{
|
|
2690
2694
|
"kind": "method",
|
|
2691
|
-
"name": "
|
|
2692
|
-
"
|
|
2695
|
+
"name": "removeChip",
|
|
2696
|
+
"return": {
|
|
2697
|
+
"type": {
|
|
2698
|
+
"text": "void"
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2693
2701
|
"parameters": [
|
|
2694
2702
|
{
|
|
2695
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2696
2704
|
"type": {
|
|
2697
|
-
"text": "
|
|
2705
|
+
"text": "number"
|
|
2698
2706
|
}
|
|
2699
2707
|
},
|
|
2700
2708
|
{
|
|
2701
|
-
"name": "
|
|
2709
|
+
"name": "clauseIndex",
|
|
2702
2710
|
"type": {
|
|
2703
|
-
"text": "
|
|
2711
|
+
"text": "number"
|
|
2704
2712
|
}
|
|
2705
2713
|
}
|
|
2706
2714
|
]
|
|
2707
2715
|
},
|
|
2708
2716
|
{
|
|
2709
2717
|
"kind": "method",
|
|
2710
|
-
"name": "
|
|
2711
|
-
"
|
|
2718
|
+
"name": "clearChips",
|
|
2719
|
+
"return": {
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "void"
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2712
2724
|
},
|
|
2713
2725
|
{
|
|
2714
2726
|
"kind": "method",
|
|
2715
|
-
"name": "
|
|
2727
|
+
"name": "handleSubmit"
|
|
2716
2728
|
},
|
|
2717
2729
|
{
|
|
2718
2730
|
"kind": "method",
|
|
2719
|
-
"name": "
|
|
2720
|
-
"parameters": [
|
|
2721
|
-
{
|
|
2722
|
-
"name": "callback",
|
|
2723
|
-
"type": {
|
|
2724
|
-
"text": "(rowData) => void | any"
|
|
2725
|
-
}
|
|
2726
|
-
}
|
|
2727
|
-
]
|
|
2728
|
-
},
|
|
2729
|
-
{
|
|
2730
|
-
"kind": "field",
|
|
2731
|
-
"name": "allActions",
|
|
2732
|
-
"type": {
|
|
2733
|
-
"text": "ActionMenuItem[]"
|
|
2734
|
-
},
|
|
2735
|
-
"readonly": true
|
|
2731
|
+
"name": "handleBlur"
|
|
2736
2732
|
},
|
|
2737
2733
|
{
|
|
2738
|
-
"kind": "
|
|
2739
|
-
"name": "
|
|
2740
|
-
"readonly": true
|
|
2734
|
+
"kind": "method",
|
|
2735
|
+
"name": "clear"
|
|
2741
2736
|
},
|
|
2742
2737
|
{
|
|
2743
2738
|
"kind": "method",
|
|
2744
|
-
"name": "
|
|
2745
|
-
"parameters": [
|
|
2746
|
-
{
|
|
2747
|
-
"name": "name",
|
|
2748
|
-
"type": {
|
|
2749
|
-
"text": "string | ((rowData: any) => string)"
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
]
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2753
2740
|
},
|
|
2754
2741
|
{
|
|
2755
2742
|
"kind": "method",
|
|
2756
|
-
"name": "
|
|
2757
|
-
"
|
|
2758
|
-
{
|
|
2759
|
-
"name": "prefix",
|
|
2760
|
-
"type": {
|
|
2761
|
-
"text": "string"
|
|
2762
|
-
}
|
|
2763
|
-
}
|
|
2764
|
-
]
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2765
2745
|
},
|
|
2766
2746
|
{
|
|
2767
2747
|
"kind": "field",
|
|
@@ -2839,151 +2819,190 @@
|
|
|
2839
2819
|
}
|
|
2840
2820
|
},
|
|
2841
2821
|
"inheritedFrom": {
|
|
2842
|
-
"name": "FoundationElement",
|
|
2843
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
{
|
|
2847
|
-
"kind": "method",
|
|
2848
|
-
"name": "compose",
|
|
2849
|
-
"privacy": "public",
|
|
2850
|
-
"static": true,
|
|
2851
|
-
"return": {
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2854
|
-
}
|
|
2855
|
-
},
|
|
2856
|
-
"parameters": [
|
|
2857
|
-
{
|
|
2858
|
-
"name": "this",
|
|
2859
|
-
"type": {
|
|
2860
|
-
"text": "K"
|
|
2861
|
-
}
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"name": "elementDefinition",
|
|
2865
|
-
"type": {
|
|
2866
|
-
"text": "T"
|
|
2867
|
-
},
|
|
2868
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2869
|
-
}
|
|
2870
|
-
],
|
|
2871
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2872
|
-
"inheritedFrom": {
|
|
2873
|
-
"name": "FoundationElement",
|
|
2874
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2875
|
-
}
|
|
2876
|
-
}
|
|
2877
|
-
],
|
|
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
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"name": "auto-close-on-action",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "boolean"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "true",
|
|
2901
|
-
"fieldName": "autoCloseOnAction"
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"name": "name",
|
|
2905
|
-
"type": {
|
|
2906
|
-
"text": "string"
|
|
2907
|
-
},
|
|
2908
|
-
"default": "'Actions'",
|
|
2909
|
-
"fieldName": "name"
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
"name": "open",
|
|
2913
|
-
"type": {
|
|
2914
|
-
"text": "boolean"
|
|
2915
|
-
},
|
|
2916
|
-
"default": "false",
|
|
2917
|
-
"fieldName": "open"
|
|
2822
|
+
"name": "FoundationElement",
|
|
2823
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2824
|
+
}
|
|
2918
2825
|
},
|
|
2919
2826
|
{
|
|
2920
|
-
"
|
|
2921
|
-
"
|
|
2922
|
-
|
|
2827
|
+
"kind": "method",
|
|
2828
|
+
"name": "compose",
|
|
2829
|
+
"privacy": "public",
|
|
2830
|
+
"static": true,
|
|
2831
|
+
"return": {
|
|
2832
|
+
"type": {
|
|
2833
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2834
|
+
}
|
|
2923
2835
|
},
|
|
2924
|
-
"
|
|
2836
|
+
"parameters": [
|
|
2837
|
+
{
|
|
2838
|
+
"name": "this",
|
|
2839
|
+
"type": {
|
|
2840
|
+
"text": "K"
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "elementDefinition",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "T"
|
|
2847
|
+
},
|
|
2848
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2849
|
+
}
|
|
2850
|
+
],
|
|
2851
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2852
|
+
"inheritedFrom": {
|
|
2853
|
+
"name": "FoundationElement",
|
|
2854
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
],
|
|
2858
|
+
"events": [
|
|
2859
|
+
{
|
|
2860
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
+
"name": "criteria-changed"
|
|
2925
2862
|
},
|
|
2926
2863
|
{
|
|
2927
|
-
"
|
|
2864
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
+
"name": "validation-errors"
|
|
2866
|
+
}
|
|
2867
|
+
],
|
|
2868
|
+
"attributes": [
|
|
2869
|
+
{
|
|
2870
|
+
"name": "placeholder",
|
|
2928
2871
|
"type": {
|
|
2929
|
-
"text": "
|
|
2872
|
+
"text": "string"
|
|
2930
2873
|
},
|
|
2931
|
-
"default": "
|
|
2932
|
-
"fieldName": "
|
|
2874
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
+
"fieldName": "placeholder"
|
|
2933
2876
|
},
|
|
2934
2877
|
{
|
|
2935
|
-
"name": "hide-menu-single-option",
|
|
2936
2878
|
"type": {
|
|
2937
2879
|
"text": "boolean"
|
|
2938
2880
|
},
|
|
2939
|
-
"
|
|
2940
|
-
"fieldName": "hideMenuSingleOption"
|
|
2881
|
+
"fieldName": "disabled"
|
|
2941
2882
|
}
|
|
2942
2883
|
],
|
|
2943
2884
|
"superclass": {
|
|
2944
2885
|
"name": "FoundationElement",
|
|
2945
2886
|
"package": "@microsoft/fast-foundation"
|
|
2946
2887
|
},
|
|
2947
|
-
"tagName": "%%prefix%%-
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2948
2889
|
"customElement": true
|
|
2949
2890
|
},
|
|
2950
2891
|
{
|
|
2951
2892
|
"kind": "variable",
|
|
2952
|
-
"name": "
|
|
2953
|
-
"
|
|
2954
|
-
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2894
|
+
"type": {
|
|
2895
|
+
"text": "ShadowRootInit"
|
|
2896
|
+
},
|
|
2897
|
+
"default": "undefined"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"kind": "variable",
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "object"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "{}"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "variable",
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
2955
2910
|
}
|
|
2956
2911
|
],
|
|
2957
2912
|
"exports": [
|
|
2958
2913
|
{
|
|
2959
2914
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
2961
2916
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2964
2919
|
}
|
|
2965
2920
|
},
|
|
2966
2921
|
{
|
|
2967
2922
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2969
2924
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "js",
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
+
"declaration": {
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"kind": "js",
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2940
|
+
"declaration": {
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2972
2943
|
}
|
|
2973
2944
|
}
|
|
2974
2945
|
]
|
|
2975
2946
|
},
|
|
2976
2947
|
{
|
|
2977
2948
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2979
2950
|
"declarations": [],
|
|
2980
2951
|
"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
|
+
},
|
|
2981
3000
|
{
|
|
2982
3001
|
"kind": "js",
|
|
2983
3002
|
"name": "*",
|
|
2984
3003
|
"declaration": {
|
|
2985
3004
|
"name": "*",
|
|
2986
|
-
"package": "./
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
2987
3006
|
}
|
|
2988
3007
|
},
|
|
2989
3008
|
{
|
|
@@ -2991,7 +3010,7 @@
|
|
|
2991
3010
|
"name": "*",
|
|
2992
3011
|
"declaration": {
|
|
2993
3012
|
"name": "*",
|
|
2994
|
-
"package": "./
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
2995
3014
|
}
|
|
2996
3015
|
},
|
|
2997
3016
|
{
|
|
@@ -2999,7 +3018,82 @@
|
|
|
2999
3018
|
"name": "*",
|
|
3000
3019
|
"declaration": {
|
|
3001
3020
|
"name": "*",
|
|
3002
|
-
"package": "./
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
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"
|
|
3003
3097
|
}
|
|
3004
3098
|
}
|
|
3005
3099
|
]
|
|
@@ -3455,208 +3549,275 @@
|
|
|
3455
3549
|
},
|
|
3456
3550
|
{
|
|
3457
3551
|
"kind": "javascript-module",
|
|
3458
|
-
"path": "src/
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3459
3553
|
"declarations": [
|
|
3460
3554
|
{
|
|
3461
|
-
"kind": "
|
|
3462
|
-
"name": "
|
|
3463
|
-
"
|
|
3555
|
+
"kind": "function",
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3557
|
+
"return": {
|
|
3558
|
+
"type": {
|
|
3559
|
+
"text": "ElementStyles"
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
"parameters": [
|
|
3563
|
+
{
|
|
3564
|
+
"name": "context",
|
|
3565
|
+
"type": {
|
|
3566
|
+
"text": "ElementDefinitionContext"
|
|
3567
|
+
}
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"name": "definition",
|
|
3571
|
+
"type": {
|
|
3572
|
+
"text": "FoundationElementDefinition"
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
]
|
|
3464
3576
|
}
|
|
3465
3577
|
],
|
|
3466
3578
|
"exports": [
|
|
3467
3579
|
{
|
|
3468
3580
|
"kind": "js",
|
|
3469
|
-
"name": "
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3470
3582
|
"declaration": {
|
|
3471
|
-
"name": "
|
|
3472
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3473
3585
|
}
|
|
3474
3586
|
}
|
|
3475
3587
|
]
|
|
3476
3588
|
},
|
|
3477
3589
|
{
|
|
3478
3590
|
"kind": "javascript-module",
|
|
3479
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3480
3592
|
"declarations": [
|
|
3481
3593
|
{
|
|
3482
|
-
"kind": "
|
|
3483
|
-
"name": "
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3594
|
+
"kind": "function",
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3596
|
+
"return": {
|
|
3597
|
+
"type": {
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3599
|
+
}
|
|
3486
3600
|
},
|
|
3487
|
-
"
|
|
3601
|
+
"parameters": [
|
|
3602
|
+
{
|
|
3603
|
+
"name": "context",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "ElementDefinitionContext"
|
|
3606
|
+
}
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "definition",
|
|
3610
|
+
"type": {
|
|
3611
|
+
"text": "FoundationElementDefinition"
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
]
|
|
3488
3615
|
}
|
|
3489
3616
|
],
|
|
3490
3617
|
"exports": [
|
|
3491
3618
|
{
|
|
3492
3619
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3620
|
+
"name": "foundationAccordionTemplate",
|
|
3494
3621
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "src/
|
|
3622
|
+
"name": "foundationAccordionTemplate",
|
|
3623
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3497
3624
|
}
|
|
3498
3625
|
}
|
|
3499
3626
|
]
|
|
3500
3627
|
},
|
|
3501
3628
|
{
|
|
3502
3629
|
"kind": "javascript-module",
|
|
3503
|
-
"path": "src/
|
|
3630
|
+
"path": "src/accordion/accordion.ts",
|
|
3504
3631
|
"declarations": [
|
|
3505
3632
|
{
|
|
3506
3633
|
"kind": "class",
|
|
3507
|
-
"description": "
|
|
3508
|
-
"name": "
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
},
|
|
3634
|
+
"description": "",
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"superclass": {
|
|
3637
|
+
"name": "FASTAccordion",
|
|
3638
|
+
"package": "@microsoft/fast-foundation"
|
|
3639
|
+
},
|
|
3640
|
+
"tagName": "%%prefix%%-accordion",
|
|
3641
|
+
"customElement": true,
|
|
3642
|
+
"attributes": [
|
|
3517
3643
|
{
|
|
3518
|
-
"
|
|
3519
|
-
"name": "placeholder",
|
|
3644
|
+
"name": "expand-mode",
|
|
3520
3645
|
"type": {
|
|
3521
|
-
"text": "
|
|
3646
|
+
"text": "AccordionExpandMode"
|
|
3522
3647
|
},
|
|
3523
|
-
"
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
"type": {
|
|
3529
|
-
"text": "boolean"
|
|
3648
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3649
|
+
"fieldName": "expandmode",
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3530
3653
|
}
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
"name": "inputValue",
|
|
3535
|
-
"type": {
|
|
3536
|
-
"text": "string"
|
|
3537
|
-
},
|
|
3538
|
-
"default": "''"
|
|
3539
|
-
},
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"members": [
|
|
3540
3657
|
{
|
|
3541
3658
|
"kind": "field",
|
|
3542
|
-
"name": "
|
|
3659
|
+
"name": "expandmode",
|
|
3543
3660
|
"type": {
|
|
3544
|
-
"text": "
|
|
3661
|
+
"text": "AccordionExpandMode"
|
|
3545
3662
|
},
|
|
3546
|
-
"
|
|
3663
|
+
"privacy": "public",
|
|
3664
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "Accordion",
|
|
3667
|
+
"module": "src/accordion/accordion.ts"
|
|
3668
|
+
}
|
|
3547
3669
|
},
|
|
3548
3670
|
{
|
|
3549
3671
|
"kind": "field",
|
|
3550
|
-
"name": "
|
|
3672
|
+
"name": "activeid",
|
|
3551
3673
|
"type": {
|
|
3552
3674
|
"text": "string | null"
|
|
3553
3675
|
},
|
|
3554
|
-
"
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
"type": {
|
|
3560
|
-
"text": "CriteriaGroup[]"
|
|
3561
|
-
},
|
|
3562
|
-
"default": "[]"
|
|
3676
|
+
"privacy": "private",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3680
|
+
}
|
|
3563
3681
|
},
|
|
3564
3682
|
{
|
|
3565
3683
|
"kind": "field",
|
|
3566
|
-
"name": "
|
|
3684
|
+
"name": "activeItemIndex",
|
|
3567
3685
|
"type": {
|
|
3568
|
-
"text": "
|
|
3686
|
+
"text": "number"
|
|
3569
3687
|
},
|
|
3570
|
-
"
|
|
3688
|
+
"privacy": "private",
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"inheritedFrom": {
|
|
3691
|
+
"name": "Accordion",
|
|
3692
|
+
"module": "src/accordion/accordion.ts"
|
|
3693
|
+
}
|
|
3571
3694
|
},
|
|
3572
3695
|
{
|
|
3573
3696
|
"kind": "field",
|
|
3574
|
-
"name": "
|
|
3697
|
+
"name": "accordionIds",
|
|
3575
3698
|
"type": {
|
|
3576
|
-
"text": "
|
|
3699
|
+
"text": "Array<string | null>"
|
|
3577
3700
|
},
|
|
3578
|
-
"
|
|
3701
|
+
"privacy": "private",
|
|
3702
|
+
"inheritedFrom": {
|
|
3703
|
+
"name": "Accordion",
|
|
3704
|
+
"module": "src/accordion/accordion.ts"
|
|
3705
|
+
}
|
|
3579
3706
|
},
|
|
3580
3707
|
{
|
|
3581
3708
|
"kind": "field",
|
|
3582
|
-
"name": "
|
|
3583
|
-
"
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3709
|
+
"name": "change",
|
|
3710
|
+
"privacy": "private",
|
|
3711
|
+
"inheritedFrom": {
|
|
3712
|
+
"name": "Accordion",
|
|
3713
|
+
"module": "src/accordion/accordion.ts"
|
|
3714
|
+
}
|
|
3587
3715
|
},
|
|
3588
3716
|
{
|
|
3589
|
-
"kind": "
|
|
3590
|
-
"name": "
|
|
3591
|
-
"
|
|
3592
|
-
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "findExpandedItem",
|
|
3719
|
+
"privacy": "private",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "AccordionItem | null"
|
|
3723
|
+
}
|
|
3593
3724
|
},
|
|
3594
|
-
"
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Accordion",
|
|
3727
|
+
"module": "src/accordion/accordion.ts"
|
|
3728
|
+
}
|
|
3595
3729
|
},
|
|
3596
3730
|
{
|
|
3597
3731
|
"kind": "field",
|
|
3598
|
-
"name": "
|
|
3599
|
-
"type": {
|
|
3600
|
-
"text": "(() => void) | null"
|
|
3601
|
-
},
|
|
3732
|
+
"name": "setItems",
|
|
3602
3733
|
"privacy": "private",
|
|
3603
|
-
"
|
|
3734
|
+
"inheritedFrom": {
|
|
3735
|
+
"name": "Accordion",
|
|
3736
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
|
+
}
|
|
3604
3738
|
},
|
|
3605
3739
|
{
|
|
3606
|
-
"kind": "
|
|
3607
|
-
"name": "
|
|
3608
|
-
"type": {
|
|
3609
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3610
|
-
},
|
|
3740
|
+
"kind": "method",
|
|
3741
|
+
"name": "resetItems",
|
|
3611
3742
|
"privacy": "private",
|
|
3612
|
-
"
|
|
3743
|
+
"return": {
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "void"
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
"inheritedFrom": {
|
|
3749
|
+
"name": "Accordion",
|
|
3750
|
+
"module": "src/accordion/accordion.ts"
|
|
3751
|
+
}
|
|
3613
3752
|
},
|
|
3614
3753
|
{
|
|
3615
3754
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3617
|
-
"
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3755
|
+
"name": "removeItemListeners",
|
|
3756
|
+
"privacy": "private",
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3760
|
+
}
|
|
3621
3761
|
},
|
|
3622
3762
|
{
|
|
3623
3763
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3625
|
-
"
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3764
|
+
"name": "activeItemChange",
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"inheritedFrom": {
|
|
3767
|
+
"name": "Accordion",
|
|
3768
|
+
"module": "src/accordion/accordion.ts"
|
|
3769
|
+
}
|
|
3629
3770
|
},
|
|
3630
3771
|
{
|
|
3631
3772
|
"kind": "method",
|
|
3632
|
-
"name": "
|
|
3773
|
+
"name": "getItemIds",
|
|
3633
3774
|
"privacy": "private",
|
|
3634
3775
|
"return": {
|
|
3635
3776
|
"type": {
|
|
3636
|
-
"text": "string"
|
|
3777
|
+
"text": "Array<string | null>"
|
|
3637
3778
|
}
|
|
3638
3779
|
},
|
|
3639
|
-
"
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
"text": "string"
|
|
3644
|
-
}
|
|
3645
|
-
}
|
|
3646
|
-
]
|
|
3780
|
+
"inheritedFrom": {
|
|
3781
|
+
"name": "Accordion",
|
|
3782
|
+
"module": "src/accordion/accordion.ts"
|
|
3783
|
+
}
|
|
3647
3784
|
},
|
|
3648
3785
|
{
|
|
3649
3786
|
"kind": "method",
|
|
3650
|
-
"name": "
|
|
3787
|
+
"name": "isSingleExpandMode",
|
|
3788
|
+
"privacy": "private",
|
|
3651
3789
|
"return": {
|
|
3652
3790
|
"type": {
|
|
3653
|
-
"text": "
|
|
3791
|
+
"text": "boolean"
|
|
3654
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
"inheritedFrom": {
|
|
3795
|
+
"name": "Accordion",
|
|
3796
|
+
"module": "src/accordion/accordion.ts"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "handleItemKeyDown",
|
|
3802
|
+
"privacy": "private",
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Accordion",
|
|
3805
|
+
"module": "src/accordion/accordion.ts"
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
"kind": "field",
|
|
3810
|
+
"name": "handleItemFocus",
|
|
3811
|
+
"privacy": "private",
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "Accordion",
|
|
3814
|
+
"module": "src/accordion/accordion.ts"
|
|
3655
3815
|
}
|
|
3656
3816
|
},
|
|
3657
3817
|
{
|
|
3658
3818
|
"kind": "method",
|
|
3659
|
-
"name": "
|
|
3819
|
+
"name": "adjust",
|
|
3820
|
+
"privacy": "private",
|
|
3660
3821
|
"return": {
|
|
3661
3822
|
"type": {
|
|
3662
3823
|
"text": "void"
|
|
@@ -3664,49 +3825,31 @@
|
|
|
3664
3825
|
},
|
|
3665
3826
|
"parameters": [
|
|
3666
3827
|
{
|
|
3667
|
-
"name": "
|
|
3668
|
-
"type": {
|
|
3669
|
-
"text": "number"
|
|
3670
|
-
}
|
|
3671
|
-
},
|
|
3672
|
-
{
|
|
3673
|
-
"name": "clauseIndex",
|
|
3828
|
+
"name": "adjustment",
|
|
3674
3829
|
"type": {
|
|
3675
3830
|
"text": "number"
|
|
3676
3831
|
}
|
|
3677
3832
|
}
|
|
3678
|
-
]
|
|
3833
|
+
],
|
|
3834
|
+
"inheritedFrom": {
|
|
3835
|
+
"name": "Accordion",
|
|
3836
|
+
"module": "src/accordion/accordion.ts"
|
|
3837
|
+
}
|
|
3679
3838
|
},
|
|
3680
3839
|
{
|
|
3681
3840
|
"kind": "method",
|
|
3682
|
-
"name": "
|
|
3841
|
+
"name": "focusItem",
|
|
3842
|
+
"privacy": "private",
|
|
3683
3843
|
"return": {
|
|
3684
3844
|
"type": {
|
|
3685
3845
|
"text": "void"
|
|
3686
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "Accordion",
|
|
3850
|
+
"module": "src/accordion/accordion.ts"
|
|
3687
3851
|
}
|
|
3688
3852
|
},
|
|
3689
|
-
{
|
|
3690
|
-
"kind": "method",
|
|
3691
|
-
"name": "handleSubmit"
|
|
3692
|
-
},
|
|
3693
|
-
{
|
|
3694
|
-
"kind": "method",
|
|
3695
|
-
"name": "handleBlur"
|
|
3696
|
-
},
|
|
3697
|
-
{
|
|
3698
|
-
"kind": "method",
|
|
3699
|
-
"name": "clear"
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "method",
|
|
3703
|
-
"name": "toggleSpeechInput"
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "method",
|
|
3707
|
-
"name": "clearSpeechApplyDebounce",
|
|
3708
|
-
"privacy": "private"
|
|
3709
|
-
},
|
|
3710
3853
|
{
|
|
3711
3854
|
"kind": "field",
|
|
3712
3855
|
"name": "_presentation",
|
|
@@ -3821,48 +3964,26 @@
|
|
|
3821
3964
|
],
|
|
3822
3965
|
"events": [
|
|
3823
3966
|
{
|
|
3824
|
-
"description": "
|
|
3825
|
-
"name": "
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
}
|
|
3831
|
-
],
|
|
3832
|
-
"attributes": [
|
|
3833
|
-
{
|
|
3834
|
-
"name": "placeholder",
|
|
3835
|
-
"type": {
|
|
3836
|
-
"text": "string"
|
|
3837
|
-
},
|
|
3838
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3839
|
-
"fieldName": "placeholder"
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"type": {
|
|
3843
|
-
"text": "boolean"
|
|
3844
|
-
},
|
|
3845
|
-
"fieldName": "disabled"
|
|
3967
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3968
|
+
"name": "change",
|
|
3969
|
+
"inheritedFrom": {
|
|
3970
|
+
"name": "Accordion",
|
|
3971
|
+
"module": "src/accordion/accordion.ts"
|
|
3972
|
+
}
|
|
3846
3973
|
}
|
|
3847
|
-
]
|
|
3848
|
-
"superclass": {
|
|
3849
|
-
"name": "FoundationElement",
|
|
3850
|
-
"package": "@microsoft/fast-foundation"
|
|
3851
|
-
},
|
|
3852
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3853
|
-
"customElement": true
|
|
3974
|
+
]
|
|
3854
3975
|
},
|
|
3855
3976
|
{
|
|
3856
3977
|
"kind": "variable",
|
|
3857
|
-
"name": "
|
|
3978
|
+
"name": "foundationAccordionShadowOptions",
|
|
3858
3979
|
"type": {
|
|
3859
3980
|
"text": "ShadowRootInit"
|
|
3860
3981
|
},
|
|
3861
|
-
"default": "
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3862
3983
|
},
|
|
3863
3984
|
{
|
|
3864
3985
|
"kind": "variable",
|
|
3865
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionConfig",
|
|
3866
3987
|
"type": {
|
|
3867
3988
|
"text": "object"
|
|
3868
3989
|
},
|
|
@@ -3870,103 +3991,57 @@
|
|
|
3870
3991
|
},
|
|
3871
3992
|
{
|
|
3872
3993
|
"kind": "variable",
|
|
3873
|
-
"name": "
|
|
3994
|
+
"name": "foundationAccordion",
|
|
3995
|
+
"description": "The Foundation Accordion",
|
|
3996
|
+
"privacy": "public"
|
|
3874
3997
|
}
|
|
3875
3998
|
],
|
|
3876
3999
|
"exports": [
|
|
3877
4000
|
{
|
|
3878
4001
|
"kind": "js",
|
|
3879
|
-
"name": "
|
|
4002
|
+
"name": "Accordion",
|
|
3880
4003
|
"declaration": {
|
|
3881
|
-
"name": "
|
|
3882
|
-
"module": "src/
|
|
4004
|
+
"name": "Accordion",
|
|
4005
|
+
"module": "src/accordion/accordion.ts"
|
|
3883
4006
|
}
|
|
3884
4007
|
},
|
|
3885
4008
|
{
|
|
3886
4009
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
4010
|
+
"name": "foundationAccordionShadowOptions",
|
|
3888
4011
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
4012
|
+
"name": "foundationAccordionShadowOptions",
|
|
4013
|
+
"module": "src/accordion/accordion.ts"
|
|
3891
4014
|
}
|
|
3892
4015
|
},
|
|
3893
4016
|
{
|
|
3894
4017
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionConfig",
|
|
3896
4019
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
4020
|
+
"name": "defaultAccordionConfig",
|
|
4021
|
+
"module": "src/accordion/accordion.ts"
|
|
3899
4022
|
}
|
|
3900
4023
|
},
|
|
3901
4024
|
{
|
|
3902
4025
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordion",
|
|
3904
4027
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
4028
|
+
"name": "foundationAccordion",
|
|
4029
|
+
"module": "src/accordion/accordion.ts"
|
|
3907
4030
|
}
|
|
3908
4031
|
}
|
|
3909
4032
|
]
|
|
3910
4033
|
},
|
|
3911
4034
|
{
|
|
3912
4035
|
"kind": "javascript-module",
|
|
3913
|
-
"path": "src/
|
|
4036
|
+
"path": "src/accordion/index.ts",
|
|
3914
4037
|
"declarations": [],
|
|
3915
4038
|
"exports": [
|
|
3916
|
-
{
|
|
3917
|
-
"kind": "js",
|
|
3918
|
-
"name": "AiCriteriaSearch",
|
|
3919
|
-
"declaration": {
|
|
3920
|
-
"name": "AiCriteriaSearch",
|
|
3921
|
-
"module": "./ai-criteria-search"
|
|
3922
|
-
}
|
|
3923
|
-
},
|
|
3924
|
-
{
|
|
3925
|
-
"kind": "js",
|
|
3926
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3927
|
-
"declaration": {
|
|
3928
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3929
|
-
"module": "./ai-criteria-search"
|
|
3930
|
-
}
|
|
3931
|
-
},
|
|
3932
|
-
{
|
|
3933
|
-
"kind": "js",
|
|
3934
|
-
"name": "foundationAiCriteriaSearch",
|
|
3935
|
-
"declaration": {
|
|
3936
|
-
"name": "foundationAiCriteriaSearch",
|
|
3937
|
-
"module": "./ai-criteria-search"
|
|
3938
|
-
}
|
|
3939
|
-
},
|
|
3940
|
-
{
|
|
3941
|
-
"kind": "js",
|
|
3942
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3943
|
-
"declaration": {
|
|
3944
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3945
|
-
"module": "./ai-criteria-search"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
{
|
|
3949
|
-
"kind": "js",
|
|
3950
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3951
|
-
"declaration": {
|
|
3952
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3953
|
-
"module": "./ai-criteria-search.styles"
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
"kind": "js",
|
|
3958
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3959
|
-
"declaration": {
|
|
3960
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3961
|
-
"module": "./ai-criteria-search.template"
|
|
3962
|
-
}
|
|
3963
|
-
},
|
|
3964
4039
|
{
|
|
3965
4040
|
"kind": "js",
|
|
3966
4041
|
"name": "*",
|
|
3967
4042
|
"declaration": {
|
|
3968
4043
|
"name": "*",
|
|
3969
|
-
"package": "./
|
|
4044
|
+
"package": "./accordion.template"
|
|
3970
4045
|
}
|
|
3971
4046
|
},
|
|
3972
4047
|
{
|
|
@@ -3974,7 +4049,7 @@
|
|
|
3974
4049
|
"name": "*",
|
|
3975
4050
|
"declaration": {
|
|
3976
4051
|
"name": "*",
|
|
3977
|
-
"package": "./
|
|
4052
|
+
"package": "./accordion.styles"
|
|
3978
4053
|
}
|
|
3979
4054
|
},
|
|
3980
4055
|
{
|
|
@@ -3982,82 +4057,7 @@
|
|
|
3982
4057
|
"name": "*",
|
|
3983
4058
|
"declaration": {
|
|
3984
4059
|
"name": "*",
|
|
3985
|
-
"package": "./
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
]
|
|
3989
|
-
},
|
|
3990
|
-
{
|
|
3991
|
-
"kind": "javascript-module",
|
|
3992
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3993
|
-
"declarations": [
|
|
3994
|
-
{
|
|
3995
|
-
"kind": "function",
|
|
3996
|
-
"name": "formatValidationErrors",
|
|
3997
|
-
"return": {
|
|
3998
|
-
"type": {
|
|
3999
|
-
"text": "string"
|
|
4000
|
-
}
|
|
4001
|
-
},
|
|
4002
|
-
"parameters": [
|
|
4003
|
-
{
|
|
4004
|
-
"name": "errors",
|
|
4005
|
-
"type": {
|
|
4006
|
-
"text": "ValidationError[]"
|
|
4007
|
-
}
|
|
4008
|
-
}
|
|
4009
|
-
],
|
|
4010
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
4011
|
-
},
|
|
4012
|
-
{
|
|
4013
|
-
"kind": "function",
|
|
4014
|
-
"name": "showCriteriaError",
|
|
4015
|
-
"return": {
|
|
4016
|
-
"type": {
|
|
4017
|
-
"text": "void"
|
|
4018
|
-
}
|
|
4019
|
-
},
|
|
4020
|
-
"parameters": [
|
|
4021
|
-
{
|
|
4022
|
-
"name": "title",
|
|
4023
|
-
"type": {
|
|
4024
|
-
"text": "string"
|
|
4025
|
-
},
|
|
4026
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
4027
|
-
},
|
|
4028
|
-
{
|
|
4029
|
-
"name": "body",
|
|
4030
|
-
"type": {
|
|
4031
|
-
"text": "string"
|
|
4032
|
-
},
|
|
4033
|
-
"description": "Error message to display"
|
|
4034
|
-
},
|
|
4035
|
-
{
|
|
4036
|
-
"name": "tagName",
|
|
4037
|
-
"type": {
|
|
4038
|
-
"text": "string"
|
|
4039
|
-
},
|
|
4040
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
4041
|
-
}
|
|
4042
|
-
],
|
|
4043
|
-
"description": "Shows a criteria error as a toast notification."
|
|
4044
|
-
}
|
|
4045
|
-
],
|
|
4046
|
-
"exports": [
|
|
4047
|
-
{
|
|
4048
|
-
"kind": "js",
|
|
4049
|
-
"name": "formatValidationErrors",
|
|
4050
|
-
"declaration": {
|
|
4051
|
-
"name": "formatValidationErrors",
|
|
4052
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4053
|
-
}
|
|
4054
|
-
},
|
|
4055
|
-
{
|
|
4056
|
-
"kind": "js",
|
|
4057
|
-
"name": "showCriteriaError",
|
|
4058
|
-
"declaration": {
|
|
4059
|
-
"name": "showCriteriaError",
|
|
4060
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4060
|
+
"package": "./accordion"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|