@genesislcap/foundation-ui 14.437.3-alpha-5efde79.0 → 14.437.4
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 +1063 -1063
- package/dist/dts/react.d.ts +15 -15
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- 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": "
|
|
2338
|
+
"name": "ActionsMenu",
|
|
2279
2339
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/
|
|
2340
|
+
"name": "ActionsMenu",
|
|
2341
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2282
2342
|
}
|
|
2283
2343
|
},
|
|
2284
2344
|
{
|
|
2285
2345
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2346
|
+
"name": "foundationActionsMenu",
|
|
2287
2347
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/
|
|
2290
|
-
}
|
|
2291
|
-
},
|
|
2292
|
-
{
|
|
2293
|
-
"kind": "js",
|
|
2294
|
-
"name": "defaultAccordionItemConfig",
|
|
2295
|
-
"declaration": {
|
|
2296
|
-
"name": "defaultAccordionItemConfig",
|
|
2297
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
|
-
}
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "js",
|
|
2302
|
-
"name": "foundationAccordionItem",
|
|
2303
|
-
"declaration": {
|
|
2304
|
-
"name": "foundationAccordionItem",
|
|
2305
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
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,41 +2377,18 @@
|
|
|
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
2390
|
"kind": "function",
|
|
2347
|
-
"name": "
|
|
2348
|
-
"return": {
|
|
2349
|
-
"type": {
|
|
2350
|
-
"text": "ElementStyles"
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "function",
|
|
2370
|
-
"name": "foundationActionsMenuStyles",
|
|
2391
|
+
"name": "foundationAccordionStyles",
|
|
2371
2392
|
"return": {
|
|
2372
2393
|
"type": {
|
|
2373
2394
|
"text": "ElementStyles"
|
|
@@ -2392,269 +2413,277 @@
|
|
|
2392
2413
|
"exports": [
|
|
2393
2414
|
{
|
|
2394
2415
|
"kind": "js",
|
|
2395
|
-
"name": "
|
|
2396
|
-
"declaration": {
|
|
2397
|
-
"name": "actionsMenuBaseStyles",
|
|
2398
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2399
|
-
}
|
|
2400
|
-
},
|
|
2401
|
-
{
|
|
2402
|
-
"kind": "js",
|
|
2403
|
-
"name": "foundationActionsMenuStyles",
|
|
2416
|
+
"name": "foundationAccordionStyles",
|
|
2404
2417
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2418
|
+
"name": "foundationAccordionStyles",
|
|
2419
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2407
2420
|
}
|
|
2408
2421
|
}
|
|
2409
2422
|
]
|
|
2410
2423
|
},
|
|
2411
2424
|
{
|
|
2412
2425
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2426
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2414
2427
|
"declarations": [
|
|
2415
2428
|
{
|
|
2416
2429
|
"kind": "function",
|
|
2417
|
-
"name": "
|
|
2430
|
+
"name": "foundationAccordionTemplate",
|
|
2431
|
+
"return": {
|
|
2432
|
+
"type": {
|
|
2433
|
+
"text": "ViewTemplate<Accordion>"
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2418
2436
|
"parameters": [
|
|
2419
2437
|
{
|
|
2420
|
-
"name": "
|
|
2438
|
+
"name": "context",
|
|
2421
2439
|
"type": {
|
|
2422
|
-
"text": "
|
|
2440
|
+
"text": "ElementDefinitionContext"
|
|
2423
2441
|
}
|
|
2424
|
-
}
|
|
2425
|
-
]
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "function",
|
|
2429
|
-
"name": "singleOptionTemplate",
|
|
2430
|
-
"parameters": [
|
|
2442
|
+
},
|
|
2431
2443
|
{
|
|
2432
|
-
"name": "
|
|
2444
|
+
"name": "definition",
|
|
2433
2445
|
"type": {
|
|
2434
|
-
"text": "
|
|
2446
|
+
"text": "FoundationElementDefinition"
|
|
2435
2447
|
}
|
|
2436
2448
|
}
|
|
2437
2449
|
]
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "variable",
|
|
2441
|
-
"name": "foundationActionsMenuTemplate",
|
|
2442
|
-
"type": {
|
|
2443
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2444
|
-
},
|
|
2445
|
-
"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`"
|
|
2446
2450
|
}
|
|
2447
2451
|
],
|
|
2448
2452
|
"exports": [
|
|
2449
2453
|
{
|
|
2450
2454
|
"kind": "js",
|
|
2451
|
-
"name": "
|
|
2452
|
-
"declaration": {
|
|
2453
|
-
"name": "menuTemplate",
|
|
2454
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
-
}
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
"kind": "js",
|
|
2459
|
-
"name": "singleOptionTemplate",
|
|
2460
|
-
"declaration": {
|
|
2461
|
-
"name": "singleOptionTemplate",
|
|
2462
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"kind": "js",
|
|
2467
|
-
"name": "foundationActionsMenuTemplate",
|
|
2455
|
+
"name": "foundationAccordionTemplate",
|
|
2468
2456
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2457
|
+
"name": "foundationAccordionTemplate",
|
|
2458
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2471
2459
|
}
|
|
2472
2460
|
}
|
|
2473
2461
|
]
|
|
2474
2462
|
},
|
|
2475
2463
|
{
|
|
2476
2464
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2465
|
+
"path": "src/accordion/accordion.ts",
|
|
2478
2466
|
"declarations": [
|
|
2479
2467
|
{
|
|
2480
2468
|
"kind": "class",
|
|
2481
2469
|
"description": "",
|
|
2482
|
-
"name": "
|
|
2483
|
-
"
|
|
2470
|
+
"name": "Accordion",
|
|
2471
|
+
"superclass": {
|
|
2472
|
+
"name": "FASTAccordion",
|
|
2473
|
+
"package": "@microsoft/fast-foundation"
|
|
2474
|
+
},
|
|
2475
|
+
"tagName": "%%prefix%%-accordion",
|
|
2476
|
+
"customElement": true,
|
|
2477
|
+
"attributes": [
|
|
2484
2478
|
{
|
|
2485
|
-
"
|
|
2486
|
-
"name": "actions",
|
|
2479
|
+
"name": "expand-mode",
|
|
2487
2480
|
"type": {
|
|
2488
|
-
"text": "
|
|
2481
|
+
"text": "AccordionExpandMode"
|
|
2482
|
+
},
|
|
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"
|
|
2489
2488
|
}
|
|
2490
|
-
}
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
"members": [
|
|
2491
2492
|
{
|
|
2492
2493
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2494
|
+
"name": "expandmode",
|
|
2494
2495
|
"type": {
|
|
2495
|
-
"text": "
|
|
2496
|
+
"text": "AccordionExpandMode"
|
|
2496
2497
|
},
|
|
2497
|
-
"
|
|
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
|
+
}
|
|
2498
2504
|
},
|
|
2499
2505
|
{
|
|
2500
2506
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2507
|
+
"name": "activeid",
|
|
2502
2508
|
"type": {
|
|
2503
|
-
"text": "
|
|
2509
|
+
"text": "string | null"
|
|
2504
2510
|
},
|
|
2505
|
-
"
|
|
2511
|
+
"privacy": "private",
|
|
2512
|
+
"inheritedFrom": {
|
|
2513
|
+
"name": "Accordion",
|
|
2514
|
+
"module": "src/accordion/accordion.ts"
|
|
2515
|
+
}
|
|
2506
2516
|
},
|
|
2507
2517
|
{
|
|
2508
2518
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2519
|
+
"name": "activeItemIndex",
|
|
2510
2520
|
"type": {
|
|
2511
|
-
"text": "
|
|
2521
|
+
"text": "number"
|
|
2512
2522
|
},
|
|
2513
|
-
"
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
"type": {
|
|
2519
|
-
"text": "string"
|
|
2523
|
+
"privacy": "private",
|
|
2524
|
+
"default": "0",
|
|
2525
|
+
"inheritedFrom": {
|
|
2526
|
+
"name": "Accordion",
|
|
2527
|
+
"module": "src/accordion/accordion.ts"
|
|
2520
2528
|
}
|
|
2521
2529
|
},
|
|
2522
2530
|
{
|
|
2523
2531
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2532
|
+
"name": "accordionIds",
|
|
2525
2533
|
"type": {
|
|
2526
|
-
"text": "
|
|
2534
|
+
"text": "Array<string | null>"
|
|
2535
|
+
},
|
|
2536
|
+
"privacy": "private",
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "Accordion",
|
|
2539
|
+
"module": "src/accordion/accordion.ts"
|
|
2527
2540
|
}
|
|
2528
2541
|
},
|
|
2529
2542
|
{
|
|
2530
2543
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2532
|
-
"
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2544
|
+
"name": "change",
|
|
2545
|
+
"privacy": "private",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "Accordion",
|
|
2548
|
+
"module": "src/accordion/accordion.ts"
|
|
2549
|
+
}
|
|
2536
2550
|
},
|
|
2537
2551
|
{
|
|
2538
|
-
"kind": "
|
|
2539
|
-
"name": "
|
|
2540
|
-
"
|
|
2541
|
-
|
|
2552
|
+
"kind": "method",
|
|
2553
|
+
"name": "findExpandedItem",
|
|
2554
|
+
"privacy": "private",
|
|
2555
|
+
"return": {
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "AccordionItem | null"
|
|
2558
|
+
}
|
|
2542
2559
|
},
|
|
2543
|
-
"
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
"kind": "field",
|
|
2547
|
-
"name": "buttonAppearance",
|
|
2548
|
-
"type": {
|
|
2549
|
-
"text": "string"
|
|
2560
|
+
"inheritedFrom": {
|
|
2561
|
+
"name": "Accordion",
|
|
2562
|
+
"module": "src/accordion/accordion.ts"
|
|
2550
2563
|
}
|
|
2551
2564
|
},
|
|
2552
2565
|
{
|
|
2553
2566
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2555
|
-
"
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2567
|
+
"name": "setItems",
|
|
2568
|
+
"privacy": "private",
|
|
2569
|
+
"inheritedFrom": {
|
|
2570
|
+
"name": "Accordion",
|
|
2571
|
+
"module": "src/accordion/accordion.ts"
|
|
2572
|
+
}
|
|
2559
2573
|
},
|
|
2560
2574
|
{
|
|
2561
|
-
"kind": "
|
|
2562
|
-
"name": "
|
|
2563
|
-
"
|
|
2564
|
-
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "resetItems",
|
|
2577
|
+
"privacy": "private",
|
|
2578
|
+
"return": {
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "void"
|
|
2581
|
+
}
|
|
2565
2582
|
},
|
|
2566
|
-
"
|
|
2583
|
+
"inheritedFrom": {
|
|
2584
|
+
"name": "Accordion",
|
|
2585
|
+
"module": "src/accordion/accordion.ts"
|
|
2586
|
+
}
|
|
2567
2587
|
},
|
|
2568
2588
|
{
|
|
2569
2589
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2571
|
-
"
|
|
2572
|
-
|
|
2590
|
+
"name": "removeItemListeners",
|
|
2591
|
+
"privacy": "private",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2573
2595
|
}
|
|
2574
2596
|
},
|
|
2575
2597
|
{
|
|
2576
2598
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2579
|
-
|
|
2599
|
+
"name": "activeItemChange",
|
|
2600
|
+
"privacy": "private",
|
|
2601
|
+
"inheritedFrom": {
|
|
2602
|
+
"name": "Accordion",
|
|
2603
|
+
"module": "src/accordion/accordion.ts"
|
|
2580
2604
|
}
|
|
2581
2605
|
},
|
|
2582
2606
|
{
|
|
2583
2607
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2586
|
-
"
|
|
2587
|
-
{
|
|
2588
|
-
"
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "any"
|
|
2597
|
-
}
|
|
2608
|
+
"name": "getItemIds",
|
|
2609
|
+
"privacy": "private",
|
|
2610
|
+
"return": {
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "Array<string | null>"
|
|
2598
2613
|
}
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
"privacy": "protected"
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
"kind": "method",
|
|
2608
|
-
"name": "toggleActionsMenuVisibility"
|
|
2614
|
+
},
|
|
2615
|
+
"inheritedFrom": {
|
|
2616
|
+
"name": "Accordion",
|
|
2617
|
+
"module": "src/accordion/accordion.ts"
|
|
2618
|
+
}
|
|
2609
2619
|
},
|
|
2610
2620
|
{
|
|
2611
2621
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
"
|
|
2617
|
-
"text": "(rowData) => void | any"
|
|
2618
|
-
}
|
|
2622
|
+
"name": "isSingleExpandMode",
|
|
2623
|
+
"privacy": "private",
|
|
2624
|
+
"return": {
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "boolean"
|
|
2619
2627
|
}
|
|
2620
|
-
|
|
2628
|
+
},
|
|
2629
|
+
"inheritedFrom": {
|
|
2630
|
+
"name": "Accordion",
|
|
2631
|
+
"module": "src/accordion/accordion.ts"
|
|
2632
|
+
}
|
|
2621
2633
|
},
|
|
2622
2634
|
{
|
|
2623
2635
|
"kind": "field",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2636
|
+
"name": "handleItemKeyDown",
|
|
2637
|
+
"privacy": "private",
|
|
2638
|
+
"inheritedFrom": {
|
|
2639
|
+
"name": "Accordion",
|
|
2640
|
+
"module": "src/accordion/accordion.ts"
|
|
2641
|
+
}
|
|
2629
2642
|
},
|
|
2630
2643
|
{
|
|
2631
2644
|
"kind": "field",
|
|
2632
|
-
"name": "
|
|
2633
|
-
"
|
|
2645
|
+
"name": "handleItemFocus",
|
|
2646
|
+
"privacy": "private",
|
|
2647
|
+
"inheritedFrom": {
|
|
2648
|
+
"name": "Accordion",
|
|
2649
|
+
"module": "src/accordion/accordion.ts"
|
|
2650
|
+
}
|
|
2634
2651
|
},
|
|
2635
2652
|
{
|
|
2636
2653
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2654
|
+
"name": "adjust",
|
|
2655
|
+
"privacy": "private",
|
|
2656
|
+
"return": {
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "void"
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2638
2661
|
"parameters": [
|
|
2639
2662
|
{
|
|
2640
|
-
"name": "
|
|
2663
|
+
"name": "adjustment",
|
|
2641
2664
|
"type": {
|
|
2642
|
-
"text": "
|
|
2665
|
+
"text": "number"
|
|
2643
2666
|
}
|
|
2644
2667
|
}
|
|
2645
|
-
]
|
|
2668
|
+
],
|
|
2669
|
+
"inheritedFrom": {
|
|
2670
|
+
"name": "Accordion",
|
|
2671
|
+
"module": "src/accordion/accordion.ts"
|
|
2672
|
+
}
|
|
2646
2673
|
},
|
|
2647
2674
|
{
|
|
2648
2675
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
"
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
"
|
|
2654
|
-
"text": "string"
|
|
2655
|
-
}
|
|
2676
|
+
"name": "focusItem",
|
|
2677
|
+
"privacy": "private",
|
|
2678
|
+
"return": {
|
|
2679
|
+
"type": {
|
|
2680
|
+
"text": "void"
|
|
2656
2681
|
}
|
|
2657
|
-
|
|
2682
|
+
},
|
|
2683
|
+
"inheritedFrom": {
|
|
2684
|
+
"name": "Accordion",
|
|
2685
|
+
"module": "src/accordion/accordion.ts"
|
|
2686
|
+
}
|
|
2658
2687
|
},
|
|
2659
2688
|
{
|
|
2660
2689
|
"kind": "field",
|
|
@@ -2768,107 +2797,78 @@
|
|
|
2768
2797
|
}
|
|
2769
2798
|
}
|
|
2770
2799
|
],
|
|
2771
|
-
"
|
|
2772
|
-
{
|
|
2773
|
-
"name": "is-vertical",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "false",
|
|
2778
|
-
"fieldName": "isVertical"
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "add-default-actions",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "true",
|
|
2786
|
-
"fieldName": "addDefaultActions"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "auto-close-on-action",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "autoCloseOnAction"
|
|
2795
|
-
},
|
|
2796
|
-
{
|
|
2797
|
-
"name": "name",
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2803
|
-
},
|
|
2804
|
-
{
|
|
2805
|
-
"name": "open",
|
|
2806
|
-
"type": {
|
|
2807
|
-
"text": "boolean"
|
|
2808
|
-
},
|
|
2809
|
-
"default": "false",
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2812
|
-
{
|
|
2813
|
-
"name": "buttonAppearance",
|
|
2814
|
-
"type": {
|
|
2815
|
-
"text": "string"
|
|
2816
|
-
},
|
|
2817
|
-
"fieldName": "buttonAppearance"
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2826
|
-
},
|
|
2800
|
+
"events": [
|
|
2827
2801
|
{
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
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
|
+
}
|
|
2834
2808
|
}
|
|
2835
|
-
]
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2809
|
+
]
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"kind": "variable",
|
|
2813
|
+
"name": "foundationAccordionShadowOptions",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "ShadowRootInit"
|
|
2839
2816
|
},
|
|
2840
|
-
"
|
|
2841
|
-
"customElement": true
|
|
2817
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2842
2818
|
},
|
|
2843
2819
|
{
|
|
2844
2820
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2821
|
+
"name": "defaultAccordionConfig",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "object"
|
|
2824
|
+
},
|
|
2825
|
+
"default": "{}"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"kind": "variable",
|
|
2829
|
+
"name": "foundationAccordion",
|
|
2830
|
+
"description": "The Foundation Accordion",
|
|
2847
2831
|
"privacy": "public"
|
|
2848
2832
|
}
|
|
2849
2833
|
],
|
|
2850
2834
|
"exports": [
|
|
2851
2835
|
{
|
|
2852
2836
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2837
|
+
"name": "Accordion",
|
|
2854
2838
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2839
|
+
"name": "Accordion",
|
|
2840
|
+
"module": "src/accordion/accordion.ts"
|
|
2857
2841
|
}
|
|
2858
2842
|
},
|
|
2859
2843
|
{
|
|
2860
2844
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2845
|
+
"name": "foundationAccordionShadowOptions",
|
|
2862
2846
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2847
|
+
"name": "foundationAccordionShadowOptions",
|
|
2848
|
+
"module": "src/accordion/accordion.ts"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "js",
|
|
2853
|
+
"name": "defaultAccordionConfig",
|
|
2854
|
+
"declaration": {
|
|
2855
|
+
"name": "defaultAccordionConfig",
|
|
2856
|
+
"module": "src/accordion/accordion.ts"
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
{
|
|
2860
|
+
"kind": "js",
|
|
2861
|
+
"name": "foundationAccordion",
|
|
2862
|
+
"declaration": {
|
|
2863
|
+
"name": "foundationAccordion",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
]
|
|
2868
2868
|
},
|
|
2869
2869
|
{
|
|
2870
2870
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2871
|
+
"path": "src/accordion/index.ts",
|
|
2872
2872
|
"declarations": [],
|
|
2873
2873
|
"exports": [
|
|
2874
2874
|
{
|
|
@@ -2876,7 +2876,7 @@
|
|
|
2876
2876
|
"name": "*",
|
|
2877
2877
|
"declaration": {
|
|
2878
2878
|
"name": "*",
|
|
2879
|
-
"package": "./
|
|
2879
|
+
"package": "./accordion.template"
|
|
2880
2880
|
}
|
|
2881
2881
|
},
|
|
2882
2882
|
{
|
|
@@ -2884,7 +2884,7 @@
|
|
|
2884
2884
|
"name": "*",
|
|
2885
2885
|
"declaration": {
|
|
2886
2886
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
2887
|
+
"package": "./accordion.styles"
|
|
2888
2888
|
}
|
|
2889
2889
|
},
|
|
2890
2890
|
{
|
|
@@ -2892,122 +2892,101 @@
|
|
|
2892
2892
|
"name": "*",
|
|
2893
2893
|
"declaration": {
|
|
2894
2894
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2895
|
+
"package": "./accordion"
|
|
2896
2896
|
}
|
|
2897
2897
|
}
|
|
2898
2898
|
]
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-
|
|
2902
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2903
2903
|
"declarations": [
|
|
2904
2904
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2905
|
+
"kind": "function",
|
|
2906
|
+
"name": "foundationAiIndicatorStyles",
|
|
2907
|
+
"return": {
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "ElementStyles"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
"parameters": [
|
|
2913
|
+
{
|
|
2914
|
+
"name": "context",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "ElementDefinitionContext"
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "definition",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "FoundationElementDefinition"
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
]
|
|
2908
2926
|
}
|
|
2909
2927
|
],
|
|
2910
2928
|
"exports": [
|
|
2911
2929
|
{
|
|
2912
2930
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2931
|
+
"name": "foundationAiIndicatorStyles",
|
|
2914
2932
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-
|
|
2933
|
+
"name": "foundationAiIndicatorStyles",
|
|
2934
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2917
2935
|
}
|
|
2918
2936
|
}
|
|
2919
2937
|
]
|
|
2920
2938
|
},
|
|
2921
2939
|
{
|
|
2922
2940
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
2941
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
2942
|
"declarations": [
|
|
2925
2943
|
{
|
|
2926
2944
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
2945
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
2946
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
2947
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
2948
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
2949
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
2950
|
}
|
|
2933
2951
|
],
|
|
2934
2952
|
"exports": [
|
|
2935
2953
|
{
|
|
2936
2954
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
2955
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
2956
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
2957
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2958
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
2959
|
}
|
|
2942
2960
|
}
|
|
2943
2961
|
]
|
|
2944
2962
|
},
|
|
2945
2963
|
{
|
|
2946
|
-
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
2948
|
-
"declarations": [
|
|
2949
|
-
{
|
|
2950
|
-
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
2953
|
-
"members": [
|
|
2954
|
-
{
|
|
2955
|
-
"kind": "field",
|
|
2956
|
-
"name": "aiProvider",
|
|
2957
|
-
"type": {
|
|
2958
|
-
"text": "AIProvider"
|
|
2959
|
-
}
|
|
2960
|
-
},
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "field",
|
|
2963
|
-
"name": "placeholder",
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2964
|
+
"kind": "javascript-module",
|
|
2965
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2966
|
+
"declarations": [
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "class",
|
|
2969
|
+
"description": "",
|
|
2970
|
+
"name": "AiIndicator",
|
|
2971
|
+
"members": [
|
|
2984
2972
|
{
|
|
2985
2973
|
"kind": "field",
|
|
2986
|
-
"name": "
|
|
2974
|
+
"name": "aiProvider",
|
|
2987
2975
|
"type": {
|
|
2988
|
-
"text": "
|
|
2989
|
-
}
|
|
2990
|
-
"default": "false"
|
|
2976
|
+
"text": "AIProvider"
|
|
2977
|
+
}
|
|
2991
2978
|
},
|
|
2992
2979
|
{
|
|
2993
2980
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
2981
|
+
"name": "status",
|
|
2995
2982
|
"type": {
|
|
2996
|
-
"text": "
|
|
2983
|
+
"text": "AIStatus | null"
|
|
2997
2984
|
},
|
|
2998
2985
|
"default": "null"
|
|
2999
2986
|
},
|
|
3000
2987
|
{
|
|
3001
2988
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
2989
|
+
"name": "open",
|
|
3011
2990
|
"type": {
|
|
3012
2991
|
"text": "boolean"
|
|
3013
2992
|
},
|
|
@@ -3015,15 +2994,15 @@
|
|
|
3015
2994
|
},
|
|
3016
2995
|
{
|
|
3017
2996
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
2997
|
+
"name": "state",
|
|
3019
2998
|
"type": {
|
|
3020
|
-
"text": "
|
|
2999
|
+
"text": "AIIndicatorState"
|
|
3021
3000
|
},
|
|
3022
|
-
"default": "
|
|
3001
|
+
"default": "'none'"
|
|
3023
3002
|
},
|
|
3024
3003
|
{
|
|
3025
3004
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3005
|
+
"name": "isInstalling",
|
|
3027
3006
|
"type": {
|
|
3028
3007
|
"text": "boolean"
|
|
3029
3008
|
},
|
|
@@ -3031,33 +3010,29 @@
|
|
|
3031
3010
|
},
|
|
3032
3011
|
{
|
|
3033
3012
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3013
|
+
"name": "pollTimer",
|
|
3035
3014
|
"type": {
|
|
3036
|
-
"text": "
|
|
3015
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3016
|
},
|
|
3038
|
-
"privacy": "
|
|
3017
|
+
"privacy": "private",
|
|
3018
|
+
"default": "null"
|
|
3039
3019
|
},
|
|
3040
3020
|
{
|
|
3041
3021
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3022
|
+
"name": "clickOutside",
|
|
3023
|
+
"privacy": "private"
|
|
3048
3024
|
},
|
|
3049
3025
|
{
|
|
3050
3026
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3027
|
+
"name": "chromeStatusLabel",
|
|
3052
3028
|
"type": {
|
|
3053
|
-
"text": "
|
|
3029
|
+
"text": "string | null"
|
|
3054
3030
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3031
|
+
"readonly": true
|
|
3057
3032
|
},
|
|
3058
3033
|
{
|
|
3059
3034
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3035
|
+
"name": "canInstall",
|
|
3061
3036
|
"type": {
|
|
3062
3037
|
"text": "boolean"
|
|
3063
3038
|
},
|
|
@@ -3065,65 +3040,69 @@
|
|
|
3065
3040
|
},
|
|
3066
3041
|
{
|
|
3067
3042
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3043
|
+
"name": "isDownloading",
|
|
3069
3044
|
"type": {
|
|
3070
|
-
"text": "
|
|
3045
|
+
"text": "boolean"
|
|
3071
3046
|
},
|
|
3072
3047
|
"readonly": true
|
|
3073
3048
|
},
|
|
3074
3049
|
{
|
|
3075
3050
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3051
|
+
"name": "openChanged",
|
|
3078
3052
|
"return": {
|
|
3079
3053
|
"type": {
|
|
3080
|
-
"text": "
|
|
3054
|
+
"text": "void"
|
|
3081
3055
|
}
|
|
3082
|
-
}
|
|
3056
|
+
}
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "method",
|
|
3060
|
+
"name": "handleClickOutside",
|
|
3061
|
+
"privacy": "private",
|
|
3083
3062
|
"parameters": [
|
|
3084
3063
|
{
|
|
3085
|
-
"name": "
|
|
3064
|
+
"name": "event",
|
|
3086
3065
|
"type": {
|
|
3087
|
-
"text": "
|
|
3066
|
+
"text": "MouseEvent"
|
|
3088
3067
|
}
|
|
3089
3068
|
}
|
|
3090
3069
|
]
|
|
3091
3070
|
},
|
|
3092
3071
|
{
|
|
3093
3072
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3073
|
+
"name": "toggleDropdown"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
"kind": "method",
|
|
3077
|
+
"name": "refreshStatus",
|
|
3095
3078
|
"return": {
|
|
3096
3079
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3080
|
+
"text": "Promise<void>"
|
|
3098
3081
|
}
|
|
3099
3082
|
}
|
|
3100
3083
|
},
|
|
3101
3084
|
{
|
|
3102
3085
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3086
|
+
"name": "deriveState",
|
|
3087
|
+
"privacy": "private",
|
|
3104
3088
|
"return": {
|
|
3105
3089
|
"type": {
|
|
3106
|
-
"text": "
|
|
3090
|
+
"text": "AIIndicatorState"
|
|
3107
3091
|
}
|
|
3108
3092
|
},
|
|
3109
3093
|
"parameters": [
|
|
3110
3094
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3095
|
+
"name": "s",
|
|
3118
3096
|
"type": {
|
|
3119
|
-
"text": "
|
|
3097
|
+
"text": "AIStatus | null"
|
|
3120
3098
|
}
|
|
3121
3099
|
}
|
|
3122
3100
|
]
|
|
3123
3101
|
},
|
|
3124
3102
|
{
|
|
3125
3103
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3104
|
+
"name": "maybeStartPolling",
|
|
3105
|
+
"privacy": "private",
|
|
3127
3106
|
"return": {
|
|
3128
3107
|
"type": {
|
|
3129
3108
|
"text": "void"
|
|
@@ -3132,24 +3111,32 @@
|
|
|
3132
3111
|
},
|
|
3133
3112
|
{
|
|
3134
3113
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3114
|
+
"name": "startPolling",
|
|
3115
|
+
"privacy": "private",
|
|
3116
|
+
"return": {
|
|
3117
|
+
"type": {
|
|
3118
|
+
"text": "void"
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3144
3121
|
},
|
|
3145
3122
|
{
|
|
3146
3123
|
"kind": "method",
|
|
3147
|
-
"name": "
|
|
3124
|
+
"name": "stopPolling",
|
|
3125
|
+
"privacy": "private",
|
|
3126
|
+
"return": {
|
|
3127
|
+
"type": {
|
|
3128
|
+
"text": "void"
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3148
3131
|
},
|
|
3149
3132
|
{
|
|
3150
3133
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"
|
|
3134
|
+
"name": "onInstall",
|
|
3135
|
+
"return": {
|
|
3136
|
+
"type": {
|
|
3137
|
+
"text": "Promise<void>"
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3153
3140
|
},
|
|
3154
3141
|
{
|
|
3155
3142
|
"kind": "field",
|
|
@@ -3263,320 +3250,145 @@
|
|
|
3263
3250
|
}
|
|
3264
3251
|
}
|
|
3265
3252
|
],
|
|
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
|
-
],
|
|
3292
3253
|
"superclass": {
|
|
3293
3254
|
"name": "FoundationElement",
|
|
3294
3255
|
"package": "@microsoft/fast-foundation"
|
|
3295
3256
|
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-
|
|
3257
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3297
3258
|
"customElement": true
|
|
3298
3259
|
},
|
|
3299
3260
|
{
|
|
3300
3261
|
"kind": "variable",
|
|
3301
|
-
"name": "
|
|
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"
|
|
3262
|
+
"name": "foundationAiIndicator"
|
|
3318
3263
|
}
|
|
3319
3264
|
],
|
|
3320
3265
|
"exports": [
|
|
3321
3266
|
{
|
|
3322
3267
|
"kind": "js",
|
|
3323
|
-
"name": "
|
|
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
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "js",
|
|
3339
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3268
|
+
"name": "AiIndicator",
|
|
3340
3269
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3270
|
+
"name": "AiIndicator",
|
|
3271
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3272
|
}
|
|
3344
3273
|
},
|
|
3345
3274
|
{
|
|
3346
3275
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3276
|
+
"name": "foundationAiIndicator",
|
|
3348
3277
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3278
|
+
"name": "foundationAiIndicator",
|
|
3279
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3280
|
}
|
|
3352
3281
|
}
|
|
3353
3282
|
]
|
|
3354
3283
|
},
|
|
3355
3284
|
{
|
|
3356
3285
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3286
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3287
|
"declarations": [],
|
|
3359
3288
|
"exports": [
|
|
3360
3289
|
{
|
|
3361
3290
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3387
|
-
"declaration": {
|
|
3388
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
-
"module": "./ai-criteria-search"
|
|
3390
|
-
}
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"kind": "js",
|
|
3394
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3395
|
-
"declaration": {
|
|
3396
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
-
"module": "./ai-criteria-search.styles"
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
{
|
|
3401
|
-
"kind": "js",
|
|
3402
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3291
|
+
"name": "AiIndicator",
|
|
3403
3292
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3293
|
+
"name": "AiIndicator",
|
|
3294
|
+
"module": "./ai-indicator"
|
|
3406
3295
|
}
|
|
3407
3296
|
},
|
|
3408
3297
|
{
|
|
3409
3298
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3299
|
+
"name": "foundationAiIndicator",
|
|
3411
3300
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3301
|
+
"name": "foundationAiIndicator",
|
|
3302
|
+
"module": "./ai-indicator"
|
|
3414
3303
|
}
|
|
3415
3304
|
},
|
|
3416
3305
|
{
|
|
3417
3306
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3307
|
+
"name": "type",
|
|
3419
3308
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3309
|
+
"name": "type",
|
|
3310
|
+
"module": "./ai-indicator"
|
|
3422
3311
|
}
|
|
3423
3312
|
},
|
|
3424
3313
|
{
|
|
3425
3314
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3315
|
+
"name": "AIIndicatorState",
|
|
3427
3316
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3317
|
+
"name": "AIIndicatorState",
|
|
3318
|
+
"module": "./ai-indicator"
|
|
3430
3319
|
}
|
|
3431
|
-
}
|
|
3432
|
-
]
|
|
3433
|
-
},
|
|
3434
|
-
{
|
|
3435
|
-
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3437
|
-
"declarations": [
|
|
3438
|
-
{
|
|
3439
|
-
"kind": "function",
|
|
3440
|
-
"name": "formatValidationErrors",
|
|
3441
|
-
"return": {
|
|
3442
|
-
"type": {
|
|
3443
|
-
"text": "string"
|
|
3444
|
-
}
|
|
3445
|
-
},
|
|
3446
|
-
"parameters": [
|
|
3447
|
-
{
|
|
3448
|
-
"name": "errors",
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "ValidationError[]"
|
|
3451
|
-
}
|
|
3452
|
-
}
|
|
3453
|
-
],
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3455
3320
|
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "function",
|
|
3458
|
-
"name": "showCriteriaError",
|
|
3459
|
-
"return": {
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "void"
|
|
3462
|
-
}
|
|
3463
|
-
},
|
|
3464
|
-
"parameters": [
|
|
3465
|
-
{
|
|
3466
|
-
"name": "title",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3474
|
-
"type": {
|
|
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\")"
|
|
3485
|
-
}
|
|
3486
|
-
],
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"exports": [
|
|
3491
3321
|
{
|
|
3492
3322
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3323
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3494
3324
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "
|
|
3325
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3326
|
+
"module": "./ai-indicator.template"
|
|
3497
3327
|
}
|
|
3498
3328
|
},
|
|
3499
3329
|
{
|
|
3500
3330
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3331
|
+
"name": "foundationAiIndicatorStyles",
|
|
3502
3332
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "
|
|
3333
|
+
"name": "foundationAiIndicatorStyles",
|
|
3334
|
+
"module": "./ai-indicator.styles"
|
|
3505
3335
|
}
|
|
3506
3336
|
}
|
|
3507
3337
|
]
|
|
3508
3338
|
},
|
|
3509
3339
|
{
|
|
3510
3340
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/ai-
|
|
3341
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3512
3342
|
"declarations": [
|
|
3513
3343
|
{
|
|
3514
|
-
"kind": "
|
|
3515
|
-
"name": "
|
|
3516
|
-
"
|
|
3517
|
-
"type": {
|
|
3518
|
-
"text": "ElementStyles"
|
|
3519
|
-
}
|
|
3520
|
-
},
|
|
3521
|
-
"parameters": [
|
|
3522
|
-
{
|
|
3523
|
-
"name": "context",
|
|
3524
|
-
"type": {
|
|
3525
|
-
"text": "ElementDefinitionContext"
|
|
3526
|
-
}
|
|
3527
|
-
},
|
|
3528
|
-
{
|
|
3529
|
-
"name": "definition",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "FoundationElementDefinition"
|
|
3532
|
-
}
|
|
3533
|
-
}
|
|
3534
|
-
]
|
|
3344
|
+
"kind": "variable",
|
|
3345
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3346
|
+
"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`"
|
|
3535
3347
|
}
|
|
3536
3348
|
],
|
|
3537
3349
|
"exports": [
|
|
3538
3350
|
{
|
|
3539
3351
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3352
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3541
3353
|
"declaration": {
|
|
3542
|
-
"name": "
|
|
3543
|
-
"module": "src/ai-
|
|
3354
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3355
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3544
3356
|
}
|
|
3545
3357
|
}
|
|
3546
3358
|
]
|
|
3547
3359
|
},
|
|
3548
3360
|
{
|
|
3549
3361
|
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-
|
|
3362
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3551
3363
|
"declarations": [
|
|
3552
3364
|
{
|
|
3553
3365
|
"kind": "variable",
|
|
3554
|
-
"name": "
|
|
3366
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3555
3367
|
"type": {
|
|
3556
|
-
"text": "ViewTemplate<
|
|
3368
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3557
3369
|
},
|
|
3558
|
-
"default": "html`\n ${(x) =>
|
|
3370
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3559
3371
|
}
|
|
3560
3372
|
],
|
|
3561
3373
|
"exports": [
|
|
3562
3374
|
{
|
|
3563
3375
|
"kind": "js",
|
|
3564
|
-
"name": "
|
|
3376
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3565
3377
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/ai-
|
|
3378
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3379
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3568
3380
|
}
|
|
3569
3381
|
}
|
|
3570
3382
|
]
|
|
3571
3383
|
},
|
|
3572
3384
|
{
|
|
3573
3385
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/ai-
|
|
3386
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3575
3387
|
"declarations": [
|
|
3576
3388
|
{
|
|
3577
3389
|
"kind": "class",
|
|
3578
|
-
"description": "",
|
|
3579
|
-
"name": "
|
|
3390
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3391
|
+
"name": "AiCriteriaSearch",
|
|
3580
3392
|
"members": [
|
|
3581
3393
|
{
|
|
3582
3394
|
"kind": "field",
|
|
@@ -3587,15 +3399,54 @@
|
|
|
3587
3399
|
},
|
|
3588
3400
|
{
|
|
3589
3401
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3402
|
+
"name": "placeholder",
|
|
3591
3403
|
"type": {
|
|
3592
|
-
"text": "
|
|
3404
|
+
"text": "string"
|
|
3405
|
+
},
|
|
3406
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "field",
|
|
3410
|
+
"name": "disabled",
|
|
3411
|
+
"type": {
|
|
3412
|
+
"text": "boolean"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "field",
|
|
3417
|
+
"name": "inputValue",
|
|
3418
|
+
"type": {
|
|
3419
|
+
"text": "string"
|
|
3420
|
+
},
|
|
3421
|
+
"default": "''"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "field",
|
|
3425
|
+
"name": "isInterpreting",
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "boolean"
|
|
3428
|
+
},
|
|
3429
|
+
"default": "false"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"kind": "field",
|
|
3433
|
+
"name": "lastValidCriteria",
|
|
3434
|
+
"type": {
|
|
3435
|
+
"text": "string | null"
|
|
3593
3436
|
},
|
|
3594
3437
|
"default": "null"
|
|
3595
3438
|
},
|
|
3596
3439
|
{
|
|
3597
3440
|
"kind": "field",
|
|
3598
|
-
"name": "
|
|
3441
|
+
"name": "activeGroups",
|
|
3442
|
+
"type": {
|
|
3443
|
+
"text": "CriteriaGroup[]"
|
|
3444
|
+
},
|
|
3445
|
+
"default": "[]"
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"kind": "field",
|
|
3449
|
+
"name": "showingChips",
|
|
3599
3450
|
"type": {
|
|
3600
3451
|
"text": "boolean"
|
|
3601
3452
|
},
|
|
@@ -3603,15 +3454,15 @@
|
|
|
3603
3454
|
},
|
|
3604
3455
|
{
|
|
3605
3456
|
"kind": "field",
|
|
3606
|
-
"name": "
|
|
3457
|
+
"name": "fieldMetadata",
|
|
3607
3458
|
"type": {
|
|
3608
|
-
"text": "
|
|
3459
|
+
"text": "MetadataDetail[] | string[]"
|
|
3609
3460
|
},
|
|
3610
|
-
"default": "
|
|
3461
|
+
"default": "[]"
|
|
3611
3462
|
},
|
|
3612
3463
|
{
|
|
3613
3464
|
"kind": "field",
|
|
3614
|
-
"name": "
|
|
3465
|
+
"name": "isRecording",
|
|
3615
3466
|
"type": {
|
|
3616
3467
|
"text": "boolean"
|
|
3617
3468
|
},
|
|
@@ -3619,29 +3470,33 @@
|
|
|
3619
3470
|
},
|
|
3620
3471
|
{
|
|
3621
3472
|
"kind": "field",
|
|
3622
|
-
"name": "
|
|
3473
|
+
"name": "textAreaRef",
|
|
3623
3474
|
"type": {
|
|
3624
|
-
"text": "
|
|
3475
|
+
"text": "HTMLTextAreaElement"
|
|
3625
3476
|
},
|
|
3626
|
-
"privacy": "
|
|
3627
|
-
"default": "null"
|
|
3477
|
+
"privacy": "public"
|
|
3628
3478
|
},
|
|
3629
3479
|
{
|
|
3630
3480
|
"kind": "field",
|
|
3631
|
-
"name": "
|
|
3632
|
-
"
|
|
3481
|
+
"name": "stopRecording",
|
|
3482
|
+
"type": {
|
|
3483
|
+
"text": "(() => void) | null"
|
|
3484
|
+
},
|
|
3485
|
+
"privacy": "private",
|
|
3486
|
+
"default": "null"
|
|
3633
3487
|
},
|
|
3634
3488
|
{
|
|
3635
3489
|
"kind": "field",
|
|
3636
|
-
"name": "
|
|
3490
|
+
"name": "speechApplyDebounceTimer",
|
|
3637
3491
|
"type": {
|
|
3638
|
-
"text": "
|
|
3492
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3639
3493
|
},
|
|
3640
|
-
"
|
|
3494
|
+
"privacy": "private",
|
|
3495
|
+
"default": "null"
|
|
3641
3496
|
},
|
|
3642
3497
|
{
|
|
3643
3498
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3499
|
+
"name": "speechAvailable",
|
|
3645
3500
|
"type": {
|
|
3646
3501
|
"text": "boolean"
|
|
3647
3502
|
},
|
|
@@ -3649,69 +3504,65 @@
|
|
|
3649
3504
|
},
|
|
3650
3505
|
{
|
|
3651
3506
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3507
|
+
"name": "criteriaChips",
|
|
3653
3508
|
"type": {
|
|
3654
|
-
"text": "
|
|
3509
|
+
"text": "CriteriaChip[]"
|
|
3655
3510
|
},
|
|
3656
3511
|
"readonly": true
|
|
3657
3512
|
},
|
|
3658
3513
|
{
|
|
3659
3514
|
"kind": "method",
|
|
3660
|
-
"name": "
|
|
3515
|
+
"name": "getFieldLabel",
|
|
3516
|
+
"privacy": "private",
|
|
3661
3517
|
"return": {
|
|
3662
3518
|
"type": {
|
|
3663
|
-
"text": "
|
|
3519
|
+
"text": "string"
|
|
3664
3520
|
}
|
|
3665
|
-
}
|
|
3666
|
-
},
|
|
3667
|
-
{
|
|
3668
|
-
"kind": "method",
|
|
3669
|
-
"name": "handleClickOutside",
|
|
3670
|
-
"privacy": "private",
|
|
3521
|
+
},
|
|
3671
3522
|
"parameters": [
|
|
3672
3523
|
{
|
|
3673
|
-
"name": "
|
|
3524
|
+
"name": "fieldName",
|
|
3674
3525
|
"type": {
|
|
3675
|
-
"text": "
|
|
3526
|
+
"text": "string"
|
|
3676
3527
|
}
|
|
3677
3528
|
}
|
|
3678
3529
|
]
|
|
3679
3530
|
},
|
|
3680
3531
|
{
|
|
3681
3532
|
"kind": "method",
|
|
3682
|
-
"name": "
|
|
3683
|
-
},
|
|
3684
|
-
{
|
|
3685
|
-
"kind": "method",
|
|
3686
|
-
"name": "refreshStatus",
|
|
3533
|
+
"name": "toggleCriteriaView",
|
|
3687
3534
|
"return": {
|
|
3688
3535
|
"type": {
|
|
3689
|
-
"text": "
|
|
3536
|
+
"text": "void"
|
|
3690
3537
|
}
|
|
3691
3538
|
}
|
|
3692
3539
|
},
|
|
3693
3540
|
{
|
|
3694
3541
|
"kind": "method",
|
|
3695
|
-
"name": "
|
|
3696
|
-
"privacy": "private",
|
|
3542
|
+
"name": "removeChip",
|
|
3697
3543
|
"return": {
|
|
3698
3544
|
"type": {
|
|
3699
|
-
"text": "
|
|
3545
|
+
"text": "void"
|
|
3700
3546
|
}
|
|
3701
3547
|
},
|
|
3702
3548
|
"parameters": [
|
|
3703
3549
|
{
|
|
3704
|
-
"name": "
|
|
3550
|
+
"name": "groupIndex",
|
|
3705
3551
|
"type": {
|
|
3706
|
-
"text": "
|
|
3552
|
+
"text": "number"
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"name": "clauseIndex",
|
|
3557
|
+
"type": {
|
|
3558
|
+
"text": "number"
|
|
3707
3559
|
}
|
|
3708
3560
|
}
|
|
3709
3561
|
]
|
|
3710
3562
|
},
|
|
3711
3563
|
{
|
|
3712
3564
|
"kind": "method",
|
|
3713
|
-
"name": "
|
|
3714
|
-
"privacy": "private",
|
|
3565
|
+
"name": "clearChips",
|
|
3715
3566
|
"return": {
|
|
3716
3567
|
"type": {
|
|
3717
3568
|
"text": "void"
|
|
@@ -3720,32 +3571,24 @@
|
|
|
3720
3571
|
},
|
|
3721
3572
|
{
|
|
3722
3573
|
"kind": "method",
|
|
3723
|
-
"name": "
|
|
3724
|
-
"privacy": "private",
|
|
3725
|
-
"return": {
|
|
3726
|
-
"type": {
|
|
3727
|
-
"text": "void"
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3574
|
+
"name": "handleSubmit"
|
|
3730
3575
|
},
|
|
3731
3576
|
{
|
|
3732
3577
|
"kind": "method",
|
|
3733
|
-
"name": "
|
|
3734
|
-
"privacy": "private",
|
|
3735
|
-
"return": {
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "void"
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3578
|
+
"name": "handleBlur"
|
|
3740
3579
|
},
|
|
3741
3580
|
{
|
|
3742
3581
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3582
|
+
"name": "clear"
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"kind": "method",
|
|
3586
|
+
"name": "toggleSpeechInput"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"kind": "method",
|
|
3590
|
+
"name": "clearSpeechApplyDebounce",
|
|
3591
|
+
"privacy": "private"
|
|
3749
3592
|
},
|
|
3750
3593
|
{
|
|
3751
3594
|
"kind": "field",
|
|
@@ -3859,88 +3702,245 @@
|
|
|
3859
3702
|
}
|
|
3860
3703
|
}
|
|
3861
3704
|
],
|
|
3705
|
+
"events": [
|
|
3706
|
+
{
|
|
3707
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3708
|
+
"name": "criteria-changed"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3712
|
+
"name": "validation-errors"
|
|
3713
|
+
}
|
|
3714
|
+
],
|
|
3715
|
+
"attributes": [
|
|
3716
|
+
{
|
|
3717
|
+
"name": "placeholder",
|
|
3718
|
+
"type": {
|
|
3719
|
+
"text": "string"
|
|
3720
|
+
},
|
|
3721
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3722
|
+
"fieldName": "placeholder"
|
|
3723
|
+
},
|
|
3724
|
+
{
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "boolean"
|
|
3727
|
+
},
|
|
3728
|
+
"fieldName": "disabled"
|
|
3729
|
+
}
|
|
3730
|
+
],
|
|
3862
3731
|
"superclass": {
|
|
3863
3732
|
"name": "FoundationElement",
|
|
3864
3733
|
"package": "@microsoft/fast-foundation"
|
|
3865
3734
|
},
|
|
3866
|
-
"tagName": "%%prefix%%-ai-
|
|
3735
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3867
3736
|
"customElement": true
|
|
3868
3737
|
},
|
|
3869
3738
|
{
|
|
3870
3739
|
"kind": "variable",
|
|
3871
|
-
"name": "
|
|
3740
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3741
|
+
"type": {
|
|
3742
|
+
"text": "ShadowRootInit"
|
|
3743
|
+
},
|
|
3744
|
+
"default": "undefined"
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"kind": "variable",
|
|
3748
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"text": "object"
|
|
3751
|
+
},
|
|
3752
|
+
"default": "{}"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"kind": "variable",
|
|
3756
|
+
"name": "foundationAiCriteriaSearch"
|
|
3872
3757
|
}
|
|
3873
3758
|
],
|
|
3874
3759
|
"exports": [
|
|
3875
3760
|
{
|
|
3876
3761
|
"kind": "js",
|
|
3877
|
-
"name": "
|
|
3762
|
+
"name": "AiCriteriaSearch",
|
|
3878
3763
|
"declaration": {
|
|
3879
|
-
"name": "
|
|
3880
|
-
"module": "src/ai-
|
|
3764
|
+
"name": "AiCriteriaSearch",
|
|
3765
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3881
3766
|
}
|
|
3882
3767
|
},
|
|
3883
3768
|
{
|
|
3884
3769
|
"kind": "js",
|
|
3885
|
-
"name": "
|
|
3770
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3886
3771
|
"declaration": {
|
|
3887
|
-
"name": "
|
|
3888
|
-
"module": "src/ai-
|
|
3772
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3773
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"kind": "js",
|
|
3778
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3779
|
+
"declaration": {
|
|
3780
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3781
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"kind": "js",
|
|
3786
|
+
"name": "foundationAiCriteriaSearch",
|
|
3787
|
+
"declaration": {
|
|
3788
|
+
"name": "foundationAiCriteriaSearch",
|
|
3789
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3889
3790
|
}
|
|
3890
3791
|
}
|
|
3891
3792
|
]
|
|
3892
3793
|
},
|
|
3893
3794
|
{
|
|
3894
3795
|
"kind": "javascript-module",
|
|
3895
|
-
"path": "src/ai-
|
|
3796
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3896
3797
|
"declarations": [],
|
|
3897
3798
|
"exports": [
|
|
3898
3799
|
{
|
|
3899
3800
|
"kind": "js",
|
|
3900
|
-
"name": "
|
|
3801
|
+
"name": "AiCriteriaSearch",
|
|
3901
3802
|
"declaration": {
|
|
3902
|
-
"name": "
|
|
3903
|
-
"module": "./ai-
|
|
3803
|
+
"name": "AiCriteriaSearch",
|
|
3804
|
+
"module": "./ai-criteria-search"
|
|
3904
3805
|
}
|
|
3905
3806
|
},
|
|
3906
3807
|
{
|
|
3907
3808
|
"kind": "js",
|
|
3908
|
-
"name": "
|
|
3809
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3909
3810
|
"declaration": {
|
|
3910
|
-
"name": "
|
|
3911
|
-
"module": "./ai-
|
|
3811
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3812
|
+
"module": "./ai-criteria-search"
|
|
3912
3813
|
}
|
|
3913
3814
|
},
|
|
3914
3815
|
{
|
|
3915
3816
|
"kind": "js",
|
|
3916
|
-
"name": "
|
|
3817
|
+
"name": "foundationAiCriteriaSearch",
|
|
3917
3818
|
"declaration": {
|
|
3918
|
-
"name": "
|
|
3919
|
-
"module": "./ai-
|
|
3819
|
+
"name": "foundationAiCriteriaSearch",
|
|
3820
|
+
"module": "./ai-criteria-search"
|
|
3920
3821
|
}
|
|
3921
3822
|
},
|
|
3922
3823
|
{
|
|
3923
3824
|
"kind": "js",
|
|
3924
|
-
"name": "
|
|
3825
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3925
3826
|
"declaration": {
|
|
3926
|
-
"name": "
|
|
3927
|
-
"module": "./ai-
|
|
3827
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3828
|
+
"module": "./ai-criteria-search"
|
|
3928
3829
|
}
|
|
3929
3830
|
},
|
|
3930
3831
|
{
|
|
3931
3832
|
"kind": "js",
|
|
3932
|
-
"name": "
|
|
3833
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3933
3834
|
"declaration": {
|
|
3934
|
-
"name": "
|
|
3935
|
-
"module": "./ai-
|
|
3835
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3836
|
+
"module": "./ai-criteria-search.styles"
|
|
3936
3837
|
}
|
|
3937
3838
|
},
|
|
3938
3839
|
{
|
|
3939
3840
|
"kind": "js",
|
|
3940
|
-
"name": "
|
|
3841
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3941
3842
|
"declaration": {
|
|
3942
|
-
"name": "
|
|
3943
|
-
"module": "./ai-
|
|
3843
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3844
|
+
"module": "./ai-criteria-search.template"
|
|
3845
|
+
}
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"kind": "js",
|
|
3849
|
+
"name": "*",
|
|
3850
|
+
"declaration": {
|
|
3851
|
+
"name": "*",
|
|
3852
|
+
"package": "./validation/criteria-ir"
|
|
3853
|
+
}
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"kind": "js",
|
|
3857
|
+
"name": "*",
|
|
3858
|
+
"declaration": {
|
|
3859
|
+
"name": "*",
|
|
3860
|
+
"package": "./validation/operator-map"
|
|
3861
|
+
}
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "js",
|
|
3865
|
+
"name": "*",
|
|
3866
|
+
"declaration": {
|
|
3867
|
+
"name": "*",
|
|
3868
|
+
"package": "./validation/schema-validator"
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
]
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"kind": "javascript-module",
|
|
3875
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3876
|
+
"declarations": [
|
|
3877
|
+
{
|
|
3878
|
+
"kind": "function",
|
|
3879
|
+
"name": "formatValidationErrors",
|
|
3880
|
+
"return": {
|
|
3881
|
+
"type": {
|
|
3882
|
+
"text": "string"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"parameters": [
|
|
3886
|
+
{
|
|
3887
|
+
"name": "errors",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "ValidationError[]"
|
|
3890
|
+
}
|
|
3891
|
+
}
|
|
3892
|
+
],
|
|
3893
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"kind": "function",
|
|
3897
|
+
"name": "showCriteriaError",
|
|
3898
|
+
"return": {
|
|
3899
|
+
"type": {
|
|
3900
|
+
"text": "void"
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3903
|
+
"parameters": [
|
|
3904
|
+
{
|
|
3905
|
+
"name": "title",
|
|
3906
|
+
"type": {
|
|
3907
|
+
"text": "string"
|
|
3908
|
+
},
|
|
3909
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"name": "body",
|
|
3913
|
+
"type": {
|
|
3914
|
+
"text": "string"
|
|
3915
|
+
},
|
|
3916
|
+
"description": "Error message to display"
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"name": "tagName",
|
|
3920
|
+
"type": {
|
|
3921
|
+
"text": "string"
|
|
3922
|
+
},
|
|
3923
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3924
|
+
}
|
|
3925
|
+
],
|
|
3926
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3927
|
+
}
|
|
3928
|
+
],
|
|
3929
|
+
"exports": [
|
|
3930
|
+
{
|
|
3931
|
+
"kind": "js",
|
|
3932
|
+
"name": "formatValidationErrors",
|
|
3933
|
+
"declaration": {
|
|
3934
|
+
"name": "formatValidationErrors",
|
|
3935
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3936
|
+
}
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"kind": "js",
|
|
3940
|
+
"name": "showCriteriaError",
|
|
3941
|
+
"declaration": {
|
|
3942
|
+
"name": "showCriteriaError",
|
|
3943
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
3946
|
]
|