@genesislcap/foundation-ui 15.25.0 → 15.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1098 -1098
- package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/dts/react.d.ts +17 -17
- package/dist/esm/dialog/dialog.styles.js +1 -0
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +9 -9
- package/package.json +18 -18
|
@@ -1495,11 +1495,11 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/accordion
|
|
1498
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1499
1499
|
"declarations": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionStyles",
|
|
1503
1503
|
"return": {
|
|
1504
1504
|
"type": {
|
|
1505
1505
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1524,24 @@
|
|
|
1524
1524
|
"exports": [
|
|
1525
1525
|
{
|
|
1526
1526
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1527
|
+
"name": "foundationAccordionStyles",
|
|
1528
1528
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion
|
|
1529
|
+
"name": "foundationAccordionStyles",
|
|
1530
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
]
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
1536
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion
|
|
1537
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1538
1538
|
"declarations": [
|
|
1539
1539
|
{
|
|
1540
1540
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionTemplate",
|
|
1542
1542
|
"return": {
|
|
1543
1543
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1544
|
+
"text": "ViewTemplate<Accordion>"
|
|
1545
1545
|
}
|
|
1546
1546
|
},
|
|
1547
1547
|
"parameters": [
|
|
@@ -1563,116 +1563,237 @@
|
|
|
1563
1563
|
"exports": [
|
|
1564
1564
|
{
|
|
1565
1565
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1566
|
+
"name": "foundationAccordionTemplate",
|
|
1567
1567
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion
|
|
1568
|
+
"name": "foundationAccordionTemplate",
|
|
1569
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
]
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
1575
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion
|
|
1576
|
+
"path": "src/accordion/accordion.ts",
|
|
1577
1577
|
"declarations": [
|
|
1578
1578
|
{
|
|
1579
1579
|
"kind": "class",
|
|
1580
1580
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1581
|
+
"name": "Accordion",
|
|
1582
1582
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1583
|
+
"name": "FASTAccordion",
|
|
1584
|
+
"package": "@microsoft/fast-foundation"
|
|
1585
1585
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion
|
|
1586
|
+
"tagName": "%%prefix%%-accordion",
|
|
1587
1587
|
"customElement": true,
|
|
1588
1588
|
"attributes": [
|
|
1589
1589
|
{
|
|
1590
|
-
"name": "
|
|
1590
|
+
"name": "expand-mode",
|
|
1591
1591
|
"type": {
|
|
1592
|
-
"text": "
|
|
1592
|
+
"text": "AccordionExpandMode"
|
|
1593
1593
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1596
|
-
"fieldName": "headinglevel",
|
|
1594
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1595
|
+
"fieldName": "expandmode",
|
|
1597
1596
|
"inheritedFrom": {
|
|
1598
|
-
"name": "
|
|
1599
|
-
"module": "src/accordion
|
|
1597
|
+
"name": "Accordion",
|
|
1598
|
+
"module": "src/accordion/accordion.ts"
|
|
1600
1599
|
}
|
|
1601
|
-
}
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"members": [
|
|
1602
1603
|
{
|
|
1604
|
+
"kind": "field",
|
|
1605
|
+
"name": "expandmode",
|
|
1603
1606
|
"type": {
|
|
1604
|
-
"text": "
|
|
1607
|
+
"text": "AccordionExpandMode"
|
|
1605
1608
|
},
|
|
1606
|
-
"
|
|
1607
|
-
"description": "
|
|
1608
|
-
"fieldName": "expanded",
|
|
1609
|
+
"privacy": "public",
|
|
1610
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1609
1611
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/accordion
|
|
1612
|
+
"name": "Accordion",
|
|
1613
|
+
"module": "src/accordion/accordion.ts"
|
|
1612
1614
|
}
|
|
1613
1615
|
},
|
|
1614
1616
|
{
|
|
1615
|
-
"
|
|
1617
|
+
"kind": "field",
|
|
1618
|
+
"name": "activeid",
|
|
1616
1619
|
"type": {
|
|
1617
|
-
"text": "string"
|
|
1620
|
+
"text": "string | null"
|
|
1618
1621
|
},
|
|
1619
|
-
"
|
|
1620
|
-
"fieldName": "id",
|
|
1622
|
+
"privacy": "private",
|
|
1621
1623
|
"inheritedFrom": {
|
|
1622
|
-
"name": "
|
|
1623
|
-
"module": "src/accordion
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
1624
1626
|
}
|
|
1625
|
-
}
|
|
1626
|
-
],
|
|
1627
|
-
"members": [
|
|
1627
|
+
},
|
|
1628
1628
|
{
|
|
1629
1629
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1630
|
+
"name": "activeItemIndex",
|
|
1631
1631
|
"type": {
|
|
1632
|
-
"text": "
|
|
1632
|
+
"text": "number"
|
|
1633
1633
|
},
|
|
1634
|
-
"privacy": "
|
|
1635
|
-
"default": "
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1634
|
+
"privacy": "private",
|
|
1635
|
+
"default": "0",
|
|
1637
1636
|
"inheritedFrom": {
|
|
1638
|
-
"name": "
|
|
1639
|
-
"module": "src/accordion
|
|
1637
|
+
"name": "Accordion",
|
|
1638
|
+
"module": "src/accordion/accordion.ts"
|
|
1640
1639
|
}
|
|
1641
1640
|
},
|
|
1642
1641
|
{
|
|
1643
1642
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1643
|
+
"name": "accordionIds",
|
|
1645
1644
|
"type": {
|
|
1646
|
-
"text": "
|
|
1645
|
+
"text": "Array<string | null>"
|
|
1647
1646
|
},
|
|
1648
|
-
"privacy": "
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1647
|
+
"privacy": "private",
|
|
1651
1648
|
"inheritedFrom": {
|
|
1652
|
-
"name": "
|
|
1653
|
-
"module": "src/accordion
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1654
1651
|
}
|
|
1655
1652
|
},
|
|
1656
1653
|
{
|
|
1657
1654
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1659
|
-
"
|
|
1660
|
-
|
|
1655
|
+
"name": "change",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"inheritedFrom": {
|
|
1658
|
+
"name": "Accordion",
|
|
1659
|
+
"module": "src/accordion/accordion.ts"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"kind": "method",
|
|
1664
|
+
"name": "findExpandedItem",
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"return": {
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "AccordionItem | null"
|
|
1669
|
+
}
|
|
1661
1670
|
},
|
|
1662
|
-
"privacy": "public",
|
|
1663
|
-
"description": "The item ID",
|
|
1664
1671
|
"inheritedFrom": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "src/accordion
|
|
1672
|
+
"name": "Accordion",
|
|
1673
|
+
"module": "src/accordion/accordion.ts"
|
|
1667
1674
|
}
|
|
1668
1675
|
},
|
|
1669
1676
|
{
|
|
1670
1677
|
"kind": "field",
|
|
1671
|
-
"name": "
|
|
1678
|
+
"name": "setItems",
|
|
1672
1679
|
"privacy": "private",
|
|
1673
1680
|
"inheritedFrom": {
|
|
1674
|
-
"name": "
|
|
1675
|
-
"module": "src/accordion
|
|
1681
|
+
"name": "Accordion",
|
|
1682
|
+
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"kind": "method",
|
|
1687
|
+
"name": "resetItems",
|
|
1688
|
+
"privacy": "private",
|
|
1689
|
+
"return": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "void"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"inheritedFrom": {
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "field",
|
|
1701
|
+
"name": "removeItemListeners",
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"inheritedFrom": {
|
|
1704
|
+
"name": "Accordion",
|
|
1705
|
+
"module": "src/accordion/accordion.ts"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "activeItemChange",
|
|
1711
|
+
"privacy": "private",
|
|
1712
|
+
"inheritedFrom": {
|
|
1713
|
+
"name": "Accordion",
|
|
1714
|
+
"module": "src/accordion/accordion.ts"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "method",
|
|
1719
|
+
"name": "getItemIds",
|
|
1720
|
+
"privacy": "private",
|
|
1721
|
+
"return": {
|
|
1722
|
+
"type": {
|
|
1723
|
+
"text": "Array<string | null>"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
"inheritedFrom": {
|
|
1727
|
+
"name": "Accordion",
|
|
1728
|
+
"module": "src/accordion/accordion.ts"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "method",
|
|
1733
|
+
"name": "isSingleExpandMode",
|
|
1734
|
+
"privacy": "private",
|
|
1735
|
+
"return": {
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "boolean"
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "Accordion",
|
|
1742
|
+
"module": "src/accordion/accordion.ts"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "handleItemKeyDown",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"inheritedFrom": {
|
|
1750
|
+
"name": "Accordion",
|
|
1751
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "handleItemFocus",
|
|
1757
|
+
"privacy": "private",
|
|
1758
|
+
"inheritedFrom": {
|
|
1759
|
+
"name": "Accordion",
|
|
1760
|
+
"module": "src/accordion/accordion.ts"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "method",
|
|
1765
|
+
"name": "adjust",
|
|
1766
|
+
"privacy": "private",
|
|
1767
|
+
"return": {
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "void"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"parameters": [
|
|
1773
|
+
{
|
|
1774
|
+
"name": "adjustment",
|
|
1775
|
+
"type": {
|
|
1776
|
+
"text": "number"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"inheritedFrom": {
|
|
1781
|
+
"name": "Accordion",
|
|
1782
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "method",
|
|
1787
|
+
"name": "focusItem",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"return": {
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "void"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"inheritedFrom": {
|
|
1795
|
+
"name": "Accordion",
|
|
1796
|
+
"module": "src/accordion/accordion.ts"
|
|
1676
1797
|
}
|
|
1677
1798
|
},
|
|
1678
1799
|
{
|
|
@@ -1789,18 +1910,18 @@
|
|
|
1789
1910
|
],
|
|
1790
1911
|
"events": [
|
|
1791
1912
|
{
|
|
1792
|
-
"description": "Fires a custom 'change' event when the
|
|
1913
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1793
1914
|
"name": "change",
|
|
1794
1915
|
"inheritedFrom": {
|
|
1795
|
-
"name": "
|
|
1796
|
-
"module": "src/accordion
|
|
1916
|
+
"name": "Accordion",
|
|
1917
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
1918
|
}
|
|
1798
1919
|
}
|
|
1799
1920
|
]
|
|
1800
1921
|
},
|
|
1801
1922
|
{
|
|
1802
1923
|
"kind": "variable",
|
|
1803
|
-
"name": "
|
|
1924
|
+
"name": "foundationAccordionShadowOptions",
|
|
1804
1925
|
"type": {
|
|
1805
1926
|
"text": "ShadowRootInit"
|
|
1806
1927
|
},
|
|
@@ -1808,57 +1929,57 @@
|
|
|
1808
1929
|
},
|
|
1809
1930
|
{
|
|
1810
1931
|
"kind": "variable",
|
|
1811
|
-
"name": "
|
|
1932
|
+
"name": "defaultAccordionConfig",
|
|
1812
1933
|
"type": {
|
|
1813
1934
|
"text": "object"
|
|
1814
1935
|
},
|
|
1815
|
-
"default": "{
|
|
1936
|
+
"default": "{}"
|
|
1816
1937
|
},
|
|
1817
1938
|
{
|
|
1818
1939
|
"kind": "variable",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The Foundation Accordion
|
|
1940
|
+
"name": "foundationAccordion",
|
|
1941
|
+
"description": "The Foundation Accordion",
|
|
1821
1942
|
"privacy": "public"
|
|
1822
1943
|
}
|
|
1823
1944
|
],
|
|
1824
1945
|
"exports": [
|
|
1825
1946
|
{
|
|
1826
1947
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1948
|
+
"name": "Accordion",
|
|
1828
1949
|
"declaration": {
|
|
1829
|
-
"name": "
|
|
1830
|
-
"module": "src/accordion
|
|
1950
|
+
"name": "Accordion",
|
|
1951
|
+
"module": "src/accordion/accordion.ts"
|
|
1831
1952
|
}
|
|
1832
1953
|
},
|
|
1833
1954
|
{
|
|
1834
1955
|
"kind": "js",
|
|
1835
|
-
"name": "
|
|
1956
|
+
"name": "foundationAccordionShadowOptions",
|
|
1836
1957
|
"declaration": {
|
|
1837
|
-
"name": "
|
|
1838
|
-
"module": "src/accordion
|
|
1958
|
+
"name": "foundationAccordionShadowOptions",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
1839
1960
|
}
|
|
1840
1961
|
},
|
|
1841
1962
|
{
|
|
1842
1963
|
"kind": "js",
|
|
1843
|
-
"name": "
|
|
1964
|
+
"name": "defaultAccordionConfig",
|
|
1844
1965
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion
|
|
1966
|
+
"name": "defaultAccordionConfig",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
1847
1968
|
}
|
|
1848
1969
|
},
|
|
1849
1970
|
{
|
|
1850
1971
|
"kind": "js",
|
|
1851
|
-
"name": "
|
|
1972
|
+
"name": "foundationAccordion",
|
|
1852
1973
|
"declaration": {
|
|
1853
|
-
"name": "
|
|
1854
|
-
"module": "src/accordion
|
|
1974
|
+
"name": "foundationAccordion",
|
|
1975
|
+
"module": "src/accordion/accordion.ts"
|
|
1855
1976
|
}
|
|
1856
1977
|
}
|
|
1857
1978
|
]
|
|
1858
1979
|
},
|
|
1859
1980
|
{
|
|
1860
1981
|
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/accordion
|
|
1982
|
+
"path": "src/accordion/index.ts",
|
|
1862
1983
|
"declarations": [],
|
|
1863
1984
|
"exports": [
|
|
1864
1985
|
{
|
|
@@ -1866,7 +1987,7 @@
|
|
|
1866
1987
|
"name": "*",
|
|
1867
1988
|
"declaration": {
|
|
1868
1989
|
"name": "*",
|
|
1869
|
-
"package": "./accordion
|
|
1990
|
+
"package": "./accordion.template"
|
|
1870
1991
|
}
|
|
1871
1992
|
},
|
|
1872
1993
|
{
|
|
@@ -1874,7 +1995,7 @@
|
|
|
1874
1995
|
"name": "*",
|
|
1875
1996
|
"declaration": {
|
|
1876
1997
|
"name": "*",
|
|
1877
|
-
"package": "./accordion
|
|
1998
|
+
"package": "./accordion.styles"
|
|
1878
1999
|
}
|
|
1879
2000
|
},
|
|
1880
2001
|
{
|
|
@@ -1882,7 +2003,7 @@
|
|
|
1882
2003
|
"name": "*",
|
|
1883
2004
|
"declaration": {
|
|
1884
2005
|
"name": "*",
|
|
1885
|
-
"package": "./accordion
|
|
2006
|
+
"package": "./accordion"
|
|
1886
2007
|
}
|
|
1887
2008
|
}
|
|
1888
2009
|
]
|
|
@@ -1920,34 +2041,11 @@
|
|
|
1920
2041
|
},
|
|
1921
2042
|
{
|
|
1922
2043
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2044
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1924
2045
|
"declarations": [
|
|
1925
2046
|
{
|
|
1926
2047
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
1928
|
-
"return": {
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
2048
|
+
"name": "foundationAccordionItemStyles",
|
|
1951
2049
|
"return": {
|
|
1952
2050
|
"type": {
|
|
1953
2051
|
"text": "ElementStyles"
|
|
@@ -1972,319 +2070,194 @@
|
|
|
1972
2070
|
"exports": [
|
|
1973
2071
|
{
|
|
1974
2072
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
1984
2074
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationAccordionItemStyles",
|
|
2076
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1987
2077
|
}
|
|
1988
2078
|
}
|
|
1989
2079
|
]
|
|
1990
2080
|
},
|
|
1991
2081
|
{
|
|
1992
2082
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
2083
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1994
2084
|
"declarations": [
|
|
1995
2085
|
{
|
|
1996
2086
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
2087
|
+
"name": "foundationAccordionItemTemplate",
|
|
2088
|
+
"return": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
1998
2093
|
"parameters": [
|
|
1999
2094
|
{
|
|
2000
|
-
"name": "
|
|
2095
|
+
"name": "context",
|
|
2001
2096
|
"type": {
|
|
2002
|
-
"text": "
|
|
2097
|
+
"text": "ElementDefinitionContext"
|
|
2003
2098
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2099
|
+
},
|
|
2011
2100
|
{
|
|
2012
|
-
"name": "
|
|
2101
|
+
"name": "definition",
|
|
2013
2102
|
"type": {
|
|
2014
|
-
"text": "
|
|
2103
|
+
"text": "FoundationElementDefinition"
|
|
2015
2104
|
}
|
|
2016
2105
|
}
|
|
2017
2106
|
]
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "variable",
|
|
2021
|
-
"name": "foundationActionsMenuTemplate",
|
|
2022
|
-
"type": {
|
|
2023
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
-
},
|
|
2025
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2026
2107
|
}
|
|
2027
2108
|
],
|
|
2028
2109
|
"exports": [
|
|
2029
2110
|
{
|
|
2030
2111
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "menuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "js",
|
|
2039
|
-
"name": "singleOptionTemplate",
|
|
2040
|
-
"declaration": {
|
|
2041
|
-
"name": "singleOptionTemplate",
|
|
2042
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
-
}
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "js",
|
|
2047
|
-
"name": "foundationActionsMenuTemplate",
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2048
2113
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
2114
|
+
"name": "foundationAccordionItemTemplate",
|
|
2115
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2051
2116
|
}
|
|
2052
2117
|
}
|
|
2053
2118
|
]
|
|
2054
2119
|
},
|
|
2055
2120
|
{
|
|
2056
2121
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2122
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2058
2123
|
"declarations": [
|
|
2059
2124
|
{
|
|
2060
2125
|
"kind": "class",
|
|
2061
2126
|
"description": "",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"superclass": {
|
|
2129
|
+
"name": "FASTAccordionItem",
|
|
2130
|
+
"package": "@microsoft/fast-components"
|
|
2131
|
+
},
|
|
2132
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
+
"customElement": true,
|
|
2134
|
+
"attributes": [
|
|
2064
2135
|
{
|
|
2065
|
-
"
|
|
2066
|
-
"name": "actions",
|
|
2136
|
+
"name": "heading-level",
|
|
2067
2137
|
"type": {
|
|
2068
|
-
"text": "
|
|
2138
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2139
|
+
},
|
|
2140
|
+
"default": "2",
|
|
2141
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
+
"fieldName": "headinglevel",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "AccordionItem",
|
|
2145
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2069
2146
|
}
|
|
2070
2147
|
},
|
|
2071
2148
|
{
|
|
2072
|
-
"kind": "field",
|
|
2073
|
-
"name": "isVertical",
|
|
2074
2149
|
"type": {
|
|
2075
2150
|
"text": "boolean"
|
|
2076
2151
|
},
|
|
2077
|
-
"default": "false"
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"description": "Expands or collapses the item.",
|
|
2154
|
+
"fieldName": "expanded",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "AccordionItem",
|
|
2157
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
+
}
|
|
2078
2159
|
},
|
|
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": [
|
|
2079
2174
|
{
|
|
2080
2175
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2176
|
+
"name": "headinglevel",
|
|
2082
2177
|
"type": {
|
|
2083
|
-
"text": "
|
|
2178
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2084
2179
|
},
|
|
2085
|
-
"
|
|
2180
|
+
"privacy": "public",
|
|
2181
|
+
"default": "2",
|
|
2182
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "AccordionItem",
|
|
2185
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2186
|
+
}
|
|
2086
2187
|
},
|
|
2087
2188
|
{
|
|
2088
2189
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2190
|
+
"name": "expanded",
|
|
2090
2191
|
"type": {
|
|
2091
2192
|
"text": "boolean"
|
|
2092
2193
|
},
|
|
2093
|
-
"
|
|
2194
|
+
"privacy": "public",
|
|
2195
|
+
"default": "false",
|
|
2196
|
+
"description": "Expands or collapses the item.",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
+
}
|
|
2094
2201
|
},
|
|
2095
2202
|
{
|
|
2096
2203
|
"kind": "field",
|
|
2097
|
-
"name": "
|
|
2204
|
+
"name": "id",
|
|
2098
2205
|
"type": {
|
|
2099
2206
|
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"privacy": "public",
|
|
2209
|
+
"description": "The item ID",
|
|
2210
|
+
"inheritedFrom": {
|
|
2211
|
+
"name": "AccordionItem",
|
|
2212
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2100
2213
|
}
|
|
2101
2214
|
},
|
|
2102
2215
|
{
|
|
2103
2216
|
"kind": "field",
|
|
2104
|
-
"name": "
|
|
2105
|
-
"
|
|
2106
|
-
|
|
2217
|
+
"name": "change",
|
|
2218
|
+
"privacy": "private",
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "AccordionItem",
|
|
2221
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2107
2222
|
}
|
|
2108
2223
|
},
|
|
2109
2224
|
{
|
|
2110
2225
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2226
|
+
"name": "_presentation",
|
|
2112
2227
|
"type": {
|
|
2113
|
-
"text": "
|
|
2228
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2114
2229
|
},
|
|
2115
|
-
"
|
|
2230
|
+
"privacy": "private",
|
|
2231
|
+
"default": "void 0",
|
|
2232
|
+
"inheritedFrom": {
|
|
2233
|
+
"name": "FoundationElement",
|
|
2234
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2235
|
+
}
|
|
2116
2236
|
},
|
|
2117
2237
|
{
|
|
2118
2238
|
"kind": "field",
|
|
2119
|
-
"name": "
|
|
2239
|
+
"name": "$presentation",
|
|
2120
2240
|
"type": {
|
|
2121
|
-
"text": "
|
|
2241
|
+
"text": "ComponentPresentation | null"
|
|
2122
2242
|
},
|
|
2123
|
-
"
|
|
2243
|
+
"privacy": "public",
|
|
2244
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2245
|
+
"inheritedFrom": {
|
|
2246
|
+
"name": "FoundationElement",
|
|
2247
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2248
|
+
}
|
|
2124
2249
|
},
|
|
2125
2250
|
{
|
|
2126
2251
|
"kind": "field",
|
|
2127
|
-
"name": "
|
|
2252
|
+
"name": "template",
|
|
2128
2253
|
"type": {
|
|
2129
|
-
"text": "
|
|
2130
|
-
}
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
"
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
"text": "boolean"
|
|
2137
|
-
},
|
|
2138
|
-
"default": "false"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "field",
|
|
2142
|
-
"name": "hideMenuSingleOption",
|
|
2143
|
-
"type": {
|
|
2144
|
-
"text": "boolean"
|
|
2145
|
-
},
|
|
2146
|
-
"default": "false"
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
"kind": "field",
|
|
2150
|
-
"name": "singleOption",
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2153
|
-
}
|
|
2154
|
-
},
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "field",
|
|
2157
|
-
"name": "actionsMenu",
|
|
2158
|
-
"type": {
|
|
2159
|
-
"text": "HTMLElement"
|
|
2160
|
-
}
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"kind": "field",
|
|
2164
|
-
"name": "actionsOpener",
|
|
2165
|
-
"type": {
|
|
2166
|
-
"text": "HTMLElement"
|
|
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"
|
|
2254
|
+
"text": "ElementViewTemplate | void | null"
|
|
2255
|
+
},
|
|
2256
|
+
"privacy": "public",
|
|
2257
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2258
|
+
"inheritedFrom": {
|
|
2259
|
+
"name": "FoundationElement",
|
|
2260
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2288
2261
|
}
|
|
2289
2262
|
},
|
|
2290
2263
|
{
|
|
@@ -2360,107 +2333,78 @@
|
|
|
2360
2333
|
}
|
|
2361
2334
|
}
|
|
2362
2335
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
2365
|
-
"name": "is-vertical",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"default": "false",
|
|
2370
|
-
"fieldName": "isVertical"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "add-default-actions",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "boolean"
|
|
2376
|
-
},
|
|
2377
|
-
"default": "true",
|
|
2378
|
-
"fieldName": "addDefaultActions"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "auto-close-on-action",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "true",
|
|
2386
|
-
"fieldName": "autoCloseOnAction"
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "name",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "'Actions'",
|
|
2394
|
-
"fieldName": "name"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "open",
|
|
2398
|
-
"type": {
|
|
2399
|
-
"text": "boolean"
|
|
2400
|
-
},
|
|
2401
|
-
"default": "false",
|
|
2402
|
-
"fieldName": "open"
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "buttonAppearance",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "string"
|
|
2408
|
-
},
|
|
2409
|
-
"fieldName": "buttonAppearance"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "hide-disabled",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "boolean"
|
|
2415
|
-
},
|
|
2416
|
-
"default": "false",
|
|
2417
|
-
"fieldName": "hideDisabled"
|
|
2418
|
-
},
|
|
2336
|
+
"events": [
|
|
2419
2337
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2338
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "AccordionItem",
|
|
2342
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
|
+
}
|
|
2426
2344
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2431
2352
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2354
|
},
|
|
2435
2355
|
{
|
|
2436
2356
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2357
|
+
"name": "defaultAccordionItemConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordionItem",
|
|
2366
|
+
"description": "The Foundation Accordion Item",
|
|
2439
2367
|
"privacy": "public"
|
|
2440
2368
|
}
|
|
2441
2369
|
],
|
|
2442
2370
|
"exports": [
|
|
2443
2371
|
{
|
|
2444
2372
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2373
|
+
"name": "AccordionItem",
|
|
2446
2374
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2375
|
+
"name": "AccordionItem",
|
|
2376
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
2377
|
}
|
|
2450
2378
|
},
|
|
2451
2379
|
{
|
|
2452
2380
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2454
2382
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionItemConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionItemConfig",
|
|
2392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "foundationAccordionItem",
|
|
2398
|
+
"declaration": {
|
|
2399
|
+
"name": "foundationAccordionItem",
|
|
2400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2457
2401
|
}
|
|
2458
2402
|
}
|
|
2459
2403
|
]
|
|
2460
2404
|
},
|
|
2461
2405
|
{
|
|
2462
2406
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion-item/index.ts",
|
|
2464
2408
|
"declarations": [],
|
|
2465
2409
|
"exports": [
|
|
2466
2410
|
{
|
|
@@ -2468,7 +2412,7 @@
|
|
|
2468
2412
|
"name": "*",
|
|
2469
2413
|
"declaration": {
|
|
2470
2414
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion-item.template"
|
|
2472
2416
|
}
|
|
2473
2417
|
},
|
|
2474
2418
|
{
|
|
@@ -2476,7 +2420,7 @@
|
|
|
2476
2420
|
"name": "*",
|
|
2477
2421
|
"declaration": {
|
|
2478
2422
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion-item.styles"
|
|
2480
2424
|
}
|
|
2481
2425
|
},
|
|
2482
2426
|
{
|
|
@@ -2484,122 +2428,210 @@
|
|
|
2484
2428
|
"name": "*",
|
|
2485
2429
|
"declaration": {
|
|
2486
2430
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion-item"
|
|
2488
2432
|
}
|
|
2489
2433
|
}
|
|
2490
2434
|
]
|
|
2491
2435
|
},
|
|
2492
2436
|
{
|
|
2493
2437
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2495
2439
|
"declarations": [
|
|
2496
2440
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2441
|
+
"kind": "function",
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
2443
|
+
"return": {
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "ElementStyles"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
"parameters": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "context",
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": "ElementDefinitionContext"
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "definition",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "FoundationElementDefinition"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "function",
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
2466
|
+
"return": {
|
|
2467
|
+
"type": {
|
|
2468
|
+
"text": "ElementStyles"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"parameters": [
|
|
2472
|
+
{
|
|
2473
|
+
"name": "context",
|
|
2474
|
+
"type": {
|
|
2475
|
+
"text": "ElementDefinitionContext"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "definition",
|
|
2480
|
+
"type": {
|
|
2481
|
+
"text": "FoundationElementDefinition"
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2500
2485
|
}
|
|
2501
2486
|
],
|
|
2502
2487
|
"exports": [
|
|
2503
2488
|
{
|
|
2504
2489
|
"kind": "js",
|
|
2505
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2506
2491
|
"declaration": {
|
|
2507
|
-
"name": "
|
|
2508
|
-
"module": "src/
|
|
2492
|
+
"name": "actionsMenuBaseStyles",
|
|
2493
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "js",
|
|
2498
|
+
"name": "foundationActionsMenuStyles",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "foundationActionsMenuStyles",
|
|
2501
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2509
2502
|
}
|
|
2510
2503
|
}
|
|
2511
2504
|
]
|
|
2512
2505
|
},
|
|
2513
2506
|
{
|
|
2514
2507
|
"kind": "javascript-module",
|
|
2515
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2516
2509
|
"declarations": [
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "function",
|
|
2512
|
+
"name": "menuTemplate",
|
|
2513
|
+
"parameters": [
|
|
2514
|
+
{
|
|
2515
|
+
"name": "prefix",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "string"
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "function",
|
|
2524
|
+
"name": "singleOptionTemplate",
|
|
2525
|
+
"parameters": [
|
|
2526
|
+
{
|
|
2527
|
+
"name": "prefix",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"text": "string"
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2517
2534
|
{
|
|
2518
2535
|
"kind": "variable",
|
|
2519
|
-
"name": "
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2520
2537
|
"type": {
|
|
2521
|
-
"text": "ViewTemplate<
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2522
2539
|
},
|
|
2523
|
-
"default": "html`\n ${(x) =>
|
|
2540
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2524
2541
|
}
|
|
2525
2542
|
],
|
|
2526
2543
|
"exports": [
|
|
2527
2544
|
{
|
|
2528
2545
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
2530
2547
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/
|
|
2548
|
+
"name": "menuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "js",
|
|
2554
|
+
"name": "singleOptionTemplate",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "singleOptionTemplate",
|
|
2557
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "js",
|
|
2562
|
+
"name": "foundationActionsMenuTemplate",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "foundationActionsMenuTemplate",
|
|
2565
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2533
2566
|
}
|
|
2534
2567
|
}
|
|
2535
2568
|
]
|
|
2536
2569
|
},
|
|
2537
2570
|
{
|
|
2538
2571
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2540
2573
|
"declarations": [
|
|
2541
2574
|
{
|
|
2542
2575
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "ActionsMenu",
|
|
2545
2578
|
"members": [
|
|
2546
2579
|
{
|
|
2547
2580
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
2549
2582
|
"type": {
|
|
2550
|
-
"text": "
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
2551
2584
|
}
|
|
2552
2585
|
},
|
|
2553
2586
|
{
|
|
2554
2587
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
2556
2589
|
"type": {
|
|
2557
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2558
2591
|
},
|
|
2559
|
-
"default": "
|
|
2592
|
+
"default": "false"
|
|
2560
2593
|
},
|
|
2561
2594
|
{
|
|
2562
2595
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
2564
2597
|
"type": {
|
|
2565
2598
|
"text": "boolean"
|
|
2566
|
-
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2567
2601
|
},
|
|
2568
2602
|
{
|
|
2569
2603
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2571
2605
|
"type": {
|
|
2572
|
-
"text": "
|
|
2606
|
+
"text": "boolean"
|
|
2573
2607
|
},
|
|
2574
|
-
"default": "
|
|
2608
|
+
"default": "true"
|
|
2575
2609
|
},
|
|
2576
2610
|
{
|
|
2577
2611
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2612
|
+
"name": "classNames",
|
|
2579
2613
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2582
|
-
"default": "false"
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
}
|
|
2583
2616
|
},
|
|
2584
2617
|
{
|
|
2585
2618
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
2587
2620
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
}
|
|
2590
|
-
"default": "null"
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2591
2623
|
},
|
|
2592
2624
|
{
|
|
2593
2625
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2626
|
+
"name": "name",
|
|
2595
2627
|
"type": {
|
|
2596
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2597
2629
|
},
|
|
2598
|
-
"default": "
|
|
2630
|
+
"default": "'Actions'"
|
|
2599
2631
|
},
|
|
2600
2632
|
{
|
|
2601
2633
|
"kind": "field",
|
|
2602
|
-
"name": "
|
|
2634
|
+
"name": "open",
|
|
2603
2635
|
"type": {
|
|
2604
2636
|
"text": "boolean"
|
|
2605
2637
|
},
|
|
@@ -2607,15 +2639,14 @@
|
|
|
2607
2639
|
},
|
|
2608
2640
|
{
|
|
2609
2641
|
"kind": "field",
|
|
2610
|
-
"name": "
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2611
2643
|
"type": {
|
|
2612
|
-
"text": "
|
|
2613
|
-
}
|
|
2614
|
-
"default": "[]"
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2615
2646
|
},
|
|
2616
2647
|
{
|
|
2617
2648
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2649
|
+
"name": "hideDisabled",
|
|
2619
2650
|
"type": {
|
|
2620
2651
|
"text": "boolean"
|
|
2621
2652
|
},
|
|
@@ -2623,125 +2654,114 @@
|
|
|
2623
2654
|
},
|
|
2624
2655
|
{
|
|
2625
2656
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2627
2658
|
"type": {
|
|
2628
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2629
2660
|
},
|
|
2630
|
-
"
|
|
2661
|
+
"default": "false"
|
|
2631
2662
|
},
|
|
2632
2663
|
{
|
|
2633
2664
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2665
|
+
"name": "singleOption",
|
|
2635
2666
|
"type": {
|
|
2636
|
-
"text": "
|
|
2637
|
-
}
|
|
2638
|
-
"privacy": "private",
|
|
2639
|
-
"default": "null"
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2640
2669
|
},
|
|
2641
2670
|
{
|
|
2642
2671
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2644
2673
|
"type": {
|
|
2645
|
-
"text": "
|
|
2646
|
-
}
|
|
2647
|
-
"privacy": "private",
|
|
2648
|
-
"default": "null"
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2649
2676
|
},
|
|
2650
2677
|
{
|
|
2651
2678
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2653
2680
|
"type": {
|
|
2654
|
-
"text": "
|
|
2655
|
-
}
|
|
2656
|
-
"readonly": true
|
|
2681
|
+
"text": "HTMLElement"
|
|
2682
|
+
}
|
|
2657
2683
|
},
|
|
2658
2684
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
"text": "CriteriaChip[]"
|
|
2663
|
-
},
|
|
2664
|
-
"readonly": true
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2665
2688
|
},
|
|
2666
2689
|
{
|
|
2667
2690
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2669
|
-
"privacy": "
|
|
2670
|
-
"return": {
|
|
2671
|
-
"type": {
|
|
2672
|
-
"text": "string"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2675
2693
|
"parameters": [
|
|
2676
2694
|
{
|
|
2677
|
-
"name": "
|
|
2695
|
+
"name": "oldValue",
|
|
2678
2696
|
"type": {
|
|
2679
|
-
"text": "
|
|
2697
|
+
"text": "any"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"name": "newValue",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "any"
|
|
2680
2704
|
}
|
|
2681
2705
|
}
|
|
2682
2706
|
]
|
|
2683
2707
|
},
|
|
2684
2708
|
{
|
|
2685
2709
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2688
|
-
"type": {
|
|
2689
|
-
"text": "void"
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2692
2712
|
},
|
|
2693
2713
|
{
|
|
2694
2714
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
},
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2701
2720
|
"parameters": [
|
|
2702
2721
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "number"
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "clauseIndex",
|
|
2722
|
+
"name": "callback",
|
|
2710
2723
|
"type": {
|
|
2711
|
-
"text": "
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2712
2725
|
}
|
|
2713
2726
|
}
|
|
2714
2727
|
]
|
|
2715
2728
|
},
|
|
2716
2729
|
{
|
|
2717
|
-
"kind": "
|
|
2718
|
-
"name": "
|
|
2719
|
-
"
|
|
2720
|
-
"
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
}
|
|
2724
|
-
},
|
|
2725
|
-
{
|
|
2726
|
-
"kind": "method",
|
|
2727
|
-
"name": "handleSubmit"
|
|
2728
|
-
},
|
|
2729
|
-
{
|
|
2730
|
-
"kind": "method",
|
|
2731
|
-
"name": "handleBlur"
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2732
2736
|
},
|
|
2733
2737
|
{
|
|
2734
|
-
"kind": "
|
|
2735
|
-
"name": "
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2736
2741
|
},
|
|
2737
2742
|
{
|
|
2738
2743
|
"kind": "method",
|
|
2739
|
-
"name": "
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2740
2753
|
},
|
|
2741
2754
|
{
|
|
2742
2755
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2745
2765
|
},
|
|
2746
2766
|
{
|
|
2747
2767
|
"kind": "field",
|
|
@@ -2855,154 +2875,115 @@
|
|
|
2855
2875
|
}
|
|
2856
2876
|
}
|
|
2857
2877
|
],
|
|
2858
|
-
"
|
|
2878
|
+
"attributes": [
|
|
2859
2879
|
{
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2880
|
+
"name": "is-vertical",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2862
2886
|
},
|
|
2863
2887
|
{
|
|
2864
|
-
"
|
|
2865
|
-
"
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2888
|
+
"name": "add-default-actions",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
2869
2895
|
{
|
|
2870
|
-
"name": "
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "name",
|
|
2871
2905
|
"type": {
|
|
2872
2906
|
"text": "string"
|
|
2873
2907
|
},
|
|
2874
|
-
"default": "'
|
|
2875
|
-
"fieldName": "
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
2876
2910
|
},
|
|
2877
2911
|
{
|
|
2912
|
+
"name": "open",
|
|
2878
2913
|
"type": {
|
|
2879
2914
|
"text": "boolean"
|
|
2880
2915
|
},
|
|
2881
|
-
"
|
|
2916
|
+
"default": "false",
|
|
2917
|
+
"fieldName": "open"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "buttonAppearance",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"fieldName": "buttonAppearance"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "hide-disabled",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "false",
|
|
2932
|
+
"fieldName": "hideDisabled"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "hide-menu-single-option",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "boolean"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "false",
|
|
2940
|
+
"fieldName": "hideMenuSingleOption"
|
|
2882
2941
|
}
|
|
2883
2942
|
],
|
|
2884
2943
|
"superclass": {
|
|
2885
2944
|
"name": "FoundationElement",
|
|
2886
2945
|
"package": "@microsoft/fast-foundation"
|
|
2887
2946
|
},
|
|
2888
|
-
"tagName": "%%prefix%%-
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2889
2948
|
"customElement": true
|
|
2890
2949
|
},
|
|
2891
2950
|
{
|
|
2892
2951
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2894
|
-
"
|
|
2895
|
-
|
|
2896
|
-
},
|
|
2897
|
-
"default": "undefined"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"kind": "variable",
|
|
2901
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
-
"type": {
|
|
2903
|
-
"text": "object"
|
|
2904
|
-
},
|
|
2905
|
-
"default": "{}"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "variable",
|
|
2909
|
-
"name": "foundationAiCriteriaSearch"
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
2910
2955
|
}
|
|
2911
2956
|
],
|
|
2912
2957
|
"exports": [
|
|
2913
2958
|
{
|
|
2914
2959
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "AiCriteriaSearch",
|
|
2918
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2960
|
+
"name": "ActionsMenu",
|
|
2932
2961
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2935
2964
|
}
|
|
2936
2965
|
},
|
|
2937
2966
|
{
|
|
2938
2967
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
2940
2969
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2943
2972
|
}
|
|
2944
2973
|
}
|
|
2945
2974
|
]
|
|
2946
2975
|
},
|
|
2947
2976
|
{
|
|
2948
2977
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
2950
2979
|
"declarations": [],
|
|
2951
2980
|
"exports": [
|
|
2952
|
-
{
|
|
2953
|
-
"kind": "js",
|
|
2954
|
-
"name": "AiCriteriaSearch",
|
|
2955
|
-
"declaration": {
|
|
2956
|
-
"name": "AiCriteriaSearch",
|
|
2957
|
-
"module": "./ai-criteria-search"
|
|
2958
|
-
}
|
|
2959
|
-
},
|
|
2960
|
-
{
|
|
2961
|
-
"kind": "js",
|
|
2962
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
-
"declaration": {
|
|
2964
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
-
"module": "./ai-criteria-search"
|
|
2966
|
-
}
|
|
2967
|
-
},
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "js",
|
|
2970
|
-
"name": "foundationAiCriteriaSearch",
|
|
2971
|
-
"declaration": {
|
|
2972
|
-
"name": "foundationAiCriteriaSearch",
|
|
2973
|
-
"module": "./ai-criteria-search"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
-
"module": "./ai-criteria-search"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
|
-
"declaration": {
|
|
2988
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
-
"module": "./ai-criteria-search.styles"
|
|
2990
|
-
}
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "js",
|
|
2994
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
-
"declaration": {
|
|
2996
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2997
|
-
"module": "./ai-criteria-search.template"
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
2981
|
{
|
|
3001
2982
|
"kind": "js",
|
|
3002
2983
|
"name": "*",
|
|
3003
2984
|
"declaration": {
|
|
3004
2985
|
"name": "*",
|
|
3005
|
-
"package": "./
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
3006
2987
|
}
|
|
3007
2988
|
},
|
|
3008
2989
|
{
|
|
@@ -3010,7 +2991,7 @@
|
|
|
3010
2991
|
"name": "*",
|
|
3011
2992
|
"declaration": {
|
|
3012
2993
|
"name": "*",
|
|
3013
|
-
"package": "./
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
3014
2995
|
}
|
|
3015
2996
|
},
|
|
3016
2997
|
{
|
|
@@ -3018,357 +2999,215 @@
|
|
|
3018
2999
|
"name": "*",
|
|
3019
3000
|
"declaration": {
|
|
3020
3001
|
"name": "*",
|
|
3021
|
-
"package": "./
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
-
"declarations": [
|
|
3030
|
-
{
|
|
3031
|
-
"kind": "function",
|
|
3032
|
-
"name": "formatValidationErrors",
|
|
3033
|
-
"return": {
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "errors",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ValidationError[]"
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"kind": "function",
|
|
3050
|
-
"name": "showCriteriaError",
|
|
3051
|
-
"return": {
|
|
3052
|
-
"type": {
|
|
3053
|
-
"text": "void"
|
|
3054
|
-
}
|
|
3055
|
-
},
|
|
3056
|
-
"parameters": [
|
|
3057
|
-
{
|
|
3058
|
-
"name": "title",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "string"
|
|
3061
|
-
},
|
|
3062
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"name": "body",
|
|
3066
|
-
"type": {
|
|
3067
|
-
"text": "string"
|
|
3068
|
-
},
|
|
3069
|
-
"description": "Error message to display"
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
"name": "tagName",
|
|
3073
|
-
"type": {
|
|
3074
|
-
"text": "string"
|
|
3075
|
-
},
|
|
3076
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
-
}
|
|
3081
|
-
],
|
|
3082
|
-
"exports": [
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "js",
|
|
3085
|
-
"name": "formatValidationErrors",
|
|
3086
|
-
"declaration": {
|
|
3087
|
-
"name": "formatValidationErrors",
|
|
3088
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
-
}
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "js",
|
|
3093
|
-
"name": "showCriteriaError",
|
|
3094
|
-
"declaration": {
|
|
3095
|
-
"name": "showCriteriaError",
|
|
3096
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3002
|
+
"package": "./actions-menu"
|
|
3097
3003
|
}
|
|
3098
3004
|
}
|
|
3099
3005
|
]
|
|
3100
3006
|
},
|
|
3101
3007
|
{
|
|
3102
3008
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3104
3010
|
"declarations": [
|
|
3105
3011
|
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
3109
|
-
"type": {
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"parameters": [
|
|
3114
|
-
{
|
|
3115
|
-
"name": "context",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "ElementDefinitionContext"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"name": "definition",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3012
|
+
"kind": "variable",
|
|
3013
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3014
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3127
3015
|
}
|
|
3128
3016
|
],
|
|
3129
3017
|
"exports": [
|
|
3130
3018
|
{
|
|
3131
3019
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3020
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3133
3021
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3022
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3136
3024
|
}
|
|
3137
3025
|
}
|
|
3138
3026
|
]
|
|
3139
3027
|
},
|
|
3140
3028
|
{
|
|
3141
3029
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3143
3031
|
"declarations": [
|
|
3144
3032
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3033
|
+
"kind": "variable",
|
|
3034
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3151
3037
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3166
3039
|
}
|
|
3167
3040
|
],
|
|
3168
3041
|
"exports": [
|
|
3169
3042
|
{
|
|
3170
3043
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3172
3045
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3175
3048
|
}
|
|
3176
3049
|
}
|
|
3177
3050
|
]
|
|
3178
3051
|
},
|
|
3179
3052
|
{
|
|
3180
3053
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3182
3055
|
"declarations": [
|
|
3183
3056
|
{
|
|
3184
3057
|
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"members": [
|
|
3194
3061
|
{
|
|
3195
|
-
"
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "providerRegistry",
|
|
3196
3064
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3204
3066
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3067
|
+
},
|
|
3208
3068
|
{
|
|
3209
3069
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3070
|
+
"name": "placeholder",
|
|
3211
3071
|
"type": {
|
|
3212
|
-
"text": "
|
|
3072
|
+
"text": "string"
|
|
3213
3073
|
},
|
|
3214
|
-
"
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "disabled",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "boolean"
|
|
3219
3081
|
}
|
|
3220
3082
|
},
|
|
3221
3083
|
{
|
|
3222
3084
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3085
|
+
"name": "inputValue",
|
|
3224
3086
|
"type": {
|
|
3225
|
-
"text": "string
|
|
3087
|
+
"text": "string"
|
|
3226
3088
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3089
|
+
"default": "''"
|
|
3232
3090
|
},
|
|
3233
3091
|
{
|
|
3234
3092
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3093
|
+
"name": "isInterpreting",
|
|
3236
3094
|
"type": {
|
|
3237
|
-
"text": "
|
|
3095
|
+
"text": "boolean"
|
|
3238
3096
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3097
|
+
"default": "false"
|
|
3245
3098
|
},
|
|
3246
3099
|
{
|
|
3247
3100
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3249
3102
|
"type": {
|
|
3250
|
-
"text": "
|
|
3103
|
+
"text": "string | null"
|
|
3251
3104
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3105
|
+
"default": "null"
|
|
3257
3106
|
},
|
|
3258
3107
|
{
|
|
3259
3108
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3109
|
+
"name": "activeGroups",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3112
|
+
},
|
|
3113
|
+
"default": "[]"
|
|
3266
3114
|
},
|
|
3267
3115
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3116
|
+
"kind": "field",
|
|
3117
|
+
"name": "showingChips",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "boolean"
|
|
3275
3120
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3121
|
+
"default": "false"
|
|
3280
3122
|
},
|
|
3281
3123
|
{
|
|
3282
3124
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
}
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3126
|
+
"type": {
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "[]"
|
|
3289
3130
|
},
|
|
3290
3131
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "isRecording",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "boolean"
|
|
3298
3136
|
},
|
|
3299
|
-
"
|
|
3300
|
-
"name": "Accordion",
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3137
|
+
"default": "false"
|
|
3303
3138
|
},
|
|
3304
3139
|
{
|
|
3305
3140
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3141
|
+
"name": "textAreaRef",
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3144
|
+
},
|
|
3145
|
+
"privacy": "public"
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"kind": "field",
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3152
|
+
},
|
|
3307
3153
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
"name": "Accordion",
|
|
3310
|
-
"module": "src/accordion/accordion.ts"
|
|
3311
|
-
}
|
|
3154
|
+
"default": "null"
|
|
3312
3155
|
},
|
|
3313
3156
|
{
|
|
3314
3157
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3316
3162
|
"privacy": "private",
|
|
3317
|
-
"
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3163
|
+
"default": "null"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"kind": "field",
|
|
3167
|
+
"name": "speechAvailable",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3178
|
+
},
|
|
3179
|
+
"readonly": true
|
|
3321
3180
|
},
|
|
3322
3181
|
{
|
|
3323
3182
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3325
3184
|
"privacy": "private",
|
|
3326
3185
|
"return": {
|
|
3327
3186
|
"type": {
|
|
3328
|
-
"text": "
|
|
3187
|
+
"text": "string"
|
|
3329
3188
|
}
|
|
3330
3189
|
},
|
|
3331
|
-
"
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3190
|
+
"parameters": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "fieldName",
|
|
3193
|
+
"type": {
|
|
3194
|
+
"text": "string"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
]
|
|
3335
3198
|
},
|
|
3336
3199
|
{
|
|
3337
3200
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3339
|
-
"privacy": "private",
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3340
3202
|
"return": {
|
|
3341
3203
|
"type": {
|
|
3342
|
-
"text": "
|
|
3204
|
+
"text": "void"
|
|
3343
3205
|
}
|
|
3344
|
-
},
|
|
3345
|
-
"inheritedFrom": {
|
|
3346
|
-
"name": "Accordion",
|
|
3347
|
-
"module": "src/accordion/accordion.ts"
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
"kind": "field",
|
|
3352
|
-
"name": "handleItemKeyDown",
|
|
3353
|
-
"privacy": "private",
|
|
3354
|
-
"inheritedFrom": {
|
|
3355
|
-
"name": "Accordion",
|
|
3356
|
-
"module": "src/accordion/accordion.ts"
|
|
3357
|
-
}
|
|
3358
|
-
},
|
|
3359
|
-
{
|
|
3360
|
-
"kind": "field",
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3366
3206
|
}
|
|
3367
3207
|
},
|
|
3368
3208
|
{
|
|
3369
3209
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3210
|
+
"name": "removeChip",
|
|
3372
3211
|
"return": {
|
|
3373
3212
|
"type": {
|
|
3374
3213
|
"text": "void"
|
|
@@ -3376,31 +3215,49 @@
|
|
|
3376
3215
|
},
|
|
3377
3216
|
"parameters": [
|
|
3378
3217
|
{
|
|
3379
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3380
3225
|
"type": {
|
|
3381
3226
|
"text": "number"
|
|
3382
3227
|
}
|
|
3383
3228
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3229
|
+
]
|
|
3389
3230
|
},
|
|
3390
3231
|
{
|
|
3391
3232
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3233
|
+
"name": "clearChips",
|
|
3394
3234
|
"return": {
|
|
3395
3235
|
"type": {
|
|
3396
3236
|
"text": "void"
|
|
3397
3237
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3238
|
}
|
|
3403
3239
|
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "method",
|
|
3246
|
+
"name": "handleBlur"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "method",
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"kind": "method",
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3260
|
+
},
|
|
3404
3261
|
{
|
|
3405
3262
|
"kind": "field",
|
|
3406
3263
|
"name": "_presentation",
|
|
@@ -3513,28 +3370,50 @@
|
|
|
3513
3370
|
}
|
|
3514
3371
|
}
|
|
3515
3372
|
],
|
|
3516
|
-
"events": [
|
|
3373
|
+
"events": [
|
|
3374
|
+
{
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3381
|
+
}
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3517
3384
|
{
|
|
3518
|
-
"
|
|
3519
|
-
"
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3385
|
+
"name": "placeholder",
|
|
3386
|
+
"type": {
|
|
3387
|
+
"text": "string"
|
|
3388
|
+
},
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "disabled"
|
|
3524
3397
|
}
|
|
3525
|
-
]
|
|
3398
|
+
],
|
|
3399
|
+
"superclass": {
|
|
3400
|
+
"name": "FoundationElement",
|
|
3401
|
+
"package": "@microsoft/fast-foundation"
|
|
3402
|
+
},
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
+
"customElement": true
|
|
3526
3405
|
},
|
|
3527
3406
|
{
|
|
3528
3407
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3409
|
"type": {
|
|
3531
3410
|
"text": "ShadowRootInit"
|
|
3532
3411
|
},
|
|
3533
|
-
"default": "
|
|
3412
|
+
"default": "undefined"
|
|
3534
3413
|
},
|
|
3535
3414
|
{
|
|
3536
3415
|
"kind": "variable",
|
|
3537
|
-
"name": "
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3538
3417
|
"type": {
|
|
3539
3418
|
"text": "object"
|
|
3540
3419
|
},
|
|
@@ -3542,57 +3421,103 @@
|
|
|
3542
3421
|
},
|
|
3543
3422
|
{
|
|
3544
3423
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3548
3425
|
}
|
|
3549
3426
|
],
|
|
3550
3427
|
"exports": [
|
|
3551
3428
|
{
|
|
3552
3429
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3554
3431
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3557
3434
|
}
|
|
3558
3435
|
},
|
|
3559
3436
|
{
|
|
3560
3437
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3439
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3565
3442
|
}
|
|
3566
3443
|
},
|
|
3567
3444
|
{
|
|
3568
3445
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3570
3447
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3450
|
}
|
|
3574
3451
|
},
|
|
3575
3452
|
{
|
|
3576
3453
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3578
3455
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3456
|
+
"name": "foundationAiCriteriaSearch",
|
|
3457
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3581
3458
|
}
|
|
3582
3459
|
}
|
|
3583
3460
|
]
|
|
3584
3461
|
},
|
|
3585
3462
|
{
|
|
3586
3463
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3464
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3588
3465
|
"declarations": [],
|
|
3589
3466
|
"exports": [
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "js",
|
|
3469
|
+
"name": "AiCriteriaSearch",
|
|
3470
|
+
"declaration": {
|
|
3471
|
+
"name": "AiCriteriaSearch",
|
|
3472
|
+
"module": "./ai-criteria-search"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "js",
|
|
3477
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
+
"declaration": {
|
|
3479
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
+
"module": "./ai-criteria-search"
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"kind": "js",
|
|
3485
|
+
"name": "foundationAiCriteriaSearch",
|
|
3486
|
+
"declaration": {
|
|
3487
|
+
"name": "foundationAiCriteriaSearch",
|
|
3488
|
+
"module": "./ai-criteria-search"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "./ai-criteria-search"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
+
"module": "./ai-criteria-search.styles"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
+
"module": "./ai-criteria-search.template"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3590
3515
|
{
|
|
3591
3516
|
"kind": "js",
|
|
3592
3517
|
"name": "*",
|
|
3593
3518
|
"declaration": {
|
|
3594
3519
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3520
|
+
"package": "./validation/criteria-ir"
|
|
3596
3521
|
}
|
|
3597
3522
|
},
|
|
3598
3523
|
{
|
|
@@ -3600,7 +3525,7 @@
|
|
|
3600
3525
|
"name": "*",
|
|
3601
3526
|
"declaration": {
|
|
3602
3527
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3528
|
+
"package": "./validation/operator-map"
|
|
3604
3529
|
}
|
|
3605
3530
|
},
|
|
3606
3531
|
{
|
|
@@ -3608,7 +3533,82 @@
|
|
|
3608
3533
|
"name": "*",
|
|
3609
3534
|
"declaration": {
|
|
3610
3535
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3536
|
+
"package": "./validation/schema-validator"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "javascript-module",
|
|
3543
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
+
"declarations": [
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "function",
|
|
3547
|
+
"name": "formatValidationErrors",
|
|
3548
|
+
"return": {
|
|
3549
|
+
"type": {
|
|
3550
|
+
"text": "string"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"parameters": [
|
|
3554
|
+
{
|
|
3555
|
+
"name": "errors",
|
|
3556
|
+
"type": {
|
|
3557
|
+
"text": "ValidationError[]"
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"kind": "function",
|
|
3565
|
+
"name": "showCriteriaError",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "title",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"name": "body",
|
|
3581
|
+
"type": {
|
|
3582
|
+
"text": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "Error message to display"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "tagName",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"text": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
+
}
|
|
3593
|
+
],
|
|
3594
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "formatValidationErrors",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "showCriteriaError",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "showCriteriaError",
|
|
3611
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|
|
@@ -6174,11 +6174,11 @@
|
|
|
6174
6174
|
},
|
|
6175
6175
|
{
|
|
6176
6176
|
"kind": "javascript-module",
|
|
6177
|
-
"path": "src/
|
|
6177
|
+
"path": "src/badge/badge.styles.ts",
|
|
6178
6178
|
"declarations": [
|
|
6179
6179
|
{
|
|
6180
6180
|
"kind": "function",
|
|
6181
|
-
"name": "
|
|
6181
|
+
"name": "foundationBadgeStyles",
|
|
6182
6182
|
"return": {
|
|
6183
6183
|
"type": {
|
|
6184
6184
|
"text": "ElementStyles"
|
|
@@ -6203,24 +6203,24 @@
|
|
|
6203
6203
|
"exports": [
|
|
6204
6204
|
{
|
|
6205
6205
|
"kind": "js",
|
|
6206
|
-
"name": "
|
|
6206
|
+
"name": "foundationBadgeStyles",
|
|
6207
6207
|
"declaration": {
|
|
6208
|
-
"name": "
|
|
6209
|
-
"module": "src/
|
|
6208
|
+
"name": "foundationBadgeStyles",
|
|
6209
|
+
"module": "src/badge/badge.styles.ts"
|
|
6210
6210
|
}
|
|
6211
6211
|
}
|
|
6212
6212
|
]
|
|
6213
6213
|
},
|
|
6214
6214
|
{
|
|
6215
6215
|
"kind": "javascript-module",
|
|
6216
|
-
"path": "src/
|
|
6216
|
+
"path": "src/badge/badge.template.ts",
|
|
6217
6217
|
"declarations": [
|
|
6218
6218
|
{
|
|
6219
6219
|
"kind": "function",
|
|
6220
|
-
"name": "
|
|
6220
|
+
"name": "foundationBadgeTemplate",
|
|
6221
6221
|
"return": {
|
|
6222
6222
|
"type": {
|
|
6223
|
-
"text": "ViewTemplate<
|
|
6223
|
+
"text": "ViewTemplate<Badge>"
|
|
6224
6224
|
}
|
|
6225
6225
|
},
|
|
6226
6226
|
"parameters": [
|
|
@@ -6237,45 +6237,32 @@
|
|
|
6237
6237
|
}
|
|
6238
6238
|
}
|
|
6239
6239
|
]
|
|
6240
|
-
},
|
|
6241
|
-
{
|
|
6242
|
-
"kind": "variable",
|
|
6243
|
-
"name": "media",
|
|
6244
|
-
"default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
|
|
6245
6240
|
}
|
|
6246
6241
|
],
|
|
6247
6242
|
"exports": [
|
|
6248
6243
|
{
|
|
6249
6244
|
"kind": "js",
|
|
6250
|
-
"name": "
|
|
6251
|
-
"declaration": {
|
|
6252
|
-
"name": "foundationAvatarTemplate",
|
|
6253
|
-
"module": "src/avatar/avatar.template.ts"
|
|
6254
|
-
}
|
|
6255
|
-
},
|
|
6256
|
-
{
|
|
6257
|
-
"kind": "js",
|
|
6258
|
-
"name": "media",
|
|
6245
|
+
"name": "foundationBadgeTemplate",
|
|
6259
6246
|
"declaration": {
|
|
6260
|
-
"name": "
|
|
6261
|
-
"module": "src/
|
|
6247
|
+
"name": "foundationBadgeTemplate",
|
|
6248
|
+
"module": "src/badge/badge.template.ts"
|
|
6262
6249
|
}
|
|
6263
6250
|
}
|
|
6264
6251
|
]
|
|
6265
6252
|
},
|
|
6266
6253
|
{
|
|
6267
6254
|
"kind": "javascript-module",
|
|
6268
|
-
"path": "src/
|
|
6255
|
+
"path": "src/badge/badge.ts",
|
|
6269
6256
|
"declarations": [
|
|
6270
6257
|
{
|
|
6271
6258
|
"kind": "class",
|
|
6272
6259
|
"description": "",
|
|
6273
|
-
"name": "
|
|
6260
|
+
"name": "Badge",
|
|
6274
6261
|
"superclass": {
|
|
6275
|
-
"name": "
|
|
6262
|
+
"name": "FASTBadge",
|
|
6276
6263
|
"package": "@microsoft/fast-components"
|
|
6277
6264
|
},
|
|
6278
|
-
"tagName": "%%prefix%%-
|
|
6265
|
+
"tagName": "%%prefix%%-badge",
|
|
6279
6266
|
"customElement": true,
|
|
6280
6267
|
"attributes": [
|
|
6281
6268
|
{
|
|
@@ -6283,47 +6270,34 @@
|
|
|
6283
6270
|
"type": {
|
|
6284
6271
|
"text": "string"
|
|
6285
6272
|
},
|
|
6286
|
-
"description": "Indicates the
|
|
6287
|
-
"fieldName": "fill",
|
|
6288
|
-
"inheritedFrom": {
|
|
6289
|
-
"name": "Avatar",
|
|
6290
|
-
"module": "src/avatar/avatar.ts"
|
|
6291
|
-
}
|
|
6292
|
-
},
|
|
6293
|
-
{
|
|
6294
|
-
"name": "color",
|
|
6295
|
-
"type": {
|
|
6296
|
-
"text": "string"
|
|
6297
|
-
},
|
|
6298
|
-
"description": "Indicates the Avatar should have a text color.",
|
|
6299
|
-
"fieldName": "color",
|
|
6273
|
+
"description": "Indicates the badge should have a filled style.",
|
|
6274
|
+
"fieldName": "fill",
|
|
6300
6275
|
"inheritedFrom": {
|
|
6301
|
-
"name": "
|
|
6302
|
-
"module": "src/
|
|
6276
|
+
"name": "Badge",
|
|
6277
|
+
"module": "src/badge/badge.ts"
|
|
6303
6278
|
}
|
|
6304
6279
|
},
|
|
6305
6280
|
{
|
|
6306
|
-
"name": "
|
|
6281
|
+
"name": "color",
|
|
6307
6282
|
"type": {
|
|
6308
6283
|
"text": "string"
|
|
6309
6284
|
},
|
|
6310
|
-
"description": "Indicates the
|
|
6311
|
-
"fieldName": "
|
|
6285
|
+
"description": "Indicates the badge should have a filled style.",
|
|
6286
|
+
"fieldName": "color",
|
|
6312
6287
|
"inheritedFrom": {
|
|
6313
|
-
"name": "
|
|
6314
|
-
"module": "src/
|
|
6288
|
+
"name": "Badge",
|
|
6289
|
+
"module": "src/badge/badge.ts"
|
|
6315
6290
|
}
|
|
6316
6291
|
},
|
|
6317
6292
|
{
|
|
6318
|
-
"name": "shape",
|
|
6319
6293
|
"type": {
|
|
6320
|
-
"text": "
|
|
6294
|
+
"text": "boolean"
|
|
6321
6295
|
},
|
|
6322
|
-
"description": "Indicates the
|
|
6323
|
-
"fieldName": "
|
|
6296
|
+
"description": "Indicates the element should be circular",
|
|
6297
|
+
"fieldName": "circular",
|
|
6324
6298
|
"inheritedFrom": {
|
|
6325
|
-
"name": "
|
|
6326
|
-
"module": "src/
|
|
6299
|
+
"name": "Badge",
|
|
6300
|
+
"module": "src/badge/badge.ts"
|
|
6327
6301
|
}
|
|
6328
6302
|
}
|
|
6329
6303
|
],
|
|
@@ -6335,10 +6309,10 @@
|
|
|
6335
6309
|
"text": "string"
|
|
6336
6310
|
},
|
|
6337
6311
|
"privacy": "public",
|
|
6338
|
-
"description": "Indicates the
|
|
6312
|
+
"description": "Indicates the badge should have a filled style.",
|
|
6339
6313
|
"inheritedFrom": {
|
|
6340
|
-
"name": "
|
|
6341
|
-
"module": "src/
|
|
6314
|
+
"name": "Badge",
|
|
6315
|
+
"module": "src/badge/badge.ts"
|
|
6342
6316
|
}
|
|
6343
6317
|
},
|
|
6344
6318
|
{
|
|
@@ -6348,36 +6322,32 @@
|
|
|
6348
6322
|
"text": "string"
|
|
6349
6323
|
},
|
|
6350
6324
|
"privacy": "public",
|
|
6351
|
-
"description": "Indicates the
|
|
6325
|
+
"description": "Indicates the badge should have a filled style.",
|
|
6352
6326
|
"inheritedFrom": {
|
|
6353
|
-
"name": "
|
|
6354
|
-
"module": "src/
|
|
6327
|
+
"name": "Badge",
|
|
6328
|
+
"module": "src/badge/badge.ts"
|
|
6355
6329
|
}
|
|
6356
6330
|
},
|
|
6357
6331
|
{
|
|
6358
6332
|
"kind": "field",
|
|
6359
|
-
"name": "
|
|
6333
|
+
"name": "circular",
|
|
6360
6334
|
"type": {
|
|
6361
|
-
"text": "
|
|
6335
|
+
"text": "boolean"
|
|
6362
6336
|
},
|
|
6363
6337
|
"privacy": "public",
|
|
6364
|
-
"description": "Indicates the
|
|
6338
|
+
"description": "Indicates the element should be circular",
|
|
6365
6339
|
"inheritedFrom": {
|
|
6366
|
-
"name": "
|
|
6367
|
-
"module": "src/
|
|
6340
|
+
"name": "Badge",
|
|
6341
|
+
"module": "src/badge/badge.ts"
|
|
6368
6342
|
}
|
|
6369
6343
|
},
|
|
6370
6344
|
{
|
|
6371
6345
|
"kind": "field",
|
|
6372
|
-
"name": "
|
|
6373
|
-
"type": {
|
|
6374
|
-
"text": "AvatarShape"
|
|
6375
|
-
},
|
|
6346
|
+
"name": "generateBadgeStyle",
|
|
6376
6347
|
"privacy": "public",
|
|
6377
|
-
"description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
|
|
6378
6348
|
"inheritedFrom": {
|
|
6379
|
-
"name": "
|
|
6380
|
-
"module": "src/
|
|
6349
|
+
"name": "Badge",
|
|
6350
|
+
"module": "src/badge/badge.ts"
|
|
6381
6351
|
}
|
|
6382
6352
|
},
|
|
6383
6353
|
{
|
|
@@ -6495,65 +6465,65 @@
|
|
|
6495
6465
|
},
|
|
6496
6466
|
{
|
|
6497
6467
|
"kind": "variable",
|
|
6498
|
-
"name": "
|
|
6468
|
+
"name": "foundationBadgeShadowOptions",
|
|
6499
6469
|
"type": {
|
|
6500
6470
|
"text": "ShadowRootInit"
|
|
6501
6471
|
},
|
|
6502
|
-
"default": "
|
|
6472
|
+
"default": "undefined"
|
|
6503
6473
|
},
|
|
6504
6474
|
{
|
|
6505
6475
|
"kind": "variable",
|
|
6506
|
-
"name": "
|
|
6476
|
+
"name": "defaultBadgeConfig",
|
|
6507
6477
|
"type": {
|
|
6508
6478
|
"text": "object"
|
|
6509
6479
|
},
|
|
6510
|
-
"default": "{
|
|
6480
|
+
"default": "{}"
|
|
6511
6481
|
},
|
|
6512
6482
|
{
|
|
6513
6483
|
"kind": "variable",
|
|
6514
|
-
"name": "
|
|
6515
|
-
"description": "The Foundation
|
|
6484
|
+
"name": "foundationBadge",
|
|
6485
|
+
"description": "The Foundation Badge",
|
|
6516
6486
|
"privacy": "public"
|
|
6517
6487
|
}
|
|
6518
6488
|
],
|
|
6519
6489
|
"exports": [
|
|
6520
6490
|
{
|
|
6521
6491
|
"kind": "js",
|
|
6522
|
-
"name": "
|
|
6492
|
+
"name": "Badge",
|
|
6523
6493
|
"declaration": {
|
|
6524
|
-
"name": "
|
|
6525
|
-
"module": "src/
|
|
6494
|
+
"name": "Badge",
|
|
6495
|
+
"module": "src/badge/badge.ts"
|
|
6526
6496
|
}
|
|
6527
6497
|
},
|
|
6528
6498
|
{
|
|
6529
6499
|
"kind": "js",
|
|
6530
|
-
"name": "
|
|
6500
|
+
"name": "foundationBadgeShadowOptions",
|
|
6531
6501
|
"declaration": {
|
|
6532
|
-
"name": "
|
|
6533
|
-
"module": "src/
|
|
6502
|
+
"name": "foundationBadgeShadowOptions",
|
|
6503
|
+
"module": "src/badge/badge.ts"
|
|
6534
6504
|
}
|
|
6535
6505
|
},
|
|
6536
6506
|
{
|
|
6537
6507
|
"kind": "js",
|
|
6538
|
-
"name": "
|
|
6508
|
+
"name": "defaultBadgeConfig",
|
|
6539
6509
|
"declaration": {
|
|
6540
|
-
"name": "
|
|
6541
|
-
"module": "src/
|
|
6510
|
+
"name": "defaultBadgeConfig",
|
|
6511
|
+
"module": "src/badge/badge.ts"
|
|
6542
6512
|
}
|
|
6543
6513
|
},
|
|
6544
6514
|
{
|
|
6545
6515
|
"kind": "js",
|
|
6546
|
-
"name": "
|
|
6516
|
+
"name": "foundationBadge",
|
|
6547
6517
|
"declaration": {
|
|
6548
|
-
"name": "
|
|
6549
|
-
"module": "src/
|
|
6518
|
+
"name": "foundationBadge",
|
|
6519
|
+
"module": "src/badge/badge.ts"
|
|
6550
6520
|
}
|
|
6551
6521
|
}
|
|
6552
6522
|
]
|
|
6553
6523
|
},
|
|
6554
6524
|
{
|
|
6555
6525
|
"kind": "javascript-module",
|
|
6556
|
-
"path": "src/
|
|
6526
|
+
"path": "src/badge/index.ts",
|
|
6557
6527
|
"declarations": [],
|
|
6558
6528
|
"exports": [
|
|
6559
6529
|
{
|
|
@@ -6561,7 +6531,7 @@
|
|
|
6561
6531
|
"name": "*",
|
|
6562
6532
|
"declaration": {
|
|
6563
6533
|
"name": "*",
|
|
6564
|
-
"package": "./
|
|
6534
|
+
"package": "./badge.template"
|
|
6565
6535
|
}
|
|
6566
6536
|
},
|
|
6567
6537
|
{
|
|
@@ -6569,7 +6539,7 @@
|
|
|
6569
6539
|
"name": "*",
|
|
6570
6540
|
"declaration": {
|
|
6571
6541
|
"name": "*",
|
|
6572
|
-
"package": "./
|
|
6542
|
+
"package": "./badge.styles"
|
|
6573
6543
|
}
|
|
6574
6544
|
},
|
|
6575
6545
|
{
|
|
@@ -6577,18 +6547,18 @@
|
|
|
6577
6547
|
"name": "*",
|
|
6578
6548
|
"declaration": {
|
|
6579
6549
|
"name": "*",
|
|
6580
|
-
"package": "./
|
|
6550
|
+
"package": "./badge"
|
|
6581
6551
|
}
|
|
6582
6552
|
}
|
|
6583
6553
|
]
|
|
6584
6554
|
},
|
|
6585
6555
|
{
|
|
6586
6556
|
"kind": "javascript-module",
|
|
6587
|
-
"path": "src/
|
|
6557
|
+
"path": "src/avatar/avatar.styles.ts",
|
|
6588
6558
|
"declarations": [
|
|
6589
6559
|
{
|
|
6590
6560
|
"kind": "function",
|
|
6591
|
-
"name": "
|
|
6561
|
+
"name": "foundationAvatarStyles",
|
|
6592
6562
|
"return": {
|
|
6593
6563
|
"type": {
|
|
6594
6564
|
"text": "ElementStyles"
|
|
@@ -6613,24 +6583,24 @@
|
|
|
6613
6583
|
"exports": [
|
|
6614
6584
|
{
|
|
6615
6585
|
"kind": "js",
|
|
6616
|
-
"name": "
|
|
6586
|
+
"name": "foundationAvatarStyles",
|
|
6617
6587
|
"declaration": {
|
|
6618
|
-
"name": "
|
|
6619
|
-
"module": "src/
|
|
6588
|
+
"name": "foundationAvatarStyles",
|
|
6589
|
+
"module": "src/avatar/avatar.styles.ts"
|
|
6620
6590
|
}
|
|
6621
6591
|
}
|
|
6622
6592
|
]
|
|
6623
6593
|
},
|
|
6624
6594
|
{
|
|
6625
6595
|
"kind": "javascript-module",
|
|
6626
|
-
"path": "src/
|
|
6596
|
+
"path": "src/avatar/avatar.template.ts",
|
|
6627
6597
|
"declarations": [
|
|
6628
6598
|
{
|
|
6629
6599
|
"kind": "function",
|
|
6630
|
-
"name": "
|
|
6600
|
+
"name": "foundationAvatarTemplate",
|
|
6631
6601
|
"return": {
|
|
6632
6602
|
"type": {
|
|
6633
|
-
"text": "ViewTemplate<
|
|
6603
|
+
"text": "ViewTemplate<Avatar>"
|
|
6634
6604
|
}
|
|
6635
6605
|
},
|
|
6636
6606
|
"parameters": [
|
|
@@ -6647,32 +6617,45 @@
|
|
|
6647
6617
|
}
|
|
6648
6618
|
}
|
|
6649
6619
|
]
|
|
6620
|
+
},
|
|
6621
|
+
{
|
|
6622
|
+
"kind": "variable",
|
|
6623
|
+
"name": "media",
|
|
6624
|
+
"default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
|
|
6650
6625
|
}
|
|
6651
6626
|
],
|
|
6652
6627
|
"exports": [
|
|
6653
6628
|
{
|
|
6654
6629
|
"kind": "js",
|
|
6655
|
-
"name": "
|
|
6630
|
+
"name": "foundationAvatarTemplate",
|
|
6656
6631
|
"declaration": {
|
|
6657
|
-
"name": "
|
|
6658
|
-
"module": "src/
|
|
6632
|
+
"name": "foundationAvatarTemplate",
|
|
6633
|
+
"module": "src/avatar/avatar.template.ts"
|
|
6634
|
+
}
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"kind": "js",
|
|
6638
|
+
"name": "media",
|
|
6639
|
+
"declaration": {
|
|
6640
|
+
"name": "media",
|
|
6641
|
+
"module": "src/avatar/avatar.template.ts"
|
|
6659
6642
|
}
|
|
6660
6643
|
}
|
|
6661
6644
|
]
|
|
6662
6645
|
},
|
|
6663
6646
|
{
|
|
6664
6647
|
"kind": "javascript-module",
|
|
6665
|
-
"path": "src/
|
|
6648
|
+
"path": "src/avatar/avatar.ts",
|
|
6666
6649
|
"declarations": [
|
|
6667
6650
|
{
|
|
6668
6651
|
"kind": "class",
|
|
6669
6652
|
"description": "",
|
|
6670
|
-
"name": "
|
|
6653
|
+
"name": "Avatar",
|
|
6671
6654
|
"superclass": {
|
|
6672
|
-
"name": "
|
|
6655
|
+
"name": "FASTAvatar",
|
|
6673
6656
|
"package": "@microsoft/fast-components"
|
|
6674
6657
|
},
|
|
6675
|
-
"tagName": "%%prefix%%-
|
|
6658
|
+
"tagName": "%%prefix%%-avatar",
|
|
6676
6659
|
"customElement": true,
|
|
6677
6660
|
"attributes": [
|
|
6678
6661
|
{
|
|
@@ -6680,11 +6663,11 @@
|
|
|
6680
6663
|
"type": {
|
|
6681
6664
|
"text": "string"
|
|
6682
6665
|
},
|
|
6683
|
-
"description": "Indicates the
|
|
6666
|
+
"description": "Indicates the Avatar should have a color fill.",
|
|
6684
6667
|
"fieldName": "fill",
|
|
6685
6668
|
"inheritedFrom": {
|
|
6686
|
-
"name": "
|
|
6687
|
-
"module": "src/
|
|
6669
|
+
"name": "Avatar",
|
|
6670
|
+
"module": "src/avatar/avatar.ts"
|
|
6688
6671
|
}
|
|
6689
6672
|
},
|
|
6690
6673
|
{
|
|
@@ -6692,22 +6675,35 @@
|
|
|
6692
6675
|
"type": {
|
|
6693
6676
|
"text": "string"
|
|
6694
6677
|
},
|
|
6695
|
-
"description": "Indicates the
|
|
6678
|
+
"description": "Indicates the Avatar should have a text color.",
|
|
6696
6679
|
"fieldName": "color",
|
|
6697
6680
|
"inheritedFrom": {
|
|
6698
|
-
"name": "
|
|
6699
|
-
"module": "src/
|
|
6681
|
+
"name": "Avatar",
|
|
6682
|
+
"module": "src/avatar/avatar.ts"
|
|
6700
6683
|
}
|
|
6701
6684
|
},
|
|
6702
6685
|
{
|
|
6686
|
+
"name": "link",
|
|
6703
6687
|
"type": {
|
|
6704
|
-
"text": "
|
|
6688
|
+
"text": "string"
|
|
6705
6689
|
},
|
|
6706
|
-
"description": "Indicates the
|
|
6707
|
-
"fieldName": "
|
|
6690
|
+
"description": "Indicates the Avatar should have url link",
|
|
6691
|
+
"fieldName": "link",
|
|
6708
6692
|
"inheritedFrom": {
|
|
6709
|
-
"name": "
|
|
6710
|
-
"module": "src/
|
|
6693
|
+
"name": "Avatar",
|
|
6694
|
+
"module": "src/avatar/avatar.ts"
|
|
6695
|
+
}
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"name": "shape",
|
|
6699
|
+
"type": {
|
|
6700
|
+
"text": "AvatarShape"
|
|
6701
|
+
},
|
|
6702
|
+
"description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
|
|
6703
|
+
"fieldName": "shape",
|
|
6704
|
+
"inheritedFrom": {
|
|
6705
|
+
"name": "Avatar",
|
|
6706
|
+
"module": "src/avatar/avatar.ts"
|
|
6711
6707
|
}
|
|
6712
6708
|
}
|
|
6713
6709
|
],
|
|
@@ -6719,10 +6715,10 @@
|
|
|
6719
6715
|
"text": "string"
|
|
6720
6716
|
},
|
|
6721
6717
|
"privacy": "public",
|
|
6722
|
-
"description": "Indicates the
|
|
6718
|
+
"description": "Indicates the Avatar should have a color fill.",
|
|
6723
6719
|
"inheritedFrom": {
|
|
6724
|
-
"name": "
|
|
6725
|
-
"module": "src/
|
|
6720
|
+
"name": "Avatar",
|
|
6721
|
+
"module": "src/avatar/avatar.ts"
|
|
6726
6722
|
}
|
|
6727
6723
|
},
|
|
6728
6724
|
{
|
|
@@ -6732,32 +6728,36 @@
|
|
|
6732
6728
|
"text": "string"
|
|
6733
6729
|
},
|
|
6734
6730
|
"privacy": "public",
|
|
6735
|
-
"description": "Indicates the
|
|
6731
|
+
"description": "Indicates the Avatar should have a text color.",
|
|
6736
6732
|
"inheritedFrom": {
|
|
6737
|
-
"name": "
|
|
6738
|
-
"module": "src/
|
|
6733
|
+
"name": "Avatar",
|
|
6734
|
+
"module": "src/avatar/avatar.ts"
|
|
6739
6735
|
}
|
|
6740
6736
|
},
|
|
6741
6737
|
{
|
|
6742
6738
|
"kind": "field",
|
|
6743
|
-
"name": "
|
|
6739
|
+
"name": "link",
|
|
6744
6740
|
"type": {
|
|
6745
|
-
"text": "
|
|
6741
|
+
"text": "string"
|
|
6746
6742
|
},
|
|
6747
6743
|
"privacy": "public",
|
|
6748
|
-
"description": "Indicates the
|
|
6744
|
+
"description": "Indicates the Avatar should have url link",
|
|
6749
6745
|
"inheritedFrom": {
|
|
6750
|
-
"name": "
|
|
6751
|
-
"module": "src/
|
|
6746
|
+
"name": "Avatar",
|
|
6747
|
+
"module": "src/avatar/avatar.ts"
|
|
6752
6748
|
}
|
|
6753
6749
|
},
|
|
6754
6750
|
{
|
|
6755
6751
|
"kind": "field",
|
|
6756
|
-
"name": "
|
|
6752
|
+
"name": "shape",
|
|
6753
|
+
"type": {
|
|
6754
|
+
"text": "AvatarShape"
|
|
6755
|
+
},
|
|
6757
6756
|
"privacy": "public",
|
|
6757
|
+
"description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
|
|
6758
6758
|
"inheritedFrom": {
|
|
6759
|
-
"name": "
|
|
6760
|
-
"module": "src/
|
|
6759
|
+
"name": "Avatar",
|
|
6760
|
+
"module": "src/avatar/avatar.ts"
|
|
6761
6761
|
}
|
|
6762
6762
|
},
|
|
6763
6763
|
{
|
|
@@ -6875,65 +6875,65 @@
|
|
|
6875
6875
|
},
|
|
6876
6876
|
{
|
|
6877
6877
|
"kind": "variable",
|
|
6878
|
-
"name": "
|
|
6878
|
+
"name": "foundationAvatarShadowOptions",
|
|
6879
6879
|
"type": {
|
|
6880
6880
|
"text": "ShadowRootInit"
|
|
6881
6881
|
},
|
|
6882
|
-
"default": "
|
|
6882
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
6883
6883
|
},
|
|
6884
6884
|
{
|
|
6885
6885
|
"kind": "variable",
|
|
6886
|
-
"name": "
|
|
6886
|
+
"name": "defaultAvatarConfig",
|
|
6887
6887
|
"type": {
|
|
6888
6888
|
"text": "object"
|
|
6889
6889
|
},
|
|
6890
|
-
"default": "{}"
|
|
6890
|
+
"default": "{\n media: mediaTemplate,\n}"
|
|
6891
6891
|
},
|
|
6892
6892
|
{
|
|
6893
6893
|
"kind": "variable",
|
|
6894
|
-
"name": "
|
|
6895
|
-
"description": "The Foundation
|
|
6894
|
+
"name": "foundationAvatar",
|
|
6895
|
+
"description": "The Foundation Avatar",
|
|
6896
6896
|
"privacy": "public"
|
|
6897
6897
|
}
|
|
6898
6898
|
],
|
|
6899
6899
|
"exports": [
|
|
6900
6900
|
{
|
|
6901
6901
|
"kind": "js",
|
|
6902
|
-
"name": "
|
|
6902
|
+
"name": "Avatar",
|
|
6903
6903
|
"declaration": {
|
|
6904
|
-
"name": "
|
|
6905
|
-
"module": "src/
|
|
6904
|
+
"name": "Avatar",
|
|
6905
|
+
"module": "src/avatar/avatar.ts"
|
|
6906
6906
|
}
|
|
6907
6907
|
},
|
|
6908
6908
|
{
|
|
6909
6909
|
"kind": "js",
|
|
6910
|
-
"name": "
|
|
6910
|
+
"name": "foundationAvatarShadowOptions",
|
|
6911
6911
|
"declaration": {
|
|
6912
|
-
"name": "
|
|
6913
|
-
"module": "src/
|
|
6912
|
+
"name": "foundationAvatarShadowOptions",
|
|
6913
|
+
"module": "src/avatar/avatar.ts"
|
|
6914
6914
|
}
|
|
6915
6915
|
},
|
|
6916
6916
|
{
|
|
6917
6917
|
"kind": "js",
|
|
6918
|
-
"name": "
|
|
6918
|
+
"name": "defaultAvatarConfig",
|
|
6919
6919
|
"declaration": {
|
|
6920
|
-
"name": "
|
|
6921
|
-
"module": "src/
|
|
6920
|
+
"name": "defaultAvatarConfig",
|
|
6921
|
+
"module": "src/avatar/avatar.ts"
|
|
6922
6922
|
}
|
|
6923
6923
|
},
|
|
6924
6924
|
{
|
|
6925
6925
|
"kind": "js",
|
|
6926
|
-
"name": "
|
|
6926
|
+
"name": "foundationAvatar",
|
|
6927
6927
|
"declaration": {
|
|
6928
|
-
"name": "
|
|
6929
|
-
"module": "src/
|
|
6928
|
+
"name": "foundationAvatar",
|
|
6929
|
+
"module": "src/avatar/avatar.ts"
|
|
6930
6930
|
}
|
|
6931
6931
|
}
|
|
6932
6932
|
]
|
|
6933
6933
|
},
|
|
6934
6934
|
{
|
|
6935
6935
|
"kind": "javascript-module",
|
|
6936
|
-
"path": "src/
|
|
6936
|
+
"path": "src/avatar/index.ts",
|
|
6937
6937
|
"declarations": [],
|
|
6938
6938
|
"exports": [
|
|
6939
6939
|
{
|
|
@@ -6941,7 +6941,7 @@
|
|
|
6941
6941
|
"name": "*",
|
|
6942
6942
|
"declaration": {
|
|
6943
6943
|
"name": "*",
|
|
6944
|
-
"package": "./
|
|
6944
|
+
"package": "./avatar.template"
|
|
6945
6945
|
}
|
|
6946
6946
|
},
|
|
6947
6947
|
{
|
|
@@ -6949,7 +6949,7 @@
|
|
|
6949
6949
|
"name": "*",
|
|
6950
6950
|
"declaration": {
|
|
6951
6951
|
"name": "*",
|
|
6952
|
-
"package": "./
|
|
6952
|
+
"package": "./avatar.styles"
|
|
6953
6953
|
}
|
|
6954
6954
|
},
|
|
6955
6955
|
{
|
|
@@ -6957,7 +6957,7 @@
|
|
|
6957
6957
|
"name": "*",
|
|
6958
6958
|
"declaration": {
|
|
6959
6959
|
"name": "*",
|
|
6960
|
-
"package": "./
|
|
6960
|
+
"package": "./avatar"
|
|
6961
6961
|
}
|
|
6962
6962
|
}
|
|
6963
6963
|
]
|
|
@@ -17095,7 +17095,7 @@
|
|
|
17095
17095
|
"type": {
|
|
17096
17096
|
"text": "ElementStyles"
|
|
17097
17097
|
},
|
|
17098
|
-
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it\n in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it\n (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).\n 1001 clears app headers (999) and FlexLayout's drag chrome (1000) while staying under Flyout\n (2000/2001). Modal is unaffected: showModal() puts it in the top layer, above all of this. */\n z-index: var(--dialog-z-index, 1001);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
|
|
17098
|
+
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n\n /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it\n in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it\n (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).\n 1001 clears app headers (999) and FlexLayout's drag chrome (1000) while staying under Flyout\n (2000/2001). Modal is unaffected: showModal() puts it in the top layer, above all of this. */\n z-index: var(--dialog-z-index, 1001);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
|
|
17099
17099
|
}
|
|
17100
17100
|
],
|
|
17101
17101
|
"exports": [
|