@genesislcap/foundation-ui 15.5.0 → 15.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +914 -914
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1424,65 +1424,11 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
1426
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1428
|
-
"declarations": [],
|
|
1429
|
-
"exports": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./styles"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "*",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "*",
|
|
1443
|
-
"package": "./tokens"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"kind": "js",
|
|
1448
|
-
"name": "*",
|
|
1449
|
-
"declaration": {
|
|
1450
|
-
"name": "*",
|
|
1451
|
-
"package": "./values"
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1427
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1459
1428
|
"declarations": [
|
|
1460
1429
|
{
|
|
1461
1430
|
"kind": "function",
|
|
1462
|
-
"name": "
|
|
1463
|
-
"return": {
|
|
1464
|
-
"type": {
|
|
1465
|
-
"text": "ElementStyles"
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
"parameters": [
|
|
1469
|
-
{
|
|
1470
|
-
"name": "context",
|
|
1471
|
-
"type": {
|
|
1472
|
-
"text": "ElementDefinitionContext"
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
"name": "definition",
|
|
1477
|
-
"type": {
|
|
1478
|
-
"text": "FoundationElementDefinition"
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
]
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"kind": "function",
|
|
1485
|
-
"name": "foundationActionsMenuStyles",
|
|
1431
|
+
"name": "foundationAccordionItemStyles",
|
|
1486
1432
|
"return": {
|
|
1487
1433
|
"type": {
|
|
1488
1434
|
"text": "ElementStyles"
|
|
@@ -1507,320 +1453,195 @@
|
|
|
1507
1453
|
"exports": [
|
|
1508
1454
|
{
|
|
1509
1455
|
"kind": "js",
|
|
1510
|
-
"name": "
|
|
1511
|
-
"declaration": {
|
|
1512
|
-
"name": "actionsMenuBaseStyles",
|
|
1513
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
"kind": "js",
|
|
1518
|
-
"name": "foundationActionsMenuStyles",
|
|
1456
|
+
"name": "foundationAccordionItemStyles",
|
|
1519
1457
|
"declaration": {
|
|
1520
|
-
"name": "
|
|
1521
|
-
"module": "src/
|
|
1458
|
+
"name": "foundationAccordionItemStyles",
|
|
1459
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1522
1460
|
}
|
|
1523
1461
|
}
|
|
1524
1462
|
]
|
|
1525
1463
|
},
|
|
1526
1464
|
{
|
|
1527
1465
|
"kind": "javascript-module",
|
|
1528
|
-
"path": "src/
|
|
1466
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1529
1467
|
"declarations": [
|
|
1530
1468
|
{
|
|
1531
1469
|
"kind": "function",
|
|
1532
|
-
"name": "
|
|
1470
|
+
"name": "foundationAccordionItemTemplate",
|
|
1471
|
+
"return": {
|
|
1472
|
+
"type": {
|
|
1473
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1533
1476
|
"parameters": [
|
|
1534
1477
|
{
|
|
1535
|
-
"name": "
|
|
1478
|
+
"name": "context",
|
|
1536
1479
|
"type": {
|
|
1537
|
-
"text": "
|
|
1480
|
+
"text": "ElementDefinitionContext"
|
|
1538
1481
|
}
|
|
1539
|
-
}
|
|
1540
|
-
]
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
"kind": "function",
|
|
1544
|
-
"name": "singleOptionTemplate",
|
|
1545
|
-
"parameters": [
|
|
1482
|
+
},
|
|
1546
1483
|
{
|
|
1547
|
-
"name": "
|
|
1484
|
+
"name": "definition",
|
|
1548
1485
|
"type": {
|
|
1549
|
-
"text": "
|
|
1486
|
+
"text": "FoundationElementDefinition"
|
|
1550
1487
|
}
|
|
1551
1488
|
}
|
|
1552
1489
|
]
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"kind": "variable",
|
|
1556
|
-
"name": "foundationActionsMenuTemplate",
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1559
|
-
},
|
|
1560
|
-
"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`"
|
|
1561
1490
|
}
|
|
1562
1491
|
],
|
|
1563
1492
|
"exports": [
|
|
1564
1493
|
{
|
|
1565
1494
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1567
|
-
"declaration": {
|
|
1568
|
-
"name": "menuTemplate",
|
|
1569
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"kind": "js",
|
|
1574
|
-
"name": "singleOptionTemplate",
|
|
1575
|
-
"declaration": {
|
|
1576
|
-
"name": "singleOptionTemplate",
|
|
1577
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1578
|
-
}
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"kind": "js",
|
|
1582
|
-
"name": "foundationActionsMenuTemplate",
|
|
1495
|
+
"name": "foundationAccordionItemTemplate",
|
|
1583
1496
|
"declaration": {
|
|
1584
|
-
"name": "
|
|
1585
|
-
"module": "src/
|
|
1497
|
+
"name": "foundationAccordionItemTemplate",
|
|
1498
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1586
1499
|
}
|
|
1587
1500
|
}
|
|
1588
1501
|
]
|
|
1589
1502
|
},
|
|
1590
1503
|
{
|
|
1591
1504
|
"kind": "javascript-module",
|
|
1592
|
-
"path": "src/
|
|
1505
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1593
1506
|
"declarations": [
|
|
1594
1507
|
{
|
|
1595
1508
|
"kind": "class",
|
|
1596
1509
|
"description": "",
|
|
1597
|
-
"name": "
|
|
1598
|
-
"
|
|
1510
|
+
"name": "AccordionItem",
|
|
1511
|
+
"superclass": {
|
|
1512
|
+
"name": "FASTAccordionItem",
|
|
1513
|
+
"package": "@microsoft/fast-components"
|
|
1514
|
+
},
|
|
1515
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1516
|
+
"customElement": true,
|
|
1517
|
+
"attributes": [
|
|
1599
1518
|
{
|
|
1600
|
-
"
|
|
1601
|
-
"name": "actions",
|
|
1519
|
+
"name": "heading-level",
|
|
1602
1520
|
"type": {
|
|
1603
|
-
"text": "
|
|
1521
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1522
|
+
},
|
|
1523
|
+
"default": "2",
|
|
1524
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1525
|
+
"fieldName": "headinglevel",
|
|
1526
|
+
"inheritedFrom": {
|
|
1527
|
+
"name": "AccordionItem",
|
|
1528
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1604
1529
|
}
|
|
1605
1530
|
},
|
|
1606
1531
|
{
|
|
1607
|
-
"kind": "field",
|
|
1608
|
-
"name": "isVertical",
|
|
1609
1532
|
"type": {
|
|
1610
1533
|
"text": "boolean"
|
|
1611
1534
|
},
|
|
1612
|
-
"default": "false"
|
|
1535
|
+
"default": "false",
|
|
1536
|
+
"description": "Expands or collapses the item.",
|
|
1537
|
+
"fieldName": "expanded",
|
|
1538
|
+
"inheritedFrom": {
|
|
1539
|
+
"name": "AccordionItem",
|
|
1540
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1541
|
+
}
|
|
1613
1542
|
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "id",
|
|
1545
|
+
"type": {
|
|
1546
|
+
"text": "string"
|
|
1547
|
+
},
|
|
1548
|
+
"description": "The item ID",
|
|
1549
|
+
"fieldName": "id",
|
|
1550
|
+
"inheritedFrom": {
|
|
1551
|
+
"name": "AccordionItem",
|
|
1552
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1556
|
+
"members": [
|
|
1614
1557
|
{
|
|
1615
1558
|
"kind": "field",
|
|
1616
|
-
"name": "
|
|
1559
|
+
"name": "headinglevel",
|
|
1617
1560
|
"type": {
|
|
1618
|
-
"text": "
|
|
1561
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1619
1562
|
},
|
|
1620
|
-
"
|
|
1563
|
+
"privacy": "public",
|
|
1564
|
+
"default": "2",
|
|
1565
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1566
|
+
"inheritedFrom": {
|
|
1567
|
+
"name": "AccordionItem",
|
|
1568
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1569
|
+
}
|
|
1621
1570
|
},
|
|
1622
1571
|
{
|
|
1623
1572
|
"kind": "field",
|
|
1624
|
-
"name": "
|
|
1573
|
+
"name": "expanded",
|
|
1625
1574
|
"type": {
|
|
1626
1575
|
"text": "boolean"
|
|
1627
1576
|
},
|
|
1628
|
-
"
|
|
1577
|
+
"privacy": "public",
|
|
1578
|
+
"default": "false",
|
|
1579
|
+
"description": "Expands or collapses the item.",
|
|
1580
|
+
"inheritedFrom": {
|
|
1581
|
+
"name": "AccordionItem",
|
|
1582
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1583
|
+
}
|
|
1629
1584
|
},
|
|
1630
1585
|
{
|
|
1631
1586
|
"kind": "field",
|
|
1632
|
-
"name": "
|
|
1587
|
+
"name": "id",
|
|
1633
1588
|
"type": {
|
|
1634
1589
|
"text": "string"
|
|
1590
|
+
},
|
|
1591
|
+
"privacy": "public",
|
|
1592
|
+
"description": "The item ID",
|
|
1593
|
+
"inheritedFrom": {
|
|
1594
|
+
"name": "AccordionItem",
|
|
1595
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1635
1596
|
}
|
|
1636
1597
|
},
|
|
1637
1598
|
{
|
|
1638
1599
|
"kind": "field",
|
|
1639
|
-
"name": "
|
|
1640
|
-
"
|
|
1641
|
-
|
|
1600
|
+
"name": "change",
|
|
1601
|
+
"privacy": "private",
|
|
1602
|
+
"inheritedFrom": {
|
|
1603
|
+
"name": "AccordionItem",
|
|
1604
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1642
1605
|
}
|
|
1643
1606
|
},
|
|
1644
1607
|
{
|
|
1645
1608
|
"kind": "field",
|
|
1646
|
-
"name": "
|
|
1609
|
+
"name": "_presentation",
|
|
1647
1610
|
"type": {
|
|
1648
|
-
"text": "
|
|
1611
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1649
1612
|
},
|
|
1650
|
-
"
|
|
1613
|
+
"privacy": "private",
|
|
1614
|
+
"default": "void 0",
|
|
1615
|
+
"inheritedFrom": {
|
|
1616
|
+
"name": "FoundationElement",
|
|
1617
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1618
|
+
}
|
|
1651
1619
|
},
|
|
1652
1620
|
{
|
|
1653
1621
|
"kind": "field",
|
|
1654
|
-
"name": "
|
|
1622
|
+
"name": "$presentation",
|
|
1655
1623
|
"type": {
|
|
1656
|
-
"text": "
|
|
1624
|
+
"text": "ComponentPresentation | null"
|
|
1657
1625
|
},
|
|
1658
|
-
"
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
"type": {
|
|
1664
|
-
"text": "string"
|
|
1626
|
+
"privacy": "public",
|
|
1627
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1628
|
+
"inheritedFrom": {
|
|
1629
|
+
"name": "FoundationElement",
|
|
1630
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1665
1631
|
}
|
|
1666
1632
|
},
|
|
1667
1633
|
{
|
|
1668
1634
|
"kind": "field",
|
|
1669
|
-
"name": "
|
|
1635
|
+
"name": "template",
|
|
1670
1636
|
"type": {
|
|
1671
|
-
"text": "
|
|
1637
|
+
"text": "ElementViewTemplate | void | null"
|
|
1672
1638
|
},
|
|
1673
|
-
"
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
"text": "boolean"
|
|
1680
|
-
},
|
|
1681
|
-
"default": "false"
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "field",
|
|
1685
|
-
"name": "singleOption",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "ActionMenuItem"
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"kind": "field",
|
|
1692
|
-
"name": "actionsMenu",
|
|
1693
|
-
"type": {
|
|
1694
|
-
"text": "HTMLElement"
|
|
1695
|
-
}
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"kind": "field",
|
|
1699
|
-
"name": "actionsOpener",
|
|
1700
|
-
"type": {
|
|
1701
|
-
"text": "HTMLElement"
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"kind": "method",
|
|
1706
|
-
"name": "updateMenuPosition",
|
|
1707
|
-
"privacy": "private"
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"kind": "method",
|
|
1711
|
-
"name": "definitionChanged",
|
|
1712
|
-
"privacy": "protected",
|
|
1713
|
-
"parameters": [
|
|
1714
|
-
{
|
|
1715
|
-
"name": "oldValue",
|
|
1716
|
-
"type": {
|
|
1717
|
-
"text": "any"
|
|
1718
|
-
}
|
|
1719
|
-
},
|
|
1720
|
-
{
|
|
1721
|
-
"name": "newValue",
|
|
1722
|
-
"type": {
|
|
1723
|
-
"text": "any"
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
]
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"kind": "method",
|
|
1730
|
-
"name": "openChanged",
|
|
1731
|
-
"privacy": "protected"
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "method",
|
|
1735
|
-
"name": "toggleActionsMenuVisibility"
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"kind": "method",
|
|
1739
|
-
"name": "onActionMenuItemClick",
|
|
1740
|
-
"parameters": [
|
|
1741
|
-
{
|
|
1742
|
-
"name": "callback",
|
|
1743
|
-
"type": {
|
|
1744
|
-
"text": "(rowData) => void | any"
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
]
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"kind": "field",
|
|
1751
|
-
"name": "allActions",
|
|
1752
|
-
"type": {
|
|
1753
|
-
"text": "ActionMenuItem[]"
|
|
1754
|
-
},
|
|
1755
|
-
"readonly": true
|
|
1756
|
-
},
|
|
1757
|
-
{
|
|
1758
|
-
"kind": "field",
|
|
1759
|
-
"name": "rowData",
|
|
1760
|
-
"readonly": true
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"kind": "method",
|
|
1764
|
-
"name": "getLabel",
|
|
1765
|
-
"parameters": [
|
|
1766
|
-
{
|
|
1767
|
-
"name": "name",
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "string | ((rowData: any) => string)"
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
]
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
"kind": "method",
|
|
1776
|
-
"name": "getTemplate",
|
|
1777
|
-
"parameters": [
|
|
1778
|
-
{
|
|
1779
|
-
"name": "prefix",
|
|
1780
|
-
"type": {
|
|
1781
|
-
"text": "string"
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
]
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
"kind": "field",
|
|
1788
|
-
"name": "_presentation",
|
|
1789
|
-
"type": {
|
|
1790
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1791
|
-
},
|
|
1792
|
-
"privacy": "private",
|
|
1793
|
-
"default": "void 0",
|
|
1794
|
-
"inheritedFrom": {
|
|
1795
|
-
"name": "FoundationElement",
|
|
1796
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "field",
|
|
1801
|
-
"name": "$presentation",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "ComponentPresentation | null"
|
|
1804
|
-
},
|
|
1805
|
-
"privacy": "public",
|
|
1806
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1807
|
-
"inheritedFrom": {
|
|
1808
|
-
"name": "FoundationElement",
|
|
1809
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"kind": "field",
|
|
1814
|
-
"name": "template",
|
|
1815
|
-
"type": {
|
|
1816
|
-
"text": "ElementViewTemplate | void | null"
|
|
1817
|
-
},
|
|
1818
|
-
"privacy": "public",
|
|
1819
|
-
"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.",
|
|
1820
|
-
"inheritedFrom": {
|
|
1821
|
-
"name": "FoundationElement",
|
|
1822
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1823
|
-
}
|
|
1639
|
+
"privacy": "public",
|
|
1640
|
+
"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.",
|
|
1641
|
+
"inheritedFrom": {
|
|
1642
|
+
"name": "FoundationElement",
|
|
1643
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1644
|
+
}
|
|
1824
1645
|
},
|
|
1825
1646
|
{
|
|
1826
1647
|
"kind": "method",
|
|
@@ -1895,107 +1716,78 @@
|
|
|
1895
1716
|
}
|
|
1896
1717
|
}
|
|
1897
1718
|
],
|
|
1898
|
-
"
|
|
1899
|
-
{
|
|
1900
|
-
"name": "is-vertical",
|
|
1901
|
-
"type": {
|
|
1902
|
-
"text": "boolean"
|
|
1903
|
-
},
|
|
1904
|
-
"default": "false",
|
|
1905
|
-
"fieldName": "isVertical"
|
|
1906
|
-
},
|
|
1907
|
-
{
|
|
1908
|
-
"name": "add-default-actions",
|
|
1909
|
-
"type": {
|
|
1910
|
-
"text": "boolean"
|
|
1911
|
-
},
|
|
1912
|
-
"default": "true",
|
|
1913
|
-
"fieldName": "addDefaultActions"
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"name": "auto-close-on-action",
|
|
1917
|
-
"type": {
|
|
1918
|
-
"text": "boolean"
|
|
1919
|
-
},
|
|
1920
|
-
"default": "true",
|
|
1921
|
-
"fieldName": "autoCloseOnAction"
|
|
1922
|
-
},
|
|
1923
|
-
{
|
|
1924
|
-
"name": "name",
|
|
1925
|
-
"type": {
|
|
1926
|
-
"text": "string"
|
|
1927
|
-
},
|
|
1928
|
-
"default": "'Actions'",
|
|
1929
|
-
"fieldName": "name"
|
|
1930
|
-
},
|
|
1931
|
-
{
|
|
1932
|
-
"name": "open",
|
|
1933
|
-
"type": {
|
|
1934
|
-
"text": "boolean"
|
|
1935
|
-
},
|
|
1936
|
-
"default": "false",
|
|
1937
|
-
"fieldName": "open"
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"name": "buttonAppearance",
|
|
1941
|
-
"type": {
|
|
1942
|
-
"text": "string"
|
|
1943
|
-
},
|
|
1944
|
-
"fieldName": "buttonAppearance"
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"name": "hide-disabled",
|
|
1948
|
-
"type": {
|
|
1949
|
-
"text": "boolean"
|
|
1950
|
-
},
|
|
1951
|
-
"default": "false",
|
|
1952
|
-
"fieldName": "hideDisabled"
|
|
1953
|
-
},
|
|
1719
|
+
"events": [
|
|
1954
1720
|
{
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1721
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1722
|
+
"name": "change",
|
|
1723
|
+
"inheritedFrom": {
|
|
1724
|
+
"name": "AccordionItem",
|
|
1725
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1726
|
+
}
|
|
1961
1727
|
}
|
|
1962
|
-
]
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1728
|
+
]
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "variable",
|
|
1732
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "ShadowRootInit"
|
|
1966
1735
|
},
|
|
1967
|
-
"
|
|
1968
|
-
"customElement": true
|
|
1736
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1969
1737
|
},
|
|
1970
1738
|
{
|
|
1971
1739
|
"kind": "variable",
|
|
1972
|
-
"name": "
|
|
1973
|
-
"
|
|
1740
|
+
"name": "defaultAccordionItemConfig",
|
|
1741
|
+
"type": {
|
|
1742
|
+
"text": "object"
|
|
1743
|
+
},
|
|
1744
|
+
"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}"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "variable",
|
|
1748
|
+
"name": "foundationAccordionItem",
|
|
1749
|
+
"description": "The Foundation Accordion Item",
|
|
1974
1750
|
"privacy": "public"
|
|
1975
1751
|
}
|
|
1976
1752
|
],
|
|
1977
1753
|
"exports": [
|
|
1978
1754
|
{
|
|
1979
1755
|
"kind": "js",
|
|
1980
|
-
"name": "
|
|
1756
|
+
"name": "AccordionItem",
|
|
1981
1757
|
"declaration": {
|
|
1982
|
-
"name": "
|
|
1983
|
-
"module": "src/
|
|
1758
|
+
"name": "AccordionItem",
|
|
1759
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1984
1760
|
}
|
|
1985
1761
|
},
|
|
1986
1762
|
{
|
|
1987
1763
|
"kind": "js",
|
|
1988
|
-
"name": "
|
|
1764
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1989
1765
|
"declaration": {
|
|
1990
|
-
"name": "
|
|
1991
|
-
"module": "src/
|
|
1766
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1767
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1992
1768
|
}
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "js",
|
|
1772
|
+
"name": "defaultAccordionItemConfig",
|
|
1773
|
+
"declaration": {
|
|
1774
|
+
"name": "defaultAccordionItemConfig",
|
|
1775
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "js",
|
|
1780
|
+
"name": "foundationAccordionItem",
|
|
1781
|
+
"declaration": {
|
|
1782
|
+
"name": "foundationAccordionItem",
|
|
1783
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
]
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1997
1789
|
"kind": "javascript-module",
|
|
1998
|
-
"path": "src/
|
|
1790
|
+
"path": "src/accordion-item/index.ts",
|
|
1999
1791
|
"declarations": [],
|
|
2000
1792
|
"exports": [
|
|
2001
1793
|
{
|
|
@@ -2003,7 +1795,7 @@
|
|
|
2003
1795
|
"name": "*",
|
|
2004
1796
|
"declaration": {
|
|
2005
1797
|
"name": "*",
|
|
2006
|
-
"package": "./
|
|
1798
|
+
"package": "./accordion-item.template"
|
|
2007
1799
|
}
|
|
2008
1800
|
},
|
|
2009
1801
|
{
|
|
@@ -2011,7 +1803,7 @@
|
|
|
2011
1803
|
"name": "*",
|
|
2012
1804
|
"declaration": {
|
|
2013
1805
|
"name": "*",
|
|
2014
|
-
"package": "./
|
|
1806
|
+
"package": "./accordion-item.styles"
|
|
2015
1807
|
}
|
|
2016
1808
|
},
|
|
2017
1809
|
{
|
|
@@ -2019,18 +1811,41 @@
|
|
|
2019
1811
|
"name": "*",
|
|
2020
1812
|
"declaration": {
|
|
2021
1813
|
"name": "*",
|
|
2022
|
-
"package": "./
|
|
1814
|
+
"package": "./accordion-item"
|
|
2023
1815
|
}
|
|
2024
1816
|
}
|
|
2025
1817
|
]
|
|
2026
1818
|
},
|
|
2027
1819
|
{
|
|
2028
1820
|
"kind": "javascript-module",
|
|
2029
|
-
"path": "src/
|
|
1821
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2030
1822
|
"declarations": [
|
|
2031
1823
|
{
|
|
2032
1824
|
"kind": "function",
|
|
2033
|
-
"name": "
|
|
1825
|
+
"name": "actionsMenuBaseStyles",
|
|
1826
|
+
"return": {
|
|
1827
|
+
"type": {
|
|
1828
|
+
"text": "ElementStyles"
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
"parameters": [
|
|
1832
|
+
{
|
|
1833
|
+
"name": "context",
|
|
1834
|
+
"type": {
|
|
1835
|
+
"text": "ElementDefinitionContext"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"name": "definition",
|
|
1840
|
+
"type": {
|
|
1841
|
+
"text": "FoundationElementDefinition"
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
]
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "function",
|
|
1848
|
+
"name": "foundationActionsMenuStyles",
|
|
2034
1849
|
"return": {
|
|
2035
1850
|
"type": {
|
|
2036
1851
|
"text": "ElementStyles"
|
|
@@ -2055,156 +1870,281 @@
|
|
|
2055
1870
|
"exports": [
|
|
2056
1871
|
{
|
|
2057
1872
|
"kind": "js",
|
|
2058
|
-
"name": "
|
|
1873
|
+
"name": "actionsMenuBaseStyles",
|
|
2059
1874
|
"declaration": {
|
|
2060
|
-
"name": "
|
|
2061
|
-
"module": "src/
|
|
1875
|
+
"name": "actionsMenuBaseStyles",
|
|
1876
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "js",
|
|
1881
|
+
"name": "foundationActionsMenuStyles",
|
|
1882
|
+
"declaration": {
|
|
1883
|
+
"name": "foundationActionsMenuStyles",
|
|
1884
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2062
1885
|
}
|
|
2063
1886
|
}
|
|
2064
1887
|
]
|
|
2065
1888
|
},
|
|
2066
1889
|
{
|
|
2067
1890
|
"kind": "javascript-module",
|
|
2068
|
-
"path": "src/
|
|
1891
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2069
1892
|
"declarations": [
|
|
2070
1893
|
{
|
|
2071
1894
|
"kind": "function",
|
|
2072
|
-
"name": "
|
|
2073
|
-
"return": {
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
1895
|
+
"name": "menuTemplate",
|
|
2078
1896
|
"parameters": [
|
|
2079
1897
|
{
|
|
2080
|
-
"name": "
|
|
1898
|
+
"name": "prefix",
|
|
2081
1899
|
"type": {
|
|
2082
|
-
"text": "
|
|
1900
|
+
"text": "string"
|
|
2083
1901
|
}
|
|
2084
|
-
}
|
|
1902
|
+
}
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"kind": "function",
|
|
1907
|
+
"name": "singleOptionTemplate",
|
|
1908
|
+
"parameters": [
|
|
2085
1909
|
{
|
|
2086
|
-
"name": "
|
|
1910
|
+
"name": "prefix",
|
|
2087
1911
|
"type": {
|
|
2088
|
-
"text": "
|
|
1912
|
+
"text": "string"
|
|
2089
1913
|
}
|
|
2090
1914
|
}
|
|
2091
1915
|
]
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"kind": "variable",
|
|
1919
|
+
"name": "foundationActionsMenuTemplate",
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1922
|
+
},
|
|
1923
|
+
"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`"
|
|
2092
1924
|
}
|
|
2093
1925
|
],
|
|
2094
1926
|
"exports": [
|
|
2095
1927
|
{
|
|
2096
1928
|
"kind": "js",
|
|
2097
|
-
"name": "
|
|
1929
|
+
"name": "menuTemplate",
|
|
2098
1930
|
"declaration": {
|
|
2099
|
-
"name": "
|
|
2100
|
-
"module": "src/
|
|
1931
|
+
"name": "menuTemplate",
|
|
1932
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"kind": "js",
|
|
1937
|
+
"name": "singleOptionTemplate",
|
|
1938
|
+
"declaration": {
|
|
1939
|
+
"name": "singleOptionTemplate",
|
|
1940
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"kind": "js",
|
|
1945
|
+
"name": "foundationActionsMenuTemplate",
|
|
1946
|
+
"declaration": {
|
|
1947
|
+
"name": "foundationActionsMenuTemplate",
|
|
1948
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2101
1949
|
}
|
|
2102
1950
|
}
|
|
2103
1951
|
]
|
|
2104
1952
|
},
|
|
2105
1953
|
{
|
|
2106
1954
|
"kind": "javascript-module",
|
|
2107
|
-
"path": "src/
|
|
1955
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2108
1956
|
"declarations": [
|
|
2109
1957
|
{
|
|
2110
1958
|
"kind": "class",
|
|
2111
1959
|
"description": "",
|
|
2112
|
-
"name": "
|
|
2113
|
-
"
|
|
2114
|
-
"name": "FASTAccordionItem",
|
|
2115
|
-
"package": "@microsoft/fast-components"
|
|
2116
|
-
},
|
|
2117
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2118
|
-
"customElement": true,
|
|
2119
|
-
"attributes": [
|
|
1960
|
+
"name": "ActionsMenu",
|
|
1961
|
+
"members": [
|
|
2120
1962
|
{
|
|
2121
|
-
"
|
|
1963
|
+
"kind": "field",
|
|
1964
|
+
"name": "actions",
|
|
2122
1965
|
"type": {
|
|
2123
|
-
"text": "
|
|
2124
|
-
},
|
|
2125
|
-
"default": "2",
|
|
2126
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2127
|
-
"fieldName": "headinglevel",
|
|
2128
|
-
"inheritedFrom": {
|
|
2129
|
-
"name": "AccordionItem",
|
|
2130
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1966
|
+
"text": "ActionMenuItem[]"
|
|
2131
1967
|
}
|
|
2132
1968
|
},
|
|
2133
1969
|
{
|
|
1970
|
+
"kind": "field",
|
|
1971
|
+
"name": "isVertical",
|
|
2134
1972
|
"type": {
|
|
2135
1973
|
"text": "boolean"
|
|
2136
1974
|
},
|
|
2137
|
-
"default": "false"
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
"
|
|
2141
|
-
|
|
2142
|
-
|
|
1975
|
+
"default": "false"
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"kind": "field",
|
|
1979
|
+
"name": "addDefaultActions",
|
|
1980
|
+
"type": {
|
|
1981
|
+
"text": "boolean"
|
|
1982
|
+
},
|
|
1983
|
+
"default": "true"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"kind": "field",
|
|
1987
|
+
"name": "autoCloseOnAction",
|
|
1988
|
+
"type": {
|
|
1989
|
+
"text": "boolean"
|
|
1990
|
+
},
|
|
1991
|
+
"default": "true"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "classNames",
|
|
1996
|
+
"type": {
|
|
1997
|
+
"text": "string"
|
|
2143
1998
|
}
|
|
2144
1999
|
},
|
|
2145
2000
|
{
|
|
2146
|
-
"
|
|
2001
|
+
"kind": "field",
|
|
2002
|
+
"name": "definition",
|
|
2003
|
+
"type": {
|
|
2004
|
+
"text": "any"
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "field",
|
|
2009
|
+
"name": "name",
|
|
2147
2010
|
"type": {
|
|
2148
2011
|
"text": "string"
|
|
2149
2012
|
},
|
|
2150
|
-
"
|
|
2151
|
-
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "AccordionItem",
|
|
2154
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2155
|
-
}
|
|
2156
|
-
}
|
|
2157
|
-
],
|
|
2158
|
-
"members": [
|
|
2013
|
+
"default": "'Actions'"
|
|
2014
|
+
},
|
|
2159
2015
|
{
|
|
2160
2016
|
"kind": "field",
|
|
2161
|
-
"name": "
|
|
2017
|
+
"name": "open",
|
|
2162
2018
|
"type": {
|
|
2163
|
-
"text": "
|
|
2019
|
+
"text": "boolean"
|
|
2164
2020
|
},
|
|
2165
|
-
"
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
"
|
|
2169
|
-
|
|
2170
|
-
|
|
2021
|
+
"default": "false"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"kind": "field",
|
|
2025
|
+
"name": "buttonAppearance",
|
|
2026
|
+
"type": {
|
|
2027
|
+
"text": "string"
|
|
2171
2028
|
}
|
|
2172
2029
|
},
|
|
2173
2030
|
{
|
|
2174
2031
|
"kind": "field",
|
|
2175
|
-
"name": "
|
|
2032
|
+
"name": "hideDisabled",
|
|
2176
2033
|
"type": {
|
|
2177
2034
|
"text": "boolean"
|
|
2178
2035
|
},
|
|
2179
|
-
"
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
"
|
|
2183
|
-
|
|
2184
|
-
|
|
2036
|
+
"default": "false"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"kind": "field",
|
|
2040
|
+
"name": "hideMenuSingleOption",
|
|
2041
|
+
"type": {
|
|
2042
|
+
"text": "boolean"
|
|
2043
|
+
},
|
|
2044
|
+
"default": "false"
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"kind": "field",
|
|
2048
|
+
"name": "singleOption",
|
|
2049
|
+
"type": {
|
|
2050
|
+
"text": "ActionMenuItem"
|
|
2051
|
+
}
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "field",
|
|
2055
|
+
"name": "actionsMenu",
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "HTMLElement"
|
|
2185
2058
|
}
|
|
2186
2059
|
},
|
|
2187
2060
|
{
|
|
2188
2061
|
"kind": "field",
|
|
2189
|
-
"name": "
|
|
2062
|
+
"name": "actionsOpener",
|
|
2063
|
+
"type": {
|
|
2064
|
+
"text": "HTMLElement"
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"kind": "method",
|
|
2069
|
+
"name": "updateMenuPosition",
|
|
2070
|
+
"privacy": "private"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"kind": "method",
|
|
2074
|
+
"name": "definitionChanged",
|
|
2075
|
+
"privacy": "protected",
|
|
2076
|
+
"parameters": [
|
|
2077
|
+
{
|
|
2078
|
+
"name": "oldValue",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "any"
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"name": "newValue",
|
|
2085
|
+
"type": {
|
|
2086
|
+
"text": "any"
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
]
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "openChanged",
|
|
2094
|
+
"privacy": "protected"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"kind": "method",
|
|
2098
|
+
"name": "toggleActionsMenuVisibility"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"kind": "method",
|
|
2102
|
+
"name": "onActionMenuItemClick",
|
|
2103
|
+
"parameters": [
|
|
2104
|
+
{
|
|
2105
|
+
"name": "callback",
|
|
2106
|
+
"type": {
|
|
2107
|
+
"text": "(rowData) => void | any"
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
]
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"kind": "field",
|
|
2114
|
+
"name": "allActions",
|
|
2190
2115
|
"type": {
|
|
2191
|
-
"text": "
|
|
2116
|
+
"text": "ActionMenuItem[]"
|
|
2192
2117
|
},
|
|
2193
|
-
"
|
|
2194
|
-
"description": "The item ID",
|
|
2195
|
-
"inheritedFrom": {
|
|
2196
|
-
"name": "AccordionItem",
|
|
2197
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2198
|
-
}
|
|
2118
|
+
"readonly": true
|
|
2199
2119
|
},
|
|
2200
2120
|
{
|
|
2201
2121
|
"kind": "field",
|
|
2202
|
-
"name": "
|
|
2203
|
-
"
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2122
|
+
"name": "rowData",
|
|
2123
|
+
"readonly": true
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "method",
|
|
2127
|
+
"name": "getLabel",
|
|
2128
|
+
"parameters": [
|
|
2129
|
+
{
|
|
2130
|
+
"name": "name",
|
|
2131
|
+
"type": {
|
|
2132
|
+
"text": "string | ((rowData: any) => string)"
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
]
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"kind": "method",
|
|
2139
|
+
"name": "getTemplate",
|
|
2140
|
+
"parameters": [
|
|
2141
|
+
{
|
|
2142
|
+
"name": "prefix",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "string"
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
]
|
|
2208
2148
|
},
|
|
2209
2149
|
{
|
|
2210
2150
|
"kind": "field",
|
|
@@ -2318,78 +2258,107 @@
|
|
|
2318
2258
|
}
|
|
2319
2259
|
}
|
|
2320
2260
|
],
|
|
2321
|
-
"
|
|
2261
|
+
"attributes": [
|
|
2322
2262
|
{
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2263
|
+
"name": "is-vertical",
|
|
2264
|
+
"type": {
|
|
2265
|
+
"text": "boolean"
|
|
2266
|
+
},
|
|
2267
|
+
"default": "false",
|
|
2268
|
+
"fieldName": "isVertical"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "add-default-actions",
|
|
2272
|
+
"type": {
|
|
2273
|
+
"text": "boolean"
|
|
2274
|
+
},
|
|
2275
|
+
"default": "true",
|
|
2276
|
+
"fieldName": "addDefaultActions"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "auto-close-on-action",
|
|
2280
|
+
"type": {
|
|
2281
|
+
"text": "boolean"
|
|
2282
|
+
},
|
|
2283
|
+
"default": "true",
|
|
2284
|
+
"fieldName": "autoCloseOnAction"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"name": "name",
|
|
2288
|
+
"type": {
|
|
2289
|
+
"text": "string"
|
|
2290
|
+
},
|
|
2291
|
+
"default": "'Actions'",
|
|
2292
|
+
"fieldName": "name"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"name": "open",
|
|
2296
|
+
"type": {
|
|
2297
|
+
"text": "boolean"
|
|
2298
|
+
},
|
|
2299
|
+
"default": "false",
|
|
2300
|
+
"fieldName": "open"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "buttonAppearance",
|
|
2304
|
+
"type": {
|
|
2305
|
+
"text": "string"
|
|
2306
|
+
},
|
|
2307
|
+
"fieldName": "buttonAppearance"
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "hide-disabled",
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "boolean"
|
|
2313
|
+
},
|
|
2314
|
+
"default": "false",
|
|
2315
|
+
"fieldName": "hideDisabled"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "hide-menu-single-option",
|
|
2319
|
+
"type": {
|
|
2320
|
+
"text": "boolean"
|
|
2321
|
+
},
|
|
2322
|
+
"default": "false",
|
|
2323
|
+
"fieldName": "hideMenuSingleOption"
|
|
2329
2324
|
}
|
|
2330
|
-
]
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "ShadowRootInit"
|
|
2337
|
-
},
|
|
2338
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"kind": "variable",
|
|
2342
|
-
"name": "defaultAccordionItemConfig",
|
|
2343
|
-
"type": {
|
|
2344
|
-
"text": "object"
|
|
2325
|
+
],
|
|
2326
|
+
"superclass": {
|
|
2327
|
+
"name": "FoundationElement",
|
|
2328
|
+
"package": "@microsoft/fast-foundation"
|
|
2345
2329
|
},
|
|
2346
|
-
"
|
|
2330
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2331
|
+
"customElement": true
|
|
2347
2332
|
},
|
|
2348
2333
|
{
|
|
2349
2334
|
"kind": "variable",
|
|
2350
|
-
"name": "
|
|
2351
|
-
"description": "The Foundation
|
|
2335
|
+
"name": "foundationActionsMenu",
|
|
2336
|
+
"description": "The Foundation Actions Menu",
|
|
2352
2337
|
"privacy": "public"
|
|
2353
2338
|
}
|
|
2354
2339
|
],
|
|
2355
2340
|
"exports": [
|
|
2356
2341
|
{
|
|
2357
2342
|
"kind": "js",
|
|
2358
|
-
"name": "
|
|
2359
|
-
"declaration": {
|
|
2360
|
-
"name": "AccordionItem",
|
|
2361
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "js",
|
|
2366
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2367
|
-
"declaration": {
|
|
2368
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2369
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "js",
|
|
2374
|
-
"name": "defaultAccordionItemConfig",
|
|
2343
|
+
"name": "ActionsMenu",
|
|
2375
2344
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2345
|
+
"name": "ActionsMenu",
|
|
2346
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2378
2347
|
}
|
|
2379
2348
|
},
|
|
2380
2349
|
{
|
|
2381
2350
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2351
|
+
"name": "foundationActionsMenu",
|
|
2383
2352
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2353
|
+
"name": "foundationActionsMenu",
|
|
2354
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2386
2355
|
}
|
|
2387
2356
|
}
|
|
2388
2357
|
]
|
|
2389
2358
|
},
|
|
2390
2359
|
{
|
|
2391
2360
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2361
|
+
"path": "src/actions-menu/index.ts",
|
|
2393
2362
|
"declarations": [],
|
|
2394
2363
|
"exports": [
|
|
2395
2364
|
{
|
|
@@ -2397,7 +2366,7 @@
|
|
|
2397
2366
|
"name": "*",
|
|
2398
2367
|
"declaration": {
|
|
2399
2368
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2369
|
+
"package": "./actions-menu.styles"
|
|
2401
2370
|
}
|
|
2402
2371
|
},
|
|
2403
2372
|
{
|
|
@@ -2405,7 +2374,7 @@
|
|
|
2405
2374
|
"name": "*",
|
|
2406
2375
|
"declaration": {
|
|
2407
2376
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2377
|
+
"package": "./actions-menu.template"
|
|
2409
2378
|
}
|
|
2410
2379
|
},
|
|
2411
2380
|
{
|
|
@@ -2413,122 +2382,111 @@
|
|
|
2413
2382
|
"name": "*",
|
|
2414
2383
|
"declaration": {
|
|
2415
2384
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2385
|
+
"package": "./actions-menu"
|
|
2417
2386
|
}
|
|
2418
2387
|
}
|
|
2419
2388
|
]
|
|
2420
2389
|
},
|
|
2421
2390
|
{
|
|
2422
2391
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/ai-
|
|
2392
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2424
2393
|
"declarations": [
|
|
2425
2394
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2395
|
+
"kind": "function",
|
|
2396
|
+
"name": "foundationAiIndicatorStyles",
|
|
2397
|
+
"return": {
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "ElementStyles"
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"parameters": [
|
|
2403
|
+
{
|
|
2404
|
+
"name": "context",
|
|
2405
|
+
"type": {
|
|
2406
|
+
"text": "ElementDefinitionContext"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"name": "definition",
|
|
2411
|
+
"type": {
|
|
2412
|
+
"text": "FoundationElementDefinition"
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
]
|
|
2429
2416
|
}
|
|
2430
2417
|
],
|
|
2431
2418
|
"exports": [
|
|
2432
2419
|
{
|
|
2433
2420
|
"kind": "js",
|
|
2434
|
-
"name": "
|
|
2421
|
+
"name": "foundationAiIndicatorStyles",
|
|
2435
2422
|
"declaration": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"module": "src/ai-
|
|
2423
|
+
"name": "foundationAiIndicatorStyles",
|
|
2424
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2438
2425
|
}
|
|
2439
2426
|
}
|
|
2440
2427
|
]
|
|
2441
2428
|
},
|
|
2442
2429
|
{
|
|
2443
2430
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/ai-
|
|
2431
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2445
2432
|
"declarations": [
|
|
2446
2433
|
{
|
|
2447
2434
|
"kind": "variable",
|
|
2448
|
-
"name": "
|
|
2435
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2449
2436
|
"type": {
|
|
2450
|
-
"text": "ViewTemplate<
|
|
2437
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2451
2438
|
},
|
|
2452
|
-
"default": "html`\n ${(x) =>
|
|
2439
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2453
2440
|
}
|
|
2454
2441
|
],
|
|
2455
2442
|
"exports": [
|
|
2456
2443
|
{
|
|
2457
2444
|
"kind": "js",
|
|
2458
|
-
"name": "
|
|
2445
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2459
2446
|
"declaration": {
|
|
2460
|
-
"name": "
|
|
2461
|
-
"module": "src/ai-
|
|
2447
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2448
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2462
2449
|
}
|
|
2463
2450
|
}
|
|
2464
2451
|
]
|
|
2465
2452
|
},
|
|
2466
2453
|
{
|
|
2467
2454
|
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/ai-
|
|
2455
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2469
2456
|
"declarations": [
|
|
2470
2457
|
{
|
|
2471
2458
|
"kind": "class",
|
|
2472
|
-
"description": "
|
|
2473
|
-
"name": "
|
|
2474
|
-
"members": [
|
|
2475
|
-
{
|
|
2476
|
-
"kind": "field",
|
|
2477
|
-
"name": "providerRegistry",
|
|
2478
|
-
"type": {
|
|
2479
|
-
"text": "AIProviderRegistry"
|
|
2480
|
-
}
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
"kind": "field",
|
|
2484
|
-
"name": "placeholder",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "string"
|
|
2487
|
-
},
|
|
2488
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"kind": "field",
|
|
2492
|
-
"name": "disabled",
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "boolean"
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2459
|
+
"description": "",
|
|
2460
|
+
"name": "AiIndicator",
|
|
2461
|
+
"members": [
|
|
2497
2462
|
{
|
|
2498
2463
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2464
|
+
"name": "providerRegistry",
|
|
2500
2465
|
"type": {
|
|
2501
|
-
"text": "
|
|
2502
|
-
}
|
|
2503
|
-
"default": "''"
|
|
2466
|
+
"text": "AIProviderRegistry"
|
|
2467
|
+
}
|
|
2504
2468
|
},
|
|
2505
2469
|
{
|
|
2506
2470
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2471
|
+
"name": "aiProvider",
|
|
2508
2472
|
"type": {
|
|
2509
|
-
"text": "
|
|
2473
|
+
"text": "AIProvider | undefined"
|
|
2510
2474
|
},
|
|
2511
|
-
"
|
|
2475
|
+
"privacy": "private",
|
|
2476
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2477
|
+
"readonly": true
|
|
2512
2478
|
},
|
|
2513
2479
|
{
|
|
2514
2480
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2481
|
+
"name": "status",
|
|
2516
2482
|
"type": {
|
|
2517
|
-
"text": "
|
|
2483
|
+
"text": "AIStatus | null"
|
|
2518
2484
|
},
|
|
2519
2485
|
"default": "null"
|
|
2520
2486
|
},
|
|
2521
2487
|
{
|
|
2522
2488
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "CriteriaGroup[]"
|
|
2526
|
-
},
|
|
2527
|
-
"default": "[]"
|
|
2528
|
-
},
|
|
2529
|
-
{
|
|
2530
|
-
"kind": "field",
|
|
2531
|
-
"name": "showingChips",
|
|
2489
|
+
"name": "open",
|
|
2532
2490
|
"type": {
|
|
2533
2491
|
"text": "boolean"
|
|
2534
2492
|
},
|
|
@@ -2536,15 +2494,15 @@
|
|
|
2536
2494
|
},
|
|
2537
2495
|
{
|
|
2538
2496
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2497
|
+
"name": "state",
|
|
2540
2498
|
"type": {
|
|
2541
|
-
"text": "
|
|
2499
|
+
"text": "AIIndicatorState"
|
|
2542
2500
|
},
|
|
2543
|
-
"default": "
|
|
2501
|
+
"default": "'none'"
|
|
2544
2502
|
},
|
|
2545
2503
|
{
|
|
2546
2504
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2505
|
+
"name": "isInstalling",
|
|
2548
2506
|
"type": {
|
|
2549
2507
|
"text": "boolean"
|
|
2550
2508
|
},
|
|
@@ -2552,33 +2510,29 @@
|
|
|
2552
2510
|
},
|
|
2553
2511
|
{
|
|
2554
2512
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2513
|
+
"name": "pollTimer",
|
|
2556
2514
|
"type": {
|
|
2557
|
-
"text": "
|
|
2515
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2558
2516
|
},
|
|
2559
|
-
"privacy": "
|
|
2517
|
+
"privacy": "private",
|
|
2518
|
+
"default": "null"
|
|
2560
2519
|
},
|
|
2561
2520
|
{
|
|
2562
2521
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2564
|
-
"
|
|
2565
|
-
"text": "(() => void) | null"
|
|
2566
|
-
},
|
|
2567
|
-
"privacy": "private",
|
|
2568
|
-
"default": "null"
|
|
2522
|
+
"name": "clickOutside",
|
|
2523
|
+
"privacy": "private"
|
|
2569
2524
|
},
|
|
2570
2525
|
{
|
|
2571
2526
|
"kind": "field",
|
|
2572
|
-
"name": "
|
|
2527
|
+
"name": "chromeStatusLabel",
|
|
2573
2528
|
"type": {
|
|
2574
|
-
"text": "
|
|
2529
|
+
"text": "string | null"
|
|
2575
2530
|
},
|
|
2576
|
-
"
|
|
2577
|
-
"default": "null"
|
|
2531
|
+
"readonly": true
|
|
2578
2532
|
},
|
|
2579
2533
|
{
|
|
2580
2534
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2535
|
+
"name": "canInstall",
|
|
2582
2536
|
"type": {
|
|
2583
2537
|
"text": "boolean"
|
|
2584
2538
|
},
|
|
@@ -2586,65 +2540,69 @@
|
|
|
2586
2540
|
},
|
|
2587
2541
|
{
|
|
2588
2542
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2543
|
+
"name": "isDownloading",
|
|
2590
2544
|
"type": {
|
|
2591
|
-
"text": "
|
|
2545
|
+
"text": "boolean"
|
|
2592
2546
|
},
|
|
2593
2547
|
"readonly": true
|
|
2594
2548
|
},
|
|
2595
2549
|
{
|
|
2596
2550
|
"kind": "method",
|
|
2597
|
-
"name": "
|
|
2598
|
-
"privacy": "private",
|
|
2551
|
+
"name": "openChanged",
|
|
2599
2552
|
"return": {
|
|
2600
2553
|
"type": {
|
|
2601
|
-
"text": "
|
|
2554
|
+
"text": "void"
|
|
2602
2555
|
}
|
|
2603
|
-
}
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"kind": "method",
|
|
2560
|
+
"name": "handleClickOutside",
|
|
2561
|
+
"privacy": "private",
|
|
2604
2562
|
"parameters": [
|
|
2605
2563
|
{
|
|
2606
|
-
"name": "
|
|
2564
|
+
"name": "event",
|
|
2607
2565
|
"type": {
|
|
2608
|
-
"text": "
|
|
2566
|
+
"text": "MouseEvent"
|
|
2609
2567
|
}
|
|
2610
2568
|
}
|
|
2611
2569
|
]
|
|
2612
2570
|
},
|
|
2613
2571
|
{
|
|
2614
2572
|
"kind": "method",
|
|
2615
|
-
"name": "
|
|
2573
|
+
"name": "toggleDropdown"
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "method",
|
|
2577
|
+
"name": "refreshStatus",
|
|
2616
2578
|
"return": {
|
|
2617
2579
|
"type": {
|
|
2618
|
-
"text": "void"
|
|
2580
|
+
"text": "Promise<void>"
|
|
2619
2581
|
}
|
|
2620
2582
|
}
|
|
2621
2583
|
},
|
|
2622
2584
|
{
|
|
2623
2585
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2586
|
+
"name": "deriveState",
|
|
2587
|
+
"privacy": "private",
|
|
2625
2588
|
"return": {
|
|
2626
2589
|
"type": {
|
|
2627
|
-
"text": "
|
|
2590
|
+
"text": "AIIndicatorState"
|
|
2628
2591
|
}
|
|
2629
2592
|
},
|
|
2630
2593
|
"parameters": [
|
|
2631
2594
|
{
|
|
2632
|
-
"name": "
|
|
2633
|
-
"type": {
|
|
2634
|
-
"text": "number"
|
|
2635
|
-
}
|
|
2636
|
-
},
|
|
2637
|
-
{
|
|
2638
|
-
"name": "clauseIndex",
|
|
2595
|
+
"name": "s",
|
|
2639
2596
|
"type": {
|
|
2640
|
-
"text": "
|
|
2597
|
+
"text": "AIStatus | null"
|
|
2641
2598
|
}
|
|
2642
2599
|
}
|
|
2643
2600
|
]
|
|
2644
2601
|
},
|
|
2645
2602
|
{
|
|
2646
2603
|
"kind": "method",
|
|
2647
|
-
"name": "
|
|
2604
|
+
"name": "maybeStartPolling",
|
|
2605
|
+
"privacy": "private",
|
|
2648
2606
|
"return": {
|
|
2649
2607
|
"type": {
|
|
2650
2608
|
"text": "void"
|
|
@@ -2653,24 +2611,32 @@
|
|
|
2653
2611
|
},
|
|
2654
2612
|
{
|
|
2655
2613
|
"kind": "method",
|
|
2656
|
-
"name": "
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
"kind": "method",
|
|
2664
|
-
"name": "clear"
|
|
2614
|
+
"name": "startPolling",
|
|
2615
|
+
"privacy": "private",
|
|
2616
|
+
"return": {
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "void"
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2665
2621
|
},
|
|
2666
2622
|
{
|
|
2667
2623
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2624
|
+
"name": "stopPolling",
|
|
2625
|
+
"privacy": "private",
|
|
2626
|
+
"return": {
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "void"
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2669
2631
|
},
|
|
2670
2632
|
{
|
|
2671
2633
|
"kind": "method",
|
|
2672
|
-
"name": "
|
|
2673
|
-
"
|
|
2634
|
+
"name": "onInstall",
|
|
2635
|
+
"return": {
|
|
2636
|
+
"type": {
|
|
2637
|
+
"text": "Promise<void>"
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2674
2640
|
},
|
|
2675
2641
|
{
|
|
2676
2642
|
"kind": "field",
|
|
@@ -2784,320 +2750,176 @@
|
|
|
2784
2750
|
}
|
|
2785
2751
|
}
|
|
2786
2752
|
],
|
|
2787
|
-
"events": [
|
|
2788
|
-
{
|
|
2789
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2790
|
-
"name": "criteria-changed"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2794
|
-
"name": "validation-errors"
|
|
2795
|
-
}
|
|
2796
|
-
],
|
|
2797
|
-
"attributes": [
|
|
2798
|
-
{
|
|
2799
|
-
"name": "placeholder",
|
|
2800
|
-
"type": {
|
|
2801
|
-
"text": "string"
|
|
2802
|
-
},
|
|
2803
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2804
|
-
"fieldName": "placeholder"
|
|
2805
|
-
},
|
|
2806
|
-
{
|
|
2807
|
-
"type": {
|
|
2808
|
-
"text": "boolean"
|
|
2809
|
-
},
|
|
2810
|
-
"fieldName": "disabled"
|
|
2811
|
-
}
|
|
2812
|
-
],
|
|
2813
2753
|
"superclass": {
|
|
2814
2754
|
"name": "FoundationElement",
|
|
2815
2755
|
"package": "@microsoft/fast-foundation"
|
|
2816
2756
|
},
|
|
2817
|
-
"tagName": "%%prefix%%-ai-
|
|
2757
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2818
2758
|
"customElement": true
|
|
2819
2759
|
},
|
|
2820
2760
|
{
|
|
2821
2761
|
"kind": "variable",
|
|
2822
|
-
"name": "
|
|
2823
|
-
"type": {
|
|
2824
|
-
"text": "ShadowRootInit"
|
|
2825
|
-
},
|
|
2826
|
-
"default": "undefined"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "variable",
|
|
2830
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2831
|
-
"type": {
|
|
2832
|
-
"text": "object"
|
|
2833
|
-
},
|
|
2834
|
-
"default": "{}"
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"kind": "variable",
|
|
2838
|
-
"name": "foundationAiCriteriaSearch"
|
|
2762
|
+
"name": "foundationAiIndicator"
|
|
2839
2763
|
}
|
|
2840
2764
|
],
|
|
2841
2765
|
"exports": [
|
|
2842
2766
|
{
|
|
2843
2767
|
"kind": "js",
|
|
2844
|
-
"name": "
|
|
2845
|
-
"declaration": {
|
|
2846
|
-
"name": "AiCriteriaSearch",
|
|
2847
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "js",
|
|
2852
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2853
|
-
"declaration": {
|
|
2854
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2855
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "js",
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2768
|
+
"name": "AiIndicator",
|
|
2861
2769
|
"declaration": {
|
|
2862
|
-
"name": "
|
|
2863
|
-
"module": "src/ai-
|
|
2770
|
+
"name": "AiIndicator",
|
|
2771
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2864
2772
|
}
|
|
2865
2773
|
},
|
|
2866
2774
|
{
|
|
2867
2775
|
"kind": "js",
|
|
2868
|
-
"name": "
|
|
2776
|
+
"name": "foundationAiIndicator",
|
|
2869
2777
|
"declaration": {
|
|
2870
|
-
"name": "
|
|
2871
|
-
"module": "src/ai-
|
|
2778
|
+
"name": "foundationAiIndicator",
|
|
2779
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2872
2780
|
}
|
|
2873
2781
|
}
|
|
2874
2782
|
]
|
|
2875
2783
|
},
|
|
2876
2784
|
{
|
|
2877
2785
|
"kind": "javascript-module",
|
|
2878
|
-
"path": "src/ai-
|
|
2786
|
+
"path": "src/ai-indicator/index.ts",
|
|
2879
2787
|
"declarations": [],
|
|
2880
2788
|
"exports": [
|
|
2881
2789
|
{
|
|
2882
2790
|
"kind": "js",
|
|
2883
|
-
"name": "
|
|
2884
|
-
"declaration": {
|
|
2885
|
-
"name": "AiCriteriaSearch",
|
|
2886
|
-
"module": "./ai-criteria-search"
|
|
2887
|
-
}
|
|
2888
|
-
},
|
|
2889
|
-
{
|
|
2890
|
-
"kind": "js",
|
|
2891
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2892
|
-
"declaration": {
|
|
2893
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2894
|
-
"module": "./ai-criteria-search"
|
|
2895
|
-
}
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "js",
|
|
2899
|
-
"name": "foundationAiCriteriaSearch",
|
|
2900
|
-
"declaration": {
|
|
2901
|
-
"name": "foundationAiCriteriaSearch",
|
|
2902
|
-
"module": "./ai-criteria-search"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
{
|
|
2906
|
-
"kind": "js",
|
|
2907
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2791
|
+
"name": "AiIndicator",
|
|
2908
2792
|
"declaration": {
|
|
2909
|
-
"name": "
|
|
2910
|
-
"module": "./ai-
|
|
2793
|
+
"name": "AiIndicator",
|
|
2794
|
+
"module": "./ai-indicator"
|
|
2911
2795
|
}
|
|
2912
2796
|
},
|
|
2913
2797
|
{
|
|
2914
2798
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2799
|
+
"name": "foundationAiIndicator",
|
|
2916
2800
|
"declaration": {
|
|
2917
|
-
"name": "
|
|
2918
|
-
"module": "./ai-
|
|
2801
|
+
"name": "foundationAiIndicator",
|
|
2802
|
+
"module": "./ai-indicator"
|
|
2919
2803
|
}
|
|
2920
2804
|
},
|
|
2921
2805
|
{
|
|
2922
2806
|
"kind": "js",
|
|
2923
|
-
"name": "
|
|
2807
|
+
"name": "type",
|
|
2924
2808
|
"declaration": {
|
|
2925
|
-
"name": "
|
|
2926
|
-
"module": "./ai-
|
|
2809
|
+
"name": "type",
|
|
2810
|
+
"module": "./ai-indicator"
|
|
2927
2811
|
}
|
|
2928
2812
|
},
|
|
2929
2813
|
{
|
|
2930
2814
|
"kind": "js",
|
|
2931
|
-
"name": "
|
|
2815
|
+
"name": "AIIndicatorState",
|
|
2932
2816
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"
|
|
2817
|
+
"name": "AIIndicatorState",
|
|
2818
|
+
"module": "./ai-indicator"
|
|
2935
2819
|
}
|
|
2936
2820
|
},
|
|
2937
2821
|
{
|
|
2938
2822
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2823
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2940
2824
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"
|
|
2825
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2826
|
+
"module": "./ai-indicator.template"
|
|
2943
2827
|
}
|
|
2944
2828
|
},
|
|
2945
2829
|
{
|
|
2946
2830
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2831
|
+
"name": "foundationAiIndicatorStyles",
|
|
2948
2832
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"
|
|
2833
|
+
"name": "foundationAiIndicatorStyles",
|
|
2834
|
+
"module": "./ai-indicator.styles"
|
|
2951
2835
|
}
|
|
2952
2836
|
}
|
|
2953
2837
|
]
|
|
2954
2838
|
},
|
|
2955
2839
|
{
|
|
2956
2840
|
"kind": "javascript-module",
|
|
2957
|
-
"path": "src/
|
|
2958
|
-
"declarations": [
|
|
2841
|
+
"path": "src/_config/index.ts",
|
|
2842
|
+
"declarations": [],
|
|
2843
|
+
"exports": [
|
|
2959
2844
|
{
|
|
2960
|
-
"kind": "
|
|
2961
|
-
"name": "
|
|
2962
|
-
"
|
|
2963
|
-
"
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
},
|
|
2967
|
-
"parameters": [
|
|
2968
|
-
{
|
|
2969
|
-
"name": "errors",
|
|
2970
|
-
"type": {
|
|
2971
|
-
"text": "ValidationError[]"
|
|
2972
|
-
}
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2845
|
+
"kind": "js",
|
|
2846
|
+
"name": "*",
|
|
2847
|
+
"declaration": {
|
|
2848
|
+
"name": "*",
|
|
2849
|
+
"package": "./styles"
|
|
2850
|
+
}
|
|
2976
2851
|
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "function",
|
|
2979
|
-
"name": "showCriteriaError",
|
|
2980
|
-
"return": {
|
|
2981
|
-
"type": {
|
|
2982
|
-
"text": "void"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
"parameters": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "title",
|
|
2988
|
-
"type": {
|
|
2989
|
-
"text": "string"
|
|
2990
|
-
},
|
|
2991
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2992
|
-
},
|
|
2993
|
-
{
|
|
2994
|
-
"name": "body",
|
|
2995
|
-
"type": {
|
|
2996
|
-
"text": "string"
|
|
2997
|
-
},
|
|
2998
|
-
"description": "Error message to display"
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"name": "tagName",
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "string"
|
|
3004
|
-
},
|
|
3005
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3006
|
-
}
|
|
3007
|
-
],
|
|
3008
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3009
|
-
}
|
|
3010
|
-
],
|
|
3011
|
-
"exports": [
|
|
3012
2852
|
{
|
|
3013
2853
|
"kind": "js",
|
|
3014
|
-
"name": "
|
|
2854
|
+
"name": "*",
|
|
3015
2855
|
"declaration": {
|
|
3016
|
-
"name": "
|
|
3017
|
-
"
|
|
2856
|
+
"name": "*",
|
|
2857
|
+
"package": "./tokens"
|
|
3018
2858
|
}
|
|
3019
2859
|
},
|
|
3020
2860
|
{
|
|
3021
2861
|
"kind": "js",
|
|
3022
|
-
"name": "
|
|
2862
|
+
"name": "*",
|
|
3023
2863
|
"declaration": {
|
|
3024
|
-
"name": "
|
|
3025
|
-
"
|
|
2864
|
+
"name": "*",
|
|
2865
|
+
"package": "./values"
|
|
3026
2866
|
}
|
|
3027
2867
|
}
|
|
3028
2868
|
]
|
|
3029
2869
|
},
|
|
3030
2870
|
{
|
|
3031
2871
|
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/ai-
|
|
2872
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3033
2873
|
"declarations": [
|
|
3034
2874
|
{
|
|
3035
|
-
"kind": "
|
|
3036
|
-
"name": "
|
|
3037
|
-
"
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "ElementStyles"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "context",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "ElementDefinitionContext"
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"name": "definition",
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "FoundationElementDefinition"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
2875
|
+
"kind": "variable",
|
|
2876
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2877
|
+
"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`"
|
|
3056
2878
|
}
|
|
3057
2879
|
],
|
|
3058
2880
|
"exports": [
|
|
3059
2881
|
{
|
|
3060
2882
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
2883
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3062
2884
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/ai-
|
|
2885
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2886
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3065
2887
|
}
|
|
3066
2888
|
}
|
|
3067
2889
|
]
|
|
3068
2890
|
},
|
|
3069
2891
|
{
|
|
3070
2892
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/ai-
|
|
2893
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3072
2894
|
"declarations": [
|
|
3073
2895
|
{
|
|
3074
2896
|
"kind": "variable",
|
|
3075
|
-
"name": "
|
|
2897
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3076
2898
|
"type": {
|
|
3077
|
-
"text": "ViewTemplate<
|
|
2899
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3078
2900
|
},
|
|
3079
|
-
"default": "html`\n ${(x) =>
|
|
2901
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3080
2902
|
}
|
|
3081
2903
|
],
|
|
3082
2904
|
"exports": [
|
|
3083
2905
|
{
|
|
3084
2906
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
2907
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3086
2908
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"module": "src/ai-
|
|
2909
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2910
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3089
2911
|
}
|
|
3090
2912
|
}
|
|
3091
2913
|
]
|
|
3092
2914
|
},
|
|
3093
2915
|
{
|
|
3094
2916
|
"kind": "javascript-module",
|
|
3095
|
-
"path": "src/ai-
|
|
2917
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3096
2918
|
"declarations": [
|
|
3097
2919
|
{
|
|
3098
2920
|
"kind": "class",
|
|
3099
|
-
"description": "",
|
|
3100
|
-
"name": "
|
|
2921
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2922
|
+
"name": "AiCriteriaSearch",
|
|
3101
2923
|
"members": [
|
|
3102
2924
|
{
|
|
3103
2925
|
"kind": "field",
|
|
@@ -3108,25 +2930,54 @@
|
|
|
3108
2930
|
},
|
|
3109
2931
|
{
|
|
3110
2932
|
"kind": "field",
|
|
3111
|
-
"name": "
|
|
2933
|
+
"name": "placeholder",
|
|
3112
2934
|
"type": {
|
|
3113
|
-
"text": "
|
|
2935
|
+
"text": "string"
|
|
3114
2936
|
},
|
|
3115
|
-
"
|
|
3116
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3117
|
-
"readonly": true
|
|
2937
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3118
2938
|
},
|
|
3119
2939
|
{
|
|
3120
2940
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
2941
|
+
"name": "disabled",
|
|
3122
2942
|
"type": {
|
|
3123
|
-
"text": "
|
|
2943
|
+
"text": "boolean"
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "field",
|
|
2948
|
+
"name": "inputValue",
|
|
2949
|
+
"type": {
|
|
2950
|
+
"text": "string"
|
|
2951
|
+
},
|
|
2952
|
+
"default": "''"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "isInterpreting",
|
|
2957
|
+
"type": {
|
|
2958
|
+
"text": "boolean"
|
|
2959
|
+
},
|
|
2960
|
+
"default": "false"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"kind": "field",
|
|
2964
|
+
"name": "lastValidCriteria",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "string | null"
|
|
3124
2967
|
},
|
|
3125
2968
|
"default": "null"
|
|
3126
2969
|
},
|
|
3127
2970
|
{
|
|
3128
2971
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
2972
|
+
"name": "activeGroups",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"text": "CriteriaGroup[]"
|
|
2975
|
+
},
|
|
2976
|
+
"default": "[]"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "field",
|
|
2980
|
+
"name": "showingChips",
|
|
3130
2981
|
"type": {
|
|
3131
2982
|
"text": "boolean"
|
|
3132
2983
|
},
|
|
@@ -3134,15 +2985,15 @@
|
|
|
3134
2985
|
},
|
|
3135
2986
|
{
|
|
3136
2987
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
2988
|
+
"name": "fieldMetadata",
|
|
3138
2989
|
"type": {
|
|
3139
|
-
"text": "
|
|
2990
|
+
"text": "MetadataDetail[] | string[]"
|
|
3140
2991
|
},
|
|
3141
|
-
"default": "
|
|
2992
|
+
"default": "[]"
|
|
3142
2993
|
},
|
|
3143
2994
|
{
|
|
3144
2995
|
"kind": "field",
|
|
3145
|
-
"name": "
|
|
2996
|
+
"name": "isRecording",
|
|
3146
2997
|
"type": {
|
|
3147
2998
|
"text": "boolean"
|
|
3148
2999
|
},
|
|
@@ -3150,29 +3001,33 @@
|
|
|
3150
3001
|
},
|
|
3151
3002
|
{
|
|
3152
3003
|
"kind": "field",
|
|
3153
|
-
"name": "
|
|
3004
|
+
"name": "textAreaRef",
|
|
3154
3005
|
"type": {
|
|
3155
|
-
"text": "
|
|
3006
|
+
"text": "HTMLTextAreaElement"
|
|
3156
3007
|
},
|
|
3157
|
-
"privacy": "
|
|
3158
|
-
"default": "null"
|
|
3008
|
+
"privacy": "public"
|
|
3159
3009
|
},
|
|
3160
3010
|
{
|
|
3161
3011
|
"kind": "field",
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3012
|
+
"name": "stopRecording",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "(() => void) | null"
|
|
3015
|
+
},
|
|
3016
|
+
"privacy": "private",
|
|
3017
|
+
"default": "null"
|
|
3164
3018
|
},
|
|
3165
3019
|
{
|
|
3166
3020
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3021
|
+
"name": "speechApplyDebounceTimer",
|
|
3168
3022
|
"type": {
|
|
3169
|
-
"text": "
|
|
3023
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3170
3024
|
},
|
|
3171
|
-
"
|
|
3025
|
+
"privacy": "private",
|
|
3026
|
+
"default": "null"
|
|
3172
3027
|
},
|
|
3173
3028
|
{
|
|
3174
3029
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3030
|
+
"name": "speechAvailable",
|
|
3176
3031
|
"type": {
|
|
3177
3032
|
"text": "boolean"
|
|
3178
3033
|
},
|
|
@@ -3180,69 +3035,65 @@
|
|
|
3180
3035
|
},
|
|
3181
3036
|
{
|
|
3182
3037
|
"kind": "field",
|
|
3183
|
-
"name": "
|
|
3038
|
+
"name": "criteriaChips",
|
|
3184
3039
|
"type": {
|
|
3185
|
-
"text": "
|
|
3040
|
+
"text": "CriteriaChip[]"
|
|
3186
3041
|
},
|
|
3187
3042
|
"readonly": true
|
|
3188
3043
|
},
|
|
3189
3044
|
{
|
|
3190
3045
|
"kind": "method",
|
|
3191
|
-
"name": "
|
|
3046
|
+
"name": "getFieldLabel",
|
|
3047
|
+
"privacy": "private",
|
|
3192
3048
|
"return": {
|
|
3193
3049
|
"type": {
|
|
3194
|
-
"text": "
|
|
3050
|
+
"text": "string"
|
|
3195
3051
|
}
|
|
3196
|
-
}
|
|
3197
|
-
},
|
|
3198
|
-
{
|
|
3199
|
-
"kind": "method",
|
|
3200
|
-
"name": "handleClickOutside",
|
|
3201
|
-
"privacy": "private",
|
|
3052
|
+
},
|
|
3202
3053
|
"parameters": [
|
|
3203
3054
|
{
|
|
3204
|
-
"name": "
|
|
3055
|
+
"name": "fieldName",
|
|
3205
3056
|
"type": {
|
|
3206
|
-
"text": "
|
|
3057
|
+
"text": "string"
|
|
3207
3058
|
}
|
|
3208
3059
|
}
|
|
3209
3060
|
]
|
|
3210
3061
|
},
|
|
3211
3062
|
{
|
|
3212
3063
|
"kind": "method",
|
|
3213
|
-
"name": "
|
|
3214
|
-
},
|
|
3215
|
-
{
|
|
3216
|
-
"kind": "method",
|
|
3217
|
-
"name": "refreshStatus",
|
|
3064
|
+
"name": "toggleCriteriaView",
|
|
3218
3065
|
"return": {
|
|
3219
3066
|
"type": {
|
|
3220
|
-
"text": "
|
|
3067
|
+
"text": "void"
|
|
3221
3068
|
}
|
|
3222
3069
|
}
|
|
3223
3070
|
},
|
|
3224
3071
|
{
|
|
3225
3072
|
"kind": "method",
|
|
3226
|
-
"name": "
|
|
3227
|
-
"privacy": "private",
|
|
3073
|
+
"name": "removeChip",
|
|
3228
3074
|
"return": {
|
|
3229
3075
|
"type": {
|
|
3230
|
-
"text": "
|
|
3076
|
+
"text": "void"
|
|
3231
3077
|
}
|
|
3232
3078
|
},
|
|
3233
3079
|
"parameters": [
|
|
3234
3080
|
{
|
|
3235
|
-
"name": "
|
|
3081
|
+
"name": "groupIndex",
|
|
3236
3082
|
"type": {
|
|
3237
|
-
"text": "
|
|
3083
|
+
"text": "number"
|
|
3084
|
+
}
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"name": "clauseIndex",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "number"
|
|
3238
3090
|
}
|
|
3239
3091
|
}
|
|
3240
3092
|
]
|
|
3241
3093
|
},
|
|
3242
3094
|
{
|
|
3243
3095
|
"kind": "method",
|
|
3244
|
-
"name": "
|
|
3245
|
-
"privacy": "private",
|
|
3096
|
+
"name": "clearChips",
|
|
3246
3097
|
"return": {
|
|
3247
3098
|
"type": {
|
|
3248
3099
|
"text": "void"
|
|
@@ -3251,32 +3102,24 @@
|
|
|
3251
3102
|
},
|
|
3252
3103
|
{
|
|
3253
3104
|
"kind": "method",
|
|
3254
|
-
"name": "
|
|
3255
|
-
"privacy": "private",
|
|
3256
|
-
"return": {
|
|
3257
|
-
"type": {
|
|
3258
|
-
"text": "void"
|
|
3259
|
-
}
|
|
3260
|
-
}
|
|
3105
|
+
"name": "handleSubmit"
|
|
3261
3106
|
},
|
|
3262
3107
|
{
|
|
3263
3108
|
"kind": "method",
|
|
3264
|
-
"name": "
|
|
3265
|
-
"privacy": "private",
|
|
3266
|
-
"return": {
|
|
3267
|
-
"type": {
|
|
3268
|
-
"text": "void"
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3109
|
+
"name": "handleBlur"
|
|
3271
3110
|
},
|
|
3272
3111
|
{
|
|
3273
3112
|
"kind": "method",
|
|
3274
|
-
"name": "
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3113
|
+
"name": "clear"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "method",
|
|
3117
|
+
"name": "toggleSpeechInput"
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"kind": "method",
|
|
3121
|
+
"name": "clearSpeechApplyDebounce",
|
|
3122
|
+
"privacy": "private"
|
|
3280
3123
|
},
|
|
3281
3124
|
{
|
|
3282
3125
|
"kind": "field",
|
|
@@ -3390,88 +3233,245 @@
|
|
|
3390
3233
|
}
|
|
3391
3234
|
}
|
|
3392
3235
|
],
|
|
3236
|
+
"events": [
|
|
3237
|
+
{
|
|
3238
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3239
|
+
"name": "criteria-changed"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3243
|
+
"name": "validation-errors"
|
|
3244
|
+
}
|
|
3245
|
+
],
|
|
3246
|
+
"attributes": [
|
|
3247
|
+
{
|
|
3248
|
+
"name": "placeholder",
|
|
3249
|
+
"type": {
|
|
3250
|
+
"text": "string"
|
|
3251
|
+
},
|
|
3252
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3253
|
+
"fieldName": "placeholder"
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "boolean"
|
|
3258
|
+
},
|
|
3259
|
+
"fieldName": "disabled"
|
|
3260
|
+
}
|
|
3261
|
+
],
|
|
3393
3262
|
"superclass": {
|
|
3394
3263
|
"name": "FoundationElement",
|
|
3395
3264
|
"package": "@microsoft/fast-foundation"
|
|
3396
3265
|
},
|
|
3397
|
-
"tagName": "%%prefix%%-ai-
|
|
3266
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3398
3267
|
"customElement": true
|
|
3399
3268
|
},
|
|
3400
3269
|
{
|
|
3401
3270
|
"kind": "variable",
|
|
3402
|
-
"name": "
|
|
3271
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "ShadowRootInit"
|
|
3274
|
+
},
|
|
3275
|
+
"default": "undefined"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"kind": "variable",
|
|
3279
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3280
|
+
"type": {
|
|
3281
|
+
"text": "object"
|
|
3282
|
+
},
|
|
3283
|
+
"default": "{}"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "variable",
|
|
3287
|
+
"name": "foundationAiCriteriaSearch"
|
|
3403
3288
|
}
|
|
3404
3289
|
],
|
|
3405
3290
|
"exports": [
|
|
3406
3291
|
{
|
|
3407
3292
|
"kind": "js",
|
|
3408
|
-
"name": "
|
|
3293
|
+
"name": "AiCriteriaSearch",
|
|
3409
3294
|
"declaration": {
|
|
3410
|
-
"name": "
|
|
3411
|
-
"module": "src/ai-
|
|
3295
|
+
"name": "AiCriteriaSearch",
|
|
3296
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3412
3297
|
}
|
|
3413
3298
|
},
|
|
3414
3299
|
{
|
|
3415
3300
|
"kind": "js",
|
|
3416
|
-
"name": "
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3417
3302
|
"declaration": {
|
|
3418
|
-
"name": "
|
|
3419
|
-
"module": "src/ai-
|
|
3303
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3304
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "js",
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
+
"declaration": {
|
|
3311
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3312
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "js",
|
|
3317
|
+
"name": "foundationAiCriteriaSearch",
|
|
3318
|
+
"declaration": {
|
|
3319
|
+
"name": "foundationAiCriteriaSearch",
|
|
3320
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3420
3321
|
}
|
|
3421
3322
|
}
|
|
3422
3323
|
]
|
|
3423
3324
|
},
|
|
3424
3325
|
{
|
|
3425
3326
|
"kind": "javascript-module",
|
|
3426
|
-
"path": "src/ai-
|
|
3327
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3427
3328
|
"declarations": [],
|
|
3428
3329
|
"exports": [
|
|
3429
3330
|
{
|
|
3430
3331
|
"kind": "js",
|
|
3431
|
-
"name": "
|
|
3332
|
+
"name": "AiCriteriaSearch",
|
|
3432
3333
|
"declaration": {
|
|
3433
|
-
"name": "
|
|
3434
|
-
"module": "./ai-
|
|
3334
|
+
"name": "AiCriteriaSearch",
|
|
3335
|
+
"module": "./ai-criteria-search"
|
|
3435
3336
|
}
|
|
3436
3337
|
},
|
|
3437
3338
|
{
|
|
3438
3339
|
"kind": "js",
|
|
3439
|
-
"name": "
|
|
3340
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3440
3341
|
"declaration": {
|
|
3441
|
-
"name": "
|
|
3442
|
-
"module": "./ai-
|
|
3342
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3343
|
+
"module": "./ai-criteria-search"
|
|
3443
3344
|
}
|
|
3444
3345
|
},
|
|
3445
3346
|
{
|
|
3446
3347
|
"kind": "js",
|
|
3447
|
-
"name": "
|
|
3348
|
+
"name": "foundationAiCriteriaSearch",
|
|
3448
3349
|
"declaration": {
|
|
3449
|
-
"name": "
|
|
3450
|
-
"module": "./ai-
|
|
3350
|
+
"name": "foundationAiCriteriaSearch",
|
|
3351
|
+
"module": "./ai-criteria-search"
|
|
3451
3352
|
}
|
|
3452
3353
|
},
|
|
3453
3354
|
{
|
|
3454
3355
|
"kind": "js",
|
|
3455
|
-
"name": "
|
|
3356
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3456
3357
|
"declaration": {
|
|
3457
|
-
"name": "
|
|
3458
|
-
"module": "./ai-
|
|
3358
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3359
|
+
"module": "./ai-criteria-search"
|
|
3459
3360
|
}
|
|
3460
3361
|
},
|
|
3461
3362
|
{
|
|
3462
3363
|
"kind": "js",
|
|
3463
|
-
"name": "
|
|
3364
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3464
3365
|
"declaration": {
|
|
3465
|
-
"name": "
|
|
3466
|
-
"module": "./ai-
|
|
3366
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3367
|
+
"module": "./ai-criteria-search.styles"
|
|
3467
3368
|
}
|
|
3468
3369
|
},
|
|
3469
3370
|
{
|
|
3470
3371
|
"kind": "js",
|
|
3471
|
-
"name": "
|
|
3372
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3472
3373
|
"declaration": {
|
|
3473
|
-
"name": "
|
|
3474
|
-
"module": "./ai-
|
|
3374
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3375
|
+
"module": "./ai-criteria-search.template"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "js",
|
|
3380
|
+
"name": "*",
|
|
3381
|
+
"declaration": {
|
|
3382
|
+
"name": "*",
|
|
3383
|
+
"package": "./validation/criteria-ir"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "js",
|
|
3388
|
+
"name": "*",
|
|
3389
|
+
"declaration": {
|
|
3390
|
+
"name": "*",
|
|
3391
|
+
"package": "./validation/operator-map"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"kind": "js",
|
|
3396
|
+
"name": "*",
|
|
3397
|
+
"declaration": {
|
|
3398
|
+
"name": "*",
|
|
3399
|
+
"package": "./validation/schema-validator"
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
]
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "javascript-module",
|
|
3406
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3407
|
+
"declarations": [
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "function",
|
|
3410
|
+
"name": "formatValidationErrors",
|
|
3411
|
+
"return": {
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "string"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"parameters": [
|
|
3417
|
+
{
|
|
3418
|
+
"name": "errors",
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "ValidationError[]"
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
],
|
|
3424
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "function",
|
|
3428
|
+
"name": "showCriteriaError",
|
|
3429
|
+
"return": {
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "void"
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"parameters": [
|
|
3435
|
+
{
|
|
3436
|
+
"name": "title",
|
|
3437
|
+
"type": {
|
|
3438
|
+
"text": "string"
|
|
3439
|
+
},
|
|
3440
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
"name": "body",
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "string"
|
|
3446
|
+
},
|
|
3447
|
+
"description": "Error message to display"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"name": "tagName",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "string"
|
|
3453
|
+
},
|
|
3454
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3458
|
+
}
|
|
3459
|
+
],
|
|
3460
|
+
"exports": [
|
|
3461
|
+
{
|
|
3462
|
+
"kind": "js",
|
|
3463
|
+
"name": "formatValidationErrors",
|
|
3464
|
+
"declaration": {
|
|
3465
|
+
"name": "formatValidationErrors",
|
|
3466
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3467
|
+
}
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"kind": "js",
|
|
3471
|
+
"name": "showCriteriaError",
|
|
3472
|
+
"declaration": {
|
|
3473
|
+
"name": "showCriteriaError",
|
|
3474
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
]
|