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