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