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