@genesislcap/foundation-ui 14.488.2-FUI-2571.3 → 14.488.2-GENC-1351.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1070 -1070
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +9 -9
- package/package.json +19 -19
|
@@ -1431,11 +1431,11 @@
|
|
|
1431
1431
|
},
|
|
1432
1432
|
{
|
|
1433
1433
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/accordion
|
|
1434
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1435
1435
|
"declarations": [
|
|
1436
1436
|
{
|
|
1437
1437
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1438
|
+
"name": "foundationAccordionStyles",
|
|
1439
1439
|
"return": {
|
|
1440
1440
|
"type": {
|
|
1441
1441
|
"text": "ElementStyles"
|
|
@@ -1460,24 +1460,24 @@
|
|
|
1460
1460
|
"exports": [
|
|
1461
1461
|
{
|
|
1462
1462
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1463
|
+
"name": "foundationAccordionStyles",
|
|
1464
1464
|
"declaration": {
|
|
1465
|
-
"name": "
|
|
1466
|
-
"module": "src/accordion
|
|
1465
|
+
"name": "foundationAccordionStyles",
|
|
1466
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
]
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/accordion
|
|
1473
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1474
1474
|
"declarations": [
|
|
1475
1475
|
{
|
|
1476
1476
|
"kind": "function",
|
|
1477
|
-
"name": "
|
|
1477
|
+
"name": "foundationAccordionTemplate",
|
|
1478
1478
|
"return": {
|
|
1479
1479
|
"type": {
|
|
1480
|
-
"text": "ViewTemplate<
|
|
1480
|
+
"text": "ViewTemplate<Accordion>"
|
|
1481
1481
|
}
|
|
1482
1482
|
},
|
|
1483
1483
|
"parameters": [
|
|
@@ -1499,116 +1499,237 @@
|
|
|
1499
1499
|
"exports": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionTemplate",
|
|
1503
1503
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/accordion
|
|
1504
|
+
"name": "foundationAccordionTemplate",
|
|
1505
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
]
|
|
1509
1509
|
},
|
|
1510
1510
|
{
|
|
1511
1511
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/accordion
|
|
1512
|
+
"path": "src/accordion/accordion.ts",
|
|
1513
1513
|
"declarations": [
|
|
1514
1514
|
{
|
|
1515
1515
|
"kind": "class",
|
|
1516
1516
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1517
|
+
"name": "Accordion",
|
|
1518
1518
|
"superclass": {
|
|
1519
|
-
"name": "
|
|
1520
|
-
"package": "@microsoft/fast-
|
|
1519
|
+
"name": "FASTAccordion",
|
|
1520
|
+
"package": "@microsoft/fast-foundation"
|
|
1521
1521
|
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion
|
|
1522
|
+
"tagName": "%%prefix%%-accordion",
|
|
1523
1523
|
"customElement": true,
|
|
1524
1524
|
"attributes": [
|
|
1525
1525
|
{
|
|
1526
|
-
"name": "
|
|
1526
|
+
"name": "expand-mode",
|
|
1527
1527
|
"type": {
|
|
1528
|
-
"text": "
|
|
1528
|
+
"text": "AccordionExpandMode"
|
|
1529
1529
|
},
|
|
1530
|
-
"
|
|
1531
|
-
"
|
|
1532
|
-
"fieldName": "headinglevel",
|
|
1530
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1531
|
+
"fieldName": "expandmode",
|
|
1533
1532
|
"inheritedFrom": {
|
|
1534
|
-
"name": "
|
|
1535
|
-
"module": "src/accordion
|
|
1533
|
+
"name": "Accordion",
|
|
1534
|
+
"module": "src/accordion/accordion.ts"
|
|
1536
1535
|
}
|
|
1537
|
-
}
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
"members": [
|
|
1538
1539
|
{
|
|
1540
|
+
"kind": "field",
|
|
1541
|
+
"name": "expandmode",
|
|
1539
1542
|
"type": {
|
|
1540
|
-
"text": "
|
|
1543
|
+
"text": "AccordionExpandMode"
|
|
1541
1544
|
},
|
|
1542
|
-
"
|
|
1543
|
-
"description": "
|
|
1544
|
-
"fieldName": "expanded",
|
|
1545
|
+
"privacy": "public",
|
|
1546
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1545
1547
|
"inheritedFrom": {
|
|
1546
|
-
"name": "
|
|
1547
|
-
"module": "src/accordion
|
|
1548
|
+
"name": "Accordion",
|
|
1549
|
+
"module": "src/accordion/accordion.ts"
|
|
1548
1550
|
}
|
|
1549
1551
|
},
|
|
1550
1552
|
{
|
|
1551
|
-
"
|
|
1553
|
+
"kind": "field",
|
|
1554
|
+
"name": "activeid",
|
|
1552
1555
|
"type": {
|
|
1553
|
-
"text": "string"
|
|
1556
|
+
"text": "string | null"
|
|
1554
1557
|
},
|
|
1555
|
-
"
|
|
1556
|
-
"fieldName": "id",
|
|
1558
|
+
"privacy": "private",
|
|
1557
1559
|
"inheritedFrom": {
|
|
1558
|
-
"name": "
|
|
1559
|
-
"module": "src/accordion
|
|
1560
|
+
"name": "Accordion",
|
|
1561
|
+
"module": "src/accordion/accordion.ts"
|
|
1560
1562
|
}
|
|
1561
|
-
}
|
|
1562
|
-
],
|
|
1563
|
-
"members": [
|
|
1563
|
+
},
|
|
1564
1564
|
{
|
|
1565
1565
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1566
|
+
"name": "activeItemIndex",
|
|
1567
1567
|
"type": {
|
|
1568
|
-
"text": "
|
|
1568
|
+
"text": "number"
|
|
1569
1569
|
},
|
|
1570
|
-
"privacy": "
|
|
1571
|
-
"default": "
|
|
1572
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"default": "0",
|
|
1573
1572
|
"inheritedFrom": {
|
|
1574
|
-
"name": "
|
|
1575
|
-
"module": "src/accordion
|
|
1573
|
+
"name": "Accordion",
|
|
1574
|
+
"module": "src/accordion/accordion.ts"
|
|
1576
1575
|
}
|
|
1577
1576
|
},
|
|
1578
1577
|
{
|
|
1579
1578
|
"kind": "field",
|
|
1580
|
-
"name": "
|
|
1579
|
+
"name": "accordionIds",
|
|
1581
1580
|
"type": {
|
|
1582
|
-
"text": "
|
|
1581
|
+
"text": "Array<string | null>"
|
|
1583
1582
|
},
|
|
1584
|
-
"privacy": "
|
|
1585
|
-
"default": "false",
|
|
1586
|
-
"description": "Expands or collapses the item.",
|
|
1583
|
+
"privacy": "private",
|
|
1587
1584
|
"inheritedFrom": {
|
|
1588
|
-
"name": "
|
|
1589
|
-
"module": "src/accordion
|
|
1585
|
+
"name": "Accordion",
|
|
1586
|
+
"module": "src/accordion/accordion.ts"
|
|
1590
1587
|
}
|
|
1591
1588
|
},
|
|
1592
1589
|
{
|
|
1593
1590
|
"kind": "field",
|
|
1594
|
-
"name": "
|
|
1595
|
-
"
|
|
1596
|
-
|
|
1591
|
+
"name": "change",
|
|
1592
|
+
"privacy": "private",
|
|
1593
|
+
"inheritedFrom": {
|
|
1594
|
+
"name": "Accordion",
|
|
1595
|
+
"module": "src/accordion/accordion.ts"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"kind": "method",
|
|
1600
|
+
"name": "findExpandedItem",
|
|
1601
|
+
"privacy": "private",
|
|
1602
|
+
"return": {
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "AccordionItem | null"
|
|
1605
|
+
}
|
|
1597
1606
|
},
|
|
1598
|
-
"privacy": "public",
|
|
1599
|
-
"description": "The item ID",
|
|
1600
1607
|
"inheritedFrom": {
|
|
1601
|
-
"name": "
|
|
1602
|
-
"module": "src/accordion
|
|
1608
|
+
"name": "Accordion",
|
|
1609
|
+
"module": "src/accordion/accordion.ts"
|
|
1603
1610
|
}
|
|
1604
1611
|
},
|
|
1605
1612
|
{
|
|
1606
1613
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1614
|
+
"name": "setItems",
|
|
1608
1615
|
"privacy": "private",
|
|
1609
1616
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/accordion
|
|
1617
|
+
"name": "Accordion",
|
|
1618
|
+
"module": "src/accordion/accordion.ts"
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "method",
|
|
1623
|
+
"name": "resetItems",
|
|
1624
|
+
"privacy": "private",
|
|
1625
|
+
"return": {
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "void"
|
|
1628
|
+
}
|
|
1629
|
+
},
|
|
1630
|
+
"inheritedFrom": {
|
|
1631
|
+
"name": "Accordion",
|
|
1632
|
+
"module": "src/accordion/accordion.ts"
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"kind": "field",
|
|
1637
|
+
"name": "removeItemListeners",
|
|
1638
|
+
"privacy": "private",
|
|
1639
|
+
"inheritedFrom": {
|
|
1640
|
+
"name": "Accordion",
|
|
1641
|
+
"module": "src/accordion/accordion.ts"
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"kind": "field",
|
|
1646
|
+
"name": "activeItemChange",
|
|
1647
|
+
"privacy": "private",
|
|
1648
|
+
"inheritedFrom": {
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "method",
|
|
1655
|
+
"name": "getItemIds",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"return": {
|
|
1658
|
+
"type": {
|
|
1659
|
+
"text": "Array<string | null>"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"inheritedFrom": {
|
|
1663
|
+
"name": "Accordion",
|
|
1664
|
+
"module": "src/accordion/accordion.ts"
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"kind": "method",
|
|
1669
|
+
"name": "isSingleExpandMode",
|
|
1670
|
+
"privacy": "private",
|
|
1671
|
+
"return": {
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "boolean"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
"inheritedFrom": {
|
|
1677
|
+
"name": "Accordion",
|
|
1678
|
+
"module": "src/accordion/accordion.ts"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"kind": "field",
|
|
1683
|
+
"name": "handleItemKeyDown",
|
|
1684
|
+
"privacy": "private",
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"kind": "field",
|
|
1692
|
+
"name": "handleItemFocus",
|
|
1693
|
+
"privacy": "private",
|
|
1694
|
+
"inheritedFrom": {
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "method",
|
|
1701
|
+
"name": "adjust",
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"return": {
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "void"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"parameters": [
|
|
1709
|
+
{
|
|
1710
|
+
"name": "adjustment",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "number"
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
"inheritedFrom": {
|
|
1717
|
+
"name": "Accordion",
|
|
1718
|
+
"module": "src/accordion/accordion.ts"
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"kind": "method",
|
|
1723
|
+
"name": "focusItem",
|
|
1724
|
+
"privacy": "private",
|
|
1725
|
+
"return": {
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "void"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "Accordion",
|
|
1732
|
+
"module": "src/accordion/accordion.ts"
|
|
1612
1733
|
}
|
|
1613
1734
|
},
|
|
1614
1735
|
{
|
|
@@ -1725,18 +1846,18 @@
|
|
|
1725
1846
|
],
|
|
1726
1847
|
"events": [
|
|
1727
1848
|
{
|
|
1728
|
-
"description": "Fires a custom 'change' event when the
|
|
1849
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1729
1850
|
"name": "change",
|
|
1730
1851
|
"inheritedFrom": {
|
|
1731
|
-
"name": "
|
|
1732
|
-
"module": "src/accordion
|
|
1852
|
+
"name": "Accordion",
|
|
1853
|
+
"module": "src/accordion/accordion.ts"
|
|
1733
1854
|
}
|
|
1734
1855
|
}
|
|
1735
1856
|
]
|
|
1736
1857
|
},
|
|
1737
1858
|
{
|
|
1738
1859
|
"kind": "variable",
|
|
1739
|
-
"name": "
|
|
1860
|
+
"name": "foundationAccordionShadowOptions",
|
|
1740
1861
|
"type": {
|
|
1741
1862
|
"text": "ShadowRootInit"
|
|
1742
1863
|
},
|
|
@@ -1744,57 +1865,57 @@
|
|
|
1744
1865
|
},
|
|
1745
1866
|
{
|
|
1746
1867
|
"kind": "variable",
|
|
1747
|
-
"name": "
|
|
1868
|
+
"name": "defaultAccordionConfig",
|
|
1748
1869
|
"type": {
|
|
1749
1870
|
"text": "object"
|
|
1750
1871
|
},
|
|
1751
|
-
"default": "{
|
|
1872
|
+
"default": "{}"
|
|
1752
1873
|
},
|
|
1753
1874
|
{
|
|
1754
1875
|
"kind": "variable",
|
|
1755
|
-
"name": "
|
|
1756
|
-
"description": "The Foundation Accordion
|
|
1876
|
+
"name": "foundationAccordion",
|
|
1877
|
+
"description": "The Foundation Accordion",
|
|
1757
1878
|
"privacy": "public"
|
|
1758
1879
|
}
|
|
1759
1880
|
],
|
|
1760
1881
|
"exports": [
|
|
1761
1882
|
{
|
|
1762
1883
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1884
|
+
"name": "Accordion",
|
|
1764
1885
|
"declaration": {
|
|
1765
|
-
"name": "
|
|
1766
|
-
"module": "src/accordion
|
|
1886
|
+
"name": "Accordion",
|
|
1887
|
+
"module": "src/accordion/accordion.ts"
|
|
1767
1888
|
}
|
|
1768
1889
|
},
|
|
1769
1890
|
{
|
|
1770
1891
|
"kind": "js",
|
|
1771
|
-
"name": "
|
|
1892
|
+
"name": "foundationAccordionShadowOptions",
|
|
1772
1893
|
"declaration": {
|
|
1773
|
-
"name": "
|
|
1774
|
-
"module": "src/accordion
|
|
1894
|
+
"name": "foundationAccordionShadowOptions",
|
|
1895
|
+
"module": "src/accordion/accordion.ts"
|
|
1775
1896
|
}
|
|
1776
1897
|
},
|
|
1777
1898
|
{
|
|
1778
1899
|
"kind": "js",
|
|
1779
|
-
"name": "
|
|
1900
|
+
"name": "defaultAccordionConfig",
|
|
1780
1901
|
"declaration": {
|
|
1781
|
-
"name": "
|
|
1782
|
-
"module": "src/accordion
|
|
1902
|
+
"name": "defaultAccordionConfig",
|
|
1903
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
1904
|
}
|
|
1784
1905
|
},
|
|
1785
1906
|
{
|
|
1786
1907
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1908
|
+
"name": "foundationAccordion",
|
|
1788
1909
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1910
|
+
"name": "foundationAccordion",
|
|
1911
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1912
|
}
|
|
1792
1913
|
}
|
|
1793
1914
|
]
|
|
1794
1915
|
},
|
|
1795
1916
|
{
|
|
1796
1917
|
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/accordion
|
|
1918
|
+
"path": "src/accordion/index.ts",
|
|
1798
1919
|
"declarations": [],
|
|
1799
1920
|
"exports": [
|
|
1800
1921
|
{
|
|
@@ -1802,7 +1923,7 @@
|
|
|
1802
1923
|
"name": "*",
|
|
1803
1924
|
"declaration": {
|
|
1804
1925
|
"name": "*",
|
|
1805
|
-
"package": "./accordion
|
|
1926
|
+
"package": "./accordion.template"
|
|
1806
1927
|
}
|
|
1807
1928
|
},
|
|
1808
1929
|
{
|
|
@@ -1810,7 +1931,7 @@
|
|
|
1810
1931
|
"name": "*",
|
|
1811
1932
|
"declaration": {
|
|
1812
1933
|
"name": "*",
|
|
1813
|
-
"package": "./accordion
|
|
1934
|
+
"package": "./accordion.styles"
|
|
1814
1935
|
}
|
|
1815
1936
|
},
|
|
1816
1937
|
{
|
|
@@ -1818,41 +1939,18 @@
|
|
|
1818
1939
|
"name": "*",
|
|
1819
1940
|
"declaration": {
|
|
1820
1941
|
"name": "*",
|
|
1821
|
-
"package": "./accordion
|
|
1942
|
+
"package": "./accordion"
|
|
1822
1943
|
}
|
|
1823
1944
|
}
|
|
1824
1945
|
]
|
|
1825
1946
|
},
|
|
1826
1947
|
{
|
|
1827
1948
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1949
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1829
1950
|
"declarations": [
|
|
1830
1951
|
{
|
|
1831
1952
|
"kind": "function",
|
|
1832
|
-
"name": "
|
|
1833
|
-
"return": {
|
|
1834
|
-
"type": {
|
|
1835
|
-
"text": "ElementStyles"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
"parameters": [
|
|
1839
|
-
{
|
|
1840
|
-
"name": "context",
|
|
1841
|
-
"type": {
|
|
1842
|
-
"text": "ElementDefinitionContext"
|
|
1843
|
-
}
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"name": "definition",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "FoundationElementDefinition"
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
]
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"kind": "function",
|
|
1855
|
-
"name": "foundationActionsMenuStyles",
|
|
1953
|
+
"name": "foundationAccordionItemStyles",
|
|
1856
1954
|
"return": {
|
|
1857
1955
|
"type": {
|
|
1858
1956
|
"text": "ElementStyles"
|
|
@@ -1877,307 +1975,194 @@
|
|
|
1877
1975
|
"exports": [
|
|
1878
1976
|
{
|
|
1879
1977
|
"kind": "js",
|
|
1880
|
-
"name": "
|
|
1881
|
-
"declaration": {
|
|
1882
|
-
"name": "actionsMenuBaseStyles",
|
|
1883
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "js",
|
|
1888
|
-
"name": "foundationActionsMenuStyles",
|
|
1978
|
+
"name": "foundationAccordionItemStyles",
|
|
1889
1979
|
"declaration": {
|
|
1890
|
-
"name": "
|
|
1891
|
-
"module": "src/
|
|
1980
|
+
"name": "foundationAccordionItemStyles",
|
|
1981
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1892
1982
|
}
|
|
1893
1983
|
}
|
|
1894
1984
|
]
|
|
1895
1985
|
},
|
|
1896
1986
|
{
|
|
1897
1987
|
"kind": "javascript-module",
|
|
1898
|
-
"path": "src/
|
|
1988
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1899
1989
|
"declarations": [
|
|
1900
1990
|
{
|
|
1901
1991
|
"kind": "function",
|
|
1902
|
-
"name": "
|
|
1992
|
+
"name": "foundationAccordionItemTemplate",
|
|
1993
|
+
"return": {
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1903
1998
|
"parameters": [
|
|
1904
1999
|
{
|
|
1905
|
-
"name": "
|
|
2000
|
+
"name": "context",
|
|
1906
2001
|
"type": {
|
|
1907
|
-
"text": "
|
|
2002
|
+
"text": "ElementDefinitionContext"
|
|
1908
2003
|
}
|
|
1909
|
-
}
|
|
1910
|
-
]
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"kind": "function",
|
|
1914
|
-
"name": "singleOptionTemplate",
|
|
1915
|
-
"parameters": [
|
|
2004
|
+
},
|
|
1916
2005
|
{
|
|
1917
|
-
"name": "
|
|
2006
|
+
"name": "definition",
|
|
1918
2007
|
"type": {
|
|
1919
|
-
"text": "
|
|
2008
|
+
"text": "FoundationElementDefinition"
|
|
1920
2009
|
}
|
|
1921
2010
|
}
|
|
1922
2011
|
]
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "variable",
|
|
1926
|
-
"name": "foundationActionsMenuTemplate",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1929
|
-
},
|
|
1930
|
-
"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`"
|
|
1931
2012
|
}
|
|
1932
2013
|
],
|
|
1933
2014
|
"exports": [
|
|
1934
2015
|
{
|
|
1935
2016
|
"kind": "js",
|
|
1936
|
-
"name": "
|
|
1937
|
-
"declaration": {
|
|
1938
|
-
"name": "menuTemplate",
|
|
1939
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "js",
|
|
1944
|
-
"name": "singleOptionTemplate",
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "singleOptionTemplate",
|
|
1947
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "foundationActionsMenuTemplate",
|
|
2017
|
+
"name": "foundationAccordionItemTemplate",
|
|
1953
2018
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "src/
|
|
2019
|
+
"name": "foundationAccordionItemTemplate",
|
|
2020
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1956
2021
|
}
|
|
1957
2022
|
}
|
|
1958
2023
|
]
|
|
1959
2024
|
},
|
|
1960
2025
|
{
|
|
1961
2026
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
2027
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1963
2028
|
"declarations": [
|
|
1964
2029
|
{
|
|
1965
2030
|
"kind": "class",
|
|
1966
2031
|
"description": "",
|
|
1967
|
-
"name": "
|
|
1968
|
-
"
|
|
2032
|
+
"name": "AccordionItem",
|
|
2033
|
+
"superclass": {
|
|
2034
|
+
"name": "FASTAccordionItem",
|
|
2035
|
+
"package": "@microsoft/fast-components"
|
|
2036
|
+
},
|
|
2037
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2038
|
+
"customElement": true,
|
|
2039
|
+
"attributes": [
|
|
1969
2040
|
{
|
|
1970
|
-
"
|
|
1971
|
-
"name": "actions",
|
|
2041
|
+
"name": "heading-level",
|
|
1972
2042
|
"type": {
|
|
1973
|
-
"text": "
|
|
2043
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2044
|
+
},
|
|
2045
|
+
"default": "2",
|
|
2046
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2047
|
+
"fieldName": "headinglevel",
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "AccordionItem",
|
|
2050
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1974
2051
|
}
|
|
1975
2052
|
},
|
|
1976
2053
|
{
|
|
1977
|
-
"kind": "field",
|
|
1978
|
-
"name": "isVertical",
|
|
1979
2054
|
"type": {
|
|
1980
2055
|
"text": "boolean"
|
|
1981
2056
|
},
|
|
1982
|
-
"default": "false"
|
|
2057
|
+
"default": "false",
|
|
2058
|
+
"description": "Expands or collapses the item.",
|
|
2059
|
+
"fieldName": "expanded",
|
|
2060
|
+
"inheritedFrom": {
|
|
2061
|
+
"name": "AccordionItem",
|
|
2062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2063
|
+
}
|
|
1983
2064
|
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "id",
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "string"
|
|
2069
|
+
},
|
|
2070
|
+
"description": "The item ID",
|
|
2071
|
+
"fieldName": "id",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "AccordionItem",
|
|
2074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
],
|
|
2078
|
+
"members": [
|
|
1984
2079
|
{
|
|
1985
2080
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
2081
|
+
"name": "headinglevel",
|
|
1987
2082
|
"type": {
|
|
1988
|
-
"text": "
|
|
2083
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1989
2084
|
},
|
|
1990
|
-
"
|
|
2085
|
+
"privacy": "public",
|
|
2086
|
+
"default": "2",
|
|
2087
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "AccordionItem",
|
|
2090
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2091
|
+
}
|
|
1991
2092
|
},
|
|
1992
2093
|
{
|
|
1993
2094
|
"kind": "field",
|
|
1994
|
-
"name": "
|
|
2095
|
+
"name": "expanded",
|
|
1995
2096
|
"type": {
|
|
1996
2097
|
"text": "boolean"
|
|
1997
2098
|
},
|
|
1998
|
-
"
|
|
2099
|
+
"privacy": "public",
|
|
2100
|
+
"default": "false",
|
|
2101
|
+
"description": "Expands or collapses the item.",
|
|
2102
|
+
"inheritedFrom": {
|
|
2103
|
+
"name": "AccordionItem",
|
|
2104
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2105
|
+
}
|
|
1999
2106
|
},
|
|
2000
2107
|
{
|
|
2001
2108
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
2109
|
+
"name": "id",
|
|
2003
2110
|
"type": {
|
|
2004
2111
|
"text": "string"
|
|
2112
|
+
},
|
|
2113
|
+
"privacy": "public",
|
|
2114
|
+
"description": "The item ID",
|
|
2115
|
+
"inheritedFrom": {
|
|
2116
|
+
"name": "AccordionItem",
|
|
2117
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2005
2118
|
}
|
|
2006
2119
|
},
|
|
2007
2120
|
{
|
|
2008
2121
|
"kind": "field",
|
|
2009
|
-
"name": "
|
|
2010
|
-
"
|
|
2011
|
-
|
|
2122
|
+
"name": "change",
|
|
2123
|
+
"privacy": "private",
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "AccordionItem",
|
|
2126
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2012
2127
|
}
|
|
2013
2128
|
},
|
|
2014
2129
|
{
|
|
2015
2130
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
2131
|
+
"name": "_presentation",
|
|
2017
2132
|
"type": {
|
|
2018
|
-
"text": "
|
|
2133
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2019
2134
|
},
|
|
2020
|
-
"
|
|
2135
|
+
"privacy": "private",
|
|
2136
|
+
"default": "void 0",
|
|
2137
|
+
"inheritedFrom": {
|
|
2138
|
+
"name": "FoundationElement",
|
|
2139
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2140
|
+
}
|
|
2021
2141
|
},
|
|
2022
2142
|
{
|
|
2023
2143
|
"kind": "field",
|
|
2024
|
-
"name": "
|
|
2144
|
+
"name": "$presentation",
|
|
2025
2145
|
"type": {
|
|
2026
|
-
"text": "
|
|
2146
|
+
"text": "ComponentPresentation | null"
|
|
2027
2147
|
},
|
|
2028
|
-
"
|
|
2148
|
+
"privacy": "public",
|
|
2149
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2150
|
+
"inheritedFrom": {
|
|
2151
|
+
"name": "FoundationElement",
|
|
2152
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2153
|
+
}
|
|
2029
2154
|
},
|
|
2030
2155
|
{
|
|
2031
2156
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
2157
|
+
"name": "template",
|
|
2033
2158
|
"type": {
|
|
2034
|
-
"text": "
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
"
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
"text": "boolean"
|
|
2042
|
-
},
|
|
2043
|
-
"default": "false"
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "field",
|
|
2047
|
-
"name": "hideMenuSingleOption",
|
|
2048
|
-
"type": {
|
|
2049
|
-
"text": "boolean"
|
|
2050
|
-
},
|
|
2051
|
-
"default": "false"
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "field",
|
|
2055
|
-
"name": "singleOption",
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "ActionMenuItem"
|
|
2058
|
-
}
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
"kind": "field",
|
|
2062
|
-
"name": "actionsMenu",
|
|
2063
|
-
"type": {
|
|
2064
|
-
"text": "HTMLElement"
|
|
2065
|
-
}
|
|
2066
|
-
},
|
|
2067
|
-
{
|
|
2068
|
-
"kind": "method",
|
|
2069
|
-
"name": "definitionChanged",
|
|
2070
|
-
"privacy": "protected",
|
|
2071
|
-
"parameters": [
|
|
2072
|
-
{
|
|
2073
|
-
"name": "oldValue",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "any"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"name": "newValue",
|
|
2080
|
-
"type": {
|
|
2081
|
-
"text": "any"
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
]
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"kind": "method",
|
|
2088
|
-
"name": "openChanged",
|
|
2089
|
-
"privacy": "protected"
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
"kind": "method",
|
|
2093
|
-
"name": "toggleActionsMenuVisibility"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "method",
|
|
2097
|
-
"name": "onActionMenuItemClick",
|
|
2098
|
-
"parameters": [
|
|
2099
|
-
{
|
|
2100
|
-
"name": "callback",
|
|
2101
|
-
"type": {
|
|
2102
|
-
"text": "(rowData) => void | any"
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
]
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"kind": "field",
|
|
2109
|
-
"name": "allActions",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "ActionMenuItem[]"
|
|
2112
|
-
},
|
|
2113
|
-
"readonly": true
|
|
2114
|
-
},
|
|
2115
|
-
{
|
|
2116
|
-
"kind": "field",
|
|
2117
|
-
"name": "rowData",
|
|
2118
|
-
"readonly": true
|
|
2119
|
-
},
|
|
2120
|
-
{
|
|
2121
|
-
"kind": "method",
|
|
2122
|
-
"name": "getLabel",
|
|
2123
|
-
"parameters": [
|
|
2124
|
-
{
|
|
2125
|
-
"name": "name",
|
|
2126
|
-
"type": {
|
|
2127
|
-
"text": "string | ((rowData: any) => string)"
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
]
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
"kind": "method",
|
|
2134
|
-
"name": "getTemplate",
|
|
2135
|
-
"parameters": [
|
|
2136
|
-
{
|
|
2137
|
-
"name": "prefix",
|
|
2138
|
-
"type": {
|
|
2139
|
-
"text": "string"
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
"kind": "field",
|
|
2146
|
-
"name": "_presentation",
|
|
2147
|
-
"type": {
|
|
2148
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2149
|
-
},
|
|
2150
|
-
"privacy": "private",
|
|
2151
|
-
"default": "void 0",
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "FoundationElement",
|
|
2154
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2155
|
-
}
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"kind": "field",
|
|
2159
|
-
"name": "$presentation",
|
|
2160
|
-
"type": {
|
|
2161
|
-
"text": "ComponentPresentation | null"
|
|
2162
|
-
},
|
|
2163
|
-
"privacy": "public",
|
|
2164
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2165
|
-
"inheritedFrom": {
|
|
2166
|
-
"name": "FoundationElement",
|
|
2167
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"kind": "field",
|
|
2172
|
-
"name": "template",
|
|
2173
|
-
"type": {
|
|
2174
|
-
"text": "ElementViewTemplate | void | null"
|
|
2175
|
-
},
|
|
2176
|
-
"privacy": "public",
|
|
2177
|
-
"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.",
|
|
2178
|
-
"inheritedFrom": {
|
|
2179
|
-
"name": "FoundationElement",
|
|
2180
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2159
|
+
"text": "ElementViewTemplate | void | null"
|
|
2160
|
+
},
|
|
2161
|
+
"privacy": "public",
|
|
2162
|
+
"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.",
|
|
2163
|
+
"inheritedFrom": {
|
|
2164
|
+
"name": "FoundationElement",
|
|
2165
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2181
2166
|
}
|
|
2182
2167
|
},
|
|
2183
2168
|
{
|
|
@@ -2253,107 +2238,78 @@
|
|
|
2253
2238
|
}
|
|
2254
2239
|
}
|
|
2255
2240
|
],
|
|
2256
|
-
"
|
|
2257
|
-
{
|
|
2258
|
-
"name": "is-vertical",
|
|
2259
|
-
"type": {
|
|
2260
|
-
"text": "boolean"
|
|
2261
|
-
},
|
|
2262
|
-
"default": "false",
|
|
2263
|
-
"fieldName": "isVertical"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"name": "add-default-actions",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "true",
|
|
2271
|
-
"fieldName": "addDefaultActions"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "auto-close-on-action",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "true",
|
|
2279
|
-
"fieldName": "autoCloseOnAction"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "name",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "string"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "'Actions'",
|
|
2287
|
-
"fieldName": "name"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "open",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "boolean"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "false",
|
|
2295
|
-
"fieldName": "open"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "buttonAppearance",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "string"
|
|
2301
|
-
},
|
|
2302
|
-
"fieldName": "buttonAppearance"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"name": "hide-disabled",
|
|
2306
|
-
"type": {
|
|
2307
|
-
"text": "boolean"
|
|
2308
|
-
},
|
|
2309
|
-
"default": "false",
|
|
2310
|
-
"fieldName": "hideDisabled"
|
|
2311
|
-
},
|
|
2241
|
+
"events": [
|
|
2312
2242
|
{
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2243
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2244
|
+
"name": "change",
|
|
2245
|
+
"inheritedFrom": {
|
|
2246
|
+
"name": "AccordionItem",
|
|
2247
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2248
|
+
}
|
|
2319
2249
|
}
|
|
2320
|
-
]
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2250
|
+
]
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "variable",
|
|
2254
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "ShadowRootInit"
|
|
2324
2257
|
},
|
|
2325
|
-
"
|
|
2326
|
-
"customElement": true
|
|
2258
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2327
2259
|
},
|
|
2328
2260
|
{
|
|
2329
2261
|
"kind": "variable",
|
|
2330
|
-
"name": "
|
|
2331
|
-
"
|
|
2262
|
+
"name": "defaultAccordionItemConfig",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "object"
|
|
2265
|
+
},
|
|
2266
|
+
"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}"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "variable",
|
|
2270
|
+
"name": "foundationAccordionItem",
|
|
2271
|
+
"description": "The Foundation Accordion Item",
|
|
2332
2272
|
"privacy": "public"
|
|
2333
2273
|
}
|
|
2334
2274
|
],
|
|
2335
2275
|
"exports": [
|
|
2336
2276
|
{
|
|
2337
2277
|
"kind": "js",
|
|
2338
|
-
"name": "
|
|
2278
|
+
"name": "AccordionItem",
|
|
2339
2279
|
"declaration": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"module": "src/
|
|
2280
|
+
"name": "AccordionItem",
|
|
2281
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2342
2282
|
}
|
|
2343
2283
|
},
|
|
2344
2284
|
{
|
|
2345
2285
|
"kind": "js",
|
|
2346
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2347
2287
|
"declaration": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/
|
|
2288
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2289
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "js",
|
|
2294
|
+
"name": "defaultAccordionItemConfig",
|
|
2295
|
+
"declaration": {
|
|
2296
|
+
"name": "defaultAccordionItemConfig",
|
|
2297
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "js",
|
|
2302
|
+
"name": "foundationAccordionItem",
|
|
2303
|
+
"declaration": {
|
|
2304
|
+
"name": "foundationAccordionItem",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2350
2306
|
}
|
|
2351
2307
|
}
|
|
2352
2308
|
]
|
|
2353
2309
|
},
|
|
2354
2310
|
{
|
|
2355
2311
|
"kind": "javascript-module",
|
|
2356
|
-
"path": "src/
|
|
2312
|
+
"path": "src/accordion-item/index.ts",
|
|
2357
2313
|
"declarations": [],
|
|
2358
2314
|
"exports": [
|
|
2359
2315
|
{
|
|
@@ -2361,7 +2317,7 @@
|
|
|
2361
2317
|
"name": "*",
|
|
2362
2318
|
"declaration": {
|
|
2363
2319
|
"name": "*",
|
|
2364
|
-
"package": "./
|
|
2320
|
+
"package": "./accordion-item.template"
|
|
2365
2321
|
}
|
|
2366
2322
|
},
|
|
2367
2323
|
{
|
|
@@ -2369,7 +2325,7 @@
|
|
|
2369
2325
|
"name": "*",
|
|
2370
2326
|
"declaration": {
|
|
2371
2327
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2328
|
+
"package": "./accordion-item.styles"
|
|
2373
2329
|
}
|
|
2374
2330
|
},
|
|
2375
2331
|
{
|
|
@@ -2377,122 +2333,111 @@
|
|
|
2377
2333
|
"name": "*",
|
|
2378
2334
|
"declaration": {
|
|
2379
2335
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion-item"
|
|
2381
2337
|
}
|
|
2382
2338
|
}
|
|
2383
2339
|
]
|
|
2384
2340
|
},
|
|
2385
2341
|
{
|
|
2386
2342
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/ai-
|
|
2343
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2388
2344
|
"declarations": [
|
|
2389
2345
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2346
|
+
"kind": "function",
|
|
2347
|
+
"name": "foundationAiIndicatorStyles",
|
|
2348
|
+
"return": {
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ElementStyles"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
"parameters": [
|
|
2354
|
+
{
|
|
2355
|
+
"name": "context",
|
|
2356
|
+
"type": {
|
|
2357
|
+
"text": "ElementDefinitionContext"
|
|
2358
|
+
}
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"name": "definition",
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "FoundationElementDefinition"
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
]
|
|
2393
2367
|
}
|
|
2394
2368
|
],
|
|
2395
2369
|
"exports": [
|
|
2396
2370
|
{
|
|
2397
2371
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2372
|
+
"name": "foundationAiIndicatorStyles",
|
|
2399
2373
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/ai-
|
|
2374
|
+
"name": "foundationAiIndicatorStyles",
|
|
2375
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2402
2376
|
}
|
|
2403
2377
|
}
|
|
2404
2378
|
]
|
|
2405
2379
|
},
|
|
2406
2380
|
{
|
|
2407
2381
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-
|
|
2382
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2409
2383
|
"declarations": [
|
|
2410
2384
|
{
|
|
2411
2385
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2386
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2413
2387
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2388
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2415
2389
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2390
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2417
2391
|
}
|
|
2418
2392
|
],
|
|
2419
2393
|
"exports": [
|
|
2420
2394
|
{
|
|
2421
2395
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2396
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2423
2397
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/ai-
|
|
2398
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2399
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2426
2400
|
}
|
|
2427
2401
|
}
|
|
2428
2402
|
]
|
|
2429
2403
|
},
|
|
2430
2404
|
{
|
|
2431
2405
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/ai-
|
|
2406
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2433
2407
|
"declarations": [
|
|
2434
2408
|
{
|
|
2435
|
-
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2438
|
-
"members": [
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "field",
|
|
2441
|
-
"name": "providerRegistry",
|
|
2442
|
-
"type": {
|
|
2443
|
-
"text": "AIProviderRegistry"
|
|
2444
|
-
}
|
|
2445
|
-
},
|
|
2446
|
-
{
|
|
2447
|
-
"kind": "field",
|
|
2448
|
-
"name": "placeholder",
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2409
|
+
"kind": "class",
|
|
2410
|
+
"description": "",
|
|
2411
|
+
"name": "AiIndicator",
|
|
2412
|
+
"members": [
|
|
2461
2413
|
{
|
|
2462
2414
|
"kind": "field",
|
|
2463
|
-
"name": "
|
|
2415
|
+
"name": "providerRegistry",
|
|
2464
2416
|
"type": {
|
|
2465
|
-
"text": "
|
|
2466
|
-
}
|
|
2467
|
-
"default": "''"
|
|
2417
|
+
"text": "AIProviderRegistry"
|
|
2418
|
+
}
|
|
2468
2419
|
},
|
|
2469
2420
|
{
|
|
2470
2421
|
"kind": "field",
|
|
2471
|
-
"name": "
|
|
2422
|
+
"name": "aiProvider",
|
|
2472
2423
|
"type": {
|
|
2473
|
-
"text": "
|
|
2424
|
+
"text": "AIProvider | undefined"
|
|
2474
2425
|
},
|
|
2475
|
-
"
|
|
2426
|
+
"privacy": "private",
|
|
2427
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2428
|
+
"readonly": true
|
|
2476
2429
|
},
|
|
2477
2430
|
{
|
|
2478
2431
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2432
|
+
"name": "status",
|
|
2480
2433
|
"type": {
|
|
2481
|
-
"text": "
|
|
2434
|
+
"text": "AIStatus | null"
|
|
2482
2435
|
},
|
|
2483
2436
|
"default": "null"
|
|
2484
2437
|
},
|
|
2485
2438
|
{
|
|
2486
2439
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2440
|
+
"name": "open",
|
|
2496
2441
|
"type": {
|
|
2497
2442
|
"text": "boolean"
|
|
2498
2443
|
},
|
|
@@ -2500,15 +2445,15 @@
|
|
|
2500
2445
|
},
|
|
2501
2446
|
{
|
|
2502
2447
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2448
|
+
"name": "state",
|
|
2504
2449
|
"type": {
|
|
2505
|
-
"text": "
|
|
2450
|
+
"text": "AIIndicatorState"
|
|
2506
2451
|
},
|
|
2507
|
-
"default": "
|
|
2452
|
+
"default": "'none'"
|
|
2508
2453
|
},
|
|
2509
2454
|
{
|
|
2510
2455
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2456
|
+
"name": "isInstalling",
|
|
2512
2457
|
"type": {
|
|
2513
2458
|
"text": "boolean"
|
|
2514
2459
|
},
|
|
@@ -2516,33 +2461,29 @@
|
|
|
2516
2461
|
},
|
|
2517
2462
|
{
|
|
2518
2463
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2464
|
+
"name": "pollTimer",
|
|
2520
2465
|
"type": {
|
|
2521
|
-
"text": "
|
|
2466
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2522
2467
|
},
|
|
2523
|
-
"privacy": "
|
|
2468
|
+
"privacy": "private",
|
|
2469
|
+
"default": "null"
|
|
2524
2470
|
},
|
|
2525
2471
|
{
|
|
2526
2472
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2531
|
-
"privacy": "private",
|
|
2532
|
-
"default": "null"
|
|
2473
|
+
"name": "clickOutside",
|
|
2474
|
+
"privacy": "private"
|
|
2533
2475
|
},
|
|
2534
2476
|
{
|
|
2535
2477
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2478
|
+
"name": "chromeStatusLabel",
|
|
2537
2479
|
"type": {
|
|
2538
|
-
"text": "
|
|
2480
|
+
"text": "string | null"
|
|
2539
2481
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2482
|
+
"readonly": true
|
|
2542
2483
|
},
|
|
2543
2484
|
{
|
|
2544
2485
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2486
|
+
"name": "canInstall",
|
|
2546
2487
|
"type": {
|
|
2547
2488
|
"text": "boolean"
|
|
2548
2489
|
},
|
|
@@ -2550,65 +2491,69 @@
|
|
|
2550
2491
|
},
|
|
2551
2492
|
{
|
|
2552
2493
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2494
|
+
"name": "isDownloading",
|
|
2554
2495
|
"type": {
|
|
2555
|
-
"text": "
|
|
2496
|
+
"text": "boolean"
|
|
2556
2497
|
},
|
|
2557
2498
|
"readonly": true
|
|
2558
2499
|
},
|
|
2559
2500
|
{
|
|
2560
2501
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"privacy": "private",
|
|
2502
|
+
"name": "openChanged",
|
|
2563
2503
|
"return": {
|
|
2564
2504
|
"type": {
|
|
2565
|
-
"text": "
|
|
2505
|
+
"text": "void"
|
|
2566
2506
|
}
|
|
2567
|
-
}
|
|
2507
|
+
}
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"kind": "method",
|
|
2511
|
+
"name": "handleClickOutside",
|
|
2512
|
+
"privacy": "private",
|
|
2568
2513
|
"parameters": [
|
|
2569
2514
|
{
|
|
2570
|
-
"name": "
|
|
2515
|
+
"name": "event",
|
|
2571
2516
|
"type": {
|
|
2572
|
-
"text": "
|
|
2517
|
+
"text": "MouseEvent"
|
|
2573
2518
|
}
|
|
2574
2519
|
}
|
|
2575
2520
|
]
|
|
2576
2521
|
},
|
|
2577
2522
|
{
|
|
2578
2523
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2524
|
+
"name": "toggleDropdown"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "method",
|
|
2528
|
+
"name": "refreshStatus",
|
|
2580
2529
|
"return": {
|
|
2581
2530
|
"type": {
|
|
2582
|
-
"text": "void"
|
|
2531
|
+
"text": "Promise<void>"
|
|
2583
2532
|
}
|
|
2584
2533
|
}
|
|
2585
2534
|
},
|
|
2586
2535
|
{
|
|
2587
2536
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2537
|
+
"name": "deriveState",
|
|
2538
|
+
"privacy": "private",
|
|
2589
2539
|
"return": {
|
|
2590
2540
|
"type": {
|
|
2591
|
-
"text": "
|
|
2541
|
+
"text": "AIIndicatorState"
|
|
2592
2542
|
}
|
|
2593
2543
|
},
|
|
2594
2544
|
"parameters": [
|
|
2595
2545
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2546
|
+
"name": "s",
|
|
2603
2547
|
"type": {
|
|
2604
|
-
"text": "
|
|
2548
|
+
"text": "AIStatus | null"
|
|
2605
2549
|
}
|
|
2606
2550
|
}
|
|
2607
2551
|
]
|
|
2608
2552
|
},
|
|
2609
2553
|
{
|
|
2610
2554
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2555
|
+
"name": "maybeStartPolling",
|
|
2556
|
+
"privacy": "private",
|
|
2612
2557
|
"return": {
|
|
2613
2558
|
"type": {
|
|
2614
2559
|
"text": "void"
|
|
@@ -2617,24 +2562,32 @@
|
|
|
2617
2562
|
},
|
|
2618
2563
|
{
|
|
2619
2564
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
"kind": "method",
|
|
2628
|
-
"name": "clear"
|
|
2565
|
+
"name": "startPolling",
|
|
2566
|
+
"privacy": "private",
|
|
2567
|
+
"return": {
|
|
2568
|
+
"type": {
|
|
2569
|
+
"text": "void"
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2629
2572
|
},
|
|
2630
2573
|
{
|
|
2631
2574
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2575
|
+
"name": "stopPolling",
|
|
2576
|
+
"privacy": "private",
|
|
2577
|
+
"return": {
|
|
2578
|
+
"type": {
|
|
2579
|
+
"text": "void"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2633
2582
|
},
|
|
2634
2583
|
{
|
|
2635
2584
|
"kind": "method",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2585
|
+
"name": "onInstall",
|
|
2586
|
+
"return": {
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "Promise<void>"
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2638
2591
|
},
|
|
2639
2592
|
{
|
|
2640
2593
|
"kind": "field",
|
|
@@ -2748,320 +2701,145 @@
|
|
|
2748
2701
|
}
|
|
2749
2702
|
}
|
|
2750
2703
|
],
|
|
2751
|
-
"events": [
|
|
2752
|
-
{
|
|
2753
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2754
|
-
"name": "criteria-changed"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2758
|
-
"name": "validation-errors"
|
|
2759
|
-
}
|
|
2760
|
-
],
|
|
2761
|
-
"attributes": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "placeholder",
|
|
2764
|
-
"type": {
|
|
2765
|
-
"text": "string"
|
|
2766
|
-
},
|
|
2767
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
-
"fieldName": "placeholder"
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "boolean"
|
|
2773
|
-
},
|
|
2774
|
-
"fieldName": "disabled"
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
2704
|
"superclass": {
|
|
2778
2705
|
"name": "FoundationElement",
|
|
2779
2706
|
"package": "@microsoft/fast-foundation"
|
|
2780
2707
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-
|
|
2782
|
-
"customElement": true
|
|
2783
|
-
},
|
|
2784
|
-
{
|
|
2785
|
-
"kind": "variable",
|
|
2786
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2787
|
-
"type": {
|
|
2788
|
-
"text": "ShadowRootInit"
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2803
|
-
}
|
|
2804
|
-
],
|
|
2805
|
-
"exports": [
|
|
2806
|
-
{
|
|
2807
|
-
"kind": "js",
|
|
2808
|
-
"name": "AiCriteriaSearch",
|
|
2809
|
-
"declaration": {
|
|
2810
|
-
"name": "AiCriteriaSearch",
|
|
2811
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
-
"declaration": {
|
|
2826
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "js",
|
|
2832
|
-
"name": "foundationAiCriteriaSearch",
|
|
2833
|
-
"declaration": {
|
|
2834
|
-
"name": "foundationAiCriteriaSearch",
|
|
2835
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
]
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
2843
|
-
"declarations": [],
|
|
2844
|
-
"exports": [
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "js",
|
|
2847
|
-
"name": "AiCriteriaSearch",
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2708
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2709
|
+
"customElement": true
|
|
2868
2710
|
},
|
|
2711
|
+
{
|
|
2712
|
+
"kind": "variable",
|
|
2713
|
+
"name": "foundationAiIndicator"
|
|
2714
|
+
}
|
|
2715
|
+
],
|
|
2716
|
+
"exports": [
|
|
2869
2717
|
{
|
|
2870
2718
|
"kind": "js",
|
|
2871
|
-
"name": "
|
|
2719
|
+
"name": "AiIndicator",
|
|
2872
2720
|
"declaration": {
|
|
2873
|
-
"name": "
|
|
2874
|
-
"module": "
|
|
2721
|
+
"name": "AiIndicator",
|
|
2722
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2875
2723
|
}
|
|
2876
2724
|
},
|
|
2877
2725
|
{
|
|
2878
2726
|
"kind": "js",
|
|
2879
|
-
"name": "
|
|
2727
|
+
"name": "foundationAiIndicator",
|
|
2880
2728
|
"declaration": {
|
|
2881
|
-
"name": "
|
|
2882
|
-
"module": "
|
|
2729
|
+
"name": "foundationAiIndicator",
|
|
2730
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2883
2731
|
}
|
|
2884
|
-
}
|
|
2732
|
+
}
|
|
2733
|
+
]
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "javascript-module",
|
|
2737
|
+
"path": "src/ai-indicator/index.ts",
|
|
2738
|
+
"declarations": [],
|
|
2739
|
+
"exports": [
|
|
2885
2740
|
{
|
|
2886
2741
|
"kind": "js",
|
|
2887
|
-
"name": "
|
|
2742
|
+
"name": "AiIndicator",
|
|
2888
2743
|
"declaration": {
|
|
2889
|
-
"name": "
|
|
2890
|
-
"module": "./ai-
|
|
2744
|
+
"name": "AiIndicator",
|
|
2745
|
+
"module": "./ai-indicator"
|
|
2891
2746
|
}
|
|
2892
2747
|
},
|
|
2893
2748
|
{
|
|
2894
2749
|
"kind": "js",
|
|
2895
|
-
"name": "
|
|
2750
|
+
"name": "foundationAiIndicator",
|
|
2896
2751
|
"declaration": {
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2752
|
+
"name": "foundationAiIndicator",
|
|
2753
|
+
"module": "./ai-indicator"
|
|
2899
2754
|
}
|
|
2900
2755
|
},
|
|
2901
2756
|
{
|
|
2902
2757
|
"kind": "js",
|
|
2903
|
-
"name": "
|
|
2758
|
+
"name": "type",
|
|
2904
2759
|
"declaration": {
|
|
2905
|
-
"name": "
|
|
2906
|
-
"
|
|
2760
|
+
"name": "type",
|
|
2761
|
+
"module": "./ai-indicator"
|
|
2907
2762
|
}
|
|
2908
2763
|
},
|
|
2909
2764
|
{
|
|
2910
2765
|
"kind": "js",
|
|
2911
|
-
"name": "
|
|
2766
|
+
"name": "AIIndicatorState",
|
|
2912
2767
|
"declaration": {
|
|
2913
|
-
"name": "
|
|
2914
|
-
"
|
|
2768
|
+
"name": "AIIndicatorState",
|
|
2769
|
+
"module": "./ai-indicator"
|
|
2915
2770
|
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
2771
|
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
2772
|
{
|
|
2977
2773
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2774
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
2775
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "
|
|
2776
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2777
|
+
"module": "./ai-indicator.template"
|
|
2982
2778
|
}
|
|
2983
2779
|
},
|
|
2984
2780
|
{
|
|
2985
2781
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2782
|
+
"name": "foundationAiIndicatorStyles",
|
|
2987
2783
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "
|
|
2784
|
+
"name": "foundationAiIndicatorStyles",
|
|
2785
|
+
"module": "./ai-indicator.styles"
|
|
2990
2786
|
}
|
|
2991
2787
|
}
|
|
2992
2788
|
]
|
|
2993
2789
|
},
|
|
2994
2790
|
{
|
|
2995
2791
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2792
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2793
|
"declarations": [
|
|
2998
2794
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2795
|
+
"kind": "variable",
|
|
2796
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2797
|
+
"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`"
|
|
3020
2798
|
}
|
|
3021
2799
|
],
|
|
3022
2800
|
"exports": [
|
|
3023
2801
|
{
|
|
3024
2802
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2803
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2804
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2805
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2806
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2807
|
}
|
|
3030
2808
|
}
|
|
3031
2809
|
]
|
|
3032
2810
|
},
|
|
3033
2811
|
{
|
|
3034
2812
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2813
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2814
|
"declarations": [
|
|
3037
2815
|
{
|
|
3038
2816
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2817
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2818
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2819
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2820
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2821
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2822
|
}
|
|
3045
2823
|
],
|
|
3046
2824
|
"exports": [
|
|
3047
2825
|
{
|
|
3048
2826
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2827
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2828
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2829
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2830
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2831
|
}
|
|
3054
2832
|
}
|
|
3055
2833
|
]
|
|
3056
2834
|
},
|
|
3057
2835
|
{
|
|
3058
2836
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2837
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2838
|
"declarations": [
|
|
3061
2839
|
{
|
|
3062
2840
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2841
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2842
|
+
"name": "AiCriteriaSearch",
|
|
3065
2843
|
"members": [
|
|
3066
2844
|
{
|
|
3067
2845
|
"kind": "field",
|
|
@@ -3072,25 +2850,54 @@
|
|
|
3072
2850
|
},
|
|
3073
2851
|
{
|
|
3074
2852
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2853
|
+
"name": "placeholder",
|
|
3076
2854
|
"type": {
|
|
3077
|
-
"text": "
|
|
2855
|
+
"text": "string"
|
|
3078
2856
|
},
|
|
3079
|
-
"
|
|
3080
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3081
|
-
"readonly": true
|
|
2857
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3082
2858
|
},
|
|
3083
2859
|
{
|
|
3084
2860
|
"kind": "field",
|
|
3085
|
-
"name": "
|
|
2861
|
+
"name": "disabled",
|
|
3086
2862
|
"type": {
|
|
3087
|
-
"text": "
|
|
2863
|
+
"text": "boolean"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"kind": "field",
|
|
2868
|
+
"name": "inputValue",
|
|
2869
|
+
"type": {
|
|
2870
|
+
"text": "string"
|
|
2871
|
+
},
|
|
2872
|
+
"default": "''"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"kind": "field",
|
|
2876
|
+
"name": "isInterpreting",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "boolean"
|
|
2879
|
+
},
|
|
2880
|
+
"default": "false"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"kind": "field",
|
|
2884
|
+
"name": "lastValidCriteria",
|
|
2885
|
+
"type": {
|
|
2886
|
+
"text": "string | null"
|
|
3088
2887
|
},
|
|
3089
2888
|
"default": "null"
|
|
3090
2889
|
},
|
|
3091
2890
|
{
|
|
3092
2891
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
2892
|
+
"name": "activeGroups",
|
|
2893
|
+
"type": {
|
|
2894
|
+
"text": "CriteriaGroup[]"
|
|
2895
|
+
},
|
|
2896
|
+
"default": "[]"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "field",
|
|
2900
|
+
"name": "showingChips",
|
|
3094
2901
|
"type": {
|
|
3095
2902
|
"text": "boolean"
|
|
3096
2903
|
},
|
|
@@ -3098,15 +2905,15 @@
|
|
|
3098
2905
|
},
|
|
3099
2906
|
{
|
|
3100
2907
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
2908
|
+
"name": "fieldMetadata",
|
|
3102
2909
|
"type": {
|
|
3103
|
-
"text": "
|
|
2910
|
+
"text": "MetadataDetail[] | string[]"
|
|
3104
2911
|
},
|
|
3105
|
-
"default": "
|
|
2912
|
+
"default": "[]"
|
|
3106
2913
|
},
|
|
3107
2914
|
{
|
|
3108
2915
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
2916
|
+
"name": "isRecording",
|
|
3110
2917
|
"type": {
|
|
3111
2918
|
"text": "boolean"
|
|
3112
2919
|
},
|
|
@@ -3114,29 +2921,33 @@
|
|
|
3114
2921
|
},
|
|
3115
2922
|
{
|
|
3116
2923
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
2924
|
+
"name": "textAreaRef",
|
|
3118
2925
|
"type": {
|
|
3119
|
-
"text": "
|
|
2926
|
+
"text": "HTMLTextAreaElement"
|
|
3120
2927
|
},
|
|
3121
|
-
"privacy": "
|
|
3122
|
-
"default": "null"
|
|
2928
|
+
"privacy": "public"
|
|
3123
2929
|
},
|
|
3124
2930
|
{
|
|
3125
2931
|
"kind": "field",
|
|
3126
|
-
"name": "
|
|
3127
|
-
"
|
|
2932
|
+
"name": "stopRecording",
|
|
2933
|
+
"type": {
|
|
2934
|
+
"text": "(() => void) | null"
|
|
2935
|
+
},
|
|
2936
|
+
"privacy": "private",
|
|
2937
|
+
"default": "null"
|
|
3128
2938
|
},
|
|
3129
2939
|
{
|
|
3130
2940
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
2941
|
+
"name": "speechApplyDebounceTimer",
|
|
3132
2942
|
"type": {
|
|
3133
|
-
"text": "
|
|
2943
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3134
2944
|
},
|
|
3135
|
-
"
|
|
2945
|
+
"privacy": "private",
|
|
2946
|
+
"default": "null"
|
|
3136
2947
|
},
|
|
3137
2948
|
{
|
|
3138
2949
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
2950
|
+
"name": "speechAvailable",
|
|
3140
2951
|
"type": {
|
|
3141
2952
|
"text": "boolean"
|
|
3142
2953
|
},
|
|
@@ -3144,69 +2955,65 @@
|
|
|
3144
2955
|
},
|
|
3145
2956
|
{
|
|
3146
2957
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
2958
|
+
"name": "criteriaChips",
|
|
3148
2959
|
"type": {
|
|
3149
|
-
"text": "
|
|
2960
|
+
"text": "CriteriaChip[]"
|
|
3150
2961
|
},
|
|
3151
2962
|
"readonly": true
|
|
3152
2963
|
},
|
|
3153
2964
|
{
|
|
3154
2965
|
"kind": "method",
|
|
3155
|
-
"name": "
|
|
2966
|
+
"name": "getFieldLabel",
|
|
2967
|
+
"privacy": "private",
|
|
3156
2968
|
"return": {
|
|
3157
2969
|
"type": {
|
|
3158
|
-
"text": "
|
|
2970
|
+
"text": "string"
|
|
3159
2971
|
}
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "method",
|
|
3164
|
-
"name": "handleClickOutside",
|
|
3165
|
-
"privacy": "private",
|
|
2972
|
+
},
|
|
3166
2973
|
"parameters": [
|
|
3167
2974
|
{
|
|
3168
|
-
"name": "
|
|
2975
|
+
"name": "fieldName",
|
|
3169
2976
|
"type": {
|
|
3170
|
-
"text": "
|
|
2977
|
+
"text": "string"
|
|
3171
2978
|
}
|
|
3172
2979
|
}
|
|
3173
2980
|
]
|
|
3174
2981
|
},
|
|
3175
2982
|
{
|
|
3176
2983
|
"kind": "method",
|
|
3177
|
-
"name": "
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "method",
|
|
3181
|
-
"name": "refreshStatus",
|
|
2984
|
+
"name": "toggleCriteriaView",
|
|
3182
2985
|
"return": {
|
|
3183
2986
|
"type": {
|
|
3184
|
-
"text": "
|
|
2987
|
+
"text": "void"
|
|
3185
2988
|
}
|
|
3186
2989
|
}
|
|
3187
2990
|
},
|
|
3188
2991
|
{
|
|
3189
2992
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
3191
|
-
"privacy": "private",
|
|
2993
|
+
"name": "removeChip",
|
|
3192
2994
|
"return": {
|
|
3193
2995
|
"type": {
|
|
3194
|
-
"text": "
|
|
2996
|
+
"text": "void"
|
|
3195
2997
|
}
|
|
3196
2998
|
},
|
|
3197
2999
|
"parameters": [
|
|
3198
3000
|
{
|
|
3199
|
-
"name": "
|
|
3001
|
+
"name": "groupIndex",
|
|
3200
3002
|
"type": {
|
|
3201
|
-
"text": "
|
|
3003
|
+
"text": "number"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "clauseIndex",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "number"
|
|
3202
3010
|
}
|
|
3203
3011
|
}
|
|
3204
3012
|
]
|
|
3205
3013
|
},
|
|
3206
3014
|
{
|
|
3207
3015
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3016
|
+
"name": "clearChips",
|
|
3210
3017
|
"return": {
|
|
3211
3018
|
"type": {
|
|
3212
3019
|
"text": "void"
|
|
@@ -3215,32 +3022,24 @@
|
|
|
3215
3022
|
},
|
|
3216
3023
|
{
|
|
3217
3024
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3220
|
-
"return": {
|
|
3221
|
-
"type": {
|
|
3222
|
-
"text": "void"
|
|
3223
|
-
}
|
|
3224
|
-
}
|
|
3025
|
+
"name": "handleSubmit"
|
|
3225
3026
|
},
|
|
3226
3027
|
{
|
|
3227
3028
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
"privacy": "private",
|
|
3230
|
-
"return": {
|
|
3231
|
-
"type": {
|
|
3232
|
-
"text": "void"
|
|
3233
|
-
}
|
|
3234
|
-
}
|
|
3029
|
+
"name": "handleBlur"
|
|
3235
3030
|
},
|
|
3236
3031
|
{
|
|
3237
3032
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3033
|
+
"name": "clear"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"kind": "method",
|
|
3037
|
+
"name": "toggleSpeechInput"
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"kind": "method",
|
|
3041
|
+
"name": "clearSpeechApplyDebounce",
|
|
3042
|
+
"privacy": "private"
|
|
3244
3043
|
},
|
|
3245
3044
|
{
|
|
3246
3045
|
"kind": "field",
|
|
@@ -3354,99 +3153,279 @@
|
|
|
3354
3153
|
}
|
|
3355
3154
|
}
|
|
3356
3155
|
],
|
|
3156
|
+
"events": [
|
|
3157
|
+
{
|
|
3158
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3159
|
+
"name": "criteria-changed"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3163
|
+
"name": "validation-errors"
|
|
3164
|
+
}
|
|
3165
|
+
],
|
|
3166
|
+
"attributes": [
|
|
3167
|
+
{
|
|
3168
|
+
"name": "placeholder",
|
|
3169
|
+
"type": {
|
|
3170
|
+
"text": "string"
|
|
3171
|
+
},
|
|
3172
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3173
|
+
"fieldName": "placeholder"
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "boolean"
|
|
3178
|
+
},
|
|
3179
|
+
"fieldName": "disabled"
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3357
3182
|
"superclass": {
|
|
3358
3183
|
"name": "FoundationElement",
|
|
3359
3184
|
"package": "@microsoft/fast-foundation"
|
|
3360
3185
|
},
|
|
3361
|
-
"tagName": "%%prefix%%-ai-
|
|
3186
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3362
3187
|
"customElement": true
|
|
3363
3188
|
},
|
|
3364
3189
|
{
|
|
3365
3190
|
"kind": "variable",
|
|
3366
|
-
"name": "
|
|
3191
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3192
|
+
"type": {
|
|
3193
|
+
"text": "ShadowRootInit"
|
|
3194
|
+
},
|
|
3195
|
+
"default": "undefined"
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"kind": "variable",
|
|
3199
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3200
|
+
"type": {
|
|
3201
|
+
"text": "object"
|
|
3202
|
+
},
|
|
3203
|
+
"default": "{}"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"kind": "variable",
|
|
3207
|
+
"name": "foundationAiCriteriaSearch"
|
|
3367
3208
|
}
|
|
3368
3209
|
],
|
|
3369
3210
|
"exports": [
|
|
3370
3211
|
{
|
|
3371
3212
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3213
|
+
"name": "AiCriteriaSearch",
|
|
3373
3214
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "src/ai-
|
|
3215
|
+
"name": "AiCriteriaSearch",
|
|
3216
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
3217
|
}
|
|
3377
3218
|
},
|
|
3378
3219
|
{
|
|
3379
3220
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3221
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3381
3222
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3223
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3224
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3225
|
+
}
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"kind": "js",
|
|
3229
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3230
|
+
"declaration": {
|
|
3231
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3232
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3233
|
+
}
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"kind": "js",
|
|
3237
|
+
"name": "foundationAiCriteriaSearch",
|
|
3238
|
+
"declaration": {
|
|
3239
|
+
"name": "foundationAiCriteriaSearch",
|
|
3240
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3384
3241
|
}
|
|
3385
3242
|
}
|
|
3386
3243
|
]
|
|
3387
3244
|
},
|
|
3388
3245
|
{
|
|
3389
3246
|
"kind": "javascript-module",
|
|
3390
|
-
"path": "src/ai-
|
|
3247
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3391
3248
|
"declarations": [],
|
|
3392
3249
|
"exports": [
|
|
3393
3250
|
{
|
|
3394
3251
|
"kind": "js",
|
|
3395
|
-
"name": "
|
|
3252
|
+
"name": "AiCriteriaSearch",
|
|
3396
3253
|
"declaration": {
|
|
3397
|
-
"name": "
|
|
3398
|
-
"module": "./ai-
|
|
3254
|
+
"name": "AiCriteriaSearch",
|
|
3255
|
+
"module": "./ai-criteria-search"
|
|
3399
3256
|
}
|
|
3400
3257
|
},
|
|
3401
3258
|
{
|
|
3402
3259
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3260
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3404
3261
|
"declaration": {
|
|
3405
|
-
"name": "
|
|
3406
|
-
"module": "./ai-
|
|
3262
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3263
|
+
"module": "./ai-criteria-search"
|
|
3407
3264
|
}
|
|
3408
3265
|
},
|
|
3409
3266
|
{
|
|
3410
3267
|
"kind": "js",
|
|
3411
|
-
"name": "
|
|
3268
|
+
"name": "foundationAiCriteriaSearch",
|
|
3412
3269
|
"declaration": {
|
|
3413
|
-
"name": "
|
|
3414
|
-
"module": "./ai-
|
|
3270
|
+
"name": "foundationAiCriteriaSearch",
|
|
3271
|
+
"module": "./ai-criteria-search"
|
|
3415
3272
|
}
|
|
3416
3273
|
},
|
|
3417
3274
|
{
|
|
3418
3275
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3276
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3420
3277
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"module": "./ai-
|
|
3278
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3279
|
+
"module": "./ai-criteria-search"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"kind": "js",
|
|
3284
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3285
|
+
"declaration": {
|
|
3286
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3287
|
+
"module": "./ai-criteria-search.styles"
|
|
3288
|
+
}
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"kind": "js",
|
|
3292
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3293
|
+
"declaration": {
|
|
3294
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3295
|
+
"module": "./ai-criteria-search.template"
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
"kind": "js",
|
|
3300
|
+
"name": "*",
|
|
3301
|
+
"declaration": {
|
|
3302
|
+
"name": "*",
|
|
3303
|
+
"package": "./validation/criteria-ir"
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"kind": "js",
|
|
3308
|
+
"name": "*",
|
|
3309
|
+
"declaration": {
|
|
3310
|
+
"name": "*",
|
|
3311
|
+
"package": "./validation/operator-map"
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"kind": "js",
|
|
3316
|
+
"name": "*",
|
|
3317
|
+
"declaration": {
|
|
3318
|
+
"name": "*",
|
|
3319
|
+
"package": "./validation/schema-validator"
|
|
3423
3320
|
}
|
|
3321
|
+
}
|
|
3322
|
+
]
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"kind": "javascript-module",
|
|
3326
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3327
|
+
"declarations": [
|
|
3328
|
+
{
|
|
3329
|
+
"kind": "function",
|
|
3330
|
+
"name": "formatValidationErrors",
|
|
3331
|
+
"return": {
|
|
3332
|
+
"type": {
|
|
3333
|
+
"text": "string"
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
"parameters": [
|
|
3337
|
+
{
|
|
3338
|
+
"name": "errors",
|
|
3339
|
+
"type": {
|
|
3340
|
+
"text": "ValidationError[]"
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
],
|
|
3344
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3424
3345
|
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "function",
|
|
3348
|
+
"name": "showCriteriaError",
|
|
3349
|
+
"return": {
|
|
3350
|
+
"type": {
|
|
3351
|
+
"text": "void"
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
"parameters": [
|
|
3355
|
+
{
|
|
3356
|
+
"name": "title",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "string"
|
|
3359
|
+
},
|
|
3360
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"name": "body",
|
|
3364
|
+
"type": {
|
|
3365
|
+
"text": "string"
|
|
3366
|
+
},
|
|
3367
|
+
"description": "Error message to display"
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
"name": "tagName",
|
|
3371
|
+
"type": {
|
|
3372
|
+
"text": "string"
|
|
3373
|
+
},
|
|
3374
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3375
|
+
}
|
|
3376
|
+
],
|
|
3377
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3378
|
+
}
|
|
3379
|
+
],
|
|
3380
|
+
"exports": [
|
|
3425
3381
|
{
|
|
3426
3382
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3383
|
+
"name": "formatValidationErrors",
|
|
3428
3384
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"module": "
|
|
3385
|
+
"name": "formatValidationErrors",
|
|
3386
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
3387
|
}
|
|
3432
3388
|
},
|
|
3433
3389
|
{
|
|
3434
3390
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3391
|
+
"name": "showCriteriaError",
|
|
3436
3392
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"module": "
|
|
3393
|
+
"name": "showCriteriaError",
|
|
3394
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3439
3395
|
}
|
|
3440
3396
|
}
|
|
3441
3397
|
]
|
|
3442
3398
|
},
|
|
3443
3399
|
{
|
|
3444
3400
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/
|
|
3401
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3446
3402
|
"declarations": [
|
|
3447
3403
|
{
|
|
3448
3404
|
"kind": "function",
|
|
3449
|
-
"name": "
|
|
3405
|
+
"name": "actionsMenuBaseStyles",
|
|
3406
|
+
"return": {
|
|
3407
|
+
"type": {
|
|
3408
|
+
"text": "ElementStyles"
|
|
3409
|
+
}
|
|
3410
|
+
},
|
|
3411
|
+
"parameters": [
|
|
3412
|
+
{
|
|
3413
|
+
"name": "context",
|
|
3414
|
+
"type": {
|
|
3415
|
+
"text": "ElementDefinitionContext"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"name": "definition",
|
|
3420
|
+
"type": {
|
|
3421
|
+
"text": "FoundationElementDefinition"
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
]
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "function",
|
|
3428
|
+
"name": "foundationActionsMenuStyles",
|
|
3450
3429
|
"return": {
|
|
3451
3430
|
"type": {
|
|
3452
3431
|
"text": "ElementStyles"
|
|
@@ -3471,277 +3450,269 @@
|
|
|
3471
3450
|
"exports": [
|
|
3472
3451
|
{
|
|
3473
3452
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3453
|
+
"name": "actionsMenuBaseStyles",
|
|
3475
3454
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/
|
|
3455
|
+
"name": "actionsMenuBaseStyles",
|
|
3456
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"kind": "js",
|
|
3461
|
+
"name": "foundationActionsMenuStyles",
|
|
3462
|
+
"declaration": {
|
|
3463
|
+
"name": "foundationActionsMenuStyles",
|
|
3464
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3478
3465
|
}
|
|
3479
3466
|
}
|
|
3480
3467
|
]
|
|
3481
3468
|
},
|
|
3482
3469
|
{
|
|
3483
3470
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/
|
|
3471
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3485
3472
|
"declarations": [
|
|
3486
3473
|
{
|
|
3487
3474
|
"kind": "function",
|
|
3488
|
-
"name": "
|
|
3489
|
-
"return": {
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "ViewTemplate<Accordion>"
|
|
3492
|
-
}
|
|
3493
|
-
},
|
|
3475
|
+
"name": "menuTemplate",
|
|
3494
3476
|
"parameters": [
|
|
3495
3477
|
{
|
|
3496
|
-
"name": "
|
|
3478
|
+
"name": "prefix",
|
|
3497
3479
|
"type": {
|
|
3498
|
-
"text": "
|
|
3480
|
+
"text": "string"
|
|
3499
3481
|
}
|
|
3500
|
-
}
|
|
3482
|
+
}
|
|
3483
|
+
]
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"kind": "function",
|
|
3487
|
+
"name": "singleOptionTemplate",
|
|
3488
|
+
"parameters": [
|
|
3501
3489
|
{
|
|
3502
|
-
"name": "
|
|
3490
|
+
"name": "prefix",
|
|
3503
3491
|
"type": {
|
|
3504
|
-
"text": "
|
|
3492
|
+
"text": "string"
|
|
3505
3493
|
}
|
|
3506
3494
|
}
|
|
3507
3495
|
]
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "variable",
|
|
3499
|
+
"name": "foundationActionsMenuTemplate",
|
|
3500
|
+
"type": {
|
|
3501
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3502
|
+
},
|
|
3503
|
+
"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`"
|
|
3508
3504
|
}
|
|
3509
3505
|
],
|
|
3510
3506
|
"exports": [
|
|
3511
3507
|
{
|
|
3512
3508
|
"kind": "js",
|
|
3513
|
-
"name": "
|
|
3509
|
+
"name": "menuTemplate",
|
|
3514
3510
|
"declaration": {
|
|
3515
|
-
"name": "
|
|
3516
|
-
"module": "src/
|
|
3511
|
+
"name": "menuTemplate",
|
|
3512
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "js",
|
|
3517
|
+
"name": "singleOptionTemplate",
|
|
3518
|
+
"declaration": {
|
|
3519
|
+
"name": "singleOptionTemplate",
|
|
3520
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "js",
|
|
3525
|
+
"name": "foundationActionsMenuTemplate",
|
|
3526
|
+
"declaration": {
|
|
3527
|
+
"name": "foundationActionsMenuTemplate",
|
|
3528
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3517
3529
|
}
|
|
3518
3530
|
}
|
|
3519
3531
|
]
|
|
3520
3532
|
},
|
|
3521
3533
|
{
|
|
3522
3534
|
"kind": "javascript-module",
|
|
3523
|
-
"path": "src/
|
|
3535
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3524
3536
|
"declarations": [
|
|
3525
3537
|
{
|
|
3526
3538
|
"kind": "class",
|
|
3527
3539
|
"description": "",
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"name": "FASTAccordion",
|
|
3531
|
-
"package": "@microsoft/fast-foundation"
|
|
3532
|
-
},
|
|
3533
|
-
"tagName": "%%prefix%%-accordion",
|
|
3534
|
-
"customElement": true,
|
|
3535
|
-
"attributes": [
|
|
3540
|
+
"name": "ActionsMenu",
|
|
3541
|
+
"members": [
|
|
3536
3542
|
{
|
|
3537
|
-
"
|
|
3543
|
+
"kind": "field",
|
|
3544
|
+
"name": "actions",
|
|
3538
3545
|
"type": {
|
|
3539
|
-
"text": "
|
|
3540
|
-
},
|
|
3541
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
-
"fieldName": "expandmode",
|
|
3543
|
-
"inheritedFrom": {
|
|
3544
|
-
"name": "Accordion",
|
|
3545
|
-
"module": "src/accordion/accordion.ts"
|
|
3546
|
+
"text": "ActionMenuItem[]"
|
|
3546
3547
|
}
|
|
3547
|
-
}
|
|
3548
|
-
],
|
|
3549
|
-
"members": [
|
|
3548
|
+
},
|
|
3550
3549
|
{
|
|
3551
3550
|
"kind": "field",
|
|
3552
|
-
"name": "
|
|
3551
|
+
"name": "isVertical",
|
|
3553
3552
|
"type": {
|
|
3554
|
-
"text": "
|
|
3553
|
+
"text": "boolean"
|
|
3555
3554
|
},
|
|
3556
|
-
"
|
|
3557
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3558
|
-
"inheritedFrom": {
|
|
3559
|
-
"name": "Accordion",
|
|
3560
|
-
"module": "src/accordion/accordion.ts"
|
|
3561
|
-
}
|
|
3555
|
+
"default": "false"
|
|
3562
3556
|
},
|
|
3563
3557
|
{
|
|
3564
3558
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3559
|
+
"name": "addDefaultActions",
|
|
3566
3560
|
"type": {
|
|
3567
|
-
"text": "
|
|
3561
|
+
"text": "boolean"
|
|
3568
3562
|
},
|
|
3569
|
-
"
|
|
3570
|
-
"inheritedFrom": {
|
|
3571
|
-
"name": "Accordion",
|
|
3572
|
-
"module": "src/accordion/accordion.ts"
|
|
3573
|
-
}
|
|
3563
|
+
"default": "true"
|
|
3574
3564
|
},
|
|
3575
3565
|
{
|
|
3576
3566
|
"kind": "field",
|
|
3577
|
-
"name": "
|
|
3567
|
+
"name": "autoCloseOnAction",
|
|
3578
3568
|
"type": {
|
|
3579
|
-
"text": "
|
|
3569
|
+
"text": "boolean"
|
|
3580
3570
|
},
|
|
3581
|
-
"
|
|
3582
|
-
"default": "0",
|
|
3583
|
-
"inheritedFrom": {
|
|
3584
|
-
"name": "Accordion",
|
|
3585
|
-
"module": "src/accordion/accordion.ts"
|
|
3586
|
-
}
|
|
3571
|
+
"default": "true"
|
|
3587
3572
|
},
|
|
3588
3573
|
{
|
|
3589
3574
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3575
|
+
"name": "classNames",
|
|
3591
3576
|
"type": {
|
|
3592
|
-
"text": "
|
|
3593
|
-
},
|
|
3594
|
-
"privacy": "private",
|
|
3595
|
-
"inheritedFrom": {
|
|
3596
|
-
"name": "Accordion",
|
|
3597
|
-
"module": "src/accordion/accordion.ts"
|
|
3577
|
+
"text": "string"
|
|
3598
3578
|
}
|
|
3599
3579
|
},
|
|
3600
3580
|
{
|
|
3601
3581
|
"kind": "field",
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3604
|
-
|
|
3605
|
-
"name": "Accordion",
|
|
3606
|
-
"module": "src/accordion/accordion.ts"
|
|
3582
|
+
"name": "definition",
|
|
3583
|
+
"type": {
|
|
3584
|
+
"text": "any"
|
|
3607
3585
|
}
|
|
3608
3586
|
},
|
|
3609
3587
|
{
|
|
3610
|
-
"kind": "
|
|
3611
|
-
"name": "
|
|
3612
|
-
"
|
|
3613
|
-
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "AccordionItem | null"
|
|
3616
|
-
}
|
|
3588
|
+
"kind": "field",
|
|
3589
|
+
"name": "name",
|
|
3590
|
+
"type": {
|
|
3591
|
+
"text": "string"
|
|
3617
3592
|
},
|
|
3618
|
-
"
|
|
3619
|
-
"name": "Accordion",
|
|
3620
|
-
"module": "src/accordion/accordion.ts"
|
|
3621
|
-
}
|
|
3593
|
+
"default": "'Actions'"
|
|
3622
3594
|
},
|
|
3623
3595
|
{
|
|
3624
3596
|
"kind": "field",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3597
|
+
"name": "open",
|
|
3598
|
+
"type": {
|
|
3599
|
+
"text": "boolean"
|
|
3600
|
+
},
|
|
3601
|
+
"default": "false"
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"kind": "field",
|
|
3605
|
+
"name": "buttonAppearance",
|
|
3606
|
+
"type": {
|
|
3607
|
+
"text": "string"
|
|
3630
3608
|
}
|
|
3631
3609
|
},
|
|
3632
3610
|
{
|
|
3633
|
-
"kind": "
|
|
3634
|
-
"name": "
|
|
3635
|
-
"
|
|
3636
|
-
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "void"
|
|
3639
|
-
}
|
|
3611
|
+
"kind": "field",
|
|
3612
|
+
"name": "hideDisabled",
|
|
3613
|
+
"type": {
|
|
3614
|
+
"text": "boolean"
|
|
3640
3615
|
},
|
|
3641
|
-
"
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3616
|
+
"default": "false"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"kind": "field",
|
|
3620
|
+
"name": "hideMenuSingleOption",
|
|
3621
|
+
"type": {
|
|
3622
|
+
"text": "boolean"
|
|
3623
|
+
},
|
|
3624
|
+
"default": "false"
|
|
3645
3625
|
},
|
|
3646
3626
|
{
|
|
3647
3627
|
"kind": "field",
|
|
3648
|
-
"name": "
|
|
3649
|
-
"
|
|
3650
|
-
|
|
3651
|
-
"name": "Accordion",
|
|
3652
|
-
"module": "src/accordion/accordion.ts"
|
|
3628
|
+
"name": "singleOption",
|
|
3629
|
+
"type": {
|
|
3630
|
+
"text": "ActionMenuItem"
|
|
3653
3631
|
}
|
|
3654
3632
|
},
|
|
3655
3633
|
{
|
|
3656
3634
|
"kind": "field",
|
|
3657
|
-
"name": "
|
|
3658
|
-
"
|
|
3659
|
-
|
|
3660
|
-
"name": "Accordion",
|
|
3661
|
-
"module": "src/accordion/accordion.ts"
|
|
3635
|
+
"name": "actionsMenu",
|
|
3636
|
+
"type": {
|
|
3637
|
+
"text": "HTMLElement"
|
|
3662
3638
|
}
|
|
3663
3639
|
},
|
|
3664
3640
|
{
|
|
3665
3641
|
"kind": "method",
|
|
3666
|
-
"name": "
|
|
3667
|
-
"privacy": "
|
|
3668
|
-
"
|
|
3669
|
-
|
|
3670
|
-
"
|
|
3642
|
+
"name": "definitionChanged",
|
|
3643
|
+
"privacy": "protected",
|
|
3644
|
+
"parameters": [
|
|
3645
|
+
{
|
|
3646
|
+
"name": "oldValue",
|
|
3647
|
+
"type": {
|
|
3648
|
+
"text": "any"
|
|
3649
|
+
}
|
|
3650
|
+
},
|
|
3651
|
+
{
|
|
3652
|
+
"name": "newValue",
|
|
3653
|
+
"type": {
|
|
3654
|
+
"text": "any"
|
|
3655
|
+
}
|
|
3671
3656
|
}
|
|
3672
|
-
|
|
3673
|
-
"inheritedFrom": {
|
|
3674
|
-
"name": "Accordion",
|
|
3675
|
-
"module": "src/accordion/accordion.ts"
|
|
3676
|
-
}
|
|
3657
|
+
]
|
|
3677
3658
|
},
|
|
3678
3659
|
{
|
|
3679
3660
|
"kind": "method",
|
|
3680
|
-
"name": "
|
|
3681
|
-
"privacy": "
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3661
|
+
"name": "openChanged",
|
|
3662
|
+
"privacy": "protected"
|
|
3663
|
+
},
|
|
3664
|
+
{
|
|
3665
|
+
"kind": "method",
|
|
3666
|
+
"name": "toggleActionsMenuVisibility"
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "method",
|
|
3670
|
+
"name": "onActionMenuItemClick",
|
|
3671
|
+
"parameters": [
|
|
3672
|
+
{
|
|
3673
|
+
"name": "callback",
|
|
3674
|
+
"type": {
|
|
3675
|
+
"text": "(rowData) => void | any"
|
|
3676
|
+
}
|
|
3685
3677
|
}
|
|
3686
|
-
|
|
3687
|
-
"inheritedFrom": {
|
|
3688
|
-
"name": "Accordion",
|
|
3689
|
-
"module": "src/accordion/accordion.ts"
|
|
3690
|
-
}
|
|
3678
|
+
]
|
|
3691
3679
|
},
|
|
3692
3680
|
{
|
|
3693
3681
|
"kind": "field",
|
|
3694
|
-
"name": "
|
|
3695
|
-
"
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
}
|
|
3682
|
+
"name": "allActions",
|
|
3683
|
+
"type": {
|
|
3684
|
+
"text": "ActionMenuItem[]"
|
|
3685
|
+
},
|
|
3686
|
+
"readonly": true
|
|
3700
3687
|
},
|
|
3701
3688
|
{
|
|
3702
3689
|
"kind": "field",
|
|
3703
|
-
"name": "
|
|
3704
|
-
"
|
|
3705
|
-
"inheritedFrom": {
|
|
3706
|
-
"name": "Accordion",
|
|
3707
|
-
"module": "src/accordion/accordion.ts"
|
|
3708
|
-
}
|
|
3690
|
+
"name": "rowData",
|
|
3691
|
+
"readonly": true
|
|
3709
3692
|
},
|
|
3710
3693
|
{
|
|
3711
3694
|
"kind": "method",
|
|
3712
|
-
"name": "
|
|
3713
|
-
"privacy": "private",
|
|
3714
|
-
"return": {
|
|
3715
|
-
"type": {
|
|
3716
|
-
"text": "void"
|
|
3717
|
-
}
|
|
3718
|
-
},
|
|
3695
|
+
"name": "getLabel",
|
|
3719
3696
|
"parameters": [
|
|
3720
3697
|
{
|
|
3721
|
-
"name": "
|
|
3698
|
+
"name": "name",
|
|
3722
3699
|
"type": {
|
|
3723
|
-
"text": "
|
|
3700
|
+
"text": "string | ((rowData: any) => string)"
|
|
3724
3701
|
}
|
|
3725
3702
|
}
|
|
3726
|
-
]
|
|
3727
|
-
"inheritedFrom": {
|
|
3728
|
-
"name": "Accordion",
|
|
3729
|
-
"module": "src/accordion/accordion.ts"
|
|
3730
|
-
}
|
|
3703
|
+
]
|
|
3731
3704
|
},
|
|
3732
3705
|
{
|
|
3733
3706
|
"kind": "method",
|
|
3734
|
-
"name": "
|
|
3735
|
-
"
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
"
|
|
3707
|
+
"name": "getTemplate",
|
|
3708
|
+
"parameters": [
|
|
3709
|
+
{
|
|
3710
|
+
"name": "prefix",
|
|
3711
|
+
"type": {
|
|
3712
|
+
"text": "string"
|
|
3713
|
+
}
|
|
3739
3714
|
}
|
|
3740
|
-
|
|
3741
|
-
"inheritedFrom": {
|
|
3742
|
-
"name": "Accordion",
|
|
3743
|
-
"module": "src/accordion/accordion.ts"
|
|
3744
|
-
}
|
|
3715
|
+
]
|
|
3745
3716
|
},
|
|
3746
3717
|
{
|
|
3747
3718
|
"kind": "field",
|
|
@@ -3855,78 +3826,107 @@
|
|
|
3855
3826
|
}
|
|
3856
3827
|
}
|
|
3857
3828
|
],
|
|
3858
|
-
"
|
|
3829
|
+
"attributes": [
|
|
3859
3830
|
{
|
|
3860
|
-
"
|
|
3861
|
-
"
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3831
|
+
"name": "is-vertical",
|
|
3832
|
+
"type": {
|
|
3833
|
+
"text": "boolean"
|
|
3834
|
+
},
|
|
3835
|
+
"default": "false",
|
|
3836
|
+
"fieldName": "isVertical"
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"name": "add-default-actions",
|
|
3840
|
+
"type": {
|
|
3841
|
+
"text": "boolean"
|
|
3842
|
+
},
|
|
3843
|
+
"default": "true",
|
|
3844
|
+
"fieldName": "addDefaultActions"
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"name": "auto-close-on-action",
|
|
3848
|
+
"type": {
|
|
3849
|
+
"text": "boolean"
|
|
3850
|
+
},
|
|
3851
|
+
"default": "true",
|
|
3852
|
+
"fieldName": "autoCloseOnAction"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "name",
|
|
3856
|
+
"type": {
|
|
3857
|
+
"text": "string"
|
|
3858
|
+
},
|
|
3859
|
+
"default": "'Actions'",
|
|
3860
|
+
"fieldName": "name"
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"name": "open",
|
|
3864
|
+
"type": {
|
|
3865
|
+
"text": "boolean"
|
|
3866
|
+
},
|
|
3867
|
+
"default": "false",
|
|
3868
|
+
"fieldName": "open"
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"name": "buttonAppearance",
|
|
3872
|
+
"type": {
|
|
3873
|
+
"text": "string"
|
|
3874
|
+
},
|
|
3875
|
+
"fieldName": "buttonAppearance"
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "hide-disabled",
|
|
3879
|
+
"type": {
|
|
3880
|
+
"text": "boolean"
|
|
3881
|
+
},
|
|
3882
|
+
"default": "false",
|
|
3883
|
+
"fieldName": "hideDisabled"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"name": "hide-menu-single-option",
|
|
3887
|
+
"type": {
|
|
3888
|
+
"text": "boolean"
|
|
3889
|
+
},
|
|
3890
|
+
"default": "false",
|
|
3891
|
+
"fieldName": "hideMenuSingleOption"
|
|
3866
3892
|
}
|
|
3867
|
-
]
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
"name": "foundationAccordionShadowOptions",
|
|
3872
|
-
"type": {
|
|
3873
|
-
"text": "ShadowRootInit"
|
|
3874
|
-
},
|
|
3875
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"kind": "variable",
|
|
3879
|
-
"name": "defaultAccordionConfig",
|
|
3880
|
-
"type": {
|
|
3881
|
-
"text": "object"
|
|
3893
|
+
],
|
|
3894
|
+
"superclass": {
|
|
3895
|
+
"name": "FoundationElement",
|
|
3896
|
+
"package": "@microsoft/fast-foundation"
|
|
3882
3897
|
},
|
|
3883
|
-
"
|
|
3898
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3899
|
+
"customElement": true
|
|
3884
3900
|
},
|
|
3885
3901
|
{
|
|
3886
3902
|
"kind": "variable",
|
|
3887
|
-
"name": "
|
|
3888
|
-
"description": "The Foundation
|
|
3903
|
+
"name": "foundationActionsMenu",
|
|
3904
|
+
"description": "The Foundation Actions Menu",
|
|
3889
3905
|
"privacy": "public"
|
|
3890
3906
|
}
|
|
3891
3907
|
],
|
|
3892
3908
|
"exports": [
|
|
3893
3909
|
{
|
|
3894
3910
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3896
|
-
"declaration": {
|
|
3897
|
-
"name": "Accordion",
|
|
3898
|
-
"module": "src/accordion/accordion.ts"
|
|
3899
|
-
}
|
|
3900
|
-
},
|
|
3901
|
-
{
|
|
3902
|
-
"kind": "js",
|
|
3903
|
-
"name": "foundationAccordionShadowOptions",
|
|
3904
|
-
"declaration": {
|
|
3905
|
-
"name": "foundationAccordionShadowOptions",
|
|
3906
|
-
"module": "src/accordion/accordion.ts"
|
|
3907
|
-
}
|
|
3908
|
-
},
|
|
3909
|
-
{
|
|
3910
|
-
"kind": "js",
|
|
3911
|
-
"name": "defaultAccordionConfig",
|
|
3911
|
+
"name": "ActionsMenu",
|
|
3912
3912
|
"declaration": {
|
|
3913
|
-
"name": "
|
|
3914
|
-
"module": "src/
|
|
3913
|
+
"name": "ActionsMenu",
|
|
3914
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3915
3915
|
}
|
|
3916
3916
|
},
|
|
3917
3917
|
{
|
|
3918
3918
|
"kind": "js",
|
|
3919
|
-
"name": "
|
|
3919
|
+
"name": "foundationActionsMenu",
|
|
3920
3920
|
"declaration": {
|
|
3921
|
-
"name": "
|
|
3922
|
-
"module": "src/
|
|
3921
|
+
"name": "foundationActionsMenu",
|
|
3922
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
]
|
|
3926
3926
|
},
|
|
3927
3927
|
{
|
|
3928
3928
|
"kind": "javascript-module",
|
|
3929
|
-
"path": "src/
|
|
3929
|
+
"path": "src/actions-menu/index.ts",
|
|
3930
3930
|
"declarations": [],
|
|
3931
3931
|
"exports": [
|
|
3932
3932
|
{
|
|
@@ -3934,7 +3934,7 @@
|
|
|
3934
3934
|
"name": "*",
|
|
3935
3935
|
"declaration": {
|
|
3936
3936
|
"name": "*",
|
|
3937
|
-
"package": "./
|
|
3937
|
+
"package": "./actions-menu.styles"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
3944
|
"name": "*",
|
|
3945
|
-
"package": "./
|
|
3945
|
+
"package": "./actions-menu.template"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
@@ -3950,7 +3950,7 @@
|
|
|
3950
3950
|
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
3952
|
"name": "*",
|
|
3953
|
-
"package": "./
|
|
3953
|
+
"package": "./actions-menu"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|